:root {
    --navy: #0d3053;
    --navy-deep: #08223d;
    --gold: #dcb35a;
    --gold-soft: #f1e09a;
    --burgundy: #6d1521;
    --cream: #f6f0df;
    --sky: #d8edf5;
    --white: #ffffff;
    --ink: #223041;
    --muted: #637082;
    --border: rgba(13, 48, 83, 0.12);
    --shadow: 0 18px 50px rgba(13, 48, 83, 0.08);
    --radius: 24px;
    --radius-sm: 16px;
    --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    font-family: "Inter", sans-serif;
    background: var(--white);
    line-height: 1.65;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1rem; }
h1, h2, h3, h4 {
    margin: 0 0 1rem;
    line-height: 1.15;
    color: var(--navy);
}
h1, h2 {
    font-family: "Playfair Display", serif;
    letter-spacing: -0.02em;
}
.container {
    width: min(var(--container), calc(100% - 40px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: #0e3254;
    backdrop-filter: none;
    border-bottom: 1px solid rgba(251, 228, 184, 0.18);
}
.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 3px 0;
}
.nav-wrap-simple {
    min-height: 120px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 0;
    flex: 0 0 auto;
}
.brand img {
    width: 114px;
    height: 114px;
    object-fit: contain;
    object-position: center;
    border-radius: 0;
    box-shadow: none;
    flex: 0 0 114px;
}
.brand-copy {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-width: 0;
    width: max-content;
}
.brand-name {
    display: block;
    font-family: "Playfair Display", serif;
    font-size: 33px;
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -0.02em;
    color: #fbe4b8;
    text-shadow: 0 1px 0 rgba(14, 50, 84, 0.16);
    white-space: nowrap;
    text-align: center;
}
.brand-rule {
    display: block;
    width: 100%;
    height: 2px;
    margin: 8px 0 7px;
    background: linear-gradient(
        90deg,
        rgba(251, 228, 184, 0) 0%,
        rgba(251, 228, 184, 0.95) 14%,
        #fbe4b8 50%,
        rgba(251, 228, 184, 0.95) 86%,
        rgba(251, 228, 184, 0) 100%
    );
}
.brand-phone {
    display: block;
    font-family: "Lora", serif;
    font-size: 22px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.003em;
    color: #ffffff;
    white-space: nowrap;
    text-align: center;
    text-rendering: optimizeLegibility;
    font-variant-numeric: lining-nums proportional-nums;
    font-feature-settings: "lnum" 1, "pnum" 1;
}


@media (max-width: 1199px) {
    .nav-wrap {
        padding: 6px 0;
    }
    .nav-wrap-simple {
        min-height: 112px;
    }
    .brand img {
        width: 102px;
        height: 102px;
        flex-basis: 102px;
    }
}

@media (max-width: 991px) {
    .brand-phone {
        font-size: 25px;
    }
}

@media (max-width: 640px) {
    .brand-phone {
        font-size: 21px;
    }
}
.site-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    font-weight: 700;
    flex: 1 1 auto;
}
.site-nav a {
    color: #ffffff;
    transition: color 0.2s ease;
}
.site-nav a:hover { color: #fbe4b8; }

.site-header .button-primary {
    background: #fbe4b8;
    color: #0e3254;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16);
}
.site-header .button-primary:hover {
    opacity: 0.94;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    font-weight: 700;
    border: 0;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary {
    background: var(--navy);
    color: var(--white);
    box-shadow: 0 14px 28px rgba(13, 48, 83, 0.18);
}
.button-secondary {
    background: rgba(13, 48, 83, 0.08);
    color: var(--navy);
}
.button-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-soft));
    color: var(--navy-deep);
    box-shadow: 0 14px 28px rgba(220, 179, 90, 0.28);
}
.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--navy);
    font-weight: 700;
}

.notice-bar { padding: 16px 0 0; }
.flash {
    padding: 14px 18px;
    border-radius: 16px;
    font-weight: 600;
}
.flash.success {
    background: #e8f7ef;
    color: #1a6b42;
}
.flash.error {
    background: #ffe9ec;
    color: #8c2330;
}

