/* ═══════════════════════════════════════════════
   NAYANTARA VISION — Dr. Anshi Gupta
   Oculoplasty & Facial Aesthetics
   ═══════════════════════════════════════════════ */

:root {
    /* Light mode — peacock blue + rosy pink palette */
    --bg:          #f4f5f8;
    --bg-card:     #ffffff;
    --bg-card-alt: #eceef3;
    --bg-elevated: #e2e4eb;
    --primary:     #0058b8;
    --primary-l:   #0070e0;
    --primary-d:   #004090;
    --accent:      #e0879e;
    --accent-l:    #eca3b5;
    --text:        #1a1c22;
    --text-dim:    #444650;
    --text-muted:  #828490;
    --border:      #d0d2da;
    --white:       #ffffff;
    --danger:      #c03030;
    --shadow:      0 4px 24px rgba(20,22,40,0.08);
    --shadow-lg:   0 8px 48px rgba(20,22,40,0.12);
    --nav-bg:      rgba(244,245,248,0.92);
    --radius:      12px;
    --radius-sm:   8px;
    --radius-full: 50px;
    --transition:  0.25s ease;
    --font:        'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display:'Playfair Display', Georgia, 'Times New Roman', serif;
    --max-w:       1200px;
    --nav-h:       72px;
}

/* Dark mode */
html.dark {
    --bg:          #0a0b10;
    --bg-card:     #10121a;
    --bg-card-alt: #161822;
    --bg-elevated: #1c1e2a;
    --primary:     #2a7ee0;
    --primary-l:   #4a98f0;
    --primary-d:   #1a60b8;
    --accent:      #eca3b5;
    --accent-l:    #f4bcc9;
    --text:        #e0e1e6;
    --text-dim:    #9a9ba4;
    --text-muted:  #646670;
    --border:      #222430;
    --white:       #ffffff;
    --danger:      #cc4444;
    --shadow:      0 4px 24px rgba(0,0,0,0.4);
    --shadow-lg:   0 8px 48px rgba(0,0,0,0.5);
    --nav-bg:      rgba(10,11,16,0.92);
}

/* Reset */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary-l); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent); }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }

/* Typography */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.2; color: var(--text); }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); }
p { color: var(--text-dim); }

.hl { color: var(--primary-l); }

.section-label {
    font-family: var(--font);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: all var(--transition);
    border: none;
    cursor: pointer;
    line-height: 1.4;
}
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-l); color: var(--white); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(26,107,106,0.35); }
.btn-accent { background: var(--accent); color: var(--white); }
.btn-accent:hover { background: var(--accent-l); color: var(--white); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--primary-l); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-lg { padding: 1rem 2.2rem; font-size: 1.05rem; }

/* ═══ NAVIGATION ═══ */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: var(--nav-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow var(--transition);
    height: var(--nav-h);
    box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}
.navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.12); }

.nav-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text);
    flex-shrink: 0;
}
.nav-brand-icon { width: 32px; height: 32px; object-fit: contain; }
.nav-brand-text {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}
.nav-links a {
    color: var(--text-dim);
    font-size: 0.88rem;
    font-weight: 500;
    padding: 0.45rem 0.8rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}
.nav-links a:hover { color: var(--text); background: rgba(0,0,0,0.04); }
.nav-cta {
    background: var(--primary) !important;
    color: var(--white) !important;
    padding: 0.45rem 1rem !important;
    margin-left: 0.5rem;
}
.nav-cta:hover { background: var(--primary-l) !important; }

/* Theme Toggle */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: rgba(0,0,0,0.04);
    border: 1px solid var(--border);
    border-radius: 50%;
    cursor: pointer;
    color: var(--text-dim);
    font-size: 1rem;
    transition: all var(--transition);
    flex-shrink: 0;
    margin-left: 0.5rem;
    line-height: 1;
}
.theme-toggle:hover { border-color: var(--primary); color: var(--accent); }

