/* South Coast Orthodontics: site styles
   One small stylesheet. Colours and fonts live in :root so the look can be changed in one place. */

:root {
    --ink: #0E2A2B;
    --ink-2: #2C4A4B;
    --muted: #5B6E6D;
    --teal: #1F5F5B;
    --teal-2: #41807C;
    --mint: #E6F2EF;
    --mint-2: #D3E8E3;
    --cream: #FBF8F3;
    --white: #FFFFFF;
    --gold: #E9B44C;
    --gold-2: #F4CB72;
    --danger: #A23B2B;

    --radius: 22px;
    --radius-sm: 14px;
    --shadow: 0 24px 50px -28px rgba(14, 42, 43, .45);
    --max: 1180px;

    --serif: "Fraunces", Georgia, "Times New Roman", serif;
    --sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: 96px;
}

body {
    margin: 0;
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--cream);
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); }
p { margin: 0 0 1em; }
ul { margin: 0; }

h1, h2, h3 {
    font-family: var(--serif);
    line-height: 1.12;
    margin: 0 0 .5em;
    font-weight: 700;
    letter-spacing: -.01em;
}
h1 { font-size: clamp(2.5rem, 5.6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3rem); }
h3 { font-size: 1.35rem; }

.wrap {
    width: min(var(--max), calc(100% - 40px));
    margin-inline: auto;
}

.section { padding: clamp(68px, 9vw, 124px) 0; }
.section-tight { padding: clamp(48px, 6vw, 80px) 0; }

.lead { font-size: 1.15rem; color: var(--ink-2); }
.muted { color: var(--muted); }

.eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--teal-2);
}
.on-dark .eyebrow { color: var(--gold-2); }

.head {
    max-width: 680px;
    margin: 0 auto 56px;
    text-align: center;
}
.head p { color: var(--muted); font-size: 1.1rem; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.skip { position: absolute; left: -999px; top: 12px; z-index: 100; }
.skip:focus { left: 16px; background: #fff; padding: 10px 14px; border-radius: 8px; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5em;
    padding: 15px 28px;
    border: 2px solid transparent;
    border-radius: 999px;
    font: inherit;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }

.btn-gold {
    background: var(--gold);
    color: var(--ink);
    box-shadow: 0 14px 28px -16px rgba(233, 180, 76, .95);
}
.btn-gold:hover { background: var(--gold-2); }

.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: var(--ink); }

.btn-outline { border-color: currentColor; color: inherit; background: transparent; }
.btn-outline:hover { background: rgba(255, 255, 255, .12); }

:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
}

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(251, 248, 243, .94);
    backdrop-filter: saturate(1.4) blur(12px);
    -webkit-backdrop-filter: saturate(1.4) blur(12px);
    transition: box-shadow .3s ease;
}
.site-header.scrolled { box-shadow: 0 10px 30px -22px rgba(14, 42, 43, .6); }

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    height: 80px;
}
.brand img { height: 64px; width: auto; }

.menu {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    padding: 0;
}
.menu a {
    display: block;
    padding: 10px 15px;
    border-radius: 999px;
    color: var(--ink);
    font-weight: 600;
    font-size: .95rem;
    text-decoration: none;
    transition: background-color .2s ease, color .2s ease;
}
.menu a:hover,
.menu a[aria-current="page"] { background: var(--mint); color: var(--teal); }
.menu .btn { padding: 11px 20px; font-size: .95rem; color: var(--ink); }
.menu .btn:hover { color: var(--ink); }
.menu-cta { margin-left: 8px; }

