:root {
  --ink: #171714;
  --ink-soft: #242420;
  --paper: #f4f0e7;
  --white: #fffef9;
  --orange: #f36b28;
  --orange-deep: #d84f10;
  --lime: #d6e62b;
  --muted: #756f65;
  --line: #ded8cd;
  --green: #1fae60;
  --shadow: 0 26px 70px rgba(31, 28, 22, .13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "DM Sans", sans-serif; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.site-header { height: 84px; padding: 0 clamp(22px, 5vw, 80px); display: flex; align-items: center; justify-content: space-between; background: var(--ink); color: white; border-bottom: 1px solid rgba(255,255,255,.12); }
.brand { display: inline-flex; align-items: center; gap: 13px; text-decoration: none; color: inherit; }
.brand-mark { width: 41px; height: 41px; border: 2px solid var(--orange); display: grid; place-items: center; transform: rotate(45deg); }
.brand-mark span { transform: rotate(-45deg); font: 800 23px/1 "Manrope", sans-serif; letter-spacing: -2px; }
.brand-copy { display: flex; flex-direction: column; gap: 2px; }
.brand-copy strong { font: 800 20px/1 "Manrope", sans-serif; letter-spacing: .1em; }
.brand-copy small { font-size: 8px; letter-spacing: .17em; color: rgba(255,255,255,.62); }
.header-contact { color: white; display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 700; text-decoration: none; border: 1px solid rgba(255,255,255,.22); padding: 10px 15px; }
.header-contact svg { width: 16px; }

.hero { min-height: 595px; background: var(--ink); color: white; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr); overflow: hidden; position: relative; }
.hero-copy { z-index: 2; padding: clamp(72px, 8vw, 112px) clamp(26px, 3vw, 60px) 80px clamp(24px, 7vw, 110px); }
.eyebrow { margin: 0 0 24px; display: flex; align-items: center; gap: 10px; font: 700 11px/1 "Manrope", sans-serif; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.66); }
.eyebrow span { width: 27px; height: 2px; background: var(--orange); }
.eyebrow.dark { color: var(--muted); }
.hero h1 { margin: 0; font: 700 clamp(46px, 6vw, 82px)/.98 "Manrope", sans-serif; letter-spacing: -.055em; max-width: 780px; }
.hero h1 em { color: var(--orange); font-style: normal; }
.hero-lead { margin: 30px 0 34px; color: rgba(255,255,255,.68); font-size: clamp(16px, 1.7vw, 19px); line-height: 1.6; max-width: 600px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 14px 26px; font-size: 12px; font-weight: 600; color: rgba(255,255,255,.82); }
.hero-proof span { display: flex; align-items: center; gap: 7px; }
.hero-proof svg { width: 17px; color: var(--lime); stroke-width: 2.5; }
.hero-visual { position: relative; overflow: hidden; min-height: 500px; background: linear-gradient(150deg, #272723, #11110f); }
.hero-glow { position: absolute; width: 500px; height: 500px; border-radius: 50%; background: rgba(243,107,40,.08); filter: blur(10px); left: 42%; top: -80px; }
.sun { position: absolute; width: 290px; height: 290px; border-radius: 50%; right: -45px; top: 60px; background: var(--orange); box-shadow: 0 0 100px rgba(243,107,40,.25); }
.roof { position: absolute; height: 300px; background: #353530; transform: skewY(-29deg); transform-origin: right bottom; box-shadow: -10px -8px 0 #4c4a42; }
.roof-back { width: 125%; right: -35%; bottom: -18%; background: #21211e; }
.roof-front { width: 105%; left: 2%; bottom: -8%; }
.grid-lines { position: absolute; inset: 0; opacity: .13; background-image: linear-gradient(rgba(255,255,255,.3) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.3) 1px, transparent 1px); background-size: 58px 58px; mask-image: linear-gradient(to bottom, transparent, #000); }
.measure-tag { position: absolute; left: 11%; bottom: 45px; display: flex; align-items: center; gap: 15px; padding: 14px 18px; border-left: 3px solid var(--lime); background: rgba(23,23,20,.82); backdrop-filter: blur(7px); }
.measure-tag b { color: var(--lime); font: 700 27px/1 "Manrope"; }
.measure-tag span { font-size: 11px; line-height: 1.35; letter-spacing: .06em; text-transform: uppercase; }

.planner { padding: 100px clamp(18px, 6vw, 94px) 110px; }
.planner-intro { max-width: 740px; margin: 0 auto 48px; text-align: center; }
.planner-intro .eyebrow { justify-content: center; }
.planner-intro h2, .trust-copy h2 { font: 700 clamp(34px, 4.6vw, 56px)/1.08 "Manrope", sans-serif; letter-spacing: -.045em; margin: 0; }
.planner-intro > p:last-child { color: var(--muted); font-size: 17px; line-height: 1.65; margin: 18px auto 0; max-width: 650px; }
.planner-shell { max-width: 1160px; margin: auto; background: var(--white); box-shadow: var(--shadow); border-top: 5px solid var(--orange); }
.steps { display: flex; align-items: center; justify-content: center; padding: 30px 30px 27px; border-bottom: 1px solid var(--line); }
.step { display: flex; align-items: center; gap: 9px; border: 0; background: none; color: #9c968d; cursor: pointer; padding: 0; }
.step span { width: 29px; height: 29px; border-radius: 50%; border: 1px solid #c6c0b5; display: grid; place-items: center; font: 700 12px "Manrope"; }
.step b { font: 700 12px "Manrope"; letter-spacing: .08em; text-transform: uppercase; }
.step.active, .step.complete { color: var(--ink); }
.step.active span { background: var(--orange); border-color: var(--orange); color: white; }
.step.complete span { background: var(--ink); border-color: var(--ink); color: white; }
.steps > i { width: clamp(25px, 8vw, 105px); height: 1px; background: var(--line); margin: 0 20px; }
.panel { display: none; padding: clamp(28px, 5vw, 58px) clamp(22px, 6vw, 72px) 44px; }
.panel.active { display: block; animation: rise .35s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
.panel-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.panel-kicker { color: var(--orange-deep); font: 700 10px "Manrope"; letter-spacing: .15em; text-transform: uppercase; }
.panel h3 { margin: 6px 0 0; font: 700 clamp(26px, 3vw, 36px)/1.15 "Manrope"; letter-spacing: -.035em; }
.helper { color: var(--muted); margin: 10px 0 30px; font-size: 14px; }
.selection-count { background: #f0ece3; color: var(--muted); padding: 7px 10px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { min-height: 114px; padding: 20px; display: grid; grid-template-columns: 43px 1fr 20px; align-items: center; gap: 13px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); cursor: pointer; transition: background .2s, color .2s, transform .2s; position: relative; }
.service-card:hover { background: #faf7f0; }
.service-card:has(input:checked) { background: var(--ink); color: white; }
.service-card input { position: absolute; opacity: 0; }
.service-icon { width: 43px; height: 43px; display: grid; place-items: center; background: #f0ece4; color: var(--orange-deep); transition: .2s; }
.service-icon svg { width: 26px; height: 26px; }
.service-card:has(input:checked) .service-icon { background: var(--orange); color: white; }
.service-card > span:nth-child(3) { display: flex; flex-direction: column; gap: 5px; }
.service-card b { font: 700 14px "Manrope"; }
.service-card small { color: var(--muted); font-size: 11px; }
.service-card:has(input:checked) small { color: rgba(255,255,255,.57); }
.service-card > i { width: 18px; height: 18px; border: 1px solid #bdb7ad; border-radius: 50%; position: relative; }
.service-card:has(input:checked) > i { border-color: var(--lime); background: var(--lime); }
.service-card:has(input:checked) > i::after { content: ""; position: absolute; width: 6px; height: 3px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg); top: 5px; left: 5px; }
.panel-actions { display: flex; align-items: center; margin-top: 34px; }
.panel-actions.align-right { justify-content: flex-end; }
.panel-actions.split { justify-content: space-between; }
.button { min-height: 50px; border: 0; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; gap: 13px; cursor: pointer; font: 700 12px "Manrope"; text-transform: uppercase; letter-spacing: .08em; transition: .2s ease; }
.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--orange); color: white; box-shadow: 0 10px 24px rgba(243,107,40,.2); }
.button.primary:hover { background: var(--orange-deep); }
.button.ghost { color: var(--ink); background: transparent; border: 1px solid var(--line); }
.button.subtle { background: none; color: var(--muted); }
.field-error { color: #b83c21; font-size: 13px; font-weight: 600; min-height: 20px; margin-top: 12px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 24px; }
.field { display: flex; flex-direction: column; gap: 8px; position: relative; }
.field > span, .field legend { font: 700 11px "Manrope"; letter-spacing: .06em; text-transform: uppercase; }
.field > span small { color: #999288; text-transform: none; letter-spacing: 0; font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid var(--line); border-radius: 0; background: #fbf9f4; color: var(--ink); padding: 13px 14px; outline: none; transition: border .2s, box-shadow .2s; }
.field input, .field select { height: 50px; }
.field textarea { resize: vertical; line-height: 1.5; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(243,107,40,.1); }
.field.invalid input, .field.invalid select { border-color: #b83c21; }
.input-pair { display: grid; grid-template-columns: 1fr minmax(115px, .7fr); }
.input-pair input { border-right: 0; }
.full { grid-column: 1 / -1; }
.condition-field { border: 0; padding: 0; margin: 4px 0 0; }
.condition-field legend { margin-bottom: 10px; }
.pill-options { display: flex; flex-wrap: wrap; gap: 8px; }
.pill-options label { cursor: pointer; }
.pill-options input { position: absolute; opacity: 0; width: 1px; }
.pill-options span { display: block; border: 1px solid var(--line); background: #fbf9f4; padding: 10px 13px; font-size: 12px; color: var(--muted); }
.pill-options input:checked + span { background: var(--ink); border-color: var(--ink); color: white; }
.char-count { position: absolute; right: 10px; bottom: 8px; color: #999288; font-size: 10px; background: #fbf9f4; padding: 2px; }

.summary-heading { align-items: center; }
.readiness { display: flex; align-items: center; gap: 10px; }
.readiness > span { width: 70px; height: 6px; background: #e6e1d8; }
.readiness i { display: block; width: 65%; height: 100%; background: var(--lime); transition: width .5s ease; }
.readiness b { font: 700 10px "Manrope"; letter-spacing: .07em; text-transform: uppercase; white-space: nowrap; }
.summary-layout { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(250px, .75fr); gap: 22px; }
.summary-card { border: 1px solid var(--line); padding: clamp(21px, 4vw, 34px); background: #fbf9f4; }
.summary-top { display: flex; justify-content: space-between; padding-bottom: 18px; border-bottom: 2px solid var(--ink); color: var(--muted); font: 700 9px "Manrope"; letter-spacing: .13em; }
.summary-block { padding: 24px 0; border-bottom: 1px solid var(--line); }
.summary-card small { display: block; color: #8c857b; font: 700 9px "Manrope"; letter-spacing: .13em; margin-bottom: 10px; }
.summary-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.summary-chips span { background: var(--ink); color: white; padding: 7px 10px; font-size: 11px; font-weight: 600; }
.summary-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.summary-stats strong { font: 700 14px/1.35 "Manrope"; }
.summary-detail { padding: 24px 0 8px; }
.summary-detail p { font-size: 13px; line-height: 1.65; margin: 0; white-space: pre-line; }
.summary-disclaimer { display: flex; gap: 11px; padding: 14px; margin-top: 15px; background: #efebe2; }
.summary-disclaimer svg { width: 20px; min-width: 20px; color: var(--orange-deep); }
.summary-disclaimer p { margin: 0; font-size: 11px; line-height: 1.5; color: var(--muted); }
.summary-disclaimer b { color: var(--ink); }
.next-card { background: var(--ink); color: white; padding: 28px; display: flex; flex-direction: column; }
.next-number { color: var(--lime); font: 700 11px "Manrope"; letter-spacing: .13em; }
.next-card h4 { font: 700 26px/1.1 "Manrope"; letter-spacing: -.04em; margin: 42px 0 12px; }
.next-card > p { color: rgba(255,255,255,.62); font-size: 13px; line-height: 1.6; margin: 0 0 25px; }
.button.whatsapp { width: 100%; background: var(--green); color: white; text-align: left; padding: 0 15px; }
.button.whatsapp svg { width: 21px; min-width: 21px; }
.text-button { border: 0; border-bottom: 1px solid rgba(255,255,255,.35); background: none; color: white; font-size: 11px; padding: 11px 0 5px; margin: 8px auto 20px; cursor: pointer; }
.privacy-note { display: flex; gap: 9px; color: rgba(255,255,255,.45); font-size: 10px; line-height: 1.45; margin-top: auto; }
.privacy-note svg { width: 17px; min-width: 17px; }

.trust { background: var(--ink); color: white; padding: 100px clamp(24px, 7vw, 110px) 0; }
.trust-copy { max-width: 740px; }
.trust-copy > p:last-child { color: rgba(255,255,255,.58); font-size: 16px; line-height: 1.65; max-width: 650px; }
.trust-grid { margin-top: 55px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.18); border-left: 1px solid rgba(255,255,255,.18); }
.trust-grid article { padding: 35px 32px 40px; border-right: 1px solid rgba(255,255,255,.18); border-bottom: 1px solid rgba(255,255,255,.18); }
.trust-grid span { color: var(--orange); font: 700 10px "Manrope"; }
.trust-grid h3 { font: 700 18px "Manrope"; margin: 30px 0 10px; }
.trust-grid p { color: rgba(255,255,255,.53); line-height: 1.65; font-size: 13px; margin: 0; }
.trust footer { margin-top: 80px; min-height: 110px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.15); gap: 25px; }
.trust footer > p { color: rgba(255,255,255,.43); font-size: 12px; }
.trust footer > a { color: white; text-decoration: none; font-size: 12px; border-bottom: 1px solid var(--orange); padding-bottom: 3px; }

.modal-backdrop { position: fixed; inset: 0; z-index: 30; background: rgba(10,10,8,.78); display: grid; place-items: center; padding: 20px; backdrop-filter: blur(6px); }
.modal-backdrop[hidden] { display: none; }
.modal { width: min(560px, 100%); max-height: calc(100vh - 40px); overflow: auto; background: var(--white); padding: clamp(25px, 5vw, 42px); position: relative; box-shadow: 0 30px 90px rgba(0,0,0,.35); }
.modal-close { position: absolute; top: 12px; right: 15px; background: none; border: 0; font-size: 28px; color: var(--muted); cursor: pointer; }
.modal-icon { display: grid; place-items: center; width: 48px; height: 48px; background: var(--green); color: white; margin-bottom: 24px; }
.modal-icon svg { width: 27px; }
.modal h3 { font: 700 29px/1.15 "Manrope"; letter-spacing: -.04em; margin: 6px 0 12px; }
.modal > p:not(.panel-kicker) { color: var(--muted); line-height: 1.55; font-size: 14px; }
.modal-preview { background: #f0ece3; border-left: 3px solid var(--orange); max-height: 145px; overflow: auto; padding: 13px 15px; font-size: 11px; line-height: 1.55; color: #5f5a52; white-space: pre-line; margin: 18px 0 24px; }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; }
.modal-actions .whatsapp { width: auto; }
.toast { position: fixed; z-index: 40; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--ink); color: white; padding: 12px 18px; font-size: 12px; opacity: 0; pointer-events: none; transition: .25s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { padding-bottom: 55px; }
  .hero-visual { min-height: 310px; }
  .sun { width: 220px; height: 220px; top: 18px; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .summary-layout { grid-template-columns: 1fr; }
  .next-card { min-height: 310px; }
}

@media (max-width: 640px) {
  .site-header { height: 70px; padding: 0 18px; }
  .brand-mark { width: 34px; height: 34px; }
  .brand-mark span { font-size: 19px; }
  .brand-copy strong { font-size: 16px; }
  .brand-copy small { font-size: 6px; }
  .header-contact { border: 0; padding: 8px; }
  .header-contact span { display: none; }
  .header-contact svg { width: 20px; }
  .hero-copy { padding: 60px 22px 45px; }
  .hero h1 { font-size: clamp(41px, 13vw, 58px); }
  .hero-lead { margin-top: 24px; }
  .hero-proof { flex-direction: column; gap: 10px; }
  .hero-visual { min-height: 250px; }
  .sun { width: 180px; height: 180px; }
  .measure-tag { left: 22px; bottom: 28px; }
  .planner { padding: 70px 12px 80px; }
  .planner-intro { padding: 0 12px; margin-bottom: 32px; }
  .planner-intro .eyebrow { margin-bottom: 18px; }
  .planner-intro > p:last-child { font-size: 15px; }
  .planner-shell { border-top-width: 4px; }
  .steps { padding: 22px 18px; }
  .step { gap: 0; }
  .step b { display: none; }
  .steps > i { margin: 0 10px; flex: 1; }
  .panel { padding: 28px 18px 26px; }
  .panel-heading { align-items: flex-start; }
  .selection-count { padding: 6px; font-size: 9px; white-space: nowrap; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 88px; padding: 14px 15px; }
  .panel-actions { margin-top: 26px; }
  .panel-actions .button.primary { width: 100%; }
  .panel-actions.split { gap: 9px; }
  .panel-actions.split .button { flex: 1; padding-left: 12px; padding-right: 12px; font-size: 10px; }
  .form-grid { grid-template-columns: 1fr; gap: 18px; }
  .full { grid-column: auto; }
  .pill-options { display: grid; grid-template-columns: 1fr 1fr; }
  .pill-options span { height: 100%; }
  .summary-heading { display: block; }
  .readiness { margin-top: 20px; }
  .summary-stats { grid-template-columns: 1fr 1fr; gap: 20px 12px; }
  .summary-card { padding: 20px; }
  .next-card { padding: 25px; }
  .trust { padding: 76px 20px 0; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-grid article { padding: 28px 24px; }
  .trust-grid h3 { margin-top: 19px; }
  .trust footer { align-items: flex-start; flex-direction: column; padding: 35px 0 28px; margin-top: 55px; }
  .trust footer > p { display: none; }
  .modal-actions { flex-direction: column-reverse; }
  .modal-actions .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