/* Language Toggle */
.lang-toggle {
    display: flex;
    align-items: center;
    background: rgba(0,0,0,0.04);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    padding: 3px;
    margin-left: 0.8rem;
    flex-shrink: 0;
}
.lang-btn {
    padding: 0.25rem 0.7rem;
    font-size: 0.78rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-full);
    background: transparent;
    color: var(--text-muted);
    transition: all var(--transition);
    letter-spacing: 0.03em;
}
.lang-btn.active {
    background: var(--primary);
    color: var(--white);
}

/* Mobile Nav */
.nav-toggle {
    display: none;
    background: none;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.4rem 0.6rem;
    font-size: 1.2rem;
    color: var(--text);
}

/* Smooth theme transition */
html.theme-transition,
html.theme-transition *,
html.theme-transition *::before,
html.theme-transition *::after {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease !important;
}

/* Dark mode overrides */
html.dark .navbar { box-shadow: none; }
html.dark .navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.5); }
html.dark .hero-badge { background: rgba(26,107,106,0.15); border-color: rgba(26,107,106,0.25); color: var(--primary-l); }
html.dark .hero::before { background: radial-gradient(circle, rgba(26,107,106,0.08) 0%, transparent 70%); }
html.dark .nav-links a:hover { background: rgba(255,255,255,0.05); }
html.dark .theme-toggle { background: rgba(255,255,255,0.06); }
html.dark .lang-toggle { background: rgba(255,255,255,0.06); }
html.dark .service-card { box-shadow: none; }
html.dark .service-card:hover { box-shadow: var(--shadow); }
html.dark .philosophy-card { background: var(--bg-elevated); box-shadow: none; }
html.dark .hl { color: var(--primary-l) !important; }

/* ═══ HERO ═══ */
.hero {
    padding: calc(var(--nav-h) + 4rem) 1.5rem 5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(26,107,106,0.08) 0%, transparent 70%);
    pointer-events: none;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(26,107,106,0.1);
    color: var(--primary);
    padding: 0.4rem 1.2rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1.8rem;
    border: 1px solid rgba(26,107,106,0.2);
}
.hero h1 { margin-bottom: 0.4rem; position: relative; }
.hero-sub {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: var(--text-dim);
    max-width: 640px;
    margin: 1rem auto 1.8rem;
    font-weight: 300;
    line-height: 1.7;
}
.hero-doctor {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 0.2rem;
}
.hero-credentials {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ═══ STATS BAR ═══ */
.stats-bar {
    padding: 3rem 1.5rem;
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.stats-grid {
    max-width: var(--max-w);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}
.stat { text-align: center; }
.stat-number {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--accent);
    line-height: 1.1;
}
.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 0.4rem;
}

/* ═══ SECTIONS ═══ */
section { padding: 5rem 1.5rem; }
.section-header { text-align: center; max-width: 650px; margin: 0 auto 3rem; }
.section-header h2 { margin-bottom: 0.5rem; }
.section-header p { font-weight: 300; }
.section-alt { background: var(--bg-card); }

