/* ============================================================
   ПОГОДА.ВЕБКРОСС — СТРАНИЦА КОНТАКТОВ
   (стили из предоставленного шаблона, вынесены отдельно)
   ============================================================ */

.contacts-page {
    padding: 38px 0 65px;
}

.contacts-container {
    max-width: 1120px;
}

/* ============ HEADER ============ */

.contacts-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 30px;
}

.contacts-header-icon {
    width: 62px;
    height: 62px;
    margin: 0 auto 13px;
    border-radius: 19px;
    background: linear-gradient(145deg, #ffffff, #dce9fb);
    box-shadow: 0 10px 25px rgba(47, 95, 208, .13);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contacts-header-icon svg {
    width: 36px;
    height: 36px;
}

.contacts-header h1 {
    margin: 0 0 7px;
    color: var(--wt-blue-dark);
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -.5px;
}

.contacts-header p {
    margin: 0;
    color: var(--wt-muted);
    font-size: 14px;
    line-height: 1.6;
}

/* ============ MAIN GRID ============ */

.contacts-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.48fr) minmax(320px, .82fr);
    gap: 20px;
    align-items: start;
}

/* ============ CARD ============ */

.contacts-card {
    padding: 23px;
    border-radius: 21px;
    background: var(--wt-card);
    border: 1px solid rgba(255, 255, 255, .9);
    box-shadow: var(--wt-shadow);
    backdrop-filter: blur(10px);
}

.contacts-card-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 19px;
}

.contacts-card-title-icon {
    width: 43px;
    height: 43px;
    flex: 0 0 43px;
    border-radius: 13px;
    background: #e6effd;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contacts-card-title-icon svg {
    width: 25px;
    height: 25px;
}

.contacts-card-title h2 {
    margin: 0;
    color: var(--wt-blue-dark);
    font-size: 19px;
    font-weight: 750;
}

.contacts-card-title p {
    margin: 2px 0 0;
    color: var(--wt-muted);
    font-size: 12px;
}

/* ============ FORM ============ */

.form-label {
    margin-bottom: 6px;
    color: #53647f;
    font-size: 12px;
    font-weight: 700;
}

.form-control {
    min-height: 47px;
    border-radius: 12px;
    border: 1px solid var(--wt-border);
    background: #f8fafd;
    color: var(--wt-text);
    font-size: 13px;
    box-shadow: none;
    transition: .2s ease;
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.form-control::placeholder {
    color: #a1aec1;
}

.form-control:focus {
    background: #fff;
    border-color: #91afe3;
    box-shadow: 0 0 0 3px rgba(47, 95, 208, .08);
}

/* ============ CAPTCHA ============ */

.captcha-row {
    display: grid;
    grid-template-columns: 145px 46px minmax(120px, 1fr);
    gap: 8px;
}

.captcha-image {
    height: 47px;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid var(--wt-border);
    background: #f3f7fe;
}

.captcha-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    display: block;
}

.captcha-refresh {
    width: 46px;
    height: 47px;
    padding: 0;
    border: 1px solid var(--wt-border);
    border-radius: 12px;
    background: #f5f8fd;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: .2s ease;
}

.captcha-refresh:hover {
    background: #eaf1fc;
}

.captcha-refresh svg {
    width: 20px;
    height: 20px;
}

/* ============ SUBMIT ============ */

.contacts-submit {
    width: 100%;
    min-height: 49px;
    border: 0;
    border-radius: 13px;
    background: linear-gradient(135deg, var(--wt-blue), var(--wt-blue-dark));
    color: #fff;
    font-size: 13px;
    font-weight: 750;
    box-shadow: 0 8px 18px rgba(47, 95, 208, .19);
    transition: .2s ease;
}

.contacts-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 11px 22px rgba(47, 95, 208, .25);
}

.contacts-submit:disabled {
    opacity: .7;
    transform: none;
}

/* ============ RIGHT COLUMN ============ */

.contacts-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ============ CONTACT ITEMS ============ */

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 12px;
    border-radius: 14px;
    background: #f6f8fc;
    border: 1px solid var(--wt-border);
}

.contact-item + .contact-item {
    margin-top: 8px;
}

.contact-item-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 11px;
    background: #e3edfc;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item-icon svg {
    width: 21px;
    height: 21px;
}

.contact-item strong {
    display: block;
    margin-bottom: 1px;
    color: var(--wt-blue-dark);
    font-size: 12px;
    font-weight: 750;
}

.contact-item span {
    display: block;
    color: var(--wt-muted);
    font-size: 11px;
    line-height: 1.35;
}

/* ============ SUPPORT ============ */

.support-card {
    overflow: hidden;
    position: relative;
}

.support-card::before {
    content: "";
    position: absolute;
    width: 170px;
    height: 170px;
    top: -90px;
    right: -75px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(47, 95, 208, .12), transparent 70%);
    pointer-events: none;
}

.support-layout {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 17px;
}

.qr-wrapper {
    width: 125px;
    height: 125px;
    flex: 0 0 125px;
    padding: 8px;
    border-radius: 15px;
    background: #fff;
    border: 1px solid var(--wt-border);
    box-shadow: 0 7px 18px rgba(47, 95, 208, .07);
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-wrapper svg {
    width: 100%;
    height: 100%;
}

.support-text h3 {
    margin: 0 0 6px;
    color: var(--wt-blue-dark);
    font-size: 16px;
    font-weight: 750;
}

.support-text p {
    margin: 0 0 9px;
    color: var(--wt-muted);
    font-size: 11px;
    line-height: 1.5;
}

.support-note {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 9px;
    border-radius: 9px;
    background: #fff4e5;
    color: #c87509;
    font-size: 10px;
    font-weight: 700;
}

/* ============ SHARE ============ */

.share-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.share-button {
    min-height: 64px;
    padding: 8px 5px;
    border-radius: 13px;
    border: 1px solid var(--wt-border);
    background: #f7f9fd;
    color: var(--wt-text);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: .2s ease;
}

.share-button:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 7px 16px rgba(47, 95, 208, .08);
}

.share-icon {
    width: 27px;
    height: 27px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.share-icon svg {
    width: 25px;
    height: 25px;
}

.share-button span {
    color: #62728c;
    font-size: 9px;
    font-weight: 700;
}

/* ============ COPY LINK ============ */

.share-copy {
    display: flex;
    margin-top: 9px;
    height: 43px;
    overflow: hidden;
    border: 1px solid var(--wt-border);
    border-radius: 11px;
    background: #f7f9fd;
}

.share-copy input {
    min-width: 0;
    flex: 1;
    padding: 0 10px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--wt-muted);
    font-size: 10px;
}

.share-copy button {
    padding: 0 12px;
    border: 0;
    background: var(--wt-blue);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
}

/* ============ MOBILE ============ */

@media (max-width: 900px) {
    .contacts-layout {
        grid-template-columns: 1fr;
    }

    .contacts-side {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contacts-side > .contacts-card:first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 600px) {
    .contacts-page {
        padding: 28px 0 45px;
    }

    .contacts-header {
        margin-bottom: 23px;
    }

    .contacts-header h1 {
        font-size: 29px;
    }

    .contacts-card {
        padding: 18px;
        border-radius: 18px;
    }

    .contacts-side {
        display: flex;
    }

    .captcha-row {
        grid-template-columns: 1fr 44px;
    }

    .captcha-row .captcha-input {
        grid-column: 1 / -1;
    }

    .support-layout {
        align-items: flex-start;
    }

    .qr-wrapper {
        width: 110px;
        height: 110px;
        flex-basis: 110px;
    }
}