/* ==========================================================================
   Puntos de Recarga Andalucía — hoja de estilos única
   Marca: azul #02427F · verde #27702C (muestreados del logo)
   Sin frameworks. Sin compilación. Editable a mano.
   ========================================================================== */

/* --- 1. Tokens ----------------------------------------------------------
   El azul y el verde salen del logo. A partir de ahí la paleta se abre
   hacia el turquesa y la lima: siguen siendo "energía eléctrica", pero
   con bastante más luz que el azul marino cerrado de antes.
   ----------------------------------------------------------------------- */
:root {
  /* Marca */
  --navy:        #02427F;
  --navy-deep:   #012F5C;
  --navy-ink:    #041A33;
  --navy-lift:   #1B5EA0;
  --green:       #1E7A3C;
  --green-mid:   #22A24F;
  --green-bright:#3FD07A;

  /* Paleta viva. El verde eléctrico es ahora el color de acción:
     manda él, no el azul. El azul se queda para el texto y la estructura. */
  --volt:        #12C95B;
  --volt-dark:   #0BA349;
  --volt-soft:   #E6FAEE;
  --lime:        #C8F94F;
  --teal:        #0FA3A3;
  --teal-soft:   #E8F8F6;
  --amber:       #B0730F;
  --amber-soft:  #FDF2DC;
  --coral:       #E0483F;
  --coral-soft:  #FDECEA;

  /* El degradado queda sólo como toque suave de fondo. Nada de bloques
     enteros de color degradado: eso era lo que envejecía la página. */
  --grad:        linear-gradient(135deg, #0B8A9E 0%, #12C95B 100%);
  --grad-suave:  linear-gradient(160deg, #FFFFFF 0%, #F0FAF4 55%, #E9F7F6 100%);

  /* Neutros: fríos y limpios, no el papel crema de antes */
  --paper:       #F4F7FA;
  --paper-deep:  #E8EEF4;
  --surface:     #FFFFFF;
  --ink:         #0C1723;
  --ink-soft:    #48586B;
  --ink-faint:   #7C8B9C;
  --rule:        #DCE4EC;
  --rule-soft:   #EBF0F5;
  --rule-dark:   rgba(255,255,255,.18);

  /* Tipografía */
  --display: "Chivo", "Helvetica Neue", Arial, sans-serif;
  --body:    "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono:    "Chivo Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Medidas */
  --gutter: 24px;
  --max:    1200px;
  --measure: 68ch;
  --radius: 16px;
  --radius-s: 10px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { max-width: 100%; height: auto; display: block; }

/* --- 2. Tipografía ------------------------------------------------------ */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 900;
  letter-spacing: -.025em;
  line-height: 1.08;
  text-wrap: balance;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.1rem, 5.2vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 700; letter-spacing: -.015em; }
h4 { font-size: 1.02rem; font-weight: 700; letter-spacing: -.005em; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy-lift); }

strong, b { font-weight: 600; }

.lede {
  font-size: clamp(1.1rem, 2vw, 1.28rem);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 58ch;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green);
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  background: currentColor;
  flex: none;
}
.on-dark .eyebrow { color: var(--green-bright); }
.on-dark .eyebrow::before { background: var(--green-bright); }

.num { font-family: var(--mono); font-variant-numeric: tabular-nums; }

/* Accesibilidad del foco: visible siempre, en ambos fondos */
:where(a, button, input, textarea, select, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--green-mid);
  outline-offset: 2px;
  border-radius: 2px;
}
.on-dark :where(a, button, summary):focus-visible { outline-color: var(--green-bright); }

