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

:root {
    --forest: #1B4332;
    --forest-light: #2D6A4F;
    --forest-dark: #081C15;
    --off-white: #FAF9F6;
    --cream: #F1F0EB;
    --warm-gray: #6B6560;
    --dark: #1A1A1A;
    --white: #FFFFFF;
    --accent: #40916C;
    --accent-light: #52B788;
    --serif: 'Playfair Display', Georgia, serif;
    --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --shadow-sm: 0 1px 3px rgba(27, 67, 50, 0.08);
    --shadow-md: 0 4px 20px rgba(27, 67, 50, 0.10);
    --shadow-lg: 0 8px 40px rgba(27, 67, 50, 0.14);
    --shadow-xl: 0 16px 60px rgba(27, 67, 50, 0.18);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--sans);
    background-color: var(--off-white);
    color: var(--dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========== Navigation ========== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 249, 246, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(27, 67, 50, 0.08);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav.scrolled {
    background: rgba(250, 249, 246, 0.95);
    box-shadow: var(--shadow-sm);
}

.nav-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--serif);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--forest);
}

.nav-logo-icon {
    color: var(--forest);
}

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

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--warm-gray);
    transition: color 0.25s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--forest);
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-links a:hover {
    color: var(--forest);
}

.nav-links a::after:hover {
    width: 100%;
}

.nav-cta {
    background: var(--forest);
    color: var(--white) !important;
    padding: 10px 22px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.88rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: var(--shadow-sm);
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    background: var(--forest-light) !important;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--forest);
    border-radius: 2px;
    transition: all 0.3s;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ========== Hero ========== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background: var(--off-white);
    position: relative;
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 50%, rgba(45, 106, 79, 0.06) 0%, transparent 50%),
                      radial-gradient(circle at 80% 20%, rgba(64, 145, 108, 0.05) 0%, transparent 40%);
    pointer-events: none;
}

.hero-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: 24px;
}

.hero-label-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-light);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.3); }
}

.hero-headline {
    font-family: var(--serif);
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    font-weight: 600;
    line-height: 1.1;
    color: var(--forest-dark);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-headline em {
    font-style: italic;
    color: var(--accent);
}

.hero-subheadline {
    font-size: 1.12rem;
    line-height: 1.7;
    color: var(--warm-gray);
    max-width: 480px;
    margin-bottom: 36px;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 100px;
    font-family: var(--sans);
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary {
    background: var(--forest);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--forest-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--forest);
    border: 2px solid var(--forest);
}

.btn-secondary:hover {
    background: var(--forest);
    color: var(--white);
    transform: translateY(-2px);
}

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

/* Floating Stat Cards */
.hero-stats {
    position: relative;
    height: 420px;
    flex-shrink: 0;
}

.stat-card {
    position: absolute;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px 28px;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    gap: 6px;
    animation: float 6s ease-in-out infinite;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.stat-card--1 {
    top: 0;
    right: 20px;
    animation-delay: 0s;
}

.stat-card--1::before {
    background: linear-gradient(90deg, #E63946, #F1FAEE);
}

.stat-card--2 {
    top: 140px;
    left: 0;
    animation-delay: -2s;
}

.stat-card--2::before {
    background: linear-gradient(90deg, var(--forest), var(--accent-light));
}

.stat-card--3 {
    bottom: 20px;
    right: 40px;
    animation-delay: -4s;
}

.stat-card--3::before {
    background: linear-gradient(90deg, #F4A261, #E76F51);
}

.stat-number {
    font-family: var(--serif);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--forest-dark);
}

.stat-label {
    font-size: 0.82rem;
    color: var(--warm-gray);
    line-height: 1.4;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

.hero-image-col {
    display: none;
}

/* ========== Section Styles ========== */
.section-label {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--serif);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 600;
    line-height: 1.15;
    color: var(--forest-dark);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.section-title em {
    font-style: italic;
    color: var(--accent);
}

.section-subtitle {
    font-size: 1.08rem;
    line-height: 1.7;
    color: var(--warm-gray);
    max-width: 560px;
}

.section-header {
    margin-bottom: 64px;
}

.section-header.center {
    text-align: center;
}

.section-header.center .section-subtitle {
    margin: 0 auto;
}

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

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

.service-card {
    background: var(--off-white);
    border-radius: var(--radius-lg);
    padding: 40px 36px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid transparent;
}

.service-card:hover {
    background: var(--white);
    border-color: rgba(27, 67, 50, 0.1);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.service-card-icon {
    width: 56px;
    height: 56px;
    background: var(--forest);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    margin-bottom: 24px;
    transition: transform 0.3s;
}

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

.service-card-title {
    font-family: var(--serif);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--forest-dark);
    margin-bottom: 12px;
}

.service-card-desc {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--warm-gray);
}

/* ========== About ========== */
.about {
    padding: 100px 0;
    background: var(--off-white);
}

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

.about-image-stack {
    position: relative;
    height: 600px;
}

.about-image-main {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    position: relative;
    z-index: 1;
}

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

.about-image-float {
    position: absolute;
    bottom: -20px;
    right: -30px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    z-index: 2;
    border: 4px solid var(--off-white);
}

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

.about-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--warm-gray);
    margin-bottom: 20px;
}

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

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--dark);
}

.about-feature-icon {
    width: 24px;
    height: 24px;
    background: var(--forest);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
}