.section { padding: 88px 0; }
.section-soft { background: linear-gradient(180deg, #eff8fb, #f7fafc); }
.section-accent { background: linear-gradient(135deg, #d8edf5, #edf7fb); }
.section-dark {
    background: linear-gradient(135deg, var(--navy), var(--navy-deep));
    color: rgba(255,255,255,0.92);
}
.section-dark h2,
.section-dark h3,
.section-dark .eyebrow { color: var(--white); }
.section-dark p { color: rgba(255,255,255,0.78); }

.eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--burgundy);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}
.section-heading {
    margin-bottom: 28px;
}
.section-heading.centered {
    text-align: center;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
}
.section-heading.narrow { max-width: 740px; }
.section-heading h2 {
    font-size: clamp(34px, 4vw, 50px);
    margin-bottom: 14px;
}
.section-heading p {
    color: var(--muted);
    font-size: 17px;
}
.section-heading.light p { color: rgba(255,255,255,0.78); }

.hero-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 10% 12%, rgba(220,179,90,0.16), transparent 18%),
        radial-gradient(circle at 100% 0%, rgba(220,179,90,0.2), transparent 18%),
        linear-gradient(180deg, #fbf9f2, #ffffff);
}
.hero-section-wide {
    padding: 0;
}
.hero-wide-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    min-height: clamp(600px, calc(100vh - 118px), 820px);
}
.hero-wide-copy-pane {
    display: flex;
    align-items: center;
    min-width: 0;
}
.hero-wide-copy-inner {
    width: 100%;
    max-width: calc((var(--container) / 2) + 100px);
    margin-left: auto;
    padding: 88px 64px 88px 20px;
}
.hero-copy h1 {
    font-size: clamp(54px, 6.8vw, 90px);
    margin-bottom: 18px;
}
.hero-copy p {
    max-width: 56ch;
    color: var(--muted);
    font-size: 18px;
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}
.hero-wide-media-pane {
    position: relative;
    min-height: 100%;
    background: #d8edf5;
}
.hero-slider,
.hero-placeholder-wide {
    position: relative;
    min-height: 100%;
    height: 100%;
}
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.85s ease, visibility 0.85s ease;
}
.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
}
.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-slider::after {
    content: '';
    position: absolute;
    inset: auto 0 0 0;
    height: 22%;
    background: linear-gradient(180deg, rgba(8,34,61,0), rgba(8,34,61,0.18));
    pointer-events: none;
}
.hero-slider-dots {
    position: absolute;
    left: 34px;
    bottom: 28px;
    display: flex;
    gap: 10px;
    z-index: 2;
}
.hero-slider-dot {
    width: 12px;
    height: 12px;
    padding: 0;
    border-radius: 999px;
    border: 0;
    background: rgba(255,255,255,0.45);
    box-shadow: 0 2px 10px rgba(8,34,61,0.2);
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}
.hero-slider-dot.is-active {
    background: var(--white);
    transform: scale(1.12);
}
.hero-slider-dot:hover {
    background: rgba(255,255,255,0.75);
}
.hero-placeholder-wide {
    border-radius: 0;
    min-height: 100%;
}

.card-grid,
.program-grid,
.footer-grid,
.contact-grid {
    display: grid;
    gap: 24px;
}

.section-highlights {
    background: #fbe4b8;
}
.highlights-layout {
    display: grid;
    grid-template-columns: minmax(280px, 330px) minmax(0, 1fr);
    gap: 52px;
    align-items: start;
}
.highlights-intro {
    padding-top: 8px;
}
.highlights-intro .eyebrow {
    color: rgba(13, 48, 83, 0.72);
    margin-bottom: 12px;
}
.highlights-intro h2 {
    margin-bottom: 20px;
    font-size: clamp(42px, 5.4vw, 74px);
    line-height: 0.94;
    color: var(--navy);
}
.highlights-copy {
    max-width: 30ch;
    color: rgba(13, 48, 83, 0.78);
    font-size: 17px;
}
.highlights-cta {
    margin-top: 10px;
}
.highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px 34px;
    align-items: start;
}
.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    min-height: 52px;
}
.highlight-icon {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 34px;
    color: var(--navy);
    font-size: 28px;
}
.highlight-body strong {
    display: block;
    margin-top: 2px;
    color: var(--navy);
    font-size: 18px;
    line-height: 1.35;
    font-weight: 500;
    letter-spacing: -0.01em;
}
.highlight-body p {
    margin-top: 6px;
    margin-bottom: 0;
    color: rgba(13, 48, 83, 0.78);
    font-size: 15px;
    line-height: 1.6;
}

.card-grid { grid-template-columns: repeat(3, 1fr); }
.info-card {
    padding: 16px;
    border-radius: 28px;
    background: var(--white);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}
