/* ==========================================================================
   Vital Suraksha Homoeopathy Clinic
   Warm botanical apothecary meets modern clinical trust.
   ========================================================================== */

:root {
    --paper: #FAF8F5;
    --paper-2: #F2EDE4;
    --paper-3: #E9E2D5;
    --forest: #1E3F32;
    --forest-2: #2D5846;
    --sage: #8CA394;
    --sage-soft: #DCE5DD;
    --terra: #C86D51;
    --terra-d: #B35A3F;          /* darker terracotta: AA contrast for white text */
    --terra-soft: #F2DDD3;
    --ink: #1F2421;
    --muted: #55605A;
    --line: #DDD5C7;

    --font-head: 'Fraunces', Georgia, 'Times New Roman', serif;
    --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

    --radius-s: 6px;
    --radius-arch: 999px 999px 18px 18px;
    --ease: cubic-bezier(.22, .8, .24, 1);
    --header-h: 76px;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
    font-family: var(--font-body);
    background: var(--paper);
    color: var(--ink);
    font-size: 1.0625rem;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, .display {
    font-family: var(--font-head);
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: -.012em;
    color: var(--forest);
    font-variation-settings: 'opsz' 96;
}
h1 { font-size: clamp(2.5rem, 5.4vw, 4.4rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); }
p { max-width: 62ch; }
a { color: var(--terra-d); text-underline-offset: 3px; }
a:hover { color: var(--forest); }
:focus-visible { outline: 3px solid var(--terra); outline-offset: 3px; border-radius: 3px; }
::selection { background: var(--terra-soft); }
img { max-width: 100%; }

.skip-link { position: absolute; left: 12px; top: 8px; z-index: 2000; background: var(--forest); color: var(--paper); padding: 8px 14px; border-radius: var(--radius-s); }
.lead-text { font-size: 1.2rem; color: var(--muted); }
.kicker { font-size: .95rem; font-weight: 600; color: var(--terra-d); margin-bottom: .75rem; display: block; }
.text-muted-ink { color: var(--muted); }

.section { padding: clamp(4.5rem, 9vw, 8rem) 0; }
.section-tight { padding: clamp(3rem, 6vw, 5rem) 0; }
.bg-paper-2 { background: var(--paper-2); }
.bg-forest { background: var(--forest); color: #E8EFE9; }
.bg-forest h2, .bg-forest h3 { color: var(--paper); }
.bg-forest a { color: #F2C3B1; }

.vine { display: block; width: 300px; max-width: 70%; height: 24px; color: var(--terra); margin: 1.5rem 0; }
.vine.center { margin-left: auto; margin-right: auto; }
.vine.on-dark { color: var(--sage); }

/* ---------- Buttons ---------- */
.btn { font-weight: 600; border-radius: 999px; padding: .7rem 1.5rem; transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease), border-color .25s; }
.btn-lg { padding: .9rem 1.9rem; font-size: 1.02rem; }
.btn-terra { background: var(--terra-d); color: #fff; border: 2px solid var(--terra-d); }
.btn-terra:hover, .btn-terra:focus { background: var(--forest); border-color: var(--forest); color: #fff; }
.btn-forest { background: var(--forest); color: var(--paper); border: 2px solid var(--forest); }
.btn-forest:hover { background: var(--forest-2); border-color: var(--forest-2); color: #fff; }
.btn-ghost { background: transparent; color: var(--forest); border: 2px solid var(--forest); }
.btn-ghost:hover { background: var(--forest); color: var(--paper); }
.btn-ghost.on-dark { color: var(--paper); border-color: var(--paper); }
.btn-ghost.on-dark:hover { background: var(--paper); color: var(--forest); }
.link-arrowless { font-weight: 600; color: var(--forest); text-decoration: underline; text-decoration-color: var(--terra); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.link-arrowless:hover { color: var(--terra-d); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 1030; background: rgba(250, 248, 245, .94); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(30, 63, 50, .5); }
.navbar { min-height: var(--header-h); padding: .5rem 0; }
.navbar-brand { display: flex; align-items: center; gap: .7rem; padding: 0; text-decoration: none; }
.logo-mark { width: 40px; height: 40px; border-radius: 50%; background: var(--forest); color: var(--paper); display: inline-grid; place-items: center; flex: none; }
.logo-mark svg { width: 17px; height: 30px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-name { font-family: var(--font-head); font-size: 1.4rem; font-weight: 600; color: var(--forest); }
.logo-sub { font-size: .76rem; color: var(--muted); letter-spacing: .02em; }
.navbar-nav { gap: .25rem; }
.nav-link { font-weight: 500; color: var(--ink); padding: .5rem 1rem !important; position: relative; }
.nav-link::after { content: ''; position: absolute; left: 1rem; right: 1rem; bottom: .2rem; height: 2px; background: var(--terra); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-link.active { color: var(--forest); font-weight: 600; }
.navbar-toggler { border: 0; padding: .5rem; }
.navbar-toggler:focus { box-shadow: none; outline: 3px solid var(--terra); }
.toggler-bars { display: grid; gap: 5px; width: 26px; }
.toggler-bars i { display: block; height: 2px; background: var(--forest); border-radius: 2px; }

.branch-badge { display: inline-flex; align-items: center; gap: .5rem; border: 1px solid var(--line); background: var(--paper-2); color: var(--forest); font-size: .92rem; font-weight: 600; padding: .45rem .95rem; border-radius: 999px; }
.branch-badge:hover { border-color: var(--forest); }
.branch-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--terra); }
.branch-menu { border: 1px solid var(--line); border-radius: 12px; padding: .4rem; background: var(--paper); box-shadow: 0 18px 40px -22px rgba(30, 63, 50, .5); }
.branch-menu .dropdown-item { border-radius: 8px; display: flex; flex-direction: column; padding: .55rem .9rem; white-space: normal; }
.branch-menu .dropdown-item small { color: var(--muted); }
.branch-menu .dropdown-item:hover, .branch-menu .dropdown-item.active { background: var(--sage-soft); color: var(--forest); }

/* ---------- Hero carousel ---------- */
.hero { position: relative; background: var(--paper); overflow: hidden; }
.hero .carousel-item { min-height: min(80vh, 760px); }
.hero-slide { padding: clamp(3rem, 7vw, 6rem) 0 clamp(5rem, 8vw, 7rem); }
.hero h1 { max-width: 15ch; margin-bottom: 1.25rem; }
.hero .lead-text { max-width: 48ch; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

.hero-art { position: relative; width: min(100%, 420px); aspect-ratio: 4 / 5; margin-inline: auto; }
.hero-arch { position: absolute; inset: 0; border-radius: var(--radius-arch); display: grid; place-items: center; overflow: hidden; }
.hero-arch svg { width: 46%; height: auto; color: var(--forest); opacity: .9; }
.hero-arch.s1 { background: var(--sage-soft); }
.hero-arch.s2 { background: var(--terra-soft); }
.hero-arch.s2 svg { color: var(--terra-d); }
.hero-arch.s3 { background: var(--forest); }
.hero-arch.s3 svg { color: var(--sage); }
.hero-ring { position: absolute; inset: -14px -14px 14px 14px; border: 1.5px solid var(--terra); border-radius: var(--radius-arch); pointer-events: none; }
.hero-tag { position: absolute; left: -6%; bottom: 8%; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: .75rem 1rem; max-width: 220px; font-size: .9rem; line-height: 1.4; box-shadow: 0 16px 34px -22px rgba(30, 63, 50, .6); }
.hero-tag strong { display: block; font-family: var(--font-head); color: var(--forest); font-size: 1.05rem; font-weight: 500; }

.hero-controls { position: absolute; left: 0; right: 0; bottom: 1.75rem; z-index: 5; }
.hero-controls .inner { display: flex; align-items: center; gap: 1.25rem; }
.hero-count { font-family: var(--font-head); font-size: 1.05rem; color: var(--forest); min-width: 4.2rem; }
.hero-bar { flex: 0 1 220px; height: 2px; background: var(--line); position: relative; overflow: hidden; }
.hero-bar span { position: absolute; inset: 0; background: var(--terra); transform: scaleX(0); transform-origin: left; }
.hero-bar.run span { animation: heroBar var(--hero-interval, 7s) linear forwards; }
.hero:hover .hero-bar.run span, .hero.paused .hero-bar.run span { animation-play-state: paused; }
@keyframes heroBar { to { transform: scaleX(1); } }
.hero-btn { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--forest); background: transparent; color: var(--forest); display: grid; place-items: center; transition: background .25s, color .25s; }
.hero-btn:hover { background: var(--forest); color: var(--paper); }
.hero-btn svg { width: 18px; height: 18px; }

/* One orchestrated entrance on page load */
.js .hero .carousel-item.active .hero-copy > * { animation: rise .8s var(--ease) both; }
.js .hero .carousel-item.active .hero-copy > *:nth-child(2) { animation-delay: .08s; }
.js .hero .carousel-item.active .hero-copy > *:nth-child(3) { animation-delay: .16s; }
.js .hero .carousel-item.active .hero-copy > *:nth-child(4) { animation-delay: .24s; }
.js .hero .carousel-item.active .hero-arch { animation: archIn 1s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes archIn { from { clip-path: inset(100% 0 0 0 round 999px 999px 18px 18px); } to { clip-path: inset(0 0 0 0 round 999px 999px 18px 18px); } }

/* ---------- Page heading (inner pages) ---------- */
.page-hero { padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(2.5rem, 5vw, 4rem); background: var(--paper-2); position: relative; overflow: hidden; }
.page-hero h1 { max-width: 18ch; }
.page-hero .sprig-bg { position: absolute; right: 4%; top: 50%; width: 150px; transform: translateY(-50%) rotate(8deg); color: var(--sage); opacity: .55; pointer-events: none; }
.breadcrumb-lite { font-size: .92rem; color: var(--muted); margin-bottom: 1rem; }
.breadcrumb-lite a { color: var(--muted); }

/* ---------- Editorial feature (doctor) ---------- */
.portrait { position: relative; max-width: 440px; }
.portrait-frame { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-arch); overflow: hidden; background: var(--sage-soft); display: grid; place-items: center; z-index: 1; }
.portrait-frame svg { width: 36%; color: var(--forest); opacity: .75; }
.portrait-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.portrait::before { content: ''; position: absolute; inset: 16px -16px -16px 16px; border: 1.5px solid var(--terra); border-radius: var(--radius-arch); }
.portrait-cap { position: absolute; right: -4%; bottom: 7%; z-index: 2; background: var(--forest); color: var(--paper); padding: .85rem 1.2rem; border-radius: 12px; font-size: .92rem; line-height: 1.35; }
.portrait-cap strong { display: block; font-family: var(--font-head); font-weight: 500; font-size: 1.15rem; }
.credential-list { list-style: none; padding: 0; margin: 1.5rem 0 2rem; border-top: 1px solid var(--line); }
.credential-list li { display: flex; gap: 1.25rem; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.credential-list b { flex: 0 0 8.5rem; font-weight: 600; color: var(--forest); }
.pull-quote { font-family: var(--font-head); font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.35; color: var(--forest); border-left: 3px solid var(--terra); padding-left: 1.25rem; margin: 1.75rem 0; max-width: 34ch; font-style: italic; font-weight: 400; }

/* ---------- Testimonials ---------- */
.filter-pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.pill { border: 1.5px solid var(--line); background: transparent; color: var(--forest); font-weight: 600; font-size: .94rem; padding: .45rem 1.1rem; border-radius: 999px; transition: all .25s var(--ease); }
.pill:hover { border-color: var(--forest); }
.pill.active { background: var(--forest); color: var(--paper); border-color: var(--forest); }
.testi-columns { column-count: 2; column-gap: 1.75rem; }
.testi { break-inside: avoid; margin: 0 0 1.75rem; padding: 1.6rem 1.6rem 1.4rem; background: var(--paper); border: 1px solid var(--line); border-radius: 4px 22px 4px 22px; }
.testi blockquote { margin: 0 0 1.1rem; font-family: var(--font-head); font-size: 1.14rem; line-height: 1.55; color: var(--ink); font-weight: 400; }
.testi figcaption { font-size: .92rem; color: var(--muted); display: flex; flex-direction: column; }
.testi figcaption strong { color: var(--forest); font-size: 1rem; }
.testi.is-hidden { display: none; }
.testi.fade-in { animation: fadeIn .45s var(--ease) both; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.trust-list { list-style: none; padding: 0; margin: 2rem 0 0; }
.trust-list li { padding: 1rem 0; border-top: 1px solid var(--line); }
.trust-list li:last-child { border-bottom: 1px solid var(--line); }
.trust-list strong { display: block; font-family: var(--font-head); font-size: 1.2rem; font-weight: 500; color: var(--forest); }

/* ---------- Blog ---------- */
.post-cover { position: relative; display: grid; place-items: center; overflow: hidden; border-radius: 18px; aspect-ratio: 16 / 10; }
.post-cover svg { width: 20%; min-width: 46px; height: auto; transition: transform .6s var(--ease); }
.post-cover.forest { background: var(--forest); color: var(--sage); }
.post-cover.terra { background: var(--terra-soft); color: var(--terra-d); }
.post-cover.sage { background: var(--sage-soft); color: var(--forest-2); }
.post-link { color: inherit; text-decoration: none; display: block; }
.post-link:hover .post-cover svg { transform: rotate(6deg) scale(1.08); }
.post-link:hover .post-title { color: var(--terra-d); }
.post-title { font-family: var(--font-head); color: var(--forest); font-weight: 500; line-height: 1.2; transition: color .2s; margin: .5rem 0; }
.post-meta { font-size: .9rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: .25rem 1rem; }
.post-meta .cat { font-weight: 600; color: var(--terra-d); }
.post-feature .post-title { font-size: clamp(1.7rem, 2.8vw, 2.3rem); }
.post-side { display: grid; grid-template-columns: 150px 1fr; gap: 1.1rem; align-items: center; padding: 1.25rem 0; border-top: 1px solid var(--line); }
.post-side .post-cover { aspect-ratio: 1; border-radius: 14px; }
.post-side .post-title { font-size: 1.25rem; }
.post-card .post-title { font-size: 1.4rem; }
.post-card p { color: var(--muted); font-size: .98rem; margin-bottom: 0; }
.search-box { position: relative; max-width: 360px; }
.search-box input { border-radius: 999px; padding: .6rem 1.2rem; border: 1.5px solid var(--line); background: var(--paper); }
.search-box input:focus { border-color: var(--forest); box-shadow: none; }
.post-item.is-hidden { display: none; }
.empty-state { text-align: center; padding: 3rem 1rem; color: var(--muted); }

.article-head { max-width: 780px; }
.article-body { max-width: 680px; }
.article-body h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin: 2.5rem 0 .9rem; }
.article-body p { font-size: 1.14rem; line-height: 1.85; margin-bottom: 1.2rem; }
.article-body > h2:first-child { margin-top: 0; }
.article-aside { border-left: 3px solid var(--terra); padding: 1rem 0 1rem 1.25rem; font-size: .98rem; color: var(--muted); max-width: 680px; }
.article-cta { background: var(--forest); color: var(--paper); border-radius: 20px; padding: 2rem; max-width: 680px; }
.article-cta h3 { color: var(--paper); }

/* ---------- Medicine process (a real sequence) ---------- */
.process { list-style: none; padding: 0; margin: 0; counter-reset: step; position: relative; }
.process::before { content: ''; position: absolute; left: 21px; top: 8px; bottom: 8px; width: 1.5px; background: var(--sage); }
.process li { position: relative; padding: 0 0 2.25rem 4rem; counter-increment: step; }
.process li:last-child { padding-bottom: 0; }
.process li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--paper); border: 1.5px solid var(--forest); color: var(--forest); display: grid; place-items: center; font-family: var(--font-head); font-size: 1.15rem; }
.process h3 { margin-bottom: .35rem; }
.process p { color: var(--muted); margin-bottom: 0; }
.bg-forest .process::before { background: var(--sage); }
.bg-forest .process li::before { background: var(--forest); border-color: var(--sage); color: var(--paper); }
.bg-forest .process p { color: #C9D6CD; }
.standards { list-style: none; padding: 0; margin: 0; }
.standards li { padding: 1rem 0; border-top: 1px solid rgba(255, 255, 255, .18); }
.standards strong { display: block; font-family: var(--font-head); font-weight: 500; font-size: 1.2rem; color: var(--paper); }
.standards span { color: #C9D6CD; }

/* ---------- Values & stats ---------- */
.values { list-style: none; padding: 0; margin: 0; }
.values li { display: grid; grid-template-columns: 1fr 1.4fr; gap: 1.5rem; padding: 1.5rem 0; border-top: 1px solid var(--line); }
.values li:last-child { border-bottom: 1px solid var(--line); }
.values h3 { margin: 0; }
.values p { margin: 0; color: var(--muted); }

/* ---------- Branch tabs, cards ---------- */
.branch-tabs { display: inline-flex; background: var(--paper-2); border: 1px solid var(--line); border-radius: 999px; padding: 4px; gap: 4px; }
.branch-tab { border: 0; background: transparent; padding: .55rem 1.4rem; border-radius: 999px; font-weight: 600; color: var(--forest); transition: background .25s, color .25s; }
.branch-tab.active { background: var(--forest); color: var(--paper); }
.branch-pane { display: none; }
.branch-pane.active { display: block; animation: fadeIn .45s var(--ease) both; }
.branch-pane h3 { margin-bottom: .35rem; }
.info-list { list-style: none; padding: 0; margin: 1.25rem 0; }
.info-list li { padding: .65rem 0; border-top: 1px solid var(--line); display: flex; gap: 1rem; }
.info-list li:last-child { border-bottom: 1px solid var(--line); }
.info-list b { flex: 0 0 7rem; font-weight: 600; color: var(--forest); }
.map-frame { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: var(--paper-3); }
.map-frame iframe { display: block; width: 100%; height: 300px; border: 0; }
.branch-card { background: var(--paper); border: 1px solid var(--line); border-radius: 4px 26px 4px 26px; padding: clamp(1.5rem, 3vw, 2.25rem); height: 100%; }
.branch-card .btn { margin: .25rem .5rem .25rem 0; }

/* ---------- Forms ---------- */
.form-panel { background: var(--paper); border: 1px solid var(--line); border-radius: 26px 4px 26px 4px; padding: clamp(1.5rem, 3.5vw, 2.5rem); }
.form-label { font-weight: 600; font-size: .95rem; color: var(--forest); margin-bottom: .35rem; }
.form-label .optional { font-weight: 400; color: var(--muted); }
.form-control, .form-select { background-color: #fff; border: 1.5px solid var(--line); border-radius: 10px; padding: .7rem .95rem; font-size: 1rem; color: var(--ink); }
.form-control:focus, .form-select:focus { border-color: var(--forest); box-shadow: 0 0 0 3px rgba(30, 63, 50, .14); }
.form-control.is-invalid, .form-select.is-invalid { border-color: #A8412C; background-image: none; }
.form-select.is-invalid { background-image: var(--bs-form-select-bg-img); }
.invalid-feedback { color: #A8412C; font-weight: 500; }
.btn-choice { border: 1.5px solid var(--line); background: #fff; color: var(--forest); border-radius: 999px; padding: .55rem 1.2rem; }
.btn-check:checked + .btn-choice { background: var(--forest); border-color: var(--forest); color: var(--paper); }
.btn-check:focus-visible + .btn-choice { outline: 3px solid var(--terra); outline-offset: 2px; }
.type-choice { display: flex; flex-wrap: wrap; gap: .6rem; }
.form-small { font-size: .88rem; color: var(--muted); max-width: 34ch; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-feedback:empty { display: none; }
.form-feedback { border-radius: 12px; padding: 1rem 1.2rem; font-weight: 500; }
.form-feedback.ok { background: var(--sage-soft); color: var(--forest); border: 1px solid var(--sage); }
.form-feedback.err { background: #F7E1DB; color: #7A2D1B; border: 1px solid #E1A898; }

/* ---------- Legal ---------- */
.legal { max-width: 740px; }
.legal h2 { font-size: 1.6rem; margin: 2.5rem 0 .75rem; }
.legal p, .legal li { color: #333B37; }
.legal ul { padding-left: 1.2rem; }
.legal .updated { color: var(--muted); font-size: .95rem; }
.todo-note { background: var(--terra-soft); border-radius: 10px; padding: .8rem 1rem; font-size: .93rem; color: #6B2F1E; max-width: 740px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--forest); color: #D3DED7; padding: clamp(3.5rem, 6vw, 5.5rem) 0 1.5rem; font-size: .98rem; }
.site-footer a { color: #F2C3B1; text-decoration-color: transparent; transition: color .2s, text-decoration-color .2s; }
.site-footer a:hover { color: #fff; text-decoration-color: currentColor; }
.footer-brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; }
.footer-brand .logo-mark { background: var(--paper); color: var(--forest); }
.footer-brand .logo-name { color: var(--paper); }
.footer-about { max-width: 38ch; }
.footer-note { font-size: .88rem; color: #A8BAAF; max-width: 38ch; }
.footer-h { font-family: var(--font-body); font-size: .95rem; font-weight: 700; color: var(--paper); letter-spacing: 0; margin-bottom: 1rem; }
.footer-links li { padding: .2rem 0; }
.footer-branch { font-size: 1.3rem; color: var(--paper); margin-bottom: .4rem; }
.site-footer address { margin-bottom: .6rem; color: #C2D0C7; }
.footer-times { font-size: .92rem; color: #C2D0C7; margin-bottom: .6rem; }
.footer-times span { display: block; color: var(--paper); font-weight: 600; }
.footer-bottom { margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .16); display: flex; flex-wrap: wrap; gap: .75rem 2rem; justify-content: space-between; font-size: .92rem; color: #A8BAAF; }
.footer-bottom .list-inline-item:not(:last-child) { margin-right: 1.5rem; }

/* ---------- Reveal (used sparingly) ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
    :root { --header-h: 68px; }
    .navbar-collapse { padding: 1rem 0 1.5rem; }
    .hero .carousel-item { min-height: 0; }
    .hero-slide { padding-bottom: 6.5rem; }
    .hero-art { width: min(78%, 340px); margin-top: 2.5rem; }
    .hero-tag { left: 0; }
    .page-hero .sprig-bg { display: none; }
}
@media (max-width: 767.98px) {
    body { font-size: 1rem; }
    .testi-columns { column-count: 1; }
    .credential-list li { flex-direction: column; gap: .1rem; }
    .values li { grid-template-columns: 1fr; gap: .4rem; }
    .post-side { grid-template-columns: 96px 1fr; }
    .hero-bar { flex-basis: 90px; }
    .portrait-cap { right: 0; }
    .info-list li { flex-direction: column; gap: .1rem; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .js .reveal { opacity: 1; transform: none; }
}
