/* ===== CSS Custom Properties ===== */
:root {
    --emerald-50: #ecfdf5;
    --emerald-100: #d1fae5;
    --emerald-200: #a7f3d0;
    --emerald-300: #6ee7b7;
    --emerald-400: #34d399;
    --emerald-500: #10b981;
    --emerald-600: #059669;
    --emerald-700: #047857;
    --emerald-800: #065f46;
    --emerald-900: #064e3b;
    
    --cream-50: #fefdf8;
    --cream-100: #fdf9f0;
    --cream-200: #faf3e0;
    --cream-300: #f5e6c8;
    --cream-400: #edc99a;
    
    --dark: #0f1c18;
    --dark-soft: #1a2e26;
    --gray-50: #f8faf9;
    --gray-100: #f1f5f3;
    --gray-200: #e2e8e5;
    --gray-300: #c8d3ce;
    --gray-400: #94a39e;
    --gray-500: #6b7c75;
    --gray-600: #4a5c54;
    --gray-700: #374740;
    --gray-800: #1e2d27;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    
    --shadow-sm: 0 1px 3px rgba(6, 78, 59, 0.06), 0 1px 2px rgba(6, 78, 59, 0.04);
    --shadow-md: 0 4px 16px rgba(6, 78, 59, 0.08), 0 2px 6px rgba(6, 78, 59, 0.04);
    --shadow-lg: 0 12px 40px rgba(6, 78, 59, 0.12), 0 4px 12px rgba(6, 78, 59, 0.06);
    --shadow-xl: 0 24px 60px rgba(6, 78, 59, 0.16), 0 8px 20px rgba(6, 78, 59, 0.08);
    
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== 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-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-700);
    background: var(--cream-50);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Navigation ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(254, 253, 248, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(6, 78, 59, 0.06);
    transition: var(--transition);
}

.nav.scrolled {
    background: rgba(254, 253, 248, 0.95);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--emerald-800);
}

.nav-logo-icon {
    width: 36px;
    height: 36px;
    background: var(--emerald-600);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 0.938rem;
    font-weight: 500;
    color: var(--gray-600);
    transition: var(--transition);
    position: relative;
}

.nav-links a:not(.btn):hover {
    color: var(--emerald-700);
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--emerald-500);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--emerald-700);
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.938rem;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--emerald-600);
    color: white;
    border-color: var(--emerald-600);
}

.btn-primary:hover {
    background: var(--emerald-700);
    border-color: var(--emerald-700);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--emerald-700);
    border-color: var(--emerald-200);
}

.btn-secondary:hover {
    background: var(--emerald-50);
    border-color: var(--emerald-400);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.063rem;
    border-radius: var(--radius-md);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.875rem;
}

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

.btn-light {
    background: white;
    color: var(--emerald-700);
    border-color: white;
}

.btn-light:hover {
    background: var(--cream-100);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-light {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: white;
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--cream-50) 0%, var(--cream-100) 50%, var(--emerald-50) 100%);
    padding: 120px 0 80px;
    overflow: hidden;
}

.geo-shape {
    position: absolute;
    pointer-events: none;
    opacity: 0.5;
}

.geo-circle-1 {
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--emerald-100) 0%, transparent 70%);
    top: -150px;
    right: -100px;
    opacity: 0.6;
}

.geo-circle-2 {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--cream-300) 0%, transparent 70%);
    bottom: 100px;
    left: -80px;
    opacity: 0.5;
}

.geo-triangle {
    width: 0;
    height: 0;
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-bottom: 140px solid var(--emerald-200);
    opacity: 0.25;
    top: 200px;
    right: 80px;
    transform: rotate(15deg);
}

.geo-dots {
    width: 120px;
    height: 120px;
    background-image: radial-gradient(circle, var(--emerald-300) 2px, transparent 2px);
    background-size: 16px 16px;
    opacity: 0.3;
    bottom: 200px;
    right: 200px;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 48px;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

.hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--emerald-500), var(--emerald-400), var(--cream-400));
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--emerald-50);
    color: var(--emerald-700);
    font-size: 0.813rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 50px;
    margin-bottom: 24px;
    border: 1px solid var(--emerald-100);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--dark);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--gray-500);
    line-height: 1.75;
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Floating Stat Cards */
.hero-stats {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
}

.stat-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 24px 28px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.stat-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    border-radius: 0 4px 4px 0;
}

.stat-card--1::before { background: var(--emerald-500); }
.stat-card--2::before { background: var(--cream-400); }
.stat-card--3::before { background: var(--emerald-400); }

.stat-card-accent {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.3;
    right: -20px;
    top: -20px;
}

.stat-card--1 .stat-card-accent { background: var(--emerald-400); }
.stat-card--2 .stat-card-accent { background: var(--cream-400); }
.stat-card--3 .stat-card-accent { background: var(--emerald-300); }

