/* ===== Design tokens ===== */
:root {
  --green-900: #0b3d27;
  --green-700: #0f5132;
  --green-600: #157347;
  --green-500: #1f8a5b;
  --green-50:  #eaf4ee;
  --gold:      #c79a3a;
  --gold-soft: #f4ecd6;
  --ink:       #14241c;
  --body:      #3f4b45;
  --muted:     #6c7872;
  --line:      #e3e9e5;
  --bg:        #ffffff;
  --bg-alt:    #f5f8f6;
  --bg-dark:   #0b3d27;
  --radius:    16px;
  --radius-sm: 10px;
  --shadow:    0 10px 30px rgba(11, 61, 39, 0.08);
  --shadow-lg: 0 24px 60px rgba(11, 61, 39, 0.16);
  --maxw:      1140px;
  --sans: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  font-family: var(--sans);
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
h1, h2, h3, h4 { color: var(--ink); font-family: var(--serif); line-height: 1.1; font-weight: 600; letter-spacing: -0.01em; }

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

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; font-weight: 600; font-size: 16px;
  padding: 14px 26px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid transparent; transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--green-700); color: #fff; box-shadow: 0 8px 20px rgba(15, 81, 50, 0.25); }
.btn-primary:hover { background: var(--green-600); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(15, 81, 50, 0.32); }
.btn-ghost { background: #fff; color: var(--green-700); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--green-500); color: var(--green-600); transform: translateY(-2px); }
.btn-block { width: 100%; }

.eyebrow {
  text-transform: uppercase; letter-spacing: 0.14em; font-size: 13px;
  font-weight: 700; color: var(--green-600); margin-bottom: 14px;
}
.eyebrow-light { color: var(--gold); }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--serif); }
.brand-mark {
  width: 40px; height: 40px; border-radius: 11px;
  background: linear-gradient(135deg, var(--green-600), var(--green-900));
  color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 22px;
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.15);
}
.brand-text { font-size: 20px; font-weight: 700; color: var(--ink); line-height: 1; display: flex; flex-direction: column; }
.brand-text small { font-size: 11px; letter-spacing: 0.2em; color: var(--gold); font-weight: 700; margin-top: 3px; font-family: var(--sans); }

.nav { display: flex; align-items: center; }
.nav-menu { display: flex; align-items: center; gap: 8px; }
.nav-menu a { padding: 9px 14px; border-radius: 8px; font-weight: 500; font-size: 15px; color: var(--body); transition: color .15s, background .15s; }
.nav-menu a:hover { color: var(--green-700); background: var(--green-50); }
.nav-cta { background: var(--green-700) !important; color: #fff !important; padding: 10px 20px !important; border-radius: 999px !important; font-weight: 600 !important; }
.nav-cta:hover { background: var(--green-600) !important; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }

/* ===== Hero ===== */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(31, 138, 91, 0.10), transparent 60%),
    radial-gradient(700px 500px at 0% 110%, rgba(199, 154, 58, 0.10), transparent 60%),
    var(--bg);
  padding: 88px 0 96px;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.hero-copy h1 { font-size: clamp(38px, 5.2vw, 60px); font-weight: 700; margin-bottom: 22px; }
