/* ===== Design tokens ===== */
:root {
  --green-900: #1f3d29;
  --green-800: #2f5d3a;
  --green-700: #3a7145;
  --green-600: #4c8a53;
  --green-500: #5fa668;
  --leaf: #7bc47f;
  --cream: #f6f4ec;
  --cream-2: #efeadb;
  --sand: #e8dfc8;
  --bark: #7a5230;
  --ink: #21281f;
  --muted: #5a6355;
  --white: #ffffff;
  --shadow: 0 12px 32px rgba(31, 61, 41, 0.12);
  --shadow-sm: 0 4px 14px rgba(31, 61, 41, 0.10);
  --radius: 18px;
  --radius-sm: 12px;
  --maxw: 1140px;
  --font-head: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 17px;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.12; font-weight: 600; letter-spacing: -0.01em; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 20px; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--green-800); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-weight: 600; font-size: 1rem; padding: 14px 24px; border-radius: 999px;
  cursor: pointer; border: 2px solid transparent; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  will-change: transform;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--green-700); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--green-800); box-shadow: var(--shadow); }
.btn-ghost { background: rgba(255,255,255,.85); color: var(--green-900); border-color: rgba(31,61,41,.15); }
.btn-ghost:hover { background: #fff; }
.btn-block { display: flex; width: 100%; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 244, 236, .82);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid rgba(31,61,41,.08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; background: #fff; border-radius: 12px; box-shadow: var(--shadow-sm); flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-family: var(--font-head); font-size: 1.2rem; color: var(--green-900); font-weight: 700; }
.brand-text small { font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.brand-text.light strong { color: #fff; }
.brand-text.light small { color: rgba(255,255,255,.7); }

/* Nav */
.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 46px; height: 46px; background: transparent; border: 0; cursor: pointer; border-radius: 10px;
}
.nav-toggle span { height: 2.5px; width: 24px; background: var(--green-900); border-radius: 2px; margin-inline: auto; transition: transform .3s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.nav-menu {
  list-style: none;
  position: fixed; inset: 68px 0 auto 0;
  background: var(--cream);
  display: grid; gap: 4px;
  padding: 16px 20px 26px;
  border-bottom: 1px solid rgba(31,61,41,.1);
  box-shadow: var(--shadow);
  transform: translateY(-140%);
  transition: transform .35s cubic-bezier(.4,.9,.3,1);
  visibility: hidden;
}
.nav-menu.open { transform: translateY(0); visibility: visible; }
.nav-menu a { display: block; padding: 12px 8px; font-weight: 600; color: var(--green-900); border-radius: 10px; }
.nav-menu a:hover { background: var(--cream-2); }
.nav-cta { background: var(--green-700); color: #fff !important; text-align: center; margin-top: 6px; }
.nav-cta:hover { background: var(--green-800) !important; }

/* ===== Hero ===== */
.hero { position: relative; overflow: hidden; color: #fff; }
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(105deg, rgba(18,38,24,.92) 0%, rgba(20,42,27,.74) 45%, rgba(23,48,30,.55) 100%),
    url('../assets/hero.jpg') center/cover no-repeat;
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 12% 85%, rgba(255,255,255,.06) 0 2px, transparent 3px),
    radial-gradient(circle at 88% 30%, rgba(255,255,255,.05) 0 3px, transparent 4px);
  background-size: 90px 90px, 140px 140px;
}
.hero-inner { position: relative; z-index: 1; padding: 64px 20px 72px; }
.eyebrow {
  display: inline-block; font-weight: 600; font-size: .9rem;
  background: rgba(255,255,255,.14); padding: 7px 14px; border-radius: 999px; margin-bottom: 20px;
  border: 1px solid rgba(255,255,255,.18);
}
.hero h1 { font-size: clamp(2.3rem, 8.5vw, 4.3rem); font-weight: 700; margin-bottom: 18px; }
.hero-sub { font-size: clamp(1.02rem, 3.5vw, 1.25rem); max-width: 40ch; color: rgba(255,255,255,.9); margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }
.hero-badges { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .92rem; color: rgba(255,255,255,.82); }
.hero-badges li { position: relative; padding-left: 22px; }
.hero-badges li::before { content: "✓"; position: absolute; left: 0; color: var(--leaf); font-weight: 700; }
.hero-badges strong { color: #fff; }

/* ===== Sections ===== */
.section { padding: 64px 0; }
.section-alt { background: var(--cream-2); }
.section-head { max-width: 640px; margin: 0 auto 40px; text-align: center; }
.kicker { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; color: var(--green-600); margin-bottom: 12px; }
.kicker.light { color: var(--leaf); }
.section h2 { font-size: clamp(1.8rem, 5.5vw, 2.6rem); color: var(--green-900); margin-bottom: 14px; }
.section-lead { color: var(--muted); font-size: 1.05rem; }

/* Cards */
.card-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.card {
  background: var(--white); border-radius: var(--radius); padding: 26px 24px;
  box-shadow: var(--shadow-sm); border: 1px solid rgba(31,61,41,.06);
  transition: transform .2s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-icon { font-size: 2rem; display: inline-grid; place-items: center; width: 58px; height: 58px; background: var(--cream); border-radius: 14px; margin-bottom: 14px; }
.card h3 { font-size: 1.3rem; color: var(--green-800); margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .98rem; }

/* Gallery */
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.g-item {
  position: relative; aspect-ratio: 1 / 1; border-radius: var(--radius-sm); overflow: hidden;
  display: flex; align-items: flex-end; box-shadow: var(--shadow-sm);
  background-size: cover; background-position: center;
}
.g-item figcaption {
  position: relative; z-index: 1; color: #fff; font-weight: 600; font-size: .95rem;
  padding: 14px; width: 100%;
  background: linear-gradient(transparent, rgba(20,35,24,.75));
}
.g-1 { background-image: url('../assets/g-perennials.jpg'); }
.g-2 { background-image: url('../assets/g-maples.jpg'); }
.g-3 { background-image: url('../assets/g-vegetables.jpg'); }
.g-4 { background-image: url('../assets/g-evergreens.jpg'); }
.g-5 { background-image: url('../assets/g-baskets.jpg'); }
.g-6 { background-image: url('../assets/g-succulents.jpg'); }

/* Seasonal */
.seasonal { background: linear-gradient(160deg, var(--green-700), var(--green-900)); color: #fff; }
.seasonal-inner { display: grid; gap: 34px; }
.seasonal-copy h2 { color: #fff; }
.seasonal-copy p { color: rgba(255,255,255,.9); margin-bottom: 24px; }
.seasonal-tips { list-style: none; display: grid; gap: 12px; }
.seasonal-tips li {
  display: flex; align-items: center; gap: 12px; font-weight: 500;
  background: rgba(255,255,255,.1); padding: 14px 18px; border-radius: 12px;
  border: 1px solid rgba(255,255,255,.14);
}
.seasonal-tips span { font-size: 1.4rem; }

/* About */
.about-grid { display: grid; gap: 34px; align-items: center; }
.about-media {
  aspect-ratio: 4 / 3; border-radius: var(--radius); box-shadow: var(--shadow);
  background: url('../assets/about-greenhouse.jpg') center/cover no-repeat;
  position: relative; overflow: hidden;
}
.about-copy p { color: var(--muted); margin-bottom: 16px; }
.stats { list-style: none; display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }
.stats li {
  flex: 1 1 120px; background: var(--white); border-radius: 14px; padding: 16px;
  box-shadow: var(--shadow-sm); text-align: center; border: 1px solid rgba(31,61,41,.06);
}
.stats strong { display: block; font-family: var(--font-head); font-size: 1.5rem; color: var(--green-700); }
.stats span { font-size: .85rem; color: var(--muted); }

/* Reviews */
.reviews { display: grid; gap: 18px; }
.review {
  background: var(--white); border-radius: var(--radius); padding: 26px 24px;
  box-shadow: var(--shadow-sm); border: 1px solid rgba(31,61,41,.06);
}
.stars { color: #e0a53c; letter-spacing: 2px; margin-bottom: 10px; }
.review p { font-size: 1.05rem; margin-bottom: 14px; }
.review cite { color: var(--muted); font-style: normal; font-weight: 600; }

/* Visit */
.visit-grid { display: grid; gap: 30px; }
.info-list { list-style: none; display: grid; gap: 20px; margin: 26px 0; }
.info-list li { display: flex; gap: 14px; }
.info-ico { font-size: 1.4rem; flex: none; width: 44px; height: 44px; display: grid; place-items: center; background: var(--cream-2); border-radius: 12px; }
.info-list strong { display: block; color: var(--green-900); margin-bottom: 4px; }
.info-list a { color: var(--green-700); font-weight: 500; }
.info-list a:hover { text-decoration: underline; }
.hours { border-collapse: collapse; font-size: .95rem; }
.hours td { padding: 2px 0; color: var(--muted); }
.hours td:first-child { padding-right: 20px; font-weight: 600; color: var(--ink); }
.hours-note { display: block; margin-top: 8px; font-size: .82rem; color: var(--muted); }

.visit-form-wrap { background: var(--white); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow); border: 1px solid rgba(31,61,41,.06); }
.contact-form h3 { font-size: 1.5rem; color: var(--green-900); margin-bottom: 6px; }
.form-lead { color: var(--muted); font-size: .95rem; margin-bottom: 20px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; color: var(--green-900); }
.field input, .field textarea {
  width: 100%; font: inherit; padding: 12px 14px; border-radius: 12px;
  border: 1.5px solid rgba(31,61,41,.18); background: var(--cream); color: var(--ink); resize: vertical;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green-600); box-shadow: 0 0 0 3px rgba(95,166,104,.2); background: #fff; }
.field.invalid input, .field.invalid textarea { border-color: #c0492f; }
.form-status { margin-top: 12px; font-size: .92rem; font-weight: 600; min-height: 1.2em; }
.form-status.ok { color: var(--green-700); }
.form-status.err { color: #c0492f; }

/* ===== Footer ===== */
.site-footer { background: var(--green-900); color: rgba(255,255,255,.85); padding-top: 48px; position: relative; }
.footer-inner { display: grid; gap: 26px; padding-bottom: 28px; }
.footer-brand .brand-text { margin-bottom: 12px; }
.footer-brand p { max-width: 34ch; color: rgba(255,255,255,.7); }
.footer-nav { display: grid; gap: 8px; }
.footer-nav a { color: rgba(255,255,255,.8); font-weight: 500; }
.footer-nav a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); padding: 20px 20px 28px;
  display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between;
  font-size: .85rem; color: rgba(255,255,255,.6);
}
.to-top {
  position: fixed; right: 18px; bottom: 18px; z-index: 40;
  width: 48px; height: 48px; border-radius: 50%; background: var(--green-700); color: #fff;
  display: grid; place-items: center; font-size: 1.3rem; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s ease;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--green-800); }

/* ===== Reveal on scroll ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ===== Tablet ===== */
@media (min-width: 620px) {
  .card-grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .reviews { grid-template-columns: 1fr 1fr; }
  .seasonal-tips { grid-template-columns: 1fr 1fr; }
}

/* ===== Desktop ===== */
@media (min-width: 900px) {
  body { font-size: 18px; }
  .nav-toggle { display: none; }
  .nav-menu {
    position: static; transform: none; visibility: visible; box-shadow: none;
    background: transparent; border: 0; padding: 0;
    display: flex; align-items: center; gap: 6px;
  }
  .nav-menu a { padding: 8px 14px; font-size: .98rem; }
  .nav-cta { margin-top: 0; padding: 10px 20px; }
  .hero-inner { padding: 96px 20px 104px; }
  .section { padding: 88px 0; }
  .card-grid { grid-template-columns: repeat(3, 1fr); }
  .reviews { grid-template-columns: repeat(3, 1fr); }
  .seasonal-inner { grid-template-columns: 1.1fr .9fr; align-items: center; }
  .about-grid { grid-template-columns: .9fr 1.1fr; }
  .about-grid .about-media { order: 2; }
  .visit-grid { grid-template-columns: 1fr 1fr; align-items: start; }
}

@media (min-width: 1100px) {
  .hero h1 { max-width: 16ch; }
}

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card { transition: none; }
}
