/* ── 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; }

/* Pavipascu · rojo del logo, tinta y crema de la web anterior · Nunito Sans */
@font-face { font-family: "Nunito Sans"; src: url(/fuentes/nunito-sans-normal.woff2) format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Nunito Sans"; src: url(/fuentes/nunito-sans-italic.woff2) format("woff2"); font-weight: 400 900; font-style: italic; font-display: swap; }
:root {
  --tinta: #0E121D;
  --tinta-2: #1b2231;
  --texto: #3a4150;
  --texto-suave: #4D5765;
  --suave: #F7F4ED;
  --borde: #e7e1d4;
  --acento: #DA281E;
  --acento-texto: #c0221a;
  --eyebrow-oscuro: #ff8a7f;
  --f-tit: "Nunito Sans", system-ui, sans-serif;
  --f-txt: "Nunito Sans", system-ui, sans-serif;
  --peso-tit: 900;
  --tracking-tit: -0.025em;
  --radio: 8px;
  --radio-g: 14px;
  --alto-logo: 58px;
  --alto-logo-pie: 92px;
  --alto-cab: 80px;
  --velo-portada: linear-gradient(90deg, rgb(14 18 29 / .86) 0%, rgb(14 18 29 / .55) 55%, rgb(14 18 29 / .2) 100%), linear-gradient(0deg, rgb(14 18 29 / .55), transparent 45%);
  --fondo-portadilla: #0E121D;
}
.portada { align-items: center; }
.portada h1 { max-width: 12ch; font-size: clamp(2.6rem, 6.4vw, 5rem); }
.portada .eyebrow { color: #fff; }
.portada .eyebrow::before { background: var(--acento); }
.portadilla { background:
  radial-gradient(120% 140% at 100% 0%, rgb(218 40 30 / .28), transparent 55%), var(--tinta); }
.banda--sobre .prosa p { font-size: 1.08rem; }
.cifras--sobre { margin-top: 28px; grid-template-columns: repeat(2, max-content); gap: 18px 48px; }
.marco-rojo { position: relative; }
.marco-rojo::after { content: ""; position: absolute; inset: auto -14px -14px auto; width: 46%; height: 46%; border-right: 6px solid var(--acento); border-bottom: 6px solid var(--acento); border-radius: 0 0 var(--radio-g) 0; pointer-events: none; }
.rejilla--servicios .tarjeta__cuerpo p { font-size: .98rem; }
.rejilla--servicios .tarjeta h3 { font-size: 1.4rem; }
.rejilla--servicios .tarjeta { border-top: 4px solid var(--acento); }
.banda--oscura { background:
  radial-gradient(90% 120% at 0% 100%, rgb(218 40 30 / .22), transparent 60%), var(--tinta); }
.banda--oscura .checklist { gap: 16px; }
.banda--oscura .checklist li span { font-size: 1.08rem; }
.cta { --fondo-cta: var(--acento); }
.cta .btn--wa { background: var(--tinta); }
.cta .btn--wa:hover { background: #000; }
.pie { --fondo-pie: #0a0d15; }
