.contacts-page {
    position: relative;
    overflow: hidden;
    padding-bottom: 88px;
}

.contacts-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr);
    gap: 44px;
    min-height: 470px;
    margin-top: 10px;
    padding: 52px 56px;
    border: 1px solid #eee1d7;
    border-radius: 48px;
    background:
        radial-gradient(circle at 91% 12%, rgba(216,237,246,.82) 0, rgba(216,237,246,.82) 96px, transparent 97px),
        radial-gradient(circle at 79% 86%, rgba(255,224,216,.82) 0, rgba(255,224,216,.82) 112px, transparent 113px),
        linear-gradient(135deg, #fff8f1 0%, #fffdf9 52%, #eef8fb 100%);
    box-shadow: 0 24px 64px rgba(83,65,49,.07);
    overflow: hidden;
}

.contacts-hero-copy {
    position: relative;
    z-index: 2;
    align-self: center;
}

.contacts-hero .breadcrumbs {
    margin-bottom: 24px;
}

.contacts-kicker {
    color: #73838e;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.contacts-hero h1 {
    max-width: 720px;
    margin-top: 12px;
    font-size: 72px;
    line-height: 1.02;
    letter-spacing: -1.7px;
}

.contacts-hero h1 .heart {
    width: 38px;
    height: 42px;
    color: var(--coral);
    vertical-align: middle;
}

.contacts-hero-actions {
    display: flex;
    align-items: stretch;
    gap: 16px;
    margin-top: 34px;
}

.contacts-phone {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    min-height: 62px;
    padding: 10px 20px;
    border: 1px solid rgba(89,133,149,.13);
    border-radius: 20px;
    background: rgba(255,255,255,.78);
    box-shadow: 0 12px 30px rgba(66,79,85,.06);
}

.contacts-phone svg {
    width: 31px;
    height: 31px;
    color: #74a8c9;
}

.contacts-phone span {
    display: grid;
    gap: 1px;
}

.contacts-phone small {
    color: #78858f;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.contacts-phone strong {
    font-size: 18px;
    line-height: 1.15;
}

.contacts-hero .button {
    min-height: 62px;
    padding-inline: 28px;
}

.contacts-hero-art {
    position: relative;
    min-height: 360px;
}

.contacts-mascot {
    position: absolute;
    right: 34px;
    bottom: -14px;
    z-index: 2;
    width: min(100%, 370px);
    height: auto;
    filter: drop-shadow(0 18px 28px rgba(62,64,65,.08));
}

.contacts-blob {
    position: absolute;
    display: block;
    border-radius: 50%;
}

.contacts-blob-blue {
    width: 260px;
    height: 260px;
    top: 24px;
    right: 56px;
    background: rgba(216,237,246,.82);
}

.contacts-blob-peach {
    width: 168px;
    height: 168px;
    right: 8px;
    bottom: 18px;
    background: rgba(255,224,216,.86);
}

.contacts-flower {
    position: absolute;
    left: 18px;
    bottom: 36px;
    width: 42px;
    height: 42px;
    color: #e97172;
    opacity: .7;
    transform: rotate(-12deg);
}

.contacts-branches {
    padding-top: 82px;
}

.contacts-section-heading {
    display: grid;
    gap: 12px;
    margin-bottom: 34px;
}

.contacts-section-heading h2 {
    font-size: 48px;
    line-height: 1.08;
}

.contacts-section-heading > p:last-child {
    color: #687681;
    font-size: 18px;
    line-height: 1.6;
}

.contacts-branch-list {
    display: grid;
    gap: 30px;
}

.contacts-branch-card {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
    min-height: 390px;
    border: 1px solid rgba(85,73,62,.08);
    border-radius: 36px;
    background: rgba(255,253,249,.96);
    box-shadow: 0 18px 46px rgba(72,61,51,.055);
    overflow: hidden;
}

.contacts-branch-main {
    display: grid;
    grid-template-columns: minmax(220px, .8fr) minmax(0, 1.2fr);
    gap: 28px;
    padding: 26px;
}

.contacts-branch-photo {
    min-height: 330px;
    overflow: hidden;
    border-radius: 26px;
    background: #eef5f7;
}

.contacts-branch-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contacts-branch-copy {
    position: relative;
    align-self: center;
    padding-block: 10px;
}

.contacts-branch-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #e8f5f8;
    color: #678fa4;
    font-family: "Pangolin",cursive;
    font-size: 18px;
}

.contacts-branch-copy h3 {
    margin-top: 14px;
    font-family: "Pangolin",cursive;
    font-size: 34px;
    font-weight: 400;
    line-height: 1.08;
}

.contacts-branch-copy address {
    margin-top: 16px;
    color: #576873;
    font-size: 17px;
    font-style: normal;
    line-height: 1.5;
}

.contacts-hours {
    display: grid;
    gap: 6px;
    margin: 18px 0 0;
}

.contacts-hours > div {
    display: flex;
    gap: 8px;
    color: #66747d;
    font-size: 15px;
}

.contacts-hours dt,
.contacts-hours dd {
    margin: 0;
}

.contacts-hours dt {
    font-weight: 800;
}

.contacts-branch-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-top: 26px;
}

.contacts-branch-actions .button {
    min-height: 54px;
    padding-inline: 22px;
}

.contacts-map-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 54px;
    color: #668797;
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
}

