/* =========================================================================
   Dr. Siddhi Agarwal ENT — design system
   Aesthetic: clinical calm + warm. Aurora backdrop, soft glass cards,
   Plus Jakarta Sans display + Inter text.
   ========================================================================= */

:root {
    --brand:      #5b21b6;   /* violet 800 */
    --brand-600:  #7c3aed;   /* violet 600 */
    --brand-300:  #c4b5fd;   /* violet 300 */
    --brand-050:  #f4efff;   /* lavender wash */
    --accent:     #d946ef;   /* fuchsia — CTA */
    --accent-600: #c026d3;
    --ink:        #221436;   /* deep plum */
    --ink-soft:   #5d4b7c;
    --line:       #e7dcf7;
    --bg:         #faf8ff;
    --card:       #ffffff;
    --radius:     22px;
    --radius-sm:  14px;
    --shadow-sm:  0 1px 2px rgba(34, 20, 54, .05), 0 4px 14px -6px rgba(34, 20, 54, .12);
    --shadow-md:  0 8px 24px -12px rgba(34, 20, 54, .22), 0 24px 60px -28px rgba(91, 33, 182, .30);
    --shadow-glow: 0 0 0 1px rgba(124, 58, 237, .10), 0 18px 50px -22px rgba(124, 58, 237, .45);
    --wrap:       1140px;
    --ease:       cubic-bezier(.34, 1.56, .64, 1);
    --ease-out:   cubic-bezier(.16, 1, .3, 1);
    --grad:       linear-gradient(120deg, var(--brand-600), var(--accent));
    --sans:       "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --display:    "Plus Jakarta Sans", var(--sans);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
    margin: 0;
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.65;
    color: var(--ink);
    background:
        radial-gradient(60vw 40vw at 8% -5%, rgba(196, 181, 253, .30), transparent 60%),
        radial-gradient(50vw 40vw at 105% 8%, rgba(217, 70, 239, .12), transparent 55%),
        var(--bg);
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    animation: pageIn .6s var(--ease-out) both;
}

@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }

::selection { background: var(--brand-300); color: var(--ink); }

/* thin scroll-progress bar */
.scroll-progress {
    position: fixed; top: 0; left: 0; height: 3px; width: 0;
    background: var(--grad); z-index: 200; border-radius: 0 3px 3px 0;
    transition: width .1s linear; pointer-events: none;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--brand-600); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { font-family: var(--display); line-height: 1.15; color: var(--ink); margin: 0 0 .5em; font-weight: 700; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.15rem); }
h2 { font-size: clamp(1.55rem, 3.2vw, 2.25rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1rem; }

.wrap { width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; }
.muted { color: var(--ink-soft); }
.plain { list-style: none; margin: 0; padding: 0; }
.center { text-align: center; }

.skip-link {
    position: absolute; left: -999px; top: 0; z-index: 200;
    background: var(--ink); color: #fff; padding: .7rem 1rem; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

/* ---------- buttons ---------- */
.btn {
    --bg: var(--brand-600); --fg: #fff;
    display: inline-flex; align-items: center; gap: .5rem;
    background: var(--bg); color: var(--fg);
    font-weight: 600; font-family: var(--display);
    padding: .85rem 1.4rem; border-radius: 999px; border: 0; cursor: pointer;
    position: relative; overflow: hidden; isolation: isolate;
    transition: transform .25s var(--ease), box-shadow .25s ease, background .2s ease, filter .2s ease;
    box-shadow: var(--shadow-sm);
}
/* moving sheen */
.btn::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(115deg, transparent 20%, rgba(255,255,255,.35) 50%, transparent 80%);
    transform: translateX(-120%); transition: transform .6s var(--ease-out);
}
.btn:hover { text-decoration: none; transform: translateY(-3px); box-shadow: var(--shadow-md); }
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid var(--brand-300); outline-offset: 3px; }
.btn--cta { --bg: var(--accent); background: linear-gradient(120deg, var(--accent), var(--brand-600)); background-size: 140% 140%; }
.btn--cta:hover { filter: brightness(1.05); background-position: 100% 0; }
.btn--ghost { --bg: transparent; --fg: var(--brand-600); box-shadow: inset 0 0 0 1.5px var(--brand-300); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--brand-600), var(--shadow-sm); }
.btn--lg { padding: 1.05rem 1.8rem; font-size: 1.02rem; }

