/* ========================================
   CSS Custom Properties
   ======================================== */
:root {
    --forest-dark: #1B4332;
    --forest-mid: #2D6A4F;
    --forest-light: #40916C;
    --forest-pale: #52B788;
    --forest-xpale: #95D5B2;
    --forest-ghost: #D8F3DC;
    --off-white: #FEFAE0;
    --cream: #FDF6E3;
    --warm-white: #FFFFFF;
    --text-dark: #1A1A1A;
    --text-mid: #3D3D3D;
    --text-light: #6B6B6B;
    --text-muted: #999999;
    --shadow-sm: 0 2px 8px rgba(27, 67, 50, 0.08);
    --shadow-md: 0 4px 20px rgba(27, 67, 50, 0.12);
    --shadow-lg: 0 8px 40px rgba(27, 67, 50, 0.16);
    --shadow-xl: 0 16px 60px rgba(27, 67, 50, 0.2);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 28px;
    --radius-xl: 36px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-dark);
    background-color: var(--off-white);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
    line-height: 1.2;
    color: var(--forest-dark);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

ul {
    list-style: none;
}

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

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    text-align: center;
}

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

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

.btn-outline {
    background: transparent;
    color: var(--forest-dark);
    border-color: var(--forest-dark);
}

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

.btn-lg {
    padding: 18px 36px;
    font-size: 1.05rem;
}

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

/* ========================================
   Section Helpers
   ======================================== */
.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--forest-light);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

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

/* ========================================
   Navbar
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(254, 250, 224, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(27, 67, 50, 0.08);
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-sm);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--forest-dark);
}

.logo-text {
    letter-spacing: -0.3px;
}

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

.nav-links a {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-mid);
    position: relative;
}

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

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

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

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

.mobile-menu-btn span {
    width: 24px;
    height: 2.5px;
    background: var(--forest-dark);
    border-radius: 2px;
    transition: var(--transition);
}

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

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

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

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

.hero-bg-shape {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(82, 181, 136, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--warm-white);
    border: 1px solid var(--forest-xpale);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--forest-mid);
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--forest-pale);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

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

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    color: var(--forest-dark);
    margin-bottom: 24px;
    line-height: 1.15;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 36px;
    line-height: 1.8;
    max-width: 520px;
}

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

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

.hero-card {
    background: var(--warm-white);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid rgba(27, 67, 50, 0.06);
}

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

.hero-card--primary {
    background: var(--forest-dark);
    color: var(--warm-white);
    border: none;
}

.hero-card--primary .card-label {
    color: rgba(255, 255, 255, 0.8);
}

.hero-card--primary .card-icon svg {
    stroke: var(--forest-xpale);
}

.hero-card--secondary {
    background: var(--forest-mid);
    color: var(--warm-white);
    border: none;
}

.hero-card--secondary .card-label {
    color: rgba(255, 255, 255, 0.8);
}

.hero-card--secondary .card-icon svg {
    stroke: var(--forest-xpale);
}

.hero-card--accent {
    background: var(--warm-white);
    border: 2px solid var(--forest-xpale);
}

.hero-card--accent .card-label {
    color: var(--text-light);
}

.card-icon {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hero-card--accent .card-icon {
    background: var(--forest-ghost);
}

.card-icon svg {
    stroke: var(--forest-dark);
}

.card-number {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--forest-dark);
}

.hero-card--primary .card-number,
.hero-card--secondary .card-number {
    color: var(--warm-white);
}

.card-label {
    font-size: 0.88rem;
    color: var(--text-light);
    margin-top: 2px;
}

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

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

.service-card {
    background: var(--off-white);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.service-card:hover {
    background: var(--warm-white);
    border-color: var(--forest-xpale);
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: var(--forest-ghost);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--forest-dark);
}

.service-card:hover .service-icon svg {
    stroke: var(--warm-white);
}

.service-icon svg {
    stroke: var(--forest-dark);
    transition: var(--transition);
}

.service-card h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--forest-dark);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
}

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

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

.about-image-wrapper {
    position: relative;
}

.about-image {
    border-radius: var(--radius-xl);
    width: 100%;
    height: 500px;
    object-fit: cover;
    box-shadow: var(--shadow-lg);
}

.about-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    background: var(--forest-ghost);
    border-radius: var(--radius-xl);
    z-index: -1;
}

.about-content .section-tag {
    margin-bottom: 12px;
}

.about-content .section-title {
    margin-bottom: 24px;
}

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

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

.about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-mid);
}

.about-feature svg {
    flex-shrink: 0;
}

/* ========================================
   Insurance Section
   ======================================== */
