/* ============================================
   MIAMI SLEEP DISORDERS CENTER
   Bold Editorial Style — Teal & Slate Grey
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    --teal-50: #f0fdfa;
    --teal-100: #ccfbf1;
    --teal-200: #99f6e4;
    --teal-300: #5eead4;
    --teal-400: #2dd4bf;
    --teal-500: #14b8a6;
    --teal-600: #0d9488;
    --teal-700: #0f766e;
    --teal-800: #115e59;
    --teal-900: #134e4a;
    
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --slate-950: #020617;
    
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);
    --shadow-teal: 0 8px 30px rgba(13,148,136,0.25);
}

/* --- Reset & Base --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--slate-800);
    background-color: #fefefe;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img, svg {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul, ol {
    list-style: none;
}

label {
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--slate-700);
}

/* --- Skip Link --- */
.skip-link {
    position: absolute;
    top: -100%;
    left: var(--space-md);
    background: var(--teal-700);
    color: #fff;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-sm);
    z-index: 1000;
    font-weight: 600;
    transition: top 0.2s;
}
.skip-link:focus {
    top: var(--space-md);
}

/* --- Container --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* --- Typography --- */
.eyebrow, .section-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--teal-600);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.eyebrow-line {
    display: inline-block;
    width: 24px;
    height: 2px;
    background: var(--teal-500);
    border-radius: 1px;
}

.section-eyebrow {
    margin-bottom: var(--space-md);
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--slate-900);
    margin-bottom: var(--space-lg);
    letter-spacing: -0.02em;
}

.text-teal {
    color: var(--teal-600);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.9375rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
    white-space: nowrap;
    border: 2px solid transparent;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.btn-teal {
    background: var(--teal-600);
    color: #fff;
    border-color: var(--teal-600);
}
.btn-teal:hover {
    background: var(--teal-700);
    border-color: var(--teal-700);
    transform: translateY(-1px);
    box-shadow: var(--shadow-teal);
}

.btn-outline-white {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.5);
}
.btn-outline-white:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
}

.btn-outline-teal {
    background: transparent;
    color: var(--teal-600);
    border-color: var(--teal-600);
}
.btn-outline-teal:hover {
    background: var(--teal-50);
}

/* --- Site Wrapper --- */
.site-wrapper {
    position: relative;
    overflow: hidden;
}

.decoration-lines {
    position: fixed;
    top: 0;
    left: 5%;
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--slate-200), transparent);
    z-index: 0;
    pointer-events: none;
}
.decoration-lines::after {
    content: '';
    position: absolute;
    left: 120px;
    top: 0;
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--slate-100), transparent);
}

/* --- Header --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(254,254,254,0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--slate-100);
    transition: box-shadow 0.3s ease;
}
.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md) var(--space-lg);
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-serif);
}

.logo-icon {
    color: var(--teal-600);
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.logo-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--slate-900);
}

.logo-sub {
    font-size: 0.6875rem;
    font-weight: 500;
    color: var(--slate-500);
    letter-spacing: 0.04em;
}

.logo--light .logo-name {
    color: #fff;
}
.logo--light .logo-sub {
    color: rgba(255,255,255,0.6);
}
.logo--light .logo-icon {
    color: var(--teal-300);
}

/* --- Navigation --- */
.main-nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--slate-600);
    transition: color 0.2s;
    position: relative;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--teal-500);
    transition: width 0.2s;
}
.nav-links a:hover {
    color: var(--teal-600);
}
.nav-links a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-sm);
}
.nav-toggle-line {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--slate-700);
    border-radius: 1px;
    transition: all 0.3s;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
    opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--slate-900);
    padding: calc(80px + var(--space-3xl)) var(--space-lg) var(--space-3xl);
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.6;
    pointer-events: none;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60%;
    height: 140%;
    background: radial-gradient(ellipse, rgba(13,148,136,0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, #fefefe, transparent);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: var(--space-4xl);
    align-items: center;
    width: 100%;
}

.hero-content {
    max-width: 560px;
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--teal-400);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: var(--space-xl);
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.75rem, 5.5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.05;
    color: #fff;
    letter-spacing: -0.025em;
    margin-bottom: var(--space-xl);
}

.hero-subtitle {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--slate-300);
    margin-bottom: var(--space-2xl);
    max-width: 480px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.hero-cards {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.stat-card {
    position: relative;
    padding: var(--space-lg) var(--space-xl);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.3s ease;
}
.stat-card:hover {
    transform: translateX(-4px);
}

.stat-card-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    border-radius: 4px 0 0 4px;
}

