/* Eco Electric · landing /evaluacion-solar/ (claro, orientado a conversión) */

.lp { background: var(--paper); }
.lp .eyebrow { color: var(--green-dark); }
.lp .sec--navy .eyebrow, .lp .sec--forest .eyebrow, .lp .lp-close .eyebrow { color: var(--lime); }
.lp-muted { color: var(--text-2) !important; }

/* ---------- Cabecera mínima ---------- */
.lp-header { position: relative; z-index: 5; border-bottom: 1px solid var(--line); background: var(--paper); }
.lp-header__in { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.lp-header__brand { display: inline-flex; min-height: 44px; align-items: center; }
.lp-header__brand img { height: 38px; width: auto; }
.lp-header__wa { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 15px; font-weight: 600; color: var(--navy); text-decoration: none; }
.lp-header__wa svg, .lp-sticky__wa svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.lp-header__wa:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 520px) { .lp-header__wa { font-size: 0; gap: 0; width: 44px; justify-content: center; border: 1px solid var(--navy); } .lp-header__wa svg { width: 22px; height: 22px; } }

/* ---------- Hero ---------- */
.lp-hero { padding: clamp(40px, 6vw, 80px) 0 clamp(64px, 8vw, 104px); }
.lp-hero__grid { display: flex; flex-wrap: wrap; gap: clamp(32px, 4vw, 56px); align-items: flex-start; }
.lp-hero__copy { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.lp-hero__title { margin: 0; font-family: var(--f-display); font-weight: 700; font-size: clamp(40px, 5.2vw, 76px); line-height: .96; letter-spacing: -.02em; color: var(--navy); }
.lp-hero__cta-mobile { display: none; }
@media (max-width: 1023px) { .lp-hero__cta-mobile { display: inline-flex; width: 100%; } }

.lp-photo { margin: 8px 0 0; display: flex; flex-direction: column; gap: 10px; }
.lp-photo__frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink-2); }
.lp-photo__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lp-photo__box { position: absolute; left: 37.5%; top: 38%; width: 31%; height: 15.5%; border: 2px solid var(--gold); box-shadow: 0 0 0 9999px rgba(8, 29, 61, .3); }
.lp-photo__tag { position: absolute; font: 600 12px/1.2 var(--f-label); padding: 6px 8px; }
.lp-photo__tag--gold { left: 37.5%; top: calc(38% - 32px); background: var(--gold); color: var(--navy); }
.lp-photo__tag--dark { left: 4%; bottom: 6%; background: rgba(8, 29, 61, .88); color: var(--paper); }
.lp-photo figcaption { font-size: 13px; color: var(--text-2); }
@media (max-width: 520px) { .lp-photo__tag { font-size: 10px; padding: 4px 6px; } .lp-photo__tag--gold { top: calc(38% - 24px); } }

.lp-form { flex: 1 1 400px; min-width: 0; max-width: 520px; border-radius: var(--r-card); background: var(--navy); color: var(--paper); padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 18px; scroll-margin-top: 16px; }
@media (min-width: 1024px) { .lp-form { position: sticky; top: 24px; } }
@media (max-width: 1023px) { .lp-form { max-width: none; } }
.lp-form__title { margin: 0; font-family: var(--f-display); font-weight: 700; font-size: 26px; line-height: 1.15; }
.lp-form__intro { margin: -6px 0 0; font-size: 14px; color: var(--muted); }
.lp-form__hint { margin: 0; font-size: 12px; }
.lp-form__wa { display: inline-flex; align-items: center; min-height: 44px; padding-top: 12px; border-top: 1px solid var(--rule-dark); font-size: 14px; font-weight: 600; color: var(--paper); }

