/* ─── RESET & BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Nunito', system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: #1a3c34;
  background: #fdf8f0;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

/* ─── CUSTOM PROPERTIES ─── */
:root {
  --emerald-50:  #ecfdf5;
  --emerald-100: #d1fae5;
  --emerald-200: #a7f3d0;
  --emerald-500: #10b981;
  --emerald-600: #059669;
  --emerald-700: #047857;
  --emerald-800: #065f46;
  --emerald-900: #064e3b;
  --cream:       #fdf8f0;
  --cream-dark:  #f5edd8;
  --warm:        #fef3c7;
  --warm-dark:   #d97706;
  --text:        #1a3c34;
  --text-muted:  #374151;
  --radius-sm:   10px;
  --radius-md:   18px;
  --radius-lg:   28px;
  --shadow-sm:   0 2px 8px rgba(6,95,70,.08);
  --shadow-md:   0 8px 30px rgba(6,95,70,.12);
  --shadow-lg:   0 16px 50px rgba(6,95,70,.16);
  --transition:  .3s cubic-bezier(.4,0,.2,1);
}

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ─── TYPOGRAPHY ─── */
h1, h2, h3 { font-family: 'DM Serif Display', Georgia, serif; font-weight: 400; line-height: 1.25; color: var(--emerald-900); }
.section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--emerald-600);
  background: var(--emerald-100);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}
.section-heading { font-size: clamp(1.75rem, 4vw, 2.75rem); margin-bottom: 16px; }
.section-heading--center { text-align: center; }
.section-sub { font-size: 1.1rem; color: var(--text-muted); max-width: 560px; margin: 0 auto 48px; text-align: center; }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  border-radius: 50px;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn--emerald {
  background: var(--emerald-700);
  color: #fff;
}
.btn--emerald:hover { background: var(--emerald-600); }
.btn--outline {
  background: rgba(255,255,255,.15);
  color: #fff;
  border: 2px solid rgba(255,255,255,.6);
  backdrop-filter: blur(4px);
}
.btn--outline:hover { background: rgba(255,255,255,.25); border-color: #fff; }
.btn--sm { font-size: .875rem; padding: 10px 22px; }
.btn--lg { font-size: 1rem; padding: 16px 36px; }

/* ─── NAV ─── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(253,248,240,.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(6,95,70,.08);
  transition: box-shadow var(--transition);
}
.nav.scrolled { box-shadow: var(--shadow-sm); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: 'DM Serif Display', serif; font-size: 1.25rem; color: var(--emerald-800); }
.logo__icon { font-size: 1.5rem; }
.nav__menu { display: flex; align-items: center; gap: 8px; }
.nav__menu a {
  font-weight: 700;
  font-size: .9rem;
  color: var(--text);
  padding: 8px 16px;
  border-radius: 50px;
  transition: background var(--transition), color var(--transition);
}
.nav__menu a:hover { background: var(--emerald-100); color: var(--emerald-800); }
.nav__toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav__bar { display: block; width: 24px; height: 2.5px; background: var(--emerald-800); border-radius: 2px; transition: transform var(--transition), opacity var(--transition); }

/* Mobile nav */
@media (max-width: 768px) {
  .nav__toggle { display: flex; }
  .nav__menu {
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: rgba(253,248,240,.97);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 24px;
    gap: 8px;
    border-bottom: 1px solid rgba(6,95,70,.1);
    transform: translateY(-120%);
    opacity: 0;
    transition: transform var(--transition), opacity var(--transition);
    pointer-events: none;
  }
  .nav__menu.open { transform: translateY(0); opacity: 1; pointer-events: all; }
  .nav__menu a { width: 100%; text-align: center; padding: 14px; font-size: 1rem; }
  .nav__toggle[aria-expanded="true"] .nav__bar:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] .nav__bar:nth-child(2) { opacity: 0; }
  .nav__toggle[aria-expanded="true"] .nav__bar:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
}

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(6,78,59,.88) 0%, rgba(4,120,87,.75) 50%, rgba(5,150,105,.6) 100%);
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: center;
}
.hero__card {
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-lg);
  padding: 48px 44px;
  color: #fff;
}
.hero__badge {
  display: inline-block;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.3);
  color: #fff;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 24px;
}
.hero__headline {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.15;
}
.hero__headline em { font-style: italic; color: var(--emerald-200); }
.hero__sub { font-size: 1.1rem; line-height: 1.75; color: rgba(255,255,255,.85); margin-bottom: 32px; max-width: 500px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; }

.hero__stats { display: flex; flex-direction: column; gap: 16px; }
.stat-card {
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  text-align: center;
  color: #fff;
  transition: transform var(--transition), background var(--transition);
}
.stat-card:hover { transform: translateY(-4px); background: rgba(255,255,255,.22); }
.stat-card__num { display: block; font-family: 'DM Serif Display', serif; font-size: 1.75rem; margin-bottom: 4px; }
.stat-card__label { font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: .8; }

