/* ============================================================
   RELATE — WhatsApp-inspired stylesheet
   Clean white space, rounded shapes, friendly sans-serif,
   green pill buttons. Brand green = Relate forest green.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root{
  --green:      #234A32;   /* Relate forest green */
  --green-dark: #16301F;
  --green-2:    #2F5C40;
  --green-soft: #F6F5F1;   /* barely-there warm neutral */
  --green-mint: #EEF3EE;
  --cream:      #F7F4EC;
  --pill-bg:    #ECF1EC;   /* faint green just for labels */
  --white:      #FFFFFF;
  --text:       #1B241D;
  --muted:      #5C6960;
  --accent:     #BE9A4E;   /* gold, used sparingly */
  --line:       #E7E4DA;
  --pill-shadow: 0 8px 20px -8px rgba(35,74,50,.45);
  --card-shadow: 0 24px 60px -30px rgba(27,36,29,.35);
  --r-pill: 999px;
  --r-xl: 34px;
  --r-lg: 26px;
  --r-md: 18px;
  --container: 1180px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{ animation-duration:.001ms !important; transition-duration:.001ms !important; }
}

body{
  margin:0; background:var(--white); color:var(--text);
  font-family:'Inter',system-ui,sans-serif; font-size:17px; line-height:1.6;
  -webkit-font-smoothing:antialiased;
}

h1,h2,h3,h4{ font-family:'Inter',sans-serif; font-weight:800; line-height:1.1; margin:0 0 .5em; color:var(--green-dark); letter-spacing:-.02em; }
h1{ font-size:clamp(2.6rem,5.4vw,4.3rem); }
h2{ font-size:clamp(2rem,3.6vw,3rem); }
h3{ font-size:1.3rem; font-weight:700; }
p{ margin:0 0 1em; color:var(--muted); }
a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }
ul{ margin:0; padding:0; list-style:none; }
button{ font-family:inherit; cursor:pointer; background:none; border:none; }