.nav-toggle {
    display: none;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 14px;
    background: var(--mint);
    cursor: pointer;
    position: relative;
}
.burger,
.burger::before,
.burger::after {
    display: block;
    position: absolute;
    left: 14px;
    width: 20px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform .3s ease, background-color .3s ease;
    content: "";
}
.burger { top: 23px; }
.burger::before { top: -6px; left: 0; }
.burger::after { top: 6px; left: 0; }
.nav-toggle[aria-expanded="true"] .burger { background: transparent; }
.nav-toggle[aria-expanded="true"] .burger::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .burger::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 960px) {
    .nav-toggle { display: block; }
    .menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 16px 20px 24px;
        background: var(--cream);
        border-top: 1px solid var(--mint-2);
        box-shadow: 0 30px 40px -30px rgba(14, 42, 43, .5);
        transform: translateY(-12px);
        opacity: 0;
        visibility: hidden;
        transition: transform .3s ease, opacity .3s ease, visibility .3s;
    }
    .menu.open { transform: none; opacity: 1; visibility: visible; }
    .menu a { font-size: 1.05rem; padding: 14px 16px; }
    .menu-cta { margin: 10px 0 0; }
    .menu .btn { width: 100%; padding: 15px; }
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: min(92vh, 860px);
    color: #fff;
    background: var(--ink) url("../../images/web/practice-01.jpg") center 30% / cover no-repeat;
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(100deg, rgba(14, 42, 43, .94) 0%, rgba(31, 95, 91, .74) 46%, rgba(31, 95, 91, .18) 100%),
        linear-gradient(0deg, rgba(14, 42, 43, .6), transparent 40%);
}
.hero-inner {
    position: relative;
    padding: 150px 0 96px;
    animation: rise 1s ease both;
}
.hero h1 { color: #fff; max-width: 15ch; }
.hero h1 em { font-style: italic; color: var(--gold-2); }
.hero p {
    max-width: 580px;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, .9);
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}
.hero-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin-top: 40px;
}
.hero-chips li {
    padding: 8px 15px;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 999px;
    font-size: .9rem;
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(4px);
}

/* Shorter hero for inner pages */
.page-hero {
    position: relative;
    padding: clamp(72px, 10vw, 128px) 0 clamp(64px, 8vw, 104px);
    color: #fff;
    background: linear-gradient(120deg, var(--teal), var(--ink));
    overflow: hidden;
}
.page-hero::after {
    content: "";
    position: absolute;
    right: -120px;
    top: -120px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(233, 180, 76, .35), transparent 70%);
}
.page-hero h1 { color: #fff; font-size: clamp(2.6rem, 5.2vw, 4rem); }
.page-hero p { max-width: 640px; color: rgba(255, 255, 255, .88); font-size: 1.15rem; }

@keyframes rise {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: none; }
}

/* ---------- Layout helpers ---------- */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(36px, 6vw, 84px);
    align-items: center;
}
.photo {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    aspect-ratio: 4 / 5;
    background: var(--mint-2);
}
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-wide { aspect-ratio: 16 / 10; }

.checklist {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 12px;
    margin: 22px 0 0;
}
.checklist li {
    position: relative;
    padding-left: 34px;
    color: var(--ink-2);
}
.checklist li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%231F5F5B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* ---------- Cards ---------- */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}
.card {
    display: flex;
    flex-direction: column;
    padding: 32px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: 0 1px 0 rgba(14, 42, 43, .05), 0 22px 40px -32px rgba(14, 42, 43, .5);
    transition: transform .35s ease, box-shadow .35s ease;
}
.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 1px 0 rgba(14, 42, 43, .05), 0 34px 60px -34px rgba(14, 42, 43, .55);
}
.card .icon {
    width: 58px;
    height: 58px;
    margin-bottom: 20px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: var(--mint);
    color: var(--teal);
}
.card .icon svg { width: 28px; height: 28px; }
.card p { color: var(--muted); }
.card .more {
    margin-top: auto;
    padding-top: 10px;
    font-weight: 700;
    text-decoration: none;
    color: var(--teal);
}
.card .more:hover { text-decoration: underline; }

.media-card { padding: 0; overflow: hidden; }
.media-card img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; }
.media-card .body { padding: 26px 30px 30px; display: flex; flex-direction: column; flex: 1; }
.media-card .body p { color: var(--muted); }