/* ========== Coverage ========== */
.coverage {
    padding: 100px 0;
    background: var(--forest-dark);
    position: relative;
    overflow: hidden;
}

.coverage::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 70% 30%, rgba(64, 145, 108, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.coverage-inner {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
    align-items: start;
    position: relative;
    z-index: 1;
}

.coverage .section-label {
    color: var(--accent-light);
}

.coverage .section-title {
    color: var(--white);
}

.coverage .section-title em {
    color: var(--accent-light);
}

.coverage-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(250, 249, 246, 0.7);
    margin-bottom: 32px;
}

.coverage-map {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 2/1;
}

.coverage-map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.coverage-map-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: var(--white);
    padding: 12px 20px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--forest-dark);
    box-shadow: var(--shadow-lg);
}

.map-pin {
    color: #E63946;
}

.coverage-cta-col {
    position: relative;
}

.coverage-cta-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 44px 36px;
    box-shadow: var(--shadow-xl);
}

.cta-emergency-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(230, 57, 70, 0.1);
    color: #E63946;
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.cta-pulse {
    width: 8px;
    height: 8px;
    background: #E63946;
    border-radius: 50%;
    animation: pulse-dot 1.5s ease-in-out infinite;
}

.cta-headline {
    font-family: var(--serif);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--forest-dark);
    line-height: 1.2;
    margin-bottom: 16px;
}

.cta-desc {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--warm-gray);
    margin-bottom: 24px;
}

.cta-divider {
    height: 1px;
    background: var(--cream);
    margin: 24px 0;
}

.cta-secondary {
    font-size: 0.88rem;
    color: var(--warm-gray);
    margin-bottom: 16px;
}

.cta-phone, .cta-email {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 12px;
    transition: all 0.3s;
    background: var(--off-white);
}

.cta-phone {
    color: var(--forest);
}

.cta-phone:hover {
    background: var(--forest);
    color: var(--white);
}

.cta-email {
    color: var(--warm-gray);
}

.cta-email:hover {
    background: var(--cream);
    color: var(--forest);
}

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

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

.contact-desc {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--warm-gray);
    margin-bottom: 36px;
}

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

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-detail-icon {
    width: 44px;
    height: 44px;
    background: var(--off-white);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--forest);
    flex-shrink: 0;
}

.contact-detail strong {
    display: block;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--warm-gray);
    margin-bottom: 4px;
}

.contact-detail span,
.contact-detail a {
    font-size: 1rem;
    font-weight: 500;
    color: var(--dark);
}

.contact-detail a:hover {
    color: var(--forest);
}

/* Contact Form */
.contact-form-col {
    position: relative;
}

.contact-form {
    background: var(--off-white);
    border-radius: var(--radius-xl);
    padding: 40px;
}

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

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--warm-gray);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--cream);
    border-radius: var(--radius-sm);
    font-family: var(--sans);
    font-size: 0.95rem;
    color: var(--dark);
    background: var(--white);
    transition: border-color 0.3s, box-shadow 0.3s;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(64, 145, 108, 0.15);
}

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

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

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

.form-success-icon {
    width: 72px;
    height: 72px;
    background: rgba(64, 145, 108, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin: 0 auto 20px;
}

.form-success h3 {
    font-family: var(--serif);
    font-size: 1.6rem;
    color: var(--forest-dark);
    margin-bottom: 12px;
}

.form-success p {
    color: var(--warm-gray);
    line-height: 1.7;
}

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

.footer-top {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(250, 249, 246, 0.1);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--serif);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-logo-icon {
    color: var(--white);
}

.footer-tagline {
    font-size: 0.92rem;
    line-height: 1.7;
    color: rgba(250, 249, 246, 0.6);
    max-width: 300px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col strong {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-light);
    margin-bottom: 4px;
}

.footer-col a,
.footer-col span {
    font-size: 0.9rem;
    color: rgba(250, 249, 246, 0.6);
    transition: color 0.25s;
    line-height: 1.6;
}

.footer-col a:hover {
    color: var(--white);
}

.emergency-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #E63946 !important;
    font-weight: 600;
}

.emergency-link:hover {
    color: #ff6b6b !important;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-size: 0.85rem;
    color: rgba(250, 249, 246, 0.4);
}

.footer-bottom a {
    color: rgba(250, 249, 246, 0.4);
    transition: color 0.25s;
}

.footer-bottom a:hover {
    color: var(--white);
}

/* ========== Animations ========== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== Responsive ========== */
@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-image-col {
        display: none;
    }

    .hero-stats {
        height: auto;
        display: flex;
        gap: 16px;
        flex-wrap: wrap;
    }

    .stat-card {
        position: relative;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        animation: none;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-image-stack {
        height: 400px;
        order: -1;
    }

    .coverage-inner {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--off-white);
        flex-direction: column;
        padding: 32px 24px;
        gap: 20px;
        border-bottom: 1px solid rgba(27, 67, 50, 0.08);
        box-shadow: var(--shadow-md);
        transform: translateY(-120%);
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .nav-links.open {
        transform: translateY(0);
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .hero-headline {
        font-size: clamp(2.2rem, 8vw, 3rem);
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .about-image-stack {
        height: 320px;
    }

    .about-image-float {
        right: -10px;
        bottom: -10px;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 28px;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        justify-content: center;
    }

    .stat-card {
        width: 100%;
    }

    .coverage-cta-card {
        padding: 28px 24px;
    }
}
