/* ---------- Design Tokens ---------- */
:root{
  --bg: #0b0d10;
  --bg-alt: #10131a;
  --card: #f0fff5;
  --text: #002d19;
  --muted: #aab3c2;
  --brand: #3ad38a;
  --brand-ink: #0d1f17;

  /* 8pt spacing scale */
  --xxs: 4px; --xs: 8px; --s: 12px; --m: 16px; --l: 24px;
  --xl: 32px; --xxl: 48px; --xxxl: 72px;

  --radius: 12px;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
  --maxw: 1200px;

  --h1: clamp(36px, 5vw, 64px);
  --h2: clamp(26px, 3.5vw, 40px);
  --h3: clamp(20px, 2.2vw, 24px);
  --lead: 1.15;
}

/* ---------- Base ---------- */
*{ box-sizing: border-box }
html,body{ height:100% }
body{
  margin:0;
  color:var(--text);
  background: linear-gradient(180deg, #004225 0%, #0a5c35 60%, #146b40 100%);
  font-family: Verdana, Geneva, sans-serif;
  /*font-family: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;*/
  line-height:1.6;
  text-rendering: optimizeLegibility;
}
img{ max-width:100%; display:block; border-radius: var(--radius) }
h1,h2,h3{
  /*font-family: Georgia, "Times New Roman", Times, serif;*/
  font-family: Verdana, Geneva, sans-serif;

  letter-spacing:.2px;
  margin:0 0 var(--m);
}
h1{ font-size:var(--h1); line-height:1.05 }
h2{ font-size:var(--h2) }
h3{ font-size:var(--h3) }
p{ margin:0 0 var(--m) }
.lead{ font-size: clamp(18px, 2.2vw, 22px); line-height: var(--lead) }
.muted{ color:var(--muted) }

.container{ width:100%; max-width:var(--maxw); margin:auto; padding:0 var(--l) }
.section{ padding: var(--xxl) 0 }
.section-alt{ background: var(--bg-alt) }
.section-head{ margin-bottom: var(--xl) }

.row{ display:flex; gap: var(--s) }
.row.center-y{ align-items:center }
.row.between{ justify-content: space-between }
.row.wrap{ flex-wrap: wrap }
.row.gap-m{ gap: var(--m) }
.row.gap-s{ gap: var(--s) }

.grid{ display:grid; gap: var(--l) }
.grid-3{ grid-template-columns: repeat(3, 1fr) }
@media (max-width: 960px){ .grid-3{ grid-template-columns: 1fr 1fr } }
@media (max-width: 640px){ .grid-3{ grid-template-columns: 1fr } }

/* ---------- Header ---------- */
.site-header{
  position: sticky; top:0; z-index: 5;
  backdrop-filter: saturate(120%) blur(8px);
  /*background: rgba(11,13,16,.6);*/
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.brand{ display:flex; align-items:center; gap: var(--s); text-decoration:none; color:var(--text) }
.brand-mark{ width:50px; height:50px; border-radius: 8px; object-fit:cover }
.brand-name{ font-family: Georgia, serif; font-weight:700; font-size:20px; letter-spacing:.4px }

.nav{ display:flex; gap: var(--l) }
.nav a{ color:var(--muted); text-decoration:none; padding: var(--s) 0 }
.nav a:hover{ color:var(--text) }

/* ---------- Buttons ---------- */
.btn{
  --btn-px: 18px; --btn-py: 12px;
  display:inline-flex; align-items:center; justify-content:center;
  gap:8px; padding: var(--btn-py) var(--btn-px);
  border-radius: 999px; border:1px solid transparent;
  text-decoration:none; font-weight:600;
  line-height:1; white-space: nowrap; transition: .18s ease;
}
.btn-primary{
  background: var(--brand); color:#04140c; border-color: transparent;
  box-shadow: 0 6px 16px rgba(58,211,138,.25);
}
.btn-primary:hover{ transform: translateY(-1px); box-shadow: 0 10px 24px rgba(58,211,138,.35) }
.btn-ghost{
  background: transparent; color: var(--text); border-color: rgba(255,255,255,.20)
}
.btn-ghost:hover{ background: rgba(255,255,255,.06) }
.btn-lg{ padding: 16px 22px; font-size: 18px }
.btn.block{ display:block; width:100% }

/* ---------- Hero ---------- */
.hero{ position:relative; padding: 0; }
.hero-media{
  height: 100vh; /* full viewport height */
  background-size: cover; background-position: center;
  filter: saturate(105%) contrast(105%) brightness(100%);
}
.hero::after{
  content:""; position:absolute; inset:0;
  /* background: radial-gradient(60% 60% at 50% 30%, transparent 0, rgba(0,0,0,.25) 40%, rgba(0,0,0,.6) 100%);*/
  pointer-events:none;
}
.hero-content{
  position:absolute; inset:0; display:flex; flex-direction:column; justify-content:flex-end;
  padding-bottom: var(--xxl);
}
.hero .lead{ max-width: 720px; color: #d9e2ee }

/* ---------- Cards ---------- */
.card{
  background: var(--card);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.card-body{ padding: var(--l) }
.card h3{ margin-bottom: var(--s) }

/* ---------- Pricing ---------- */
.price{
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.06);
  padding: var(--xl);
  position: relative;
}
.price .price-tag{
  font-family: Georgia, serif; font-size: 40px; margin: var(--s) 0 var(--m);
}
.price .price-tag .unit{ font-size:16px; color:var(--muted); margin-left:4px }
.price ul{ list-style:none; padding:0; margin:0 0 var(--l) }
.price li{ padding: 6px 0; border-bottom: 1px dashed rgba(255,255,255,.08) }
.price .btn{ margin-top: var(--m) }
.price.featured{ border-color: rgba(58,211,138,.45); box-shadow: 0 12px 40px rgba(58,211,138,.14) }
.badge{
  position:absolute; top:16px; right:16px; background: var(--brand); color: var(--brand-ink);
  padding: 6px 10px; border-radius: 999px; font-weight:700; font-size:12px;
}

/* ---------- Gallery ---------- */
.gallery img{ width:100%; height: 260px; object-fit: cover }

/* ---------- CTA ---------- */


.section-cta{ background: linear-gradient(180deg, #002d19 0%, #00391f 60%, #004225 100%)
 }
.cta{
  display:flex; align-items:center; justify-content:space-between; gap: var(--xl);
  background: linear-gradient(180deg, #121829, #101520);
  border: 1px solid rgba(255,255,255,.06); border-radius: 16px;
  padding: var(--xl);
}
.cta-text p{ color: var(--muted); max-width: 700px }

/* ---------- Footer ---------- */
.site-footer{
  padding: var(--xl) 0; border-top: 1px solid rgba(255,255,255,.06);
  background: #0a0d12;
}
.footer-nav{ display:flex; gap: var(--l) }
.footer-nav a{ color: var(--muted); text-decoration:none }
.footer-nav a:hover{ color: var(--text) }


/* === Stability patch by ChatGPT === */

/* Prevent horizontal jitter from overflow */
html, body { overflow-x: hidden; }

/* Predictable sizing model */
*, *::before, *::after { box-sizing: border-box; }

/* Media elements scale to container */
img, video, canvas, svg { max-width: 100%; height: auto; display: block; }

/* Lock card image ratio to prevent reflow while images load */
.card img { aspect-ratio: 16 / 9; object-fit: cover; }

/* Gallery images consistent */
.gallery img { aspect-ratio: 4 / 3; object-fit: cover; }

/* Let flex/grid children shrink instead of pushing layout */
.row > * { min-width: 0; }
.grid > * { min-width: 0; }

/* Mobile-safe viewport height for hero */
@supports (height: 100svh) {
  .hero-media { height: 100svh; }
}
