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

:root {
  --green-900: #0B1F12;
  --green-800: #1B4332;
  --green-700: #2D6A4F;
  --green-600: #40916C;
  --green-500: #52B788;
  --cream: #F5F2EB;
  --cream-light: #FAFAF7;
  --cream-dark: #E8E4D9;
  --text-dark: #1A1A1A;
  --text-muted: #6B6B6B;
  --text-light: #F5F2EB;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --max-width: 1200px;
  --nav-height: 72px;
}

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

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

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

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

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

/* ─── NAV ─── */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 250, 247, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(27, 67, 50, 0.08);
  transition: box-shadow 0.3s ease;
}

#nav.scrolled {
  box-shadow: 0 1px 20px rgba(11, 31, 18, 0.06);
}

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

.logo {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  color: var(--green-800);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

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

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

#nav-links a {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s;
  position: relative;
}

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

#nav-links a:hover {
  color: var(--green-800);
}

#nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  font-size: 0.8rem !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase;
  color: var(--green-700) !important;
  border: 1px solid var(--green-700);
  padding: 8px 18px;
  transition: background 0.2s, color 0.2s !important;
}

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

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

/* Mobile menu */
.menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-btn span {
  width: 22px;
  height: 1.5px;
  background: var(--green-800);
  transition: transform 0.3s, opacity 0.3s;
}

.menu-btn[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.menu-btn[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-btn[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ─── HERO ─── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 50%, rgba(45, 106, 79, 0.25) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 30%, rgba(64, 145, 108, 0.2) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 50% 80%, rgba(27, 67, 50, 0.15) 0%, transparent 50%),
    linear-gradient(160deg, #0B1F12 0%, #1B4332 35%, #2D6A4F 65%, #40916C 100%);
  z-index: 0;
}

/* Subtle animated grain overlay */
.hero-gradient::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.5;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245, 242, 235, 0.6);
  margin-bottom: 28px;
}

#hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 400;
  line-height: 1.25;
  color: var(--cream);
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}

.hero-sub {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(245, 242, 235, 0.72);
  max-width: 580px;
  margin: 0 auto 44px;
  font-weight: 300;
}

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

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(245, 242, 235, 0.4);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-dark {
  background: var(--green-800);
  color: var(--cream);
  border-color: var(--green-800);
}

.btn-dark:hover {
  background: var(--green-700);
  border-color: var(--green-700);
}

.btn-outline {
  background: transparent;
  color: var(--cream);
  border-color: rgba(245, 242, 235, 0.4);
}

.btn-outline:hover {
  border-color: var(--cream);
  background: rgba(245, 242, 235, 0.08);
}

/* ─── SECTION COMMON ─── */
section {
  padding: 120px 0;
}

.label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green-700);
  margin-bottom: 16px;
}

section h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--green-800);
  margin-bottom: 56px;
  letter-spacing: -0.01em;
}

.divider {
  height: 1px;
  background: var(--cream-dark);
  margin: 80px 0;
}

/* ─── ABOUT ─── */
#about {
  background: var(--cream-light);
}

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

.about-text p {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.about-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 2px;
}

.stats-row {
  display: flex;
  align-items: center;
  gap: 48px;
  justify-content: center;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.4rem;
  color: var(--green-700);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--cream-dark);
}

/* ─── SERVICES ─── */
#services {
  background: var(--cream);
}

#services .container {
  max-width: var(--max-width);
}

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

.service-card {
  padding: 40px 32px;
  background: var(--cream-light);
  border: 1px solid var(--cream-dark);
  border-radius: 2px;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  border-color: var(--green-600);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(27, 67, 50, 0.08);
}

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

.service-card h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--green-800);
  margin-bottom: 12px;
}

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

/* ─── GALLERY ─── */
#gallery {
  background: var(--cream-light);
  padding: 120px 0;
}

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

.gallery-item img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 2px;
  transition: transform 0.5s ease;
  display: block;
}

.gallery-item {
  overflow: hidden;
}

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

/* ─── VISIT ─── */
#visit {
  background: var(--cream);
}

.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-bottom: 80px;
}

.visit-block h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--green-800);
  margin-bottom: 10px;
}

.visit-block p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-muted);
}

.visit-block a {
  color: var(--green-700);
  border-bottom: 1px solid rgba(45, 106, 79, 0.3);
  transition: border-color 0.2s;
}

.visit-block a:hover {
  border-color: var(--green-700);
}

.visit-map {
  border-radius: 2px;
  overflow: hidden;
  min-height: 400px;
  background: var(--cream-dark);
}

.visit-map iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
}

/* Contact form */
.contact-form-wrap {
  max-width: 640px;
  margin: 0 auto;
}

.contact-form-wrap h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--green-800);
  text-align: center;
  margin-bottom: 40px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

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

.form-group input,
.form-group textarea {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--text-dark);
  background: var(--cream-light);
  border: 1px solid var(--cream-dark);
  border-radius: 2px;
  padding: 14px 16px;
  outline: none;
  transition: border-color 0.2s;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--green-600);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.6;
}

.form-success {
  display: none;
  text-align: center;
  padding: 20px;
  font-size: 0.92rem;
  color: var(--green-700);
  background: rgba(45, 106, 79, 0.06);
  border-radius: 2px;
}

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

/* ─── FOOTER ─── */
footer {
  background: var(--green-900);
  color: var(--cream);
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}

.footer-brand .logo {
  color: var(--cream);
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.75;
  color: rgba(245, 242, 235, 0.55);
  max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 20px;
}

.footer-links a {
  display: block;
  font-size: 0.88rem;
  color: rgba(245, 242, 235, 0.55);
  margin-bottom: 10px;
  transition: color 0.2s;
}

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

.footer-contact p {
  font-size: 0.88rem;
  color: rgba(245, 242, 235, 0.55);
  line-height: 1.75;
  margin-bottom: 6px;
}

.footer-contact a {
  color: rgba(245, 242, 235, 0.7);
  border-bottom: 1px solid rgba(245, 242, 235, 0.2);
  transition: border-color 0.2s;
}

.footer-contact a:hover {
  border-color: var(--cream);
}

.footer-bottom {
  border-top: 1px solid rgba(245, 242, 235, 0.1);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(245, 242, 235, 0.35);
}

/* ─── SCROLL REVEAL (progressive enhancement) ─── */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }

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

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
  }

  .menu-btn {
    display: flex;
    z-index: 101;
  }

  #nav-links {
    position: fixed;
    inset: 0;
    top: var(--nav-height);
    background: rgba(250, 250, 247, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  #nav-links.open {
    opacity: 1;
    pointer-events: all;
  }

  #nav-links a {
    font-size: 1rem;
    letter-spacing: 0.12em;
  }

  .nav-cta {
    padding: 12px 28px !important;
  }

  section {
    padding: 80px 0;
  }

  #hero {
    min-height: 100svh;
    padding: 100px 24px 60px;
  }

  #hero h1 {
    font-size: clamp(1.6rem, 7vw, 2.4rem);
  }

  .hero-sub {
    font-size: 0.95rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-image {
    order: -1;
  }

  .about-image img {
    height: 320px;
  }

  .stats-row {
    gap: 32px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item img {
    height: 260px;
  }

  .visit-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .hero-scroll {
    display: none;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 20px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .stat-divider {
    display: none;
  }

  .stats-row {
    flex-direction: column;
    gap: 28px;
  }
}