.stat-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-card--1 .stat-icon { background: var(--emerald-100); color: var(--emerald-700); }
.stat-card--2 .stat-icon { background: var(--cream-200); color: var(--gray-700); }
.stat-card--3 .stat-icon { background: var(--emerald-50); color: var(--emerald-600); }

.stat-icon svg {
    width: 28px;
    height: 28px;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--dark);
    line-height: 1.3;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    color: var(--cream-50);
}

.hero-wave svg {
    width: 100%;
    height: 80px;
}

/* ===== Section Styles ===== */
.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 64px;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.813rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--emerald-600);
    background: var(--emerald-50);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 16px;
    border: 1px solid var(--emerald-100);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--dark);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-500);
    line-height: 1.75;
}

/* ===== Services Section ===== */
.services {
    padding: 100px 0;
    background: var(--cream-50);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--emerald-100);
}

.service-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--emerald-50) 0%, transparent 60%);
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover .service-card-bg {
    opacity: 1;
}

.service-icon-wrap {
    position: relative;
    z-index: 1;
    margin-bottom: 20px;
}

.service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--emerald-500), var(--emerald-600));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 8px 24px rgba(5, 150, 105, 0.25);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.05) rotate(-3deg);
}

.service-icon svg {
    width: 32px;
    height: 32px;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.service-card p {
    font-size: 0.938rem;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.service-card-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--emerald-700);
    background: var(--emerald-50);
    padding: 4px 12px;
    border-radius: 50px;
    position: relative;
    z-index: 1;
}

/* ===== About Section ===== */
.about {
    padding: 100px 0;
    background: white;
    overflow: hidden;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-visual {
    position: relative;
}

.about-image-wrap {
    background: linear-gradient(135deg, var(--emerald-100), var(--emerald-200));
    border-radius: var(--radius-xl);
    padding: 48px;
    position: relative;
}

.about-image-placeholder {
    background: white;
    border-radius: var(--radius-lg);
    padding: 60px 40px;
    text-align: center;
    color: var(--emerald-600);
    box-shadow: var(--shadow-lg);
}

.about-image-placeholder svg {
    width: 80px;
    height: 80px;
    margin: 0 auto 16px;
    opacity: 0.6;
}

.about-image-placeholder span {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.125rem;
    color: var(--emerald-800);
}

.about-accent-block {
    position: absolute;
    bottom: -24px;
    right: -24px;
    width: 100px;
    height: 100px;
    background: var(--emerald-600);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: var(--shadow-lg);
    transform: rotate(12deg);
}

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

.about-text {
    font-size: 1.063rem;
    color: var(--gray-500);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    color: var(--gray-700);
    font-size: 0.938rem;
}

.value-check {
    width: 24px;
    height: 24px;
    background: var(--emerald-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald-600);
    flex-shrink: 0;
}

/* ===== Why Section ===== */
.why {
    padding: 100px 0;
    background: var(--emerald-800);
    position: relative;
    overflow: hidden;
}

.why .section-tag {
    background: rgba(255, 255, 255, 0.1);
    color: var(--emerald-200);
    border-color: rgba(255, 255, 255, 0.15);
}

.why .section-title {
    color: white;
}

.why .section-subtitle {
    color: var(--emerald-200);
}

.geo-hex {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    top: -100px;
    left: -100px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

.why-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 40px 36px;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.why-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
}

.why-card-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.08);
    line-height: 1;
    margin-bottom: 16px;
}

.why-card-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--emerald-500), var(--emerald-400));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 20px;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
}

.why-card-icon svg {
    width: 36px;
    height: 36px;
}

.why-card h3 {
    font-family: var(--font-heading);
    font-size: 1.375rem;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
}

.why-card p {
    font-size: 0.938rem;
    color: var(--emerald-200);
    line-height: 1.75;
}

/* ===== Insurance Section ===== */
.insurance {
    padding: 100px 0;
    background: var(--cream-100);
}

.insurance-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background: white;
    border-radius: var(--radius-xl);
    padding: 60px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    position: relative;
}

.insurance-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--emerald-500), var(--cream-400));
}

.insurance-content {
    max-width: 440px;
}

.insurance-content .section-title {
    margin-bottom: 16px;
}

.insurance-content p {
    color: var(--gray-500);
    font-size: 1.063rem;
    line-height: 1.75;
    margin-bottom: 28px;
}

.insurance-visual {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.insurance-icon-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.ins-icon {
    background: var(--emerald-50);
    border: 1px solid var(--emerald-100);
    border-radius: var(--radius-md);
    padding: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald-600);
    transition: var(--transition);
}

.ins-icon:hover {
    background: var(--emerald-100);
    transform: scale(1.03);
}

.ins-icon svg {
    width: 32px;
    height: 32px;
}

