/* =====================================================================
   Asal Hair Clinic — public website styles
   Brand: primary #157397 · accent #7ad5ea · dark #0b3a4d (overridable in Admin → Settings)
   ===================================================================== */

:root {
    --primary: #157397;
    --accent: #7ad5ea;
    --dark: #0b3a4d;
    --primary-dark: color-mix(in srgb, var(--primary) 78%, #000);
    --primary-soft: color-mix(in srgb, var(--primary) 10%, #fff);
    --ink: #10242e;
    --text: #3b4f59;
    --muted: #6b7f89;
    --line: #e3edf2;
    --bg: #ffffff;
    --bg-alt: #f3f8fb;
    --white: #fff;
    --radius: 18px;
    --radius-sm: 12px;
    --shadow-sm: 0 4px 14px rgba(11, 58, 77, .06);
    --shadow: 0 14px 40px rgba(11, 58, 77, .10);
    --shadow-lg: 0 24px 60px rgba(11, 58, 77, .18);
    --header-h: 82px;
    --muted-text: #5a6e78; /* small grey text that still reads at 4.5:1 on white */
    --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
/* Horizontal clipping on the root (not body): it stops sideways scrolling without making body the scroll container. */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); overflow-x: hidden; }
body {
    margin: 0;
    font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-dark); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.25; margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1240px, 100% - 40px); margin-inline: auto; }
