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

:root {
    --emerald-900: #064e3b;
    --emerald-800: #065f46;
    --emerald-700: #047857;
    --emerald-600: #059669;
    --emerald-500: #10b981;
    --cream-50: #faf9f6;
    --cream-100: #f5f3ee;
    --cream-200: #ede9e0;
    --cream-300: #e2ddd3;
    --gold-400: #d4a843;
    --gold-500: #c49a30;
    --text-primary: #1a1a1a;
    --text-secondary: #4a4a4a;
    --text-muted: #7a7a7a;
    --white: #ffffff;
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Inter', -apple-system, sans-serif;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    font-weight: 300;
    color: var(--text-primary);
    background-color: var(--cream-50);
    line-height: 1.7;
    overflow-x: hidden;
}

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

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

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

/* ─── Typography ─── */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 300;
    line-height: 1.2;
    color: var(--emerald-900);
}

.section-label {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-400);
    margin-bottom: 1rem;
}

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

/* ─── Buttons ─── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all 0.4s var(--ease-out);
    border-radius: 2px;
}

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

.btn-primary:hover {
    background: var(--emerald-700);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(6, 78, 59, 0.2);
}

.btn-ghost {
    background: transparent;
    color: var(--emerald-800);
    border: 1px solid var(--cream-300);
}

.btn-ghost:hover {
    border-color: var(--emerald-800);
    background: rgba(6, 78, 59, 0.04);
}

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

/* ─── Header ─── */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 249, 246, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.header.scrolled {
    border-bottom-color: var(--cream-200);
    box-shadow: 0 1px 12px rgba(0, 0, 0, 0.04);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 400;
    color: var(--emerald-900);
    letter-spacing: 0.02em;
}

.logo-icon {
    color: var(--emerald-700);
}

.nav {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav a {
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-secondary);
    transition: color 0.3s ease;
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold-400);
    transition: width 0.3s var(--ease-out);
}

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

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

.nav-cta {
    padding: 0.6rem 1.4rem;
    border: 1px solid var(--emerald-800);
    color: var(--emerald-800) !important;
    transition: all 0.3s ease !important;
    border-radius: 2px;
}

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

.nav-cta:hover {
    background: var(--emerald-800) !important;
    color: var(--white) !important;
}

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

.nav-toggle span {
    width: 22px;
    height: 1.5px;
    background: var(--emerald-900);
    transition: all 0.3s ease;
    display: block;
}

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

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

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

/* ─── Hero ─── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 8rem 0 4rem;
    background: var(--cream-50);
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(ellipse 60% 50% at 70% 40%, rgba(6, 78, 59, 0.04) 0%, transparent 70%),
        radial-gradient(ellipse 40% 60% at 20% 80%, rgba(212, 168, 67, 0.04) 0%, transparent 60%);
    pointer-events: none;
}

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

.hero-eyebrow {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-400);
    margin-bottom: 1.5rem;
}

.hero-headline {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
    line-height: 1.15;
    color: var(--emerald-900);
    margin-bottom: 1.5rem;
}

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

.hero-sub {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
    max-width: 480px;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-image-frame {
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 24px 64px rgba(6, 78, 59, 0.12);
}

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

.hero-accent-line {
    width: 60px;
    height: 2px;
    background: var(--gold-400);
    margin-top: 1.5rem;
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    animation: float 2.5s ease-in-out infinite;
}

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

/* ─── Section Divider ─── */
.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 0;
    color: var(--emerald-800);
    opacity: 0.5;
}

/* ─── About ─── */
.about {
    padding: 7rem 0;
    background: var(--cream-50);
}

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

.about-text .lead {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--emerald-800);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

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

.about-image-stack img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: 4px;
}

.about-stat {
    position: absolute;
    bottom: -2rem;
    left: -2rem;
    background: var(--white);
    padding: 1.5rem 2rem;
    border-radius: 4px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.about-stat .stat-number {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--emerald-800);
}