.skip {
  position: absolute; left: -9999px;
  background: var(--navy); color: #fff;
  padding: 12px 20px; z-index: 200; font-weight: 600;
}
.skip:focus { left: 12px; top: 12px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --- 3. Rejilla --------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.wrap-narrow { max-width: 780px; }

section { padding: clamp(56px, 8vw, 96px) 0; }
section.tight { padding: clamp(40px, 5vw, 60px) 0; }

.band-paper   { background: var(--paper); }
.band-white   { background: var(--surface); }
.band-deep    { background: var(--paper-deep); }
.band-mint    { background: var(--teal-soft); }
.band-grad    { background: var(--navy-ink); color: #DCE8F2; }
.band-grad h1, .band-grad h2, .band-grad h3 { color: #fff; }
.band-grad p  { color: rgba(255,255,255,.88); }
.band-navy    { background: var(--navy-ink); color: #E8EEF5; }
.band-navy h1, .band-navy h2, .band-navy h3, .band-navy h4 { color: #FFFFFF; }
.band-navy a { color: var(--green-bright); }
.band-navy p { color: #BFCFDF; }

.grid { display: grid; gap: 24px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .g-3, .g-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .g-2, .g-3, .g-4 { grid-template-columns: 1fr; } }

.split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* --- 4. La "línea de corriente" ----------------------------------------
   Motivo gráfico del sitio: un conductor con nodos. Se usa como separador
   de sección y para unir los pasos del proceso. Viene del esquema
   eléctrico, no es un adorno genérico.
   --------------------------------------------------------------------- */
.current {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 0 0 28px;
}
.current::before {
  content: "";
  width: 9px; height: 9px;
  background: var(--green);
  flex: none;
}
.current::after {
  content: "";
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, var(--green) 0%, var(--rule) 22%, var(--rule) 100%);
}
.on-dark .current::before { background: var(--green-bright); }
.on-dark .current::after {
  background: linear-gradient(90deg, var(--green-bright) 0%, var(--rule-dark) 22%, var(--rule-dark) 100%);
}

/* --- 5. Botones --------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 15.5px;
  letter-spacing: -.01em;
  padding: 15px 28px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
  line-height: 1.2;
  text-align: center;
}
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }

.btn-primary { background: var(--volt); color: #05240F; border-color: var(--volt); }
.btn-primary:hover { background: var(--volt-dark); border-color: var(--volt-dark); color: #fff; }

.btn-green { background: var(--volt); color: #05240F; border-color: var(--volt); }
.btn-green:hover { background: var(--volt-dark); border-color: var(--volt-dark); color: #fff; }

.btn-dark { background: var(--navy-ink); color: #fff; border-color: var(--navy-ink); }
.btn-dark:hover { background: var(--navy); border-color: var(--navy); color: #fff; }

.btn-ghost { background: transparent; color: var(--navy); border-color: var(--rule); }
.btn-ghost:hover { border-color: var(--navy); background: var(--surface); color: var(--navy); }

.on-dark .btn-ghost, .band-navy .btn-ghost {
  color: #fff; border-color: rgba(255,255,255,.35);
}
.on-dark .btn-ghost:hover, .band-navy .btn-ghost:hover {
  background: rgba(255,255,255,.09); border-color: #fff; color: #fff;
}

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* --- 6. Cabecera y navegación ------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247,246,242,.94);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--rule);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 68px;
}
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; flex: none; }
/* El recorte del logo trae un fondo casi blanco. Redondearlo al 50 % deja
   sólo el anillo azul, así la marca funciona igual sobre papel que sobre
   el azul oscuro del pie. */
.brand img { width: 40px; height: 40px; border-radius: 50%; }
.brand-name {
  font-family: var(--display);
  font-weight: 900;
  font-size: 15px;
  line-height: 1.08;
  letter-spacing: -.02em;
  color: var(--navy);
}
.brand-name span { display: block; color: var(--green); font-size: 12.5px; letter-spacing: .02em; }

.nav { margin-left: auto; }
.nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0; padding: 0;
}
.nav a {
  display: block;
  padding: 9px 12px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  border-radius: var(--radius);
}
.nav a:hover { background: var(--paper-deep); color: var(--navy); }
.nav a[aria-current="page"] { color: var(--navy); font-weight: 600; box-shadow: inset 0 -2px 0 var(--green); }

.header-cta { display: flex; align-items: center; gap: 10px; flex: none; }
.header-phone {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  white-space: nowrap;
}
.header-phone:hover { text-decoration: underline; }

.nav-toggle {
  display: none;
  margin-left: auto;
  background: transparent;
  border: 1.5px solid var(--rule);
  border-radius: var(--radius);
  padding: 9px 12px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 14px;
  color: var(--navy);
  cursor: pointer;
}

@media (max-width: 1040px) {
  .nav-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--rule);
    box-shadow: 0 18px 34px -22px rgba(1,30,60,.4);
    padding: 10px var(--gutter) 20px;
  }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav a { padding: 13px 6px; border-bottom: 1px solid var(--rule-soft); border-radius: 0; }
  .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--green); padding-left: 14px; }
  .header-cta .header-phone { display: none; }
}
@media (max-width: 560px) {
  .header-cta .btn { display: none; }
  .brand-name { font-size: 13.5px; }
  .brand-name span { font-size: 11.5px; }
}

