/* =========================================================
   Kurnool Rheumatology Centre
   Design language: Apple HIG + Material You inspired
   Mobile-first, bilingual (EN / Telugu)
   ========================================================= */

/* ---------- Design Tokens ---------- */
:root {
    /* Brand */
    --color-brand: #38b6ff;
    --color-brand-hover: #1a8cd8;
    --color-brand-deep: #0e6fa8;
    --color-brand-tint: #e6f4ff;
    --color-brand-wash: #f0f8ff;

    /* Neutrals */
    --color-ink: #0f172a;
    --color-ink-soft: #334155;
    --color-muted: #64748b;
    --color-line: #e2e8f0;
    --color-line-soft: #f1f5f9;
    --color-surface: #ffffff;
    --color-surface-2: #f8fafc;

    /* Semantic */
    --color-success: #10b981;
    --color-warning: #f59e0b;
    --color-danger:  #ef4444;

    /* Type */
    --font-en: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-te: 'Noto Sans Telugu', 'Inter', sans-serif;

    /* Type scale (fluid) */
    --fs-display: clamp(2.25rem, 4vw + 1rem, 3.75rem);
    --fs-h1: clamp(1.875rem, 2.5vw + 1rem, 2.75rem);
    --fs-h2: clamp(1.5rem, 1.6vw + 1rem, 2rem);
    --fs-h3: clamp(1.25rem, 1vw + 1rem, 1.5rem);
    --fs-h4: 1.125rem;
    --fs-body: 1rem;
    --fs-small: 0.875rem;
    --fs-tiny: 0.75rem;

    /* Spacing (8px base) */
    --s-1: 0.5rem;
    --s-2: 1rem;
    --s-3: 1.5rem;
    --s-4: 2rem;
    --s-5: 3rem;
    --s-6: 4rem;
    --s-7: 6rem;
    --s-8: 8rem;

    /* Radius */
    --r-sm: 8px;
    --r-md: 12px;
    --r-lg: 16px;
    --r-xl: 24px;
    --r-pill: 9999px;

    /* Shadows (soft, layered, Apple-ish) */
    --shadow-1: 0 1px 2px rgba(15, 23, 42, 0.04), 0 1px 1px rgba(15, 23, 42, 0.03);
    --shadow-2: 0 4px 12px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.04);
    --shadow-3: 0 12px 28px rgba(15, 23, 42, 0.08), 0 4px 8px rgba(15, 23, 42, 0.04);
    --shadow-4: 0 24px 48px rgba(15, 23, 42, 0.12), 0 8px 16px rgba(15, 23, 42, 0.06);

    /* Motion */
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --t-fast: 150ms;
    --t-base: 250ms;
    --t-slow: 400ms;

    /* Layout */
    --max-w: 1140px;
    --nav-h: 64px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html, body { height: 100%; }
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-rendering: optimizeLegibility;
}
body {
    font-family: var(--font-en);
    font-size: var(--fs-body);
    line-height: 1.6;
    color: var(--color-ink);
    background-color: var(--color-surface);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
body[lang="te"], .telugu { font-family: var(--font-te); }

img, svg, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
a { color: var(--color-brand-deep); text-decoration: none; transition: color var(--t-fast) var(--ease); }
a:hover { color: var(--color-brand); }
:focus-visible { outline: 2px solid var(--color-brand); outline-offset: 3px; border-radius: 4px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--color-ink);
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); font-weight: 600; }
p  { color: var(--color-ink-soft); }
.lead { font-size: 1.125rem; color: var(--color-ink-soft); }
.eyebrow {
    display: inline-block;
    font-size: var(--fs-small);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-brand-deep);
    margin-bottom: var(--s-2);
}

/* ---------- Layout primitives ---------- */
.wrap {
    width: 100%;
    max-width: var(--max-w);
    margin-inline: auto;
    padding-inline: var(--s-3);
}
.section { padding-block: var(--s-7); }
.section--tight { padding-block: var(--s-5); }
.section--tint { background-color: var(--color-brand-wash); }
.section--soft { background-color: var(--color-surface-2); }

