/* Brand tokens copied from frontend/src/index.css so the site matches the app. */
:root {
  --chalk: #F3F5F0;
  --surface: #FFFFFF;
  --ink: #16211A;
  --ink-soft: #5C6A60;
  --line: #DFE6DE;
  --pine: #0C6B4B;
  --pine-dark: #094F38;
  --pine-tint: #E3F0E9;
  --amber: #EFA320;
  --wa: #1FAF57;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(22,33,26,.06), 0 6px 18px rgba(22,33,26,.06);
  --font: 'Barlow', system-ui, sans-serif;
  --display: 'Barlow Condensed', 'Arial Narrow', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--chalk);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--pine); }
a:hover { color: var(--pine-dark); }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(243,245,240,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 36px; height: 36px; }
.brand span { font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: .3px; }
.brand b { color: var(--pine); font-weight: 800; }
.nav { display: flex; align-items: center; gap: 20px; }
.nav a { text-decoration: none; color: var(--ink-soft); font-weight: 600; font-size: 15px; }
.nav a:hover { color: var(--ink); }
.nav .hide-sm { display: inline; }

/* Buttons */
.btn {
  display: inline-block; text-decoration: none; font-weight: 700;
  border-radius: 999px; padding: 12px 22px; font-size: 16px;
  transition: background .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--pine); color: #fff; }
.btn-primary:hover { background: var(--pine-dark); color: #fff; }
.btn-ghost { border: 1.5px solid var(--line); color: var(--ink); background: var(--surface); }
.btn-ghost:hover { border-color: var(--pine); color: var(--pine); }
.btn-sm { padding: 8px 16px; font-size: 14px; }

/* Hero */
.hero { padding: 72px 0 56px; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-block; background: var(--pine-tint); color: var(--pine);
  font-weight: 700; font-size: 13px; letter-spacing: .6px; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px; margin-bottom: 18px;
}
h1, h2, h3 { font-family: var(--display); line-height: 1.1; margin: 0; }
h1 { font-size: clamp(38px, 6vw, 60px); font-weight: 800; letter-spacing: -.3px; }
h1 em { font-style: normal; color: var(--pine); }
.lead { font-size: 19px; color: var(--ink-soft); margin: 18px 0 28px; max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Phone mock with a WhatsApp receipt */
.phone {
  background: var(--ink); border-radius: 34px; padding: 12px;
  box-shadow: var(--shadow); max-width: 320px; margin: 0 auto;
}
.phone-screen { background: #ECE5DD; border-radius: 24px; overflow: hidden; }
.chat-head { background: #075E54; color: #fff; padding: 12px 16px; display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; }
.chat-head .dot { width: 30px; height: 30px; border-radius: 50%; background: var(--pine); display: grid; place-items: center; }
.chat-head .dot img { width: 30px; height: 30px; }
.chat { padding: 16px 12px 22px; display: grid; gap: 10px; }
.bubble { background: #fff; border-radius: 10px; padding: 8px 10px; font-size: 14px; line-height: 1.45; max-width: 92%; box-shadow: 0 1px 1px rgba(0,0,0,.08); }
.bubble .banner { background: var(--pine); color: #fff; border-radius: 6px; padding: 14px 10px; font-family: var(--display); font-weight: 800; font-size: 20px; margin-bottom: 8px; text-align: center; }
.bubble .time { display: block; text-align: right; color: #8696a0; font-size: 11px; margin-top: 2px; }

/* Sections */
section { padding: 64px 0; }
.section-head { max-width: 640px; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(30px, 4vw, 42px); font-weight: 800; }
.section-head p { color: var(--ink-soft); margin: 12px 0 0; }
.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
}
.alt .card { background: var(--chalk); box-shadow: none; }
.card h3 { font-size: 23px; font-weight: 700; margin: 14px 0 6px; }
.card p { margin: 0; color: var(--ink-soft); font-size: 16px; }
.icon {
  width: 44px; height: 44px; border-radius: 12px; background: var(--pine-tint); color: var(--pine);
  display: grid; place-items: center;
}
.icon svg { width: 24px; height: 24px; }
.icon.wa { background: #DDF5E6; color: var(--wa); }

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 0; margin: 0; list-style: none; }
.steps li { counter-increment: step; position: relative; padding: 24px 24px 24px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--pine); color: #fff; font-family: var(--display); font-weight: 800; font-size: 20px; margin-bottom: 12px;
}
.steps h3 { font-size: 22px; margin-bottom: 6px; }
.steps p { margin: 0; color: var(--ink-soft); font-size: 16px; }

.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.why div { border-left: 3px solid var(--amber); padding: 4px 0 4px 14px; }
.why strong { display: block; font-family: var(--display); font-size: 21px; }
.why span { color: var(--ink-soft); font-size: 15px; }

.contact {
  background: var(--pine); color: #fff; border-radius: 22px; padding: 48px 40px;
  display: grid; grid-template-columns: 1.3fr .7fr; gap: 24px; align-items: center;
}
.contact h2 { font-size: clamp(30px, 4vw, 40px); font-weight: 800; }
.contact p { margin: 10px 0 0; color: #d6e9df; }
.contact .btn { background: #fff; color: var(--pine); justify-self: end; }
.contact .btn:hover { background: var(--chalk); }
.contact .mail { display: block; margin-top: 10px; color: #fff; font-weight: 600; }

/* Footer */
.site-footer { padding: 32px 0 40px; color: var(--ink-soft); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.site-footer a { color: var(--ink-soft); }
.site-footer nav { display: flex; gap: 18px; }

/* Legal pages */
.legal { padding: 48px 0 24px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(34px, 5vw, 48px); }
.legal .meta { color: var(--ink-soft); margin: 10px 0 32px; }
.legal h2 { font-size: 26px; margin: 36px 0 10px; }
.legal p, .legal li { color: #2b3830; }
.legal ul { padding-left: 22px; }
.legal li { margin: 4px 0; }
.legal .note { background: var(--pine-tint); border-radius: var(--radius); padding: 16px 18px; }

@media (max-width: 860px) {
  .hero { padding: 44px 0 32px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .grid, .steps { grid-template-columns: 1fr 1fr; }
  .why { grid-template-columns: 1fr 1fr; }
  .contact { grid-template-columns: 1fr; padding: 36px 24px; }
  .contact .btn { justify-self: start; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .nav .hide-sm { display: none; }
  .grid, .steps, .why { grid-template-columns: 1fr; }
  section { padding: 48px 0; }
}