/* --- 7. Hero ------------------------------------------------------------
   Fondo claro. El color fuerte va contenido en el panel de la derecha,
   no aplastando toda la pantalla.
   ----------------------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--surface);
  color: var(--ink);
  overflow: hidden;
  padding: clamp(44px, 6vw, 76px) 0 clamp(48px, 7vw, 84px);
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--grad-suave);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 2; }

.hero-cols {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
@media (max-width: 920px) { .hero-cols { grid-template-columns: 1fr; } }

.hero-inner { max-width: 520px; position: relative; z-index: 2; }
@media (max-width: 920px) { .hero-inner { max-width: 640px; } }
.hero h1 {
  font-size: clamp(2.3rem, 5.4vw, 3.7rem);
  letter-spacing: -.035em;
  margin-bottom: 18px;
}
/* La palabra que importa, en el gradiente de marca */
.hero h1 em {
  font-style: normal;
  position: relative;
  white-space: nowrap;
}
.hero h1 em::after {
  content: "";
  position: absolute; left: -.06em; right: -.06em; bottom: .04em;
  height: .32em;
  background: var(--lime);
  z-index: -1;
  border-radius: 3px;
}
.hero .lede { color: var(--ink-soft); max-width: 52ch; }

.hero-marks {
  display: flex; flex-wrap: wrap; gap: 9px 22px;
  margin-top: 28px; padding-top: 22px;
  border-top: 1px solid var(--rule);
}
.hero-mark {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; color: var(--ink-soft); font-weight: 500;
}
.hero-mark svg { width: 16px; height: 16px; color: var(--green-mid); flex: none; }

/* Panel de color con la ilustración y las marcas principales */
.hero-foto {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}
.hero-foto img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}
/* Entre 920 y 1280 el hero es mas alto que ancho en proporcion y el recorte
   se comeria a las personas: encuadramos un poco mas a la derecha. */
@media (max-width: 1280px) {
  .hero-foto img { object-position: 28% center; }
}
.hero-foto::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(95deg,
    #FFFFFF 0%,
    rgba(255,255,255,.92) 26%,
    rgba(255,255,255,.50) 37%,
    rgba(255,255,255,0) 47%);
}
@media (max-width: 920px) {
  /* En móvil el orden natural es leer primero y ver la foto después. */
  .hero { display: flex; flex-direction: column; padding-bottom: 0; }
  .hero .wrap { order: 1; }
  .hero-foto {
    order: 2;
    position: relative; inset: auto;
    margin: 30px 0 0;
    height: 290px;
    /* La foto emerge del blanco en vez de empezar con un corte seco. */
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 18%);
    mask-image: linear-gradient(to bottom, transparent 0%, #000 18%);
  }
  .hero-foto img { position: static; width: 100%; max-width: 100%; object-position: 90% center; }
  .hero-foto::after {
    background: linear-gradient(to bottom, rgba(255,255,255,0) 58%, var(--volt-soft) 100%);
  }
}

.tira-panoramica {
  position: relative;
  background: var(--surface);
  line-height: 0;
}
.tira-panoramica img {
  width: 100%;
  height: clamp(230px, 34vw, 430px);
  object-fit: cover;
  object-position: center 42%;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 16%, #000 84%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0%, #000 16%, #000 84%, transparent 100%);
}
@media (max-width: 680px) {
  .tira-panoramica img { object-position: 72% 42%; }
}

.foto-fundida { margin: 0; position: relative; }
.foto-fundida img {
  width: 100%; height: auto; display: block;
  border-radius: var(--radius);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 13%, #000 87%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0%, #000 13%, #000 87%, transparent 100%);
}
.foto-fundida figcaption {
  font-size: 13px; color: var(--ink-faint); margin-top: 10px; line-height: 1.5;
}

.banda-foto {
  position: relative;
  overflow: hidden;
  background: var(--navy-ink);
}
.banda-foto > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .36;
}
.banda-foto::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(4,26,51,.95) 0%, rgba(4,26,51,.7) 48%, rgba(4,26,51,.25) 100%);
}
.banda-foto .wrap { position: relative; z-index: 2; }

/* Insignias de marca certificada, sobre el panel de color */
.insignias { display: flex; flex-wrap: wrap; gap: 10px; }
.insignia {
  flex: 1 1 130px;
  display: flex; align-items: center; justify-content: center;
  gap: 10px;
  background: rgba(255,255,255,.96);
  border-radius: 8px;
  padding: 12px 14px;
  min-height: 56px;
}
.insignia img { width: auto; max-height: 24px; flex: none; }
.insignia b {
  font-family: var(--mono); font-size: 9.5px; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase;
  color: var(--green); line-height: 1.25;
}

/* --- 7b. Cabecera de páginas internas ---------------------------------- */
.page-head {
  background: var(--grad-suave);
  color: var(--ink);
  padding: 10px 0 clamp(44px, 6vw, 64px);
  border-bottom: 1px solid var(--rule-soft);
}
.page-head h1 { color: var(--ink); margin-top: 16px; }
.page-head .lede { color: var(--ink-soft); }
.page-head .crumbs { color: var(--ink-faint); padding-top: 18px; }
.page-head .crumbs a { color: var(--ink-soft); }
.page-head .crumbs a:hover { color: var(--navy); }
.page-head .eyebrow { color: var(--volt-dark); }