.grid { display: grid; gap: var(--s-3); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

.stack > * + * { margin-top: var(--s-2); }
.stack-lg > * + * { margin-top: var(--s-4); }

.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }
.measure { max-width: 65ch; }
.measure-sm { max-width: 50ch; }

/* ---------- Navigation ---------- */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(255, 255, 255, 0.75);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid transparent;
    transition: border-color var(--t-base) var(--ease), background-color var(--t-base) var(--ease);
}
.nav.scrolled {
    border-bottom-color: var(--color-line);
    background-color: rgba(255, 255, 255, 0.9);
}
.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--s-2);
    height: var(--nav-h);
    max-width: var(--max-w);
    margin-inline: auto;
    padding-inline: var(--s-3);
}
.nav__brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--color-ink);
    letter-spacing: -0.01em;
}
.nav__brand:hover { color: var(--color-ink); }
.nav__brand-mark {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: linear-gradient(135deg, var(--color-brand) 0%, var(--color-brand-deep) 100%);
    color: white;
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: -0.02em;
}
.nav__menu {
    display: flex;
    align-items: center;
    gap: var(--s-1);
    list-style: none;
    padding: 0;
}
.nav__link {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.85rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-ink-soft);
    border-radius: var(--r-sm);
    transition: all var(--t-fast) var(--ease);
}
.nav__link:hover { color: var(--color-ink); background-color: var(--color-line-soft); }
.nav__link.active { color: var(--color-brand-deep); background-color: var(--color-brand-tint); }

.nav__tools {
    display: flex;
    align-items: center;
    gap: var(--s-1);
}
.nav__phone {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.9rem;
    background-color: var(--color-brand);
    color: white;
    border-radius: var(--r-pill);
    font-size: 0.9rem;
    font-weight: 600;
    transition: all var(--t-fast) var(--ease);
}
.nav__phone:hover { background-color: var(--color-brand-deep); color: white; transform: translateY(-1px); }

.lang-toggle {
    display: inline-flex;
    background-color: var(--color-line-soft);
    border-radius: var(--r-pill);
    padding: 3px;
}
.lang-toggle button {
    padding: 0.35rem 0.7rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-muted);
    border-radius: var(--r-pill);
    transition: all var(--t-fast) var(--ease);
}
.lang-toggle button.active {
    background-color: var(--color-surface);
    color: var(--color-ink);
    box-shadow: var(--shadow-1);
}

.menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: var(--r-sm);
    align-items: center;
    justify-content: center;
}
.menu-toggle span {
    display: block;
    position: relative;
    width: 20px;
    height: 2px;
    background-color: var(--color-ink);
    border-radius: 2px;
    transition: all var(--t-base) var(--ease);
}
.menu-toggle span::before,
.menu-toggle span::after {
    content: '';
    position: absolute;
    left: 0;
    width: 20px;
    height: 2px;
    background-color: var(--color-ink);
    border-radius: 2px;
    transition: all var(--t-base) var(--ease);
}
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-toggle.is-open span { background-color: transparent; }
.menu-toggle.is-open span::before { top: 0; transform: rotate(45deg); }
.menu-toggle.is-open span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--r-pill);
    transition: all var(--t-fast) var(--ease);
    text-align: center;
    white-space: nowrap;
}
.btn--primary {
    background-color: var(--color-brand);
    color: white;
    box-shadow: 0 1px 2px rgba(56, 182, 255, 0.3), 0 4px 12px rgba(56, 182, 255, 0.2);
}
.btn--primary:hover {
    background-color: var(--color-brand-deep);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(14, 111, 168, 0.3), 0 8px 24px rgba(56, 182, 255, 0.25);
}
.btn--ghost {
    background-color: var(--color-brand-tint);
    color: var(--color-brand-deep);
}
.btn--ghost:hover { background-color: var(--color-brand); color: white; }
.btn--outline {
    background-color: transparent;
    color: var(--color-ink);
    box-shadow: inset 0 0 0 1.5px var(--color-line);
}
.btn--outline:hover { box-shadow: inset 0 0 0 1.5px var(--color-brand); color: var(--color-brand-deep); }
.btn--lg { padding: 1rem 1.75rem; font-size: 1rem; }
.btn--block { width: 100%; }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    padding-block: var(--s-6) var(--s-7);
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
      radial-gradient(60% 50% at 80% 0%, rgba(56, 182, 255, 0.12) 0%, transparent 60%),
      radial-gradient(40% 40% at 0% 100%, rgba(56, 182, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}
.hero__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--s-5);
    align-items: center;
}
@media (min-width: 900px) {
    .hero__inner { grid-template-columns: 1.1fr 0.9fr; gap: var(--s-6); }
}
.hero__title {
    font-size: var(--fs-display);
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin-bottom: var(--s-3);
}
.hero__title .accent { color: var(--color-brand); }
.hero__lead {
    font-size: 1.15rem;
    color: var(--color-ink-soft);
    margin-bottom: var(--s-4);
    max-width: 56ch;
}
.hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--s-2);
    margin-bottom: var(--s-5);
}
.hero__media {
    aspect-ratio: 4 / 5;
    border-radius: var(--r-xl);
    background: linear-gradient(135deg, var(--color-brand-tint) 0%, var(--color-brand-wash) 100%);
    box-shadow: var(--shadow-3);
    overflow: hidden;
    position: relative;
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: var(--color-brand-deep);
    font-weight: 600;
    text-align: center;
    padding: var(--s-3);
    opacity: 0.6;
}

/* ---------- Stats strip ---------- */
.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--s-2);
    padding: var(--s-3);
    background-color: var(--color-surface);
    border: 1px solid var(--color-line);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-1);
}
.stat { text-align: center; }
.stat__num {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--color-brand-deep);
    line-height: 1;
    margin-bottom: 0.35rem;
}
.stat__label {
    font-size: var(--fs-small);
    color: var(--color-muted);
    font-weight: 500;
}

/* ---------- Cards ---------- */
.card {
    display: block;
    padding: var(--s-3);
    background-color: var(--color-surface);
    border: 1px solid var(--color-line);
    border-radius: var(--r-lg);
    transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
    color: inherit;
    height: 100%;
}
.card:hover {
    color: inherit;
    transform: translateY(-3px);
    box-shadow: var(--shadow-3);
    border-color: transparent;
}
.card__icon {
    width: 44px;
    height: 44px;
    border-radius: var(--r-md);
    background-color: var(--color-brand-tint);
    color: var(--color-brand-deep);
    display: grid;
    place-items: center;
    font-size: 1.4rem;
    margin-bottom: var(--s-2);
}
.card__title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: var(--color-ink);
}
.card__text { font-size: 0.95rem; color: var(--color-muted); margin: 0; }
.card__arrow {
    margin-top: var(--s-2);
    color: var(--color-brand-deep);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

/* Feature card (alternate) */
.feature-card {
    padding: var(--s-4);
    background-color: var(--color-surface);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-2);
}
.feature-card__head {
    display: flex;
    align-items: center;
    gap: var(--s-2);
    margin-bottom: var(--s-2);
}

/* ---------- Condition / detail card ---------- */
.detail-card {
    padding: var(--s-4);
    background-color: var(--color-surface);
    border-radius: var(--r-lg);
    border: 1px solid var(--color-line);
    margin-bottom: var(--s-3);
}
.detail-card h3 { color: var(--color-brand-deep); margin-bottom: var(--s-2); display: flex; align-items: center; gap: 0.6rem; }
.detail-card h4 { margin-top: var(--s-3); margin-bottom: var(--s-1); color: var(--color-ink); font-size: 1rem; font-weight: 600; }
.detail-card ul { margin: 0; padding-left: 1.25rem; color: var(--color-ink-soft); }
.detail-card li { margin-bottom: 0.35rem; }

