.branch-page {
    font-family: "About Text", "Nunito", sans-serif;
    color: #243040;
    padding-bottom: 56px;
}

.branch-page h1, .branch-page h2, .branch-page h3 {
    font-family: "About Text", "Nunito", sans-serif;
    font-weight: 800;
    letter-spacing: -.8px;
}

.branch-page h1 {
    font-size: 60px;
    line-height: 1.08;
}

.branch-page h2 {
    font-size: 36px;
    line-height: 1.2;
}

.branch-page h3 {
    font-size: 29px;
    line-height: 1.25;
}

.branch-page p {
    color: #6e7784;
    font-size: 18px;
    line-height: 1.5;
}

.branch-page h2 + p {
    margin-top: 10px;
}

.branch-page-hero {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 48px;
    align-items: center;
    padding-block: 24px 48px;
}

.branch-page-hero .breadcrumbs {
    font-size: 14px;
    margin-bottom: 32px;
    gap: 10px;
}

.branch-page .branch-lead {
    margin-top: 16px;
    font-size: 21px;
}

.branch-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin: 28px 0;
    max-width: 480px;
}

.branch-facts dt {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 4px;
}

.branch-facts dd {
    color: #6e7784;
    font-size: 16px;
    line-height: 1.4;
    margin: 0;
}

.branch-building-photo {
    width: 100%;
    aspect-ratio: 1.67;
    object-fit: cover;
    border-radius: 44px;
}

.branch-page-hero .button {
    font-size: 16px;
    min-height: 60px;
}

.branch-about {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 48px;
    padding-block: 8px 48px;
    align-items: center;
}

.branch-about > div:first-child {
    order: 2;
}

.branch-about p {
    margin-top: 20px;
    max-width: 530px;
}

.branch-interiors {
    display: grid;
    order: 1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: 280px 160px;
    gap: 16px;
}

.branch-interiors img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 22px;
}

.branch-interiors img:first-child {
    grid-column: 1 / -1;
    grid-row: 1;
    object-position: center 60%;
}

.branch-ages {
    padding-block: 0 48px;
}

.branch-age-tabs {
    display: flex;
    gap: 24px;
    margin: 22px 0;
    flex-wrap: wrap;
}

.branch-age-tabs button {
    padding: 10px 20px;
    min-height: 44px;
    font: inherit;
    font-size: 17px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: #7b8088;
    cursor: pointer;
    white-space: nowrap;
}

.branch-age-tabs button[aria-selected="true"] {
    color: #e96e79;
    background: #ffeaec;
}

.branch-age-tabs button:hover {
    background: #fff0ed;
}

.branch-age-panel {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 40px;
    align-items: center;
    background: #fffdf9ab;
    border-radius: 28px;
    padding: 0 24px 0 0;
}

.branch-age-panel > img {
    width: 100%;
    aspect-ratio: 1.6;
    object-fit: cover;
    border-radius: 22px;
}

.branch-age-panel h3 {
    font-size: 32px;
}

.branch-age-panel p {
    margin-top: 12px;
}

.branch-activities {
    padding-block: 0 48px;
}

.branch-activity-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 14px;
    margin-top: 24px;
}

.branch-activity-grid figure {
    margin: 0;
}

.branch-activity-grid img {
    display: block;
    width: 100%;
    aspect-ratio: 1.1;
    object-fit: cover;
    border-radius: 18px;
}

.branch-activity-grid figcaption {
    text-align: center;
    color: #77808a;
    font-size: 15px;
    line-height: 1.3;
    margin-top: 10px;
}

.branch-team {
    padding-block: 0 32px;
}

.branch-team-photos {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.branch-team-card {
    margin: 0;
    min-width: 0;
    overflow: hidden;
    background: #fffdf9;
    border: 1px solid #f1e9e2;
    border-radius: 22px;
}

.branch-team-portrait {
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #eee7db;
}

.branch-team-portrait img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%;
}

.branch-team-card figcaption {
    padding: 18px 16px;
    text-align: center;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.35;
}

.branch-day-food {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    padding-block: 0 40px;
}

.branch-schedule {
    margin: 20px 0 0;
}

.branch-schedule > div {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    border-bottom: 1px solid #f3e5e3;
}