.container{ max-width:var(--container); margin:0 auto; padding:0 24px; }
.section{ padding:128px 0; }
.section--soft{ background:var(--green-soft); }
.section--green{ background:var(--green); }
.section--green h1,.section--green h2,.section--green h3{ color:#fff; }
.section--green p{ color:#C9DcCF; }
.section-head{ max-width:720px; margin:0 auto 72px; text-align:center; }
.section-head p{ font-size:1.15rem; }

/* pill eyebrow */
.pill-label{
  display:inline-flex; align-items:center; gap:8px;
  background:var(--pill-bg); color:var(--green);
  font-size:.85rem; font-weight:700; padding:8px 18px; border-radius:var(--r-pill);
  margin-bottom:22px;
}
.pill-label::before{ content:''; width:8px; height:8px; border-radius:50%; background:var(--green); }
.section--green .pill-label{ background:rgba(255,255,255,.14); color:#EAF2EC; }
.section--green .pill-label::before{ background:var(--accent); }

.lede{ font-size:1.2rem; color:var(--muted); max-width:560px; }

/* ---------- buttons: WhatsApp-style green pills ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:9px;
  font-weight:700; font-size:1.02rem; padding:16px 38px; border-radius:var(--r-pill);
  transition:transform .2s var(--ease), background .2s, box-shadow .2s, color .2s, border-color .2s;
}
.btn--primary{ background:var(--green); color:#fff; box-shadow:var(--pill-shadow); }
.btn--primary:hover{ background:var(--green-2); transform:translateY(-2px); }
.btn--outline{ background:var(--white); color:var(--green); border:2px solid var(--green); }
.btn--outline:hover{ background:var(--green-soft); }
.btn--light{ background:#fff; color:var(--green); }
.btn--light:hover{ transform:translateY(-2px); }
.section--green .btn--outline{ background:transparent; border-color:rgba(255,255,255,.6); color:#fff; }
.section--green .btn--outline:hover{ background:rgba(255,255,255,.12); }
.btn-row{ display:flex; gap:16px; flex-wrap:wrap; }

/* ---------- header ---------- */
.site-header{
  position:sticky; top:0; z-index:60;
  background:rgba(255,255,255,.94); backdrop-filter:blur(14px);
  border-bottom:1px solid var(--line);
}
.nav{ display:flex; align-items:center; justify-content:space-between; gap:24px; max-width:var(--container); margin:0 auto; padding:14px 24px; }
.logo img{ height:34px; width:auto; }
.nav-links{ display:flex; gap:30px; }
.nav-links a{ font-size:.96rem; font-weight:600; color:var(--muted); padding:6px 0; position:relative; white-space:nowrap; }
.nav-links a:hover{ color:var(--green); }
.nav-links a.active{ color:var(--green); }
.nav-links a.active::after{ content:''; position:absolute; left:0; right:0; bottom:0; height:2.5px; background:var(--green); border-radius:2px; }
.nav-actions{ display:flex; gap:12px; align-items:center; }
.nav-actions .btn{ padding:11px 26px; font-size:.94rem; }
.nav-toggle{ display:none; padding:8px; }
.nav-toggle span{ display:block; width:22px; height:2.5px; background:var(--green-dark); margin:5px 0; border-radius:2px; transition:.3s; }

@media (max-width: 1040px){
  .nav-links{
    position:fixed; inset:63px 0 auto 0; background:var(--white);
    flex-direction:column; padding:26px 24px; gap:20px; border-bottom:1px solid var(--line);
    box-shadow:var(--card-shadow); transform:translateY(-8px); opacity:0; pointer-events:none; transition:.25s var(--ease);
  }
  .nav-links.open{ transform:none; opacity:1; pointer-events:auto; }
  .nav-toggle{ display:block; }
  .nav-actions .btn--outline{ display:none; }
}

/* ---------- hero (WhatsApp: big rounded panel, photo + text) ---------- */
.hero{ padding:40px 0 90px; }
.hero-panel{
  background:#FAFAF8; border-radius:var(--r-xl); overflow:hidden;
  display:grid; grid-template-columns:1fr 1fr; align-items:stretch; min-height:520px;
  box-shadow:var(--card-shadow);
}
.hero-copy{ padding:70px 60px; display:flex; flex-direction:column; justify-content:center; }
.hero-copy h1{ margin-bottom:18px; }
.hero-copy .lede{ margin-bottom:34px; font-size:1.25rem; }
.hero-photo{ position:relative; }
.hero-photo img{ width:100%; height:100%; object-fit:cover; }
@media (max-width: 920px){
  .hero-panel{ grid-template-columns:1fr; }
  .hero-copy{ padding:48px 36px; order:2; }
  .hero-photo{ order:1; min-height:320px; }
}
@media (max-width: 520px){ .hero-copy{ padding:36px 26px; } }

/* ---------- feature cards ---------- */
.cards{ display:grid; grid-template-columns:repeat(3,1fr); gap:26px; }
.cards--4{ grid-template-columns:repeat(4,1fr); }
@media (max-width: 980px){ .cards,.cards--4{ grid-template-columns:repeat(2,1fr); } }
@media (max-width: 600px){ .cards,.cards--4{ grid-template-columns:1fr; } }
.card{
  background:var(--white); border:1px solid var(--line); border-radius:var(--r-lg);
  padding:34px 30px; transition:box-shadow .25s var(--ease), transform .25s var(--ease);
}
.card:hover{ box-shadow:var(--card-shadow); transform:translateY(-4px); }
.card .icon{
  width:56px; height:56px; border-radius:50%; background:var(--pill-bg); color:var(--green);
  display:flex; align-items:center; justify-content:center; margin-bottom:20px;
}
.card .icon svg{ width:26px; height:26px; }
.card h3{ margin-bottom:8px; }
.card p{ margin:0; font-size:1rem; }
.section--soft .card{ background:var(--white); }

/* ---------- split (image + text), WhatsApp alternating ---------- */
.split{ display:grid; grid-template-columns:1fr 1fr; gap:88px; align-items:center; }
.split + .split{ margin-top:140px; }
.split-media img{ width:100%; border-radius:var(--r-xl); box-shadow:var(--card-shadow); background:var(--green-soft); }
.split-media--round img{ border-radius:var(--r-xl); aspect-ratio:1200/820; object-fit:cover; }
.split-media--phone{ display:flex; justify-content:center; }
.split-media--phone img{ max-width:300px; box-shadow:none; background:transparent; }
.split-media--app{ display:flex; justify-content:center; }
.split-media--app img{ max-width:320px; box-shadow:none; background:transparent; border-radius:0; }
.split-media--tall img{ max-width:420px; margin:0 auto; }
.split .checks{ display:grid; gap:14px; margin-top:10px; }
.split .checks li{ display:flex; gap:14px; align-items:flex-start; color:var(--text); font-weight:600; }
.split .checks svg{ width:22px; height:22px; color:var(--green); flex:none; margin-top:2px; }
@media (max-width: 900px){
  .split{ grid-template-columns:1fr; gap:40px; }
  .split + .split{ margin-top:80px; }
  .split-media{ order:-1; }
}

/* ---------- steps ---------- */
.steps{ display:grid; grid-template-columns:repeat(5,1fr); gap:22px; }
@media (max-width: 980px){ .steps{ grid-template-columns:repeat(2,1fr); } }
@media (max-width: 600px){ .steps{ grid-template-columns:1fr; } }
.step{ background:var(--white); border:1px solid var(--line); border-radius:var(--r-lg); padding:30px 24px; text-align:center; }
.section--soft .step{ background:var(--white); }
.step .step-num{
  width:52px; height:52px; border-radius:50%; background:var(--green); color:#fff;
  display:flex; align-items:center; justify-content:center; font-weight:800; font-size:1.2rem;
  margin:0 auto 18px;
}
.step h3{ font-size:1.08rem; margin-bottom:6px; }
.step p{ margin:0; font-size:.95rem; }

/* ---------- compare ---------- */
.compare{ max-width:800px; margin:0 auto; background:var(--white); border:1px solid var(--line); border-radius:var(--r-lg); overflow:hidden; box-shadow:var(--card-shadow); }
.compare-row{ display:grid; grid-template-columns:1fr 48px 1fr; align-items:center; gap:16px; padding:24px 30px; }
.compare-row + .compare-row{ border-top:1px solid var(--line); }
.compare-old{ color:#9A937F; text-decoration:line-through; }
.compare-arrow{ text-align:center; color:var(--green); font-size:1.2rem; }
.compare-new{ color:var(--green-dark); font-weight:700; }
@media (max-width: 620px){ .compare-row{ grid-template-columns:1fr; gap:4px; } .compare-arrow{ display:none; } }

/* ---------- tree layers ---------- */
.tree{ max-width:800px; margin:0 auto; }
.tree-layer{ display:grid; grid-template-columns:150px 1fr; gap:24px; align-items:baseline; padding:22px 6px; }
.tree-layer + .tree-layer{ border-top:1px solid var(--line); }
.tree-layer h4{ font-weight:800; color:var(--green); margin:0; font-size:1.25rem; }
.tree-layer p{ margin:0; color:var(--text); }
@media (max-width: 620px){ .tree-layer{ grid-template-columns:1fr; gap:4px; } }

/* ---------- testimonials ---------- */
.testimonials{ display:grid; grid-template-columns:repeat(3,1fr); gap:26px; }
@media (max-width: 980px){ .testimonials{ grid-template-columns:1fr; max-width:600px; margin:0 auto; } }
.testimonial{ background:var(--white); border:1px solid var(--line); border-radius:var(--r-lg); padding:32px 30px; display:flex; flex-direction:column; box-shadow:var(--card-shadow); }
.section--soft .testimonial{ box-shadow:none; }
.stars{ color:var(--accent); letter-spacing:3px; font-size:1rem; margin-bottom:14px; }
.testimonial p{ color:var(--text); flex:1; font-size:1.02rem; }
.person{ display:flex; align-items:center; gap:12px; margin-top:20px; }
.person img{ width:46px; height:46px; border-radius:50%; object-fit:cover; }
.person strong{ display:block; color:var(--green-dark); font-size:1rem; }
.person small{ color:var(--muted); font-size:.88rem; }
.rating-line{ text-align:center; margin-top:34px; color:var(--muted); font-size:1rem; }
.rating-line strong{ color:var(--green-dark); }

/* ---------- FAQ ---------- */
.faq{ max-width:780px; margin:0 auto; }
.faq-item{ background:var(--white); border:1px solid var(--line); border-radius:var(--r-md); margin-bottom:14px; overflow:hidden; }
.faq-q{ width:100%; text-align:left; padding:24px 28px; display:flex; justify-content:space-between; align-items:center; font-weight:700; font-size:1.08rem; color:var(--green-dark); }
.faq-q .plus{ color:var(--green); font-size:1.5rem; font-weight:400; transition:transform .3s var(--ease); flex:none; margin-left:16px; line-height:1; }
.faq-item.open .plus{ transform:rotate(45deg); }
.faq-a{ max-height:0; overflow:hidden; transition:max-height .35s var(--ease); }
.faq-item.open .faq-a{ max-height:320px; }
.faq-a p{ padding:0 28px 24px; margin:0; }

/* ---------- CTA ---------- */
.cta{ text-align:center; }
.cta .btn-row{ justify-content:center; margin-top:30px; }
.cta .tagline{ color:var(--accent); font-weight:700; }
.section--green .cta .tagline{ color:var(--accent); }

/* ---------- forms ---------- */
.form{ max-width:640px; margin:0 auto; background:var(--white); border:1px solid var(--line); border-radius:var(--r-lg); padding:44px; box-shadow:var(--card-shadow); }
.form-field{ display:grid; gap:8px; margin-bottom:22px; }
.form-field label{ font-weight:700; font-size:.94rem; color:var(--green-dark); }
.form-field input,.form-field textarea{
  font-family:'Inter',sans-serif; font-size:1rem; padding:15px 18px;
  border-radius:14px; border:1.5px solid var(--line); background:var(--white); color:var(--text);
  transition:border-color .2s;
}
.form-field input:focus,.form-field textarea:focus{ outline:none; border-color:var(--green); }
#form-note{ display:none; margin-top:18px; padding:15px 20px; background:var(--pill-bg); border-radius:14px; color:var(--green-dark); font-weight:700; }
#form-note.visible{ display:block; }
@media (max-width:560px){ .form{ padding:28px 22px; } }

/* ---------- quiz ---------- */
.quiz-q{ background:var(--white); border:1px solid var(--line); border-radius:var(--r-lg); padding:28px 30px; margin-bottom:18px; box-shadow:var(--card-shadow); }
.quiz-q h3{ font-size:1.12rem; margin-bottom:18px; }
.quiz-opts{ display:flex; gap:14px; flex-wrap:wrap; }
.quiz-opt{ padding:12px 28px; border-radius:var(--r-pill); border:2px solid var(--line); background:var(--white); font-weight:700; font-size:.96rem; color:var(--green-dark); transition:.2s; }
.quiz-opt:hover:not(:disabled){ border-color:var(--green); }
.quiz-opt.selected{ background:var(--green); color:#fff; border-color:var(--green); }
.quiz-q.answered .quiz-opt:disabled{ opacity:.5; cursor:default; }
#quiz-progress{ text-align:center; color:var(--muted); margin-bottom:30px; font-size:.96rem; }
#quiz-result{ display:none; background:var(--pill-bg); border-radius:var(--r-lg); padding:40px; margin-top:26px; text-align:center; }
#quiz-result.visible{ display:block; }
#quiz-result .pill-label{ margin-bottom:14px; }

/* ---------- footer ---------- */
.site-footer{ background:var(--green-dark); color:#B9C7B4; padding:70px 0 30px; }
.footer-top{ display:grid; grid-template-columns:1.5fr 1fr 1fr 1fr; gap:40px; margin-bottom:52px; }
@media (max-width:820px){ .footer-top{ grid-template-columns:1fr 1fr; } }
@media (max-width:520px){ .footer-top{ grid-template-columns:1fr; } }
.footer-brand img{ height:34px; width:auto; }
.footer-brand p{ margin-top:16px; max-width:300px; color:#9FB29A; font-size:.98rem; }
.footer-col h4{ color:#fff; font-size:.88rem; text-transform:uppercase; letter-spacing:.08em; margin-bottom:16px; font-weight:700; }
.footer-col a{ display:block; padding:6px 0; color:#B9C7B4; font-size:.98rem; }
.footer-col a:hover{ color:#fff; }
.footer-bottom{ border-top:1px solid rgba(255,255,255,.14); padding-top:26px; display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:14px; font-size:.9rem; color:#9FB29A; }
.socials{ display:flex; gap:16px; }
.socials a{ color:#B9C7B4; display:flex; }
.socials a:hover{ color:#fff; }
.socials svg{ width:20px; height:20px; }

/* ---------- utility ---------- */
.center{ text-align:center; }
.mw-720{ max-width:720px; margin-left:auto; margin-right:auto; }
.mw-860{ max-width:860px; margin-left:auto; margin-right:auto; }
.reveal{ opacity:0; transform:translateY(16px); transition:opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in{ opacity:1; transform:none; }

/* ---------- inner page hero ---------- */
.page-hero{ padding:96px 0 64px; background:#FBFBF9; border-bottom:1px solid var(--line); text-align:center; }
.page-hero .lede{ margin:0 auto; }
.page-hero .pill-label{ margin-left:auto; margin-right:auto; }

/* ---------- mission (About) ---------- */
.mission{ max-width:740px; margin:0 auto; }
.mission p{ font-size:1.14rem; color:var(--text); margin-bottom:1.3em; }
.mission p.pull{ font-weight:800; font-size:1.6rem; line-height:1.3; color:var(--green-dark); border-left:4px solid var(--green); padding-left:26px; margin:1.6em 0; }
.mission p.emph{ font-weight:700; color:var(--green-dark); }