.hero-copy h1 span { color: var(--green-600); position: relative; }
.hero-copy h1 span::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 10px; background: var(--gold-soft); z-index: -1; border-radius: 4px; }
.lead { font-size: 19px; color: var(--body); max-width: 38ch; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-trust { display: flex; gap: 28px; flex-wrap: wrap; padding-top: 26px; border-top: 1px solid var(--line); }
.hero-trust li { font-size: 14px; color: var(--muted); }
.hero-trust strong { display: block; font-size: 19px; color: var(--ink); font-family: var(--serif); }

/* Hero card */
.hero-card {
  background: #fff; border: 1px solid var(--line); border-radius: 22px;
  padding: 28px; box-shadow: var(--shadow-lg); transform: rotate(0.5deg);
}
.card-row { display: flex; align-items: center; justify-content: space-between; }
.card-head { color: var(--muted); font-size: 14px; font-weight: 500; }
.badge { background: var(--green-50); color: var(--green-700); font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 999px; }
.card-amount { font-family: var(--serif); font-size: 52px; font-weight: 700; color: var(--ink); margin: 6px 0 16px; letter-spacing: -0.02em; }
.card-bar { height: 8px; background: var(--green-50); border-radius: 999px; overflow: hidden; margin-bottom: 22px; }
.card-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--green-500), var(--green-700)); border-radius: 999px; }
.card-list { display: grid; gap: 12px; }
.card-list li { display: flex; justify-content: space-between; font-size: 15px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.card-list li:last-child { border-bottom: 0; }
.card-list li span:last-child { font-weight: 600; color: var(--green-700); }
.card-note { margin-top: 16px; font-size: 13px; color: var(--muted); }

/* ===== Stats ===== */
.stats { background: var(--bg-dark); color: #fff; padding: 40px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-num { display: block; font-family: var(--serif); font-size: clamp(28px, 4vw, 40px); font-weight: 700; color: #fff; }
.stat-label { font-size: 14px; color: rgba(255,255,255,0.7); letter-spacing: 0.02em; }

/* ===== Sections ===== */
.section { padding: 92px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 660px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(30px, 4vw, 42px); margin-bottom: 14px; }
.section-sub { color: var(--muted); font-size: 18px; }

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

/* ===== Services ===== */
.service {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--green-500); }
.service-icon {
  width: 56px; height: 56px; border-radius: 14px; background: var(--green-50);
  display: grid; place-items: center; font-size: 26px; margin-bottom: 18px;
}
.service h3 { font-size: 21px; margin-bottom: 8px; }
.service p { color: var(--body); font-size: 15.5px; }

/* ===== Steps ===== */
.steps .step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; position: relative; }
.step-num {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--green-700); color: #fff; font-family: var(--serif); font-weight: 700;
  font-size: 20px; margin-bottom: 18px;
}
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { font-size: 15.5px; }

/* ===== About ===== */
.about-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 56px; align-items: center; }
.about-media { position: relative; }
.about-photo {
  aspect-ratio: 4 / 3.4; border-radius: 20px; box-shadow: var(--shadow-lg);
  background:
    linear-gradient(135deg, rgba(15,81,50,0.85), rgba(11,61,39,0.92)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M0 39h40M39 0v40' stroke='%23ffffff' stroke-opacity='0.06'/%3E%3C/svg%3E");
  position: relative;
}
.about-photo::after {
  content: "🧮"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 84px; opacity: 0.92;
}
.about-badge {
  position: absolute; right: -14px; bottom: -18px; background: #fff; border: 1px solid var(--line);
  border-radius: 14px; padding: 16px 20px; box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.about-badge strong { color: var(--green-700); font-family: var(--serif); font-size: 18px; }
.about-badge span { font-size: 13px; color: var(--muted); }
.about-copy h2 { font-size: clamp(28px, 3.6vw, 40px); margin-bottom: 18px; }
.about-copy p { margin-bottom: 16px; }

.check-list { display: grid; gap: 11px; margin-top: 22px; }
.check-list li { position: relative; padding-left: 30px; font-size: 15.5px; color: var(--body); }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px;
  background: var(--green-50); color: var(--green-600); border-radius: 50%;
  display: grid; place-items: center; font-size: 12px; font-weight: 700;
}

/* ===== Pricing ===== */
.pricing { align-items: start; }
.price-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; position: relative; transition: transform .2s, box-shadow .2s;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.price-card.featured { border-color: var(--green-600); box-shadow: var(--shadow-lg); transform: translateY(-8px); }
.price-card.featured:hover { transform: translateY(-12px); }
.tag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: #2c2410; font-size: 12px; font-weight: 700;
  padding: 5px 16px; border-radius: 999px; letter-spacing: 0.03em;
}
.price-card h3 { font-size: 22px; margin-bottom: 8px; }
.price { font-family: var(--serif); font-size: 46px; font-weight: 700; color: var(--ink); line-height: 1; }
.price span { font-size: 15px; color: var(--muted); font-family: var(--sans); font-weight: 500; display: block; margin-bottom: 2px; }
.price-for { color: var(--muted); font-size: 14.5px; margin: 8px 0 4px; }
.price-card .check-list { margin-bottom: 26px; }
.pricing-note { text-align: center; margin-top: 34px; color: var(--muted); }
.pricing-note a { color: var(--green-700); font-weight: 600; text-decoration: underline; }