/* ---------- Factura / techo ---------- */
.lp-story__title { max-width: 18ch; color: var(--navy); margin-bottom: clamp(40px, 5vw, 64px); }
.lp-story__grid { display: grid; grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr); gap: 32px; align-items: start; }
.lp-story__col { display: flex; flex-direction: column; gap: 18px; }
.lp-story__col img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.lp-story__p { margin: 0; font-size: 17px; color: var(--text); }
.lp-story__arrow { align-self: center; color: var(--green-dark); }
.lp-story__arrow svg { width: 64px; height: 32px; fill: none; stroke: currentColor; stroke-width: 2; }
.bill { border: 1px solid var(--navy); border-radius: 16px; background: var(--paper); padding: 8px 24px; font-family: var(--f-label); font-size: 15px; }
.bill__row { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px dashed #b9c3cc; }
.bill__row:last-child { border-bottom: 0; }
.bill__row span:last-child { color: var(--text-2); text-align: right; }
.bill__row--hl { margin: 0 -24px; padding: 14px 24px; background: rgba(129, 181, 34, .16); font-weight: 500; }
.bill__row--hl span:last-child { color: var(--green-dark); }
.lp-story .note .tag-illustrative { margin-right: 6px; color: var(--navy); }
@media (max-width: 860px) {
  .lp-story__grid { grid-template-columns: 1fr; }
  .lp-story__arrow { transform: rotate(90deg); justify-self: center; }
}

/* ---------- Beneficios ---------- */
.lp-benefits { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.lp-benefits li { display: flex; flex-direction: column; gap: 14px; padding-top: 24px; border-top: 2px solid var(--navy); }
.lp-benefits__n { font-family: var(--f-display); font-weight: 700; font-size: 44px; line-height: .9; color: var(--green-dark); }
.lp-benefits h3 { color: var(--navy); }
.lp-benefits p { margin: 0; color: var(--text-2); }
.lp-benefits__note { margin-top: 32px; }
@media (max-width: 860px) { .lp-benefits { grid-template-columns: 1fr; } }

/* ---------- Factores ---------- */
.lp-factors { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 40px; }
.lp-factors__head { grid-column: 1 / span 4; display: flex; flex-direction: column; gap: 18px; }
.lp-factors__list { grid-column: 6 / span 7; margin: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
.lp-factors__list div { padding: 16px 0; border-bottom: 1px solid var(--rule-dark); }
.lp-factors__list dt { font-weight: 600; font-size: 16px; }
.lp-factors__list dd { margin: 4px 0 0; font-size: 14px; color: var(--muted-2); }
@media (max-width: 1023px) { .lp-factors__head, .lp-factors__list { grid-column: 1 / -1; } }
@media (max-width: 560px) { .lp-factors__list { grid-template-columns: 1fr; } }

/* ---------- Pasos ---------- */
.lp-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 24px; }
.lp-steps li { display: flex; flex-direction: column; gap: 10px; padding: 24px 24px 32px 0; border-top: 1px solid var(--navy); }
.lp-steps span { font: 600 13px/1 var(--f-label); color: var(--green-dark); }
.lp-steps h3 { color: var(--navy); }
.lp-steps p { margin: 0; color: var(--text-2); }
@media (max-width: 760px) { .lp-steps { grid-template-columns: 1fr; } }

/* ---------- Confianza ---------- */
.lp-proof__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 32px; }
.lp-proof__head .h-display { max-width: 16ch; color: var(--navy); }
.lp-proof__photos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.lp-proof__photos img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.lp-warranty { list-style: none; margin: 40px 0 0; padding: 28px 0 0; border-top: 2px solid var(--navy); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.lp-warranty li { display: flex; flex-direction: column; gap: 6px; }
.lp-warranty strong { font-family: var(--f-display); font-weight: 700; font-size: clamp(36px, 4.4vw, 60px); line-height: .95; color: var(--navy); }
.lp-warranty span { font-weight: 600; color: var(--navy); }
.lp-proof__note { margin-top: 24px; max-width: 80ch; }
@media (max-width: 860px) { .lp-proof__photos { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .lp-warranty { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.lp-faq { max-width: 920px; display: flex; flex-direction: column; gap: 28px; }
.lp-faq .h-display { color: var(--navy); }
.faq-list { border-top: 2px solid var(--navy); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; min-height: 64px; padding: 18px 48px 18px 0; position: relative; font-family: var(--f-display); font-weight: 600; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.3; color: var(--navy); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font: 400 26px/1 var(--f-mono); color: var(--green-dark); }
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-list p { margin: 0 0 24px; max-width: 70ch; color: var(--text-2); }

/* ---------- Cierre ---------- */
.lp-close { background: var(--forest); color: var(--paper); padding: clamp(72px, 9vw, 120px) 0; }
.lp-close__in { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; }
.lp-close .h-display { max-width: 15ch; }
.lp-close__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.lp-footer { background: var(--ink); color: var(--muted-2); padding: 32px 0 calc(40px + env(safe-area-inset-bottom)); font-size: 13px; line-height: 1.6; }
.lp-footer p { margin: 0 0 10px; }
.lp-footer a { color: var(--paper); display: inline-block; padding: 4px 0; }

/* ---------- CTA fija en móvil ---------- */
.lp-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: none; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(8, 29, 61, .97); border-top: 1px solid var(--rule-dark);
  transform: translateY(110%); visibility: hidden; transition: transform .3s var(--ease), visibility 0s linear .3s; }
.lp-sticky.is-visible { transform: none; visibility: visible; transition: transform .3s var(--ease); }
.lp-sticky .btn { flex: 1; min-height: 50px; }
.lp-sticky__wa { width: 50px; min-height: 50px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(247, 249, 246, .5); color: var(--paper); }
@media (max-width: 1023px) { .lp-sticky { display: flex; } }

/* ---------- Página legal ---------- */
.legal { max-width: 760px; display: flex; flex-direction: column; gap: 14px; color: var(--text); }
.legal .h-display { color: var(--navy); margin-bottom: 8px; }
.legal .h-3 { margin-top: 20px; color: var(--navy); }
.legal p { margin: 0; }