.info-card-thumb,
.placeholder-thumb {
    height: 220px;
    border-radius: 22px;
    overflow: hidden;
    margin-bottom: 18px;
}
.placeholder-thumb {
    background: linear-gradient(135deg, #d8edf5, #f6f0df);
}
.info-card h3 { font-size: 24px; }
.info-card p { color: var(--muted); }

.split-grid,
.team-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 44px;
    align-items: center;
}
.split-copy h2,
.team-copy h2 { font-size: clamp(34px, 4vw, 50px); }
.split-copy p,
.team-copy p { color: var(--muted); }
.team-spotlight-name {
    margin-top: 22px;
    margin-bottom: 6px;
    font-size: clamp(28px, 3vw, 36px);
}
.team-spotlight-text {
    margin-top: 12px;
}
.split-media {
    min-height: 440px;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: var(--shadow);
}
.team-image {
    position: relative;
    min-height: 0;
    aspect-ratio: 4 / 5;
    max-width: 520px;
    width: 100%;
    padding: 14px;
    border-radius: 36px;
    overflow: hidden;
    background: linear-gradient(180deg, #edf7fb 0%, #d9edf5 100%);
    border: 1px solid rgba(13, 48, 83, 0.08);
    box-shadow: 0 28px 60px rgba(6, 26, 44, 0.12);
}
.team-image::after {
    content: "";
    position: absolute;
    inset: 14px;
    border-radius: 26px;
    border: 1px solid rgba(255, 255, 255, 0.82);
    pointer-events: none;
}
.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    border-radius: 26px;
    position: relative;
    z-index: 1;
}
.portrait-placeholder {
    height: 100%;
    min-height: 100%;
    border-radius: 26px;
    background: linear-gradient(135deg, rgba(13,48,83,0.14), rgba(220,179,90,0.28));
}

