/* ── Base común de las tres webs de hormigón (cada sitio redefine las variables en sitios/<sitio>.css) ── */
:root {
  --tinta: #111418;
  --tinta-2: #2a2f36;
  --texto: #3b4048;
  --texto-suave: #5d636c;
  --fondo: #ffffff;
  --suave: #f5f3ef;
  --borde: #e3e0da;
  --acento: #d42a1f;
  --acento-texto: #b82218;
  --sobre-acento: #ffffff;
  --wa: #0f7a40;
  --f-tit: system-ui, sans-serif;
  --f-txt: system-ui, sans-serif;
  --peso-tit: 800;
  --tracking-tit: -0.02em;
  --radio: 10px;
  --radio-g: 16px;
  --sombra: 0 1px 2px rgb(0 0 0 / .05), 0 8px 24px rgb(0 0 0 / .07);
  --ancho: 1200px;
  --margen: clamp(16px, 4vw, 32px);
  --alto-cab: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--alto-cab) + 12px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--fondo); color: var(--texto);
  font: 400 1.0625rem/1.65 var(--f-txt);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--acento-texto); text-underline-offset: .18em; }
h1, h2, h3, h4 { font-family: var(--f-tit); font-weight: var(--peso-tit); color: var(--tinta); line-height: 1.12; letter-spacing: var(--tracking-tit); margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.3vw, 2.75rem); }
h3 { font-size: clamp(1.18rem, 1.6vw, 1.35rem); letter-spacing: -.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--acento); outline-offset: 3px; border-radius: 4px; }
.saltar { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--tinta); color: #fff; padding: .6em 1em; border-radius: var(--radio); }
.saltar:focus { left: 8px; }
.envoltura { width: min(100% - 2 * var(--margen), var(--ancho)); margin-inline: auto; }
.ico { display: inline-grid; width: 1.15em; height: 1.15em; flex: none; }
.ico svg { width: 100%; height: 100%; }