/* ---------- Testimonials ---------- */
.quotes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 24px;
}
.quote {
    margin: 0;
    padding: 34px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: 0 22px 40px -32px rgba(14, 42, 43, .5);
    position: relative;
}
.quote::before {
    content: "\201C";
    position: absolute;
    top: 6px;
    right: 24px;
    font-family: var(--serif);
    font-size: 5rem;
    line-height: 1;
    color: var(--mint-2);
}
.quote blockquote { margin: 0 0 18px; font-size: 1.05rem; color: var(--ink-2); position: relative; }
.quote figcaption { font-weight: 700; color: var(--ink); }
.quote figcaption span { display: block; font-weight: 500; color: var(--muted); font-size: .92rem; }

/* ---------- Video ---------- */
.video {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: #000;
}
.video video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

/* ---------- Gallery (scroll-snap, no script) ---------- */
.gallery {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 4px 4px 26px;
    scrollbar-width: thin;
    scrollbar-color: var(--mint-2) transparent;
}
.gallery img {
    flex: 0 0 min(360px, 80vw);
    height: 440px;
    object-fit: cover;
    border-radius: var(--radius);
    scroll-snap-align: start;
    box-shadow: 0 20px 40px -30px rgba(14, 42, 43, .6);
}

/* ---------- Branches ---------- */
.branch {
    display: flex;
    flex-direction: column;
    padding: 30px;
    background: #fff;
    border-radius: var(--radius);
    border-top: 6px solid var(--teal-2);
    box-shadow: 0 22px 40px -32px rgba(14, 42, 43, .5);
}
.branch h3 { margin-bottom: 8px; }
.branch address { font-style: normal; color: var(--muted); margin-bottom: 16px; }
.branch .phones { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 6px; }
.branch .phones a { color: var(--ink); font-weight: 700; text-decoration: none; }
.branch .phones a:hover { color: var(--teal); text-decoration: underline; }
.branch .btn { margin-top: auto; align-self: flex-start; padding: 12px 22px; font-size: .95rem; }

/* ---------- Bands ---------- */
.band {
    position: relative;
    color: #fff;
    background: linear-gradient(120deg, var(--teal) 0%, var(--ink) 100%);
    overflow: hidden;
}
.band h2 { color: #fff; }
.band p { color: rgba(255, 255, 255, .88); font-size: 1.1rem; }
.band-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}
.band-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.band .btn-gold { color: var(--ink); }

/* ---------- Steps (Braces Care) ---------- */
.steps {
    list-style: none;
    padding: 0;
    counter-reset: step;
    display: grid;
    gap: 18px;
}
.steps li {
    position: relative;
    padding: 26px 26px 26px 92px;
    background: #fff;
    border-radius: var(--radius-sm);
    box-shadow: 0 18px 34px -30px rgba(14, 42, 43, .5);
    counter-increment: step;
}
.steps li::before {
    content: counter(step);
    position: absolute;
    left: 24px;
    top: 24px;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--gold);
    color: var(--ink);
    font-family: var(--serif);
    font-weight: 700;
    font-size: 1.3rem;
}
.steps h3 { margin-bottom: 6px; }
.steps p { margin: 0; color: var(--ink-2); }

/* ---------- Types of braces ---------- */
.spec-list {
    display: grid;
    gap: 14px;
    list-style: none;
    padding: 0;
    margin: 22px 0 0;
}
.spec-list li {
    padding: 18px 20px;
    background: #fff;
    border-radius: var(--radius-sm);
    border-left: 4px solid var(--gold);
}
.spec-list strong { display: block; color: var(--ink); }
.spec-list span { color: var(--muted); }