.stat-card--teal {
    background: var(--teal-700);
    color: #fff;
}
.stat-card--teal .stat-card-accent {
    background: var(--teal-400);
}

.stat-card--slate {
    background: var(--slate-800);
    color: var(--slate-100);
}
.stat-card--slate .stat-card-accent {
    background: var(--teal-500);
}

.stat-card--white {
    background: #fff;
    color: var(--slate-800);
    box-shadow: var(--shadow-xl);
}
.stat-card--white .stat-card-accent {
    background: var(--teal-500);
}

.stat-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: var(--space-xs);
}

.stat-label {
    font-size: 0.8125rem;
    line-height: 1.5;
    opacity: 0.85;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: var(--space-2xl);
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    color: var(--slate-400);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}

/* --- Conditions --- */
.conditions {
    padding: var(--space-4xl) 0;
    background: #fefefe;
}

.section-header {
    max-width: 640px;
    margin-bottom: var(--space-3xl);
}

.conditions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.condition-card {
    background: #fff;
    border: 1px solid var(--slate-100);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.condition-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--teal-500);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}
.condition-card:hover {
    border-color: var(--teal-200);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}
.condition-card:hover::before {
    transform: scaleX(1);
}

.condition-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--teal-50);
    border-radius: var(--radius-md);
    color: var(--teal-600);
    margin-bottom: var(--space-md);
}

.condition-name {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: var(--space-sm);
}

.condition-desc {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--slate-600);
    margin-bottom: var(--space-md);
}

.condition-tag {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--teal-700);
    background: var(--teal-50);
    padding: 0.25rem 0.625rem;
    border-radius: 20px;
    border: 1px solid var(--teal-100);
}

/* --- Services --- */
.services {
    padding: var(--space-4xl) 0;
    background: var(--slate-50);
}

.services-layout {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: var(--space-4xl);
    align-items: start;
}

.services-text {
    position: sticky;
    top: 120px;
}

.services-intro {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--slate-600);
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.service-item {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: var(--space-lg);
    padding: var(--space-xl) 0;
    border-bottom: 1px solid var(--slate-200);
}
.service-item:first-child {
    border-top: 1px solid var(--slate-200);
}

.service-num {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--teal-200);
    line-height: 1;
    padding-top: 0.25rem;
}

.service-name {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: var(--space-xs);
}

.service-desc {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--slate-600);
}

/* --- About --- */
.about {
    padding: var(--space-4xl) 0;
    background: #fefefe;
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 4/5;
}

.about-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15,23,42,0.3) 0%, transparent 50%);
    pointer-events: none;
}

.about-accent-card {
    position: absolute;
    bottom: var(--space-lg);
    left: var(--space-lg);
    right: var(--space-lg);
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-md);
    padding: var(--space-md) var(--space-lg);
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.accent-card-number {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--teal-600);
    flex-shrink: 0;
}

.accent-card-text {
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--slate-600);
}

.about-content-col {
    max-width: 520px;
}

.about-body {
    margin-bottom: var(--space-2xl);
}

.about-body p {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--slate-600);
    margin-bottom: var(--space-md);
}

.about-body p:last-child {
    margin-bottom: 0;
}

.about-body strong {
    color: var(--slate-800);
}

.about-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.value-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--slate-700);
}

.value-item svg {
    color: var(--teal-500);
    flex-shrink: 0;
}

/* --- Testimonials --- */
.testimonials {
    padding: var(--space-4xl) 0;
    background: var(--slate-900);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(ellipse at right, rgba(13,148,136,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.testimonials .section-header {
    text-align: center;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.testimonials .section-eyebrow {
    justify-content: center;
    color: var(--teal-400);
}

.testimonials .section-title {
    color: #fff;
    text-align: center;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    position: relative;
    z-index: 1;
}

.testimonial-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    transition: all 0.3s ease;
}
.testimonial-card:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(13,148,136,0.3);
    transform: translateY(-4px);
}

.testimonial-quote-mark {
    font-family: var(--font-serif);
    font-size: 4rem;
    line-height: 0.8;
    color: var(--teal-600);
    opacity: 0.4;
    margin-bottom: var(--space-sm);
}

.testimonial-text {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--slate-300);
    margin-bottom: var(--space-lg);
    font-style: italic;
}

.testimonial-meta {
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255,255,255,0.08);
}

.testimonial-name {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--slate-400);
}

/* --- CTA Banner --- */
.cta-banner {
    position: relative;
    padding: var(--space-4xl) 0;
    background: var(--teal-700);
    overflow: hidden;
}