/* --- 8. Tarjetas -------------------------------------------------------- */
.card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 26px 26px 28px;
  display: flex;
  flex-direction: column;
}
.card-link { text-decoration: none; color: inherit; transition: border-color .15s ease; }
.card-link:hover { border-color: var(--navy); color: inherit; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: .97rem; }
.card .more {
  margin-top: auto; padding-top: 18px;
  font-family: var(--display); font-weight: 700; font-size: 14px;
  color: var(--navy); display: flex; align-items: center; gap: 7px;
}
.card-link:hover .more { color: var(--navy-lift); }
.card .more::after { content: "→"; font-size: 15px; }

/* Ilustración a sangre en la cabecera de la tarjeta */
.card-img {
  width: calc(100% + 52px);
  margin: -26px -26px 18px;
  max-width: none;
  background: #F4F7FA;
  border-bottom: 1px solid var(--rule);
}

.card-icon {
  width: 40px; height: 40px;
  margin-bottom: 16px;
  color: var(--navy);
}
.card-icon svg { width: 100%; height: 100%; }

/* --- 9. Cifras ---------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--rule);
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
}
.stats > div { padding: 24px 22px; border-right: 1px solid var(--rule); }
.stats > div:last-child { border-right: none; }
.stat-v {
  font-family: var(--display); font-weight: 900;
  font-size: clamp(1.7rem, 3.4vw, 2.3rem);
  letter-spacing: -.03em; color: var(--navy); line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat-k {
  font-size: 13.5px; color: var(--ink-soft); margin-top: 9px; line-height: 1.4;
}
@media (max-width: 820px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats > div:nth-child(2n) { border-right: none; }
  .stats > div:nth-child(-n+2) { border-bottom: 1px solid var(--rule); }
}

/* --- 10. Proceso en pasos ---------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 12px; }
.step { position: relative; padding: 0 26px 0 0; }
.step + .step { padding-left: 26px; }
.step-n {
  font-family: var(--mono); font-weight: 700; font-size: 13px;
  letter-spacing: .1em; color: var(--green); margin-bottom: 16px;
}
/* conductor que une los pasos */
.step-rail { display: flex; align-items: center; margin-bottom: 18px; }
.step-rail i { width: 11px; height: 11px; background: var(--green); flex: none; font-style: normal; }
.step-rail s { flex: 1; height: 1px; background: var(--rule); text-decoration: none; }
.step:last-child .step-rail s { background: linear-gradient(90deg, var(--rule), transparent); }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: .96rem; }
@media (max-width: 780px) {
  .steps { grid-template-columns: 1fr; gap: 30px; }
  .step, .step + .step { padding: 0; }
}

/* --- 11. Bloque de precio ---------------------------------------------- */
.price-card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--navy);
  border-radius: var(--radius);
  padding: 30px 30px 32px;
}
.price-tag {
  display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
  margin-bottom: 6px;
}
.price-from { font-size: 14px; color: var(--ink-soft); font-weight: 600; }
.price-v {
  font-family: var(--display); font-weight: 900;
  font-size: clamp(2.6rem, 6vw, 3.6rem); letter-spacing: -.04em;
  color: var(--navy); line-height: 1;
}
.price-note { font-size: 13.5px; color: var(--ink-faint); margin-top: 12px; }

.includes { list-style: none; margin: 22px 0 0; padding: 0; }
.includes li {
  position: relative; padding-left: 28px; margin-bottom: 11px;
  font-size: .97rem; color: var(--ink-soft);
}
.includes li::before {
  content: ""; position: absolute; left: 0; top: .42em;
  width: 14px; height: 8px;
  border-left: 2px solid var(--green); border-bottom: 2px solid var(--green);
  transform: rotate(-45deg);
}
.includes li b { color: var(--ink); font-weight: 600; }