/* ---------- FAQ accordion (no script) ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq details {
    background: #fff;
    border-radius: var(--radius-sm);
    padding: 4px 26px;
    margin-bottom: 14px;
    box-shadow: 0 16px 30px -28px rgba(14, 42, 43, .5);
}
.faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 20px 0;
    cursor: pointer;
    list-style: none;
    font-family: var(--serif);
    font-size: 1.28rem;
    font-weight: 700;
    color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: "+";
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--mint);
    color: var(--teal);
    font-family: var(--sans);
    font-size: 1.5rem;
    line-height: 1;
    transition: transform .3s ease, background-color .3s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); background: var(--gold); color: var(--ink); }
.faq details > div { padding: 0 0 22px; color: var(--ink-2); }
.faq ul { padding-left: 20px; margin: 10px 0 0; }
.faq li { margin-bottom: 6px; }

/* ---------- Booking form ---------- */
.booking {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 40px;
    align-items: start;
}
.form-card {
    background: #fff;
    border-radius: var(--radius);
    padding: clamp(26px, 4vw, 44px);
    box-shadow: var(--shadow);
}
.side-card {
    position: sticky;
    top: 110px;
    padding: 30px;
    border-radius: var(--radius);
    background: var(--ink);
    color: rgba(255, 255, 255, .88);
}
.side-card h3 { color: #fff; font-size: 1.4rem; }
.side-card a { color: #fff; }
.side-card ul { list-style: none; padding: 0; display: grid; gap: 14px; margin: 18px 0 0; }
.side-card li strong { display: block; color: var(--gold-2); font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; }

.form { display: grid; gap: 30px; }
.form fieldset {
    border: 0;
    margin: 0;
    padding: 0;
    min-width: 0;
}
.form legend {
    padding: 0;
    margin-bottom: 14px;
    font-family: var(--serif);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--ink);
}
.form legend small {
    display: block;
    margin-top: 2px;
    font-family: var(--sans);
    font-size: .9rem;
    font-weight: 500;
    color: var(--muted);
}

.two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label,
.field .lbl { font-weight: 600; font-size: .95rem; color: var(--ink-2); }
.field .opt { font-weight: 500; color: var(--muted); }

.input,
.select,
.textarea {
    width: 100%;
    padding: 14px 16px;
    font: inherit;
    font-size: 1rem;
    color: var(--ink);
    background: #fff;
    border: 1.5px solid #C9DBD7;
    border-radius: var(--radius-sm);
    transition: border-color .2s ease, box-shadow .2s ease;
}
.textarea { min-height: 120px; resize: vertical; }
.select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9'%3E%3Cpath fill='none' stroke='%231F5F5B' stroke-width='2' d='M1 1l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 44px;
}
.input:focus,
.select:focus,
.textarea:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 4px rgba(65, 128, 124, .2);
}
.input:user-invalid,
.select:user-invalid,
.textarea:user-invalid { border-color: var(--danger); }

/* Choice cards (radio buttons styled as tiles) */
.options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 12px;
}
.options.compact { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
.option { position: relative; display: block; cursor: pointer; }
.option input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    pointer-events: none;
}
.option span {
    display: block;
    height: 100%;
    padding: 16px 18px;
    background: #fff;
    border: 1.5px solid #C9DBD7;
    border-radius: var(--radius-sm);
    transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.option:hover span { border-color: var(--teal-2); transform: translateY(-2px); }
.option strong { display: block; font-size: 1rem; color: var(--ink); }
.option small { display: block; margin-top: 2px; color: var(--muted); font-size: .9rem; line-height: 1.45; }
.option input:checked + span {
    border-color: var(--teal);
    background: var(--mint);
    box-shadow: 0 0 0 3px rgba(31, 95, 91, .14);
}
.option input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.option.invalid span { border-color: var(--danger); }

.check {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: .95rem;
    color: var(--ink-2);
}
.check input {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    margin-top: 4px;
    accent-color: var(--teal);
}

.form-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.form-foot p { margin: 0; color: var(--muted); font-size: .92rem; max-width: 380px; }
.form-foot .btn { font-size: 1.05rem; padding: 17px 34px; }

.hp {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.notice {
    display: none;
    padding: 16px 18px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    white-space: pre-line;
}
.notice.show { display: block; }
.notice.err { background: #FBE7E3; color: #7A2A1E; }

.booked {
    display: none;
    text-align: center;
    padding: clamp(30px, 5vw, 60px) 20px;
}
.booked.show { display: block; }
.booked .tick {
    width: 74px;
    height: 74px;
    margin: 0 auto 22px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--mint);
    color: var(--teal);
}
.booked .tick svg { width: 36px; height: 36px; }
.booked p { color: var(--muted); max-width: 520px; margin-inline: auto; }

.noscript-note {
    padding: 16px 18px;
    background: var(--mint);
    border-radius: var(--radius-sm);
    color: var(--ink-2);
}

/* ---------- Footer ---------- */
.site-footer {
    padding: 80px 0 30px;
    background: var(--ink);
    color: rgba(255, 255, 255, .78);
    font-size: .95rem;
}
.site-footer h3 {
    font-family: var(--sans);
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--gold-2);
    margin-bottom: 18px;
}
.site-footer a { color: rgba(255, 255, 255, .86); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.foot-logo {
    height: 72px;
    width: auto;
    margin-bottom: 18px;
    border-radius: 10px;
}
.foot-lead { max-width: 340px; }
.foot-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
}
.foot-links { list-style: none; padding: 0; display: grid; gap: 10px; }
.social { display: flex; gap: 16px; margin-top: 20px; }
.foot-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    margin-top: 56px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    font-size: .88rem;
}