.cta-bg-pattern {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.5;
}

.cta-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
    margin-bottom: var(--space-md);
    letter-spacing: -0.02em;
}

.cta-subtitle {
    font-size: 1.0625rem;
    color: var(--teal-100);
    margin-bottom: var(--space-2xl);
    line-height: 1.6;
}

.cta-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-md);
}

/* --- Contact --- */
.contact {
    padding: var(--space-4xl) 0;
    background: #fefefe;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: start;
}

.contact-intro {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--slate-600);
    margin-bottom: var(--space-2xl);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.contact-detail {
    display: flex;
    gap: var(--space-md);
}

.contact-detail-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--teal-50);
    border-radius: var(--radius-md);
    color: var(--teal-600);
    flex-shrink: 0;
}

.contact-detail strong {
    display: block;
    font-size: 0.875rem;
    color: var(--slate-900);
    margin-bottom: 2px;
}

.contact-detail p,
.contact-detail a {
    font-size: 0.9375rem;
    color: var(--slate-600);
    line-height: 1.6;
}
.contact-detail a:hover {
    color: var(--teal-600);
    text-decoration: underline;
}

/* --- Contact Form --- */
.contact-form-wrapper {
    background: #fff;
    border: 1px solid var(--slate-100);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-lg);
}

.form-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: var(--space-xs);
}

.form-note {
    font-size: 0.875rem;
    color: var(--slate-500);
    margin-bottom: var(--space-xl);
}

.form-group {
    margin-bottom: var(--space-lg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--slate-800);
    background: var(--slate-50);
    border: 1.5px solid var(--slate-200);
    border-radius: var(--radius-sm);
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--teal-400);
    box-shadow: 0 0 0 3px rgba(13,148,136,0.1);
    background: #fff;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-success {
    text-align: center;
    padding: var(--space-2xl);
}

.form-success svg {
    color: var(--teal-500);
    margin: 0 auto var(--space-md);
}

.form-success h4 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--slate-900);
    margin-bottom: var(--space-sm);
}

.form-success p {
    font-size: 0.9375rem;
    color: var(--slate-600);
}

/* --- Footer --- */
.site-footer {
    background: var(--slate-950);
    color: var(--slate-400);
    padding: var(--space-4xl) 0 var(--space-xl);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--space-4xl);
    padding-bottom: var(--space-3xl);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-brand {
    max-width: 360px;
}

.footer-tagline {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--slate-500);
    margin-top: var(--space-md);
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
}

.footer-col h4 {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--slate-300);
    margin-bottom: var(--space-md);
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-col a {
    font-size: 0.875rem;
    color: var(--slate-500);
    transition: color 0.2s;
}
.footer-col a:hover {
    color: var(--teal-400);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    padding-top: var(--space-xl);
    font-size: 0.8125rem;
    color: var(--slate-600);
}

.footer-disclaimer {
    font-size: 0.75rem;
    color: var(--slate-700);
    line-height: 1.5;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: var(--space-3xl);
    }
    
    .hero-cards {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .stat-card {
        flex: 1;
        min-width: 180px;
    }
    
    .services-layout {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .services-text {
        position: static;
        max-width: 100%;
    }
    
    .about-layout {
        grid-template-columns: 1fr;
        gap: var(--space-3xl);
    }
    
    .about-image-wrapper {
        max-width: 480px;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
        gap: var(--space-3xl);
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        align-items: flex-start;
        padding: 80px var(--space-xl) var(--space-xl);
        gap: var(--space-md);
        box-shadow: var(--shadow-xl);
        transition: right 0.3s ease;
        z-index: 99;
    }
    .nav-links.open {
        right: 0;
    }
    
    .nav-links a {
        font-size: 1rem;
        padding: var(--space-sm) 0;
    }
    
    .nav-links li:last-child {
        margin-top: var(--space-md);
        width: 100%;
    }
    .nav-links li:last-child a {
        width: 100%;
        justify-content: center;
    }
    
    .hero {
        min-height: auto;
        padding-top: calc(80px + var(--space-2xl));
        padding-bottom: var(--space-3xl);
    }
    
    .hero-cards {
        flex-direction: column;
    }
    
    .stat-card {
        min-width: auto;
    }
    
    .conditions-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .about-values {
        grid-template-columns: 1fr;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .footer-links {
        grid-template-columns: 1fr 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .decoration-lines {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        padding: var(--space-lg);
    }
}

/* --- Reduced motion --- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .hero-scroll-indicator {
        animation: none;
    }
}
