/* SLADGARD — отдельная страница «Контакты» */

.contacts-page {
    width: min(1540px, calc(100% - 56px));
    margin: 0 auto;
    padding: 126px 0 72px;
    color: #321c12;
}

.contacts-kicker {
    margin: 0 0 9px;
    color: #d92722;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .085em;
    text-transform: uppercase;
}

.contacts-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(300px, .6fr);
    gap: 44px;
    align-items: center;
    padding: 54px 58px;
    overflow: hidden;
    border: 1px solid #ead2b5;
    border-radius: 30px;
    background:
        radial-gradient(circle at 91% 12%, rgba(217,39,34,.08), transparent 24%),
        radial-gradient(circle at 8% 100%, rgba(215,163,78,.12), transparent 28%),
        linear-gradient(135deg, #fffdf9 0%, #fbf3e9 100%);
}

.contacts-hero::after {
    content: "";
    position: absolute;
    right: -90px;
    top: -95px;
    width: 285px;
    height: 285px;
    border: 1px solid rgba(211,151,61,.16);
    border-radius: 50%;
    box-shadow: 0 0 0 30px rgba(211,151,61,.03), 0 0 0 62px rgba(211,151,61,.02);
}

.contacts-hero__content,
.contacts-hero__accent {
    position: relative;
    z-index: 1;
}

.contacts-hero h1 {
    max-width: 920px;
    margin: 0;
    font-size: clamp(42px, 4.6vw, 68px);
    line-height: 1.01;
    letter-spacing: -.04em;
}

.contacts-hero h1 span {
    color: #d92722;
}

.contacts-hero__lead {
    max-width: 820px;
    margin: 22px 0 0;
    color: #76675d;
    font-size: 17px;
    line-height: 1.65;
}

.contacts-hero__accent {
    padding: 27px;
    border: 1px solid #ecd0b1;
    border-radius: 23px;
    background: rgba(255,255,255,.82);
}

.contacts-hero__accent > span {
    display: block;
    margin-bottom: 8px;
    color: #d92722;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.contacts-hero__accent strong {
    display: block;
    font-size: 22px;
    line-height: 1.26;
}

.contacts-hero__accent p {
    margin: 10px 0 0;
    color: #806e61;
    font-size: 13px;
    line-height: 1.5;
}

.contacts-main,
.contacts-schedule,
.contacts-note,
.contacts-cta {
    margin-top: 24px;
    border: 1px solid #ead8c4;
    border-radius: 28px;
}

.contacts-main {
    padding: 40px;
    background: #fff;
}

.contacts-main__heading {
    margin-bottom: 26px;
}

.contacts-main__heading h2,
.contacts-schedule__intro h2,
.contacts-cta h2 {
    margin: 0;
    font-size: clamp(31px, 3.1vw, 47px);
    line-height: 1.05;
    letter-spacing: -.03em;
}

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px;
}

.contact-card {
    display: block;
    min-height: 230px;
    padding: 24px;
    border: 1px solid #ead7c1;
    border-radius: 22px;
    color: #321c12;
    background: linear-gradient(180deg, #fffaf5, #fff);
    text-decoration: none;
}

.contact-card__icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin-bottom: 28px;
    border: 1px solid rgba(217,39,34,.24);
    border-radius: 50%;
    color: #d92722;
    background: #fff;
}

.contact-card__icon svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-card > span {
    display: block;
    color: #9b6544;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.contact-card strong {
    display: block;
    margin-top: 8px;
    font-size: 19px;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.contact-card small {
    display: block;
    margin-top: 9px;
    color: #8a786b;
    font-size: 12px;
    line-height: 1.4;
}

.contact-card--messenger {
    background: linear-gradient(180deg, #fff, #fff9f1);
}

.contacts-schedule {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 40px;
    padding: 40px;
    background: #fffaf5;
}

.contacts-schedule__intro > p:last-child {
    margin: 15px 0 0;
    color: #7d6c60;
    line-height: 1.6;
}

.contacts-schedule__card {
    align-self: center;
    padding: 8px 22px;
    border: 1px solid #ead1b4;
    border-radius: 22px;
    background: #fff;
}

.contacts-schedule__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 0;
    border-bottom: 1px solid #eee0d1;
}

.contacts-schedule__row:last-child {
    border-bottom: 0;
}

.contacts-schedule__row span {
    color: #7f6c60;
    font-size: 14px;
}

.contacts-schedule__row strong {
    color: #321c12;
    font-size: 16px;
    white-space: nowrap;
}

.contacts-note {
    display: grid;
    grid-template-columns: 58px minmax(0,1fr);
    gap: 18px;
    align-items: center;
    padding: 25px 28px;
    background: #fff;
}

.contacts-note__icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border: 1px solid #e4c7a5;
    border-radius: 50%;
    color: #d92722;
    background: #fffaf3;
}

