:root {
  --ink: #152821;
  --muted: #5d6f68;
  --cream: #f6f5ef;
  --white: #ffffff;
  --line: #dce5df;
  --green-900: #0a3b2e;
  --green-800: #11533e;
  --green-700: #16704e;
  --green-500: #36a967;
  --lime: #b9dc42;
  --yellow: #f7cb45;
  --sky: #dff4ff;
  --shadow: 0 22px 60px rgba(11, 55, 42, 0.13);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: min(1160px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
button, input, select, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button { color: inherit; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 10px;
  z-index: 999;
  background: var(--white);
  padding: 10px 16px;
  border-radius: 8px;
}
.skip-link:focus { left: 10px; }
.container { width: var(--container); margin-inline: auto; }
.section { padding: 110px 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(10,59,46,.08);
}
.nav-wrap { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: max-content; text-decoration: none; }
.ps-brand-image { display: block; width: 190px; max-width: 100%; height: auto; }
.ps-brand-image--light { width: 190px; }
.footer-brand { width: max-content; padding: 7px 11px; border-radius: 14px; background: rgba(255,255,255,.96); }
.main-nav { display: flex; align-items: center; gap: 25px; font-size: 14px; font-weight: 700; }
.main-nav a { transition: .2s ease; }
.main-nav a:not(.nav-cta):hover { color: var(--green-700); }
.nav-cta { color: var(--white); background: var(--green-800); padding: 11px 18px; border-radius: 999px; }
.nav-cta:hover { transform: translateY(-1px); background: var(--green-900); }
.menu-toggle { display: none; border: 0; background: transparent; padding: 8px; }
.menu-toggle span { display: block; width: 25px; height: 2px; background: var(--ink); margin: 5px; }

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 10%, rgba(185,220,66,.26), transparent 31%),
    radial-gradient(circle at 80% 0%, rgba(255,209,64,.25), transparent 30%),
    linear-gradient(135deg, #f7fbef 0%, #f4f4ee 55%, #eaf7f2 100%);
}
.hero::before { content: ""; position: absolute; inset: auto -140px -260px auto; width: 560px; height: 560px; border-radius: 50%; border: 100px solid rgba(54,169,103,.07); }
.hero-grid { position: relative; z-index: 1; min-height: 720px; display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; gap: 65px; padding-top: 70px; padding-bottom: 82px; }
.eyebrow { display: inline-block; color: var(--green-700); font-size: 12px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow.light { color: #d9f0a4; }
.hero h1 { max-width: 720px; margin: 16px 0 20px; font-size: clamp(46px, 5.4vw, 77px); line-height: .98; letter-spacing: -.055em; }
.hero-copy > p { max-width: 650px; margin: 0; color: var(--muted); font-size: 19px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 12px 22px; border: 1px solid transparent; border-radius: 999px; font-weight: 800; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: var(--white); background: var(--green-700); box-shadow: 0 13px 28px rgba(22,112,78,.22); }
.btn-primary:hover { background: var(--green-900); }
.btn-secondary { border-color: rgba(21,40,33,.22); background: rgba(255,255,255,.58); }
.btn-secondary.dark { border-color: rgba(255,255,255,.24); color: var(--white); background: transparent; }
.btn-light { color: var(--green-900); background: var(--white); }
.btn-outline { width: 100%; border-color: var(--green-700); color: var(--green-800); background: transparent; }
.btn-full { width: 100%; }
.hero-proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 660px; padding-top: 22px; border-top: 1px solid rgba(21,40,33,.12); color: var(--muted); font-size: 12px; font-weight: 750; }
.hero-proof span { display: grid; gap: 4px; }
.hero-proof b { color: var(--green-700); font-size: 11px; }

.hero-visual { position: relative; min-height: 540px; }
.sun-orbit { position: absolute; right: 36px; top: 23px; width: 125px; height: 125px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 24px rgba(247,203,69,.16), 0 0 0 50px rgba(247,203,69,.08); }
.cloud { position: absolute; height: 20px; width: 85px; border-radius: 999px; background: rgba(255,255,255,.8); }
.cloud::before, .cloud::after { content: ""; position: absolute; bottom: 0; border-radius: 50%; background: inherit; }
.cloud::before { width: 39px; height: 39px; left: 14px; }
.cloud::after { width: 28px; height: 28px; right: 9px; }
.cloud-one { left: 8px; top: 95px; }
.cloud-two { right: 10px; top: 220px; transform: scale(.72); }
.house { position: absolute; left: 50%; bottom: 45px; width: 390px; transform: translateX(-50%); filter: drop-shadow(0 34px 34px rgba(10,59,46,.18)); }
.roof { position: relative; width: 350px; height: 180px; margin: 0 auto -26px; background: #27443b; clip-path: polygon(50% 0,100% 100%,0 100%); }
.panel-array { position: absolute; left: 50%; top: 77px; width: 205px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; transform: translateX(-50%) perspective(400px) rotateX(18deg); }
.panel-array span { height: 38px; border: 1px solid rgba(255,255,255,.8); background: linear-gradient(145deg, #2b6e80, #0e3543); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.house-body { position: relative; height: 210px; border-radius: 4px 4px 16px 16px; background: #f5efe1; border: 8px solid rgba(255,255,255,.7); }
.window { position: absolute; left: 50px; top: 65px; width: 85px; height: 72px; background: var(--sky); border: 8px solid #d9bf91; box-shadow: inset 0 0 0 2px rgba(19,84,64,.12); }
.window::before, .window::after { content: ""; position: absolute; background: #d9bf91; }
.window::before { width: 6px; inset-block: 0; left: calc(50% - 3px); }
.window::after { height: 6px; inset-inline: 0; top: calc(50% - 3px); }
.door { position: absolute; right: 58px; bottom: 0; width: 72px; height: 120px; border-radius: 8px 8px 0 0; background: var(--green-800); }
.door::after { content: ""; position: absolute; right: 12px; top: 57px; width: 7px; height: 7px; border-radius: 50%; background: var(--yellow); }
.energy-card { position: absolute; display: flex; align-items: center; gap: 13px; min-width: 218px; padding: 14px 17px; border: 1px solid rgba(255,255,255,.65); border-radius: 16px; background: rgba(255,255,255,.84); backdrop-filter: blur(15px); box-shadow: var(--shadow); }
.energy-card small { display: block; color: var(--muted); font-size: 11px; }
.energy-card strong { display: block; font-size: 15px; }
.mini-icon { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 11px; color: var(--green-900); background: #e2f4c3; font-weight: 900; }
.card-top { left: -18px; top: 190px; }
.card-bottom { right: -12px; bottom: 76px; }

/* Simulador solar interactivo del hero */
.solar-simulator {
  --sun-x: 58%;
  --sun-y: 12%;
  --solar-level: .85;
  position: relative;
  isolation: isolate;
  cursor: ew-resize;
  user-select: none;
  touch-action: pan-y;
  border-radius: 30px;
  outline: none;
}
.solar-simulator:focus-visible {
  box-shadow: 0 0 0 4px rgba(54,169,103,.24);
}
.solar-simulator::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background:
    radial-gradient(circle at var(--sun-x) var(--sun-y), rgba(247,203,69,.22), transparent 30%),
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(54,169,103,.05));
  pointer-events: none;
}
.solar-simulator .sun-orbit {
  left: var(--sun-x);
  right: auto;
  top: var(--sun-y);
  z-index: 0;
  transform: translate(-50%, -50%);
  opacity: calc(.28 + var(--solar-level) * .72);
  transition: opacity .12s linear, box-shadow .12s linear;
  will-change: left, top, opacity;
}
.solar-simulator .house { z-index: 2; }
.solar-simulator .cloud { z-index: 1; pointer-events: none; }
.solar-simulator .energy-card { z-index: 4; pointer-events: none; }
.solar-simulator .panel-array {
  filter: brightness(calc(.72 + var(--solar-level) * .48)) saturate(calc(.8 + var(--solar-level) * .45));
  transition: filter .12s linear;
}
.solar-simulator .panel-array span {
  transition: box-shadow .12s linear, border-color .12s linear;
}
.solar-simulator.is-generating .panel-array span {
  border-color: rgba(224,252,255,.95);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.2), 0 0 12px rgba(90,208,228,.16);
}
.solar-hint {
  position: absolute;
  top: 8px;
  left: 50%;
  z-index: 5;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: max-content;
  max-width: calc(100% - 28px);
  padding: 7px 11px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 999px;
  color: var(--green-800);
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(11,55,42,.08);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .02em;
  pointer-events: none;
  white-space: nowrap;
}
.solar-hint::before { content: "↔"; font-size: 14px; }
.solar-dayline {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 4px;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 9px;
  color: rgba(21,40,33,.66);
  font-size: 9px;
  font-weight: 800;
  pointer-events: none;
}
.solar-dayline span:last-child { text-align: right; }
.solar-dayline strong {
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--green-900);
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(10px);
  box-shadow: 0 7px 18px rgba(11,55,42,.08);
  font-size: 10px;
  white-space: nowrap;
}
.solar-capacity-note {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 650;
}
.trust-strip { position: relative; z-index: 2; background: var(--green-900); color: var(--white); }
.trust-grid { min-height: 90px; display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; text-align: center; font-weight: 800; font-size: 14px; }
.trust-grid span + span { border-left: 1px solid rgba(255,255,255,.18); }

.section-heading { max-width: 720px; margin: 0 auto 50px; text-align: center; }
.section-heading h2 { margin: 11px 0 14px; font-size: clamp(34px, 4vw, 55px); line-height: 1.06; letter-spacing: -.04em; }
.section-heading p { margin: 0; color: var(--muted); font-size: 17px; }
.solution-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.solution-card { position: relative; min-height: 345px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); overflow: hidden; transition: .25s ease; }
.solution-card::after { content: ""; position: absolute; right: -54px; bottom: -70px; width: 175px; height: 160px; border-radius: 50%; background: rgba(185,220,66,.13); }
.solution-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: rgba(22,112,78,.25); }
.solution-icon { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 30px; border-radius: 16px; color: var(--green-900); background: #eaf5d4; font-size: 25px; font-weight: 900; }
.tag { display: inline-flex; width: max-content; padding: 6px 10px; border-radius: 999px; color: var(--green-800); background: #edf6e6; font-size: 10px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.solution-card h3 { margin: 15px 0 8px; font-size: 23px; line-height: 1.12; }
.solution-card p { color: var(--muted); font-size: 14px; }
.text-link { position: relative; z-index: 1; display: inline-flex; padding: 0; border: 0; color: var(--green-700); background: transparent; font-weight: 850; cursor: pointer; }

.calculator-section { background: var(--green-900); }
.calculator-shell { display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; padding: 55px; border-radius: var(--radius-lg); background: linear-gradient(145deg, #0d4737, #082d24); color: var(--white); box-shadow: 0 35px 90px rgba(0,0,0,.2); }
.calculator-intro { align-self: start; position: sticky; top: 130px; }
.calculator-intro .calculator-main-title { margin: 12px 0 14px; color: #ffffff; font-size: clamp(38px, 4.5vw, 60px); line-height: .98; letter-spacing: -.05em; }
.calculator-promise { margin: 0 0 18px; color: #f1f7f4 !important; font-size: clamp(23px, 2.4vw, 32px); font-weight: 820; line-height: 1.12; letter-spacing: -.025em; }
.calculator-intro p:not(.calculator-promise) { color: #bed0c9; }
.calc-note { display: grid; gap: 5px; margin-top: 28px; padding: 18px; border: 1px solid rgba(255,255,255,.12); border-radius: 15px; background: rgba(255,255,255,.06); }
.calc-note span { color: #c9d7d2; font-size: 13px; }
.bill-guide-copy { margin-bottom: 9px; line-height: 1.45; }
.bill-guide-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bill-guide-btn {
  display: grid;
  gap: 2px;
  min-width: 0;
  min-height: 62px;
  padding: 11px 13px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 12px;
  color: var(--white);
  background: rgba(255,255,255,.08);
  text-align: left;
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.bill-guide-btn:hover,
.bill-guide-btn:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(185,220,66,.72);
  background: rgba(255,255,255,.13);
  outline: none;
}
.bill-guide-btn strong { font-size: 14px; }
.bill-guide-btn small { color: #b9cec5; font-size: 10px; line-height: 1.25; }
.bill-guide-btn::after { content: "Ver guía →"; margin-top: 3px; color: #dff29b; font-size: 10px; font-weight: 850; }

.bill-modal {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: none;
  place-items: center;
  padding: 24px;
}
.bill-modal.open { display: grid; }
.bill-modal-backdrop { position: absolute; inset: 0; background: rgba(4,27,22,.82); backdrop-filter: blur(8px); }
.bill-modal-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: min(1180px, 96vw);
  max-height: 92vh;
  max-height: 92dvh;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 35px 100px rgba(0,0,0,.35);
}
.bill-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}
.bill-modal-header h3 { margin: 2px 0 0; font-size: clamp(20px, 2vw, 28px); }
.bill-modal-kicker { color: var(--green-700); font-size: 10px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.bill-modal-close {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: var(--white);
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}
.bill-modal-close:hover,
.bill-modal-close:focus-visible { border-color: var(--green-700); outline: none; }
.bill-modal-image-wrap {
  display: grid;
  place-items: center;
  min-height: 0;
  padding: 14px;
  overflow: auto;
  background: #eef3ef;
}
.bill-modal-image-link { display: block; max-width: 100%; max-height: 100%; }
.bill-modal-image {
  display: block;
  width: auto;
  height: auto;
  object-fit: contain;
  max-width: 100%;
  max-height: calc(92dvh - 150px);
  margin: auto;
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(5,43,34,.14);
}
.bill-modal-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 12px 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: var(--white);
  font-size: 12px;
}
.bill-modal-footer p { margin: 0; }
.bill-modal-full { color: var(--green-700); font-weight: 850; white-space: nowrap; }
body.bill-modal-open { overflow: hidden; }

.bill-scanner {
  grid-column: 1 / -1;
  display: grid;
  gap: 14px;
  margin-bottom: 24px;
  padding: 20px;
  border: 1px solid #d4e2da;
  border-radius: 16px;
  background: linear-gradient(145deg, #f7fbf8 0%, #f0f7f2 100%);
}
.bill-scanner-heading { display: flex; align-items: flex-start; gap: 13px; }
.bill-scanner-heading h3 { margin: 0 0 5px; color: var(--green-900); font-size: 20px; line-height: 1.15; }
.bill-scanner-heading p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.bill-scanner-icon {
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  color: var(--green-800);
  background: #e0f2e6;
}
.bill-scanner-icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bill-file-input { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.bill-dropzone {
  display: grid;
  place-items: center;
  min-height: 170px;
  padding: 22px;
  border: 2px dashed #9fc6ad;
  border-radius: 15px;
  color: var(--green-900);
  text-align: center;
  background: rgba(255,255,255,.82);
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.bill-dropzone:hover,
.bill-dropzone:focus-visible,
.bill-dropzone.dragging { border-color: var(--green-600); background: #fff; box-shadow: 0 0 0 4px rgba(54,169,103,.10); outline: none; transform: translateY(-1px); }
.bill-dropzone.processing { cursor: wait; opacity: .78; }
.bill-dropzone-symbol {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 8px;
  border-radius: 50%;
  color: var(--white);
  background: var(--green-700);
  font-size: 23px;
  font-weight: 900;
  line-height: 1;
}
.bill-dropzone strong { display: inline-flex; justify-content: center; min-width: 190px; margin-bottom: 8px; padding: 12px 20px; border-radius: 10px; color: var(--white); background: var(--green-700); font-size: 14px; font-weight: 900; box-shadow: 0 8px 18px rgba(18,112,76,.16); }
.bill-dropzone > span:not(.bill-dropzone-symbol) { color: var(--muted); font-size: 12px; }
.bill-dropzone small { margin-top: 8px; color: #708178; font-size: 10px; font-weight: 600; }
.bill-camera-option { display: flex; justify-content: center; align-items: center; gap: 7px; color: var(--muted); font-size: 11px; }
.bill-camera-option label { color: var(--green-700); font-weight: 850; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.bill-camera-option label:hover { color: var(--green-900); }
.bill-scan-status { display: none; padding: 10px 12px; border-radius: 10px; font-size: 12px; font-weight: 750; line-height: 1.4; }
.bill-scan-status.visible { display: block; }
.bill-scan-status[data-type="loading"] { color: #5e4b08; background: #fff6d3; }
.bill-scan-status[data-type="success"] { color: #125c3d; background: #e0f4e7; }
.bill-scan-status[data-type="error"] { color: #8d2b25; background: #fce7e5; }
.bill-scan-result {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 16px;
  border: 1px solid #b8d8c2;
  border-radius: 13px;
  background: #fff;
}
.bill-scan-result[hidden] { display: none; }
.bill-scan-result-main { display: grid; flex: 1; gap: 9px; min-width: 0; }
.bill-scan-result small { color: var(--green-700); font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; }
.bill-detected-values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.bill-detected-value { display: grid; gap: 3px; min-width: 0; padding: 10px 12px; border: 1px solid rgba(18,112,76,.13); border-radius: 10px; background: rgba(255,255,255,.68); }
.bill-detected-value > span { color: var(--muted); font-size: 9px; font-weight: 800; line-height: 1.3; text-transform: uppercase; letter-spacing: .035em; }
.bill-detected-value strong { overflow-wrap: anywhere; color: var(--green-900); font-size: 20px; line-height: 1.15; }
.bill-detected-value.not-detected strong { color: #8d6c19; font-size: 15px; }
.bill-scan-result-main > span { color: var(--muted); font-size: 11px; line-height: 1.5; }
.bill-scan-result-actions { display: grid; align-self: center; justify-items: stretch; gap: 7px; min-width: 180px; }
.bill-scan-result-actions .btn { min-height: 44px; padding: 10px 14px; font-size: 12px; }
.bill-correct,
.bill-manual-link { padding: 0; border: 0; color: var(--green-700); background: transparent; font-size: 11px; font-weight: 850; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.bill-manual-link { justify-self: center; }
.bill-correct:hover,
.bill-manual-link:hover { color: var(--green-900); }
.bill-privacy { margin: -4px 0 0; color: #708178; text-align: center; font-size: 9px; line-height: 1.45; }
.field.bill-value-applied .input-unit { animation: billValueApplied 1.25s ease; }
@keyframes billValueApplied {
  0%, 100% { box-shadow: none; }
  35% { border-color: var(--green-500); box-shadow: 0 0 0 6px rgba(54,169,103,.18); }
}

.calculator-form, .results { grid-column: 2; padding: 28px; border-radius: 20px; background: var(--white); color: var(--ink); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-grid.compact { margin-top: 15px; }
.field { display: grid; gap: 8px; color: var(--ink); font-size: 13px; font-weight: 800; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #cddbd4; border-radius: 11px; outline: none; color: var(--ink); background: #fbfcfa; transition: .2s ease; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green-500); box-shadow: 0 0 0 4px rgba(54,169,103,.12); }
.field small { color: var(--muted); font-weight: 500; line-height: 1.4; }
.input-unit { display: flex; align-items: center; border: 1px solid #cddbd4; border-radius: 11px; background: #fbfcfa; overflow: hidden; }
.input-unit:focus-within { border-color: var(--green-500); box-shadow: 0 0 0 4px rgba(54,169,103,.12); }
.input-unit input { border: 0; box-shadow: none !important; }
.input-unit b { padding: 0 13px; color: var(--muted); white-space: nowrap; }
.input-unit.currency b:first-child { padding-right: 0; }
.range-field { margin: 28px 0; }
.range-title, .range-labels { display: flex; align-items: center; justify-content: space-between; }
.range-title { font-size: 13px; font-weight: 850; }
.range-title output { color: var(--green-800); font-size: 22px; }
.range-labels { color: var(--muted); font-size: 11px; }
input[type="range"] { width: 100%; accent-color: var(--green-700); }
.advanced-options { margin-bottom: 23px; border: 1px solid var(--line); border-radius: 12px; }
.advanced-options summary { padding: 13px 16px; cursor: pointer; font-size: 13px; font-weight: 850; }
.advanced-options[open] { padding: 0 16px 16px; }
.advanced-options[open] summary { margin-inline: -16px; }
.results { display: block; margin-top: 18px; scroll-margin-top: 96px; }
.results.visible { animation: slideUp .45s ease; }
.results-header { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; }
.results-header h3 { margin: 6px 0 0; font-size: 31px; line-height: 1.1; }
.result-badge { padding: 8px 12px; border-radius: 999px; background: #eef7df; color: var(--green-800); font-size: 12px; font-weight: 850; white-space: nowrap; }
.result-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 26px 0 14px; }
.result-card { display: grid; align-content: start; min-height: 150px; padding: 18px; border: 1px solid var(--line); border-radius: 15px; background: #fbfcfa; }
.result-card.featured { color: var(--white); border-color: var(--green-700); background: var(--green-700); }
.result-card small { font-size: 11px; font-weight: 800; }
.result-card strong { margin: 10px 0 3px; font-size: 31px; line-height: 1; }
.result-card span { color: var(--muted); font-size: 11px; }
.result-card.featured span { color: rgba(255,255,255,.72); }
.savings-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; border-radius: 15px; overflow: hidden; background: var(--line); }
.savings-grid div { display: grid; gap: 5px; padding: 20px; background: #eff5f0; }
.savings-grid small { color: var(--muted); }
.savings-grid strong { font-size: 20px; }
.recommendation-box { display: grid; grid-template-columns: 1.2fr .8fr; gap: 20px; margin-top: 16px; padding: 22px; border-radius: 15px; background: #f6f4e8; }
.recommendation-box span { font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; color: var(--green-700); }
.recommendation-box p { margin: 8px 0 0; font-size: 13px; }
.recommendation-box ul { margin: 0; padding-left: 20px; font-size: 12px; }
.results-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch; gap: 12px; margin-top: 22px; }
.results-actions .btn { flex: 1 1 220px; max-width: 340px; min-height: 56px; text-align: center; }
.results-actions .btn-light { color: var(--green-900); border: 1px solid var(--green-700); background: #f3f8f4; box-shadow: 0 10px 24px rgba(22,112,78,.10); }
.results-actions .btn-light:hover { color: var(--white); background: var(--green-700); }
.results-actions .dark { color: var(--ink); border-color: var(--line); }
.disclaimer { margin: 16px 0 0; color: var(--muted); font-size: 10px; }

.filter-bar { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 35px; }
.filter-btn { padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); font-weight: 800; cursor: pointer; }
.filter-btn.active { color: var(--white); border-color: var(--green-700); background: var(--green-700); }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.product-card { border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); overflow: hidden; transition: .25s ease; }
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.product-card.hidden { display: none; }
.product-visual { position: relative; height: 230px; overflow: hidden; background: linear-gradient(145deg, #def5e7, #b7dfbf); }
.product-visual::before, .product-visual::after { content: ""; position: absolute; }
.product-visual::before { width: 180px; height: 105px; left: 50%; top: 68px; transform: translateX(-50%) skewY(-8deg); border: 5px solid rgba(255,255,255,.9); background: repeating-linear-gradient(90deg, #123e51 0 28px, #6aa0b2 29px 31px); box-shadow: 0 30px 35px rgba(10,59,46,.2); }
.product-visual::after { left: calc(50% - 5px); top: 165px; width: 10px; height: 48px; background: #517a69; }
.product-power { position: absolute; right: 15px; top: 15px; z-index: 2; padding: 7px 11px; border-radius: 999px; background: rgba(255,255,255,.86); color: var(--green-900); font-size: 11px; font-weight: 900; }
.visual-battery { background: linear-gradient(145deg, #e5ecff, #c6d8e8); }
.visual-battery::after { width: 54px; height: 78px; left: calc(50% + 73px); top: 128px; border-radius: 8px; background: #183f31; box-shadow: inset 0 0 0 4px #fff; }
.visual-cabin { background: linear-gradient(145deg, #f3e9ca, #cfe5bb); }
.visual-water { background: linear-gradient(145deg, #dff5ff, #b4dfeb); }
.visual-water::after { left: 0; right: 0; top: auto; bottom: 0; width: auto; height: 46px; background: repeating-radial-gradient(ellipse at top, #55a9c5 0 15px, #87cae0 16px 31px); }
.visual-industry { background: linear-gradient(145deg, #e5ebe8, #c4d3cd); }
.visual-industry::after { left: 30px; right: 30px; bottom: 0; top: auto; width: auto; height: 83px; background: linear-gradient(90deg,#49665d 0 32%,#607b72 32% 60%,#35544a 60%); clip-path: polygon(0 35%,25% 35%,25% 0,36% 0,36% 35%,70% 35%,70% 15%,80% 15%,80% 35%,100% 35%,100% 100%,0 100%); }
.product-body { padding: 24px; }
.product-body h3 { margin: 13px 0 8px; font-size: 23px; line-height: 1.15; }
.product-body p { color: var(--muted); font-size: 14px; }
.product-body ul { min-height: 91px; padding-left: 18px; color: var(--muted); font-size: 13px; }

.process-section { background: #edf2ec; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.process-step { position: relative; padding: 28px; border-radius: var(--radius-md); background: var(--white); }
.process-step span { display: grid; place-items: center; width: 45px; height: 45px; border-radius: 50%; color: var(--white); background: var(--green-700); font-weight: 900; }
.process-step h3 { margin: 25px 0 7px; }
.process-step p { color: var(--muted); font-size: 14px; }

.process-carousel-heading { margin-bottom: 34px; }
.work-carousel { margin-top: 0; padding: 24px; border: 1px solid var(--line); border-radius: 26px; background: rgba(255,255,255,.76); box-shadow: 0 18px 40px rgba(10, 59, 46, .06); }
.work-carousel-header { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.work-carousel-header h3 { margin: 8px 0 0; font-size: clamp(26px, 3vw, 34px); line-height: 1.05; }
.work-carousel-controls { display: flex; gap: 10px; }
.work-carousel-btn { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--green-900); font-size: 24px; font-weight: 800; cursor: pointer; transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease; }
.work-carousel-btn:hover { transform: translateY(-1px); border-color: var(--green-700); background: var(--green-700); color: var(--white); }
.work-carousel-viewport { position: relative; overflow: hidden; border-radius: 22px; outline: none; }
.work-slide { display: none; min-width: 0; overflow: hidden; border-radius: 22px; background: var(--white); border: 1px solid rgba(10, 59, 46, .08); }
.work-slide.active { display: block; animation: workSlideFade .28s ease both; }
@keyframes workSlideFade { from { opacity: .35; transform: translateX(8px); } to { opacity: 1; transform: none; } }
.work-slide-image-wrap { aspect-ratio: 16 / 8; background: #dce7de; }
.work-slide-image-wrap img { display: block; width: 100%; height: 100%; object-fit: cover; }
.work-slide-caption { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: end; padding: 18px 20px 20px; }
.work-slide-caption strong { display: block; margin-top: 6px; color: var(--ink); font-size: 23px; line-height: 1.1; }
.work-slide-caption p { margin: 0; max-width: 520px; color: var(--muted); font-size: 15px; }
.work-location { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; background: #e7f1e4; color: var(--green-700); font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.work-location::before { content: '•'; font-size: 18px; line-height: 1; }
.work-carousel-footer { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 18px; }
.work-carousel-dots { display: flex; align-items: center; gap: 10px; }
.work-dot { width: 12px; height: 12px; border: 0; border-radius: 50%; background: #c5d6cc; cursor: pointer; transition: transform .2s ease, background .2s ease; }
.work-dot.active { transform: scale(1.15); background: var(--green-700); }

.impact-section { position: relative; overflow: hidden; color: var(--white); background: linear-gradient(125deg, #1c7452, #0a3b2e); }
.impact-section::before { content: ""; position: absolute; width: 520px; height: 520px; right: -190px; top: -220px; border: 85px solid rgba(185,220,66,.12); border-radius: 50%; }
.impact-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 70px; }
.impact-copy h2 { margin: 10px 0 18px; font-size: clamp(40px, 5vw, 65px); line-height: 1; letter-spacing: -.05em; }
.impact-copy p { color: #c8d9d2; }
.impact-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.impact-stats article { display: grid; padding: 25px; border: 1px solid rgba(255,255,255,.14); border-radius: 17px; background: rgba(255,255,255,.08); backdrop-filter: blur(10px); }
.impact-stats strong { font-size: 38px; }
.impact-stats span { color: #d0ded8; font-size: 12px; }
.impact-stats small { grid-column: 1 / -1; color: #b2c8bf; }

.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: start; }
.faq-grid .section-heading { margin: 0; text-align: left; position: sticky; top: 120px; }
.accordion { display: grid; gap: 12px; }
.accordion details { padding: 20px 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.accordion summary { cursor: pointer; font-weight: 850; }
.accordion p { color: var(--muted); font-size: 14px; }

.essential-grid { display: grid; gap: 18px; }
.essential-card {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  padding: 24px 24px 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255,255,255,.72);
  box-shadow: 0 16px 40px rgba(11,55,42,.06);
}
.essential-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fdeceb;
  color: #d55b57;
  font-size: 28px;
  line-height: 1;
  font-weight: 700;
}
.essential-card h3 { margin: 0 0 8px; color: var(--ink); font-size: 22px; line-height: 1.2; }
.essential-card p { margin: 0 0 10px; color: var(--muted); font-size: 17px; }
.essential-card p:last-child { margin-bottom: 0; }
.essential-card strong { color: var(--ink); }

.essential-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.contact-section { background: #e9f2e6; }
.contact-shell { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; padding: 60px; border-radius: var(--radius-lg); color: var(--white); background: var(--green-900); }
.contact-copy h2 { margin: 10px 0 17px; font-size: clamp(39px, 4.5vw, 61px); line-height: 1; letter-spacing: -.05em; }
.contact-copy > p { color: #c4d5ce; }
.contact-data { display: grid; gap: 10px; margin-top: 30px; }
.contact-data a { display: grid; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.contact-data span { color: #9bb5aa; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.contact-form { display: grid; gap: 15px; padding: 27px; border-radius: 18px; color: var(--ink); background: var(--white); }
.contact-form > small { color: var(--muted); text-align: center; }

.site-footer { padding: 70px 0 25px; color: #d6e1dc; background: #061f19; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; }
.footer-grid > div { display: grid; align-content: start; gap: 9px; }
.footer-grid p, .footer-grid a, .footer-grid span { color: #9fb4ab; font-size: 13px; }

.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 50px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); color: #789188; font-size: 11px; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@keyframes slideUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

@media (max-width: 1040px) {
  .hero-grid { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { max-width: 800px; }
  .hero-visual { width: min(620px, 100%); margin: 0 auto; }
  .solution-grid { grid-template-columns: 1fr 1fr; }
  .calculator-shell { grid-template-columns: 1fr; }
  .calculator-intro { position: static; }
  .calculator-form, .results { grid-column: 1; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .work-slide-caption { grid-template-columns: 1fr; align-items: start; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 2 / 4; }
}

@media (max-width: 780px) {
  :root { --container: min(100% - 26px, 1160px); }
  .section { padding: 78px 0; }
  .menu-toggle { display: block; }
  .main-nav { position: fixed; inset: 78px 0 auto; display: none; padding: 24px; flex-direction: column; align-items: stretch; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 8px; }
  .nav-cta { text-align: center; }
  .hero-grid { padding-top: 55px; gap: 20px; }
  .hero h1 { font-size: 48px; }
  .hero-proof { grid-template-columns: 1fr; }
  .hero-visual { min-height: 470px; transform: scale(.88); margin-top: -20px; }
  .trust-grid { grid-template-columns: 1fr 1fr; padding: 16px 0; gap: 15px; }
  .trust-grid span + span { border-left: 0; }
  .solution-grid, .product-grid, .process-grid, .impact-grid, .faq-grid, .contact-shell { grid-template-columns: 1fr; }
  .work-carousel-header, .work-carousel-footer { align-items: start; flex-direction: column; }
  .work-slide-caption { grid-template-columns: 1fr; }
  .calculator-shell { padding: 24px; }
  .form-grid, .result-grid, .savings-grid { grid-template-columns: 1fr 1fr; }
  .recommendation-box { grid-template-columns: 1fr; }
  .impact-stats { grid-template-columns: 1fr; }
  .impact-stats small { grid-column: 1; }
  .faq-grid .section-heading { position: static; }
  .contact-shell { padding: 28px; gap: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: auto; }
}

@media (max-width: 520px) {
  .hero h1 { font-size: 40px; }
  .hero-copy > p { font-size: 16px; }
  .hero-actions .btn { width: 100%; }
  .hero-visual { min-height: 405px; transform: scale(.75); transform-origin: top center; margin-bottom: -95px; }
  .solution-grid, .form-grid, .result-grid, .savings-grid, .footer-grid { grid-template-columns: 1fr; }
  .calculator-shell { padding: 15px; border-radius: 20px; }
  .calculator-form, .results { padding: 19px; }
  .results-header { flex-direction: column; }
  .footer-grid > div:last-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}


/* =========================================================
   Responsive v2: mobile, tablet and wide screens
   ========================================================= */
html { scroll-padding-top: 96px; }
body { overflow-x: clip; }
section[id] { scroll-margin-top: 92px; }

.hero-copy,
.hero-visual,
.calculator-intro,
.calculator-form,
.results,
.solution-card,
.product-card,
.process-step,
.impact-copy,
.impact-stats,
.contact-copy,
.contact-form,
.footer-grid > div { min-width: 0; }

h1, h2, h3, p, a, span, strong, small, li { overflow-wrap: anywhere; }
.btn, .filter-btn, .menu-toggle, .text-link { touch-action: manipulation; }
.menu-toggle { position: relative; z-index: 102; width: 44px; height: 44px; border-radius: 12px; }
.menu-toggle span { transition: transform .25s ease, opacity .2s ease; transform-origin: center; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1180px) {
  .main-nav { gap: 17px; }
  .calculator-shell { gap: 34px; padding: 42px; }
  .result-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .result-card { min-height: 132px; }
}

@media (max-width: 1040px) {
  .hero-grid { padding-top: 58px; padding-bottom: 68px; gap: 25px; }
  .hero-copy { text-align: center; margin-inline: auto; }
  .hero-copy > p, .hero-proof { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { width: min(650px, 100%); min-height: 500px; }
  .calculator-shell { gap: 28px; }
  .calculator-intro { max-width: 760px; text-align: center; margin-inline: auto; }
  .calc-note { text-align: left; }
  .calculator-form, .results { width: 100%; }
  .impact-grid, .contact-shell { gap: 42px; }
}

@media (max-width: 900px) {
  :root { --container: min(100% - 32px, 1160px); }
  .section { padding: 88px 0; }
  .nav-wrap { min-height: 72px; }
  .ps-brand-image { width: 170px; }
  .main-nav { font-size: 13px; gap: 13px; }
  .main-nav .nav-cta { padding-inline: 14px; }
  .solution-card { min-height: 315px; }
  .calculator-shell { padding: 30px; }
  .results { margin-top: 0; }
  .savings-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .contact-shell { padding: 42px; }
}

@media (max-width: 780px) {
  :root { --container: min(100% - 28px, 1160px); }
  html { scroll-padding-top: 78px; }
  section[id] { scroll-margin-top: 76px; }
  .section { padding: 72px 0; }
  .site-header { backdrop-filter: blur(20px); }
  .nav-wrap { min-height: 68px; }
  .menu-toggle { display: grid; place-content: center; margin-left: auto; }
  .main-nav {
    position: fixed;
    inset: auto;
    top: 68px;
    right: 0;
    bottom: auto;
    left: 0;
    width: 100%;
    height: calc(100vh - 68px);
    height: calc(100dvh - 68px);
    z-index: 101;
    display: flex;
    gap: 4px;
    padding: 20px max(20px, env(safe-area-inset-right)) calc(28px + env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
    flex-direction: column;
    align-items: stretch;
    overflow-y: auto;
    background: var(--white);
    border-bottom: 0;
    box-shadow: none;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: transform .24s ease, opacity .24s ease, visibility .24s ease;
  }
  .main-nav.open { display: flex; transform: translateY(0); opacity: 1; pointer-events: auto; visibility: visible; }
  .main-nav a { display: flex; align-items: center; min-height: 52px; padding: 12px 8px; border-bottom: 1px solid var(--line); font-size: 17px; }
  .main-nav .nav-cta { justify-content: center; margin-top: 12px; border-bottom: 0; color: var(--white); }

  .hero-grid { padding-top: 48px; padding-bottom: 52px; }
  .hero h1 { max-width: 680px; font-size: clamp(40px, 9vw, 58px); }
  .hero-copy > p { max-width: 590px; font-size: 17px; }
  .hero-proof { grid-template-columns: repeat(3, minmax(0, 1fr)); text-align: left; }
  .hero-visual { min-height: 430px; margin-top: 0; transform: none; }
  .house { width: min(360px, 76vw); bottom: 30px; }
  .roof { width: calc(100% - 34px); height: 165px; }
  .house-body { height: 190px; }
  .panel-array { top: 70px; width: 58%; }
  .panel-array span { height: 34px; }
  .sun-orbit { right: 11%; width: 105px; height: 105px; }
  .energy-card { min-width: 195px; max-width: 48%; padding: 12px 14px; }
  .card-top { left: 0; top: 160px; }
  .card-bottom { right: 0; bottom: 58px; }

  .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); min-height: auto; padding: 18px 0; }
  .trust-grid span { padding: 9px 6px; }
  .solution-grid, .product-grid, .process-grid { gap: 16px; }
  .work-carousel { padding: 18px; }
  .work-slide-image-wrap { aspect-ratio: 16 / 9; }
  .solution-card { min-height: 0; }
  .section-heading { margin-bottom: 38px; }

  .calculator-shell { padding: 24px; border-radius: 22px; }
  .calculator-intro { text-align: left; }
  .calculator-intro .calculator-main-title { font-size: clamp(36px, 10vw, 49px); }
  .calculator-promise { font-size: clamp(21px, 6.5vw, 29px); }
  .calculator-intro h2 { font-size: clamp(34px, 8vw, 49px); }
  .calculator-form, .results { padding: 24px; }
  .form-grid { gap: 16px; }
  .result-card strong { font-size: clamp(26px, 6vw, 31px); }
  .recommendation-box { grid-template-columns: 1fr; }

  .filter-bar {
    justify-content: flex-start;
    flex-wrap: nowrap;
    width: 100%;
    margin-inline: 0;
    padding: 0 2px 8px;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
  }
  .filter-bar::-webkit-scrollbar { display: none; }
  .filter-btn { flex: 0 0 auto; min-height: 44px; scroll-snap-align: start; }
  .product-body ul { min-height: 0; }
  .faq-grid, .impact-grid, .contact-shell { gap: 34px; }
  .contact-shell { padding: 30px; }
  .footer-grid { gap: 28px; }
}

@media (max-width: 640px) {
  :root { --container: min(100% - 24px, 1160px); }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .hero-proof { grid-template-columns: 1fr; gap: 10px; }
  .hero-proof span { grid-template-columns: 27px 1fr; align-items: center; }
  .hero-proof b { grid-row: 1; }
  .hero-visual { min-height: 385px; }
  .house { width: min(310px, 80vw); bottom: 18px; }
  .roof { height: 142px; }
  .house-body { height: 165px; }
  .window { left: 38px; top: 50px; width: 70px; height: 62px; border-width: 6px; }
  .door { right: 42px; width: 61px; height: 100px; }
  .panel-array { top: 61px; gap: 3px; }
  .panel-array span { height: 28px; }
  .sun-orbit { width: 86px; height: 86px; top: 20px; }
  .cloud-one { top: 75px; }
  .cloud-two { top: 175px; }
  .energy-card { min-width: 0; max-width: 58%; gap: 9px; padding: 10px 11px; }
  .energy-card strong { font-size: 13px; }
  .mini-icon { width: 30px; height: 30px; flex: 0 0 auto; }
  .card-top { top: 135px; }
  .card-bottom { bottom: 34px; }
  .solar-hint { top: 2px; font-size: 9px; }
  .solar-dayline { left: 5%; right: 5%; bottom: -2px; }
  .solar-dayline strong { font-size: 9px; padding: 4px 7px; }

  .solution-grid, .product-grid, .process-grid, .form-grid, .result-grid, .savings-grid, .footer-grid { grid-template-columns: 1fr; }
  .work-carousel-note { font-size: 12px; }
  .calculator-shell { padding: 16px; }
  .calculator-form, .results { padding: 20px; border-radius: 16px; }
  .field input, .field select, .field textarea { font-size: 16px; }
  .range-title { align-items: flex-end; }
  .range-title output { font-size: 20px; }
  .results-header { flex-direction: column; align-items: stretch; }
  .result-badge { width: max-content; max-width: 100%; white-space: normal; }
  .result-card { min-height: 0; }
  .savings-grid { gap: 1px; }
  .results-actions { display: grid; grid-template-columns: 1fr; }
  .results-actions .btn { width: 100%; }
  .bill-guide-actions { grid-template-columns: 1fr 1fr; }
  .bill-modal { padding: 0; }
  .bill-modal-dialog { width: 100%; max-height: 100vh; max-height: 100dvh; border-radius: 0; }
  .bill-modal-header { padding: 12px 14px; }
  .bill-modal-image-wrap { place-items: start center; padding: 10px; }
  .bill-modal-image {
    width: auto;
    height: auto;
    max-height: none;
    object-fit: contain;
  }
  .bill-modal-footer { align-items: flex-start; padding: 10px 14px; flex-direction: column; }
  .impact-stats { grid-template-columns: 1fr 1fr; }
  .contact-shell { padding: 24px; }
  .footer-bottom { flex-direction: column; margin-top: 34px; }
}

@media (max-width: 460px) {
  :root { --container: min(100% - 20px, 1160px); }
  .section { padding: 62px 0; }
  .ps-brand-image { width: 150px; }
  .hero-grid { padding-top: 38px; }
  .hero h1 { font-size: clamp(36px, 11vw, 46px); }
  .hero-visual { min-height: 405px; }
  .house { width: min(276px, 82vw); bottom: 42px; }
  .roof { height: 126px; }
  .house-body { height: 148px; border-width: 6px; }
  .panel-array { top: 53px; }
  .panel-array span { height: 25px; }
  .window { left: 32px; top: 45px; width: 62px; height: 54px; }
  .door { right: 34px; width: 55px; height: 91px; }
  .energy-card { max-width: 64%; }
  .energy-card small { font-size: 9px; }
  .energy-card strong { font-size: 12px; }
  .card-top { top: 118px; }
  .card-bottom { bottom: 68px; }
  .solar-dayline {
    top: 42px;
    right: auto;
    bottom: auto;
    left: 50%;
    display: block;
    width: max-content;
    transform: translateX(-50%);
  }
  .solar-dayline > span { display: none; }
  .trust-grid { grid-template-columns: 1fr; gap: 2px; }
  .section-heading h2 { font-size: clamp(31px, 9vw, 42px); }
  .solution-card, .product-body, .process-step { padding: 22px; }
  .work-carousel { padding: 16px; border-radius: 20px; }
  .work-slide { border-radius: 18px; }
  .work-slide-caption { padding: 16px; }
  .work-slide-caption strong { font-size: 21px; }
  .work-carousel-btn { width: 42px; height: 42px; }
  .calculator-shell { margin-inline: -2px; }
  .calculator-form, .results { padding: 17px; }
  .recommendation-box { padding: 18px; }
  .impact-stats { grid-template-columns: 1fr; }
  .contact-shell { padding: 20px; }
  .contact-form { padding: 20px; }
}

@media (max-width: 360px) {
  .hero-visual { min-height: 315px; }
  .house { width: 250px; }
  .energy-card { max-width: 69%; }
  .card-top { left: -3px; }
  .card-bottom { right: -3px; }
  .calculator-shell { padding: 12px; }
  .calculator-form, .results { padding: 15px; }
}

@media (hover: none) {
  .solution-card:hover, .product-card:hover, .btn:hover, .nav-cta:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .hero, #soluciones, #guia, .process-section, .impact-section, .faq-section, .contact-section, .site-footer, .calculator-intro, .calculator-form { display: none !important; }
  body, .calculator-section { background: white; }
  .calculator-section { padding: 0; }
  .calculator-shell { display: block; width: 100%; padding: 0; box-shadow: none; background: white; }
  .results { display: block !important; color: black; }
}

/* WordPress integration */
body.punto-solar-front { margin: 0; }
body.punto-solar-front #page,
body.punto-solar-front .site { max-width: none; margin: 0; background: transparent; }
body.punto-solar-front .site-content { margin: 0; padding: 0; }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

/* The first-stage WordPress prototype keeps its own header/footer on the homepage. */
.punto-solar-wp-note { display:none; }

/* Punto Solar brand on dark footer */

@media (max-width: 720px) {
  .essential-card { grid-template-columns: 1fr; gap: 14px; padding: 20px; }
  .essential-icon { width: 36px; height: 36px; font-size: 24px; }
  .essential-card h3 { font-size: 20px; }
  .essential-card p { font-size: 16px; }
  .essential-actions { display: grid; grid-template-columns: 1fr; }
  .essential-actions .btn { width: 100%; }
}


@media (max-width: 620px) {
  .bill-scanner { padding: 16px; border-radius: 14px; }
  .bill-scanner-heading h3 { font-size: 18px; }
  .bill-dropzone { min-height: 155px; padding: 18px 12px; }
  .bill-dropzone strong { width: 100%; min-width: 0; }
  .bill-scan-result { align-items: stretch; flex-direction: column; }
  .bill-detected-values { grid-template-columns: 1fr; }
  .bill-scan-result-actions { width: 100%; min-width: 0; }
}

/* Hero simplificado y centrado · v0.6.5 */
.hero-grid {
  min-height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding-top: 62px;
  padding-bottom: 58px;
}
.hero-copy {
  width: min(920px, 100%);
  max-width: none;
  margin-inline: auto;
  text-align: center;
}
.hero h1 {
  max-width: 900px;
  margin: 16px auto 20px;
  font-size: clamp(48px, 6vw, 78px);
  line-height: .98;
}
.hero-copy > p {
  max-width: 760px;
  margin-inline: auto;
}
.hero-actions {
  justify-content: center;
  margin: 30px 0 12px;
}
.hero-primary-cta {
  min-height: 58px;
  padding: 15px 34px;
  font-size: 17px;
  box-shadow: 0 15px 32px rgba(22,112,78,.25);
}
.hero-copy > .hero-note {
  max-width: none;
  margin: 0 auto;
  color: rgba(21,40,33,.66);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .01em;
}
.hero-visual {
  width: min(900px, 100%);
  min-height: 465px;
  margin: 2px auto 0;
}
.card-top { left: 12%; top: 162px; }
.card-bottom { right: 10%; bottom: 70px; }

@media (max-width: 1040px) {
  .hero-grid { padding-top: 56px; padding-bottom: 54px; }
  .hero-copy { width: min(840px, 100%); }
  .hero-visual { width: min(760px, 100%); min-height: 455px; }
  .card-top { left: 7%; }
  .card-bottom { right: 5%; }
}

@media (max-width: 780px) {
  .hero-grid { padding-top: 46px; padding-bottom: 48px; gap: 18px; }
  .hero h1 { font-size: clamp(40px, 9vw, 58px); }
  .hero-copy > p { max-width: 620px; font-size: 17px; }
  .hero-actions { margin-top: 25px; }
  .hero-primary-cta { min-height: 56px; padding-inline: 30px; }
  .hero-visual { width: 100%; min-height: 430px; margin-top: 0; transform: none; }
  .card-top { left: 0; top: 150px; }
  .card-bottom { right: 0; bottom: 55px; }
}

@media (max-width: 640px) {
  .hero-grid { padding-top: 40px; padding-bottom: 42px; }
  .hero h1 { font-size: clamp(37px, 10.5vw, 49px); }
  .hero-copy > p { font-size: 16px; }
  .hero-actions { display: flex; }
  .hero-actions .btn { width: min(100%, 340px); }
  .hero-copy > .hero-note { font-size: 11px; }
  .hero-visual { min-height: 385px; }
  .card-top { top: 132px; }
  .card-bottom { bottom: 34px; }
}

@media (max-width: 460px) {
  .hero-grid { padding-top: 34px; padding-bottom: 36px; }
  .hero h1 { font-size: clamp(35px, 10.8vw, 45px); }
  .hero-primary-cta { width: 100%; min-height: 54px; font-size: 16px; }
  .hero-visual { min-height: 405px; }
  .card-top { top: 118px; }
  .card-bottom { bottom: 68px; }
}


/* Hero integrado + preguntas desplegables · v0.6.6 */
@media (min-width: 781px) {
  .hero-grid {
    position: relative;
    min-height: 690px;
    padding-top: 58px;
    padding-bottom: 34px;
    gap: 0;
  }
  .hero-copy {
    position: relative;
    z-index: 6;
  }
  .hero h1 {
    max-width: 880px;
    font-size: clamp(48px, 5.7vw, 76px);
  }
  .hero-copy > p {
    max-width: 720px;
  }
  .hero-copy > .hero-note {
    display: inline-flex;
    width: auto;
    padding: 6px 11px;
    border: 1px solid rgba(255,255,255,.45);
    border-radius: 999px;
    background: rgba(255,255,255,.58);
    backdrop-filter: blur(8px);
  }
  .hero-visual {
    position: absolute;
    z-index: 2;
    left: 50%;
    top: 190px;
    bottom: 0;
    width: min(1040px, 96%);
    min-height: 500px;
    margin: 0;
    transform: translateX(-50%);
  }
  .hero-visual::after {
    content: "";
    position: absolute;
    z-index: 3;
    left: 50%;
    top: -35px;
    width: min(760px, 78%);
    height: 230px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(247,248,241,.72) 0%, rgba(247,248,241,.38) 48%, rgba(247,248,241,0) 76%);
    pointer-events: none;
  }
  .solar-simulator .house { bottom: 8px; }
  .solar-simulator .solar-hint {
    z-index: 5;
    top: 98px;
    left: 78%;
    transform: translateX(-50%);
  }
  .card-top { left: 8%; top: 215px; }
  .card-bottom { right: 7%; bottom: 54px; }
  .solar-dayline { bottom: 8px; }
}

.solar-fit-section {
  padding-top: 34px;
  padding-bottom: 82px;
  background: #f7f7f1;
}
.solar-fit-shell {
  width: min(980px, 100%);
}
.solar-fit-heading {
  max-width: 760px;
  margin: 0 auto 30px;
  text-align: center;
}
.solar-fit-heading h2 {
  margin: 10px 0 12px;
  font-size: clamp(31px, 3.7vw, 48px);
  line-height: 1.04;
  letter-spacing: -.04em;
}
.solar-fit-heading p {
  margin: 0 auto;
  max-width: 700px;
  color: var(--muted);
  font-size: 15px;
}
.solar-fit-accordion {
  display: grid;
  gap: 10px;
  max-width: 860px;
  margin: 0 auto;
}
.solar-fit-accordion details {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 8px 24px rgba(21,40,33,.035);
}
.solar-fit-accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 64px;
  padding: 18px 22px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 850;
  cursor: pointer;
  list-style: none;
}
.solar-fit-accordion summary::-webkit-details-marker { display: none; }
.solar-fit-accordion summary::marker { content: ""; }
.solar-fit-plus {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: var(--green-800);
  background: #eaf5d4;
  font-size: 21px;
  font-weight: 700;
  line-height: 1;
  transition: transform .2s ease, background .2s ease;
}
.solar-fit-accordion details[open] .solar-fit-plus {
  transform: rotate(45deg);
  background: #dff0c1;
}
.solar-fit-answer {
  padding: 0 64px 19px 22px;
}
.solar-fit-answer p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}
.solar-fit-actions {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}
.solar-fit-actions .btn {
  min-height: 52px;
  padding-inline: 27px;
}

@media (max-width: 780px) {
  .hero-grid {
    min-height: auto;
    padding-top: 42px;
    padding-bottom: 34px;
    gap: 2px;
  }
  .hero-visual {
    position: relative;
    width: min(720px, 112%);
    min-height: 410px;
    margin-top: -34px;
    transform: none;
  }
  .hero-copy { position: relative; z-index: 5; }
  .hero-copy > .hero-note {
    display: inline-flex;
    width: auto;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(255,255,255,.55);
  }
  .solar-simulator .solar-hint { top: 52px; }
  .solar-fit-section { padding-top: 24px; padding-bottom: 64px; }
}

@media (max-width: 640px) {
  .hero-grid { padding-top: 36px; padding-bottom: 26px; }
  .hero-visual { min-height: 380px; margin-top: -24px; }
  .solar-fit-heading { margin-bottom: 22px; }
  .solar-fit-heading h2 { font-size: clamp(29px, 8.5vw, 38px); }
  .solar-fit-accordion summary { min-height: 58px; padding: 16px 17px; font-size: 15px; }
  .solar-fit-answer { padding: 0 50px 17px 17px; }
  .solar-fit-actions .btn { width: min(100%, 340px); }
}

@media (max-width: 460px) {
  .hero-visual { width: 118%; min-height: 360px; margin-left: -9%; margin-top: -18px; }
  .solar-fit-section { padding-bottom: 52px; }
  .solar-fit-heading p { font-size: 14px; }
  .solar-fit-accordion summary { gap: 12px; }
}

/* Hero lateral restaurado · v0.6.7
   Mantiene el contenido simplificado, el CTA único y las preguntas desplegables de v0.6.6. */
@media (min-width: 901px) {
  .hero-grid {
    position: relative;
    min-height: 680px;
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(430px, .96fr);
    align-items: center;
    gap: clamp(38px, 5vw, 72px);
    padding-top: 58px;
    padding-bottom: 64px;
  }

  .hero-copy {
    position: relative;
    z-index: 6;
    width: auto;
    max-width: 690px;
    margin: 0;
    text-align: left;
  }

  .hero h1 {
    max-width: 690px;
    margin: 16px 0 20px;
    font-size: clamp(48px, 5.15vw, 72px);
    line-height: .98;
  }

  .hero-copy > p {
    max-width: 620px;
    margin: 0;
    font-size: 18px;
  }

  .hero-actions {
    justify-content: flex-start;
    margin: 30px 0 12px;
  }

  .hero-copy > .hero-note {
    display: inline-flex;
    width: auto;
    margin: 0;
    padding: 6px 11px;
    border: 1px solid rgba(255,255,255,.45);
    border-radius: 999px;
    background: rgba(255,255,255,.58);
    backdrop-filter: blur(8px);
  }

  .hero-visual {
    position: relative;
    z-index: 2;
    left: auto;
    top: auto;
    bottom: auto;
    width: 100%;
    min-height: 555px;
    margin: 0;
    transform: none;
  }

  .hero-visual::after {
    display: none;
  }

  .solar-simulator .house {
    bottom: 42px;
  }

  .solar-simulator .solar-hint {
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
  }

  .card-top {
    left: -10px;
    top: 190px;
  }

  .card-bottom {
    right: -8px;
    bottom: 78px;
  }

  .solar-dayline {
    bottom: 4px;
  }
}

@media (min-width: 901px) and (max-width: 1120px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(390px, .92fr);
    gap: 34px;
  }

  .hero h1 {
    font-size: clamp(46px, 5.4vw, 62px);
  }

  .hero-copy > p {
    font-size: 17px;
  }

  .hero-visual {
    min-height: 520px;
  }

  .house {
    width: 350px;
  }

  .roof {
    width: 316px;
    height: 164px;
  }

  .house-body {
    height: 190px;
  }

  .card-top {
    left: -4px;
    top: 178px;
  }

  .card-bottom {
    right: -4px;
    bottom: 68px;
  }
}
