/* Zamia Group — English funnel for foreign owners building in Costa Rica.
 * Warmer and more editorial than the contractor page: this visitor is buying
 * trust in a person, not comparing software features. */
:root{
  --ink:#171717; --ink-2:#3a3a38; --muted:#6b6b68;
  --bg:#fff; --bg-2:#f3f3f1; --line:#e2e2df;
  --green:#1f5c3c; --green-lt:#2e7d53; --green-soft:#edf6f0;
  --red:#c83a26; --sand:#f7f4ee;
  --r:14px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:'Poppins',system-ui,sans-serif;color:var(--ink);background:var(--bg);line-height:1.6}
h1,h2,h3,h4{margin:0 0 .5em;line-height:1.18}
p{margin:0 0 1em}
img{max-width:100%;display:block}
.hidden{display:none!important}
.hp{position:absolute;left:-9999px}
.micro{font-size:12.5px;color:var(--muted);margin:14px 0 0;line-height:1.5}
.micro.light{color:#a9b0a9}
.section-lede{text-align:center;color:var(--muted);max-width:560px;margin:0 auto 2.4em}
.eyebrow{font-size:12.5px;font-weight:700;letter-spacing:.09em;text-transform:uppercase;color:var(--green);margin-bottom:1.1em}
.eyebrow.light{color:#8fbfa2}

/* nav + footer live in /nav-footer.css — shared by every page. Don't
   redeclare .nav/.foot/.lang/.brand-* here. */

/* buttons */
.btn-primary,.btn-ghost{display:inline-block;font-family:inherit;font-weight:700;font-size:15px;
  cursor:pointer;text-decoration:none;text-align:center;line-height:1.2;border-radius:999px;padding:13px 26px}
.btn-primary{border:none;background:var(--ink);color:#fff}
.btn-primary:hover{background:var(--green)}
.btn-ghost{background:transparent;color:var(--ink);border:1.5px solid var(--line)}
.btn-ghost:hover{border-color:var(--ink);background:var(--bg-2)}
.btn-lg{font-size:17px;padding:16px 32px}

/* hero */
.hero{background:var(--bg-2);padding:64px 22px 70px;border-bottom:1px solid var(--line)}
.hero-inner{max-width:780px;margin:0 auto;text-align:center}
.hero h1{font-size:clamp(28px,5.2vw,50px);font-weight:800;letter-spacing:-.02em}
.mark-red{position:relative;color:var(--red)}
.mark-red::after{content:"";position:absolute;left:0;right:0;bottom:-.06em;height:.07em;
  min-height:3px;background:var(--red);border-radius:2px}
.lede{font-size:clamp(15.5px,2vw,18.5px);color:var(--ink-2);max-width:660px;margin:1.3em auto 1.9em}
.hero-cta{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}

/* credibility */
.cred{background:var(--sand);padding:52px 22px;border-bottom:1px solid var(--line)}
.cred-inner{max-width:860px;margin:0 auto;display:grid;grid-template-columns:130px 1fr;gap:32px;align-items:start}
.cred-logo{width:130px;border-radius:10px}
.cred h2{font-size:clamp(20px,2.6vw,26px);font-weight:800}
.cred p{font-size:15px;color:var(--ink-2)}
/* Declarar el conflicto de interés en vez de esconderlo: a este comprador,
   que ya desconfía de todos, la franqueza le compra más que el silencio. */
.cred-note{font-size:13.5px;color:var(--muted);border-left:3px solid var(--green-lt);
  padding-left:14px;margin:0}

/* proof */
.proof{max-width:1000px;margin:0 auto;padding:66px 22px}
.proof h2{font-size:clamp(23px,3.4vw,33px);font-weight:800;text-align:center}
.proof-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}
.proof-card{background:var(--ink);color:#fff;border-radius:var(--r);padding:24px 22px}
.proof-num{font-size:40px;font-weight:800;line-height:1}
.proof-num span{font-size:20px;color:var(--red);margin-left:2px}
.proof-label{font-weight:700;margin-top:9px;font-size:15px}
.proof-note{font-size:13px;color:#b9b9b6;margin-top:6px;line-height:1.45}
.proof-foot{text-align:center;color:var(--muted);max-width:620px;margin:2.2em auto 0;font-size:15px}

/* calculator */
.calc{background:var(--bg-2);border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:66px 22px}
.calc-inner{max-width:780px;margin:0 auto}
.calc h2{font-size:clamp(23px,3.4vw,33px);font-weight:800;text-align:center}
.step{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:26px;margin-bottom:16px}
.step-head{display:flex;align-items:center;gap:11px;font-weight:800;font-size:17px;margin-bottom:18px}
.step-n{display:grid;place-items:center;width:27px;height:27px;border-radius:50%;background:var(--green);color:#fff;font-size:14px;flex:none}
.type-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.type-card{font-family:inherit;text-align:left;cursor:pointer;background:var(--bg-2);border:2px solid transparent;
  border-radius:12px;padding:16px 18px;display:flex;flex-direction:column;gap:3px;transition:.12s}
.type-card:hover{border-color:var(--green-lt);background:var(--green-soft)}
.type-card.sel{border-color:var(--green);background:var(--green-soft)}
.type-name{font-weight:700;font-size:15px}
.type-sub{font-size:12.5px;color:var(--muted)}

.field-row{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:18px}
label{display:flex;flex-direction:column;gap:6px;font-weight:600;font-size:14px}
input,select,textarea{font-family:inherit;font-size:15px;font-weight:400;padding:11px 13px;
  border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--ink)}
input:focus,select:focus,textarea:focus{outline:2px solid var(--green-lt);outline-offset:1px}
.err{border-color:var(--red)!important}

/* Imperial/metric toggle: this audience thinks in square feet and would
   otherwise enter a US-sized number into a metric field. */
.area-input{display:flex;gap:8px}
.area-input input{flex:1;min-width:0}
.unit-toggle{display:flex;border:1px solid var(--line);border-radius:9px;overflow:hidden;flex:none}
.ut{font-family:inherit;font-size:13px;font-weight:700;padding:0 12px;border:none;background:#fff;
  color:var(--muted);cursor:pointer}
.ut.sel{background:var(--ink);color:#fff}

/* result */
.result-total{background:var(--ink);color:#fff;border-radius:var(--r);padding:28px;text-align:center;margin-bottom:20px}
.rt-label{font-size:12.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#b9b9b6}
.rt-value{font-size:clamp(27px,5.4vw,42px);font-weight:800;margin:8px 0 2px;letter-spacing:-.01em}
.rt-alt{font-size:15px;color:#8fbfa2;font-weight:600;margin-bottom:8px}
.rt-note{font-size:13.5px;color:#b9b9b6}

/* the swing — this is the single most important number on the page: the
 * free range's honest disclaimer, made loud instead of buried in fine print */
.rt-swing{margin-top:18px;padding-top:18px;border-top:1px solid #34342f;text-align:left}
.swing-label{font-size:11.5px;font-weight:800;letter-spacing:.07em;text-transform:uppercase;color:#e08a63;margin-bottom:7px}
.swing-copy{font-size:14.5px;color:#d4d4d0;margin:0;line-height:1.55}
.swing-value{color:#fff;font-weight:800;font-size:17px}

/* Zestimate / appraisal framing — separates the free tool from the $450
 * so a visitor never mistakes the range for a budget. */
.category-line{background:var(--sand);border:1px solid var(--line);border-radius:var(--r);
  padding:18px 22px;text-align:center;margin:20px 0}
.cat-headline{font-size:16.5px;font-weight:800;margin-bottom:6px}
.cat-sub{font-size:13.5px;color:var(--ink-2);margin:0}

.gate{background:var(--green-soft);border:1px solid var(--green-lt);border-radius:var(--r);padding:26px;text-align:center}
.gate h3{font-size:20px;font-weight:800}
.gate p{color:#33553f;font-size:14.5px;max-width:460px;margin:0 auto 1.3em}
#lead-form{display:flex;flex-direction:column;gap:10px;max-width:380px;margin:0 auto}
#lead-form input{text-align:center}

.breakdown{margin-top:20px}
.bd-row{display:flex;justify-content:space-between;gap:14px;padding:11px 0;border-bottom:1px solid var(--line);font-size:14.5px}
.bd-row .lbl{color:var(--ink-2)}
.bd-row .val{font-weight:600;white-space:nowrap}
.bd-row.tot{font-weight:800;font-size:17px;border-top:2px solid var(--ink);border-bottom:none;margin-top:6px;padding-top:14px}
.bd-sec{font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--green);margin:20px 0 4px}
.bd-next{margin-top:24px;background:var(--sand);border:1px solid var(--line);border-radius:var(--r);padding:22px;text-align:center}
.bd-next h4{font-size:17px;font-weight:800;margin-bottom:.4em}
.bd-next p{color:var(--ink-2);font-size:14px;max-width:440px;margin:0 auto 1.1em}

/* the offer */
.offer{background:var(--ink);color:#fff;padding:70px 22px}
.offer-inner{max-width:720px;margin:0 auto}
.tiers-inner{max-width:1080px}
.offer h2{font-size:clamp(23px,3.4vw,33px);font-weight:800;text-align:center}
.offer-lede{color:#b9b9b6;font-size:15.5px;margin-bottom:2.6em;text-align:center}

/* three tiers — tier 1 is deliberately the featured card, not tier 2. It's
 * the smallest yes and the honest answer to "do I have to pay you anything." */
.tier-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;align-items:start;margin-bottom:28px}
.tier-card{background:#20201f;border:1px solid #34342f;border-radius:var(--r);padding:24px 22px;
  display:flex;flex-direction:column}
.tier-card.tier-feat{border-color:var(--green-lt);background:#1d2620;box-shadow:0 0 0 1px var(--green-lt)}
.tier-badge{align-self:flex-start;font-size:11px;font-weight:800;letter-spacing:.07em;text-transform:uppercase;
  color:var(--ink);background:#8fbfa2;border-radius:999px;padding:4px 11px;margin-bottom:14px}
.tier-price{font-size:27px;font-weight:800;color:#fff}
.tier-price.tier-price-quoted{font-size:20px}
.tier-price span{font-size:12.5px;font-weight:600;color:var(--muted);margin-left:2px}
.tier-name{font-size:18px;font-weight:800;margin:4px 0 10px}
.tier-hook{font-size:14.5px;font-weight:700;color:#d4d4d0;margin-bottom:10px}
.tier-body{font-size:13.5px;color:#b9b9b6;margin-bottom:14px}
.tier-card ul{list-style:none;padding:0;margin:0 0 14px}
.tier-card li{font-size:13px;color:#d4d4d0;padding:6px 0 6px 22px;position:relative;line-height:1.4}
.tier-card li::before{content:"✓";position:absolute;left:0;color:#8fbfa2;font-weight:800}
.tier-credit{font-size:12.5px;color:#8fbfa2;background:rgba(143,191,162,.09);
  border-radius:9px;padding:10px 12px;margin:0 0 18px;line-height:1.45}
.tier-cta{width:100%;margin-top:auto}
.tier-form-wrap{margin-top:16px;padding-top:16px;border-top:1px solid #34342f}
.tier-form{display:flex;flex-direction:column;gap:10px}
.tier-form input,.tier-form select,.tier-form textarea{background:#171716;border-color:#34342f;color:#fff;width:100%}
.tier-form input::placeholder,.tier-form textarea::placeholder{color:#6b6b68}
.tier-done p{color:#8fbfa2;font-size:14px;margin:0}

.tiers-close{text-align:center;color:#b9b9b6;font-size:14.5px;max-width:640px;margin:0 auto}

/* faq */
.faq{max-width:900px;margin:0 auto;padding:66px 22px}
.faq h2{font-size:clamp(23px,3.4vw,33px);font-weight:800;text-align:center;margin-bottom:1.4em}
.faq-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:24px 40px}
.faq-item h4{font-size:16px;font-weight:800}
.faq-item p{font-size:14.5px;color:var(--muted);margin:0}

/* footer */
@media(max-width:760px){
  .cred-inner{grid-template-columns:1fr;gap:18px}
  .cred-logo{width:96px}
  .proof-grid,.faq-grid,.type-grid,.field-row,.tier-grid{grid-template-columns:1fr}
  .hero{padding:44px 18px 52px}
  .proof,.calc,.offer,.faq{padding:48px 18px}
  .step{padding:20px 16px}
  .tier-card{padding:20px 18px}
  .btn-primary,.btn-ghost{width:100%}
  .hero-cta{flex-direction:column}
  input,select,textarea{font-size:16px}  /* iOS zooms below 16px and never zooms back */
}