.wrap.narrow { width: min(860px, 100% - 40px); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 44px;
    padding: .85em 1.6em; border-radius: 999px; border: 2px solid transparent;
    font-weight: 600; font-size: .95rem; line-height: 1.2; white-space: nowrap;
    transition: background .2s, color .2s, border-color .2s;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-light { background: #fff; color: var(--primary); }
.btn-light:hover { color: var(--primary-dark); }
.btn-ghost { border-color: rgba(255,255,255,.65); color: #fff; background: transparent; }
.btn-ghost:hover { background: #fff; color: var(--primary); }
.btn-outline { border-color: var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-whatsapp { background: #25d366; color: #fff; }
.btn-whatsapp:hover { background: #1da851; color: #fff; }
.btn-sm { padding: .6em 1.1em; font-size: .85rem; }
.btn-lg { min-height: 56px; padding: .9em 1.8em; font-size: 1rem; font-weight: 500; }
.btn-accent { background: var(--accent); color: var(--dark); }
.btn-accent:hover { background: #fff; color: var(--dark); }
.btn-block { width: 100%; }
.link-arrow { font-weight: 600; display: inline-flex; align-items: center; gap: .45em; min-height: 44px; }
.link-arrow i { transition: transform .25s; font-size: .85em; }
.link-arrow:hover i { transform: translateX(4px); }

/* ---------- Top bar + header ---------- */
.topbar { background: var(--dark); color: rgba(255,255,255,.8); font-size: .82rem; }
.topbar-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 26px; padding: 7px 0; }
.topbar a { color: #fff; }
.topbar a:hover { color: var(--accent); }
.topbar-fill { flex: 1; }
/* Sticky, not fixed: no page needs to reserve space for it. No backdrop-filter / transform: they would trap the fixed mobile menu. */
.site-header { position: sticky; top: 0; z-index: 900; height: var(--header-h); background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow .25s; }
.site-header.scrolled { box-shadow: 0 6px 20px rgba(11, 58, 77, .08); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { flex: none; line-height: 0; }
.brand img { height: 58px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 6px; }
.nav-head, .nav-contact, .nav-overlay { display: none; }
.nav-items { display: flex; align-items: center; gap: 2px; }
.nav-link {
    display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 500; font-size: .93rem;
    padding: .55em .8em; border-radius: var(--radius-sm); border: 0; background: none; cursor: pointer; transition: background .2s, color .2s; white-space: nowrap;
}
.nav-link:hover, .nav-group:hover > .nav-link { color: var(--primary); background: var(--bg-alt); }
.nav-link.active, .nav-group.is-active > .nav-link { color: var(--primary); }
.nav-drop-btn i { font-size: .65em; transition: transform .25s; }
.nav-group { position: relative; }
.nav-drop {
    position: absolute; top: calc(100% + 10px); left: 50%; min-width: 220px; padding: 8px; border-radius: var(--radius-sm); background: #fff;
    border: 1px solid var(--line); box-shadow: 0 12px 28px rgba(11, 58, 77, .10); opacity: 0; visibility: hidden; transform: translate(-50%, 6px); transition: opacity .2s, transform .2s, visibility .2s;
}
.nav-drop::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; } /* hover bridge */
.nav-drop a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 8px; color: var(--ink); font-weight: 500; font-size: .92rem; }
.nav-drop a i { width: 18px; text-align: center; color: var(--primary); font-size: .9rem; }
.nav-drop a:hover, .nav-drop a.active { background: var(--bg-alt); color: var(--primary); }
@media (min-width: 1181px) {
    .nav-group:hover .nav-drop, .nav-group:focus-within .nav-drop, .nav-group.open .nav-drop { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
    .nav-group:hover .nav-drop-btn i, .nav-group.open .nav-drop-btn i { transform: rotate(180deg); }
}
.nav-cta {
    display: inline-flex; align-items: center; gap: 8px; background: var(--primary); color: #fff; font-weight: 500; font-size: .93rem;
    margin-left: 10px; padding: .75em 1.4em; border-radius: 999px; white-space: nowrap; transition: background .2s;
}
.nav-cta:hover, .nav-cta.active { background: var(--primary-dark); color: #fff; }
.nav-toggle { display: none; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; position: relative; flex: none; }
.nav-toggle span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--ink); border-radius: 2px; }
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 23px; }
.nav-toggle span:nth-child(3) { top: 30px; }

/* Mobile / tablet / small laptop: slide-in drawer, page behind is locked */
@media (max-width: 1180px) {
    .nav-toggle { display: block; }
    .nav-overlay {
        display: block; position: fixed; inset: 0; z-index: 1; background: rgba(4, 22, 30, .55);
        opacity: 0; transition: opacity .3s; pointer-events: none;
    }
    .nav-overlay[hidden] { display: none; }
    .main-nav {
        position: fixed; top: 0; right: 0; bottom: 0; z-index: 2; width: min(340px, 88vw); height: 100vh; height: 100dvh;
        flex-direction: column; align-items: stretch; gap: 0; background: var(--dark); box-shadow: -20px 0 60px rgba(0,0,0,.35);
        transform: translateX(105%); transition: transform .38s var(--ease); visibility: hidden;
        overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
        padding: 0 18px calc(24px + env(safe-area-inset-bottom));
    }
    .nav-open .main-nav { transform: none; visibility: visible; }
    .nav-open .nav-overlay { opacity: 1; pointer-events: auto; }
    .nav-head {
        display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 2;
        padding: 16px 0 14px; margin-bottom: 8px; background: var(--dark); border-bottom: 1px solid rgba(255,255,255,.08);
    }
    .nav-head img { height: 44px; width: auto; }
    .nav-close { width: 44px; height: 44px; border-radius: var(--radius-sm); border: 0; background: rgba(255,255,255,.1); color: #fff; font-size: 1.15rem; }
    .nav-items { flex-direction: column; align-items: stretch; gap: 2px; }
    .nav-link { width: 100%; justify-content: space-between; color: rgba(255,255,255,.92); font-size: 1rem; padding: .85em 1em; }
    .nav-link:hover, .nav-group:hover > .nav-link { color: #fff; background: rgba(255,255,255,.08); }
    .nav-link.active, .nav-group.is-active > .nav-link { color: #fff; box-shadow: inset 3px 0 0 var(--accent); }
    .nav-drop {
        position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: 0; background: rgba(255,255,255,.05);
        min-width: 0; padding: 0 6px; margin: 2px 0 6px; max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s;
    }
    .nav-drop::before { display: none; }
    .nav-group.open .nav-drop { max-height: 320px; padding: 6px; }
    .nav-group.open .nav-drop-btn i { transform: rotate(180deg); }
    .nav-drop a { color: rgba(255,255,255,.88); }
    .nav-drop a i { color: var(--accent); }
    .nav-drop a:hover, .nav-drop a.active { background: rgba(255,255,255,.1); color: #fff; }
    .nav-cta { margin: 16px 0 0; justify-content: center; padding: .95em; font-size: 1rem; background: var(--accent); color: var(--dark); }
    .nav-contact { display: grid; gap: 8px; margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.08); }
    .nav-contact a { color: rgba(255,255,255,.8); display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 6px 4px; font-size: .92rem; }
    .nav-contact i { width: 20px; color: var(--accent); }
}
/* Locks the page behind the open menu (position is set by JS to keep the scroll offset). */
html.nav-locked, html.nav-locked body { overflow: hidden; overscroll-behavior: none; }
.admin-bar { position: relative; z-index: 950; background: #f59e0b; color: #1f1300; text-align: center; font-size: .85rem; padding: 6px 12px; }
.admin-bar a { color: #1f1300; text-decoration: underline; font-weight: 600; }

/* ---------- Stats ---------- */
.stats { position: relative; z-index: 2; margin-top: -70px; }
.stats-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: 24px;
    box-shadow: var(--shadow); overflow: hidden;
}
.stat { padding: 30px 20px; text-align: center; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 25%; bottom: 25%; width: 1px; background: var(--line); }
.stat strong { display: block; font-size: clamp(1.9rem, 3vw, 2.6rem); font-weight: 800; color: var(--primary); line-height: 1.1; }
.stat > span { font-size: .92rem; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: 100px 0; position: relative; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); letter-spacing: -.01em; }
.section-head p { color: var(--muted); font-size: 1.05rem; margin: 0; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .14em;
    text-transform: uppercase; color: var(--primary); margin-bottom: 12px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow.light { color: var(--accent); }
.center-cta { text-align: center; margin-top: 48px; }

/* ---------- Generic cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }
.card {
    background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
    border: 1px solid var(--line); display: flex; flex-direction: column;
    transition: transform .35s var(--ease), box-shadow .35s;
}
.card:hover { box-shadow: var(--shadow); }
.card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-size: 1.15rem; margin-bottom: 10px; }
.card-body h3 a { color: var(--ink); }
.card-body h3 a:hover { color: var(--primary); }
.card-body p { color: var(--muted); font-size: .94rem; flex: 1; }
.card-media {
    position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; width: 100%; border: 0; padding: 0;
    background: linear-gradient(135deg, var(--primary-soft), color-mix(in srgb, var(--accent) 25%, #fff));
}
.card-media::before { /* brand mark shown when an image is missing */
    content: ""; position: absolute; inset: 0; margin: auto; width: 34%; aspect-ratio: 1; opacity: .18;
    background: url('../brand/icon-192.png') center / contain no-repeat; border-radius: 22%;
}
.card-media img, .card-media video { position: relative; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.meta { font-size: .82rem; color: var(--muted); margin-bottom: 8px; display: inline-flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.chip {
    position: absolute; left: 14px; top: 14px; background: var(--primary); color: #fff; font-size: .72rem; font-weight: 600;
    padding: .35em .9em; border-radius: 999px; letter-spacing: .02em;
}

/* ---------- Treatments ---------- */
.treat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 24px; }
.treat-card {
    position: relative; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 30px 26px 26px; box-shadow: var(--shadow-sm); overflow: hidden; color: inherit;
    transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.treat-card::after {
    content: ""; position: absolute; inset: auto -40px -40px auto; width: 140px; height: 140px; border-radius: 50%;
    background: var(--primary-soft); transition: transform .5s var(--ease); z-index: 0;
}
.treat-card > * { position: relative; z-index: 1; }
.treat-card:hover { box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--primary) 30%, #fff); }
.treat-card:hover::after { transform: scale(2.4); }
.treat-icon {
    width: 62px; height: 62px; display: grid; place-items: center; border-radius: 18px; font-size: 1.55rem; margin-bottom: 20px;
    color: #fff; background: linear-gradient(135deg, var(--primary), color-mix(in srgb, var(--primary) 55%, var(--accent)));
    box-shadow: 0 10px 24px color-mix(in srgb, var(--primary) 35%, transparent);
}
.treat-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.treat-card p { color: var(--muted); font-size: .93rem; margin-bottom: 18px; }
.treat-more { font-weight: 600; font-size: .88rem; color: var(--primary); display: inline-flex; gap: 8px; align-items: center; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 70px; align-items: center; }
.about-media { position: relative; }
.about-img { aspect-ratio: 4 / 4.4; border-radius: 28px; box-shadow: var(--shadow-lg); }
.about-media::before {
    content: ""; position: absolute; inset: 28px -22px -22px 28px; border-radius: 28px; z-index: -1;
    background: repeating-linear-gradient(45deg, color-mix(in srgb, var(--primary) 18%, transparent) 0 2px, transparent 2px 12px);
}
.about-badge {
    position: absolute; right: -18px; bottom: 34px; background: #fff; border-radius: 18px; padding: 16px 20px;
    display: flex; align-items: center; gap: 14px; box-shadow: var(--shadow); font-weight: 600; color: var(--ink); line-height: 1.3;
}
.about-badge i { font-size: 1.8rem; color: var(--primary); }
.about-copy h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.lead { font-size: 1.05rem; color: var(--muted); }
.features { display: grid; gap: 18px; margin: 28px 0 32px; }
.feature { display: flex; gap: 16px; align-items: flex-start; }
.feature-icon {
    flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px;
    background: var(--primary-soft); color: var(--primary); font-size: .95rem;
}
.feature h4 { font-size: 1rem; margin-bottom: 2px; }
.feature p { margin: 0; color: var(--muted); font-size: .93rem; }
.about-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Products ---------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 26px; }
.product-media { aspect-ratio: 1 / 1; background: #fff; }
.product-card .card-body h3 { font-size: 1.05rem; }
.product-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
.price { font-weight: 700; color: var(--primary); }

/* ---------- Certificates ---------- */
.cert-section { background: linear-gradient(160deg, var(--dark), var(--primary)); color: #fff; overflow: hidden; }
.cert-section .section-head h2, .cert-section .section-head p { color: #fff; }
.cert-section .section-head p { opacity: .85; }
.cert-section .eyebrow { color: var(--accent); }
.cert-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 26px; }
.cert-card {
    background: #fff; color: var(--text); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column;
    box-shadow: var(--shadow); transition: transform .35s var(--ease), box-shadow .35s; border: 1px solid var(--line);
}
.cert-card:hover { box-shadow: var(--shadow-lg); }
.cert-media { aspect-ratio: 4 / 3; cursor: zoom-in; }
.cert-media img { object-fit: contain; background: #fff; padding: 10px; }
.cert-seal {
    position: absolute; right: 14px; bottom: -22px; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
    background: linear-gradient(135deg, #f7c948, #e0a100); color: #fff; font-size: 1.25rem; box-shadow: 0 6px 16px rgba(224,161,0,.45);
    border: 3px solid #fff; z-index: 2;
}
.cert-media { overflow: visible; }
.cert-media img { border-radius: var(--radius) var(--radius) 0 0; }
.cert-body { padding: 26px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.cert-body h3 { font-size: 1.08rem; margin-bottom: 6px; }
.cert-issuer { font-size: .88rem; color: var(--muted); margin-bottom: 12px; }
.cert-issuer i { color: var(--primary); margin-right: 4px; }
.cert-status { align-self: flex-start; font-size: .74rem; font-weight: 700; padding: .3em .8em; border-radius: 999px; margin-bottom: 10px; text-transform: uppercase; letter-spacing: .06em; }
.cert-status.is-valid { background: #e7f8ef; color: #128a4a; }
.cert-status.is-expired { background: #fdecec; color: #c0392b; }
.cert-meta { display: grid; gap: 4px; margin: 0 0 14px; font-size: .84rem; flex: 1; }
.cert-meta div { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px dashed var(--line); padding: 4px 0; }
.cert-meta dt { color: var(--muted); }
.cert-meta dd { margin: 0; font-weight: 600; color: var(--ink); text-align: right; }
.cert-intro {
    display: flex; gap: 22px; align-items: center; background: var(--primary-soft); border: 1px solid color-mix(in srgb, var(--primary) 20%, #fff);
    border-radius: var(--radius); padding: 26px 30px; margin-bottom: 44px;
}
.cert-intro h2 { font-size: 1.3rem; margin-bottom: 4px; }
.cert-intro p { margin: 0; color: var(--muted); }
.cert-intro-icon { flex: none; width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: var(--primary); color: #fff; font-size: 1.7rem; }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 28px; }
.team-card { text-align: center; background: #fff; border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.team-photo { width: 140px; height: 140px; aspect-ratio: 1; border-radius: 50%; margin: 0 auto 18px; border: 5px solid var(--primary-soft); }
.team-card h3 { font-size: 1.1rem; margin-bottom: 2px; }
.team-card > span { color: var(--primary); font-weight: 600; font-size: .88rem; }
.team-card p { color: var(--muted); font-size: .9rem; margin: 12px 0 0; }

/* ---------- Booking ---------- */
.booking {
    position: relative; padding: 110px 0; color: #fff; overflow: hidden;
    background: radial-gradient(900px 500px at 0% 0%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 60%),
                linear-gradient(135deg, var(--dark), var(--primary));
}
.booking-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.booking-copy h2 { color: #fff; font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.booking-copy > p { opacity: .9; font-size: 1.05rem; }
.booking-points { list-style: none; padding: 0; margin: 26px 0 32px; display: grid; gap: 14px; }
.booking-points li { display: flex; align-items: center; gap: 14px; }
.booking-points i { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.12); color: var(--accent); }
.booking-call { display: inline-flex; align-items: center; gap: 16px; color: #fff; padding: 12px 24px 12px 12px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); }
.booking-call:hover { color: #fff; background: rgba(255,255,255,.18); }
.booking-call > span { width: 50px; height: 50px; border-radius: 50%; background: #fff; color: var(--primary); display: grid; place-items: center; font-size: 1.2rem; }
.booking-call small { display: block; opacity: .8; font-size: .78rem; }
.booking-call strong { font-size: 1.15rem; }

.booking-form, .contact-form {
    background: #fff; color: var(--text); padding: 36px; border-radius: 24px; box-shadow: var(--shadow-lg);
}
.booking-form h3, .contact-form h3 { font-size: 1.35rem; margin-bottom: 20px; text-align: center; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.booking-form label, .contact-form label { display: block; font-size: .85rem; font-weight: 600; color: var(--ink); margin-bottom: 14px; }
.booking-form input, .booking-form select, .booking-form textarea,
.contact-form input, .contact-form textarea {
    display: block; width: 100%; margin-top: 6px; padding: .8em 1em; border: 1.5px solid var(--line); border-radius: 12px;
    font: inherit; font-size: .95rem; font-weight: 400; color: var(--ink); background: var(--bg-alt); transition: border-color .2s, box-shadow .2s, background .2s;
}
.booking-form input:focus, .booking-form select:focus, .booking-form textarea:focus,
.contact-form input:focus, .contact-form textarea:focus {
    outline: none; border-color: var(--primary); background: #fff; box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 15%, transparent);
}
textarea { resize: vertical; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.form-note { margin: 12px 0 0; font-size: .9rem; text-align: center; min-height: 1.4em; }
.form-note.error { color: #c0392b; }
.form-note.success { color: #128a4a; }
button[disabled] { opacity: .7; pointer-events: none; }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 26px; }
.testi { margin: 0; background: #fff; border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); position: relative; }
.testi::before { content: "\201C"; position: absolute; right: 24px; top: 4px; font-size: 5rem; line-height: 1; color: var(--primary-soft); font-family: Georgia, serif; }
.stars { color: #f5b301; font-size: .85rem; margin-bottom: 12px; display: flex; gap: 3px; }
.testi blockquote { margin: 0 0 22px; font-style: italic; color: var(--text); }
.testi figcaption { display: flex; align-items: center; gap: 12px; }
.avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font-weight: 700; overflow: hidden; flex: none; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.testi figcaption strong { display: block; color: var(--ink); }
.testi figcaption small { color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 14px; }
.faq { background: #fff; border-radius: 14px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 600; color: var(--ink); display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { color: var(--primary); transition: transform .3s; }
.faq[open] summary i { transform: rotate(45deg); }
.faq-a { padding: 0 22px 20px; color: var(--muted); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; }
.contact-cards { display: grid; gap: 16px; }
.contact-card { display: flex; gap: 18px; align-items: center; background: var(--bg-alt); border-radius: var(--radius); padding: 22px; border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.contact-card:hover { transform: translateX(6px); box-shadow: var(--shadow-sm); background: #fff; }
.contact-card > span { width: 54px; height: 54px; flex: none; border-radius: 16px; display: grid; place-items: center; background: var(--primary); color: #fff; font-size: 1.2rem; }
.contact-card h4 { margin: 0 0 2px; font-size: 1rem; }
.contact-card p, .contact-card a { margin: 0; color: var(--muted); }
.contact-card a:hover { color: var(--primary); }
.contact-form { box-shadow: var(--shadow); border: 1px solid var(--line); }
.map { margin-top: 48px; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); line-height: 0; }
.map iframe { width: 100%; height: 420px; border: 0; }

/* ---------- Inner pages ---------- */
.page-hero {
    position: relative; isolation: isolate; overflow: hidden; color: #fff; text-align: center;
    padding: 72px 0 90px;
    background: radial-gradient(800px 400px at 90% 0%, color-mix(in srgb, var(--accent) 35%, transparent), transparent 60%),
                linear-gradient(135deg, var(--primary), var(--dark));
}
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 3rem); margin-bottom: 10px; }
.page-hero p { max-width: 680px; margin: 0 auto; opacity: .9; }
.crumbs { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; font-size: .85rem; margin-bottom: 16px; opacity: .9; }
.crumbs a { color: #fff; display: inline-block; padding: 10px 2px; }
.crumbs a:hover { color: var(--accent); }
.crumbs i { font-size: .6rem; opacity: .7; }
.post-hero h1 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
.post-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; font-size: .9rem; opacity: .92; margin-top: 16px; }
.post-meta i { color: var(--accent); margin-right: 4px; }
.post-section { padding-top: 0; }
.post-cover { margin-top: -50px; border-radius: 24px; box-shadow: var(--shadow-lg); aspect-ratio: 16 / 8; position: relative; z-index: 2; }
.prose { font-size: 1.06rem; line-height: 1.85; margin-top: 44px; color: var(--text); }
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; }
.prose h3 { font-size: 1.25rem; margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--primary); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 34px 0 20px; }
.tags a { display: inline-flex; align-items: center; min-height: 44px; background: var(--primary-soft); padding: 0 1em; border-radius: 999px; font-size: .85rem; font-weight: 500; }
.share { display: flex; align-items: center; gap: 10px; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.share span { font-weight: 600; color: var(--ink); margin-right: 6px; }
.share a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-alt); color: var(--primary); transition: background .2s, color .2s, transform .2s; }
.share a:hover { background: var(--primary); color: #fff; transform: translateY(-3px); }
.post-cta {
    margin-top: 44px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
    padding: 30px 34px; border-radius: 24px; color: #fff; background: linear-gradient(135deg, var(--primary), var(--dark));
}
.post-cta h3 { color: #fff; margin-bottom: 4px; }
.post-cta p { margin: 0; opacity: .88; }

.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 40px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip-link { padding: .5em 1.1em; border-radius: 999px; background: var(--bg-alt); color: var(--ink); font-weight: 500; font-size: .9rem; border: 1px solid var(--line); }
.chip-link small { opacity: .6; margin-left: 2px; }
.chip-link:hover, .chip-link.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.search { display: flex; background: var(--bg-alt); border: 1px solid var(--line); border-radius: 999px; overflow: hidden; min-width: min(320px, 100%); }
.search input { flex: 1; border: 0; background: transparent; padding: .75em 1.2em; font: inherit; outline: none; min-width: 0; }
.search button { border: 0; background: var(--primary); color: #fff; padding: 0 20px; }
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 50px; }
.pager a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--bg-alt); color: var(--ink); font-weight: 600; border: 1px solid var(--line); }
.pager a.active, .pager a:hover { background: var(--primary); color: #fff; }
.empty { text-align: center; padding: 70px 20px; color: var(--muted); }
.empty i { font-size: 3rem; color: color-mix(in srgb, var(--primary) 35%, #fff); margin-bottom: 14px; }

/* ---------- Video card ---------- */
.video-media { cursor: pointer; }
.play {
    position: absolute; inset: 0; margin: auto; width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center;
    background: rgba(255,255,255,.95); color: var(--primary); font-size: 1.3rem; box-shadow: 0 10px 30px rgba(0,0,0,.25);
    transition: transform .3s var(--ease), background .3s, color .3s;
}
.play i { margin-left: 4px; }
.play::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid rgba(255,255,255,.6); animation: pulse 2s infinite; }
.video-card:hover .play { transform: scale(1.1); background: var(--primary); color: #fff; }
@keyframes pulse { from { transform: scale(.9); opacity: 1; } to { transform: scale(1.4); opacity: 0; } }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--dark); color: rgba(255,255,255,.75); padding: 90px 0 0; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 44px; }
.footer-logo { height: 64px; width: auto; margin-bottom: 18px; }
.footer-col h4 { color: #fff; font-size: 1.05rem; margin-bottom: 20px; position: relative; padding-bottom: 12px; }
.footer-col h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 36px; height: 3px; border-radius: 3px; background: var(--accent); }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: .93rem; }
.footer-col a { color: rgba(255,255,255,.75); }
.footer-col a:hover { color: var(--accent); }
.footer-about p { font-size: .93rem; }
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.socials a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; transition: background .2s, transform .2s; }
.socials a:hover { background: var(--primary); color: #fff; transform: translateY(-3px); }
.hours li { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px dashed rgba(255,255,255,.12); padding-bottom: 8px; }
.hours strong { color: #fff; font-weight: 500; text-align: right; }
.footer-contact { margin-top: 18px !important; }
.footer-contact i { color: var(--accent); width: 18px; margin-right: 6px; }
.footer-bottom { margin-top: 60px; padding: 24px 0; border-top: 1px solid rgba(255,255,255,.1); text-align: center; font-size: .86rem; }
.footer-bottom p { margin: 0; }

/* ---------- Floating buttons ---------- */
.wa-float {
    position: fixed; right: 22px; bottom: 22px; z-index: 800; width: 60px; height: 60px; border-radius: 50%;
    background: #25d366; color: #fff; display: grid; place-items: center; font-size: 1.9rem; box-shadow: 0 10px 30px rgba(37,211,102,.45);
    transition: transform .3s var(--ease);
}
.wa-float:hover { color: #fff; transform: scale(1.08) rotate(-6deg); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25d366; z-index: -1; animation: pulse 2.2s infinite; }
.to-top {
    position: fixed; right: 30px; bottom: 96px; z-index: 800; width: 44px; height: 44px; border-radius: 14px; border: 0;
    background: var(--primary); color: #fff; box-shadow: var(--shadow); opacity: 0; transform: translateY(16px); pointer-events: none;
    transition: opacity .3s, transform .3s;
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }

/* ---------- Modal / lightbox ---------- */
.modal {
    position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 20px;
    background: rgba(6, 28, 38, .78); backdrop-filter: blur(6px); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.modal.open { opacity: 1; visibility: visible; }
.modal-box {
    position: relative; width: min(680px, 100%); max-height: calc(100vh - 40px); overflow: auto; background: #fff; border-radius: 24px;
    padding: 38px; box-shadow: var(--shadow-lg); transform: translateY(24px) scale(.98); transition: transform .35s var(--ease);
}
.modal.open .modal-box { transform: none; }
.modal-box.is-media { width: min(1000px, 100%); padding: 0; background: #000; overflow: hidden; }
.modal-box.is-image { width: auto; max-width: min(1100px, 100%); padding: 0; background: transparent; box-shadow: none; overflow: visible; }
.modal-box.is-image img { max-height: calc(100vh - 100px); border-radius: 14px; margin: auto; }
.modal-box.is-image .lb-caption { color: #fff; text-align: center; margin-top: 12px; }
.modal-close {
    position: absolute; right: 14px; top: 14px; z-index: 5; width: 40px; height: 40px; border-radius: 50%; border: 0;
    background: var(--bg-alt); color: var(--ink); font-size: 1.1rem; transition: background .2s, transform .2s;
}
.modal-close:hover { background: var(--primary); color: #fff; transform: rotate(90deg); }
.is-media .modal-close, .is-image .modal-close { background: rgba(255,255,255,.9); }
.is-image .modal-close { top: -18px; right: -18px; }
.video-frame { position: relative; aspect-ratio: 16 / 9; }
.video-frame iframe, .video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.video-title { color: #fff; padding: 14px 20px; margin: 0; font-size: 1rem; }
.tm-head { display: flex; gap: 16px; align-items: center; margin-bottom: 18px; padding-right: 40px; }
.tm-head h2 { margin: 0; font-size: 1.5rem; }
.tm-head .treat-icon { margin: 0; flex: none; }
.tm-desc { color: var(--muted); }
.tm-list { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; }
.tm-list li { display: flex; gap: 12px; align-items: flex-start; }
.tm-list i { color: #1fa463; margin-top: 6px; }
.success-box { text-align: center; }
.success-icon { font-size: 4rem; color: #1fa463; display: block; margin-bottom: 10px; }
.success-box p { color: var(--muted); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    *, *::before, *::after { animation: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
    .about-grid, .booking-grid, .contact-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(3)::before { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .about-media { max-width: 560px; }
}
@media (max-width: 640px) {
    :root { --header-h: 70px; }
    .brand img { height: 48px; }
    .section { padding: 72px 0; }
    .section-head { margin-bottom: 40px; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .booking-form, .contact-form, .modal-box { padding: 26px 20px; }
    .footer-grid { grid-template-columns: 1fr; }
    .about-badge { right: 10px; }
    .about-media::before { inset: 16px -12px -12px 16px; } /* stays inside the 20px page margin */
    .card-grid, .testi-grid { grid-template-columns: 1fr; }
    .cert-intro { flex-direction: column; text-align: center; }
    .map iframe { height: 320px; }
    .to-top { right: 30px; }
    .is-image .modal-close { right: 0; top: -50px; }
}

/* =====================================================================
   v3 — page components
   ===================================================================== */
.chips.center { justify-content: center; margin-bottom: 40px; }
.chip-link i { margin-right: 4px; opacity: .8; }
.chip-gold { left: auto; right: 14px; background: linear-gradient(135deg, #f7c948, #e0a100); }
.info-strip { display: flex; align-items: center; gap: 14px; background: #e9fbf0; border: 1px solid #c3efd3; color: #145c33; border-radius: 14px; padding: 14px 18px; margin-bottom: 30px; }
.info-strip i { font-size: 1.6rem; color: #25d366; }
.info-strip p { margin: 0; }
.features.compact { grid-template-columns: 1fr 1fr; gap: 14px; margin: 22px 0 28px; }
.features.compact h4 { margin: 8px 0 0; font-size: .95rem; }
.two-col { grid-template-columns: 1fr 1fr; column-gap: 16px; }
a.about-badge { color: var(--ink); transition: transform .3s var(--ease); }
a.about-badge:hover { transform: translateY(-4px); color: var(--primary); }
.stats-flat { margin-top: 0; padding: 0 0 20px; }
.treat-icon.sm { width: 40px; height: 40px; font-size: 1rem; border-radius: 12px; margin: 0; box-shadow: none; }
.detail-title { display: inline-flex; align-items: center; gap: 14px; }
.detail-card .faq-a p { color: var(--text); }
.detail-card .tm-list { margin: 10px 0 20px; }
.detail-card[open] { border-color: color-mix(in srgb, var(--primary) 35%, #fff); }

/* Awards */
.cert-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.cert-tags .cert-status { margin: 0; }
.type-chip { display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 700; padding: .3em .8em; border-radius: 999px; text-transform: uppercase; letter-spacing: .05em; }
.type-blue { background: #e8f1ff; color: #2f6fe0; }
.type-gold { background: #fff5d6; color: #a87700; }
.type-teal { background: var(--primary-soft); color: var(--primary); }
.type-purple { background: #f1e9ff; color: #7b3fe4; }
.type-green { background: #e7f8ef; color: #128a4a; }
.cert-desc { font-size: .88rem; color: var(--muted); margin-bottom: 10px; }
.seal-blue { background: linear-gradient(135deg, #5b9bff, #2f6fe0); box-shadow: 0 6px 16px rgba(47,111,224,.4); }
.seal-teal { background: linear-gradient(135deg, var(--accent), var(--primary)); box-shadow: 0 6px 16px rgba(21,115,151,.4); }
.seal-purple { background: linear-gradient(135deg, #a77bff, #7b3fe4); box-shadow: 0 6px 16px rgba(123,63,228,.4); }
.seal-green { background: linear-gradient(135deg, #4fd18b, #1fa463); box-shadow: 0 6px 16px rgba(31,164,99,.4); }
.cert-media .chip-gold { top: 12px; }
.award-summary { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-bottom: 30px; }
.award-stat {
    display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 130px; padding: 18px 20px; border-radius: 18px;
    border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s;
}
.award-stat:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.award-stat i { font-size: 1.5rem; margin-bottom: 4px; }
.award-stat strong { font-size: 1.6rem; line-height: 1.1; color: var(--ink); }
.award-stat span { font-size: .82rem; color: var(--muted); }
.cert-page .cert-intro { margin: 50px 0 0; }

/* CTA band */
.cta-band { padding: 0 0 100px; }
.section + .cta-band, .section-alt + .cta-band { padding-top: 0; }
.cta-inner {
    display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; padding: 38px 42px; border-radius: 28px; color: #fff;
    background: radial-gradient(600px 300px at 100% 0%, color-mix(in srgb, var(--accent) 40%, transparent), transparent 60%), linear-gradient(135deg, var(--primary), var(--dark));
    box-shadow: var(--shadow-lg);
}
.cta-icon { width: 72px; height: 72px; border-radius: 22px; display: grid; place-items: center; font-size: 1.9rem; background: rgba(255,255,255,.14); color: var(--accent); }
.cta-copy h2 { color: #fff; font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: 6px; }
.cta-copy p { margin: 0; opacity: .88; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Booking page (light background version) */
.booking-page { background: var(--bg-alt); }
.booking-copy.light h2 { color: var(--ink); }
.booking-copy.light > p { color: var(--muted); opacity: 1; }
.booking-copy.light .booking-points i { background: var(--primary-soft); color: var(--primary); }
.booking-copy.light .booking-call { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.booking-copy.light .booking-call > span { background: var(--primary); color: #fff; }
.booking-page .booking-form { box-shadow: var(--shadow); border: 1px solid var(--line); }
.hours-card { list-style: none; padding: 18px 20px; margin: 26px 0 0; background: #fff; border-radius: 16px; border: 1px solid var(--line); display: grid; gap: 8px; font-size: .92rem; }
.hours-card li { display: flex; justify-content: space-between; gap: 12px; }
.hours-card strong { color: var(--ink); font-weight: 600; }
.booking-form.empty { text-align: center; }
.booking-form.empty i { font-size: 2.5rem; color: var(--primary); }

/* Contact page */
a.contact-card { color: inherit; }
.contact-card > span.wa { background: #25d366; }
.hours-box p { font-size: .9rem; }

@media (max-width: 992px) {
    .cta-inner { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 34px 24px; }
    .cta-actions { justify-content: center; }
}
@media (max-width: 640px) {
    .features.compact { grid-template-columns: 1fr; }
    .cta-band { padding-bottom: 72px; }
    .cta-actions .btn { flex: 1 1 100%; }
    .award-stat { min-width: calc(50% - 8px); }
    .nav-drop a { font-size: .95rem; }
}

/* =====================================================================
   Home page (2026 redesign) — hair & skin paths, results dialog, booking
   One accent (primary), two radii (--radius, --radius-sm), hairlines over shadows.
   ===================================================================== */
.h-section { padding: 104px 0; }
.h-section.is-alt { background: var(--bg-alt); }
.h-section.is-flush-top { padding-top: 0; }
.h-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 40px; margin-bottom: 36px; }
.h-head > div { max-width: 640px; }
.h-head.is-tight { margin-bottom: 22px; align-items: baseline; }
.h-head h2, .h-why h2, .h-book h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 600; letter-spacing: -.015em; margin-bottom: 10px; }
.h-head p { margin: 0; }
.h-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.h-link:hover { text-decoration-thickness: 2px; }

/* Hero */
.h-hero { background: var(--bg-alt); }
.h-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: center; padding: 80px 0 88px; }
.h-eyebrow { color: var(--primary); font-weight: 500; font-size: .95rem; margin-bottom: 16px; }
.h-hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); font-weight: 600; line-height: 1.1; letter-spacing: -.02em; margin-bottom: 22px; }
.h-lead { font-size: 1.125rem; max-width: 520px; margin-bottom: 34px; }
.h-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.h-note { margin: 24px 0 0; font-size: .9rem; color: var(--muted-text); }
.h-hero-media { position: relative; }
.h-slider { position: relative; aspect-ratio: 5 / 4; border-radius: var(--radius); overflow: hidden; background: var(--line); }
.h-slider > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s ease; }
.h-slider > img.is-active { opacity: 1; }
.h-slider > img.is-whole { object-fit: contain; background: #fff; }
.h-slider-dots { position: absolute; right: 10px; top: 10px; display: flex; padding: 0 4px; border-radius: 999px; background: rgba(11, 58, 77, .35); } /* top: the ISO badge covers the bottom on phones */
.h-slider-dots button { width: 28px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.h-slider-dots button::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .6); box-shadow: 0 0 0 1px rgba(11, 58, 77, .25); transition: background .2s, transform .2s; }
.h-slider-dots button[aria-current="true"]::before { background: #fff; transform: scale(1.3); }
@media (prefers-reduced-motion: reduce) { .h-slider > img { transition: none; } }
.h-iso {
    position: absolute; left: 20px; bottom: 20px; display: flex; align-items: center; gap: 12px; padding: 12px 16px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--text); font-size: .82rem; line-height: 1.4;
}
.h-iso img { width: 40px; height: 54px; object-fit: cover; border: 1px solid var(--line); }
.h-iso strong { display: block; color: var(--ink); font-size: .9rem; font-weight: 600; }
.h-iso:hover { color: var(--text); border-color: var(--primary); }

/* Awards row */
.h-awards { padding-top: 56px; }
.h-awards-line { margin: 0; color: var(--ink); font-size: 1.1rem; font-weight: 600; }
.h-awards-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.h-awards-row figure { margin: 0; }
.h-award-img { display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg-alt); overflow: hidden; cursor: zoom-in; }
.h-award-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.h-award-img:hover { border-color: var(--primary); }
.h-awards-row figcaption { padding-top: 10px; font-size: .82rem; line-height: 1.45; }
.h-awards-row figcaption strong { display: block; color: var(--ink); font-size: .88rem; font-weight: 600; }

/* Hair & skin paths */
.h-paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.h-path { border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.h-path.is-hair { background: var(--dark); color: #c9dde4; }
.h-path.is-skin { background: color-mix(in srgb, var(--accent) 16%, #fff); }
.h-path-cover { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.h-path-faces { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.h-path-faces img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: top; }
.h-path-body { padding: 32px 32px 36px; display: flex; flex-direction: column; gap: 20px; flex: 1; }
.h-path h3 { font-size: 2rem; font-weight: 600; margin: 0 0 4px; }
.h-path.is-hair h3 { color: #fff; }
.h-path-body > p { margin: 0; }
.h-path-list { list-style: none; margin: 0; padding: 18px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px; font-size: .95rem; border-top: 1px solid color-mix(in srgb, var(--primary) 25%, transparent); }
.h-path.is-hair .h-path-list { color: #fff; border-top-color: rgba(255,255,255,.16); }
.h-path.is-skin .h-path-list { color: var(--ink); }
.h-path-actions { margin-top: auto; padding-top: 8px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.h-path.is-hair .h-link { color: #fff; }

/* Why choose us */
.h-why { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 32px 64px; padding-top: 56px; }
.h-why-list { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.h-why-list div { border-top: 1px solid var(--line); padding: 18px 0 22px; }
.h-why-list dt { color: var(--ink); font-weight: 600; font-size: 1.05rem; }
.h-why-list dd { margin: 4px 0 0; font-size: .95rem; }

/* Before & after */
.h-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.h-chip { min-height: 40px; padding: 0 18px; border-radius: 999px; border: 1.5px solid #c5d6de; background: #fff; color: var(--ink); font-size: .9rem; font-weight: 500; white-space: nowrap; }
.h-chip:hover { border-color: var(--primary); }
.h-chip[aria-pressed="true"] { background: var(--primary); border-color: var(--primary); color: #fff; }
/* Services page: jump links per group, then one section per group. */
.h-filters.svc-nav { margin-bottom: 40px; } /* two classes: outweighs the phone rule that resets .h-filters margins */
.svc-nav .h-chip { display: inline-flex; align-items: center; min-height: 44px; }
.svc-group + .svc-group { margin-top: 56px; }
.svc-group h2 { font-size: 1.5rem; margin-bottom: 20px; }
.svc-group .card-grid { align-items: start; }
.svc-group .card-grid + .svc-compact-grid { margin-top: 20px; }
.svc-compact-grid { gap: 16px; }
.service-card.is-compact .card-body { padding: 20px 22px; }
.service-card.is-compact h3 { margin-bottom: 4px; }
/* Home: the service groups beyond hair and skin. */
.h-more { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; margin-top: 24px; color: var(--muted-text); }
.h-more a:not(.h-link) { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; color: var(--ink); }
.h-more a:not(.h-link):hover { color: var(--primary); }
.h-results { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr)); gap: 28px 24px; }
/* align-self: buttons centre their content when a grid row stretches them, which would push photos out of line. */
.h-result { display: block; align-self: start; padding: 0; border: 0; background: none; text-align: left; color: inherit; cursor: zoom-in; }
.h-result[hidden] { display: none; }
.h-result-pair { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 3px; border-radius: var(--radius); overflow: hidden; background: #fff; }
.h-result-pair img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.h-tag { position: absolute; bottom: 0; width: calc(50% - 1.5px); padding: 7px 12px; color: #fff; font-size: .82rem; font-weight: 500; }
.h-tag.is-before { left: 0; background: var(--dark); }
.h-tag.is-after { right: 0; background: var(--primary); }
.h-zoom { position: absolute; right: 12px; top: 12px; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; font-size: .9rem; }
.h-result:hover .h-zoom { background: var(--primary); color: #fff; }
.h-result-title { display: block; padding-top: 14px; color: var(--ink); font-size: 1.05rem; font-weight: 600; line-height: 1.4; }
.h-result-meta { display: block; font-size: .9rem; color: var(--muted-text); }
.h-result-text { display: block; margin-top: 6px; font-size: .92rem; }

/* Before & after dialog (inside the shared modal) */
.modal-box.is-ba { width: min(1080px, 100%); padding: 24px; }
.ba-dialog-head { padding-right: 52px; margin-bottom: 16px; }
.ba-dialog-head h2 { font-size: 1.25rem; font-weight: 600; margin: 0; }
.ba-dialog-head p { margin: 0; font-size: .9rem; color: var(--muted-text); }
.ba-dialog-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; border-radius: var(--radius-sm); overflow: hidden; background: var(--line); }
.ba-dialog-pair figure { margin: 0; position: relative; }
.ba-dialog-pair img { width: 100%; height: min(70vh, 640px); object-fit: cover; }
.ba-dialog-pair figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 8px 14px; color: #fff; font-size: .9rem; font-weight: 500; }
.ba-dialog-pair figure:first-child figcaption { background: var(--dark); }
.ba-dialog-pair figure:last-child figcaption { background: var(--primary); }
.ba-dialog-text { margin: 14px 0 0; font-size: .95rem; }
.ba-dialog-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 16px; }
.ba-dialog-foot > div { display: flex; gap: 8px; }

/* Team */
.h-team { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 32px 20px; }
.h-team figure { margin: 0; }
.h-team-photo { aspect-ratio: 1; border-radius: var(--radius-sm); overflow: hidden; background: var(--bg-alt); }
.h-team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.h-team figcaption { padding-top: 14px; font-size: .9rem; line-height: 1.5; }
.h-team figcaption strong { display: block; color: var(--ink); font-size: 1rem; font-weight: 600; }
.h-team-area { display: block; color: var(--primary); font-size: .82rem; font-weight: 500; }

/* Patient story */
.h-story { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px 48px; align-items: center; }
.h-story-media { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; background: var(--dark); }
.h-story-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.h-play { position: absolute; left: 20px; bottom: 20px; width: 64px; height: 64px; border-radius: 50%; background: #fff; color: var(--primary); display: grid; place-items: center; font-size: 1.2rem; }
.h-play i { margin-left: 3px; }
.h-story-media:hover .h-play { background: var(--primary); color: #fff; }
.h-story-copy h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 600; margin-bottom: 14px; }
.h-story-more { border-top: 1px solid var(--line); padding: 18px 0 6px; margin: 24px 0 8px; }
.h-story-more a strong { color: var(--ink); font-weight: 500; }
.h-story-more p { margin: 4px 0 0; font-size: .92rem; }

/* How it works */
.h-how { border-radius: var(--radius); background: var(--dark); color: #c9dde4; padding: 56px 48px; }
.h-how .h-head { margin-bottom: 40px; }
.h-how h2 { color: #fff; }
.h-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 28px; }
.h-steps li { border-top: 1px solid rgba(255,255,255,.16); padding-top: 18px; }
.h-steps span { color: var(--accent); font-size: .88rem; font-weight: 500; }
.h-steps h3 { color: #fff; font-size: 1.1rem; font-weight: 600; margin: 2px 0 6px; }
.h-steps p { margin: 0; font-size: .95rem; }

/* Products */
.h-products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.h-product-img { aspect-ratio: 1; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px; background: #fff; }
.h-product-img img { width: 100%; height: 100%; object-fit: contain; }
.h-products h3 { font-size: 1rem; font-weight: 600; margin: 14px 0 4px; }
.h-products p { font-size: .9rem; line-height: 1.55; margin-bottom: 10px; }
.h-products .h-link { font-size: .9rem; }

/* FAQ */
.h-faq.is-split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 56px; }
.h-faq h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: 8px; }
.h-faq details { border-bottom: 1px solid var(--line); }
.h-faq details:first-of-type { border-top: 1px solid var(--line); }
.h-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 16px 4px; color: var(--ink); font-weight: 500; }
.h-faq summary::-webkit-details-marker { display: none; }
.h-faq summary i { color: var(--primary); margin-top: 6px; transition: transform .2s; }
.h-faq details[open] summary i { transform: rotate(45deg); }
.h-faq details p { padding: 0 4px 18px; margin: 0; }

/* Booking */
.h-book { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.h-checks { list-style: none; padding: 0; margin: 20px 0 32px; display: grid; gap: 8px; color: var(--ink); font-weight: 500; }
.h-checks li { display: flex; gap: 10px; align-items: baseline; }
.h-checks li::before { content: "\f00c"; font: var(--fa-font-solid); color: var(--primary); font-size: .85rem; }
.h-clinic { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); margin-bottom: 28px; }
.h-cert {
    display: flex; gap: 22px; align-items: center; width: 100%; margin-bottom: 28px; padding: 18px; text-align: left; cursor: zoom-in;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); font-size: .92rem; line-height: 1.55;
}
.h-cert:hover { border-color: var(--primary); }
.h-cert img { flex: none; width: 132px; aspect-ratio: 1079 / 1527; object-fit: cover; border: 1px solid var(--line); border-radius: 4px; }
.h-cert span { display: grid; gap: 2px; }
.h-cert strong { color: var(--ink); font-size: 1.15rem; font-weight: 600; }
.h-cert small { font-size: .85rem; color: var(--muted-text); }
.h-cert em { margin-top: 8px; font-style: normal; font-weight: 500; color: var(--primary); text-decoration: underline; text-underline-offset: 4px; }
.h-contact { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; font-size: .92rem; }
.h-contact dt { color: var(--ink); font-weight: 600; }
.h-contact dd { margin: 0; }
.h-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: grid; gap: 18px; }
.h-form h3 { font-size: 1.35rem; font-weight: 600; margin: 0; }
.h-form-sub { margin: -14px 0 0; font-size: .92rem; }
.h-form label { display: grid; gap: 6px; color: var(--ink); font-size: .9rem; font-weight: 500; }
.h-form label[hidden] { display: none; }
.h-form small { font-weight: 400; font-size: inherit; color: var(--muted-text); }
.h-form input:not([type=radio]), .h-form select {
    width: 100%; min-height: 50px; padding: 0 14px; border: 1px solid #c5d6de; border-radius: var(--radius-sm);
    font: inherit; font-weight: 400; color: var(--ink); background: #fff;
}
.h-form input:focus, .h-form select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 18%, transparent); }
.h-seg { border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.h-seg legend { color: var(--ink); font-size: .9rem; font-weight: 500; margin-bottom: 6px; padding: 0; }
.h-seg label { display: block; position: relative; }
.h-seg input { position: absolute; opacity: 0; }
.h-seg span { display: grid; place-items: center; min-height: 48px; border: 1.5px solid #c5d6de; border-radius: var(--radius-sm); cursor: pointer; font-weight: 500; }
.h-seg input:checked + span { background: var(--primary); border-color: var(--primary); color: #fff; }
.h-seg input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.h-form .form-note { margin: -6px 0 0; min-height: 0; }
.h-form-alt { margin: 0; font-size: .85rem; color: var(--muted-text); }

/* Phone action bar (all pages) */
.action-bar { display: none; }

@media (max-width: 1100px) {
    .h-awards-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .h-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
    .h-hero-grid, .h-paths, .h-why, .h-story, .h-book, .h-faq.is-split { grid-template-columns: 1fr; }
    .h-hero-grid { gap: 36px; padding: 48px 0 64px; }
}
@media (max-width: 767px) {
    .topbar-wide { display: none; }
    .topbar-inner { justify-content: space-between; gap: 2px 8px; font-size: .72rem; }
    .h-section { padding: 64px 0; }
    .h-hero-grid { padding: 32px 0 56px; gap: 32px; }
    .h-hide-sm { display: none; }
    .h-actions .btn { flex: 1 1 100%; }
    .h-awards { padding-top: 40px; }
    .h-awards-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .h-path-body { padding: 24px 20px 28px; }
    .h-path-list { font-size: .88rem; }
    .h-why-list, .h-contact { grid-template-columns: 1fr; }
    .h-filters { flex-wrap: nowrap; overflow-x: auto; margin: 0 -20px; padding: 0 20px 4px; scrollbar-width: none; }
    .h-team { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
    .h-how { padding: 32px 20px; }
    .h-products { gap: 24px 12px; }
    .h-form { padding: 24px 20px; }
    .modal { padding: 10px; }
    .modal-box.is-ba { padding: 14px 12px; }
    .ba-dialog-head h2 { font-size: 1.05rem; }
    .ba-dialog-pair img { height: auto; aspect-ratio: 3 / 4; }
    /* Call + WhatsApp live in the bottom bar on phones, so the floating bubble would be a duplicate. */
    .wa-float { display: none; }
    /* Footer on phones: what the Call/WhatsApp bar, header menu and logo already offer is hidden. */
    .to-top, .footer-blurb, .footer-links, .footer-treatments, .site-footer .footer-dup { display: none !important; }
    .site-footer { padding-top: 48px; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .after-contact .footer-hours { display: none; } /* home: the booking section above already shows hours and contact */
    .footer-logo { height: 52px; margin-bottom: 16px; }
    .socials { margin-top: 0; }
    .socials a { width: 44px; height: 44px; }
    .footer-col h4 { margin-bottom: 10px; padding-bottom: 0; }
    .footer-col h4::after { display: none; }
    .hours li { padding: 6px 0; }
    .footer-contact { margin-top: 12px !important; }
    .footer-bottom { margin-top: 32px; padding: 18px 0; }
    body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
    .action-bar {
        display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 850;
        padding: 10px 12px calc(12px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line);
    }
    .action-bar .btn { min-height: 50px; }
}
