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

:root {
    --green-900: #0F2618;
    --green-800: #1A3A2A;
    --green-700: #244D38;
    --green-600: #2D6048;
    --green-500: #3A7D5C;
    --green-400: #5A9E7A;
    --off-white: #F5F3EF;
    --warm-white: #FAFAF7;
    --line: rgba(26, 58, 42, 0.12);
    --line-strong: rgba(26, 58, 42, 0.22);
    --text-dark: #1A2E23;
    --text-muted: #5A6B60;
    --text-light: #8A9B90;
    --font-sans: 'Inter', -apple-system, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-sans);
    font-weight: 300;
    color: var(--text-dark);
    background-color: var(--off-white);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Subtle Background Pattern ──────────────────── */
.bg-pattern {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.025;
    background-image: 
        radial-gradient(circle at 25% 25%, var(--green-800) 1px, transparent 1px),
        radial-gradient(circle at 75% 75%, var(--green-800) 1px, transparent 1px);
    background-size: 48px 48px;
}

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

/* ── Navigation ─────────────────────────────────── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(245, 243, 239, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow 0.4s var(--ease);
}

.nav.scrolled {
    box-shadow: 0 1px 24px rgba(15, 38, 24, 0.06);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.938rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    color: var(--green-800);
}

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

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

.nav-links a {
    font-size: 0.813rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    color: var(--text-muted);
    transition: color 0.25s var(--ease);
    position: relative;
}

.nav-links a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--green-600);
    transition: width 0.3s var(--ease);
}

.nav-links a:not(.nav-cta):hover { color: var(--green-700); }
.nav-links a:not(.nav-cta):hover::after { width: 100%; }

.nav-cta {
    font-size: 0.813rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--green-700) !important;
    border: 1px solid var(--line-strong);
    padding: 8px 20px;
    border-radius: 100px;
    transition: all 0.3s var(--ease);
}

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

.nav-toggle {
    display: none;
    color: var(--green-800);
    padding: 4px;
}

/* ── Hero ───────────────────────────────────────── */
.hero {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0 80px;
    background: var(--off-white);
}

.hero-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--green-500);
    margin-bottom: 20px;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.25rem, 4.5vw, 3.75rem);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--green-900);
    margin-bottom: 24px;
}

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

.hero-sub {
    font-size: 1.063rem;
    line-height: 1.75;
    color: var(--text-muted);
    max-width: 440px;
    margin-bottom: 36px;
}

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

/* ── Buttons ────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    padding: 14px 28px;
    border-radius: 100px;
    transition: all 0.3s var(--ease);
}

.btn-primary {
    background: var(--green-800);
    color: var(--off-white);
    border: 1px solid var(--green-800);
}

.btn-primary:hover {
    background: var(--green-700);
    border-color: var(--green-700);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(26, 58, 42, 0.2);
}

.btn-ghost {
    background: transparent;
    color: var(--green-700);
    border: 1px solid var(--line-strong);
}

.btn-ghost:hover {
    border-color: var(--green-600);
    background: rgba(26, 58, 42, 0.04);
}

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

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

.hero-photo {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 32px 64px rgba(15, 38, 24, 0.12);
}

.hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.stat-card {
    position: absolute;
    background: var(--warm-white);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 18px 22px;
    box-shadow: 0 12px 32px rgba(15, 38, 24, 0.08);
    display: flex;
    flex-direction: column;
    gap: 4px;
    animation: float 6s ease-in-out infinite;
}

.stat-card--top {
    top: -20px;
    right: -24px;
    animation-delay: 0s;
}

.stat-card--bottom {
    bottom: 40px;
    left: -32px;
    animation-delay: -3s;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 500;
    color: var(--green-800);
    line-height: 1;
}

.stat-suffix {
    font-size: 1rem;
    color: var(--green-500);
}

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

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

/* ── Divider ────────────────────────────────────── */
.divider {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.divider::after {
    display: block;
    height: 1px;
    background: var(--line);
    content: '';
}

/* ── Section Shared ─────────────────────────────── */
.section-eyebrow {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--green-500);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--green-900);
    margin-bottom: 24px;
}

.section-title .accent {
    font-style: italic;
    color: var(--green-600);
}

/* ── About ──────────────────────────────────────── */
.about {
    position: relative;
    z-index: 1;
    padding: 100px 0;
}

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

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

.about-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 24px 48px rgba(15, 38, 24, 0.08);
}

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

/* ── Services ───────────────────────────────────── */
.services {
    position: relative;
    z-index: 1;
    padding: 100px 0;
    background: var(--warm-white);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.services .container { max-width: 1200px; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    margin-top: 48px;
    background: var(--line);
    border-radius: 16px;
    overflow: hidden;
}

.service-card {
    background: var(--warm-white);
    padding: 40px 32px;
    transition: all 0.4s var(--ease);
}

.service-card:hover {
    background: var(--green-900);
}

.service-card:hover .service-icon { color: var(--green-400); }
.service-card:hover .service-name { color: var(--off-white); }
.service-card:hover .service-desc { color: rgba(245, 243, 239, 0.6); }

.service-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-700);
    margin-bottom: 20px;
    transition: color 0.4s var(--ease);
}