/* ---------- Motion (only once JavaScript has run) ---------- */
.js .reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1);
}
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
    .booking { grid-template-columns: 1fr; }
    .side-card { position: static; }
    .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
    .grid-2 { grid-template-columns: 1fr; }
    .photo { aspect-ratio: 4 / 3; }
    .gallery img { height: 360px; }
}
@media (max-width: 600px) {
    body { font-size: 16px; }
    .two { grid-template-columns: 1fr; }
    .foot-grid { grid-template-columns: 1fr; }
    .hero-inner { padding: 120px 0 72px; }
    .steps li { padding: 22px 20px 22px 76px; }
    .steps li::before { left: 18px; top: 22px; width: 42px; height: 42px; font-size: 1.15rem; }
    .form-foot .btn { width: 100%; }
    .band-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
    .js .reveal { opacity: 1; transform: none; }
}

/* Registrations and memberships strip in the footer */
.accred { margin: 36px 0 0; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.14); display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.accred-label { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.accred-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.accred-chip { display: inline-flex; align-items: center; justify-content: center; background: #fff; border-radius: 10px; padding: 8px 12px; height: 56px; }
.accred-chip img { height: 100%; width: auto; max-width: 150px; object-fit: contain; }

/* ============================================================
   EYE CANDY: motion and polish
   Decoration only. Visitors who ask for reduced motion get the still page.
   ============================================================ */

/* Scroll progress bar */
.progress {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 3px;
    z-index: 80;
    transform-origin: 0 50%;
    transform: scaleX(0);
    background: linear-gradient(90deg, var(--gold), var(--teal) 60%, var(--gold-2));
    pointer-events: none;
}

/* Hero photo slideshow with slow zoom and parallax */
.hero::before { z-index: 1; }
.hero-inner { z-index: 2; }
.hero-slides {
    position: absolute;
    inset: -40px 0;
    z-index: 0;
    will-change: transform;
}
.hero-slides span {
    position: absolute;
    inset: 0;
    background: center 30% / cover no-repeat;
    opacity: 0;
    animation: heroShow 21s infinite;
}
.hero-slides span:nth-child(1) { background-image: url("../../images/web/practice-01.jpg"); animation-delay: 0s; }
.hero-slides span:nth-child(2) { background-image: url("../../images/web/practice-05.jpg"); animation-delay: 7s; }
.hero-slides span:nth-child(3) { background-image: url("../../images/web/practice-09.jpg"); animation-delay: 14s; }
@keyframes heroShow {
    0%        { opacity: 0; transform: scale(1.12); }
    8%        { opacity: 1; }
    34%       { opacity: 1; transform: scale(1); }
    42%, 100% { opacity: 0; transform: scale(1); }
}

/* Headline words slide in one by one */
.split .w {
    display: inline-block;
    opacity: 0;
    transform: translateY(.45em) rotate(4deg);
    transform-origin: 0 100%;
    animation: wordIn .9s cubic-bezier(.2, .7, .2, 1) forwards;
    animation-delay: calc(var(--i) * 75ms + 150ms);
}
@keyframes wordIn {
    to { opacity: 1; transform: none; }
}

/* Hero chips slide in from the left */
.hero-chips li { animation: chipIn .7s cubic-bezier(.2, .7, .2, 1) both; }
.hero-chips li:nth-child(1) { animation-delay: .55s; }
.hero-chips li:nth-child(2) { animation-delay: .65s; }
.hero-chips li:nth-child(3) { animation-delay: .75s; }
.hero-chips li:nth-child(4) { animation-delay: .85s; }
@keyframes chipIn {
    from { opacity: 0; transform: translateX(-18px); }
    to   { opacity: 1; transform: none; }
}

/* Treatments ticker */
.ticker {
    overflow: hidden;
    background: var(--teal);
    color: #fff;
    padding: 18px 0;
}
.ticker-track {
    display: flex;
    width: max-content;
    animation: tickerRun 38s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker span {
    white-space: nowrap;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: .02em;
    padding-right: 56px;
}
.ticker span::after {
    content: "\2726";
    margin-left: 56px;
    color: var(--gold-2);
}
@keyframes tickerRun {
    to { transform: translateX(-50%); }
}

/* Reveals that slide in from different directions */
.js .reveal { transition-delay: var(--d, 0ms); }
.js .reveal.from-left:not(.in)  { transform: translateX(-56px); }
.js .reveal.from-right:not(.in) { transform: translateX(56px); }
.js .reveal.zoom:not(.in)       { transform: scale(.94); }
.js .reveal.in.done {
    transition: transform .4s ease, box-shadow .4s ease, opacity .3s ease;
    transition-delay: 0ms;
}

/* Hover life */
.btn {
    transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease, color .25s ease;
}
.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px -14px rgba(14, 42, 43, .6);
}
.btn:active { transform: translateY(0) scale(.98); }
.media-card img { transition: transform .8s ease; }
.media-card:hover img { transform: scale(1.06); }
.gallery img { transition: transform .6s ease, box-shadow .6s ease; }
.gallery img:hover { transform: scale(1.03); box-shadow: 0 30px 50px -30px rgba(14, 42, 43, .7); }

/* Menu underline that draws in */
.menu li:not(.menu-cta) a { position: relative; }
.menu li:not(.menu-cta) a::after {
    content: "";
    position: absolute;
    left: 12px; right: 12px; bottom: 2px;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s ease;
}
.menu li:not(.menu-cta) a:hover::after,
.menu li:not(.menu-cta) a[aria-current="page"]::after { transform: scaleX(1); }

/* Reduced motion: keep everything visible and still */
@media (prefers-reduced-motion: reduce) {
    .hero-slides span,
    .hero-chips li,
    .split .w,
    .ticker-track { animation: none !important; }
    .split .w { opacity: 1; transform: none; }
    .js .reveal.from-left:not(.in),
    .js .reveal.from-right:not(.in),
    .js .reveal.zoom:not(.in) { transform: none; opacity: 1; }
    .progress { display: none; }
}

/* Keep off-screen slide-ins from creating a sideways scrollbar */
html, body { overflow-x: clip; }

/* ============================================================
   V5: sky palette, menu in the top-right corner, and the wow layer
   Mobile first. The menu becomes an inline row from 960px wide.
   ============================================================ */

:root {
    --ink: #17323F;
    --ink-2: #2E4D5B;
    --muted: #5C7480;
    --teal: #1B8A7A;
    --teal-2: #4CC2AA;
    --mint: #E3F7F2;
    --mint-2: #C5EEE2;
    --cream: #F4FBFD;
    --gold: #8BDCC8;
    --gold-2: #B9F2E2;
    --sky: #7CC8F2;
    --sky-2: #D6F0FC;
    --sky-deep: #2C7DB8;
    --grad: linear-gradient(120deg, #8BDCC8 0%, #7CC8F2 100%);
    --glow: 0 18px 40px -16px rgba(44, 125, 184, .55);
}

::selection { background: var(--sky-2); color: var(--ink); }

body {
    background:
        radial-gradient(1100px 600px at 100% -10%, rgba(124, 200, 242, .22), transparent 60%),
        radial-gradient(900px 520px at -12% 35%, rgba(139, 220, 200, .2), transparent 60%),
        var(--cream);
}

/* ---------- Header: glass bar, logo left, menu right ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 70;
    background: transparent;
    box-shadow: none;
}
.site-header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(244, 251, 253, .8);
    -webkit-backdrop-filter: saturate(1.6) blur(14px);
    backdrop-filter: saturate(1.6) blur(14px);
    border-bottom: 1px solid rgba(124, 200, 242, .28);
    transition: background .4s ease, box-shadow .4s ease;
}
.site-header.scrolled::before {
    background: rgba(244, 251, 253, .95);
    box-shadow: 0 18px 40px -26px rgba(23, 50, 63, .5);
}
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 80px;
    gap: 12px;
}
.brand { display: inline-flex; align-items: center; padding: 6px 0; }
.brand img {
    height: 60px;
    width: auto;
    transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}
.brand:hover img { transform: rotate(-6deg) scale(1.05); }

/* Round menu button, pinned to the right on phones */
.nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin-left: auto;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--ink);
    color: #fff;
    cursor: pointer;
    position: relative;
    z-index: 95;
    box-shadow: 0 14px 28px -14px rgba(23, 50, 63, .7);
    transition: transform .3s ease, background .3s ease;
}
.nav-toggle:active { transform: scale(.94); }
.nav-toggle[aria-expanded="true"] { background: #fff; color: var(--ink); }
.burger {
    position: relative;
    display: block;
    width: 20px;
    height: 2px;
    top: auto;
    background: currentColor;
    border-radius: 2px;
    transition: background .3s ease;
}
.burger::before,
.burger::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: transform .45s cubic-bezier(.2, .8, .2, 1);
}
.burger::before { top: -6px; }
.burger::after { top: 6px; }

/* Phone: full-height panel that slides in from the right */
.site-header nav { position: static; }
.menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: min(88vw, 380px);
    height: 100vh;
    height: 100dvh;
    margin: 0;
    padding: 110px 28px 36px;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
    overflow-y: auto;
    background: linear-gradient(165deg, #8BDCC8 0%, #7CC8F2 55%, #2C7DB8 130%);
    box-shadow: -30px 0 70px -20px rgba(23, 50, 63, .55);
    transform: translateX(104%);
    visibility: hidden;
    z-index: 90;
    transition: transform .65s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .65s;
}
.menu.open {
    transform: none;
    visibility: visible;
    transition: transform .65s cubic-bezier(.2, .8, .2, 1), visibility 0s;
}
.menu li {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity .35s ease, transform .45s ease;
}
.menu.open li { opacity: 1; transform: none; }
.menu.open li:nth-child(1) { transition-delay: .14s; }
.menu.open li:nth-child(2) { transition-delay: .2s; }
.menu.open li:nth-child(3) { transition-delay: .26s; }
.menu.open li:nth-child(4) { transition-delay: .32s; }
.menu.open li:nth-child(5) { transition-delay: .38s; }
.menu li:not(.menu-cta) a {
    display: block;
    padding: 12px 6px;
    font: 700 1.75rem/1.2 var(--serif);
    color: #fff;
    text-decoration: none;
    border-radius: 0;
    background: none;
}
.menu li:not(.menu-cta) a:hover,
.menu li:not(.menu-cta) a[aria-current="page"] { color: var(--ink); background: none; }
.menu li:not(.menu-cta) a::after {
    left: 6px;
    right: auto;
    width: 46px;
    bottom: 8px;
    background: #fff;
}
.menu-cta { margin-top: 26px; }
.menu-cta .btn { width: 100%; padding: 16px; font-size: 1rem; }

/* Desktop: the menu sits in the top-right corner as a row */
@media (min-width: 960px) {
    .nav-toggle { display: none; }
    .site-header nav { margin-left: auto; }
    .menu {
        position: static;
        width: auto;
        height: auto;
        padding: 0;
        flex-direction: row;
        align-items: center;
        gap: 4px;
        overflow: visible;
        background: none;
        box-shadow: none;
        transform: none;
        visibility: visible;
        transition: none;
    }
    .menu li,
    .menu.open li { opacity: 1; transform: none; transition: none; }
    .menu li:not(.menu-cta) a {
        padding: 10px 16px;
        font: 600 .98rem/1 var(--sans);
        color: var(--ink-2);
        border-radius: 999px;
        transition: background .3s ease, color .3s ease;
    }
    .menu li:not(.menu-cta) a:hover,
    .menu li:not(.menu-cta) a[aria-current="page"] { background: var(--sky-2); color: var(--ink); }
    .menu li:not(.menu-cta) a::after { display: none; }
    .menu-cta { margin: 0 0 0 12px; }
    .menu-cta .btn { width: auto; padding: 13px 24px; }
}

/* ---------- Buttons with a light sweep and glow ---------- */
.btn {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    transition: transform .25s ease, box-shadow .3s ease, background-color .25s ease, color .25s ease;
}
.btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: -90%;
    width: 50%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .6), transparent);
    transform: skewX(-22deg);
    transition: left .8s ease;
}
.btn:hover::after { left: 140%; }
.btn-gold {
    background: var(--grad);
    color: #0C2A33;
    box-shadow: var(--glow);
}
.btn-gold:hover {
    background: var(--grad);
    color: #0C2A33;
    box-shadow: 0 24px 46px -16px rgba(44, 125, 184, .7);
}