@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__stats { flex-direction: row; flex-wrap: wrap; margin-top: 32px; }
  .stat-card { flex: 1; min-width: 140px; }
}
@media (max-width: 480px) {
  .hero { padding: 100px 0 60px; min-height: auto; }
  .hero__card { padding: 32px 24px; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
}

/* ─── ABOUT ─── */
.about { padding: 100px 0; background: var(--cream); }
.about__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about__text p { color: var(--text-muted); margin-bottom: 16px; font-size: 1.05rem; }
.about__image { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.about__image img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 768px) {
  .about__inner { grid-template-columns: 1fr; gap: 40px; }
  .about__image { order: -1; }
}

/* ─── PRODUCTS ─── */
.products { padding: 100px 0; background: #fff; }
.products__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 900px) { .products__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .products__grid { grid-template-columns: 1fr; } }

.card { border-radius: var(--radius-md); overflow: hidden; background: var(--cream); box-shadow: var(--shadow-sm); transition: transform var(--transition), box-shadow var(--transition); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card__img-wrap { overflow: hidden; }
.card__img-wrap img { width: 100%; height: 200px; object-fit: cover; transition: transform .5s ease; }
.card:hover .card__img-wrap img { transform: scale(1.05); }
.card__body { padding: 24px; }
.card__title { font-size: 1.2rem; color: var(--emerald-800); margin-bottom: 8px; }
.card__desc { font-size: .95rem; color: var(--text-muted); line-height: 1.65; }

/* ─── WHY ─── */
.why { padding: 100px 0; background: var(--emerald-800); }
.why .section-label { background: rgba(255,255,255,.15); color: var(--emerald-200); }
.why .section-heading { color: #fff; }
.why .section-sub { color: rgba(255,255,255,.7); }
.why__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 900px; margin: 0 auto; }
.why-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  color: #fff;
  transition: background var(--transition), transform var(--transition);
}
.why-card:hover { background: rgba(255,255,255,.14); transform: translateY(-4px); }
.why-card__icon { width: 56px; height: 56px; color: var(--emerald-200); margin-bottom: 20px; }
.why-card__icon svg { width: 100%; height: 100%; }
.why-card__title { font-size: 1.25rem; color: #fff; margin-bottom: 10px; }
.why-card__desc { font-size: .95rem; color: rgba(255,255,255,.75); line-height: 1.7; }
@media (max-width: 600px) { .why__grid { grid-template-columns: 1fr; } }

/* ─── VISIT ─── */
.visit { padding: 100px 0; background: var(--cream); }
.visit__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: stretch; }
.visit__info { padding: 48px 44px; background: var(--emerald-800); border-radius: var(--radius-lg); color: #fff; }
.visit__info .section-heading { color: #fff; }
.visit__desc { font-size: 1.05rem; color: rgba(255,255,255,.8); margin-bottom: 36px; line-height: 1.75; }
.visit__details { display: flex; flex-direction: column; gap: 24px; }
.visit__detail { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; }
.visit__detail-label { font-weight: 800; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--emerald-200); padding-top: 4px; }
.visit__detail a { color: #fff; border-bottom: 1px solid rgba(255,255,255,.3); padding-bottom: 2px; transition: border-color var(--transition); }
.visit__detail a:hover { border-color: #fff; }
.visit__detail dd { font-size: 1rem; color: rgba(255,255,255,.9); line-height: 1.7; }
.visit__map { border-radius: var(--radius-lg); overflow: hidden; min-height: 400px; box-shadow: var(--shadow-lg); }
@media (max-width: 900px) { .visit__inner { grid-template-columns: 1fr; } .visit__map { min-height: 300px; } }

/* ─── FOOTER ─── */
.footer { background: var(--emerald-900); color: rgba(255,255,255,.7); padding: 64px 0 0; }
.footer__inner { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; align-items: start; }
.footer__brand { display: flex; flex-direction: column; gap: 12px; }
.footer__brand .logo { color: #fff; font-size: 1.4rem; }
.footer__tagline { font-size: .95rem; max-width: 260px; }
.footer__links { display: flex; flex-direction: column; gap: 12px; }
.footer__links a { font-weight: 700; font-size: .95rem; color: rgba(255,255,255,.65); transition: color var(--transition); }
.footer__links a:hover { color: var(--emerald-200); }
.footer__contact p { font-size: .95rem; margin-bottom: 8px; }
.footer__contact a { color: var(--emerald-200); border-bottom: 1px solid rgba(255,255,255,.2); transition: border-color var(--transition); }
.footer__contact a:hover { border-color: var(--emerald-200); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 24px 0; text-align: center; font-size: .85rem; }
@media (max-width: 768px) { .footer__inner { grid-template-columns: 1fr; gap: 32px; } }

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