.insurance {
    padding: 100px 0;
    background: var(--forest-dark);
    color: var(--warm-white);
}

.insurance .section-tag {
    color: var(--forest-xpale);
}

.insurance .section-title {
    color: var(--warm-white);
    margin-bottom: 16px;
}

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

.insurance-desc {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
}

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

.insurance-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: var(--transition);
}

.insurance-card:hover {
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-4px);
}

.insurance-card-icon {
    width: 56px;
    height: 56px;
    background: rgba(149, 213, 178, 0.2);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.insurance-card-icon svg {
    stroke: var(--forest-xpale);
}

.insurance-card h4 {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--warm-white);
    margin-bottom: 10px;
}

.insurance-card p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
}

/* ========================================
   FAQ Section
   ======================================== */
.faq {
    padding: 100px 0;
    background: var(--off-white);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--warm-white);
    border-radius: var(--radius-md);
    border: 1px solid rgba(27, 67, 50, 0.08);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-sm);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 28px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: 'DM Sans', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--forest-dark);
    gap: 16px;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--forest-mid);
}

.faq-toggle {
    width: 32px;
    height: 32px;
    background: var(--forest-ghost);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}

.faq-item.active .faq-toggle {
    background: var(--forest-dark);
    transform: rotate(45deg);
}

.faq-item.active .faq-toggle svg {
    stroke: var(--warm-white);
}

.faq-toggle svg {
    stroke: var(--forest-dark);
    transition: var(--transition);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer p {
    padding: 0 28px 24px;
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

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

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

.contact-info .section-title {
    margin-bottom: 16px;
}

.contact-desc {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.8;
}

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

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

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

.contact-detail-icon svg {
    stroke: var(--forest-dark);
}

.contact-detail strong {
    display: block;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--forest-dark);
    margin-bottom: 4px;
}

.contact-detail p {
    font-size: 0.95rem;
    color: var(--text-mid);
    line-height: 1.6;
}

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

.contact-detail a:hover {
    color: var(--forest-dark);
    text-decoration: underline;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--off-white);
    border-radius: var(--radius-xl);
    padding: 44px;
    border: 1px solid rgba(27, 67, 50, 0.08);
    box-shadow: var(--shadow-md);
}

.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 28px;
    color: var(--forest-dark);
}

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

.form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-mid);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid rgba(27, 67, 50, 0.15);
    border-radius: var(--radius-sm);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    color: var(--text-dark);
    background: var(--warm-white);
    transition: var(--transition);
    outline: none;
}

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

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--forest-light);
    box-shadow: 0 0 0 4px rgba(64, 145, 108, 0.1);
}

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

.form-success {
    display: none;
    align-items: center;
    gap: 12px;
    padding: 18px 24px;
    background: var(--forest-ghost);
    border-radius: var(--radius-sm);
    margin-top: 20px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--forest-dark);
}

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

/* ========================================
   Map Section
   ======================================== */
.map-section {
    background: var(--forest-dark);
}

.map-container {
    border-radius: 0;
    overflow: hidden;
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 48px;
    padding-bottom: 60px;
}

.footer .logo {
    color: var(--warm-white);
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--forest-xpale);
    margin-bottom: 20px;
}

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

.footer-links a {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.65);
}

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

.footer-contact p {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
    margin-bottom: 8px;
}

.footer-contact a {
    color: var(--forest-xpale);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.5);
}

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

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

    .hero-cards {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .hero-card {
        flex: 1;
        min-width: 200px;
    }

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

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

    .about-image {
        height: 400px;
    }

    .insurance-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .insurance-cards {
        grid-template-columns: repeat(3, 1fr);
    }

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

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

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: rgba(254, 250, 224, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 32px 24px;
        gap: 24px;
        border-bottom: 1px solid rgba(27, 67, 50, 0.08);
        transform: translateY(-120%);
        opacity: 0;
        transition: var(--transition);
        pointer-events: none;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .mobile-menu-btn {
        display: flex;
    }

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

    .hero-title {
        font-size: clamp(2rem, 8vw, 2.75rem);
    }

    .hero-cards {
        flex-direction: column;
    }

    .hero-card {
        width: 100%;
    }

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

    .insurance-cards {
        grid-template-columns: 1fr;
    }

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

    .contact-form-wrapper {
        padding: 28px;
    }

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

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

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

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

    .section-title {
        font-size: clamp(1.75rem, 6vw, 2.25rem);
    }
}