.insurance-note {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    color: var(--gray-500);
    background: var(--cream-100);
    padding: 12px 16px;
    border-radius: var(--radius-sm);
}

/* ===== CTA Section ===== */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--emerald-600) 0%, var(--emerald-800) 100%);
    position: relative;
    overflow: hidden;
}

.geo-circle-cta {
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    top: -200px;
    right: -200px;
}

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

.cta-title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 800;
    color: white;
    line-height: 1.2;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.125rem;
    color: var(--emerald-100);
    margin-bottom: 40px;
    line-height: 1.75;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== Contact Section ===== */
.contact {
    padding: 100px 0;
    background: var(--cream-50);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-intro {
    font-size: 1.063rem;
    color: var(--gray-500);
    line-height: 1.75;
    margin-bottom: 36px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-item {
    display: flex;
    gap: 20px;
}

.contact-item-icon {
    width: 52px;
    height: 52px;
    background: var(--emerald-100);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald-700);
    flex-shrink: 0;
}

.contact-item-icon svg {
    width: 20px;
    height: 20px;
}

.contact-item strong {
    display: block;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: var(--dark);
    margin-bottom: 4px;
}

.contact-item p, .contact-item a {
    font-size: 0.938rem;
    color: var(--gray-500);
    line-height: 1.6;
}

.contact-item a:hover {
    color: var(--emerald-600);
}

/* Contact Form */
.contact-form-wrap {
    background: white;
    border-radius: var(--radius-xl);
    padding: 44px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.contact-form-wrap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--emerald-500), var(--cream-400));
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--gray-700);
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-body);
    font-size: 0.938rem;
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-sm);
    color: var(--dark);
    background: var(--cream-50);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--emerald-400);
    background: white;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-400);
}

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

.form-success {
    display: none;
    text-align: center;
    padding: 40px 20px;
}

.form-success.active {
    display: block;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: var(--emerald-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--emerald-600);
}

.form-success h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.form-success p {
    color: var(--gray-500);
    margin-bottom: 24px;
    line-height: 1.7;
}

/* ===== Footer ===== */
.footer {
    background: var(--dark);
    padding: 64px 0 0;
    color: var(--emerald-200);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand p {
    font-size: 0.938rem;
    color: var(--emerald-300);
    line-height: 1.75;
    margin-top: 16px;
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.125rem;
    color: white;
}

.footer-logo-icon {
    width: 36px;
    height: 36px;
    background: var(--emerald-600);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.footer h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.938rem;
    color: white;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.footer-links ul, .footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a, .footer-contact a, .footer-contact li {
    font-size: 0.938rem;
    color: var(--emerald-300);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover, .footer-contact a:hover {
    color: white;
}

.footer-links li svg, .footer-contact li svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    opacity: 0.7;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-size: 0.813rem;
    color: var(--emerald-400);
}

/* ===== Scroll Reveal ===== */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays */
.scroll-reveal[data-reveal].delay-1 { transition-delay: 0.1s; }
.scroll-reveal[data-reveal].delay-2 { transition-delay: 0.2s; }
.scroll-reveal[data-reveal].delay-3 { transition-delay: 0.3s; }
.scroll-reveal[data-reveal].delay-4 { transition-delay: 0.4s; }
.scroll-reveal[data-reveal].delay-5 { transition-delay: 0.5s; }
.scroll-reveal[data-reveal].delay-6 { transition-delay: 0.6s; }

/* ===== Mobile Menu ===== */
.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 28, 24, 0.5);
    z-index: 998;
    opacity: 0;
    transition: var(--transition);
}

.mobile-overlay.active {
    display: block;
    opacity: 1;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .stat-card {
        flex: 1;
        min-width: 200px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .insurance-wrapper {
        grid-template-columns: 1fr;
        padding: 40px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: center;
        gap: 24px;
        padding: 40px;
        box-shadow: var(--shadow-xl);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
    }
    
    .nav-links.open {
        right: 0;
    }
    
    .nav-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 1001;
    }
    
    .hero {
        padding: 100px 0 80px;
        min-height: auto;
    }
    
    .hero-card {
        padding: 32px 24px;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        justify-content: center;
    }
    
    .hero-stats {
        flex-direction: column;
    }
    
    .stat-card {
        min-width: auto;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-values {
        grid-template-columns: 1fr;
    }
    
    .about-accent-block {
        width: 70px;
        height: 70px;
        bottom: -16px;
        right: -16px;
    }
    
    .insurance-wrapper {
        padding: 28px;
    }
    
    .insurance-icon-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrap {
        padding: 28px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .section-header {
        margin-bottom: 48px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .btn-lg {
        padding: 14px 28px;
        font-size: 0.938rem;
    }
}

/* ===== Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .scroll-reveal[data-reveal] {
        opacity: 1;
        transform: none;
    }
}
