@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&display=swap');

/* ─── tokens ─────────────────────────────────────────────── */
:root {
  --forest:   #0B5E48;
  --teal:     #1D9E75;
  --mint:     #4ECBA5;
  --mist:     #E1F5EE;
  --ink:      #0E1C18;
  --ink-60:   #0E1C1899;
  --ink-20:   #0E1C1833;
  --sand:     #F5F2EC;
  --white:    #FFFFFF;
  --radius:   12px;
  --radius-lg:20px;

  --font-display: 'Syne', sans-serif;
  --font-body:    'DM Sans', sans-serif;

  --nav-h: 72px;
}

/* ─── reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font-body); background: var(--sand); color: var(--ink); line-height: 1.6; }
img  { display: block; max-width: 100%; }
a    { color: inherit; text-decoration: none; }
ul   { list-style: none; }

/* ─── nav ─────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
  background: var(--sand);
  border-bottom: 1px solid var(--ink-20);
  transition: background 0.3s, box-shadow 0.3s;
}
.nav.scrolled {
  background: rgba(245,242,236,0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--ink-20);
}
.nav-logo { display: flex; align-items: center; gap: 11px; }
.nav-logo svg { flex-shrink: 0; }
.nav-wordmark { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; letter-spacing: -0.02em; }
.nav-wordmark span { color: var(--teal); }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { font-size: 0.875rem; font-weight: 500; color: var(--ink-60); transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-cta {
  font-family: var(--font-display); font-size: 0.875rem; font-weight: 600;
  padding: 0.55rem 1.25rem; border-radius: 99px;
  background: var(--forest); color: var(--white);
  transition: background 0.2s, transform 0.15s;
}
.nav-cta:hover { background: var(--teal); transform: translateY(-1px); }

/* ─── hero ────────────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  padding-top: var(--nav-h);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
  padding-inline: clamp(1.5rem, 6vw, 5rem);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 40%, #1D9E7518 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 10% 80%, #4ECBA510 0%, transparent 60%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--teal); background: var(--mist);
  padding: 6px 14px; border-radius: 99px;
  margin-bottom: 1.5rem;
  border: 1px solid #4ECBA540;
  animation: fadeUp 0.6s ease both;
}
.hero-badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  font-weight: 800; line-height: 1.05; letter-spacing: -0.03em;
  color: var(--ink); margin-bottom: 1.5rem;
  animation: fadeUp 0.6s 0.1s ease both;
}
.hero-title em { font-style: normal; color: var(--teal); }
.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.15rem); font-weight: 300; color: var(--ink-60);
  max-width: 38ch; line-height: 1.75; margin-bottom: 2.5rem;
  animation: fadeUp 0.6s 0.2s ease both;
}
.hero-actions {
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  animation: fadeUp 0.6s 0.3s ease both;
}
.btn-primary {
  font-family: var(--font-display); font-size: 0.95rem; font-weight: 600;
  padding: 0.85rem 2rem; border-radius: 99px;
  background: var(--forest); color: var(--white);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 24px #0B5E4830;
}
.btn-primary:hover { background: var(--teal); transform: translateY(-2px); box-shadow: 0 8px 32px #1D9E7540; }
.btn-ghost {
  font-size: 0.9rem; font-weight: 500; color: var(--ink-60);
  display: flex; align-items: center; gap: 6px;
  transition: color 0.2s;
}
.btn-ghost:hover { color: var(--ink); }
.btn-ghost-arrow { font-size: 1.1rem; transition: transform 0.2s; }
.btn-ghost:hover .btn-ghost-arrow { transform: translateX(3px); }

.hero-visual {
  display: flex; align-items: center; justify-content: center;
  animation: fadeUp 0.7s 0.15s ease both;
}
.hero-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 2rem; width: 100%; max-width: 400px;
  border: 1px solid var(--ink-20);
  box-shadow: 0 2px 40px #0E1C181a;
}
.hero-card-label {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 1.2rem;
}
.calc-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--ink-20); font-size: 0.875rem; }
.calc-row:last-of-type { border-bottom: none; }
.calc-row-label { color: var(--ink-60); }
.calc-row-val { font-weight: 600; color: var(--ink); }
.calc-row-val.highlight { color: var(--teal); font-size: 1rem; }
.hero-card-badge {
  margin-top: 1.2rem; padding: 10px 14px;
  background: var(--mist); border-radius: 8px;
  font-size: 0.8rem; color: var(--forest); line-height: 1.5;
}
.hero-card-badge strong { font-weight: 600; }

.hero-proof {
  margin-top: 2rem; display: flex; align-items: center; gap: 0.75rem;
  animation: fadeUp 0.6s 0.4s ease both;
}
.hero-proof-dots { display: flex; gap: 4px; }
.proof-dot { width: 28px; height: 28px; border-radius: 50%; background: var(--mist); border: 2px solid var(--sand); font-size: 0.65rem; font-weight: 700; color: var(--teal); display: flex; align-items: center; justify-content: center; }
.proof-dot:not(:first-child) { margin-left: -8px; }
.hero-proof-text { font-size: 0.8rem; color: var(--ink-60); }
.hero-proof-text strong { color: var(--ink); font-weight: 600; }

/* ─── section shared ──────────────────────────────────────── */
.section { padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 6vw, 5rem); }
.section-label {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 0.75rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700; letter-spacing: -0.03em; line-height: 1.15;
  color: var(--ink); margin-bottom: 1rem;
}
.section-sub { font-size: 1rem; color: var(--ink-60); max-width: 50ch; line-height: 1.75; }