.branch-schedule dt {
    margin: 0;
    background: #fff0f2ba;
    color: #ed7d87;
    font-size: 16px;
    text-align: center;
    padding: 5px 8px;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.branch-schedule dd {
    margin: 0;
    color: #767f89;
    padding: 5px 14px;
    font-size: 16px;
    line-height: 1.4;
}

.branch-food-photos {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 12px;
    margin: 24px 0;
}

.branch-food-photos img {
    display: block;
    width: 100%;
    aspect-ratio: 1.2;
    object-fit: cover;
    border-radius: 18px;
}

.branch-pricing {
    padding-block: 0 32px;
}

.branch-pricing-grid {
    display: grid;
    grid-template-columns: 1.6fr .85fr;
    gap: 28px;
    align-items: stretch;
    margin-top: 18px;
}

.branch-pricing .pricing-table th, .branch-pricing .pricing-table td {
    padding: 12px 20px;
    font-size: 16px;
}

.branch-pricing .pricing-table th:first-child {
    padding-left: 28px;
    width: 35%;
}

.branch-pricing .pricing-table th:nth-child(2) {
    width: 28%;
}

.branch-pricing .pricing-amount {
    font-size: 20px;
}

.branch-trial {
    background: #eaf7fcdb;
    border-radius: 22px;
    padding: 24px 32px;
}

.branch-trial h3 {
    font-size: 21px;
}

.branch-trial p {
    margin-top: 8px;
    font-size: 17px;
}

.branch-location {
    display: grid;
    grid-template-columns: .85fr 1fr;
    gap: 32px;
    align-items: stretch;
    padding-block: 0 32px;
}

.branch-location address {
    display: flex;
    flex-direction: column;
    gap: 20px;
    border-radius: 22px;
    background: #fff0f0ab;
    margin-top: 18px;
    padding: 24px 32px;
    font-style: normal;
    font-size: 18px;
    color: #78828c;
}

.branch-location address strong {
    color: #485d6a;
    font-weight: 800;
}

.branch-location address a {
    color: #46627e;
    font-weight: 800;
    font-size: 21px;
}

.branch-location address a:hover {
    color: var(--coral);
}

.branch-map {
    display: flex;
    flex-direction: column;
    min-height: 280px;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid #e2edf1;
    background: #edf4f5;
}

.branch-map iframe {
    width: 100%;
    border: 0;
    min-height: 250px;
    flex: 1;
}

.branch-map > a {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    padding: 8px 16px;
    background: #f1f9fc;
    color: #5c7e95;
    font-size: 14px;
}

.branch-invitation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    background: #edf8fcdb;
    border-radius: 44px;
    padding: 36px 48px;
}

.branch-invitation h2 {
    font-size: 29px;
}

.branch-invitation h2 .heart {
    display: inline-block;
    vertical-align: middle;
    width: 30px;
    height: 34px;
    margin-left: 12px;
}

.branch-invitation p {
    margin-top: 14px;
    font-size: 16px;
}

.branch-invitation .button {
    flex-shrink: 0;
    font-size: 15px;
    padding-inline: 24px;
}

@media (max-width: 1440px) {
    .branch-page h1 {
        font-size: 52px;
    }

    .branch-page h2 {
        font-size: 32px;
    }

    .branch-page p {
        font-size: 17px;
    }

    .branch-page-hero, .branch-about {
        gap: 36px;
    }

    .branch-page .branch-lead {
        font-size: 19px;
    }

    .branch-interiors {
        grid-template-rows: 240px 140px;
    }

    .branch-age-panel {
        gap: 32px;
    }

    .branch-activity-grid {
        gap: 12px;
    }

    .branch-activity-grid figcaption {
        font-size: 14px;
    }

    .branch-day-food {
        gap: 40px;
    }

    .branch-invitation h2 {
        font-size: 27px;
    }
}