/* ---------- top bar + header ---------- */
.topbar { background: var(--ink); color: #cfe6e2; font-size: .84rem; }
.topbar__in { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .5rem 0; flex-wrap: wrap; }
.topbar a { color: #fff; }
.topbar__links { display: flex; gap: 1.1rem; }

.site-head { position: sticky; top: 0; z-index: 100; background: rgba(250, 248, 255, .72); backdrop-filter: blur(16px) saturate(1.4); border-bottom: 1px solid transparent; transition: box-shadow .3s ease, background .3s ease, border-color .3s ease; }
.site-head.is-stuck { box-shadow: 0 10px 30px -18px rgba(34, 20, 54, .35); background: rgba(250, 248, 255, .9); border-bottom-color: var(--line); }
.site-head__in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .8rem 0; transition: padding .3s ease; }
.site-head.is-stuck .site-head__in { padding: .55rem 0; }

.brand { display: inline-flex; align-items: center; gap: .7rem; }
.brand:hover { text-decoration: none; }
.brand__mark { flex: none; transition: transform .4s var(--ease); }
.brand:hover .brand__mark { transform: rotate(-8deg) scale(1.05); }
.brand__txt { display: flex; flex-direction: column; line-height: 1.2; }
.brand__txt strong { font-family: var(--display); font-size: 1.02rem; font-weight: 800; color: var(--ink); text-transform: uppercase; letter-spacing: .04em; }
.brand__txt small { color: var(--ink-soft); font-size: .72rem; font-style: italic; letter-spacing: .01em; }

.primary-nav { display: flex; align-items: center; gap: 1.7rem; }
.primary-nav a { position: relative; font-family: var(--display); font-weight: 600; color: var(--ink); font-size: .97rem; }
.primary-nav a:not(.nav-cta)::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
    background: var(--grad); border-radius: 2px;
    transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease-out);
}
.primary-nav a:not(.nav-cta):hover::after,
.primary-nav a[aria-current="page"]:not(.nav-cta)::after { transform: scaleX(1); }
.primary-nav a[aria-current="page"] { color: var(--brand-600); }
.primary-nav a:hover { text-decoration: none; color: var(--brand-600); }
.nav-cta { color: #fff !important; }

.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: var(--card); border-radius: 12px; padding: 0; cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 4px auto; transition: .25s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
    .nav-toggle { display: block; }
    .primary-nav {
        position: fixed; inset: 0 0 0 auto; width: min(320px, 82vw);
        flex-direction: column; align-items: stretch; gap: .3rem;
        background: var(--card); padding: 5.2rem 1.4rem 2rem; box-shadow: var(--shadow-md);
        transform: translateX(100%); transition: transform .3s var(--ease); overflow-y: auto;
    }
    .primary-nav.is-open { transform: translateX(0); }
    .primary-nav a { padding: .8rem .6rem; border-radius: 10px; }
    .primary-nav a:hover { background: var(--brand-050); }
    .nav-cta { text-align: center; margin-top: .6rem; }
}