/* --- 12. Aviso MOVES (dinero) ------------------------------------------ */
.money {
  background: var(--amber-soft);
  border: 1px solid #E9D3A8;
  border-left: 3px solid var(--amber);
  border-radius: var(--radius);
  padding: 22px 24px;
}
.money h3 { color: #7A4A05; margin-bottom: 8px; }
.money p { color: #6B4A17; font-size: .97rem; }
.money p:last-child { margin-bottom: 0; }

/* --- 13. Reseñas -------------------------------------------------------- */
.quote {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 24px 26px;
  display: flex; flex-direction: column;
}
.stars { color: #E0A008; font-size: 15px; letter-spacing: 2px; margin-bottom: 12px; }
.quote p { font-size: .99rem; color: var(--ink); }
.quote footer {
  margin-top: auto; padding-top: 16px;
  font-size: 13.5px; color: var(--ink-faint);
  font-family: var(--display); font-weight: 700;
}

/* --- 14. Acordeón FAQ --------------------------------------------------- */
.faq { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  cursor: pointer; list-style: none;
  padding: 20px 44px 20px 0;
  position: relative;
  font-family: var(--display); font-weight: 700;
  font-size: 1.04rem; letter-spacing: -.012em;
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%;
  width: 11px; height: 11px;
  border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .18s ease;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }
.faq summary:hover { color: var(--navy); }
.faq .answer { padding: 0 40px 22px 0; color: var(--ink-soft); max-width: var(--measure); }

/* --- 15. Formulario ----------------------------------------------------- */
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label {
  font-family: var(--display); font-weight: 700;
  font-size: 13.5px; color: var(--ink);
}
.field .hint { font-size: 12.5px; color: var(--ink-faint); font-weight: 400; }
.field input, .field select, .field textarea {
  font-family: var(--body); font-size: 16px;
  padding: 12px 14px;
  border: 1.5px solid var(--rule);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--navy); outline-offset: 1px;
}
.field textarea { min-height: 110px; resize: vertical; }
/* align-items:start evita que un campo con texto de ayuda estire al de al
   lado hasta descuadrar los dos recuadros. */
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

.consent { display: flex; gap: 11px; align-items: flex-start; font-size: 13.5px; color: var(--ink-soft); }
.consent input { width: 18px; height: 18px; margin-top: 2px; flex: none; }

/* honeypot antispam: oculto para personas, visible para bots */
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* --- 15b. Presupuesto: elección de vía --------------------------------- */
.vias { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 760px) { .vias { grid-template-columns: 1fr; } }

.via {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--rule);
  border-radius: var(--radius);
  padding: 28px 28px 30px;
  display: flex; flex-direction: column;
}
.via.destacada { border-top-color: var(--green); }
.via-icon { width: 44px; height: 44px; color: var(--navy); margin-bottom: 16px; }
.via h3 { margin-bottom: 8px; }
.via p { color: var(--ink-soft); font-size: .97rem; }
.via .tiempo {
  font-family: var(--mono); font-size: 11.5px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--green);
  margin-bottom: 10px;
}
.via .btn-row { margin-top: auto; padding-top: 20px; }