/* ═══ SERVICES GRID ═══ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.5rem;
    max-width: var(--max-w);
    margin: 0 auto;
}
.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    transition: all var(--transition);
    box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}
.service-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.service-card .card-icon { width: 48px; height: 48px; margin-bottom: 1rem; }
.service-card .card-icon svg { width: 100%; height: 100%; }
.service-card h3 { color: var(--text); margin-bottom: 0.5rem; }
.service-card > p { font-size: 0.9rem; line-height: 1.6; margin-bottom: 1rem; color: var(--text-dim); }

.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid var(--border);
    padding-top: 0.8rem;
}
.service-list li {
    font-size: 0.85rem;
    color: var(--text-dim);
    padding: 0.3rem 0 0.3rem 1.4rem;
    position: relative;
    line-height: 1.5;
}
.service-list li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--primary-l);
    font-weight: 700;
    font-size: 0.8rem;
}

/* ═══ RESULTS / BEFORE & AFTER CAROUSEL ═══ */
.carousel-wrapper {
    max-width: var(--max-w);
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}
.carousel-track {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0.5rem 0;
}
.carousel-track::-webkit-scrollbar { display: none; }
.result-card {
    flex: 0 0 280px;
    scroll-snap-align: start;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
}
.result-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}
.result-card img {
    width: 100%;
    height: 280px;
    object-fit: contain;
    display: block;
    background: var(--bg-card-alt);
}
.result-card p {
    padding: 0.7rem 1rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text);
    text-align: center;
}
.carousel-btn {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: var(--bg-card);
    color: var(--text);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    box-shadow: var(--shadow);
}
.carousel-btn:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* ═══ PHILOSOPHY / APPROACH ═══ */
.philosophy-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}
.philosophy-content > p {
    font-size: 1.1rem;
    line-height: 1.85;
    font-weight: 300;
}
.philosophy-content strong { color: var(--text); font-weight: 500; }
.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}
.philosophy-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 1px 6px rgba(0,0,0,0.05);
}
.philosophy-card .icon { font-size: 2rem; margin-bottom: 0.8rem; }
.philosophy-card h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.philosophy-card p { font-size: 0.85rem; }

/* ═══ HOW IT WORKS ═══ */
.steps {
    max-width: 950px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.step { text-align: center; padding: 1.5rem; }
.step-number {
    width: 52px; height: 52px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}
.step h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.step p { font-size: 0.88rem; }

/* ═══ ABOUT ═══ */
.about-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 3rem;
    align-items: start;
}
.about-profile {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
}
.about-avatar {
    width: 110px; height: 110px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-l));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--white);
    font-family: var(--font-display);
}
.about-avatar-img {
    width: 130px; height: 130px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1rem;
    border: 3px solid var(--primary);
    box-shadow: 0 4px 20px rgba(26,107,106,0.3);
}
.about-profile h3 { margin-bottom: 0.2rem; }
.about-profile .role {
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.about-quals {
    text-align: left;
    margin-top: 1.2rem;
    border-top: 1px solid var(--border);
    padding-top: 1rem;
}
.about-quals li {
    font-size: 0.85rem;
    color: var(--text-dim);
    padding: 0.3rem 0 0.3rem 1.2rem;
    position: relative;
}
.about-quals li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--primary-l);
    font-weight: 700;
    font-size: 0.75rem;
}
.about-text h2 { margin-bottom: 1rem; }
.about-text p { margin-bottom: 1rem; line-height: 1.8; }
.about-training { margin-top: 1.2rem; }
.about-training li {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 0.3rem 0;
    font-size: 0.9rem;
    font-style: italic;
    color: var(--text-dim);
}
.about-training .pin { color: var(--accent); font-size: 0.9rem; flex-shrink: 0; margin-top: 3px; }

/* ═══ TIMELINE ═══ */
.timeline {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    padding-left: 2rem;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 0.6rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border);
}
.timeline-item {
    position: relative;
    padding-bottom: 2rem;
    padding-left: 2rem;
}
.timeline-item::before {
    content: '';
    position: absolute;
    left: -1.65rem;
    top: 0.35rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--bg);
    border: 2px solid var(--primary);
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-current::before {
    background: var(--primary);
    box-shadow: 0 0 0 4px rgba(26,107,106,0.2);
}
.timeline-year {
    font-family: var(--font);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.3rem;
}
.timeline-content h3 {
    font-size: 1.05rem;
    margin-bottom: 0.2rem;
}
.timeline-content p {
    font-size: 0.88rem;
    color: var(--text-dim);
    line-height: 1.5;
}

