:root {
  --green-900: #0E3B29;
  --green-700: #1F6B4C;
  --green-600: #27835D;
  --green-100: #EAF3EE;
  --green-50: #F5F9F7;
  --ink: #17241E;
  --ink-soft: #4A5A52;
  --line: #DFE9E3;
  --white: #FFFFFF;
  --wa: #25D366;
  --wa-dark: #128C4B;
  --amber: #F5B841;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(14, 59, 41, 0.10);
  --font: 'Assistant', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
}

.container { max-width: 1140px; margin: 0 auto; padding: 0 22px; }
.container.narrow { max-width: 780px; }

.skip-link {
  position: absolute; top: -50px; right: 10px;
  background: var(--green-700); color: #fff;
  padding: 8px 16px; border-radius: 8px; z-index: 200;
  transition: top .2s;
}
.skip-link:focus { top: 10px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(14,59,41,.06); }
.header-inner { display: flex; align-items: center; gap: 28px; height: 68px; }

.logo { display: flex; align-items: center; gap: 9px; text-decoration: none; }
.logo-mark {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--green-600), var(--green-900));
  color: #fff; font-weight: 800; font-size: 20px;
  display: grid; place-items: center;
}
.logo-text { font-size: 21px; font-weight: 400; color: var(--ink); letter-spacing: -.2px; }
.logo-text b { font-weight: 800; color: var(--green-700); }
.logo-text.light { color: #fff; }
.logo-text.light b { color: #9FD9BE; }
.logo-img { height: 42px; width: auto; display: block; }
.logo-img-footer { height: 40px; }

.main-nav { display: flex; gap: 22px; margin-inline-start: auto; }
.main-nav a {
  text-decoration: none; color: var(--ink-soft); font-weight: 600; font-size: 15.5px;
  transition: color .15s;
}
.main-nav a:hover { color: var(--green-700); }

.header-cta { white-space: nowrap; }

.menu-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.menu-toggle span { display: block; width: 22px; height: 2.5px; background: var(--ink); margin: 4.5px 0; border-radius: 2px; transition: .2s; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 12px 24px; border-radius: 12px;
  font-family: var(--font); font-weight: 700; font-size: 16px;
  text-decoration: none; cursor: pointer; border: 0;
  transition: transform .12s, box-shadow .12s, background .15s;
}
.btn:active { transform: scale(.97); }
.btn-lg { padding: 16px 30px; font-size: 17.5px; }
.btn-primary { background: var(--green-700); color: #fff; box-shadow: 0 6px 18px rgba(31,107,76,.30); }
.btn-primary:hover { background: var(--green-600); box-shadow: 0 8px 22px rgba(31,107,76,.38); }
.btn-whatsapp { background: var(--wa); color: #fff; box-shadow: 0 6px 18px rgba(37,211,102,.30); }
.btn-whatsapp:hover { background: #1fbe5a; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(900px 500px at 85% -10%, var(--green-100), transparent 60%),
    linear-gradient(180deg, var(--green-50), var(--white) 75%);
  padding: 72px 0 56px;
  overflow: hidden;
}
.hero-inner { max-width: 840px; margin: 0 auto; text-align: center; }

.hero-badge {
  display: inline-block;
  background: var(--green-100); color: var(--green-900);
  font-weight: 700; font-size: 14px;
  padding: 7px 14px; border-radius: 100px; margin-bottom: 20px;
}
.hero h1 { font-size: clamp(34px, 5vw, 54px); font-weight: 800; line-height: 1.14; letter-spacing: -.5px; }
.hero h1 .accent { color: var(--green-700); }
.hero-tagline { font-size: clamp(18px, 2.3vw, 22px); font-weight: 700; color: var(--green-700); margin-top: 16px; }
.hero-sub { font-size: 19px; color: var(--ink-soft); margin: 14px auto 30px; max-width: 60ch; }

.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-ctas.center { justify-content: center; }

.hero-stats {
  display: flex; gap: 40px; flex-wrap: wrap; justify-content: center;
  list-style: none; margin-top: 40px;
}
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats b { font-size: 26px; font-weight: 800; color: var(--green-700); }
.hero-stats span { font-size: 14px; color: var(--ink-soft); font-weight: 600; }

/* Phone mockup */
.hero-visual { display: flex; justify-content: center; }
.phone-card {
  width: min(340px, 100%);
  background: #fff; border: 1px solid var(--line); border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 22px 18px;
  display: flex; flex-direction: column; gap: 10px;
  transform: rotate(-2deg);
}
.chat-bubble {
  max-width: 85%; padding: 10px 14px; border-radius: 14px;
  font-size: 14.5px; line-height: 1.5; font-weight: 500;
}
.chat-bubble.them { background: #F1F3F2; color: var(--ink); align-self: flex-start; border-bottom-right-radius: 4px; }
.chat-bubble.us { background: var(--green-100); color: var(--green-900); align-self: flex-end; border-bottom-left-radius: 4px; }
.chat-status { font-size: 12.5px; color: var(--ink-soft); align-self: flex-end; margin-top: 2px; }

/* ---------- Trust bar ---------- */
.trust-bar { background: var(--green-900); color: #DDEBE3; padding: 13px 0; }
.trust-inner {
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  font-size: 14.5px; font-weight: 600;
}

/* ---------- Sections ---------- */
.section { padding: 76px 0; }
.section-alt { background: var(--green-50); }
.section-title { font-size: clamp(27px, 3.6vw, 38px); font-weight: 800; text-align: center; letter-spacing: -.4px; }
.section-sub { text-align: center; color: var(--ink-soft); font-size: 18px; margin: 12px auto 44px; max-width: 62ch; }
.section-title.light, .section-sub.light { color: #fff; }
.section-sub.light { opacity: .85; }

/* ---------- Cards ---------- */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; position: relative;
  transition: transform .15s, box-shadow .15s;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-featured { border: 2px solid var(--green-700); }
.card-badge {
  position: absolute; top: -13px; inset-inline-start: 22px;
  background: var(--amber); color: #5C4400;
  font-size: 13px; font-weight: 800; padding: 4px 13px; border-radius: 100px;
}
.card-icon { font-size: 34px; margin-bottom: 12px; }
.card h3 { font-size: 21px; font-weight: 800; margin-bottom: 8px; }
.card p { color: var(--ink-soft); font-size: 15.5px; }
.card-list { list-style: none; margin: 16px 0 20px; }
.card-list li { padding-inline-start: 24px; position: relative; font-size: 15px; font-weight: 600; margin-bottom: 7px; }
.card-list li::before { content: '✓'; position: absolute; inset-inline-start: 0; color: var(--green-600); font-weight: 800; }
.card-cta { margin-top: auto; color: var(--green-700); font-weight: 800; text-decoration: none; font-size: 15.5px; }
.card-cta:hover { text-decoration: underline; }

/* ---------- Steps ---------- */
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  list-style: none; counter-reset: step;
}
.step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; position: relative;
}
.step-num {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--green-700); color: #fff;
  font-size: 19px; font-weight: 800;
  display: grid; place-items: center; margin-bottom: 14px;
}
.step h3 { font-size: 18px; font-weight: 800; margin-bottom: 6px; }
.step p { font-size: 14.5px; color: var(--ink-soft); margin-bottom: 14px; }
.step-tag { font-size: 12.5px; font-weight: 800; padding: 4px 11px; border-radius: 100px; }
.step-tag.you { background: #FFF3D6; color: #7A5A00; }
.step-tag.us { background: var(--green-100); color: var(--green-900); }
.step-tag.done { background: var(--green-700); color: #fff; }

/* ---------- Why ---------- */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.why-item {
  background: var(--green-50); border-radius: var(--radius);
  padding: 26px 26px;
}
.why-item h3 { font-size: 19px; font-weight: 800; margin-bottom: 8px; }
.why-item p { color: var(--ink-soft); font-size: 15.5px; }

/* ---------- Eligibility / Quiz ---------- */
.section-green {
  background: linear-gradient(160deg, var(--green-700), var(--green-900));
}
.eligibility-wrap { max-width: 720px; }
.quiz {
  background: #fff; border-radius: 20px; box-shadow: var(--shadow);
  padding: 36px 32px 28px; position: relative; overflow: hidden;
}
.quiz-step { display: none; }
.quiz-step.active { display: block; animation: fadeIn .25s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.quiz-step h3 { font-size: 22px; font-weight: 800; margin-bottom: 20px; text-align: center; }
.quiz-options { display: flex; flex-direction: column; gap: 12px; }
.quiz-opt {
  font-family: var(--font); font-size: 17px; font-weight: 700; color: var(--ink);
  background: var(--green-50); border: 2px solid var(--line); border-radius: 12px;
  padding: 15px 18px; cursor: pointer; text-align: start;
  transition: border-color .15s, background .15s, transform .1s;
}
.quiz-opt:hover { border-color: var(--green-600); background: var(--green-100); }
.quiz-opt:active { transform: scale(.98); }
.quiz-progress { height: 6px; background: var(--green-100); border-radius: 100px; margin-top: 26px; overflow: hidden; }
.quiz-bar { height: 100%; width: 0%; background: var(--green-600); border-radius: 100px; transition: width .3s ease; }
.quiz-result { text-align: center; padding: 10px 0; }
.quiz-check {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--green-100); color: var(--green-700);
  font-size: 32px; font-weight: 800;
  display: grid; place-items: center; margin: 0 auto 16px;
}
.quiz-result p { color: var(--ink-soft); margin: 10px 0 22px; }

/* ---------- Testimonials ---------- */
.testimonial {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px;
}
.testimonial p { font-size: 16.5px; font-weight: 600; line-height: 1.7; }
.testimonial footer { margin-top: 14px; color: var(--ink-soft); font-weight: 700; font-size: 14.5px; }
.t-note { display: block; color: #B77B00; font-size: 12.5px; font-weight: 700; margin-top: 3px; }

/* ---------- Testimonials wall ---------- */
.testimonials-wall { columns: 4; column-gap: 16px; }
.testimonials-wall img {
  width: 100%; margin: 0 0 16px; display: block; break-inside: avoid;
  border-radius: 12px; border: 1px solid var(--line);
  box-shadow: 0 4px 14px rgba(14, 59, 41, .07);
}

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 0 22px;
}
.faq-item summary {
  cursor: pointer; font-weight: 800; font-size: 17.5px;
  padding: 18px 0; list-style: none; position: relative;
  padding-inline-end: 34px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; position: absolute; inset-inline-end: 4px; top: 50%;
  transform: translateY(-50%);
  font-size: 24px; color: var(--green-700); font-weight: 400;
  transition: transform .2s;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p { padding: 0 0 20px; color: var(--ink-soft); }

/* ---------- Final CTA ---------- */
.final-cta { text-align: center; background: var(--green-50); }
.final-cta h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; }
.final-cta p { color: var(--ink-soft); font-size: 18px; margin: 12px 0 28px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-900); color: #C7DACF; padding: 56px 0 0; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px;
  padding-bottom: 40px;
}
.footer-about { font-size: 14.5px; margin-top: 14px; max-width: 34ch; }
.site-footer h4 { color: #fff; font-size: 16px; margin-bottom: 14px; }
.site-footer nav { display: flex; flex-direction: column; }
.site-footer nav a, .footer-wa {
  color: #C7DACF; text-decoration: none; font-size: 15px; margin-bottom: 9px;
}
.site-footer a:hover { color: #fff; }
.footer-legal {
  border-top: 1px solid rgba(255,255,255,.14);
  padding: 22px; font-size: 13px; opacity: .75; text-align: center;
}
.footer-legal p + p { margin-top: 8px; }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; bottom: 22px; inset-inline-start: 22px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--wa); color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(37,211,102,.45);
  transition: transform .15s;
}
.wa-float:hover { transform: scale(1.08); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-visual { order: -1; }
  .phone-card { transform: none; }
  .cards-grid, .steps, .services-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .testimonials-wall { columns: 3; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .main-nav, .header-cta { display: none; }
  .menu-toggle { display: block; margin-inline-start: auto; }
  .main-nav.open {
    display: flex; flex-direction: column;
    position: absolute; top: 68px; right: 0; left: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 18px 22px; gap: 16px;
    box-shadow: 0 14px 30px rgba(14,59,41,.10);
  }
}
@media (max-width: 620px) {
  .cards-grid, .steps, .services-grid { grid-template-columns: 1fr; }
  .testimonials-wall { columns: 2; column-gap: 12px; }
  .hero { padding: 44px 0 40px; }
  .hero-stats { gap: 22px; }
  .trust-inner { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .quiz { padding: 26px 18px 22px; }
}