@media (max-width: 1200px) {
    .branch-page h1 {
        font-size: 42px;
    }

    .branch-page h2 {
        font-size: 29px;
    }

    .branch-page p {
        font-size: 16px;
    }

    .branch-page-hero, .branch-about {
        gap: 28px;
        grid-template-columns: 1fr 1fr;
    }

    .branch-page-hero .breadcrumbs {
        font-size: 12px;
        flex-wrap: wrap;
        gap: 8px;
        margin-bottom: 24px;
    }

    .branch-page .branch-lead {
        font-size: 17px;
    }

    .branch-facts {
        gap: 16px;
        margin-block: 20px;
    }

    .branch-facts dt, .branch-facts dd {
        font-size: 14px;
    }

    .branch-building-photo {
        border-radius: 30px;
        aspect-ratio: 1.2;
    }

    .branch-page-hero .button {
        font-size: 14px;
        padding-inline: 20px;
        min-height: 56px;
    }

    .branch-interiors {
        grid-template-rows: 200px 120px;
        gap: 10px;
    }

    .branch-age-tabs {
        gap: 12px;
    }

    .branch-age-tabs button {
        font-size: 15px;
        padding-inline: 16px;
    }

    .branch-age-panel {
        grid-template-columns: 1fr 1.2fr;
        gap: 24px;
    }

    .branch-age-panel > img {
        aspect-ratio: 1.1;
    }

    .branch-age-panel h3 {
        font-size: 28px;
    }

    .branch-activity-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 20px 14px;
    }

    .branch-team-photos {
        gap: 14px;
    }

    .branch-day-food {
        gap: 28px;
    }

    .branch-schedule > div {
        grid-template-columns: 114px minmax(0, 1fr);
    }

    .branch-schedule dt, .branch-schedule dd {
        font-size: 14px;
    }

    .branch-pricing-grid {
        grid-template-columns: 1.7fr 1fr;
        gap: 20px;
    }

    .branch-pricing .pricing-table th, .branch-pricing .pricing-table td {
        font-size: 14px;
        padding: 12px 10px;
    }

    .branch-pricing .pricing-table th:first-child {
        padding-left: 16px;
    }

    .branch-pricing .pricing-amount {
        font-size: 17px;
    }

    .branch-trial {
        padding: 20px;
    }

    .branch-trial h3 {
        font-size: 19px;
    }

    .branch-trial p {
        font-size: 15px;
    }

    .branch-location {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .branch-location address {
        padding: 24px;
        font-size: 16px;
    }

    .branch-location address a {
        font-size: 19px;
    }

    .branch-invitation {
        padding: 32px;
        gap: 24px;
    }

    .branch-invitation h2 {
        font-size: 25px;
    }

    .branch-invitation .button {
        font-size: 13px;
        padding-inline: 20px;
    }
}

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

    .branch-page h1 {
        font-size: 40px;
    }

    .branch-page h2 {
        font-size: 27px;
    }

    .branch-page p {
        font-size: 16px;
    }

    .branch-page-hero {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
        padding-block: 16px 36px;
    }

    .branch-page-hero .breadcrumbs {
        font-size: 11px;
        gap: 6px;
    }

    .branch-facts {
        gap: 12px;
    }

    .branch-page-hero .button {
        width: 100%;
        font-size: 13px;
        gap: 12px;
        padding-inline: 12px;
    }

    .branch-building-photo {
        aspect-ratio: 1.6;
        border-radius: 26px;
    }

    .branch-about {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
        padding-block: 0 36px;
    }

    .branch-about > div:first-child {
        order: 0;
    }

    .branch-about p {
        margin-top: 16px;
    }

    .branch-interiors {
        grid-template-rows: 200px 110px;
    }

    .branch-interiors img {
        border-radius: 16px;
    }

    .branch-ages {
        padding-bottom: 36px;
    }

    .branch-age-tabs {
        gap: 8px;
        margin-block: 18px;
    }

    .branch-age-tabs button {
        font-size: 14px;
        padding: 10px 12px;
    }

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

    .branch-age-panel > img {
        aspect-ratio: 1.6;
        border-radius: 20px;
    }

    .branch-age-panel > div {
        padding-inline: 8px;
    }

    .branch-age-panel h3 {
        font-size: 27px;
    }

    .branch-age-panel p {
        margin-top: 12px;
    }

    .branch-activities {
        padding-bottom: 36px;
    }

    .branch-activity-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px 12px;
        margin-top: 20px;
    }

    .branch-activity-grid figcaption {
        font-size: 13px;
    }

    .branch-activity-grid img {
        border-radius: 16px;
    }

    .branch-team {
        padding-bottom: 36px;
    }

    .branch-team-photos {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        margin-top: 20px;
    }

    .branch-team-card {
        border-radius: 18px;
    }

    .branch-team-card figcaption {
        font-size: 15px;
        padding: 14px 10px;
    }

    .branch-team-card:last-child {
        grid-column: 1 / -1;
        width: calc(50% - 6px);
        justify-self: center;
    }

    .branch-day-food {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
        padding-bottom: 36px;
    }

    .branch-schedule > div {
        grid-template-columns: 104px minmax(0, 1fr);
    }

    .branch-schedule dt, .branch-schedule dd {
        font-size: 12px;
        padding-block: 8px;
    }

    .branch-schedule dd {
        padding-inline: 10px;
    }

    .branch-food-photos {
        margin-block: 20px;
    }

    .branch-pricing {
        padding-bottom: 32px;
    }

    .branch-pricing-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .branch-pricing .pricing-table tbody th:first-child {
        padding: 18px 20px;
        font-size: 20px;
        width: auto;
    }

    .branch-pricing .pricing-table tbody td {
        padding: 14px 20px;
        font-size: 16px;
    }

    .branch-pricing .pricing-table tbody td:last-child {
        padding-top: 4px;
        padding-bottom: 20px;
    }

    .branch-pricing .pricing-amount {
        font-size: 23px;
    }

    .branch-trial {
        border-radius: 24px;
        padding: 24px;
    }

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

    .branch-location address {
        padding: 24px;
        gap: 18px;
    }

    .branch-map {
        border-radius: 24px;
    }

    .branch-map iframe {
        min-height: 280px;
    }

    .branch-invitation {
        flex-direction: column;
        align-items: flex-start;
        padding: 28px 20px;
        gap: 24px;
        border-radius: 30px;
    }

    .branch-invitation h2 {
        font-size: 26px;
    }

    .branch-invitation h2 .heart {
        width: 26px;
        height: 30px;
        margin-left: 0;
    }

    .branch-invitation p {
        font-size: 15px;
    }

    .branch-invitation .button {
        width: 100%;
        padding: 16px 12px;
        font-size: 13px;
        gap: 10px;
        min-height: 56px;
    }
}