.about-stat .stat-label {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* ─── Services ─── */
.services {
    padding: 7rem 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 4rem;
}

.section-sub {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
}

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

.service-card {
    padding: 2.5rem 2rem;
    border: 1px solid var(--cream-200);
    border-radius: 4px;
    transition: all 0.4s var(--ease-out);
    background: var(--cream-50);
}

.service-card:hover {
    border-color: var(--emerald-600);
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(6, 78, 59, 0.08);
    background: var(--white);
}

.service-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald-700);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 0.75rem;
    color: var(--emerald-900);
}

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

/* ─── Philosophy ─── */
.philosophy {
    padding: 7rem 0;
    background: var(--emerald-900);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.philosophy::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(ellipse at 30% 50%, rgba(255,255,255,0.03) 0%, transparent 60%);
    pointer-events: none;
}

.philosophy .container {
    position: relative;
    z-index: 1;
}

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

.philosophy .section-label {
    color: var(--gold-400);
}

.philosophy-quote {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 300;
    font-style: italic;
    line-height: 1.6;
    color: var(--cream-100);
    margin: 2rem 0 4rem;
    position: relative;
}

.philosophy-quote::before {
    content: '"';
    font-size: 6rem;
    position: absolute;
    top: -2.5rem;
    left: -1rem;
    color: var(--gold-400);
    opacity: 0.3;
    font-style: normal;
    line-height: 1;
}

.philosophy-pillars {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: left;
}

.pillar {
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.pillar-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 0.85rem;
    color: var(--gold-400);
    margin-bottom: 0.75rem;
    letter-spacing: 0.05em;
}

.pillar h4 {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.pillar p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

/* ─── Visit ─── */
.visit {
    padding: 7rem 0;
    background: var(--cream-50);
}

.visit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.visit-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.visit-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.detail-item svg {
    color: var(--emerald-700);
    flex-shrink: 0;
    margin-top: 2px;
}

.detail-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.2rem;
}

.detail-item span,
.detail-item a {
    font-size: 0.95rem;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

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

.visit-image img {
    width: 100%;
    height: 700px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 24px 64px rgba(6, 78, 59, 0.1);
}

/* ─── Contact ─── */
.contact {
    padding: 7rem 0;
    background: var(--white);
}

.contact-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.contact-desc {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 400px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.8rem 0;
    border: none;
    border-bottom: 1px solid var(--cream-300);
    background: transparent;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--text-primary);
    outline: none;
    transition: border-color 0.3s ease;
    border-radius: 0;
    -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-bottom-color: var(--emerald-700);
}

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

.form-group select {
    cursor: pointer;
    color: var(--text-muted);
}

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

.form-success {
    display: none;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: rgba(6, 78, 59, 0.06);
    border-radius: 4px;
    font-size: 0.9rem;
    color: var(--emerald-800);
    animation: fadeIn 0.4s var(--ease-out);
}

.form-success svg {
    color: var(--emerald-700);
    flex-shrink: 0;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ─── Footer ─── */
.footer {
    padding: 5rem 0 2rem;
    background: var(--cream-100);
    border-top: 1px solid var(--cream-200);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand .logo {
    margin-bottom: 1rem;
}

.footer-tagline {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-links a {
    font-size: 0.88rem;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

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

.footer-contact p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.footer-contact a {
    transition: color 0.3s ease;
}

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

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--cream-300);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* ─── Mobile Nav Overlay ─── */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(250, 249, 246, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease-out);
}

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

.nav-overlay a {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 300;
    color: var(--emerald-900);
    transition: color 0.3s ease;
}

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

/* ─── Scroll Animations ─── */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

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

/* ─── Responsive ─── */
@media (max-width: 1024px) {
    .hero-inner {
        gap: 3rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .philosophy-pillars {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero {
        padding: 7rem 0 3rem;
        min-height: auto;
    }
    
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .hero-image-frame img {
        height: 400px;
    }
    
    .hero-scroll {
        display: none;
    }
    
    .about-grid,
    .visit-grid,
    .contact-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-stat {
        position: relative;
        bottom: auto;
        left: auto;
        margin-top: 1rem;
        display: inline-block;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .philosophy-pillars {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .hero-headline {
        font-size: clamp(2rem, 8vw, 3rem);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.25rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .btn {
        justify-content: center;
        width: 100%;
    }
}