/* ===== Testimonials ===== */
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 14px; font-size: 16px; }
.quote blockquote { font-size: 16.5px; color: var(--ink); font-family: var(--serif); font-weight: 500; line-height: 1.5; }
.quote figcaption { margin-top: 18px; font-size: 14px; color: var(--muted); font-weight: 600; }

/* ===== FAQ ===== */
.faq { max-width: 800px; margin: 0 auto; display: grid; gap: 14px; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 4px 24px;
  transition: box-shadow .2s, border-color .2s;
}
.faq details[open] { box-shadow: var(--shadow); border-color: var(--green-500); }
.faq summary {
  cursor: pointer; list-style: none; font-weight: 600; color: var(--ink);
  font-size: 17px; padding: 18px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 26px; color: var(--green-600); font-weight: 400; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 20px; color: var(--body); font-size: 15.5px; }

/* ===== Contact ===== */
.section-contact { background: var(--bg-dark); color: rgba(255,255,255,0.88); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: start; }
.contact-copy h2 { color: #fff; font-size: clamp(28px, 3.6vw, 40px); margin-bottom: 16px; }
.contact-copy p { color: rgba(255,255,255,0.75); margin-bottom: 26px; max-width: 42ch; }
.contact-list { display: grid; gap: 16px; }
.contact-list li { display: flex; align-items: center; gap: 14px; font-size: 16px; }
.contact-list a:hover { color: var(--gold); }
.ci { width: 40px; height: 40px; flex: none; border-radius: 11px; background: rgba(255,255,255,0.08); display: grid; place-items: center; font-size: 18px; }

.contact-form { background: #fff; border-radius: 20px; padding: 32px; box-shadow: var(--shadow-lg); }
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font: inherit; font-size: 15.5px; color: var(--ink); background: #fff; transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--green-500); box-shadow: 0 0 0 4px var(--green-50);
}
.field textarea { resize: vertical; }
.contact-form .btn { margin-top: 6px; }
.form-status { margin-top: 14px; font-size: 14.5px; font-weight: 600; text-align: center; min-height: 1px; }
.form-status.ok { color: var(--green-600); }
.form-status.err { color: #c0392b; }
.form-fine { margin-top: 14px; font-size: 12.5px; color: var(--muted); text-align: center; }

/* ===== Footer ===== */
.site-footer { background: #082c1c; color: rgba(255,255,255,0.72); padding: 64px 0 28px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.brand-light .brand-text { color: #fff; }
.footer-brand p { margin-top: 16px; max-width: 34ch; color: rgba(255,255,255,0.6); font-size: 14.5px; }
.footer-col h4 { color: #fff; font-family: var(--sans); font-size: 14px; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; }
.footer-col ul { display: grid; gap: 11px; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; color: rgba(255,255,255,0.5);
}

/* ===== Responsive ===== */
@media (max-width: 920px) {
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 60px 0 70px; }
  .hero-card { max-width: 420px; }
  .about-badge { right: 16px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--line); padding: 12px; gap: 4px;
    box-shadow: var(--shadow); transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .2s;
  }
  .nav-menu.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-menu a { padding: 13px 16px; }
  .nav-cta { text-align: center; }
  .section { padding: 64px 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .grid-3 { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
  .price-card.featured:hover { transform: translateY(-4px); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; }
}
@media (max-width: 460px) {
  body { font-size: 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-trust { gap: 18px; }
}

/* ===== Reveal animation ===== */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
  .reveal.in { opacity: 1; transform: none; }
}
