:root {
    --emerald-50: #ecfdf5;
    --emerald-100: #d1fae5;
    --emerald-200: #a7f3d0;
    --emerald-300: #6ee7b7;
    --emerald-400: #34d399;
    --emerald-500: #10b981;
    --emerald-600: #059669;
    --emerald-700: #047857;
    --emerald-800: #065f46;
    --emerald-900: #064e3b;
    
    --cream-50: #fefdf8;
    --cream-100: #fefce8;
    --cream-200: #fef9c3;
    --cream-300: #fef08a;
    
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #e5e5e5;
    --gray-300: #d4d4d4;
    --gray-400: #a3a3a3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;
    --gray-800: #262626;
    --gray-900: #171717;
    --gray-950: #0a0a0a;
    
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', system-ui, 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;
}

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

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

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

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

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

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

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

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: 0.875rem 1.75rem;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.9375rem;
    border-radius: 9999px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

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

.btn-primary:hover {
    background-color: var(--emerald-700);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px -10px rgba(5, 150, 105, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--gray-900);
    border: 1.5px solid var(--gray-300);
}

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

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

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

.navbar.scrolled {
    box-shadow: 0 4px 20px -10px rgba(0, 0, 0, 0.1);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.25rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--emerald-500), var(--emerald-700));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 8px;
    font-family: var(--font-sans);
}

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

.nav-links a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--gray-700);
    transition: color 0.2s ease;
}

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

.nav-cta {
    padding: 0.625rem 1.25rem;
    background-color: var(--emerald-600);
    color: white !important;
    border-radius: 9999px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background-color: var(--emerald-700);
    transform: translateY(-1px);
}

.mobile-toggle {
    display: none;
    padding: var(--space-sm);
    color: var(--gray-900);
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-4xl) var(--space-lg);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        var(--emerald-800) 0%, 
        var(--emerald-700) 25%, 
        var(--emerald-600) 50%, 
        var(--emerald-500) 75%, 
        var(--emerald-400) 100%
    );
    z-index: 0;
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
}

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

.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    color: white;
    margin-bottom: var(--space-lg);
    line-height: 1.05;
}

.text-gradient {
    background: linear-gradient(135deg, var(--cream-100), var(--cream-200));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--emerald-100);
    max-width: 600px;
    margin: 0 auto var(--space-xl);
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.hero-actions .btn-secondary {
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
}

.hero-actions .btn-secondary:hover {
    border-color: white;
    color: white;
    background-color: rgba(255, 255, 255, 0.1);
}

.hero-scroll {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.6);
    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;
    margin-bottom: var(--space-3xl);
}

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

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--gray-900);
}

.text-emerald {
    color: var(--emerald-600);
}

/* Services */
.services {
    padding: var(--space-4xl) 0;
    background-color: var(--cream-50);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
}

.service-card {
    background-color: white;
    padding: var(--space-xl);
    border-radius: 16px;
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.1);
    border-color: var(--emerald-200);
}

.service-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--emerald-50), var(--emerald-100));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald-600);
    margin-bottom: var(--space-lg);
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
    color: var(--gray-900);
}

.service-desc {
    color: var(--gray-600);
    line-height: 1.7;
}

/* About */
.about {
    padding: var(--space-4xl) 0;
    background-color: white;
}

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

.about-image {
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 6/7;
}

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

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

.about-text {
    color: var(--gray-600);
    margin-bottom: var(--space-md);
    line-height: 1.8;
}

.about-features {
    list-style: none;
    margin-top: var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.about-features li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-weight: 500;
    color: var(--gray-800);
}

.about-features svg {
    color: var(--emerald-500);
    flex-shrink: 0;
}

/* Location */
.location {
    padding: var(--space-4xl) 0;
    background-color: var(--cream-50);
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--space-xl);
    align-items: stretch;
}

.location-info {
    background-color: white;
    padding: var(--space-xl);
    border-radius: 16px;
    border: 1px solid var(--gray-200);
}

.info-block {
    margin-bottom: var(--space-xl);
}

.info-block:last-child {
    margin-bottom: 0;
}

.info-label {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray-500);
    margin-bottom: var(--space-xs);
}

.info-value {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--gray-900);
    line-height: 1.6;
}

.info-link {
    color: var(--emerald-600);
    transition: color 0.2s ease;
}

.info-link:hover {
    color: var(--emerald-700);
    text-decoration: underline;
}

.location-map {
    border-radius: 16px;
    overflow: hidden;
    min-height: 400px;
    border: 1px solid var(--gray-200);
}

/* CTA */
.cta {
    padding: var(--space-4xl) 0;
    background: linear-gradient(135deg, var(--emerald-800), var(--emerald-600));
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(2rem, 5vw, 3rem);
    color: white;
    margin-bottom: var(--space-md);
}

.cta-text {
    color: var(--emerald-100);
    font-size: 1.125rem;
    margin-bottom: var(--space-xl);
    line-height: 1.7;
}

.cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

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

.cta .btn-primary:hover {
    background-color: var(--cream-50);
}

.cta .btn-secondary {
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
}

.cta .btn-secondary:hover {
    border-color: white;
    background-color: rgba(255, 255, 255, 0.1);
}

/* Footer */
.footer {
    background-color: var(--gray-950);
    color: var(--gray-400);
    padding: var(--space-3xl) 0 var(--space-xl);
}

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

.footer-brand {
    max-width: 280px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.25rem;
    color: white;
    margin-bottom: var(--space-md);
}

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

.footer-contact h4,
.footer-hours h4 {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray-300);
    margin-bottom: var(--space-sm);
}

.footer-contact p,
.footer-contact a,
.footer-hours p {
    font-size: 0.9375rem;
    line-height: 1.8;
    color: var(--gray-400);
}

.footer-contact a {
    color: var(--emerald-400);
    transition: color 0.2s ease;
}

.footer-contact a:hover {
    color: var(--emerald-300);
}

.footer-bottom {
    padding-top: var(--space-xl);
    border-top: 1px solid var(--gray-800);
    text-align: center;
    font-size: 0.875rem;
}

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Responsive */
@media (max-width: 968px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        aspect-ratio: 16/9;
    }
    
    .location-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background-color: var(--cream-50);
        flex-direction: column;
        padding: var(--space-lg);
        gap: var(--space-md);
        border-bottom: 1px solid var(--gray-200);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .cta-actions {
        flex-direction: column;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand {
        max-width: 100%;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

@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;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
    }
}