/* ─── why section ─────────────────────────────────────────── */
.why { background: var(--forest); color: var(--white); }
.why .section-label { color: var(--mint); }
.why .section-title { color: var(--white); }
.why .section-sub { color: rgba(255,255,255,0.65); }
.why-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem;
}
.why-card {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius); padding: 1.75rem;
  transition: background 0.25s, transform 0.2s;
}
.why-card:hover { background: rgba(255,255,255,0.1); transform: translateY(-4px); }
.why-card-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(78,203,165,0.15); border: 1px solid rgba(78,203,165,0.3);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.why-card-title { font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: var(--white); margin-bottom: 0.5rem; }
.why-card-body { font-size: 0.875rem; color: rgba(255,255,255,0.6); line-height: 1.7; }

/* ─── how it works ────────────────────────────────────────── */
.how { background: var(--white); }
.how-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 3rem; position: relative; }
.how-steps::before {
  content: '';
  position: absolute; top: 28px; left: 10%; right: 10%;
  height: 1px; background: var(--ink-20);
  z-index: 0;
}
.how-step { text-align: center; position: relative; z-index: 1; }
.how-step-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--sand); border: 1px solid var(--ink-20);
  font-family: var(--font-display); font-size: 1rem; font-weight: 700;
  color: var(--forest); display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
  transition: background 0.2s, border-color 0.2s;
}
.how-step:hover .how-step-num { background: var(--mist); border-color: var(--mint); }
.how-step-title { font-family: var(--font-display); font-size: 0.95rem; font-weight: 600; margin-bottom: 0.5rem; }
.how-step-body { font-size: 0.825rem; color: var(--ink-60); line-height: 1.65; }

/* ─── provinces strip ─────────────────────────────────────── */
.provinces {
  background: var(--mist); padding: 2rem clamp(1.5rem, 6vw, 5rem);
  display: flex; align-items: center; justify-content: center; gap: 3rem; flex-wrap: wrap;
}
.prov-item { text-align: center; }
.prov-name { font-family: var(--font-display); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--forest); }
.prov-sub { font-size: 0.7rem; color: var(--teal); margin-top: 2px; }
.prov-divider { width: 1px; height: 32px; background: #4ECBA550; }

/* ─── cta band ────────────────────────────────────────────── */
.cta-band {
  background: var(--forest);
  padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 6vw, 5rem);
  text-align: center;
}
.cta-band .section-title { color: var(--white); }
.cta-band p { color: rgba(255,255,255,0.65); font-size: 1rem; margin: 1rem auto 2.5rem; max-width: 44ch; line-height: 1.75; }

