/* ===================================
   CSS VARIABLES & RESET
   =================================== */
:root {
    --color-emerald-50: #ecfdf5;
    --color-emerald-100: #d1fae5;
    --color-emerald-200: #a7f3d0;
    --color-emerald-300: #6ee7b7;
    --color-emerald-400: #34d399;
    --color-emerald-500: #10b981;
    --color-emerald-600: #059669;
    --color-emerald-700: #047857;
    --color-emerald-800: #065f46;
    --color-emerald-900: #064e3b;
    
    --color-cream-50: #fefdf8;
    --color-cream-100: #fefce8;
    --color-cream-200: #fef9c3;
    --color-cream-300: #fef08a;
    --color-cream-400: #fde047;
    --color-cream-500: #facc15;
    --color-cream-600: #eab308;
    --color-cream-700: #ca8a04;
    --color-cream-800: #a16207;
    --color-cream-900: #854d0e;
    
    --color-white: #ffffff;
    --color-off-white: #fafaf9;
    --color-stone-50: #fafaf9;
    --color-stone-100: #f5f5f4;
    --color-stone-200: #e7e5e4;
    --color-stone-300: #d6d3d1;
    --color-stone-400: #a8a29e;
    --color-stone-500: #78716c;
    --color-stone-600: #57534e;
    --color-stone-700: #44403c;
    --color-stone-800: #292524;
    --color-stone-900: #1c1917;
    
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    --space-4xl: 8rem;
    
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    color: var(--color-stone-800);
    background-color: var(--color-cream-50);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

ul {
    list-style: none;
}

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

/* ===================================
   NAVIGATION
   =================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(254, 253, 248, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-stone-200);
    transition: all 0.3s ease;
}

.nav.scrolled {
    box-shadow: var(--shadow-md);
}

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

.nav-logo-text {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-stone-900);
    letter-spacing: -0.02em;
}

.nav-logo-accent {
    color: var(--color-emerald-700);
    font-weight: 500;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-stone-600);
    transition: color 0.2s ease;
    letter-spacing: 0.02em;
}

.nav-link:hover {
    color: var(--color-emerald-700);
}

.nav-cta {
    background: var(--color-emerald-700);
    color: var(--color-white);
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.nav-cta:hover {
    background: var(--color-emerald-800);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
}

.nav-toggle-line {
    width: 24px;
    height: 2px;
    background: var(--color-stone-800);
    transition: all 0.3s ease;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-cream-50);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-close {
    position: absolute;
    top: var(--space-lg);
    right: var(--space-lg);
    color: var(--color-stone-800);
}

.mobile-menu-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);
}

.mobile-menu-link {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 500;
    color: var(--color-stone-800);
    transition: color 0.2s ease;
}

.mobile-menu-link:hover {
    color: var(--color-emerald-700);
}

.mobile-menu-cta {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color-emerald-700);
    margin-top: var(--space-lg);
}

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

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 20% 50%, var(--color-emerald-100) 0%, transparent 50%),
                      radial-gradient(circle at 80% 20%, var(--color-cream-200) 0%, transparent 50%);
    opacity: 0.6;
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 560px;
}

.hero-eyebrow {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-emerald-700);
    margin-bottom: var(--space-md);
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 600;
    line-height: 1.1;
    color: var(--color-stone-900);
    margin-bottom: var(--space-lg);
    letter-spacing: -0.02em;
}

.hero-title-accent {
    color: var(--color-emerald-700);
    font-style: italic;
}

.hero-subtitle {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--color-stone-600);
    margin-bottom: var(--space-xl);
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.2s ease;
    letter-spacing: 0.02em;
}

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

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

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

.btn-secondary:hover {
    border-color: var(--color-emerald-700);
    color: var(--color-emerald-700);
}

.btn-full {
    width: 100%;
}

.hero-image {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.hero-scroll-indicator {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-stone-500);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ===================================
   SECTION STYLES
   =================================== */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-3xl);
}

.section-eyebrow {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-emerald-700);
    margin-bottom: var(--space-sm);
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-stone-900);
    margin-bottom: var(--space-md);
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--color-stone-600);
}

/* ===================================
   SERVICES SECTION
   =================================== */
.services {
    padding: var(--space-4xl) 0;
    background: var(--color-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.service-card {
    background: var(--color-cream-50);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-stone-200);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-emerald-200);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: var(--color-emerald-100);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-emerald-700);
    margin-bottom: var(--space-md);
}

.service-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-stone-900);
    margin-bottom: var(--space-sm);
}

