/* --- CSS VARIABLES --- */
:root {
    /* Palette: Terracotta & Sand */
    --color-terracotta: #C05746;
    --color-terracotta-dark: #9E4233;
    --color-sand: #E8DCC4;
    --color-sand-light: #F4EBE1;
    --color-cream: #FDFBF7;
    --color-text: #2A2A2A;
    --color-text-light: #555555;
    --color-white: #ffffff;
    
    /* Spacing */
    --container-width: 1200px;
    --section-padding: 80px;
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Space Grotesk', sans-serif;
    
    /* UI */
    --radius: 4px;
    --shadow: 0 10px 30px rgba(0,0,0,0.08);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-cream);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-text);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-terracotta);
    margin-bottom: 1rem;
}

.dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: var(--color-terracotta);
    border-radius: 50%;
    margin-right: 8px;
}

/* --- BUTTONS --- */
.btn {
    display: inline-block;
    padding: 14px 28px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--color-terracotta);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: var(--color-terracotta-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--color-text);
    color: var(--color-text);
}

.btn-secondary:hover {
    background-color: var(--color-text);
    color: var(--color-white);
}

.btn-full {
    width: 100%;
}

/* --- NAVIGATION --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(253, 251, 247, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-mark {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--color-terracotta);
    border: 2px solid var(--color-terracotta);
    padding: 4px 8px;
    border-radius: 4px;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
}

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

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
}

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

.nav-links .btn-primary {
    padding: 10px 20px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-text);
}

/* --- HERO SECTION --- */
.hero {
    padding-top: 120px;
    padding-bottom: 80px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background-color: var(--color-cream);
    position: relative;
    overflow: hidden;
}

/* Geometric Background Shapes */
.shape {
    position: absolute;
    z-index: -1;
    opacity: 0.6;
}

.shape-1 {
    top: 10%;
    left: -5%;
    width: 400px;
    height: 400px;
    background-color: var(--color-sand);
    border-radius: 50%;
}

.shape-2 {
    bottom: 10%;
    right: 10%;
    width: 200px;
    height: 200px;
    background-color: var(--color-terracotta);
    transform: rotate(15deg);
    opacity: 0.1;
}

.hero-grid {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.eyebrow {
    margin-bottom: 24px;
}

.headline {
    font-size: 3.5rem;
    margin-bottom: 24px;
    line-height: 1.1;
}

.accent-text {
    color: var(--color-terracotta);
    font-style: italic;
}

.underline {
    position: relative;
    display: inline-block;
}

.underline::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 12px;
    background-color: var(--color-sand);
    z-index: -1;
    transform: skewX(-12deg);
}

.sub-head {
    font-size: 1.125rem;
    color: var(--color-text-light);
    margin-bottom: 40px;
    max-width: 500px;
}

.cta-group {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--color-sand);
}

.stat-num {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
}

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

.stat-divider {
    width: 1px;
    background-color: var(--color-sand);
}

/* Hero Visual */
.hero-visual {
    position: relative;
}

.image-wrapper {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.image-wrapper img {
    width: 100%;
    height: auto;
    aspect-ratio: 3/4;
    object-fit: cover;
}

.floating-card {
    position: absolute;
    background-color: var(--color-white);
    padding: 16px 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    z-index: 2;
}

.floating-card svg {
    color: var(--color-terracotta);
}

.card-1 {
    top: 20%;
    left: -30px;
}

.card-2 {
    bottom: 15%;
    right: -20px;
}

/* --- SECTIONS GENERAL --- */
section {
    padding: var(--section-padding) 0;
}

/* --- INTRO SECTION --- */
.section-intro {
    background-color: var(--color-cream);
}

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

.intro-text p {
    margin-bottom: 20px;
    color: var(--color-text-light);
    font-size: 1.05rem;
}

.text-terracotta {
    color: var(--color-terracotta);
    font-weight: 700;
}

.intro-image-col {
    position: relative;
}

.image-block {
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.image-block img {
    width: 100%;
    height: auto;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.image-accent {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--color-terracotta);
    border-radius: var(--radius);
    z-index: 0;
}

/* --- SERVICES SECTION --- */
.section-services {
    background-color: var(--color-sand-light);
}

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

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
}

.service-card {
    background-color: var(--color-white);
    padding: 40px 32px;
    border-radius: var(--radius);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
    border-top-color: var(--color-terracotta);
}

.icon-box {
    width: 60px;
    height: 60px;
    background-color: var(--color-sand-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-terracotta);
    margin-bottom: 24px;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

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

/* --- INSURANCE SECTION --- */
.section-insurance {
    background-color: var(--color-terracotta);
    color: var(--color-white);
}

.section-insurance .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.insurance-content h2 {
    color: var(--color-white);
    font-size: 2rem;
    margin-bottom: 12px;
}

.insurance-content p {
    opacity: 0.9;
    margin-bottom: 24px;
}

.link-arrow {
    color: var(--color-white);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.insurance-logos {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.logo-placeholder {
    background-color: rgba(255,255,255,0.2);
    color: var(--color-white);
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}

/* --- CONTACT SECTION --- */
.section-contact {
    background-color: var(--color-cream);
}

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

.contact-info .lead-text {
    font-size: 1.1rem;
    color: var(--color-text-light);
    margin-bottom: 40px;
}

.details-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

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

.detail-item .icon {
    width: 48px;
    height: 48px;
    background-color: var(--color-sand);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-terracotta);
    flex-shrink: 0;
}

.detail-item strong {
    display: block;
    margin-bottom: 4px;
    font-size: 1.1rem;
}

.detail-item p {
    color: var(--color-text-light);
    line-height: 1.5;
}

.detail-item a:hover {
    color: var(--color-terracotta);
}

/* Form Styling */
.contact-form-wrapper {
    background-color: var(--color-white);
    padding: 48px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    border: 1px solid var(--color-sand);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--color-sand);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 1rem;
    background-color: var(--color-cream);
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-terracotta);
    background-color: var(--color-white);
}

.form-note {
    font-size: 0.8rem;
    color: var(--color-text-light);
    margin-top: 16px;
    text-align: center;
}

/* --- FOOTER --- */
.footer {
    background-color: var(--color-text);
    color: var(--color-white);
    padding: 60px 0 30px;
}

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

.footer-brand h3 {
    color: var(--color-white);
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.footer-brand p {
    color: rgba(255,255,255,0.6);
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.5);
}

.legal {
    display: flex;
    gap: 16px;
}

/* --- MOBILE MENU OVERLAY --- */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--color-terracotta);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu-overlay ul {
    text-align: center;
}

.mobile-menu-overlay li {
    margin: 20px 0;
}

.mobile-menu-overlay a {
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 2rem;
}

/* --- RESPONSIVE --- */
@media (max-width: 968px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-visual {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }

    .headline {
        font-size: 2.5rem;
    }

    .cta-group {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .intro-grid,
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .intro-image-col {
        order: -1;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

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

    .section-title {
        font-size: 2rem;
    }

    .floating-card {
        display: none;
    }

    .contact-form-wrapper {
        padding: 24px;
    }
    
    .footer-top,
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}
