/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', system-ui, sans-serif;
    color: #064e3b;
    background: #fdf6e3;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ─── Typography ─── */
.font-playfair { font-family: 'Playfair Display', Georgia, serif; }
.font-inter { font-family: 'Inter', system-ui, sans-serif; }

/* ─── Buttons ─── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #d97706;
    color: #fff;
    padding: 0.875rem 1.75rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 4px 14px rgba(217,119,6,0.35);
}
.btn-primary:hover {
    background: #b45309;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(217,119,6,0.45);
}
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.12);
    color: #fff;
    padding: 0.875rem 1.75rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.9375rem;
    border: 1.5px solid rgba(255,255,255,0.3);
    transition: background 0.2s, border-color 0.2s, transform 0.15s;
}
.btn-secondary:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-1px);
}

/* ─── Badges ─── */
.badge-hero {
    display: inline-block;
    background: rgba(6,78,59,0.08);
    color: #064e3b;
    padding: 0.4rem 1rem;
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.badge-light {
    display: inline-block;
    background: rgba(255,255,255,0.1);
    color: #d97706;
    padding: 0.4rem 1rem;
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* ─── Inputs ─── */
.input-field {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 0.9375rem;
    color: #064e3b;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: 'Inter', system-ui, sans-serif;
}
.input-field:focus {
    outline: none;
    border-color: #064e3b;
    box-shadow: 0 0 0 3px rgba(6,78,59,0.1);
}
.input-field::placeholder { color: #9ca3af; }

/* ─── Header ─── */
.site-header { position: sticky; top: 0; z-index: 100; background: #fdf6e3; box-shadow: 0 1px 0 rgba(6,78,59,0.08); }
.header-top { font-size: 0.8125rem; }
.header-main { background: #fdf6e3; }
.nav-link { position: relative; }
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #d97706;
    border-radius: 1px;
    transition: width 0.2s;
}
.nav-link:hover::after { width: 60%; }

/* ─── Mobile Menu ─── */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(6,78,59,0.5);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}
.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}
.mobile-menu {
    position: absolute;
    top: 0;
    right: 0;
    width: min(320px, 85vw);
    height: 100%;
    background: #fdf6e3;
    padding: 5rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    box-shadow: -8px 0 30px rgba(0,0,0,0.15);
    transform: translateX(100%);
    transition: transform 0.3s ease;
}
.mobile-menu-overlay.active .mobile-menu { transform: translateX(0); }
.mobile-menu-item {
    padding: 0.875rem 1rem;
    border-radius: 0.5rem;
    font-size: 1.0625rem;
    font-weight: 500;
    color: #064e3b;
    transition: background 0.2s;
}
.mobile-menu-item:hover { background: rgba(6,78,59,0.06); }
.mobile-menu-cta {
    background: #064e3b;
    color: #fff !important;
    text-align: center;
    margin-top: 0.5rem;
}
.mobile-menu-cta:hover { background: #047857 !important; }
.mobile-menu-contact { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(6,78,59,0.1); }

/* ─── Hero ─── */
.hero {
    position: relative;
    overflow: hidden;
    background: #064e3b;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('https://images.pexels.com/photos/5994630/pexels-photo-5994630.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080');
    background-size: cover;
    background-position: center;
}
.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(4,62,46,0.92) 0%, rgba(6,78,59,0.85) 50%, rgba(4,62,46,0.78) 100%);
}

/* ─── Hero Stat Cards ─── */
.hero-stat-card {
    background: #fff;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    transition: transform 0.25s, box-shadow 0.25s;
}
.hero-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.18);
}
.card-float-slow { animation: floatSlow 4s ease-in-out infinite; }
.card-float-fast { animation: floatFast 3.2s ease-in-out infinite; }
@keyframes floatSlow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
@keyframes floatFast {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* ─── Services ─── */
.service-card {
    background: #fff;
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid rgba(6,78,59,0.08);
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(6,78,59,0.1);
    border-color: rgba(6,78,59,0.15);
}
.service-icon {
    width: 56px;
    height: 56px;
    background: #ecfdf5;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    transition: background 0.2s;
}
.service-card:hover .service-icon { background: #d1fae5; }

/* ─── Why Us ─── */
.why-feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.why-feature-icon {
    width: 32px;
    height: 32px;
    background: #ecfdf5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

/* ─── Insurance Cards ─── */
.insurance-card {
    background: #fff;
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid rgba(6,78,59,0.08);
    transition: transform 0.25s, box-shadow 0.25s;
}
.insurance-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(6,78,59,0.1);
}
.insurance-card-icon {
    width: 56px;
    height: 56px;
    background: #ecfdf5;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

/* ─── Scroll Reveal (progressive enhancement) ─── */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .card-float-slow, .card-float-fast {
        animation: none;
    }
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
    .hero { padding: 3rem 0; }
    .hero-stat-card { padding: 1.25rem; }
    .hero-stat-card .text-3xl { font-size: 1.75rem; }
}