/* --- 15c. Formulario por pasos ----------------------------------------- */
.pasos-barra {
  display: flex; gap: 0; margin-bottom: 30px;
  border: 1px solid var(--rule); border-radius: var(--radius);
  overflow: hidden; background: var(--surface);
}
.pasos-barra li {
  flex: 1; list-style: none;
  padding: 12px 10px;
  font-family: var(--display); font-weight: 700; font-size: 12.5px;
  color: var(--ink-faint); text-align: center;
  border-right: 1px solid var(--rule);
  display: flex; align-items: center; justify-content: center; gap: 7px;
}
.pasos-barra li:last-child { border-right: none; }
.pasos-barra li b {
  font-family: var(--mono); font-size: 11px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--paper-deep); color: var(--ink-faint);
  display: inline-flex; align-items: center; justify-content: center; flex: none;
}
.pasos-barra li[aria-current="step"] { color: var(--navy); background: var(--paper); }
.pasos-barra li[aria-current="step"] b { background: var(--navy); color: #fff; }
.pasos-barra li.hecho b { background: var(--green); color: #fff; }
.pasos-barra li.hecho { color: var(--ink-soft); }
@media (max-width: 700px) {
  .pasos-barra li span { display: none; }
  .pasos-barra li { padding: 11px 4px; }
}

.paso { display: none; }
.paso[data-activo] { display: block; animation: aparece .2s ease; }
@keyframes aparece { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .paso[data-activo] { animation: none; } }

.paso > h3 { margin-bottom: 4px; }
.paso > .sub { color: var(--ink-soft); font-size: .95rem; margin-bottom: 22px; }

.nav-pasos {
  display: flex; gap: 12px; justify-content: space-between;
  margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--rule);
}

/* Opciones tipo tarjeta seleccionable */
.opciones { display: grid; gap: 10px; }
.opciones.dos { grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .opciones.dos { grid-template-columns: 1fr; } }
.opcion {
  position: relative;
  display: flex; align-items: flex-start; gap: 12px;
  padding: 15px 17px;
  border: 1.5px solid var(--rule); border-radius: var(--radius);
  background: var(--surface); cursor: pointer;
}
.opcion:hover { border-color: var(--navy-lift); }
.opcion input { margin: 3px 0 0; width: 18px; height: 18px; flex: none; accent-color: var(--navy); }
.opcion strong { display: block; font-family: var(--display); font-size: 15px; font-weight: 700; }
.opcion small { display: block; color: var(--ink-soft); font-size: 13px; margin-top: 3px; line-height: 1.45; }
.opcion:has(input:checked) { border-color: var(--navy); background: #F4F8FC; }
.opcion:has(input:focus-visible) { outline: 3px solid var(--green-mid); outline-offset: 2px; }

/* Subida de fotos */
.subida {
  border: 2px dashed var(--rule); border-radius: var(--radius);
  padding: 26px 22px; text-align: center; background: var(--paper);
}
.subida svg { width: 34px; height: 34px; color: var(--navy); margin-bottom: 10px; }
.subida input[type=file] { display: block; margin: 14px auto 0; font-size: 14px; max-width: 100%; }
.subida p { font-size: .93rem; color: var(--ink-soft); margin: 0; }

/* --- 15d. Marcas de cargadores ----------------------------------------
   Los logos vienen de cada fabricante y no comparten ni color ni
   proporción. Se encajan en una caja de altura fija para que la tira
   quede alineada; el de Woltio es blanco, así que lleva fondo oscuro.
   --------------------------------------------------------------------- */
.tira-marcas {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 18px;
}
.tira-marcas li {
  flex: 1 1 150px;
  height: 84px;
  display: flex; align-items: center; justify-content: center;
  padding: 14px 20px;
  background: var(--surface);
  border: 1px solid var(--rule-soft);
  border-radius: var(--radius);
}
.tira-marcas img { max-height: 40px; width: auto; }
.tira-marcas li.fondo-oscuro { background: var(--navy-ink); border-color: var(--navy-ink); }

.marca-texto {
  font-family: var(--display); font-weight: 900;
  font-size: 22px; letter-spacing: .26em;
  color: var(--ink); padding-left: .26em;
}
.fondo-oscuro .marca-texto { color: #fff; }

.marca .marca-logo {
  height: 76px;
  display: flex; align-items: center; justify-content: flex-start;
  margin: -6px 0 18px;
}
.marca .marca-logo.fondo-oscuro {
  background: var(--navy-ink);
  border-radius: var(--radius);
  padding: 0 16px;
  align-self: flex-start;
}
.marca .marca-logo img { max-height: 42px; width: auto; }

.sello {
  display: inline-flex; align-items: center; gap: 7px;
  align-self: flex-start;
  font-family: var(--mono); font-size: 10px; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase;
  white-space: nowrap;
  color: var(--green);
  background: #DCEDE5;
  border: 1px solid #BEDDCC;
  padding: 5px 9px; border-radius: 2px;
  margin: 0 0 12px;
}
.sello::before {
  content: ""; width: 12px; height: 7px; flex: none;
  border-left: 2px solid var(--green); border-bottom: 2px solid var(--green);
  transform: rotate(-45deg) translateY(-2px);
}

ul.ficha {
  list-style: none; margin: auto 0 0; padding: 16px 0 0;
  border-top: 1px solid var(--rule-soft);
  font-size: .88rem; color: var(--ink-soft);
}
ul.ficha li { display: flex; gap: 10px; margin-bottom: 7px; line-height: 1.45; }
ul.ficha li:last-child { margin-bottom: 0; }
ul.ficha span {
  font-family: var(--mono); font-size: 10px; font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase; color: var(--ink-faint);
  flex: 0 0 74px; padding-top: 2px;
}

/* --- 15g. Tabla de precios por escenario ------------------------------- */
.precios { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1000px) { .precios { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .precios { grid-template-columns: 1fr; } }

.tarifa {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 24px 22px 26px;
  display: flex; flex-direction: column;
}
.tarifa.destacada {
  border: 2px solid var(--volt);
  box-shadow: 0 18px 36px -24px rgba(18,201,91,.5);
}
.tarifa .etiqueta {
  font-family: var(--mono); font-size: 10px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-faint); margin-bottom: 14px;
}
.tarifa.destacada .etiqueta { color: var(--volt-dark); }
.tarifa h3 { font-size: 1.06rem; margin-bottom: 12px; min-height: 2.3em; }
.tarifa .cifra {
  font-family: var(--display); font-weight: 900;
  font-size: clamp(1.9rem, 3.4vw, 2.4rem);
  letter-spacing: -.035em; color: var(--ink); line-height: 1;
  font-variant-numeric: tabular-nums;
}
.tarifa .desde {
  display: block; font-family: var(--body); font-weight: 600;
  font-size: 12px; letter-spacing: 0; color: var(--ink-faint);
  text-transform: uppercase; margin-bottom: 6px;
}
.tarifa .iva { font-size: 12.5px; color: var(--ink-faint); margin-top: 8px; }
.tarifa ul {
  list-style: none; margin: 18px 0 0; padding: 16px 0 0;
  border-top: 1px solid var(--rule-soft);
  font-size: .92rem; color: var(--ink-soft);
}
.tarifa li { position: relative; padding-left: 22px; margin-bottom: 8px; line-height: 1.45; }
.tarifa li::before {
  content: ""; position: absolute; left: 0; top: .42em;
  width: 12px; height: 7px;
  border-left: 2px solid var(--volt-dark); border-bottom: 2px solid var(--volt-dark);
  transform: rotate(-45deg);
}
.tarifa li.no { color: var(--ink-faint); }
.tarifa li.no::before {
  border: 0; left: 3px; top: .55em;
  width: 9px; height: 2px; background: var(--rule);
  transform: none;
}
.tarifa .btn-row { margin-top: auto; padding-top: 20px; }

/* --- 15f. Franja de marcas principales ---------------------------------
   Va justo debajo del hero, a lo ancho. Es lo primero que ve quien llega
   buscando "instalador V2C" o "instalador Wallbox", que según el cliente
   es por lo que más llaman.
   --------------------------------------------------------------------- */
.franja-marcas { background: var(--volt-soft); border-block: 1px solid #C9EED9; }
.franja-marcas .wrap { padding-block: clamp(30px, 4vw, 44px); }

.franja-marcas .titulin {
  font-family: var(--mono); font-size: 12px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--volt-dark); text-align: center; margin: 0 0 22px;
}

.marcas-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 680px) { .marcas-duo { grid-template-columns: 1fr; } }

.marca-grande {
  display: flex; align-items: center; gap: 20px;
  background: var(--surface);
  border: 2px solid var(--volt);
  border-radius: 20px;
  padding: 22px 26px;
  text-decoration: none;
  color: inherit;
  transition: transform .15s ease, box-shadow .15s ease;
}
.marca-grande:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 32px -20px rgba(18,201,91,.55);
  color: inherit;
}
@media (prefers-reduced-motion: reduce) { .marca-grande { transition: none; } }

.marca-grande .logo {
  flex: 0 0 auto;
  width: 96px; height: 56px;
  display: flex; align-items: center; justify-content: center;
}
.marca-grande .logo img { max-height: 46px; width: auto; }

.marca-grande .txt strong {
  display: block;
  font-family: var(--display); font-weight: 900;
  font-size: 1.22rem; letter-spacing: -.02em; color: var(--ink);
  line-height: 1.12;
}
.marca-grande .txt span {
  display: block; margin-top: 5px;
  font-size: 13.5px; color: var(--ink-soft); line-height: 1.4;
}
.marca-grande .txt b {
  display: inline-block; margin-top: 10px;
  font-family: var(--mono); font-size: 9.5px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  white-space: nowrap;
  color: #05240F; background: var(--lime);
  padding: 5px 11px; border-radius: 999px;
}

/* --- 15e. Las ocho provincias ------------------------------------------ */
.provincias { display: flex; flex-wrap: wrap; gap: 10px; }
.provincias span {
  flex: 1 1 110px;
  text-align: center;
  padding: 14px 12px;
  border-radius: var(--radius-s);
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  font-family: var(--display); font-weight: 700; font-size: 15px;
  color: #fff;
}
.provincias span.base {
  background: var(--lime);
  border-color: var(--lime);
  color: #1A3105;
}

.band-grad .city-grid a {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.24);
  color: #fff;
}
.band-grad .city-grid a:hover { background: rgba(255,255,255,.2); border-color: #fff; }
.band-grad .current::before { background: var(--lime); }
.band-grad .current::after {
  background: linear-gradient(90deg, var(--lime) 0%, rgba(255,255,255,.28) 22%, rgba(255,255,255,.28) 100%);
}

/* --- 16. Ciudades ------------------------------------------------------- */
.city-grid { display: flex; flex-wrap: wrap; gap: 9px; }
.city-grid a {
  display: inline-block;
  padding: 9px 15px;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
}
.city-grid a:hover { border-color: var(--navy); color: var(--navy); }
.band-navy .city-grid a {
  background: rgba(255,255,255,.06);
  border-color: var(--rule-dark);
  color: #DCE7F2;
}
.band-navy .city-grid a:hover { background: rgba(255,255,255,.13); border-color: #fff; color: #fff; }

/* --- 17. Migas de pan --------------------------------------------------- */
.crumbs {
  font-size: 13px; color: var(--ink-faint);
  padding: 16px 0 0;
}
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.crumbs li::after { content: "/"; margin-left: 8px; color: var(--rule); }
.crumbs li:last-child::after { display: none; }
.crumbs a { color: var(--ink-soft); text-decoration: none; }
.crumbs a:hover { color: var(--navy); text-decoration: underline; }

/* --- 18. Contenido largo ------------------------------------------------ */
.prose { max-width: var(--measure); }
.prose h2 { margin-top: 1.9em; }
.prose h3 { margin-top: 1.6em; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 1.1em; color: var(--ink-soft); }
.prose li { margin-bottom: .5em; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--rule); }
.prose th { font-family: var(--display); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-faint); }
.table-scroll { overflow-x: auto; margin-bottom: 1.1em; border: 1px solid var(--rule); background: var(--surface); border-radius: var(--radius); }

