﻿:root {
  --blue: #2b90d9;
  --blue-deep: #16679f;
  --green: #93d94d;
  --green-deep: #009f3c;
  --ink: #12253b;
  --ink-soft: #5f7288;
  --line: #dbe6f4;
  --white: #ffffff;
  --bg: #f3f8ff;
  --radius: 18px;
  --shadow: 0 14px 32px rgba(18, 71, 117, 0.14);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Manrope', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 10% -5%, rgba(43, 144, 217, 0.24), transparent 38%), radial-gradient(circle at 92% 2%, rgba(147, 217, 77, 0.24), transparent 45%), var(--bg);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; height: auto; }

.container { width: min(1160px, calc(100% - 1.4rem)); margin: 0 auto; }
.section { padding: 74px 0; }
.section-white { background: rgba(255,255,255,.88); }
.section-soft { background: #eef5ff; }
.section-darkform { background: linear-gradient(140deg, #11243a, #1b4f77 45%, #1f7a5d); color: #fff; }

#tarifas,
#comunidad-solar-elega,
#bloques-info,
#faq,
#opiniones-clientes,
#formulario,
.local-footprint {
  content-visibility: auto;
  contain-intrinsic-size: 900px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(90deg, var(--blue), var(--green));
  border-bottom: 1px solid rgba(255,255,255,.35);
  box-shadow: 0 10px 26px rgba(10, 42, 70, 0.2);
}

.topbar-wrap {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.quick-actions {
  display: flex;
  align-items: center;
  gap: .6rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.quick-actions a {
  padding: .5rem .75rem;
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  color: #fff;
  font-size: .92rem;
  font-weight: 700;
}

.quick-action-btn,
.utility-action-btn {
  padding: .5rem .75rem;
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  color: #fff;
  font-size: .92rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
}

.utility-action-btn {
  display: none;
}

.quick-actions i { margin-right: .3rem; }

.menu-toggle {
  display: none;
  border: 1px solid rgba(255,255,255,.45);
  background: rgba(255,255,255,.16);
  color: #fff;
  border-radius: 10px;
  padding: .45rem .65rem;
  font-weight: 800;
  font-size: .9rem;
  cursor: pointer;
}

.menu-call-btn {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.45);
  background: rgba(255,255,255,.16);
  color: #fff;
  cursor: pointer;
}

.menu-toggle i { margin-right: .35rem; }

.subtop-nav {
  background: #ffffff;
  border-bottom: 1px solid #dbe5f0;
  box-shadow: 0 4px 14px rgba(15, 53, 86, 0.06);
}

.subtop-wrap {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .9rem;
}

.section-links,
.utility-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
}

.section-links a {
  color: #214868;
  font-weight: 700;
  font-size: .9rem;
  padding: .35rem .6rem;
  border-radius: 8px;
}

.section-links a:hover {
  background: #edf4fb;
}

.utility-links a {
  color: #1f5f87;
  font-weight: 700;
  font-size: .9rem;
  padding: .35rem .6rem;
  border-radius: 999px;
  border: 1px solid #cfe0f0;
  background: #f5faff;
}

  .utility-action-btn {
    display: block;
    color: #1f5f87;
    border: 1px solid #cfe0f0;
    background: #f5faff;
  }

.utility-links i { margin-right: .3rem; }

.hero {
  padding: 72px 0 0;
  background: linear-gradient(120deg, var(--blue), var(--green));
  color: #fff;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 1.4rem;
  align-items: center;
}

.hero-kicker {
  margin: 0 0 1rem;
  font-weight: 700;
  color: #e7f7ff;
  font-size: 1rem;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -.03em;
  font-weight: 800;
  text-wrap: balance;
}

.hero-sub {
  margin: 1rem 0 0;
  max-width: 620px;
  font-size: 1.08rem;
  color: rgba(255,255,255,.94);
  line-height: 1.65;
}

.hero-cta-row {
  margin-top: 1.15rem;
  display: flex;
  gap: .8rem;
  flex-wrap: wrap;
}

.hero-cta-row .btn {
  min-height: 52px;
  padding: 0 1.3rem;
  border-radius: 14px;
  font-size: 1.02rem;
  font-weight: 800;
}

.hero-cta-row .btn-main {
  background: linear-gradient(180deg, #22a6ea 0%, #088f53 100%);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    0 10px 18px rgba(7, 70, 115, 0.32),
    0 2px 0 rgba(5, 87, 58, 0.45);
}

.hero-cta-row .btn-main:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 12px 22px rgba(7, 70, 115, 0.36),
    0 2px 0 rgba(5, 87, 58, 0.45);
}

.hero-cta-row .btn-main:active {
  transform: translateY(1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 6px 12px rgba(7, 70, 115, 0.24);
}

.hero-cta-row .btn-soft {
  background: rgba(255, 255, 255, 0.14);
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  color: #f6fbff;
}

.hero-mini-cards {
  margin-top: 1.25rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .72rem;
}

.hero-mini-cards article {
  border: 1px solid rgba(255,255,255,.32);
  background: linear-gradient(145deg, rgba(255,255,255,.17), rgba(255,255,255,.10));
  border-radius: 14px;
  padding: .72rem .78rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 62px;
  color: #f3f9ff;
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.17), 0 8px 18px rgba(9, 35, 58, .10);
  backdrop-filter: blur(4px);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.hero-mini-cards i {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: rgba(255, 219, 92, .24);
  color: #ffe57a;
  font-size: .68rem;
  margin: 0;
}

.hero-mini-cards article:hover {
  transform: translateY(-1px);
  border-color: rgba(255,255,255,.5);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 10px 22px rgba(9, 35, 58, .16);
}

.hero-mini-cards span {
  font-size: 1rem;
  line-height: 1;
}

.hero-media {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 24px 42px rgba(3, 26, 44, 0.28);
  border: 1px solid rgba(255,255,255,.3);
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
}

.hero-media-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1rem 1rem 1.15rem;
  color: #fff;
  background: linear-gradient(to top, rgba(10, 17, 30, .76), rgba(10, 17, 30, .18));
}

.hero-media-pill {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, #08985f, #06714e);
  border-radius: 999px;
  font-weight: 800;
  font-size: .95rem;
  padding: .38rem .85rem;
}

.hero-media-overlay h3 {
  margin: .7rem 0 .38rem;
  font-size: clamp(2rem, 2.8vw, 2.6rem);
  line-height: 1.12;
  text-shadow: 0 3px 10px rgba(0, 0, 0, .28);
}

.hero-media-line {
  display: block;
  width: 100px;
  height: 5px;
  border-radius: 999px;
  background: #18d9be;
  margin-bottom: .6rem;
}

.hero-media-overlay p {
  margin: 0;
  max-width: 88%;
  font-weight: 700;
  line-height: 1.42;
  font-size: 1.05rem;
}

.hero-ribbon {
  margin-top: 2rem;
  background: #141f38;
  color: #f7f9ff;
  border-radius: 56px 56px 0 0;
  border-top: 1px solid rgba(255,255,255,.24);
}

.hero-ribbon p {
  margin: 0;
  text-align: center;
  padding: 1rem 1rem 1.2rem;
  font-weight: 700;
}

.hero-ribbon i { color: #f6d535; margin-right: .4rem; }
.hero-ribbon strong { color: #ffd83d; }

.section-head { text-align: center; margin-bottom: 2rem; }
.section-head h2 { margin: .35rem 0 0; font-size: clamp(1.72rem, 3.5vw, 2.4rem); }
.section-head p { margin: .7rem auto 0; color: var(--ink-soft); max-width: 740px; line-height: 1.65; }
.section-head.light p, .section-head.light h2 { color: #f4f9ff; }

.eyebrow {
  display: inline-flex;
  font-weight: 800;
  letter-spacing: .08em;
  font-size: .75rem;
  color: #2b6fa8;
  background: #e9f3ff;
  border-radius: 999px;
  padding: .32rem .65rem;
}
.section-head.light .eyebrow { background: rgba(255,255,255,.15); color: #fff; }

.offers-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
  max-width: 1120px;
  margin: 0 auto;
}

.offer-card {
  background: #eef2f3;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid #d8e0e2;
  box-shadow: 0 14px 28px rgba(18, 63, 97, 0.12);
  display: flex;
  flex-direction: column;
}

.offer-image-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.offer-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Ajuste de encuadre en la card indexada para mostrar mejor la parte superior */
.offer-card:nth-child(2) .offer-image-wrap img {
  object-position: center 22%;
}

.offer-badge {
  position: absolute;
  left: 14px;
  top: 14px;
  background: linear-gradient(135deg, #078b5a, #0a6f51);
  color: #fff;
  border-radius: 999px;
  padding: .38rem .75rem;
  font-size: .92rem;
  font-weight: 800;
}

.offer-content {
  padding: 1rem 1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  min-height: 390px;
}

.offer-content h3 {
  margin: 0;
  font-size: 2rem;
  line-height: 1.2;
  color: #1d2938;
}

.offer-subtitle {
  margin: 0;
  color: #425366;
  font-weight: 700;
  font-size: 1rem;
}

.icon-head {
  color: #c4a730;
  margin-right: .45rem;
  font-size: .95em;
}

.offer-highlight {
  border: 1px solid #b6d6c6;
  border-radius: 14px;
  background: #d8e6df;
  padding: .9rem .95rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .6rem;
}

.hl-label {
  display: block;
  font-size: 1.08rem;
  font-weight: 800;
  color: #0b5f4d;
}

.hl-note {
  display: block;
  margin-top: .2rem;
  color: #4a5d6f;
  font-size: 1rem;
  font-weight: 700;
}

.hl-value {
  color: #0a4f44;
  font-size: 2rem;
  font-weight: 900;
  white-space: nowrap;
}

.hl-value small {
  font-size: 1.05rem;
}

.offer-list {
  margin: .1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: .58rem;
  flex: 1;
}

.offer-list li {
  position: relative;
  padding-left: 1.75rem;
  line-height: 1.35;
  font-weight: 700;
  color: #1f2835;
  font-size: 1rem;
}

.offer-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: .05rem;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 8px;
  background: #9be7c0;
  color: #0f6b48;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: .9rem;
}

.offer-cta {
  border-radius: 12px;
  margin-top: auto;
  min-height: 52px;
  font-size: 1rem;
  letter-spacing: .01em;
  font-weight: 800;
  background: linear-gradient(180deg, #0f8b62 0%, #0b744f 100%) !important;
  border: 1px solid #096847 !important;
  box-shadow: 0 8px 18px rgba(9, 94, 64, 0.22) !important;
}

.offer-cta:hover {
  filter: none;
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(9, 94, 64, 0.28) !important;
}

.offers-extra {
  text-align: center;
  margin-top: 1.6rem;
}

.offers-extra p {
  margin: 0;
  color: #4b5057;
  font-size: 1.15rem;
}

.offers-extra a {
  display: inline-flex;
  margin-top: .9rem;
  border: 2px solid #068755;
  color: #057146;
  border-radius: 999px;
  font-weight: 800;
  padding: .72rem 1.45rem;
  font-size: 1rem;
}

.tariffs-stack {
  display: grid;
  gap: 1.1rem;
  max-width: 1120px;
  margin: 0 auto;
}

.tariff-split-card {
  display: grid;
  grid-template-columns: 49% 51%;
  gap: 1rem;
  padding: 1rem;
  background: linear-gradient(130deg, #2c8fd8, #7cc651);
  border-radius: 28px;
  box-shadow: 0 18px 36px rgba(20, 77, 122, 0.22);
  align-items: stretch;
  min-height: 420px;
}

.tariff-split-media {
  position: relative;
  min-height: 100%;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.tariff-split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tariff-overlay {
  position: absolute;
  inset: auto 0 0 0;
  background: linear-gradient(to top, rgba(8, 16, 29, 0.72), rgba(8, 16, 29, 0.08));
  color: #fff;
  padding: 1rem;
}

.tariff-overlay h3 {
  margin: .6rem 0 .45rem;
  font-size: clamp(1.7rem, 3vw, 2.1rem);
  line-height: 1.1;
}

.tariff-overlay p {
  margin: 0;
  max-width: 85%;
  line-height: 1.45;
  font-weight: 600;
}

.tariff-pill {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: linear-gradient(130deg, #0b9c68, #007f57);
  color: #fff;
  border-radius: 999px;
  padding: .42rem .78rem;
  font-weight: 800;
}

.tariff-split-panel {
  background: #edf5f1;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .85rem;
  min-height: 100%;
}

.tariff-topline {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}

.kpi-label {
  margin: 0;
  color: #166053;
  font-weight: 800;
  letter-spacing: .04em;
}

.kpi-price {
  margin: .25rem 0;
  color: #084e43;
  font-size: clamp(2rem, 3.2vw, 3rem);
  font-weight: 900;
  line-height: 1;
}

.kpi-price small {
  font-size: 1.8rem;
}

.kpi-sub {
  margin: 0;
  color: #3c7468;
  font-size: 1.05rem;
  font-weight: 700;
}

.kpi-badge {
  background: #ececf0;
  border: 1px solid #d8dae1;
  border-radius: 14px;
  padding: .8rem;
  min-width: 172px;
}

.kpi-badge strong {
  display: block;
  font-size: .93rem;
  color: #4f5768;
}

.kpi-badge span {
  display: block;
  margin-top: .3rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: #1f2530;
}

.kpi-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: .72rem;
  flex: 1;
}

.kpi-list li {
  position: relative;
  padding-left: 2rem;
  font-weight: 800;
  color: #1c2a36;
  line-height: 1.42;
}

.kpi-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: .15rem;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 10px;
  background: #89dfba;
  color: #05613a;
  display: grid;
  place-items: center;
  font-size: .95rem;
  font-weight: 900;
}

.tariff-split-panel .btn-main {
  border-radius: 999px;
  font-size: 1.03rem;
  padding-top: .86rem;
  padding-bottom: .86rem;
  margin-top: auto;
}

.tariff-split-alt {
  background: linear-gradient(130deg, #2a7fbf, #6fb44c);
}

#tarifas {
  padding-top: 74px;
  background: rgba(255,255,255,.88);
}

.local-footprint {
  padding-top: 36px;
  background: #f5f8fb;
}

.local-footprint-card {
  background: #ffffff;
  border: 1px solid #dfe8f3;
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 10px 24px rgba(20, 68, 105, 0.08);
}

.local-footprint-card h2 {
  margin: 0;
  font-size: 1.2rem;
  color: #173d60;
}

.local-footprint-card > p {
  margin: .5rem 0 .8rem;
  color: #4e6176;
}

.local-cities {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.local-cities span {
  border: 1px solid #c6d9eb;
  background: #eef5fc;
  color: #1d4c75;
  border-radius: 999px;
  padding: .35rem .65rem;
  font-size: .9rem;
  font-weight: 700;
}

.local-details {
  margin-top: .8rem;
  border: 1px solid #dbe4f0;
  background: #f8fbff;
}

.local-details summary {
  font-weight: 800;
  color: #1c4f79;
}

.local-details p {
  margin: .55rem 0 0;
  color: #425367;
}

.solar-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 1rem;
  align-items: center;
}

.solar-copy ul { margin: 1rem 0 1.2rem; padding: 0; list-style: none; display: grid; gap: .52rem; }
.solar-copy li { display: flex; align-items: center; gap: .55rem; font-weight: 600; }
.solar-media {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.info-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .95rem;
  align-items: stretch;
}

.info-head {
  grid-column: 1 / -1;
  margin-bottom: .5rem;
}

.info-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(12, 58, 98, 0.08);
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}

.info-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(12, 58, 98, 0.12);
}

.info-media {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-bottom: 1px solid #d6e2ef;
  background: #f4f7fb;
}

.info-card img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center top;
  background: #f4f7fb;
}

.info-media--app img {
  object-position: center 42%;
}

.info-media--app::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .34) 0%, rgba(0, 0, 0, .10) 20%, rgba(0, 0, 0, 0) 48%),
    linear-gradient(0deg, rgba(0, 0, 0, .08) 0%, rgba(0, 0, 0, 0) 24%);
  pointer-events: none;
  z-index: 1;
}

.info-media-overlay-top {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  color: #ffffff;
  text-align: center;
  font-size: .82rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: .02em;
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .45);
  padding: .28rem .5rem .42rem;
  max-width: 92%;
  margin: 0 auto;
  text-wrap: balance;
  background: linear-gradient(180deg, rgba(0,0,0,.18), rgba(0,0,0,0));
  border-radius: 10px;
  z-index: 2;
}

.info-media-overlay-top::after {
  content: "";
  display: block;
  width: 56%;
  max-width: 180px;
  margin: .46rem auto 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,255,255,.06), rgba(255,255,255,.88), rgba(255,255,255,.06));
}