.service-description {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--color-stone-600);
}

/* ===================================
   ABOUT SECTION
   =================================== */
.about {
    padding: var(--space-4xl) 0;
    background: var(--color-cream-50);
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

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

.about-image-main {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

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

.about-image-secondary {
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 60%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--color-cream-50);
}

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

.about-stats {
    position: absolute;
    top: -30px;
    left: -30px;
    display: flex;
    gap: var(--space-md);
}

.about-stat {
    background: var(--color-emerald-700);
    color: var(--color-white);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    text-align: center;
    min-width: 100px;
}

.about-stat-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 600;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.about-stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.9;
}

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

.about-divider {
    width: 60px;
    height: 3px;
    background: var(--color-emerald-500);
    margin-bottom: var(--space-lg);
    border-radius: 2px;
}

.about-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-stone-600);
    margin-bottom: var(--space-md);
}

.about-credentials {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-top: var(--space-xl);
}

.credential-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.9375rem;
    color: var(--color-stone-700);
}

.credential-item svg {
    color: var(--color-emerald-600);
    flex-shrink: 0;
}

/* ===================================
   TESTIMONIALS SECTION
   =================================== */
.testimonials {
    padding: var(--space-4xl) 0;
    background: linear-gradient(135deg, var(--color-emerald-800) 0%, var(--color-emerald-900) 100%);
}

.testimonials .section-eyebrow {
    color: var(--color-emerald-300);
}

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

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

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
}

.testimonial-quote {
    color: var(--color-emerald-400);
    margin-bottom: var(--space-md);
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-stone-200);
    margin-bottom: var(--space-md);
    font-style: italic;
}

.testimonial-author {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-emerald-300);
}

/* ===================================
   CONTACT SECTION
   =================================== */
.contact {
    padding: var(--space-4xl) 0;
    background: var(--color-white);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    margin-bottom: var(--space-3xl);
}

.contact-divider {
    width: 60px;
    height: 3px;
    background: var(--color-emerald-500);
    margin-bottom: var(--space-lg);
    border-radius: 2px;
}

.contact-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-stone-600);
    margin-bottom: var(--space-xl);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.contact-detail {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
}

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

.contact-info-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-stone-500);
    font-weight: 500;
}

.contact-value {
    font-size: 1rem;
    color: var(--color-stone-800);
    font-weight: 500;
}

.contact-value:hover {
    color: var(--color-emerald-700);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--color-cream-50);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-stone-200);
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-stone-700);
    margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--color-stone-300);
    border-radius: var(--radius-md);
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--color-stone-800);
    background: var(--color-white);
    transition: all 0.2s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-emerald-500);
    box-shadow: 0 0 0 3px var(--color-emerald-100);
}

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

.form-success {
    display: none;
    text-align: center;
    padding: var(--space-xl);
}

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

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

.success-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-stone-900);
    margin-bottom: var(--space-sm);
}

.success-text {
    font-size: 1rem;
    color: var(--color-stone-600);
}

/* Map */
.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    background: var(--color-stone-900);
    color: var(--color-stone-400);
    padding: var(--space-3xl) 0 var(--space-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: var(--space-sm);
}

.footer-tagline {
    font-size: 0.9375rem;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-link {
    font-size: 0.9375rem;
    color: var(--color-stone-400);
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: var(--color-emerald-400);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-phone,
.footer-email {
    font-size: 0.9375rem;
    color: var(--color-stone-400);
    transition: color 0.2s ease;
}

.footer-phone:hover,
.footer-email:hover {
    color: var(--color-emerald-400);
}

.footer-bottom {
    border-top: 1px solid var(--color-stone-800);
    padding-top: var(--space-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-sm);
    font-size: 0.875rem;
}

/* ===================================
   RESPONSIVE STYLES
   =================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-image {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-layout {
        grid-template-columns: 1fr;
    }
    
    .about-image-group {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero {
        padding: 100px var(--space-md) var(--space-3xl);
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image-secondary {
        position: relative;
        bottom: auto;
        right: auto;
        width: 100%;
        margin-top: var(--space-md);
    }
    
    .about-stats {
        position: relative;
        top: auto;
        left: auto;
        margin-top: var(--space-md);
        justify-content: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-md);
    }
    
    .hero-title {
        font-size: 1.875rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .service-card {
        padding: var(--space-md);
    }
}

/* ===================================
   REDUCED MOTION
   =================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .hero-scroll-indicator {
        animation: none;
    }
}