.contacts-note__icon svg {
    width: 27px;
    height: 27px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

.contacts-note strong {
    display: block;
    font-size: 18px;
}

.contacts-note p {
    margin: 6px 0 0;
    color: #7d6c60;
    font-size: 13px;
    line-height: 1.5;
}

.contacts-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    padding: 36px 40px;
    background: linear-gradient(100deg, #fff9ef 0%, #f9e5d0 62%, #f5d4c7 100%);
}

.contacts-cta > div:first-child {
    max-width: 800px;
}

.contacts-cta__actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.contacts-cta__primary,
.contacts-cta__secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 24px;
    border-radius: 16px;
    font-weight: 900;
    text-decoration: none;
    box-sizing: border-box;
    white-space: nowrap;
}

.contacts-cta__primary {
    justify-content: space-between;
    gap: 34px;
    min-width: 245px;
    color: #fff;
    background: #ce322b;
}

.contacts-cta__secondary {
    min-width: 150px;
    border: 1px solid #d9b68c;
    color: #8d5c3f;
    background: #fff;
}

/* reveal */
.contacts-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .68s ease, transform .68s cubic-bezier(.22,.7,.25,1);
}

.contacts-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .contacts-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

@media (hover:hover) and (pointer:fine) {
    .contact-card,
    .contacts-cta__primary,
    .contacts-cta__secondary {
        transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
    }

    .contact-card:hover {
        transform: translateY(-3px);
        border-color: rgba(211,151,61,.42);
        box-shadow: 0 13px 26px rgba(83,48,26,.07);
    }

    .contacts-cta__primary:hover,
    .contacts-cta__secondary:hover {
        transform: translateY(-2px);
    }
}

@media (max-width: 1100px) {
    .contacts-hero,
    .contacts-schedule {
        grid-template-columns: 1fr;
    }

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

    .contacts-hero__accent {
        max-width: 520px;
    }
}

@media (max-width: 680px) {
    .contacts-page {
        width: calc(100% - 20px);
        padding-top: 92px;
    }

    .contacts-hero,
    .contacts-main,
    .contacts-schedule,
    .contacts-note,
    .contacts-cta {
        border-radius: 22px;
    }

    .contacts-hero {
        gap: 24px;
        padding: 29px 21px;
    }

    .contacts-hero h1 {
        font-size: 40px;
    }

    .contacts-hero__lead {
        margin-top: 16px;
        font-size: 15px;
    }

    .contacts-main,
    .contacts-schedule {
        padding: 23px 18px;
    }

    .contacts-grid {
        grid-template-columns: 1fr;
    }

    .contact-card {
        min-height: 0;
    }

    .contacts-schedule {
        gap: 22px;
    }

    .contacts-note {
        grid-template-columns: 1fr;
        padding: 22px 18px;
    }

    .contacts-cta {
        align-items: stretch;
        flex-direction: column;
        padding: 25px 20px;
    }

    .contacts-cta__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .contacts-cta__primary,
    .contacts-cta__secondary {
        width: 100%;
        min-width: 0;
    }
}


/* === Stage 52: два телефона === */
.contact-card--phones { cursor: default; }
.contact-card__phone-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 8px;
}
.contact-card__phone-list a {
    width: fit-content;
    color: #321c12;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.25;
    text-decoration: none;
}
.contact-card__phone-list a:hover { color: #d92722; }

.contacts-cta__phones {
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.contacts-cta__phones .contacts-cta__secondary {
    min-height: 42px;
    font-size: 13px;
}

@media (max-width: 680px) {
    .contacts-cta__phones { width: 100%; }
}