.contacts-map-link .arrow {
    color: var(--coral);
}

.contacts-map {
    min-height: 390px;
    background: #eaf3f6;
}

.contacts-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 390px;
    border: 0;
}

.contacts-call {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 34px;
    margin-top: 72px;
    padding: 40px 46px;
    border: 1px solid rgba(98,142,158,.09);
    border-radius: 38px;
    background:
        radial-gradient(circle at 88% 18%, rgba(255,255,255,.66) 0, rgba(255,255,255,.66) 80px, transparent 81px),
        linear-gradient(135deg, rgba(231,246,250,.94), rgba(255,242,236,.93));
    box-shadow: 0 16px 40px rgba(65,91,101,.055);
    overflow: hidden;
}

.contacts-call h2 {
    margin-top: 8px;
    font-size: 38px;
    line-height: 1.1;
}

.contacts-call > div:first-child > p:last-child {
    margin-top: 12px;
    color: #65737d;
    font-size: 17px;
}

.contacts-call-actions {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 18px;
}

.contacts-call-phone {
    color: #33434d;
    font-size: 22px;
    font-weight: 800;
    white-space: nowrap;
}

.contacts-call .button {
    min-width: 280px;
    min-height: 58px;
}

.contacts-call-flower {
    position: absolute;
    right: 18px;
    bottom: 10px;
    width: 48px;
    height: 48px;
    color: #79a9cf;
    opacity: .45;
}

@media (max-width: 1440px) {
    .contacts-hero {
        grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr);
        padding: 46px 48px;
    }

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

    .contacts-branch-card {
        grid-template-columns: minmax(0, 1.08fr) minmax(330px, .92fr);
    }

    .contacts-branch-main {
        grid-template-columns: minmax(200px, .8fr) minmax(0, 1.2fr);
    }
}

@media (max-width: 1200px) {
    .contacts-page {
        padding-bottom: 72px;
    }

    .contacts-hero {
        grid-template-columns: minmax(0, 1fr) minmax(280px, .78fr);
        min-height: 400px;
        gap: 28px;
        padding: 38px 36px;
        border-radius: 38px;
    }

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

    .contacts-hero-art {
        min-height: 310px;
    }

    .contacts-mascot {
        right: 10px;
        width: 300px;
    }

    .contacts-branches {
        padding-top: 64px;
    }

    .contacts-section-heading h2 {
        font-size: 40px;
    }

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

    .contacts-map,
    .contacts-map iframe {
        min-height: 300px;
    }

    .contacts-call {
        padding: 34px 36px;
    }

    .contacts-call-actions {
        align-items: flex-end;
        flex-direction: column;
    }
}

@media (max-width: 700px) {
    .contacts-page {
        padding-bottom: 48px;
    }

    .contacts-hero {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
        min-height: 0;
        padding: 26px 22px 18px;
        border-radius: 28px;
    }

    .contacts-hero .breadcrumbs {
        margin-bottom: 18px;
    }

    .contacts-kicker {
        font-size: 12px;
    }

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

    .contacts-hero-actions {
        align-items: stretch;
        flex-direction: column;
        margin-top: 24px;
    }

    .contacts-phone,
    .contacts-hero .button {
        width: 100%;
    }

    .contacts-hero-art {
        min-height: 190px;
    }

    .contacts-mascot {
        right: 50%;
        bottom: -22px;
        width: 230px;
        transform: translateX(50%);
    }

    .contacts-blob-blue {
        width: 170px;
        height: 170px;
        top: 14px;
        right: 50%;
        transform: translateX(50%);
    }

    .contacts-blob-peach {
        width: 100px;
        height: 100px;
        right: 8px;
        bottom: 4px;
    }

    .contacts-flower {
        left: 0;
        bottom: 20px;
        width: 32px;
        height: 32px;
    }

    .contacts-branches {
        padding-top: 48px;
    }

    .contacts-section-heading {
        margin-bottom: 24px;
    }

    .contacts-section-heading h2 {
        font-size: 34px;
    }

    .contacts-section-heading > p:last-child {
        font-size: 16px;
    }

    .contacts-branch-list {
        gap: 22px;
    }

    .contacts-branch-card {
        border-radius: 28px;
    }

    .contacts-branch-main {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
        padding: 18px;
    }

    .contacts-branch-photo {
        min-height: 210px;
        aspect-ratio: 16 / 9;
        border-radius: 22px;
    }

    .contacts-branch-copy {
        padding: 0 4px 4px;
    }

    .contacts-branch-copy h3 {
        font-size: 30px;
    }

    .contacts-branch-actions {
        align-items: stretch;
        flex-direction: column;
        gap: 10px;
        margin-top: 22px;
    }

    .contacts-branch-actions .button,
    .contacts-map-link {
        width: 100%;
        justify-content: center;
    }

    .contacts-map,
    .contacts-map iframe {
        min-height: 250px;
    }

    .contacts-call {
        align-items: stretch;
        flex-direction: column;
        gap: 24px;
        margin-top: 48px;
        padding: 28px 22px;
        border-radius: 28px;
    }

    .contacts-call h2 {
        font-size: 32px;
    }

    .contacts-call-actions {
        align-items: stretch;
        gap: 14px;
    }

    .contacts-call-phone {
        font-size: 20px;
    }

    .contacts-call .button {
        width: 100%;
        min-width: 0;
    }
}