/* ── botones ── */
.botones { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 50px; padding: .8em 1.35em; border-radius: var(--radio); border: 2px solid transparent;
  font: 700 1rem/1.1 var(--f-txt); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .ico-flecha { transition: transform .15s ease; }
.btn:hover .ico-flecha { transform: translateX(3px); }
.btn--acento { background: var(--acento); color: var(--sobre-acento); }
.btn--acento:hover { filter: brightness(1.06); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: #0b6434; }
.btn--linea { border-color: currentColor; color: var(--tinta); background: transparent; }
.btn--linea:hover { background: var(--tinta); color: #fff; border-color: var(--tinta); }
.btn--claro { background: #fff; color: var(--tinta); }
.btn--claro:hover { background: #f1f1f1; }
.btn--bloque { width: 100%; }

/* ── cabecera ── */
.cabecera { position: sticky; top: 0; z-index: 50; background: var(--fondo-cab, #fff); border-bottom: 1px solid var(--borde-cab, var(--borde)); }
.cabecera__in { display: flex; align-items: center; gap: 24px; min-height: var(--alto-cab); }
.logo { display: block; flex: none; }
.logo img { height: var(--alto-logo, 52px); width: auto; }
.menu { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.menu > a, .desplegable > summary {
  display: inline-flex; align-items: center; gap: 4px; padding: .55em .8em; border-radius: 8px;
  color: var(--color-menu, var(--tinta)); text-decoration: none; font-weight: 700; font-size: .98rem; cursor: pointer; list-style: none;
}
.desplegable > summary::-webkit-details-marker { display: none; }
.menu > a:hover, .desplegable > summary:hover, .menu > a[aria-current="page"] { color: var(--acento-menu, var(--acento-texto)); }
.desplegable { position: relative; }
.desplegable .ico-abajo { width: 16px; height: 16px; transition: transform .2s; }
.desplegable[open] .ico-abajo { transform: rotate(180deg); }
.desplegable__panel {
  position: absolute; top: calc(100% + 8px); left: 50%; translate: -50% 0; min-width: 250px; z-index: 5;
  background: #fff; border: 1px solid var(--borde); border-radius: var(--radio-g); box-shadow: var(--sombra); padding: 8px;
  display: grid;
}
.desplegable__panel a { display: block; padding: .55em .8em; border-radius: 8px; color: var(--tinta); text-decoration: none; font-weight: 600; font-size: .95rem; }
.desplegable__panel a:hover { background: var(--suave); color: var(--acento-texto); }
.cabecera__acciones { display: flex; gap: 10px; align-items: center; }
.cabecera__tel { font-weight: 800; color: var(--color-menu, var(--tinta)); text-decoration: none; display: inline-flex; gap: .4em; align-items: center; white-space: nowrap; }
.boton-menu { display: none; margin-left: auto; width: 48px; height: 48px; border: 0; border-radius: 10px; background: transparent; color: var(--color-menu, var(--tinta)); cursor: pointer; padding: 10px; }
.boton-menu svg { width: 100%; height: 100%; }

@media (max-width: 1020px) {
  :root { --alto-cab: 68px; }
  .boton-menu { display: block; }
  .cabecera__acciones .btn, .cabecera__tel { display: none; }
  .menu {
    position: fixed; inset: var(--alto-cab) 0 0 0; z-index: 49; margin: 0; padding: 16px var(--margen) 120px;
    background: #fff; flex-direction: column; align-items: stretch; gap: 2px; overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s;
  }
  .menu-abierto .menu { visibility: visible; opacity: 1; transform: none; }
  .menu-abierto { overflow: hidden; }
  .menu > a, .desplegable > summary { font-size: 1.15rem; padding: .8em .4em; border-bottom: 1px solid var(--borde); border-radius: 0; color: var(--tinta); justify-content: space-between; width: 100%; }
  .desplegable__panel { position: static; translate: none; box-shadow: none; border: 0; padding: 0 0 8px 8px; min-width: 0; }
  .menu .menu__movil { display: grid; gap: 10px; margin-top: 18px; }
}
.menu__movil { display: none; }

/* ── portada ── */
.portada { position: relative; isolation: isolate; color: #fff; display: grid; align-items: end; min-height: clamp(560px, 88vh, 860px); padding-block: clamp(110px, 14vw, 160px) clamp(40px, 6vw, 72px); overflow: hidden; }
.portada__foto { position: absolute; inset: 0; z-index: -2; }
.portada__foto img { width: 100%; height: 100%; object-fit: cover; }
.portada::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--velo-portada, linear-gradient(180deg, rgb(0 0 0 / .25), rgb(0 0 0 / .72))); }
.portada h1 { color: #fff; max-width: 15ch; margin-bottom: .35em; }
.portada__texto { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 58ch; color: rgb(255 255 255 / .92); margin-bottom: 1.6em; }
.portada .eyebrow { color: var(--eyebrow-portada, #fff); }

.portadilla { background: var(--fondo-portadilla, var(--tinta)); color: #fff; padding-block: clamp(48px, 7vw, 88px) clamp(40px, 6vw, 72px); position: relative; isolation: isolate; }
.portadilla--foto { background: var(--tinta) var(--foto) center / cover no-repeat; }
.portadilla--foto::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(0 0 0 / .78), rgb(0 0 0 / .45)); }
.portadilla h1 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.4rem); max-width: 22ch; }
.portadilla__sub { font-size: clamp(1.02rem, 1.5vw, 1.2rem); max-width: 60ch; color: rgb(255 255 255 / .88); }
.portadilla .botones { margin-top: 1.4em; }
.portadilla .eyebrow { color: var(--eyebrow-oscuro, #fff); }
.migas ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 18px; font-size: .9rem; color: rgb(255 255 255 / .7); }
.migas li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.migas a { color: rgb(255 255 255 / .85); text-decoration: none; }
.migas a:hover { color: #fff; text-decoration: underline; }

/* ── bandas y cabezas de sección ── */
.banda { padding-block: clamp(56px, 8vw, 104px); }
.banda--suave { background: var(--suave); }
.cabeza { max-width: 780px; margin-bottom: clamp(28px, 4vw, 48px); }
.cabeza--centro { margin-inline: auto; text-align: center; }
.cabeza .intro { font-size: 1.1rem; color: var(--texto-suave); }
.cabeza .intro p:last-child { margin-bottom: 0; }
.eyebrow { font: 800 .8rem/1.2 var(--f-txt); letter-spacing: .16em; text-transform: uppercase; color: var(--acento-texto); margin: 0 0 14px; display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--acento); border-radius: 2px; flex: none; }
.cabeza--centro .eyebrow { justify-content: center; }

/* ── rejillas y tarjetas ── */
.rejilla { display: grid; gap: clamp(16px, 2.4vw, 28px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
@media (min-width: 900px) { .rejilla--3 { grid-template-columns: repeat(3, 1fr); } .rejilla--4 { grid-template-columns: repeat(4, 1fr); } .rejilla--2 { grid-template-columns: repeat(2, 1fr); } }
.tarjeta { background: #fff; border: 1px solid var(--borde); border-radius: var(--radio-g); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.tarjeta:has(a):hover { box-shadow: var(--sombra); transform: translateY(-2px); }
.tarjeta__enlace { color: inherit; text-decoration: none; display: flex; flex-direction: column; height: 100%; }
.tarjeta__foto { aspect-ratio: 4 / 3; overflow: hidden; background: var(--suave); }
.tarjeta__foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.tarjeta:hover .tarjeta__foto img { transform: scale(1.03); }
.tarjeta__cuerpo { padding: clamp(18px, 2vw, 26px); display: flex; flex-direction: column; flex: 1; }
.tarjeta__cuerpo p { color: var(--texto-suave); font-size: 1rem; }
.tarjeta__cuerpo p:last-of-type { margin-bottom: 0; }
.tarjeta__mas { margin-top: auto; padding-top: 14px; font-weight: 800; color: var(--acento-texto); display: inline-flex; align-items: center; gap: .4em; }
.rejilla--blog .tarjeta h3 { font-size: 1.15rem; }

/* ── pasos ── */
.pasos { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(16px, 2.4vw, 28px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.paso { background: #fff; border: 1px solid var(--borde); border-radius: var(--radio-g); padding: clamp(20px, 2.4vw, 30px); position: relative; }
.paso__n { display: block; font: 900 2.6rem/1 var(--f-tit); color: var(--acento); margin-bottom: 14px; letter-spacing: -.03em; }
.paso p { margin: 0; font-size: 1rem; color: var(--texto-suave); }
.banda--suave .paso, .banda--suave .tarjeta { border-color: transparent; }

/* ── listas ── */
.ventajas, .checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.ventajas li, .checklist li { display: flex; gap: 12px; align-items: flex-start; }
.ventajas .ico, .checklist .ico { width: 26px; height: 26px; padding: 4px; border-radius: 50%; background: var(--acento); color: var(--sobre-acento); margin-top: 1px; }
.ventajas strong { color: var(--tinta); display: block; font-size: 1.05rem; }
.ventajas p { margin: .25em 0 0; color: var(--texto-suave); font-size: .98rem; }
.ventajas--rejilla { gap: 24px 32px; }
@media (min-width: 760px) { .ventajas--rejilla { grid-template-columns: repeat(2, 1fr); } }
.checklist { margin-block: 1.2em; }
.checklist li span { font-weight: 600; color: var(--tinta); }

/* ── cifras ── */
.cifras { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 20px; }
.cifra { display: grid; gap: 4px; }
.cifra__n { font: 900 clamp(2.2rem, 4vw, 3.2rem)/1 var(--f-tit); color: var(--acento); letter-spacing: -.03em; }
.cifra__t { font-weight: 600; color: var(--texto-suave); }
.banda--cifras { background: var(--tinta); }
.banda--cifras .cifra__t, .banda--cifras h2 { color: #fff; }
.banda--cifras .cifras { text-align: center; }

/* ── dividido ── */
.dividido { display: grid; gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (min-width: 900px) { .dividido { grid-template-columns: 1.05fr .95fr; } .dividido--invertido > :first-child { order: 2; } }
.dividido__foto img { width: 100%; border-radius: var(--radio-g); aspect-ratio: 4 / 3.4; object-fit: cover; }
.dividido .cabeza { margin-bottom: 20px; }

/* ── prosa ── */
.prosa { max-width: 70ch; }
.prosa--ancha { max-width: 80ch; }
.prosa h2 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); margin-top: 1.6em; }
.prosa h3 { margin-top: 1.4em; }
.prosa ul, .prosa ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prosa li { margin-bottom: .4em; }
.prosa li::marker { color: var(--acento); }
.prosa li > p { margin: 0; }
.prosa strong { color: var(--tinta); }
.prosa table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: .98rem; }
.prosa th, .prosa td { border-bottom: 1px solid var(--borde); padding: .6em .5em; text-align: left; }
.prosa > :first-child { margin-top: 0; }
.prosa--legal { max-width: 80ch; font-size: 1rem; }
.prosa--legal h2 { font-size: 1.35rem; }

/* ── galería ── */
.galeria { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(46%, 220px), 1fr)); }
.galeria__item { display: block; aspect-ratio: 1; overflow: hidden; border-radius: var(--radio); background: var(--suave); }
.galeria__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, filter .3s; }
.galeria__item:hover img { transform: scale(1.04); }
.galeria--mini { grid-template-columns: repeat(2, 1fr); }
.galeria--completa { display: block; columns: 4 240px; column-gap: 10px; }
.galeria--completa .galeria__item { aspect-ratio: auto; margin-bottom: 10px; break-inside: avoid; }
.galeria--completa .galeria__item img { height: auto; }
.galeria__pie { text-align: center; margin: 28px 0 0; }
.dividido--galeria { align-items: start; }

/* ── visor de fotos ── */
.visor { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.visor::backdrop { background: rgb(8 9 11 / .92); }
.visor[open] { display: grid; place-items: center; }
.visor img { max-width: min(94vw, 1400px); max-height: 86vh; width: auto; height: auto; border-radius: 6px; }
.visor button { position: fixed; border: 0; background: rgb(255 255 255 / .12); color: #fff; width: 52px; height: 52px; border-radius: 50%; padding: 13px; cursor: pointer; }
.visor button:hover { background: rgb(255 255 255 / .24); }
.visor button svg { width: 100%; height: 100%; }
.visor__cerrar { top: 16px; right: 16px; }
.visor__ant { left: 16px; top: 50%; translate: 0 -50%; }
.visor__ant svg { transform: rotate(180deg); }
.visor__sig { right: 16px; top: 50%; translate: 0 -50%; }

/* ── formularios ── */
.form { background: #fff; color: var(--texto); border-radius: var(--radio-g); padding: clamp(20px, 3vw, 32px); box-shadow: var(--sombra); display: grid; gap: 16px; }
.form__titulo { font-size: clamp(1.3rem, 2vw, 1.6rem); margin: 0; }
.form__texto { margin: -6px 0 0; color: var(--texto-suave); font-size: .98rem; }
.form__campos { display: grid; gap: 14px; }
@media (min-width: 560px) { .form--presupuesto .form__campos { grid-template-columns: 1fr 1fr; } .campo--ancho { grid-column: 1 / -1; } }
.campo label { display: block; font-weight: 700; font-size: .92rem; color: var(--tinta); margin-bottom: 6px; }
.campo label span { font-weight: 500; color: var(--texto-suave); }
.campo input, .campo select, .campo textarea {
  width: 100%; min-height: 50px; padding: .7em .9em; font: 500 1rem/1.3 var(--f-txt); color: var(--tinta);
  background: #fbfbfa; border: 1.5px solid #cfcbc4; border-radius: var(--radio);
}
.campo textarea { min-height: 96px; resize: vertical; }
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: none; border-color: var(--acento); box-shadow: 0 0 0 3px color-mix(in srgb, var(--acento) 22%, transparent); background: #fff; }
.aviso { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--texto-suave); }
.aviso input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--acento); flex: none; }
.trampa { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__estado { margin: 0; font-weight: 700; min-height: 1.2em; }
.form__estado.ok { color: #0f7a3d; }
.form__estado.error { color: #b3261e; }
.form.enviado .form__campos, .form.enviado .aviso, .form.enviado button { display: none; }

/* ── FAQ ── */
.faqs { display: grid; gap: 10px; max-width: 860px; }
.faq { background: #fff; border: 1px solid var(--borde); border-radius: var(--radio); }
.faq summary { cursor: pointer; padding: 1em 1.2em; font-weight: 800; color: var(--tinta); display: flex; justify-content: space-between; gap: 12px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq[open] .ico-abajo { transform: rotate(180deg); }
.faq .prosa { padding: 0 1.2em 1em; }

/* ── franja de llamada ── */
.cta { background: var(--fondo-cta, var(--acento)); color: var(--color-cta, #fff); padding-block: clamp(40px, 6vw, 64px); }
.cta__in { display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: center; justify-content: space-between; }
.cta h2 { color: inherit; margin: 0 0 .25em; font-size: clamp(1.6rem, 3vw, 2.3rem); max-width: 24ch; }
.cta p { margin: 0; max-width: 56ch; }

/* ── artículo ── */
.articulo__in { max-width: 820px; }
.articulo__fecha { color: var(--texto-suave); font-weight: 600; }
.articulo__foto { margin: 0 0 clamp(24px, 4vw, 40px); }
.articulo__foto img { border-radius: var(--radio-g); width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.aviso-cta { margin-top: 48px; padding: clamp(22px, 3vw, 34px); border-radius: var(--radio-g); background: var(--suave); border-left: 6px solid var(--acento); }
.aviso-cta h2 { font-size: 1.5rem; margin-bottom: .3em; }

/* ── pie ── */
.pie { background: var(--fondo-pie, var(--tinta)); color: rgb(255 255 255 / .78); padding-block: clamp(48px, 7vw, 80px) 28px; font-size: .97rem; }
.pie a { color: #fff; text-decoration: none; }
.pie a:hover { text-decoration: underline; }
.pie__rejilla { display: grid; gap: 36px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
@media (min-width: 900px) { .pie__rejilla { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.pie h2 { color: #fff; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 1em; font-family: var(--f-txt); }
.pie ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pie__logo img { height: var(--alto-logo-pie, 84px); width: auto; margin-bottom: 18px; }
.pie__base { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgb(255 255 255 / .14); display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: .88rem; color: rgb(255 255 255 / .6); }
.pie__tel { font: 800 1.35rem/1.2 var(--f-tit); }

/* ── WhatsApp y barra del móvil ── */
.wa-flotante { position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 60px; height: 60px; border-radius: 50%; background: #25d366; color: #fff; padding: 14px; box-shadow: 0 6px 20px rgb(0 0 0 / .25); transition: transform .2s; }
.wa-flotante:hover { transform: scale(1.06); }
.barra-movil { display: none; }
@media (max-width: 760px) {
  .wa-flotante { display: none; }
  .barra-movil { display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: rgb(255 255 255 / .96); border-top: 1px solid var(--borde); backdrop-filter: blur(6px); }
  .barra-movil .btn { min-height: 48px; padding: .6em .8em; }
  .barra-movil .btn--claro { border: 2px solid var(--tinta); }
  body { padding-bottom: 72px; }
  .portada .botones .btn, .portadilla .botones .btn { flex: 1 1 100%; }
}

/* ── 404 / gracias ── */
.error404 { min-height: 56vh; display: grid; align-items: center; }
.error404 h1 { font-size: clamp(2rem, 5vw, 3.4rem); }

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

/* ── piezas compartidas de portada y bandas ── */
.sellos { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 28px; padding: 0; margin: clamp(28px, 4vw, 44px) 0 0; color: rgb(255 255 255 / .86); font-size: .98rem; }
.sellos li { display: flex; align-items: baseline; gap: .45em; }
.sellos strong { font: 900 1.5rem/1 var(--f-tit); color: #fff; }
.cabeza-fila { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: end; justify-content: space-between; margin-bottom: clamp(28px, 4vw, 44px); }
.cabeza-fila .cabeza { margin-bottom: 0; }
.banda--oscura { background: var(--tinta); color: rgb(255 255 255 / .86); }
.banda--oscura h2, .banda--oscura h3 { color: #fff; }
.banda--oscura .eyebrow { color: var(--eyebrow-oscuro, #fff); }
.banda--oscura .checklist li span { color: #fff; }
.lead { font-size: 1.15rem; }

/* ── aviso de cookies (solo webs con etiqueta de Google) ── */
.aviso-cookies { position: fixed; z-index: 60; left: 16px; right: 16px; bottom: 16px; max-width: 560px; background: #fff; color: var(--texto); border: 1px solid var(--borde); border-radius: var(--radio-g); box-shadow: 0 12px 40px rgb(0 0 0 / .22); padding: 18px 20px; display: grid; gap: 12px; font-size: .95rem; }
.aviso-cookies[hidden] { display: none; }
.aviso-cookies p { margin: 0; }
.aviso-cookies a { color: var(--acento-texto); font-weight: 700; }
.aviso-cookies__botones { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.aviso-cookies .btn { min-height: 44px; padding-inline: 1.2em; }
@media (max-width: 760px) { .aviso-cookies { bottom: 80px; left: 10px; right: 10px; padding: 12px 14px; gap: 8px; font-size: .86rem; line-height: 1.45; } .aviso-cookies .btn { min-height: 40px; padding: .4em 1em; font-size: .92rem; } }
.pie button.pie__cookies { background: none; border: 0; padding: 0; color: #fff; font: inherit; cursor: pointer; text-align: left; }
.pie button.pie__cookies:hover { text-decoration: underline; }

/* ── tarjeta de WhatsApp (sustituye a los formularios) ── */
.contacto-wa { background: #fff; color: var(--texto); border-radius: var(--radio-g); padding: clamp(22px, 3vw, 34px); box-shadow: var(--sombra); display: grid; gap: 14px; border-top: 5px solid var(--wa); }
.contacto-wa__ico { width: 52px; height: 52px; border-radius: 50%; background: #e7f6ee; color: var(--wa); padding: 12px; display: block; }
.contacto-wa__ico svg { width: 100%; height: 100%; display: block; }
.contacto-wa__titulo { font-size: clamp(1.35rem, 2.2vw, 1.7rem); margin: 0; }
.contacto-wa__texto { margin: 0; color: var(--texto-suave); }
.contacto-wa .btn { min-height: 56px; font-size: 1.06rem; }
.contacto-wa__tel { margin: 0; text-align: center; color: var(--texto-suave); font-size: .96rem; }
.contacto-wa__tel a { font-weight: 800; color: var(--tinta); white-space: nowrap; }

/* formulario que abre WhatsApp con el mensaje redactado */
.form--wa { border-top: 5px solid var(--wa); }
.form--wa__cabeza { display: flex; align-items: center; gap: 14px; }
.form--wa__cabeza .contacto-wa__ico { width: 46px; height: 46px; padding: 11px; flex: none; }
.form--wa .btn--wa { min-height: 56px; font-size: 1.06rem; gap: .5em; }
.form--wa .btn--wa svg { width: 1.3em; height: 1.3em; }
.form__nota { margin: -6px 0 0; text-align: center; font-size: .86rem; color: var(--texto-suave); }
.form--wa .form__estado:empty { display: none; }
.form--wa .form__estado a { color: var(--wa); }
.form--wa { container-type: inline-size; }
@container (min-width: 500px) { .form--wa .form__campos { grid-template-columns: 1fr 1fr; } .form--wa .campo--ancho { grid-column: 1 / -1; } }

/* Luzzz energía · negro y verdes neón del logotipo (#3EFF86, #7AFF48, #2EFF87, #2AFFA2), menta #D3FFE3, preguntas #8FECA1,
   degradado #62FF4A → #0EFFCE y botón #87FC70 → #0BD318 · Montserrat + Poppins 800 + DM Serif Display + Candal (adorno) */
@font-face { font-family: "Montserrat"; src: url(/fuentes/montserrat-normal.woff2) format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url(/fuentes/poppins-800.woff2) format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Serif Display"; src: url(/fuentes/dm-serif-display-400.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Candal"; src: url(/fuentes/candal-400.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
:root {
  --tinta: #000000;
  --tinta-2: #1a1a1a;
  --texto: #111111;
  --texto-suave: #333333;
  --suave: #D3FFE3;
  --borde: #b9efc9;
  --acento: #2EFF87;
  --acento-texto: #08672c;
  --sobre-acento: #000000;
  --neon: #2AFFA2;
  --menta: #D3FFE3;
  --pregunta: #8FECA1;
  --f-tit: "Montserrat", system-ui, sans-serif;
  --f-txt: "Montserrat", system-ui, sans-serif;
  --peso-tit: 800;
  --tracking-tit: -0.01em;
  --radio: 12px;
  --radio-g: 20px;
  --sombra: 0 1px 2px rgb(0 0 0 / .05), 0 14px 36px rgb(0 60 20 / .12);
  --alto-cab: 92px;
  --alto-logo: 66px;
  --alto-logo-pie: 70px;
  --fondo-cab: #ffffff;
  --borde-cab: #ffffff;
  --color-menu: #000000;
  --acento-menu: #08672c;
  --fondo-portadilla: #000000;
  --eyebrow-oscuro: #2EFF87;
}
body { font-size: 1rem; line-height: 1.7; }
:focus-visible { outline-color: #000; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* botones: píldora con el degradado verde de la web anterior y texto negro */
.btn { border-radius: 999px; font: 700 .98rem/1.15 var(--f-txt); }
.btn--wa { background: linear-gradient(90deg, #87FC70 0%, #0BD318 100%); color: #000; }
.btn--wa:hover { background: linear-gradient(90deg, #97ff82 0%, #19e32a 100%); }
.btn--grande { min-height: 58px; padding-inline: 1.9em; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .02em; }
.btn--grande .ico { width: 1.3em; height: 1.3em; }
.btn--linea { color: #000; }
.btn--linea:hover { background: #000; color: #fff; border-color: #000; }
.btn--factura { background: rgb(255 255 255 / .75); color: #000; border: 4px solid #2EFF87; min-height: 64px; padding: .5em 1.8em .5em .6em; font-size: 1.05rem; }
.btn--factura .ico { width: 46px; height: 46px; padding: 9px; border-radius: 50%; background: #000; color: #fff; }
.btn--factura:hover { background: #91FFC0; border-color: #97FFC3; }

/* cabecera blanca con el logotipo */
.cabecera { border-bottom: 1px solid #eef5f0; }
.menu > a { font-weight: 500; font-size: 1rem; }
.menu > a:hover { color: var(--acento-menu); text-decoration: underline; text-decoration-color: #2EFF87; text-decoration-thickness: 3px; text-underline-offset: .35em; }
.cabecera__acciones .btn { min-height: 48px; }
@media (max-width: 1020px) {
  :root { --alto-cab: 72px; --alto-logo: 52px; }
  .menu > a { font-weight: 600; }
}

/* portada: el primer «slide» fijo (rótulo, subtítulo, botón y la ilustración del sofá) */
.heroe { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(36px, 6vw, 80px) clamp(24px, 4vw, 48px); }
.heroe__mano { position: absolute; z-index: -1; right: -2.5%; top: clamp(8px, 2vw, 30px); width: clamp(150px, 23vw, 330px); height: auto; }
.heroe__in { display: grid; gap: 22px 56px; max-width: 900px; }
.heroe__titulo { font: 800 clamp(2.05rem, 4.2vw, 3.05rem)/1.08 "Poppins", var(--f-tit); text-transform: uppercase; letter-spacing: -.045em; color: #000; max-width: 13.5ch; margin: 0; }
.heroe__titulo span { display: block; }
.heroe__sub { font: 400 clamp(1.85rem, 3vw, 2.35rem)/1.18 "DM Serif Display", Georgia, serif; color: #000; letter-spacing: 0; max-width: 15ch; margin: 0 0 26px; }
.heroe__ilus img { width: min(100%, 600px); margin-inline: auto; }
@media (min-width: 860px) {
  .heroe__in { grid-template-columns: 1fr 1fr; }
  .heroe__ilus { grid-column: 1 / -1; margin-top: 8px; }
}
@media (max-width: 859px) {
  .heroe__mano { top: 120px; width: 40vw; right: -9vw; }
  .heroe__titulo { max-width: 13.5ch; }
  .heroe .btn--grande { width: 100%; }
  .heroe__ilus img { width: 100%; }
}

/* comenzar a ahorrar: banda menta con la serpiente de la web anterior */
.comenzar { padding-inline: clamp(0px, 1vw, 12px); }
.comenzar__caja { background: var(--menta) url(/ilus-serpiente.svg) no-repeat left -4% top 30px / clamp(300px, 52vw, 720px) auto; border-radius: 20px; padding-block: clamp(56px, 8vw, 110px); }
.comenzar__in { text-align: center; }
.comenzar__titulo { font: 900 clamp(2.4rem, 6vw, 3.6rem)/1.05 var(--f-tit); text-transform: uppercase; letter-spacing: -.01em; margin-bottom: .45em; }
.comenzar__lema { font-size: clamp(1.02rem, 1.6vw, 1.15rem); max-width: 56ch; margin: 0 auto 10px; color: #000; }
.comenzar__nota { margin: 0 auto; color: #000; }
.comenzar__form { max-width: 760px; margin: clamp(28px, 4vw, 48px) auto 0; text-align: left; }
.form--wa { border-top: 0; border-radius: var(--radio-g); box-shadow: var(--sombra); }
.form--wa .contacto-wa__ico { background: var(--menta); color: #000; }
.form--wa .btn--wa { background: #000; color: #fff; border-radius: 10px; }
.form--wa .btn--wa:hover { background: #222; }
.campo label { color: #000; }
.campo input, .campo select, .campo textarea { background: #f3fff6; border: 0; border-bottom: 2px solid #000; border-radius: 4px 4px 0 0; }
.campo input:focus, .campo select:focus, .campo textarea:focus { border-color: #000; box-shadow: 0 0 0 3px rgb(46 255 135 / .45); }
.form__nota, .contacto-wa__tel { color: #333; }

/* títulos con la palabra grande de adorno (Candal) detrás */
.titulo-deco { position: relative; isolation: isolate; text-align: center; font: 900 clamp(1.45rem, 2.4vw, 1.75rem)/1.2 var(--f-tit); color: #000; letter-spacing: 0;
  margin: 0 auto clamp(40px, 6vw, 72px); padding-block: clamp(34px, 5vw, 52px); max-width: 24ch; }
.titulo-deco::before { content: attr(data-deco); content: attr(data-deco) / ""; position: absolute; z-index: -1; left: 50%; top: 50%; translate: -50% -50%;
  font: 400 clamp(6.5rem, 13vw, 9.5rem)/1 "Candal", var(--f-tit); color: var(--neon); white-space: nowrap; letter-spacing: -.02em; pointer-events: none; }
.titulo-deco--largo::before { font-size: clamp(4.2rem, 18vw, 9.5rem); }

/* cómo funciona: tres pasos alternos con sus ilustraciones */
.como { padding-bottom: clamp(32px, 5vw, 64px); }
.pasos-luz { display: grid; gap: clamp(48px, 8vw, 110px); max-width: 960px; margin-inline: auto; }
.paso-luz { display: grid; gap: 24px clamp(32px, 5vw, 64px); align-items: center; }
.paso-luz__ilus img { height: clamp(240px, 32vw, 380px); width: auto; margin-inline: auto; }
.paso-luz h3 { font: 700 clamp(1.55rem, 2.8vw, 2.05rem)/1.12 var(--f-tit); color: #000; letter-spacing: -.01em; margin-bottom: .55em; }
.paso-luz p { margin: 0; max-width: 46ch; }
@media (min-width: 760px) {
  .paso-luz { grid-template-columns: .85fr 1.15fr; }
  .paso-luz--invertido { grid-template-columns: 1.15fr .85fr; }
  .paso-luz--invertido .paso-luz__ilus { order: 2; }
  .paso-luz--invertido .paso-luz__texto { text-align: right; }
  .paso-luz--invertido p { margin-left: auto; }
}
@media (max-width: 759px) { .paso-luz__texto { text-align: center; } .paso-luz p { margin-inline: auto; } }

/* llamada: caja con el degradado de la marca y la mano verde detrás */
.llamada-luz { padding-block: clamp(90px, 14vw, 190px) clamp(56px, 8vw, 110px); }
.llamada-luz__caja { position: relative; isolation: isolate; display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: center; justify-content: space-between;
  padding: clamp(32px, 4vw, 52px) clamp(24px, 4.5vw, 52px); border-radius: 22px;
  background: linear-gradient(90deg, rgb(98 255 74 / .5) 0%, rgb(14 255 206 / .5) 100%); }
.llamada-luz__caja h2 { font: 700 clamp(1.8rem, 3.4vw, 2.6rem)/1.12 var(--f-tit); color: #000; margin: 0; max-width: 18ch; }
.llamada-luz__mano { position: absolute; z-index: -1; right: -3%; bottom: 42%; width: clamp(220px, 42%, 560px); height: auto; }
@media (max-width: 760px) {
  .llamada-luz__caja { justify-content: center; text-align: center; }
  .llamada-luz__mano { width: 62%; right: -6%; bottom: calc(100% - 28px); }
  .llamada-luz .btn--factura { width: 100%; }
}

/* reglas: tres manos (1, 2 y 3 dedos) sobre el zigzag claro */
.reglas { padding-bottom: 0; }
.reglas .titulo-deco { margin-bottom: 0; padding-bottom: clamp(44px, 6vw, 64px); }
.reglas__fondo { background: url(/ilus-zigzag.svg) center / cover no-repeat; padding-block: clamp(20px, 3vw, 36px) clamp(48px, 6vw, 72px); }
.reglas__lista { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(36px, 4vw, 40px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.regla__mano { height: clamp(120px, 13vw, 170px); width: auto; margin-bottom: 22px; }
.regla h3 { font: 800 1.3rem/1.3 var(--f-tit); color: #000; letter-spacing: 0; margin-bottom: .8em; max-width: 20ch; }
.regla p { margin: 0; }
@media (max-width: 700px) { .regla { text-align: center; } .regla__mano, .regla h3 { margin-inline: auto; } }

/* preguntas: acordeón en la banda menta */
.preguntas { padding-bottom: 0; }
.preguntas .titulo-deco { margin-bottom: 18px; }
.preguntas__intro { text-align: center; max-width: 62ch; margin: 0 auto clamp(36px, 5vw, 56px); font-size: 1.05rem; color: #000; }
.preguntas__caja { background: var(--menta); border-radius: 20px; padding-block: clamp(32px, 5vw, 60px); margin-inline: clamp(0px, 1vw, 12px); }
.faqs { max-width: 1100px; margin-inline: auto; gap: 1px; }
.faq { border: 0; border-radius: 0; background: #F3FFF6; }
.faq summary { background: var(--pregunta); color: #000; font: 700 1rem/1.4 var(--f-tit); padding: 1.15em 1.4em; align-items: center; }
.faq summary .ico { width: 22px; height: 22px; flex: none; transition: transform .2s; }
.faq .prosa { padding: 1.1em 1.4em .4em; max-width: none; }
.faq .prosa ul, .faq .prosa ol { margin-bottom: .8em; }
.faq .prosa li::marker { color: #000; }

/* interiores (política de privacidad) */
.portadilla { background: #000; }
.portadilla h1 { font-weight: 900; }
.migas a { color: #fff; }
.prosa--legal h2 { font-size: 1.25rem; margin-top: 1.7em; }
.prosa a { color: var(--acento-texto); }

/* pie: el zigzag verde de la web anterior, con el contenido en un panel blanco */
.pie { background: #4dff7a url(/ilus-pie.svg) center top / cover no-repeat; color: #000; padding-block: clamp(90px, 10vw, 140px) clamp(28px, 4vw, 48px); }
.pie__panel { background: #fff; border-radius: 22px; padding: clamp(26px, 4vw, 44px); }
.pie a { color: #000; }
.pie h2 { color: #000; }
.pie__logo img { margin-bottom: 10px; }
.pie__lema { font: 400 1.35rem/1.2 "DM Serif Display", Georgia, serif; margin: 0; color: #000; }
.pie__contacto a { display: inline-flex; gap: 10px; align-items: center; }
.pie__base { border-top-color: rgb(0 0 0 / .14); color: #222; }
@media (min-width: 900px) { .pie__rejilla { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

/* sin móvil: no hay barra inferior de llamar/WhatsApp */
@media (max-width: 760px) { body.sin-movil { padding-bottom: 0; } }