.section-program-cards {
    overflow: hidden;
}
.program-grid-wrap {
    overflow-x: auto;
    padding-bottom: 12px;
    margin-top: 6px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.22) transparent;
}
.program-grid-wrap::-webkit-scrollbar {
    height: 10px;
}
.program-grid-wrap::-webkit-scrollbar-track {
    background: transparent;
}
.program-grid-wrap::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.18);
    border-radius: 999px;
}
.program-grid {
    display: flex;
    gap: 18px;
    align-items: stretch;
    width: max-content;
    min-width: 100%;
}
.program-card {
    width: clamp(300px, 32vw, 424px);
    border-radius: 26px;
    overflow: hidden;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 20px 40px rgba(2, 16, 31, 0.18);
    flex: 0 0 auto;
    scroll-snap-align: start;
}
.program-card-media {
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, rgba(255,255,255,0.12), rgba(255,255,255,0.03));
    overflow: hidden;
}
.program-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.program-card-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    padding: 24px;
    text-align: center;
    background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.18));
}
.program-card-placeholder span {
    font-size: 28px;
    line-height: 1.05;
    font-family: "Playfair Display", serif;
    color: rgba(255,255,255,0.88);
}
.program-card-body {
    padding: 18px 18px 22px;
    background: rgba(255,255,255,0.96);
    min-height: 198px;
}
.program-card h3 {
    margin-bottom: 6px;
    font-size: clamp(24px, 2.2vw, 32px);
    color: var(--navy);
}
.program-card p {
    margin: 0;
    color: #29435c;
    font-size: 15px;
    line-height: 1.62;
}
.program-age {
    display: inline-flex;
    margin-bottom: 10px;
    color: var(--navy);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.testimonial-wrap {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.testimonial-card {
    padding: 28px;
    border-radius: 28px;
    background: var(--white);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}
.quote {
    font-size: 18px;
    color: var(--navy);
}
.testimonial-card span { color: var(--muted); }

.cta-section { padding-top: 40px; }
.cta-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 32px;
    border-radius: 32px;
    background: linear-gradient(135deg, #09233f, #143e67);
    color: var(--white);
    box-shadow: var(--shadow);
}
.cta-banner h2,
.cta-banner p,
.cta-banner .eyebrow { color: var(--white); }

.contact-grid {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
}
.contact-form {
    padding: 28px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 28px;
    box-shadow: var(--shadow);
}
.form-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 20px;
}
.form-grid .full { grid-column: 1 / -1; }
.contact-form label span {
    display: block;
    margin-bottom: 8px;
    color: var(--navy);
    font-weight: 700;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    border: 1px solid rgba(13, 48, 83, 0.15);
    border-radius: 16px;
    padding: 14px 16px;
    font: inherit;
    color: var(--ink);
    background: #fff;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: rgba(13,48,83,0.35);
    box-shadow: 0 0 0 4px rgba(13,48,83,0.07);
}

.contact-info-stack {
    display: grid;
    gap: 14px;
    margin-top: 24px;
}
.contact-info-link {
    display: inline-flex;
    align-items: flex-start;
    gap: 12px;
    width: fit-content;
    max-width: 100%;
    color: var(--navy);
    font-weight: 700;
    line-height: 1.5;
}
.contact-info-link i {
    margin-top: 4px;
    color: var(--accent);
}
.contact-info-link span {
    display: block;
}
.contact-info-link:hover,
.contact-info-link:focus {
    color: var(--accent-dark);
}
.contact-info-address {
    font-weight: 600;
}
.hp-field {
    position: absolute !important;
    opacity: 0 !important;
    pointer-events: none !important;
    left: -9999px !important;
}


.page-hero-section {
    padding: 0;
    background: linear-gradient(180deg, #f7fafc, #f0f6f9);
    overflow: hidden;
}
.page-hero-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    align-items: stretch;
    min-height: 560px;
}
.page-hero-copy-wrap {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    padding: 72px clamp(28px, 7vw, 84px) 72px clamp(24px, 6vw, 72px);
    margin-right: -72px;
    background: linear-gradient(135deg, var(--navy), var(--navy-deep));
    border-radius: 0 220px 220px 0;
    box-shadow: 18px 0 40px rgba(8, 34, 61, 0.10);
}
.page-hero-copy {
    max-width: 700px;
}
.page-hero-copy .eyebrow.light {
    color: rgba(255,255,255,0.72);
}
.page-hero-copy h1 {
    margin-bottom: 18px;
    color: var(--cream);
    font-size: clamp(46px, 5.8vw, 76px);
    line-height: 0.96;
}
.page-hero-copy p {
    max-width: none;
    margin-bottom: 0;
    color: rgba(255,255,255,0.92);
    font-size: clamp(18px, 2vw, 22px);
    line-height: 1.4;
}
.page-hero-actions {
    margin-top: 28px;
}
.page-hero-media {
    position: relative;
    min-height: 560px;
    background: #c9d7e1;
}
.page-hero-media img,
.page-hero-placeholder {
    width: 100%;
    height: 100%;
}
.page-hero-media img {
    object-fit: cover;
}
.page-hero-placeholder {
    display: grid;
    place-items: center;
    padding: 42px;
    background:
        radial-gradient(circle at 78% 18%, rgba(255,255,255,0.28), transparent 16%),
        radial-gradient(circle at 16% 82%, rgba(13,48,83,0.12), transparent 20%),
        linear-gradient(135deg, #dbe8ef, #bdd5e4 55%, #9fc3da);
}
.page-hero-placeholder span {
    max-width: 16ch;
    text-align: center;
    color: rgba(13,48,83,0.78);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
}

.site-footer {
    margin-top: 5px;
    background: linear-gradient(135deg, var(--navy), var(--navy-deep));
    color: rgba(255,255,255,0.88);
}
.footer-grid {
    grid-template-columns: 1.05fr 1fr 1.15fr 0.95fr;
    align-items: start;
    gap: 40px;
    padding: 58px 0 18px;
}
.site-footer h3,
.site-footer h4 {
    color: var(--white);
    margin-bottom: 14px;
}
.footer-links {
    margin: 0;
    padding: 0;
    list-style: none;
}
.footer-links li + li { margin-top: 8px; }
.footer-bottom {
    padding: 10px 0 26px;
    border-top: 0;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    font-size: 14px;
}



.section-values {
    background: linear-gradient(180deg, #f7fafc, #ffffff);
}
.value-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.value-grid.is-four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.value-card {
    padding: 28px;
    border-radius: 28px;
    background: linear-gradient(180deg, #ffffff, #f8fbfd);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}
.value-icon {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border-radius: 18px;
    background: rgba(13, 48, 83, 0.08);
    color: var(--navy);
    font-size: 20px;
}
.value-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
}
.value-card p {
    color: var(--muted);
    margin-bottom: 0;
}
.section-steps {
    background: linear-gradient(135deg, rgba(216,237,245,0.65), rgba(246,240,223,0.72));
}
.steps-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.step-card {
    position: relative;
    padding: 30px 28px 28px;
    border-radius: 28px;
    background: rgba(255,255,255,0.86);
    border: 1px solid rgba(13,48,83,0.09);
    box-shadow: var(--shadow);
}
.step-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 12px;
    margin-bottom: 14px;
    border-radius: 999px;
    background: rgba(109,21,33,0.08);
    color: var(--burgundy);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.step-card h3 {
    font-size: 26px;
    margin-bottom: 10px;
}
.step-card p {
    color: var(--muted);
    margin-bottom: 0;
}
.section-routine {
    background: #fff;
}
.routine-layout {
    display: grid;
    grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
    gap: 38px;
    align-items: start;
}
.routine-copy h2 {
    font-size: clamp(34px, 4vw, 50px);
}
.routine-copy p {
    color: var(--muted);
    margin-bottom: 22px;
}
.routine-list {
    display: grid;
    gap: 16px;
}
.routine-item {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    padding: 22px 24px;
    border-radius: 24px;
    background: linear-gradient(180deg, #fbfdfe, #f3f8fb);
    border: 1px solid rgba(13,48,83,0.08);
}
.routine-time {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(13,48,83,0.08);
    color: var(--navy);
    font-size: 13px;
    font-weight: 800;
}
.routine-body h3 {
    font-size: 24px;
    margin-bottom: 8px;
}
.routine-body p {
    color: var(--muted);
    margin-bottom: 0;
}
.section-team-cards {
    background: linear-gradient(180deg, #f7fafc, #edf6fb);
}
.team-card-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.team-person-card {
    overflow: hidden;
    border-radius: 28px;
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}
.team-person-image {
    height: 280px;
    overflow: hidden;
    background: linear-gradient(135deg, #dceaf2, #c6ddea);
}
.team-person-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.portrait-placeholder.small {
    min-height: 280px;
}
.team-person-copy {
    padding: 24px;
}
.team-person-copy h3 {
    font-size: 28px;
    margin-bottom: 4px;
}
.team-role {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--burgundy);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.team-person-copy p {
    color: var(--muted);
    margin-bottom: 0;
}

@media (max-width: 1080px) {
    .nav-wrap {
        gap: 20px;
    }
    .brand img {
        width: 74px;
        height: 74px;
    }
    .site-nav {
        gap: 20px;
    }
}
@media (max-width: 1080px) {
    .page-hero-shell,
    .hero-wide-grid,
    .split-grid,
    .team-grid,
    .contact-grid,
    .footer-grid,
    .routine-layout { grid-template-columns: 1fr; }
    .highlights-layout,
    .feature-grid { grid-template-columns: 1fr; }
    .hero-wide-grid { min-height: 0; }
    .hero-wide-copy-inner {
        max-width: var(--container);
        margin: 0 auto;
        padding: 72px 20px 40px;
    }
    .hero-wide-media-pane { min-height: 420px; }
    .value-grid.is-four,
    .value-grid,
    .steps-grid,
    .team-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .page-hero-copy-wrap {
        margin-right: 0;
        border-radius: 0;
        padding-top: 64px;
        padding-bottom: 64px;
    }
    .page-hero-media { min-height: 420px; }
    .team-image {
        max-width: min(100%, 520px);
        margin: 0 auto;
    }
    .highlights-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .program-grid { grid-template-columns: repeat(2, 1fr); }
    .card-grid,
    .testimonial-wrap { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
    .page-hero-shell { min-height: 0; }
    .page-hero-copy-wrap { padding: 52px 24px; }
    .page-hero-copy h1 { font-size: 46px; }
    .team-image {
        padding: 10px;
        border-radius: 28px;
    }
    .team-image::after {
        inset: 10px;
        border-radius: 22px;
    }
    .team-image img,
    .portrait-placeholder {
        border-radius: 22px;
    }
    .page-hero-copy p { max-width: 100%; font-size: 18px; }
    .page-hero-media { min-height: 320px; }
    .nav-wrap,
    .hero-actions,
    .cta-banner,
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
    .brand img { width: 82px; height: 82px; flex-basis: 82px; }
    .brand-name { font-size: 28px; }
    .brand-rule { margin: 6px 0 5px; }
    .brand-phone { font-size: 15px; }
    .hero-wide-copy-inner {
        padding: 56px 20px 32px;
    }
    .hero-wide-media-pane { min-height: 300px; }
    .hero-copy h1 { font-size: 44px; }
    .hero-slider-dots {
        left: 20px;
        bottom: 18px;
    }
    .site-nav { gap: 14px; }
    .feature-grid,
    .program-grid,
    .form-grid,
    .highlights-grid,
    .value-grid,
    .value-grid.is-four,
    .steps-grid,
    .team-card-grid { grid-template-columns: 1fr; }
    .routine-item { grid-template-columns: 1fr; }
    .highlight-item { min-height: auto; }
    .section { padding: 72px 0; }
    .hero-copy h1 { font-size: 42px; }
}


.admin-preview-bar {
    background: linear-gradient(135deg, #6d1521, #0d3053);
    color: rgba(255,255,255,0.92);
    padding: 12px 0;
}
.admin-preview-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    font-size: 14px;
    font-weight: 600;
}
.admin-preview-inner a {
    color: #ffffff;
    text-decoration: underline;
}
.maintenance-body {
    min-height: 100vh;
    background:
        radial-gradient(circle at top right, rgba(220,179,90,0.18), transparent 28%),
        radial-gradient(circle at 10% 15%, rgba(109,21,33,0.10), transparent 24%),
        linear-gradient(180deg, #f7fafc, #eef7fa);
}
.maintenance-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
}
.maintenance-card {
    width: min(700px, 100%);
    padding: 42px;
    background: rgba(255,255,255,0.96);
    border: 1px solid rgba(13, 48, 83, 0.10);
    border-radius: 32px;
    box-shadow: var(--shadow);
    text-align: center;
}
.maintenance-brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
    color: var(--navy);
    font-weight: 800;
}
.maintenance-brand img {
    width: 68px;
    height: 68px;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: var(--shadow);
}
.maintenance-card h1 {
    font-size: clamp(40px, 6vw, 60px);
    margin-bottom: 14px;
}
.maintenance-card p {
    max-width: 560px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 17px;
}
.maintenance-actions {
    margin-top: 28px;
    display: grid;
    gap: 12px;
    justify-items: center;
}
.maintenance-note {
    color: var(--muted);
    font-size: 14px;
}
@media (max-width: 720px) {
    .admin-preview-inner {
        flex-direction: column;
        align-items: flex-start;
    }
    .maintenance-card {
        padding: 30px 22px;
        border-radius: 24px;
    }
}


@media (max-width: 1200px) {
    .brand img {
        width: 96px;
        height: 96px;
        flex-basis: 96px;
    }
    .site-nav {
        gap: 18px;
    }
}

@media (max-width: 860px) {
    .nav-wrap-simple {
        min-height: auto;
    }
    .brand img {
        width: 88px;
        height: 88px;
        flex-basis: 88px;
    }
    .brand strong {
        font-size: 20px;
    }
    .brand span {
        font-size: 18px;
    }
}


@media (max-width: 980px) {
    .program-card {
        width: min(420px, 78vw);
    }
    .program-card-body {
        min-height: 186px;
    }
}

@media (max-width: 640px) {
    .program-grid-wrap {
        margin-right: -6px;
        padding-bottom: 8px;
    }
    .program-grid {
        gap: 14px;
    }
    .program-card {
        width: min(340px, 84vw);
        border-radius: 22px;
    }
    .program-card-body {
        padding: 16px 16px 20px;
        min-height: auto;
    }
    .program-card h3 {
        font-size: 22px;
    }
    .program-card p {
        font-size: 14px;
    }
    .program-age {
        font-size: 14px;
    }
}

.site-nav-desktop,
.nav-cta {
    display: flex;
}

.mobile-nav-toggle,
.mobile-menu-drawer,
.mobile-menu-backdrop {
    display: none;
}

.mobile-nav-toggle {
    width: 52px;
    height: 52px;
    padding: 0;
    border: 1px solid rgba(251, 228, 184, 0.22);
    border-radius: 16px;
    background: rgba(251, 228, 184, 0.08);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.mobile-nav-toggle:hover {
    background: rgba(251, 228, 184, 0.12);
}
.mobile-nav-toggle span {
    width: 22px;
    height: 2px;
    border-radius: 999px;
    background: #fbe4b8;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.mobile-menu-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(3, 15, 28, 0.42);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 39;
}

.mobile-menu-drawer {
    position: fixed;
    top: 0;
    right: 0;
    height: 100dvh;
    max-height: 100dvh;
    width: min(92vw, 390px);
    background: #0e3254;
    border-left: 1px solid rgba(251, 228, 184, 0.16);
    box-shadow: -18px 0 40px rgba(0, 0, 0, 0.22);
    transform: translateX(100%);
    transition: transform 0.28s ease;
    z-index: 40;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    touch-action: pan-y;
}

.mobile-menu-inner {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    padding: 24px 22px 28px;
    background:
        radial-gradient(circle at top right, rgba(251, 228, 184, 0.11), transparent 36%),
        linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0));
}

.mobile-menu-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 4px 0 18px;
    margin-bottom: 22px;
    border-bottom: 1px solid rgba(251, 228, 184, 0.14);
}

.mobile-menu-brand {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    min-width: 0;
    text-align: left;
}
.mobile-menu-brand img {
    width: 92px;
    height: 92px;
    object-fit: contain;
    flex: 0 0 92px;
}
.mobile-menu-brand-copy {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    min-width: 0;
    width: max-content;
}
.mobile-menu-brand-name {
    display: block;
    font-family: "Playfair Display", serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 0.98;
    letter-spacing: -0.02em;
    color: #fbe4b8;
    white-space: nowrap;
    text-align: left;
}
.mobile-menu-brand-rule {
    display: block;
    width: 100%;
    height: 2px;
    margin: 7px 0 6px;
    background: linear-gradient(
        90deg,
        rgba(251, 228, 184, 0) 0%,
        rgba(251, 228, 184, 0.95) 14%,
        #fbe4b8 50%,
        rgba(251, 228, 184, 0.95) 86%,
        rgba(251, 228, 184, 0) 100%
    );
}
.mobile-menu-brand-phone {
    display: block;
    font-family: "Lora", serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.08;
    color: #ffffff;
    white-space: nowrap;
    text-align: left;
}

.mobile-menu-close {
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid rgba(251, 228, 184, 0.2);
    border-radius: 14px;
    background: rgba(251, 228, 184, 0.08);
    position: relative;
    flex: 0 0 46px;
    cursor: pointer;
}
.mobile-menu-close span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: #fbe4b8;
}
.mobile-menu-close span:first-child {
    transform: translate(-50%, -50%) rotate(45deg);
}
.mobile-menu-close span:last-child {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.mobile-menu-nav {
    display: grid;
    gap: 0;
}
.mobile-menu-nav a {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 0;
    padding: 0 0 14px;
    margin: 0 0 14px;
    color: rgba(255, 255, 255, 0.98);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.01em;
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(251, 228, 184, 0.18);
    transition: color 0.2s ease, opacity 0.2s ease, border-color 0.2s ease;
}
.mobile-menu-link-icon {
    width: 18px;
    flex: 0 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fbe4b8;
    font-size: 15px;
    line-height: 1;
}
.mobile-menu-link-label {
    display: block;
}
.mobile-menu-nav a:hover,
.mobile-menu-nav a:focus {
    color: #fbe4b8;
    opacity: 1;
    border-bottom-color: rgba(251, 228, 184, 0.28);
}
.mobile-menu-nav a:last-child {
    margin-bottom: 0;
}

.mobile-menu-actions {
    margin-top: auto;
    padding-top: 22px;
}
.mobile-menu-tour {
    width: 100%;
    min-height: 56px;
    background: #fbe4b8;
    color: #0e3254;
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.18);
}
.mobile-menu-tour:hover {
    opacity: 0.96;
}

body.mobile-menu-open {
    overflow: hidden;
    touch-action: none;
}
body.mobile-menu-open .mobile-menu-drawer {
    touch-action: pan-y;
}
body.mobile-menu-open .mobile-menu-backdrop {
    display: block;
    opacity: 1;
    pointer-events: auto;
}
body.mobile-menu-open .mobile-menu-drawer {
    display: block;
    transform: translateX(0);
}
body.mobile-menu-open .mobile-nav-toggle span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
body.mobile-menu-open .mobile-nav-toggle span:nth-child(2) {
    opacity: 0;
}
body.mobile-menu-open .mobile-nav-toggle span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 860px) {
    .nav-wrap {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        min-height: 104px;
        gap: 10px;
        padding: 6px 0;
    }
    .nav-wrap-simple {
        min-height: 104px;
    }
    .brand {
        gap: 12px;
        max-width: none;
        min-width: 0;
        align-items: center;
    }
    .brand-copy {
        justify-content: center;
    }
    .brand img {
        width: 94px;
        height: 94px;
        flex-basis: 94px;
    }
    .brand-name {
        font-size: 24px;
    }
    .brand-phone {
        font-size: 18px;
    }
    .site-nav-desktop,
    .nav-cta {
        display: none;
    }
    .mobile-nav-toggle {
        display: inline-flex;
        margin-left: 0;
        flex: 0 0 auto;
        align-self: center;
    }
}

@media (max-width: 640px) {
    .brand img {
        width: 84px;
        height: 84px;
        flex-basis: 84px;
    }
    .brand-name {
        font-size: 21px;
    }
    .brand-phone {
        font-size: 16px;
    }
    .mobile-menu-inner {
        padding: 18px 16px 20px;
    }
    .mobile-menu-brand img {
        width: 84px;
        height: 84px;
        flex-basis: 84px;
    }
    .mobile-menu-brand-name {
        font-size: 24px;
    }
    .mobile-menu-brand-phone {
        font-size: 18px;
    }
    .mobile-menu-nav a {
        gap: 12px;
        padding-bottom: 14px;
        margin-bottom: 14px;
        font-size: 18px;
    }
    .mobile-menu-link-icon {
        width: 17px;
        flex-basis: 17px;
        font-size: 14px;
    }
}


.site-footer a {
    color: rgba(255,255,255,0.92);
}
.site-footer a:hover,
.site-footer a:focus {
    color: #fbe4b8;
}

.footer-map-section {
    width: 100%;
    background: #e9eef3;
}
.footer-map-embed {
    width: 100%;
    line-height: 0;
}
.footer-map-embed iframe {
    display: block;
    width: 100% !important;
    height: 460px;
    border: 0;
}
.footer-grid {
    grid-template-columns: 1.05fr 1fr 1.15fr 0.95fr;
    align-items: start;
}
.footer-brand-only {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 100%;
    padding-top: 6px;
    padding-bottom: 6px;
}
.footer-logo-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.footer-logo-link img {
    width: 350px;
    height: 350px;
    object-fit: contain;
}
.footer-muted {
    color: rgba(255,255,255,0.62);
}
.footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.footer-socials a {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(251, 228, 184, 0.22);
    background: rgba(251, 228, 184, 0.06);
    color: #fbe4b8;
    font-size: 16px;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.footer-socials a:hover,
.footer-socials a:focus {
    transform: translateY(-1px);
    background: rgba(251, 228, 184, 0.12);
    border-color: rgba(251, 228, 184, 0.36);
    color: #ffffff;
}
.footer-bottom-links {
    display: inline-flex;
    align-items: center;
    gap: 18px;
}
.footer-bottom-links a {
    color: rgba(255,255,255,0.9);
}

.mobile-menu-socials-block {
    padding: 18px 0 0;
}
.mobile-menu-socials-title {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 0 14px;
    margin: 0 0 14px;
    color: rgba(255, 255, 255, 0.98);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.01em;
    border-bottom: 1px solid rgba(251, 228, 184, 0.18);
}
.mobile-menu-socials-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding-bottom: 2px;
}
.mobile-menu-socials-links a {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(251, 228, 184, 0.2);
    background: rgba(251, 228, 184, 0.06);
    color: #fbe4b8;
    font-size: 16px;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.mobile-menu-socials-links a:hover,
.mobile-menu-socials-links a:focus {
    background: rgba(251, 228, 184, 0.12);
    border-color: rgba(251, 228, 184, 0.34);
    color: #ffffff;
    transform: translateY(-1px);
}

@media (max-width: 1080px) {
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px;
    }
    .footer-brand-only {
        justify-content: center;
        align-items: center;
    }
    .footer-logo-link img {
        width: 350px;
        height: 350px;
    }
}

@media (max-width: 760px) {
    .footer-map-embed iframe {
        height: 360px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        padding-bottom: 10px;
    }
    .footer-brand-only {
        justify-content: center;
        padding-top: 0;
        padding-bottom: 4px;
    }
    .footer-logo-link img {
        width: 350px;
        height: 350px;
    }
    .footer-bottom {
        padding-top: 2px;
        padding-bottom: 22px;
    }
    .footer-bottom-links {
        flex-direction: row;
        align-items: center;
        gap: 14px;
        flex-wrap: wrap;
    }
}

@media (max-width: 640px) {
    .mobile-menu-socials-title {
        gap: 12px;
        padding-bottom: 14px;
        margin-bottom: 14px;
        font-size: 18px;
    }
}