/* ---------- Section header ---------- */
.section-head {
    text-align: center;
    max-width: 60ch;
    margin: 0 auto var(--s-5);
}
.section-head h2 { margin-bottom: var(--s-2); }
.section-head p { color: var(--color-muted); font-size: 1.05rem; }

/* ---------- Callout / info box ---------- */
.callout {
    padding: var(--s-3);
    background-color: var(--color-brand-tint);
    border-left: 3px solid var(--color-brand);
    border-radius: var(--r-md);
    color: var(--color-ink-soft);
}
.callout--warning {
    background-color: #fff7ed;
    border-left-color: var(--color-warning);
}

/* ---------- FAQ accordion ---------- */
.faq-item {
    border: 1px solid var(--color-line);
    border-radius: var(--r-md);
    margin-bottom: var(--s-1);
    background: var(--color-surface);
    overflow: hidden;
    transition: box-shadow var(--t-base) var(--ease);
}
.faq-item[open] { box-shadow: var(--shadow-2); border-color: var(--color-brand-tint); }
.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: var(--s-3);
    font-weight: 600;
    color: var(--color-ink);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--s-2);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    color: var(--color-brand);
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 1;
    transition: transform var(--t-base) var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item__body { padding: 0 var(--s-3) var(--s-3); color: var(--color-ink-soft); }

/* ---------- Forms ---------- */
.form { display: grid; gap: var(--s-2); }
.form__group { display: flex; flex-direction: column; gap: 0.4rem; }
.form__label { font-size: 0.875rem; font-weight: 600; color: var(--color-ink-soft); }
.form__input, .form__textarea {
    padding: 0.75rem 1rem;
    background-color: var(--color-surface);
    border: 1.5px solid var(--color-line);
    border-radius: var(--r-md);
    transition: all var(--t-fast) var(--ease);
    width: 100%;
    color: var(--color-ink);
}
.form__input:focus, .form__textarea:focus {
    outline: none;
    border-color: var(--color-brand);
    box-shadow: 0 0 0 4px rgba(56, 182, 255, 0.15);
}
.form__textarea { resize: vertical; min-height: 120px; }
.form .error-message {
    color: var(--color-danger);
    font-size: var(--fs-small);
    margin-top: 0.2rem;
}
.form__input.error, .form__textarea.error { border-color: var(--color-danger); }

/* ---------- Profile (Team page) ---------- */
.profile {
    display: grid;
    gap: var(--s-5);
    grid-template-columns: 1fr;
    align-items: start;
}
@media (min-width: 800px) {
    .profile { grid-template-columns: 280px 1fr; }
}
.profile__photo {
    aspect-ratio: 1;
    border-radius: var(--r-xl);
    background: linear-gradient(135deg, var(--color-brand-tint), var(--color-brand-wash));
    box-shadow: var(--shadow-3);
    overflow: hidden;
}
.profile__photo img { width: 100%; height: 100%; object-fit: cover; }
.profile__creds {
    list-style: none;
    padding: 0;
    margin: var(--s-2) 0 var(--s-3);
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.profile__creds li {
    padding: 0.3rem 0.7rem;
    background-color: var(--color-brand-tint);
    color: var(--color-brand-deep);
    border-radius: var(--r-pill);
    font-size: 0.8rem;
    font-weight: 600;
}

/* ---------- Testimonials ---------- */
.testimonial {
    padding: var(--s-3);
    background-color: var(--color-surface);
    border-radius: var(--r-lg);
    border: 1px solid var(--color-line);
    height: 100%;
}
.testimonial__quote {
    font-size: 1.02rem;
    color: var(--color-ink-soft);
    margin-bottom: var(--s-2);
    line-height: 1.6;
}
.testimonial__quote::before { content: '“'; color: var(--color-brand); font-size: 2rem; line-height: 0; vertical-align: -0.3em; margin-right: 0.15rem; }
.testimonial__author {
    display: flex;
    align-items: center;
    gap: var(--s-2);
    padding-top: var(--s-2);
    border-top: 1px solid var(--color-line-soft);
}
.testimonial__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-brand), var(--color-brand-deep));
    color: white;
    display: grid;
    place-items: center;
    font-weight: 600;
    font-size: 0.95rem;
    flex-shrink: 0;
}
.testimonial__name { font-weight: 600; color: var(--color-ink); font-size: 0.95rem; }
.testimonial__meta { font-size: 0.8rem; color: var(--color-muted); }