/* ─── footer ──────────────────────────────────────────────── */
footer {
  background: var(--ink); color: rgba(255,255,255,0.5);
  padding: 2.5rem clamp(1.5rem, 6vw, 5rem);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  font-size: 0.8rem;
}
footer .footer-brand { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--white); }
footer .footer-brand span { color: var(--mint); }
footer a { color: rgba(255,255,255,0.5); transition: color 0.2s; }
footer a:hover { color: var(--mint); }
.footer-links { display: flex; gap: 1.5rem; }

/* ─── contact page ────────────────────────────────────────── */
.contact-hero {
  padding-top: calc(var(--nav-h) + 4rem);
  padding-bottom: 1rem;
  padding-inline: clamp(1.5rem, 6vw, 5rem);
  background: var(--sand);
}
.contact-layout {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 4rem; align-items: start;
  padding: 3rem clamp(1.5rem, 6vw, 5rem) 6rem;
  background: var(--white);
}
.contact-info-title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; margin-bottom: 0.75rem; }
.contact-info-sub { font-size: 0.9rem; color: var(--ink-60); line-height: 1.75; margin-bottom: 2rem; }
.contact-detail { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 1.25rem; }
.contact-detail-icon {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--mist); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-detail-label { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--teal); margin-bottom: 2px; }
.contact-detail-val { font-size: 0.875rem; color: var(--ink); }

/* form */
.form-card {
  background: var(--sand); border: 1px solid var(--ink-20);
  border-radius: var(--radius-lg); padding: 2.5rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 1rem; }
.form-group label { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-60); }
.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-body); font-size: 0.9rem;
  padding: 0.75rem 1rem; border-radius: 8px;
  border: 1px solid var(--ink-20); background: var(--white); color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none; width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px #1D9E7520;
}
.form-group textarea { resize: vertical; min-height: 110px; line-height: 1.6; }
.form-group select { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230E1C18' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.form-submit {
  width: 100%; font-family: var(--font-display); font-size: 1rem; font-weight: 600;
  padding: 1rem; border-radius: 99px; border: none; cursor: pointer;
  background: var(--forest); color: var(--white);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 24px #0B5E4830;
}
.form-submit:hover { background: var(--teal); transform: translateY(-2px); box-shadow: 0 8px 32px #1D9E7540; }
.form-note { font-size: 0.75rem; color: var(--ink-60); text-align: center; margin-top: 1rem; line-height: 1.5; }
.form-success {
  display: none; text-align: center; padding: 2rem;
  background: var(--mist); border-radius: var(--radius); margin-top: 1rem;
}
.form-success.visible { display: block; }
.form-success-title { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: var(--forest); margin-bottom: 0.5rem; }
.form-success-body { font-size: 0.875rem; color: var(--teal); }
.form-error {
  display: none; padding: 1rem 1.25rem; margin-top: 1rem;
  background: #fff5f5; border: 1px solid #fca5a5; border-radius: var(--radius);
  font-size: 0.875rem; color: #b91c1c; line-height: 1.5;
}
.form-error.visible { display: block; }
.form-error a { color: #b91c1c; font-weight: 600; }
.form-group input.invalid, .form-group select.invalid { border-color: #fca5a5; }
.form-submit:disabled { opacity: 0.65; cursor: not-allowed; transform: none; box-shadow: none; }

/* ─── animations ──────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── responsive ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; text-align: center; }
  .hero-sub { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-proof { justify-content: center; }
  .hero-visual { display: none; }
  .why-grid { grid-template-columns: 1fr; }
  .how-steps { grid-template-columns: 1fr 1fr; }
  .how-steps::before { display: none; }
  .contact-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 560px) {
  .how-steps { grid-template-columns: 1fr; }
  .provinces { gap: 1.5rem; }
  .prov-divider { display: none; }
}
