/* Shree Diagnostic Center: implements the Stitch "Clinical Clarity" design system (tokens from clinical_clarity/DESIGN.md) */
@font-face {
    font-family: Inter;
    font-weight: 100 900;
    font-display: swap;
    src: url(../assets/fonts/inter-latin-var.woff2) format("woff2");
    unicode-range:
        U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
        U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF,
        U+FFFD;
}
@font-face {
    font-family: Inter;
    font-weight: 100 900;
    font-display: swap;
    src: url(../assets/fonts/inter-latin-ext-var.woff2) format("woff2");
    unicode-range:
        U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
        U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
        U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
:root {
    --surface: #f8f9ff;
    --surface-low: #eff4ff;
    --surface-container: #e5eeff;
    --surface-high: #dce9ff;
    --surface-highest: #d3e4fe;
    --white: #fff;
    --on-surface: #0b1c30;
    --on-surface-variant: #43474f;
    --outline: #73777f;
    --outline-variant: #c3c6d0;
    --primary: #00284a;
    --primary-container: #133e68;
    --on-primary-container: #85aada;
    --secondary: #006a61;
    --secondary-container: #86f2e4;
    --on-secondary-container: #006f66;
    --secondary-fixed: #89f5e7;
    --on-secondary-fixed-variant: #005049;
    --tertiary: #2563eb;
    --error-container: #ffdad6;
    --on-error-container: #93000a;
    --amber-bg: #fef3c7;
    --amber-text: #92400e;
    --amber-border: #fcd34d;
    --ring: #0d9488;
    --font:
        Inter, system-ui, -apple-system, "Segoe UI", "Noto Sans",
        "Noto Sans Devanagari", Arial, sans-serif;
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2.5rem;
    --space-2xl: 4rem;
    --gutter: 1rem;
    --margin: 1rem;
    --max: 1280px;
    --r-sm: 0.25rem;
    --r: 0.5rem;
    --r-md: 0.75rem;
    --r-lg: 1rem;
    --r-xl: 1.5rem;
    --shadow-1: 0 1px 3px rgb(15 43 72/4%), 0 1px 2px rgb(15 43 72/2%);
    --shadow-2: 0 4px 12px rgb(15 43 72/6%), 0 1px 3px rgb(15 43 72/4%);
    --border: 1px solid #e2e8f0;
    --t: 0.15s ease;
}
@media (min-width: 48em) {
    :root {
        --gutter: 1.25rem;
        --margin: 1.5rem;
    }
}
@media (min-width: 64em) {
    :root {
        --gutter: 1.5rem;
        --margin: 2rem;
    }
}
*,
*::before,
*::after {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}
body {
    margin: 0;
    font: 400 1rem/1.5rem var(--font);
    color: var(--on-surface);
    background: var(--surface);
    -webkit-font-smoothing: antialiased;
}
img,
svg,
iframe {
    max-width: 100%;
}
h1,
h2,
h3,
h4 {
    margin: 0;
    color: var(--primary);
    font-weight: 600;
    letter-spacing: -0.01em;
}
p {
    margin: 0;
}
a {
    color: var(--tertiary);
}
.tabular {
    font-variant-numeric: tabular-nums;
}
:focus-visible {
    outline: 2px solid var(--ring);
    outline-offset: 2px;
    border-radius: var(--r-sm);
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}
.skip-link {
    position: absolute;
    left: var(--space-md);
    top: -4rem;
    z-index: 100;
    background: var(--primary);
    color: #fff;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--r);
}
.skip-link:focus {
    top: var(--space-sm);
}
.icon {
    width: 1.125rem;
    height: 1.125rem;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.icon--sm {
    width: 0.9rem;
    height: 0.9rem;
}
/* type scale */
.t-display {
    font-size: 2.125rem;
    line-height: 2.625rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}
.t-h1 {
    font-size: 1.75rem;
    line-height: 2.25rem;
}
.t-h2 {
    font-size: 1.75rem;
    line-height: 2.25rem;
}
.t-h3 {
    font-size: 1.375rem;
    line-height: 1.875rem;
}
.t-h4 {
    font-size: 1.125rem;
    line-height: 1.625rem;
}
.t-lead {
    font-size: 1.125rem;
    line-height: 1.75rem;
    color: var(--on-surface-variant);
}
.t-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}
.t-muted {
    color: var(--on-surface-variant);
}
.eyebrow {
    font-size: 0.75rem;
    line-height: 1rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--secondary);
}
@media (min-width: 48em) {
    .t-display {
        font-size: 3rem;
        line-height: 3.5rem;
    }
    .t-h1 {
        font-size: 2.25rem;
        line-height: 2.75rem;
    }
}
/* layout */
.container {
    width: 100%;
    max-width: calc(var(--max) + 2 * var(--margin));
    margin-inline: auto;
    padding-inline: var(--margin);
}
.section {
    padding-block: var(--space-xl);
}
.section--tint {
    background: var(--surface-low);
}
.stack {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}
.grid {
    display: grid;
    gap: var(--gutter);
}
.section__head {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}
@media (min-width: 48em) {
    .section {
        padding-block: 3.5rem;
    }
    .g-2 {
        grid-template-columns: repeat(2, 1fr);
    }
    .g-3 {
        grid-template-columns: repeat(3, 1fr);
    }
    .section__head--row {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
    }
    .section__head--row > p {
        max-width: 28rem;
    }
}
@media (min-width: 64em) {
    .g-4 {
        grid-template-columns: repeat(4, 1fr);
    }
    .split {
        display: grid;
        grid-template-columns: repeat(12, 1fr);
        gap: var(--gutter);
        align-items: center;
    }
    .split > :first-child {
        grid-column: span 7;
    }
    .split > :last-child {
        grid-column: span 5;
    }
    .split--even > * {
        grid-column: span 6 !important;
    }
}
@media (min-width: 48em) and (max-width: 63.99em) {
    .g-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgb(248 249 255/0.96);
    backdrop-filter: blur(8px);
    box-shadow: 0 1px 8px rgb(0 0 0/4%);
}
.topbar {
    background: var(--surface-high);
    border-bottom: 1px solid rgb(195 198 208/0.3);
    color: var(--on-surface-variant);
    font-size: 0.6875rem;
    line-height: 0.875rem;
    font-weight: 600;
}
.topbar .container {
    min-height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
}
.topbar__main {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    min-width: 0;
}
.topbar__main span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.topbar__side {
    display: none;
    align-items: center;
    gap: var(--space-md);
    flex: none;
}
.topbar a {
    color: inherit;
    text-decoration: none;
}
.topbar .icon {
    color: var(--secondary);
}
.topbar__side > * {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}
@media (min-width: 48em) {
    .topbar__side {
        display: flex;
    }
}
.header-bar {
    min-height: 5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
}
.brand {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
}
.brand__text {
    display: flex;
    flex-direction: column;
    white-space: nowrap;
}
.brand__name {
    font-size: 1.125rem;
    line-height: 1;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: -0.01em;
}
.brand__sub {
    font-size: 0.6875rem;
    line-height: 1.1;
    font-weight: 600;
    color: var(--secondary);
    margin-top: 0.2rem;
}
.nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--surface);
    border-bottom: var(--border);
    padding: var(--space-md) var(--margin) var(--space-lg);
}
.nav.is-open {
    display: block;
}
.nav__list {
    list-style: none;
    margin: 0 0 var(--space-md);
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}
.nav__link {
    display: block;
    padding: 0.5rem 1rem;
    border-radius: var(--r);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--on-surface-variant);
    text-decoration: none;
    transition:
        background var(--t),
        color var(--t);
}
.nav__link:hover {
    color: var(--on-surface);
}
.nav__link[aria-current="page"] {
    background: var(--surface-container);
    color: var(--primary);
    font-weight: 600;
}
.nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.75rem;
    min-height: 2.75rem;
    border: 0;
    background: transparent;
    border-radius: var(--r);
    color: var(--on-surface-variant);
    cursor: pointer;
}
.nav-toggle:hover {
    background: var(--surface-container);
}
.btn.header-cta {
    display: none;
}
@media (min-width: 40em) {
    .btn.header-cta {
        display: inline-flex;
    }
}
@media (min-width: 64em) {
    .nav-toggle {
        display: none;
    }
    .nav,
    .nav.is-open {
        display: block;
        position: static;
        background: none;
        border: 0;
        padding: 0;
    }
    .nav__list {
        flex-direction: row;
        margin: 0;
    }
    .nav .btn {
        display: none;
    }
}
/* buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 2.75rem;
    padding: 0.625rem 1.5rem;
    border: 1px solid transparent;
    border-radius: var(--r);
    font: 500 0.875rem/1.25rem var(--font);
    text-decoration: none;
    cursor: pointer;
    transition:
        background var(--t),
        color var(--t),
        border-color var(--t);
}
.btn--primary {
    background: var(--primary);
    color: #fff;
    box-shadow: var(--shadow-1);
}
.btn--primary:hover {
    background: var(--primary-container);
}
.btn--secondary {
    background: var(--secondary);
    color: #fff;
    box-shadow: var(--shadow-1);
}
.btn--secondary:hover {
    background: var(--secondary-container);
    color: var(--on-secondary-container);
}
.btn--soft {
    background: var(--surface-container);
    color: var(--secondary);
}
.btn--soft:hover {
    background: var(--surface-high);
}
.btn--outline {
    background: #fff;
    border-color: #e2e8f0;
    color: #1e293b;
}
.btn--outline:hover {
    background: #f0f4f8;
}
.btn--block {
    width: 100%;
}
.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    align-items: center;
}
.wa-float {
    position: fixed;
    right: var(--space-md);
    bottom: var(--space-md);
    z-index: 60;
    box-shadow: var(--shadow-2);
    border-radius: 99px;
}
/* badges, cards, panels */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.75rem;
    border-radius: 99px;
    background: var(--surface-low);
    color: var(--on-surface-variant);
    font-size: 0.6875rem;
    line-height: 0.875rem;
    font-weight: 600;
}
.badge--strong {
    background: var(--surface-highest);
    color: var(--primary);
}
.badge--teal {
    background: rgb(137 245 231/0.5);
    color: var(--on-secondary-fixed-variant);
}
.badge--demo,
.placeholder {
    background: var(--amber-bg);
    color: var(--amber-text);
    border: 1px solid var(--amber-border);
}
.placeholder {
    display: inline;
    padding: 0 0.35em;
    border-radius: var(--r-sm);
    font-weight: 500;
}
.badge .icon {
    color: var(--secondary);
    width: 0.9rem;
    height: 0.9rem;
}
.card {
    background: #fff;
    border: var(--border);
    border-radius: var(--r-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-1);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    transition:
        box-shadow var(--t),
        border-color var(--t);
}
.card:hover {
    box-shadow: var(--shadow-2);
    border-color: #cbd5e1;
}
.card > .btn:last-child,
.card > .card__foot {
    margin-top: auto;
}
.card__icon {
    display: grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--r);
    background: var(--surface-container);
    color: var(--primary);
}
.card__tag {
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.note {
    display: flex;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--r);
    font-size: 0.75rem;
    line-height: 1rem;
    background: var(--surface-low);
    color: var(--on-surface-variant);
}
.panel {
    background: var(--surface-low);
    border-radius: var(--r-xl);
    padding: var(--space-lg);
}
.panel--navy {
    background: var(--primary);
    color: #e6eef6;
}
.panel--navy h2,
.panel--navy h3 {
    color: #fff;
}
.disclaimer {
    display: flex;
    gap: var(--space-md);
    background: var(--surface-container);
    border-radius: var(--r-xl);
    padding: var(--space-lg);
}
.disclaimer h2 {
    font-size: 1rem;
    line-height: 1.5rem;
}
.disclaimer p {
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: var(--on-surface-variant);
    margin-top: var(--space-xs);
}
.disclaimer__icon {
    flex: none;
    display: grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: var(--error-container);
    color: var(--on-error-container);
}
.media {
    position: relative;
    border-radius: var(--r-xl);
    overflow: hidden;
    border: var(--border);
    background: var(--surface-container);
    box-shadow: var(--shadow-1);
}
.photo-ph {
    aspect-ratio: 4/3;
    display: grid;
    place-items: center;
    text-align: center;
    padding: var(--space-lg);
    color: var(--on-surface-variant);
    font-size: 0.875rem;
    background: repeating-linear-gradient(
        45deg,
        var(--surface-container),
        var(--surface-container) 12px,
        var(--surface-low) 12px,
        var(--surface-low) 24px
    );
}
.photo-ph span {
    background: #fff;
    border: var(--border);
    border-radius: var(--r);
    padding: 0.5rem 0.75rem;
}
.info-strip {
    display: grid;
    gap: var(--space-sm);
    background: var(--surface-low);
    border-radius: var(--r-md);
    padding: var(--space-md);
}
.info-strip dt {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--on-surface-variant);
}
.info-strip dd {
    margin: 0;
    font-weight: 600;
    color: var(--primary);
}
@media (min-width: 40em) {
    .info-strip {
        grid-template-columns: repeat(3, 1fr);
    }
}
/* hero */
.hero {
    padding-block: var(--space-lg) var(--space-xl);
}
.hero .stack {
    gap: var(--space-md);
}
.chips {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
}
/* steps */
.step {
    border-top: 3px solid var(--primary);
}
.step:nth-child(2) {
    border-top-color: var(--secondary);
}
.step:nth-child(3) {
    border-top-color: var(--tertiary);
}
.step__n {
    display: grid;
    place-items: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-weight: 700;
}
.step:nth-child(2) .step__n {
    background: var(--secondary);
}
.step:nth-child(3) .step__n {
    background: var(--tertiary);
}
/* faq */
.faq {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    max-width: 52rem;
    margin-inline: auto;
}
.faq__item {
    background: #fff;
    border: var(--border);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-1);
}
.faq__h {
    margin: 0;
    font-size: inherit;
}
.faq__q {
    all: unset;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    width: 100%;
    min-height: 3.5rem;
    padding: var(--space-md) var(--space-lg);
    font-weight: 500;
    color: var(--on-surface);
    cursor: pointer;
}
.faq__q::after {
    content: "";
    width: 0.6rem;
    height: 0.6rem;
    flex: none;
    border-right: 2px solid var(--on-surface-variant);
    border-bottom: 2px solid var(--on-surface-variant);
    transform: rotate(45deg);
    transition: transform var(--t);
}
.faq__q[aria-expanded="true"]::after {
    transform: rotate(-135deg);
}
.faq__q:focus-visible {
    outline: 2px solid var(--ring);
    outline-offset: -2px;
    border-radius: var(--r-lg);
}
.faq__a {
    padding: 0 var(--space-lg) var(--space-lg);
    color: var(--on-surface-variant);
}
/* contact + forms */
.contact-line {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--r);
    background: var(--surface-container);
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}
.contact-line:hover {
    background: var(--surface-high);
}
.contact-line small {
    display: block;
    font-size: 0.6875rem;
    font-weight: 500;
    color: var(--on-surface-variant);
}
.field {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}
.field label {
    font-size: 0.875rem;
    font-weight: 500;
}
.input {
    min-height: 2.75rem;
    padding: 0.5rem 0.75rem;
    border: 1px solid #cbd5e1;
    border-radius: var(--r);
    background: #fff;
    font: inherit;
    color: var(--on-surface);
    width: 100%;
}
textarea.input {
    min-height: 6rem;
    resize: vertical;
}
.input:focus-visible {
    outline: 2px solid var(--ring);
    outline-offset: 0;
}
.form-grid {
    display: grid;
    gap: var(--space-md);
}
@media (min-width: 40em) {
    .form-grid {
        grid-template-columns: 1fr 1fr;
    }
    .form-grid .full {
        grid-column: 1/-1;
    }
}
.map-frame {
    display: block;
    width: 100%;
    height: 20rem;
    border: 0;
    border-radius: var(--r-lg);
    background: var(--surface-container);
}
.hours-row {
    display: flex;
    justify-content: space-between;
    gap: var(--space-md);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--r);
    background: var(--surface-low);
    font-weight: 500;
}
/* filters */
.filters {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}
.chip {
    min-height: 2.25rem;
    padding: 0.35rem 0.9rem;
    border-radius: var(--r);
    border: 1px solid #cbd5e1;
    background: #fff;
    font: 500 0.8125rem var(--font);
    color: var(--on-surface-variant);
    cursor: pointer;
}
.chip[aria-pressed="true"] {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}
/* footer */
.site-footer {
    background: var(--surface-container);
    border-top: var(--border);
    padding-block: var(--space-xl) var(--space-lg);
    font-size: 0.875rem;
    color: var(--on-surface-variant);
}
.site-footer h2 {
    font-size: 0.875rem;
    color: var(--on-surface);
    margin-bottom: var(--space-md);
}
.site-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}
.site-footer a {
    color: var(--on-surface-variant);
}
.site-footer a:hover {
    color: var(--primary);
}
.footer-emergency {
    align-self: start;
    background: #fff;
    border-radius: var(--r-md);
    padding: var(--space-md);
    font-size: 0.75rem;
    line-height: 1.1rem;
    border: var(--border);
}
.footer-bottom {
    border-top: 1px solid var(--outline-variant);
    margin-top: var(--space-xl);
    padding-top: var(--space-md);
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm) var(--space-lg);
    justify-content: space-between;
    font-size: 0.75rem;
}
.dev-banner {
    background: var(--amber-bg);
    color: var(--amber-text);
    font-size: 0.75rem;
    padding: 0.35rem var(--margin);
    text-align: center;
    border-bottom: 1px solid var(--amber-border);
}
.breadcrumbs {
    font-size: 0.8125rem;
    color: var(--on-surface-variant);
}
.breadcrumbs a {
    color: inherit;
}
@media (min-width: 64em) {
    .f-cols {
        display: grid;
        grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
        gap: var(--space-xl);
    }
}
@media (max-width: 63.99em) {
    .f-cols > * {
        margin-bottom: var(--space-lg);
    }
}
.hidden {
    display: none !important;
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    * {
        transition: none !important;
        animation: none !important;
    }
}
.media__item {
    display: block;
    width: 100%;
    height: auto;
}
.photo-ph .play {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.gallery {
    display: grid;
    gap: var(--gutter);
    grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 48em) {
    .gallery {
        grid-template-columns: repeat(3, 1fr);
    }
}
.gallery .photo-ph {
    aspect-ratio: 1;
}
.avatar {
    aspect-ratio: 1;
    border-radius: var(--r-lg);
    overflow: hidden;
}
.avatar .photo-ph {
    aspect-ratio: 1;
    height: 100%;
}
.checklist {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}
.checklist li {
    display: flex;
    gap: var(--space-sm);
    align-items: flex-start;
    color: var(--on-surface-variant);
}
.checklist .icon {
    color: var(--secondary);
    margin-top: 0.2rem;
}
.test-list {
    max-height: 18rem;
    overflow: auto;
    border: 1px solid #cbd5e1;
    border-radius: var(--r);
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    background: #fff;
}
.test-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}
.check {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    min-height: 2.25rem;
    font-size: 0.875rem;
    cursor: pointer;
}
.check input {
    width: 1.125rem;
    height: 1.125rem;
    accent-color: var(--secondary);
    flex: none;
}
fieldset.field {
    border: 0;
    padding: 0;
    margin: 0;
}
fieldset.field legend {
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0;
    margin-bottom: var(--space-xs);
}
.footer-map {
    margin-bottom: var(--space-xl);
}
.footer-map .map-frame {
    height: clamp(20rem, 42vw, 30rem);
}
.footer-map__head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}
.footer-map__head h2 {
    margin: 0;
    font-size: 1.375rem;
    line-height: 1.875rem;
    color: var(--primary);
}
/* Load and scroll animations: transform/opacity only, so no layout shift. Content is visible without JS and with reduced motion. */
@media (prefers-reduced-motion: no-preference) {
    @keyframes fade-up {
        from {
            opacity: 0;
            transform: translateY(16px);
        }
    }
    @keyframes fade-down {
        from {
            opacity: 0;
            transform: translateY(-12px);
        }
    }
    @keyframes pop-in {
        from {
            opacity: 0;
            transform: scale(0.9);
        }
    }
    .site-header {
        animation: fade-down 0.5s ease backwards;
    }
    main > section:first-child > .container > * {
        animation: fade-up 0.6s ease backwards;
    }
    main > section:first-child > .container > :nth-child(2) {
        animation-delay: 0.1s;
    }
    main > section:first-child > .container > :nth-child(3) {
        animation-delay: 0.2s;
    }
    main > section:first-child > .container > :nth-child(n + 4) {
        animation-delay: 0.3s;
    }
    .wa-float,
    .chat-launcher {
        animation: pop-in 0.4s ease 0.7s backwards;
    }
    .reveal {
        opacity: 0;
        transform: translateY(20px);
        transition:
            opacity 0.6s ease,
            transform 0.6s ease;
    }
    .reveal.is-visible {
        opacity: 1;
        transform: none;
    }
    .reveal.is-visible .grid > * {
        animation: fade-up 0.5s ease backwards;
    }
    .reveal.is-visible .grid > :nth-child(2) {
        animation-delay: 0.08s;
    }
    .reveal.is-visible .grid > :nth-child(3) {
        animation-delay: 0.16s;
    }
    .reveal.is-visible .grid > :nth-child(n + 4) {
        animation-delay: 0.24s;
    }
}
@media print {
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}
/* Intro animation (js/intro.js). The cover hides the page only when the head script marks a new session; it removes itself after 4.5 s even if JS fails. */
html.has-intro::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 998;
    background: #fff;
    animation: intro-failsafe 0s linear 4.5s forwards;
}
html.has-intro .site-header,
html.has-intro main > section:first-child > .container > *,
html.has-intro .wa-float,
html.has-intro .chat-launcher {
    animation: none;
}
@keyframes intro-failsafe {
    to {
        opacity: 0;
        visibility: hidden;
    }
}
.intro {
    position: fixed;
    inset: 0;
    z-index: 999;
    display: grid;
    place-items: center;
    background: #fff;
    transition: opacity 0.45s ease;
}
.intro.is-leaving {
    opacity: 0;
    pointer-events: none;
}
.intro__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    text-align: center;
}
.intro svg {
    width: min(15rem, 58vw);
    height: auto;
    overflow: visible;
    margin-bottom: 0.75rem;
}
.intro .draw {
    fill: none;
    stroke: var(--primary);
    stroke-width: 3.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: intro-draw 0.85s ease-out forwards;
}
.intro .draw--tube {
    animation-delay: 0.6s;
    animation-duration: 0.25s;
}
.intro .ear,
.intro .dot {
    fill: var(--secondary);
    opacity: 0;
    animation: intro-show 0.25s ease 0.7s forwards;
}
.intro .piece {
    fill: none;
    stroke: var(--secondary);
    stroke-width: 5;
    opacity: 0;
    animation: intro-show 0.25s ease 0.8s forwards;
}
.intro .beat {
    transform-box: fill-box;
    transform-origin: center;
    animation: intro-beat 0.7s ease 1s 1;
}
.intro .pulse {
    fill: none;
    stroke: var(--secondary);
    stroke-width: 2;
    opacity: 0;
    transform-box: fill-box;
    transform-origin: center;
    animation: intro-pulse 0.7s ease-out 1s 2;
}
.intro__name {
    margin: 0;
    font-size: 1.5rem;
    line-height: 2rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--primary);
    opacity: 0;
    transform: translateY(8px);
    animation: intro-rise 0.6s ease 1.5s forwards;
}
.intro__sub,
.intro__tagline {
    margin: 0;
    font-size: 0.875rem;
    color: var(--on-surface-variant);
    opacity: 0;
    animation: intro-show 0.6s ease 1.75s forwards;
}
.intro__skip {
    position: absolute;
    right: 1rem;
    bottom: 1.5rem;
    min-height: 2.75rem;
    padding: 0.5rem 1rem;
    border: 1px solid var(--outline-variant);
    border-radius: var(--r);
    background: #fff;
    color: var(--primary);
    font: 500 0.875rem var(--font);
    cursor: pointer;
}
.intro__skip:hover {
    background: var(--surface-low);
}
@keyframes intro-draw {
    to {
        stroke-dashoffset: 0;
    }
}
@keyframes intro-show {
    to {
        opacity: 1;
    }
}
@keyframes intro-rise {
    to {
        opacity: 1;
        transform: none;
    }
}
@keyframes intro-beat {
    0%,
    100% {
        transform: scale(1);
    }
    25% {
        transform: scale(1.18);
    }
    50% {
        transform: scale(1);
    }
    70% {
        transform: scale(1.12);
    }
}
@keyframes intro-pulse {
    0% {
        opacity: 0.6;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(2.8);
    }
}
.price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--on-surface-variant);
}
.price strong {
    font-size: 1.5rem;
    line-height: 2rem;
    color: var(--primary);
    font-weight: 700;
}
.price del {
    font-size: 0.9375rem;
}
.pkg-tests {
    font-size: 0.875rem;
    color: var(--on-surface-variant);
}
.pkg-tests summary {
    cursor: pointer;
    min-height: 2.25rem;
    display: flex;
    align-items: center;
    color: var(--secondary);
    font-weight: 600;
}
.pkg-tests ul {
    margin: 0.25rem 0 0;
    padding-left: 1.25rem;
    display: grid;
    gap: 0.15rem;
}
.card__foot {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}
.toolbar {
    display: grid;
    gap: var(--space-md);
}
@media (min-width: 40em) {
    .toolbar {
        grid-template-columns: 2fr 1fr;
    }
}