.info-media-logo {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  width: 120px;
  height: 44px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .97);
  border: 1px solid rgba(197, 215, 232, .95);
  display: grid;
  place-items: center;
  padding-top: 0;
  box-shadow: 0 8px 16px rgba(12, 40, 62, .2);
  z-index: 2;
}

.info-media-logo img {
  width: 76px;
  height: auto;
  object-fit: contain;
  filter: saturate(1.02) contrast(1.02);
}

.info-card div { padding: .95rem 1rem 1rem; }
.info-card .info-media-overlay-top { padding: .28rem .5rem .42rem; }
.info-card .info-media-logo {
  padding: 0;
  width: 120px;
  height: 44px;
  bottom: 10px;
}
.info-card h3 { margin: 0; font-size: 1.18rem; line-height: 1.3; }
.info-card p {
  margin: .45rem 0 0;
  line-height: 1.5;
  color: var(--ink-soft);
  font-size: .98rem;
}

.info-app-badges {
  margin-top: .75rem;
  display: flex;
  gap: .5rem;
  align-items: center;
  flex-wrap: wrap;
}

.info-app-badges a {
  display: inline-flex;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #d6e1ee;
  background: #fff;
}

.info-app-badges img {
  width: 140px;
  height: auto;
  display: block;
}

.narrow { width: min(900px, calc(100% - 1.4rem)); }