/* ---------- section rhythm ---------- */
.section { padding: clamp(3.4rem, 7vw, 6rem) 0; }
.section--tint { background: var(--brand-050); }
.section__head { max-width: 720px; margin-bottom: 2.6rem; }
.section__head.center { margin-inline: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--display); font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-600); margin-bottom: .7rem; }
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--grad); }
.section__head.center .eyebrow::after { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--grad); }
.section__head h2 .accent,
h2 .accent { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: clip; padding: clamp(2.8rem, 6vw, 5rem) 0 clamp(3.4rem, 8vw, 6rem); }
.hero__aurora { position: absolute; inset: 0; z-index: 0; pointer-events: none; filter: blur(80px); opacity: .55; }
.hero__aurora::before, .hero__aurora::after {
    content: ""; position: absolute; width: 46vw; height: 46vw; border-radius: 50%;
    will-change: transform;
}
.hero__aurora::before { background: radial-gradient(circle at 30% 30%, var(--brand-300), transparent 70%); top: -14vw; left: -8vw; animation: auroraA 18s ease-in-out infinite alternate; }
.hero__aurora::after  { background: radial-gradient(circle at 60% 40%, #e9d5ff, transparent 70%); bottom: -18vw; right: -10vw; animation: auroraB 22s ease-in-out infinite alternate; }
@keyframes auroraA { to { transform: translate3d(6vw, 4vw, 0) scale(1.15); } }
@keyframes auroraB { to { transform: translate3d(-5vw, -3vw, 0) scale(1.1); } }

.hero__in { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero__badge { display: inline-flex; align-items: center; gap: .5rem; background: rgba(255,255,255,.7); backdrop-filter: blur(8px); border: 1px solid var(--line); color: var(--ink-soft); font-size: .85rem; padding: .45rem 1rem; border-radius: 999px; box-shadow: var(--shadow-sm); margin-bottom: 1.3rem; }
.hero__badge b { color: var(--brand-600); }
.hero h1 { font-size: clamp(2.15rem, 5vw, 3.4rem); line-height: 1.08; }
.hero p.lead { font-size: 1.14rem; color: var(--ink-soft); max-width: 42ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.7rem; }
.hero__meta { display: flex; gap: 1.8rem; margin-top: 2.2rem; flex-wrap: wrap; }
.hero__meta div { font-size: .9rem; color: var(--ink-soft); }
.hero__meta strong { display: block; font-family: var(--display); font-size: 1.6rem; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* staggered hero entrance */
.hero__in > div > * { opacity: 0; transform: translateY(16px); }
.hero.is-ready .hero__in > div > * { animation: heroIn .7s var(--ease-out) forwards; }
.hero.is-ready .hero__badge   { animation-delay: .05s; }
.hero.is-ready h1             { animation-delay: .14s; }
.hero.is-ready .lead          { animation-delay: .24s; }
.hero.is-ready .hero__actions { animation-delay: .34s; }
.hero.is-ready .hero__meta    { animation-delay: .44s; }
.hero__card { opacity: 0; transform: translateY(24px) scale(.98); }
.hero.is-ready .hero__card { animation: heroIn .8s var(--ease-out) .3s forwards; }
@keyframes heroIn { to { opacity: 1; transform: none; } }

.hero__card {
    position: relative; background: rgba(255,255,255,.78); backdrop-filter: blur(10px);
    border: 1px solid var(--line);
    border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-md);
    transform-style: preserve-3d; transition: box-shadow .3s ease;
}
.hero__card:hover { box-shadow: var(--shadow-glow); }
.hero__card h2 { font-size: 1.15rem; }

/* ---------- hero carousel ---------- */
.carousel { position: relative; border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 1.1rem; background: var(--brand-050); }
.carousel__track { position: relative; aspect-ratio: 4 / 3; }
.carousel__slide {
    position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden;
    transition: opacity .55s ease, visibility .55s ease;
}
.carousel__slide.is-active { opacity: 1; visibility: visible; }
.carousel__slide img { width: 100%; height: 100%; object-fit: cover; }
.carousel__ph { width: 100%; height: 100%; display: grid; place-items: center; color: #fff; }
.carousel__ph::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 90% at 18% 12%, rgba(255,255,255,.28), transparent 55%); }
.carousel__ph--0 { background: linear-gradient(150deg, var(--brand-300), var(--brand)); }
.carousel__ph--1 { background: linear-gradient(150deg, #a78bfa, #6d28d9); }
.carousel__ph--2 { background: linear-gradient(150deg, #d8b4fe, #7c3aed); }
.carousel__ph--3 { background: linear-gradient(150deg, #c4b5fd, #4c1d95); }
.carousel__ph-label { position: relative; z-index: 1; font-family: var(--display); font-weight: 700; font-size: 1.4rem; letter-spacing: .01em; text-align: center; padding: 0 1rem; }
.carousel__slide figcaption {
    position: absolute; left: 0; right: 0; bottom: 0; padding: .8rem 1rem;
    font-size: .82rem; color: #fff; background: linear-gradient(transparent, rgba(34, 20, 54, .72));
}
.carousel__slide figcaption strong { font-family: var(--display); }
.carousel__nav {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
    width: 34px; height: 34px; border-radius: 50%; border: 0; cursor: pointer;
    background: rgba(255, 255, 255, .85); color: var(--ink); font-size: 1.2rem; line-height: 1;
    display: grid; place-items: center; box-shadow: var(--shadow-sm); transition: background .15s ease;
}
.carousel__nav:hover { background: #fff; }
.carousel__nav--prev { left: 10px; }
.carousel__nav--next { right: 10px; }
.carousel__dots { position: absolute; left: 0; right: 0; bottom: 46px; z-index: 2; display: flex; gap: 6px; justify-content: center; }
.carousel__dot { width: 8px; height: 8px; padding: 0; border-radius: 50%; border: 0; cursor: pointer; background: rgba(255, 255, 255, .55); transition: background .15s ease, transform .15s ease; }
.carousel__dot.is-active { background: #fff; transform: scale(1.3); }
@media (prefers-reduced-motion: reduce) { .carousel__slide { transition: none; } }

.hero__list { display: grid; gap: .55rem; }
.hero__list li { display: flex; gap: .6rem; align-items: flex-start; font-size: .95rem; }
.hero__list svg { flex: none; margin-top: .2rem; color: var(--brand-600); }

@media (max-width: 860px) {
    .hero__in { grid-template-columns: 1fr; }
    .hero { padding-top: 1.6rem; }
    .carousel__track { aspect-ratio: 16 / 10; }
    .hero__meta { gap: 1.1rem; }
}

/* ---------- pillars (E/N/T) ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.pillar {
    position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 1.7rem; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s ease, border-color .3s ease;
    overflow: hidden;
}
.pillar::before {
    content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
    background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .3s ease;
}
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow-glow); }
.pillar:hover::before { opacity: 1; }
.pillar__ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--grad); color: #fff; margin-bottom: 1rem; box-shadow: 0 8px 20px -10px rgba(124,58,237,.6); transition: transform .3s var(--ease); }
.pillar:hover .pillar__ico { transform: scale(1.08) rotate(-4deg); }
.pillar h3 { margin-bottom: .35rem; }
.pillar ul { margin: .9rem 0 0; padding: 0; list-style: none; display: grid; gap: .4rem; }
.pillar li { font-size: .9rem; color: var(--ink-soft); padding-left: 1.1rem; position: relative; }
.pillar li::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: var(--brand-300); }
@media (max-width: 820px) { .pillars { grid-template-columns: 1fr; } }

/* ---------- about strip ---------- */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(1.6rem, 4vw, 3.2rem); align-items: center; }
.about__frame {
    border-radius: var(--radius); aspect-ratio: 1 / 1;
    background: linear-gradient(160deg, var(--brand), var(--brand-600)); color: #fff;
    display: grid; place-items: center; box-shadow: var(--shadow-md);
}
.about__frame span { font-family: var(--display); font-weight: 800; font-size: 3.4rem; }
.about__creds { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0 1.3rem; }
.tag { font-size: .8rem; font-family: var(--display); font-weight: 600; background: var(--brand-050); color: var(--brand-600); padding: .35rem .8rem; border-radius: 999px; }
@media (max-width: 820px) { .about { grid-template-columns: 1fr; } .about__frame { max-width: 260px; } }

/* ---------- catalogue ---------- */
.cat-group { margin-bottom: 2.4rem; }
.cat-group > h3 { display: flex; align-items: center; gap: .6rem; font-size: 1.3rem; color: var(--brand-600); margin-bottom: 1rem; }
.cat-group__ico { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--grad); color: #fff; box-shadow: 0 8px 18px -10px rgba(124,58,237,.6); }

/* ---------- gentle looping motion on the E/N/T glyphs ---------- */
@media (prefers-reduced-motion: no-preference) {
    .pillar__ico .icon--ear,
    .cat-group__ico .icon--ear    { animation: icoEar 2.6s ease-in-out infinite; transform-origin: 50% 50%; }
    .pillar__ico .icon--nose,
    .cat-group__ico .icon--nose   { animation: icoNose 3.2s ease-in-out infinite; transform-origin: 50% 60%; }
    .pillar__ico .icon--throat,
    .cat-group__ico .icon--throat { animation: icoThroat 2.8s ease-in-out infinite; transform-origin: 50% 40%; }
}
@keyframes icoEar    { 0%, 100% { transform: scale(1) rotate(0); } 50% { transform: scale(1.1) rotate(-4deg); } }
@keyframes icoNose   { 0%, 100% { transform: scale(1) translateY(0); } 50% { transform: scale(1.08) translateY(-1px); } }
@keyframes icoThroat { 0%, 100% { transform: scaleY(1) translateY(0); } 45% { transform: scaleY(.88) translateY(1.5px); } 100% { transform: scaleY(1) translateY(0); } }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1rem; }
.cat-item { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1.3rem; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s ease, border-color .25s ease; }
.cat-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--brand-300); }
.cat-item h4 { font-size: 1rem; margin-bottom: .35rem; }
.cat-item p { font-size: .9rem; color: var(--ink-soft); margin: 0; }

/* ---------- why / features ---------- */
.feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.feat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1.4rem; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s ease; }
.feat:hover { transform: translateY(-5px); box-shadow: var(--shadow-glow); }
.feat svg { color: var(--brand-600); margin-bottom: .6rem; transition: transform .3s var(--ease); }
.feat:hover svg { transform: scale(1.12); }
.feat h3 { font-size: 1rem; }
.feat p { font-size: .88rem; margin: 0; color: var(--ink-soft); }
@media (max-width: 900px) { .feats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .feats { grid-template-columns: 1fr; } }

/* ---------- testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.quote { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem 1.6rem 1.6rem; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s ease; }
.quote:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.quote::before { content: "\201C"; position: absolute; top: .1rem; right: 1.1rem; font-family: var(--display); font-size: 4rem; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .5; }
.quote p { font-size: .98rem; }
.quote footer { font-family: var(--display); font-weight: 600; font-size: .85rem; color: var(--ink-soft); }
.quote .stars { color: #f5a623; letter-spacing: .1em; margin-bottom: .6rem; }
@media (max-width: 720px) { .quotes { grid-template-columns: 1fr; } }

/* ---------- clinic / hours ---------- */
.clinic { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.clinic__card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem; box-shadow: var(--shadow-sm); }
.clinic__card h3 { margin-bottom: .8rem; }
.hours-row { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px dashed var(--line); font-size: .93rem; }
.hours-row:last-child { border-bottom: 0; }
.map-embed { border: 0; width: 100%; height: 100%; min-height: 260px; border-radius: var(--radius); }
@media (max-width: 780px) { .clinic { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 1.3rem; margin-bottom: .7rem; box-shadow: var(--shadow-sm); transition: border-color .25s ease, box-shadow .25s ease; }
.faq details[open] { border-color: var(--brand-300); box-shadow: var(--shadow-md); }
.faq summary { cursor: pointer; font-family: var(--display); font-weight: 600; padding: 1.1rem 0; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--brand-600); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(135deg); }
.faq details p { padding-bottom: 1.1rem; margin: 0; color: var(--ink-soft); font-size: .95rem; }
.js .faq details[open] p { animation: faqIn .35s var(--ease-out) both; }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(140deg, var(--brand), var(--brand-600) 55%, var(--accent)); background-size: 160% 160%; color: #fff; border-radius: var(--radius); padding: clamp(2.2rem, 5vw, 3.6rem); text-align: center; box-shadow: var(--shadow-glow); animation: ctaShift 12s ease-in-out infinite alternate; }
.cta-band::before { content: ""; position: absolute; inset: -40% -10%; background: radial-gradient(closest-side, rgba(255,255,255,.18), transparent); animation: ctaOrb 9s ease-in-out infinite alternate; }
@keyframes ctaShift { to { background-position: 100% 100%; } }
@keyframes ctaOrb { to { transform: translate(12%, 8%); } }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #ede9fe; max-width: 46ch; margin-inline: auto; }
.cta-band .btn { margin-top: 1.5rem; background: #fff; color: var(--brand); }
.cta-band .btn:hover { background: #fff; filter: none; transform: translateY(-3px) scale(1.02); }

/* ---------- forms ---------- */
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--shadow-md); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-family: var(--display); font-weight: 600; font-size: .9rem; margin-bottom: .4rem; }
.field input, .field select, .field textarea {
    width: 100%; font: inherit; padding: .8rem .9rem; border: 1.5px solid var(--line);
    border-radius: 12px; background: #fbfdfc; color: var(--ink); transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--brand-600); box-shadow: 0 0 0 4px rgba(124, 58, 237, .18); }
.field textarea { min-height: 110px; resize: vertical; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .field--row { grid-template-columns: 1fr; } }
.form-note { font-size: .82rem; color: var(--ink-soft); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.alert { border-radius: 12px; padding: .9rem 1.1rem; margin-bottom: 1.2rem; font-size: .93rem; }
.alert--ok { background: #e6f6ef; color: #10633f; border: 1px solid #b8e4cf; }
.alert--err { background: #fdecea; color: #98261a; border: 1px solid #f5c4bd; }

/* ---------- page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; background:
        radial-gradient(40vw 30vw at 90% -20%, rgba(217,70,239,.16), transparent 60%),
        var(--brand-050);
    padding: clamp(2.8rem, 6vw, 4rem) 0; border-bottom: 1px solid var(--line); }
.page-hero .crumb { font-size: .85rem; color: var(--ink-soft); margin-bottom: .6rem; }
.page-hero .crumb a:hover { color: var(--brand-600); }
.page-hero h1 { margin-bottom: .3rem; }

/* ---------- footer ---------- */
.site-foot { background: var(--ink); color: #bcd4d0; padding: 3.2rem 0 1.6rem; margin-top: 2rem; }
.site-foot__grid { display: grid; grid-template-columns: 1.5fr 1.2fr 1.1fr 1.1fr; gap: 2rem; align-items: start; }
.site-foot__col > :first-child { margin-top: 0; }
.site-foot__col h3 { color: #fff; font-size: .95rem; margin: 0 0 .8rem; line-height: 1.3; }
.site-foot__col--brand h3 { font-size: 1.1rem; }
.site-foot__col p { margin: 0 0 .6rem; }
.site-foot a { color: #eaf5f3; }
.site-foot .muted { color: #93b3ae; }
.brand--foot .brand__txt strong { color: #fff; }
.brand--foot .brand__txt small { color: #93b3ae; }
.site-foot__legal { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 2.6rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .82rem; }
.site-foot__legal p { margin: 0; }
.site-foot__powered { flex-basis: 100%; text-align: center; margin-top: .8rem; }
@media (max-width: 820px) { .site-foot__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-foot__grid { grid-template-columns: 1fr; } }

/* ---------- floating call button (mobile) ---------- */
.fab { position: fixed; right: 16px; bottom: 16px; z-index: 90; width: 56px; height: 56px; border-radius: 50%; display: none; place-items: center; color: #fff; background: linear-gradient(135deg, var(--accent), var(--brand-600)); box-shadow: var(--shadow-glow); }
.fab::before { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(217,70,239,.5); animation: fabPulse 2.4s ease-out infinite; }
@keyframes fabPulse { to { box-shadow: 0 0 0 18px rgba(217,70,239,0); } }
.fab:hover { text-decoration: none; transform: scale(1.06); }
@media (max-width: 900px) { .fab { display: grid; } }

/* ---------- reveal on scroll (only when JS is active) ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); transition-delay: var(--rv-delay, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal--left  { transform: translateX(-28px); }
.js .reveal--right { transform: translateX(28px); }
.js .reveal--scale { transform: scale(.94); }
/* auto-stagger direct children of a staggered container */
.js .reveal-stagger > * { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.js .reveal-stagger.is-in > * { opacity: 1; transform: none; }
.js .reveal-stagger.is-in > *:nth-child(1) { transition-delay: .00s; }
.js .reveal-stagger.is-in > *:nth-child(2) { transition-delay: .08s; }
.js .reveal-stagger.is-in > *:nth-child(3) { transition-delay: .16s; }
.js .reveal-stagger.is-in > *:nth-child(4) { transition-delay: .24s; }
.js .reveal-stagger.is-in > *:nth-child(5) { transition-delay: .32s; }
.js .reveal-stagger.is-in > *:nth-child(6) { transition-delay: .40s; }

@media (prefers-reduced-motion: reduce) {
    .js .reveal, .js .reveal-stagger > * { opacity: 1 !important; transform: none !important; }
    .hero__aurora::before, .hero__aurora::after,
    .cta-band, .cta-band::before, .fab::before,
    .hero.is-ready .hero__in > div > *, .hero.is-ready .hero__card { animation: none !important; }
    .hero__in > div > *, .hero__card { opacity: 1 !important; transform: none !important; }
    body { animation: none; }
}