/* ═══ CONTACT ═══ */
.contact-grid {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}
.contact-item {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.contact-item .icon { font-size: 1.8rem; margin-bottom: 0.8rem; }
.contact-logo { max-width: 70%; height: 80px; object-fit: contain; margin: 0 auto 0.8rem; }
.contact-item h3 { font-size: 1rem; margin-bottom: 0.4rem; }
.contact-item p { font-size: 0.88rem; }
.contact-item a { color: var(--primary-l); }
.contact-sub {
    font-size: 0.78rem !important;
    color: var(--text-muted) !important;
    margin-top: 0.3rem;
}

.emergency-bar {
    max-width: 900px;
    margin: 2rem auto 0;
    background: linear-gradient(135deg, var(--primary-d), var(--primary));
    padding: 1.2rem 2rem;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: var(--white);
    font-size: 0.95rem;
    flex-wrap: wrap;
    text-align: center;
}
.emergency-bar a { color: var(--accent-l); font-weight: 600; }

/* ═══ FOOTER ═══ */
.site-footer {
    background: var(--bg-card-alt);
    border-top: 1px solid var(--border);
    padding: 3rem 1.5rem 1.5rem;
}
.footer-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}
.footer-brand-text {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--text);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.footer-brand-icon { width: 36px; height: 36px; object-fit: contain; }
.footer-tagline { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1rem; font-style: italic; }
.footer-col h4 {
    font-family: var(--font);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
    font-weight: 600;
}
.footer-col a {
    display: block;
    color: var(--text-dim);
    font-size: 0.88rem;
    padding: 0.2rem 0;
}
.footer-col a:hover { color: var(--primary-l); }

.footer-bottom {
    max-width: var(--max-w);
    margin: 0 auto;
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* ═══ WHATSAPP FLOAT ═══ */
.whatsapp-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #25D366;
    color: var(--white);
    padding: 0.75rem 1.2rem;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(37,211,102,0.3);
    transition: all var(--transition);
    text-decoration: none;
}
.whatsapp-float:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 28px rgba(37,211,102,0.4);
    color: var(--white);
}
.whatsapp-float svg { width: 22px; height: 22px; fill: currentColor; }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 900px) {
    .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    :root { --nav-h: 64px; }

    .nav-inner { padding: 0 1rem; }
    .nav-links {
        display: none;
        position: fixed;
        top: var(--nav-h);
        left: 0; right: 0;
        background: var(--bg);
        flex-direction: column;
        padding: 1.5rem;
        gap: 0.2rem;
        overflow-y: auto;
        max-height: calc(100vh - var(--nav-h));
        border-top: 1px solid var(--border);
        box-shadow: 0 8px 32px rgba(0,0,0,0.15);
        z-index: 1001;
    }
    .nav-links.open { display: flex; }
    .nav-links a {
        padding: 0.75rem 1rem;
        font-size: 1rem;
        border-radius: var(--radius-sm);
    }
    .nav-links a:hover, .nav-links a:active { background: rgba(0,0,0,0.04); }
    .nav-cta {
        margin-left: 0 !important;
        margin-top: 0.8rem;
        text-align: center;
        justify-content: center;
        padding: 0.85rem 1rem !important;
        font-size: 1rem !important;
        border-radius: var(--radius-sm) !important;
    }
    .nav-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        padding: 0;
        flex-shrink: 0;
    }
    .lang-toggle { margin-left: auto; margin-right: 0.6rem; }

    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .philosophy-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; }
    .emergency-bar { flex-direction: column; }

    .hero { padding-top: calc(var(--nav-h) + 3rem); padding-bottom: 3rem; }
    section { padding: 3.5rem 1.5rem; }

    .whatsapp-float span { display: none; }
    .whatsapp-float { padding: 0.85rem; border-radius: 50%; }
}

@media (max-width: 400px) {
    .nav-brand-text { font-size: 1.05rem; }
    .hero-actions { flex-direction: column; align-items: center; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
    .lang-btn { padding: 0.2rem 0.5rem; font-size: 0.72rem; }
}