.faq-list details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: .95rem 1rem;
  margin-bottom: .7rem;
  box-shadow: 0 8px 18px rgba(24, 75, 116, 0.08);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 800;
  color: #1a466f;
}

.faq-list p { margin: .6rem 0 0; color: var(--ink-soft); line-height: 1.6; }

.reviews-grid {
  display: flex;
  gap: .8rem;
  overflow: hidden;
  scroll-behavior: smooth;
}

.reviews-grid.is-carousel {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.reviews-grid.is-carousel::-webkit-scrollbar {
  display: none;
}

.review-card {
  flex: 0 0 calc((100% - 1.6rem) / 3);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.15rem;
  box-shadow: 0 14px 30px rgba(21, 76, 120, 0.10);
  scroll-snap-align: start;
  position: relative;
  overflow: hidden;
}

.review-card::before {
  content: "\201C";
  position: absolute;
  top: .6rem;
  left: .9rem;
  font-size: 3rem;
  line-height: 1;
  color: rgba(43, 144, 217, 0.12);
  font-weight: 800;
}

.review-card p {
  margin: 0 0 .85rem;
  line-height: 1.7;
  color: var(--ink-soft);
  font-size: .98rem;
  position: relative;
  z-index: 1;
}

.review-card strong {
  display: inline-block;
  font-size: 1rem;
  color: #17324e;
}

.review-meta {
  display: inline-block;
  margin-top: .55rem;
  font-size: .88rem;
  font-weight: 700;
  color: #0b7650;
}

.notice {
  padding: .85rem 1rem;
  border-radius: 12px;
  font-weight: 700;
  margin-bottom: .8rem;
}

.notice.success { background: #e6fff0; border: 1px solid #aee3c4; color: #175f3b; }
.notice.error { background: #fff3f3; border: 1px solid #f3bbbb; color: #8c2323; }

.form-contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 1rem;
  align-items: start;
}

.contact-card {
  background: rgba(255,255,255,.95);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 18px;
  padding: 1rem;
  color: #17283f;
}

.mini-label {
  display: inline-block;
  padding: .3rem .55rem;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .06em;
  color: #165e9c;
  background: #e7f0fb;
}

.contact-card h3 {
  margin: .65rem 0 .45rem;
  font-size: 1.7rem;
  line-height: 1.2;
}

.contact-card p {
  margin: 0;
  color: #4b5e75;
}

.contact-list {
  margin: .8rem 0 1rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: .4rem;
}

.contact-list li {
  color: #21374f;
}

.contact-list a {
  color: #0b4f86;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.map-wrap {
  border: 1px solid #d9e5f2;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.map-link {
  display: inline-flex;
  margin: .6rem .6rem 0;
  padding: .4rem .65rem;
  border-radius: 8px;
  background: #eff5fc;
  border: 1px solid #d1e0f0;
  color: #1f537f;
  font-weight: 700;
  font-size: .85rem;
}

.map-wrap iframe {
  width: 100%;
  height: 230px;
  border: 0;
  display: block;
  margin-top: .45rem;
}

.lead-form {
  background: rgba(255,255,255,.95);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 18px;
  padding: 1rem;
  color: #17283f;
}

.form-grid { display: grid; gap: .7rem; margin-bottom: .7rem; }
.form-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }

label, legend { font-size: .92rem; font-weight: 700; }
input, select, textarea {
  width: 100%;
  margin-top: .35rem;
  padding: .72rem .78rem;
  border-radius: 12px;
  border: 1px solid #bfd2e8;
  background: #fbfdff;
  color: #162b42;
  font: inherit;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: #5097d3;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(43, 144, 217, .14);
}

input::placeholder,
textarea::placeholder {
  color: #7a8ea5;
  opacity: 1;
}

.form-legal {
  margin: .55rem 0 .85rem;
  font-size: .82rem;
  line-height: 1.45;
  color: #506177;
}

.form-legal a {
  color: #0b4f86;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.consent-block {
  margin-bottom: .65rem;
}

.consent-title {
  margin: 0 0 .45rem;
  font-weight: 700;
  color: #1f3852;
}

.consent-inline {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.consent-inline-option {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-weight: 700;
  color: #1b3249;
}

.consent-inline-option input[type="radio"] {
  width: auto;
  margin: 0;
}

.privacy {
  display: flex;
  gap: .5rem;
  align-items: flex-start;
  font-weight: 700;
  color: #1a334c;
  margin-top: .3rem;
}

.privacy input {
  width: auto;
  margin-top: .2rem;
}

.privacy a {
  color: #0b4f86;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.privacy-row {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
}

.privacy-row span {
  line-height: 1.35;
}

.lead-form .btn-main {
  margin-top: .45rem;
  min-height: 52px;
  border-radius: 999px;
  font-size: 1.02rem;
  letter-spacing: .01em;
  background: linear-gradient(180deg, #1a95da 0%, #0a8b57 100%);
  border: 1px solid #0a7a4f;
  box-shadow: 0 10px 20px rgba(9, 85, 58, 0.22);
}

.lead-form .btn-main:hover {
  filter: none;
  transform: translateY(-1px);
}
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid transparent;
  padding: .72rem 1rem;
  font-weight: 800;
  cursor: pointer;
}

.btn-main {
  background: linear-gradient(130deg, var(--blue), var(--green-deep));
  color: #fff;
  box-shadow: 0 12px 24px rgba(18, 94, 154, 0.26);
}
.btn-main:hover { filter: saturate(1.06); transform: translateY(-1px); }

.btn-soft {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.5);
  color: #fff;
}

.btn-block { width: 100%; }

.footer {
  background: linear-gradient(160deg, #16243b, #0d1f33);
  color: #d8e7f5;
  padding: 44px 0 16px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1rem;
}

.footer h3 { margin-top: 0; color: #fff; }
.footer ul { margin: 0; padding-left: 1rem; }
.footer li { margin-bottom: .38rem; }
.footer-bottom { margin-top: .9rem; border-top: 1px solid rgba(255,255,255,.15); padding-top: .8rem; }

.footer-socials {
  margin-top: .8rem;
  display: flex;
  align-items: center;
  gap: .55rem;
}

.footer-socials a {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
}

.footer-socials a:hover {
  background: rgba(255,255,255,.16);
}

.float-btn {
  position: fixed;
  right: 14px;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  border: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.4rem;
  z-index: 99;
  box-shadow: 0 12px 24px rgba(0,0,0,.25);
}
.float-btn.wa { background: #25d366; bottom: 14px; }
body.chat-widget-open .float-btn {
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease;
}

@media (max-width: 720px) {
  body.chat-widget-open {
    overflow: hidden;
    touch-action: none;
  }
}

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  width: min(980px, calc(100% - 1rem));
  background: rgba(12, 34, 54, 0.97);
  color: #f3f8ff;
  border: 1px solid rgba(155, 194, 230, 0.3);
  border-radius: 14px;
  padding: .8rem .9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  z-index: 220;
  box-shadow: 0 10px 28px rgba(7, 22, 38, 0.42);
}

.cookie-banner p {
  margin: 0;
  font-size: .92rem;
  line-height: 1.45;
  color: rgba(245, 251, 255, 0.95);
}

.cookie-banner a {
  color: #a4dbff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-actions {
  display: flex;
  align-items: center;
  gap: .45rem;
  flex-shrink: 0;
}

.cookie-actions .btn {
  min-height: 40px;
  padding: 0 .95rem;
  border-radius: 10px;
  width: auto;
}

.cookie-actions .btn-soft {
  color: #e9f4ff;
  border-color: rgba(179, 205, 230, 0.7);
  background: rgba(255, 255, 255, 0.08);
}

.cookie-banner.is-hidden { display: none; }

.modal {
  position: fixed;
  inset: 0;
  background: rgba(7, 16, 29, .62);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 1rem;
}
.modal.open { display: flex; }

.modal-box {
  width: min(440px, 100%);
  background: #fff;
  border-radius: 16px;
  padding: 1rem;
  position: relative;
}

.close-modal {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
}

.call-form input { margin-bottom: .65rem; }

@media (max-width: 1024px) {
  .hero-grid,
  .offers-grid,
  .solar-grid,
  .info-cards,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .tariff-split-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .tariff-split-media {
    min-height: 320px;
  }

  .tariff-overlay p {
    max-width: 100%;
  }

  .hero { padding-top: 58px; }
  .hero-mini-cards { grid-template-columns: 1fr; }
  .hero-kicker { font-size: .98rem; }
  .hero-media img { min-height: 360px; }
  .hero-media-overlay h3 { font-size: 2.1rem; }
  .hero-media-overlay p { max-width: 100%; font-size: 1.18rem; }
  .offer-content { min-height: 0; }
  .info-head { margin-bottom: .2rem; }
  .review-card { flex-basis: calc((100% - .8rem) / 2); }
  .form-contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .topbar {
    position: sticky;
    top: 0;
    z-index: 150;
  }
  .topbar-wrap {
    min-height: 70px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: .5rem 0;
    gap: .45rem;
  }
  .brand img {
    width: 112px;
    height: auto;
  }
  .quick-actions { display: none; }
  .menu-call-btn {
    display: inline-grid;
    place-items: center;
    flex-shrink: 0;
  }
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    min-height: 40px;
    padding: .38rem .58rem;
    font-size: .86rem;
  }
  .menu-toggle i { display: none; }
  .subtop-nav {
    display: none;
    background: transparent;
    border-bottom: 0;
    box-shadow: none;
  }
  .subtop-nav.is-open {
    display: block;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    z-index: 120;
    padding: 0 .5rem;
  }
  .subtop-wrap {
    min-height: 0;
    flex-direction: column;
    align-items: stretch;
    gap: .6rem;
    padding: .65rem .6rem .75rem;
    border-radius: 14px;
    border: 1px solid #d8e3ef;
    background: #fff;
    box-shadow: 0 12px 24px rgba(15, 53, 86, 0.14);
  }
  .section-links,
  .utility-links {
    justify-content: stretch;
    overflow: visible;
    padding-bottom: 0;
    gap: .42rem;
  }
  .section-links {
    display: flex;
    flex-direction: column;
  }
  .utility-links {
    display: flex;
    flex-direction: column;
    padding-top: .2rem;
    border-top: 1px solid #e6edf6;
  }
  .section-links a,
  .utility-links a {
    width: 100%;
    text-align: left;
    white-space: normal;
    padding: .52rem .6rem;
    font-size: .88rem;
    line-height: 1.2;
    border-radius: 10px;
    border: 1px solid #d6e2ef;
    background: #f8fbff;
    color: #1f4f78;
    font-weight: 700;
  }
  .section-links a:before {
    content: "•";
    color: #2d77b0;
    margin-right: .45rem;
  }
  .utility-links a:before {
    content: "↗";
    color: #2d77b0;
    margin-right: .45rem;
  }
  .utility-links i { display: none; }

  .section { padding: 56px 0; }
  #opiniones-clientes .section-head h2 {
    font-size: clamp(1.7rem, 6.4vw, 1.95rem);
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-wrap: balance;
    line-height: 1.1;
  }
  #opiniones-clientes .section-head {
    margin-bottom: 1.1rem;
  }
  #opiniones-clientes .container.narrow {
    width: min(100%, calc(100% - 1.25rem));
  }
  .hero-cta-row { display: grid; grid-template-columns: 1fr; }
  .hero-cta-row .btn-soft { display: none; }
  .btn { width: 100%; }
  .hero { padding-top: 42px; }
  h1 { font-size: clamp(1.95rem, 8.2vw, 2.5rem); line-height: 1.1; }
  .hero-sub { font-size: 1.02rem; line-height: 1.45; margin-top: .8rem; }
  .hero-ribbon { display: none; }
  .hero-mini-cards { display: none; }
  .hero-media img { min-height: 290px; }
  .hero-media-overlay { padding: .85rem .85rem .95rem; }
  .hero-media-pill { font-size: .82rem; padding: .32rem .72rem; }
  .hero-media-overlay h3 { font-size: 1.68rem; }
  .hero-media-line { width: 74px; height: 3px; }
  .hero-media-overlay p { font-size: .95rem; line-height: 1.32; }
  .offer-content h3 { font-size: 1.65rem; }
  .info-media { aspect-ratio: 4 / 5; }
  .info-media--app img { object-position: center 38%; }
  .info-media-overlay-top {
    top: 12px;
    left: 12px;
    right: 12px;
    font-size: .74rem;
    padding: .24rem .42rem .26rem;
    max-width: 95%;
  }
  .info-media-overlay-top::after { width: 72%; max-width: 140px; margin-top: .36rem; }
  .info-media-logo { width: 104px; height: 38px; bottom: 8px; }
  .info-media-logo img { width: 66px; }
  .info-card .info-media-logo { width: 104px; height: 38px; bottom: 8px; padding: 0; }
  .info-app-badges img { width: 132px; }
  .offer-highlight { align-items: flex-start; flex-direction: column; }
  .hl-value { font-size: 1.55rem; }
  .offers-extra p { font-size: 1rem; }
  .review-card {
    flex-basis: 100%;
    padding: 1.15rem 1rem 1rem;
    border-radius: 16px;
  }
  .review-card::before {
    top: .45rem;
    left: .7rem;
    font-size: 2.5rem;
  }
  .review-card p {
    margin-bottom: .9rem;
    font-size: 1.02rem;
    line-height: 1.6;
  }
  .review-card strong {
    display: block;
    margin-bottom: .15rem;
  }
  .review-meta {
    margin-top: 0;
    font-size: .92rem;
  }
  .consent-inline { gap: .9rem; }
  .local-footprint { padding-top: 24px; }
  .local-footprint-card { padding: .85rem; }
  .local-cities { gap: .4rem; }
  .local-cities span { font-size: .84rem; }
  .tariff-split-card { padding: .75rem; border-radius: 18px; }
  .tariff-split-media { min-height: 260px; border-radius: 14px; }
  .tariff-split-panel { border-radius: 14px; padding: .9rem; }
  .tariff-overlay h3 { font-size: 1.9rem; }
  .tariff-topline { flex-direction: column; }
  .kpi-badge { min-width: 0; width: 100%; }
  .kpi-price { font-size: 2.1rem; }
  .kpi-price small { font-size: 1.2rem; }

  .form-grid.two { grid-template-columns: 1fr; }
  .container, .narrow { width: min(100%, calc(100% - 1rem)); }
  body { padding-bottom: 20px; }
  body.menu-open .float-btn { display: none; }
  .float-btn {
    width: 46px;
    height: 46px;
    right: 10px;
    border-radius: 12px;
    font-size: 1.1rem;
    box-shadow: 0 8px 18px rgba(0,0,0,.22);
  }
  .float-btn.wa {
    display: grid;
    bottom: 10px;
    right: 10px;
  }

  .cookie-banner {
    left: .5rem;
    right: .5rem;
    transform: none;
    width: auto;
    bottom: 10px;
    border-radius: 12px;
    padding: .7rem;
    flex-direction: column;
    align-items: stretch;
    gap: .6rem;
  }

  .cookie-banner p {
    font-size: .84rem;
    line-height: 1.35;
  }

  .cookie-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .45rem;
  }

  .cookie-actions .btn {
    width: 100%;
    min-height: 38px;
    font-size: .88rem;
    padding: 0 .65rem;
  }

  body.cookie-visible { padding-bottom: 158px; }
}