/* ---------- Map embed ---------- */
.map-embed {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--shadow-2);
    border: 1px solid var(--color-line);
}
.map-embed iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Contact info block ---------- */
.contact-info { display: grid; gap: var(--s-3); }
.contact-row {
    display: flex;
    gap: var(--s-2);
    align-items: flex-start;
}
.contact-row__icon {
    width: 40px;
    height: 40px;
    border-radius: var(--r-md);
    background-color: var(--color-brand-tint);
    color: var(--color-brand-deep);
    display: grid;
    place-items: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.contact-row__label { font-size: var(--fs-small); color: var(--color-muted); margin-bottom: 0.1rem; }
.contact-row__value { font-weight: 600; color: var(--color-ink); }
.contact-row__value a { color: var(--color-ink); }
.contact-row__value a:hover { color: var(--color-brand-deep); }

/* ---------- Floating call button (mobile only) ---------- */
.fab-call {
    position: fixed;
    right: var(--s-2);
    bottom: var(--s-2);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-brand) 0%, var(--color-brand-deep) 100%);
    color: white;
    display: none;
    place-items: center;
    box-shadow: 0 8px 24px rgba(14, 111, 168, 0.4);
    z-index: 99;
    transition: transform var(--t-fast) var(--ease);
}
.fab-call:hover { color: white; transform: scale(1.05); }

/* ---------- Footer ---------- */
.footer {
    background-color: var(--color-ink);
    color: #cbd5e1;
    padding-block: var(--s-6) var(--s-3);
    margin-top: var(--s-7);
}
.footer h4 {
    color: white;
    margin-bottom: var(--s-2);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}
.footer__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--s-4);
    margin-bottom: var(--s-4);
}
.footer__brand-name { font-weight: 700; color: white; font-size: 1.05rem; margin-bottom: 0.4rem; }
.footer a { color: #cbd5e1; display: block; padding: 0.25rem 0; font-size: 0.92rem; }
.footer a:hover { color: white; }
.footer p { color: #94a3b8; font-size: 0.9rem; }
.footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: var(--s-3);
    text-align: center;
    font-size: 0.85rem;
    color: #64748b;
}

/* ---------- Animations ---------- */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
.fade-up { animation: fadeUp 0.6s var(--ease) both; }
.fade-in { animation: fadeIn 0.5s var(--ease) both; }
.animate-on-scroll { opacity: 0; transform: translateY(20px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.animate-on-scroll.in-view { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
    .nav__menu {
        position: fixed;
        top: var(--nav-h);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background-color: rgba(255, 255, 255, 0.98);
        -webkit-backdrop-filter: blur(20px);
        backdrop-filter: blur(20px);
        padding: var(--s-2);
        max-height: 0;
        overflow: hidden;
        transition: max-height var(--t-base) var(--ease);
        border-bottom: 1px solid var(--color-line);
    }
    .nav__menu.is-open { max-height: 80vh; overflow-y: auto; }
    .nav__link { padding: 0.85rem 1rem; border-radius: var(--r-md); font-size: 1rem; }
    .menu-toggle { display: inline-flex; }
    .nav__tools .nav__phone { display: none; } /* swap to fab on mobile */
    .fab-call { display: grid; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