/* --- 19. Llamada final -------------------------------------------------- */
.cta-band { text-align: center; }
.cta-band.band-navy { background: var(--grad); }
.cta-band.band-navy p { color: rgba(255,255,255,.92); }
/* Sobre la franja verde el botón verde se pierde: aquí manda el blanco. */
.cta-band .btn-green,
.cta-band .btn-primary {
  background: #fff; color: #06301A; border-color: #fff;
}
.cta-band .btn-green:hover,
.cta-band .btn-primary:hover {
  background: var(--navy-ink); border-color: var(--navy-ink); color: #fff;
}
.cta-band .wrap { max-width: 720px; }
.cta-band .btn-row { justify-content: center; }

/* --- 20. Pie ------------------------------------------------------------ */
.site-footer {
  background: var(--navy-ink);
  color: #A9BDD1;
  padding: 56px 0 28px;
  font-size: 14.5px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 34px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--rule-dark);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 26px; } }

.site-footer h4 {
  color: #fff; font-size: 12.5px; letter-spacing: .12em;
  text-transform: uppercase; font-family: var(--mono); font-weight: 700;
  margin-bottom: 14px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: #A9BDD1; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-name span { color: var(--green-bright); }
.footer-legal {
  padding-top: 22px;
  display: flex; flex-wrap: wrap; gap: 8px 22px;
  justify-content: space-between;
  font-size: 13px; color: #7C93AB;
}
.footer-legal ul { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-legal li { margin: 0; }

/* --- 20b. Botón flotante de WhatsApp -----------------------------------
   Sólo en pantallas medianas y grandes: en móvil ya está en la barra
   inferior, y dos botones de lo mismo a la vez sobran.
   El verde es el oficial de WhatsApp, que se reconoce al instante.
   --------------------------------------------------------------------- */
.wa-flotante {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 95;
  display: flex; align-items: center; gap: 0;
  height: 58px;
  padding: 0 15px;
  background: #25D366;
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 10px 26px -8px rgba(37,211,102,.6), 0 2px 8px rgba(0,0,0,.14);
  transition: gap .22s ease, padding .22s ease, box-shadow .22s ease;
  overflow: hidden;
}
.wa-flotante svg { width: 28px; height: 28px; flex: none; }
.wa-flotante span {
  font-family: var(--display); font-weight: 700; font-size: 15px;
  white-space: nowrap;
  max-width: 0; opacity: 0;
  transition: max-width .22s ease, opacity .18s ease;
}
.wa-flotante:hover,
.wa-flotante:focus-visible {
  gap: 10px;
  padding-right: 20px;
  color: #fff;
  box-shadow: 0 14px 30px -8px rgba(37,211,102,.7), 0 2px 10px rgba(0,0,0,.18);
}
.wa-flotante:hover span,
.wa-flotante:focus-visible span { max-width: 190px; opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .wa-flotante, .wa-flotante span { transition: none; }
}
@media (max-width: 720px) { .wa-flotante { display: none; } }

/* --- 21. Botones flotantes móvil --------------------------------------- */
.dock {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  display: none;
  gap: 1px;
  background: var(--rule);
  border-top: 1px solid var(--rule);
}
.dock a {
  flex: 1;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 8px;
  font-family: var(--display); font-weight: 700; font-size: 14.5px;
  text-decoration: none;
  background: var(--surface);
  color: var(--navy);
}
.dock a.wa { background: var(--green); color: #fff; }
.dock svg { width: 17px; height: 17px; }
@media (max-width: 720px) {
  .dock { display: flex; }
  body { padding-bottom: 52px; }
}

/* --- 22. Marcador de contenido pendiente --------------------------------
   Todo lo que lleve .todo es texto que TÚ tienes que rellenar. Se ve en
   amarillo chillón a propósito: así es imposible publicar sin darse cuenta.
   Cuando no quede ninguno, borra esta regla.
   --------------------------------------------------------------------- */
.todo {
  background: #FFE168;
  color: #4A3600;
  padding: 0 .3em;
  border-radius: 2px;
  font-family: var(--mono);
  font-size: .88em;
  font-weight: 700;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* --- 23. Utilidades ----------------------------------------------------- */
.mt-0 { margin-top: 0; }
.mt-l { margin-top: 34px; }
.center { text-align: center; }
.muted { color: var(--ink-soft); }
.small { font-size: 13.5px; }
.nowrap { white-space: nowrap; }