.service-icon svg { width: 100%; height: 100%; }

.service-name {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--green-900);
    margin-bottom: 10px;
    transition: color 0.4s var(--ease);
}

.service-desc {
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--text-muted);
    transition: color 0.4s var(--ease);
}

/* ── Gallery ────────────────────────────────────── */
.gallery {
    position: relative;
    z-index: 1;
    padding: 100px 0;
}

.gallery .container { max-width: 1200px; }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 48px;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 3/2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s var(--ease);
}

.gallery-item:hover img { transform: scale(1.05); }

/* ── Visit ──────────────────────────────────────── */
.visit {
    position: relative;
    z-index: 1;
    padding: 100px 0;
    background: var(--green-900);
    color: var(--off-white);
}

.visit .section-eyebrow { color: var(--green-400); }
.visit .section-title { color: var(--off-white); }
.visit .section-title .accent { color: var(--green-400); }

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

.visit-details {
    margin: 40px 0;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.visit-detail {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.visit-detail svg {
    color: var(--green-400);
    flex-shrink: 0;
    margin-top: 2px;
}

.visit-detail-label {
    display: block;
    font-size: 0.688rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--green-400);
    margin-bottom: 4px;
}

.visit-detail-value {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(245, 243, 239, 0.85);
}

.visit-detail-value a {
    color: rgba(245, 243, 239, 0.85);
    transition: color 0.25s var(--ease);
    border-bottom: 1px solid rgba(245, 243, 239, 0.2);
}

.visit-detail-value a:hover { color: var(--off-white); border-color: var(--off-white); }

.visit-cta { margin-top: 40px; }

.visit-cta .btn-primary {
    background: var(--off-white);
    color: var(--green-900);
    border-color: var(--off-white);
}

.visit-cta .btn-primary:hover {
    background: rgba(245, 243, 239, 0.9);
    border-color: rgba(245, 243, 239, 0.9);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.visit-map {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3);
}

/* ── Footer ─────────────────────────────────────── */
.footer {
    position: relative;
    z-index: 1;
    background: var(--green-800);
    color: rgba(245, 243, 239, 0.7);
    padding: 56px 0 0;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 48px;
    align-items: start;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(245, 243, 239, 0.1);
}

.footer-brand .nav-logo { color: var(--off-white); margin-bottom: 12px; }
.footer-tagline {
    font-size: 0.875rem;
    color: rgba(245, 243, 239, 0.5);
    line-height: 1.6;
}

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

.footer-links a {
    font-size: 0.875rem;
    color: rgba(245, 243, 239, 0.6);
    transition: color 0.25s var(--ease);
}

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

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-contact a {
    font-size: 0.875rem;
    color: rgba(245, 243, 239, 0.6);
    transition: color 0.25s var(--ease);
}

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

.footer-bottom {
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.813rem;
    color: rgba(245, 243, 239, 0.35);
}

/* ── Mobile Menu ────────────────────────────────── */
.nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(245, 243, 239, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 32px rgba(15, 38, 24, 0.08);
}

/* ── Responsive ─────────────────────────────────── */
@media (max-width: 1024px) {
    .hero-grid { gap: 40px; }
    .stat-card--top { right: -12px; }
    .stat-card--bottom { left: -12px; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-toggle { display: flex; align-items: center; justify-content: center; }
    
    .hero { padding: 96px 0 64px; min-height: auto; }
    .hero-grid { grid-template-columns: 1fr; gap: 48px; }
    .hero-visual { order: -1; max-width: 400px; margin: 0 auto; }
    .stat-card--top { right: -8px; top: -12px; padding: 14px 16px; }
    .stat-card--bottom { left: -8px; bottom: 24px; padding: 14px 16px; }
    .stat-number { font-size: 1.375rem; }
    
    .about { padding: 64px 0; }
    .about-grid { grid-template-columns: 1fr; gap: 32px; }
    
    .services { padding: 64px 0; }
    .services-grid { grid-template-columns: 1fr; }
    
    .gallery { padding: 64px 0; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    
    .visit { padding: 64px 0; }
    .visit-grid { grid-template-columns: 1fr; gap: 40px; }
    
    .footer-inner { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
    html { font-size: 15px; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .hero-visual { max-width: 100%; }
    .gallery-grid { grid-template-columns: 1fr; }
}

/* ── Reduced Motion ─────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
    .service-card { transition: background 0.4s var(--ease), color 0.4s var(--ease); }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
}