/* ---------- Hero: aurora drift, glowing headline ---------- */
.hero::before {
    background:
        linear-gradient(100deg, rgba(23, 50, 63, .94) 0%, rgba(27, 138, 122, .62) 48%, rgba(44, 125, 184, .2) 100%),
        linear-gradient(0deg, rgba(23, 50, 63, .7), transparent 45%);
}
.hero::after {
    content: "";
    position: absolute;
    inset: -20%;
    z-index: 1;
    pointer-events: none;
    background-image:
        radial-gradient(closest-side, rgba(139, 220, 200, .4), transparent),
        radial-gradient(closest-side, rgba(124, 200, 242, .4), transparent);
    background-repeat: no-repeat;
    background-size: 44% 44%, 48% 48%;
    background-position: 15% 30%, 85% 70%;
    mix-blend-mode: screen;
    animation: auroraDrift 16s ease-in-out infinite alternate;
}
@keyframes auroraDrift {
    to { background-position: 30% 20%, 70% 80%; }
}
.hero-inner { z-index: 2; }
.hero h1 em {
    background: linear-gradient(100deg, #B9F2E2 0%, #7CC8F2 50%, #B9F2E2 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: sheen 6s linear infinite;
}
@keyframes sheen {
    to { background-position: 200% center; }
}

/* ---------- Cards: a light spotlight that follows the pointer ---------- */
.card,
.branch { position: relative; isolation: isolate; }
.card::before,
.branch::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    pointer-events: none;
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(124, 200, 242, .24), transparent 60%);
    opacity: 0;
    transition: opacity .4s ease;
}
.card:hover::before,
.branch:hover::before { opacity: 1; }
.card:hover { box-shadow: 0 1px 0 rgba(23, 50, 63, .05), 0 34px 60px -30px rgba(44, 125, 184, .55); }

/* Pointer glow that trails the cursor on mouse devices */
.cursor-glow {
    position: fixed;
    left: 0;
    top: 0;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    background: radial-gradient(circle, rgba(124, 200, 242, .2), transparent 65%);
    transition: opacity .4s ease;
}
.cursor-glow.on { opacity: 1; }

/* Gallery and media follow the new palette on hover */
.gallery img:hover { box-shadow: 0 30px 50px -28px rgba(44, 125, 184, .7); }

/* Ticker in sky colours */
.ticker { background: linear-gradient(90deg, #1B8A7A, #2C7DB8); }

/* Reduced motion: no glow, no drift, no sweeps */
@media (prefers-reduced-motion: reduce) {
    .hero::after,
    .hero h1 em,
    .btn::after { animation: none !important; transition: none !important; }
    .cursor-glow { display: none; }
    .menu li { transition: none !important; }
}
