/* ==========================================================================
   Gasolineras de España · estilos
   1. Tipografías   2. Variables   3. Base   4. Utilidades y botones
   5. Aviso superior   6. Cabecera   7. Secciones   8. Pie
   9. Animaciones   10. Responsive
   ========================================================================== */

/* 1. Tipografías (alojadas en la web, fuentes variables, subconjunto latino)
   Roboto: texto · Montserrat: títulos · Yellowtail: lema */
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/roboto.woff2") format("woff2");
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/montserrat.woff2") format("woff2");
}
@font-face {
  font-family: "Yellowtail";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/yellowtail.woff2") format("woff2");
}

/* 2. Variables */
:root {
  --red: #e3262f;
  --red-dark: #b3141c;
  --red-light: #ff4d55;
  --ink: #16171a;
  --text: #2b2d33;
  --muted: #6b6f78;
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --radius: 16px;
  --font-body: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-title: "Montserrat", "Roboto", system-ui, sans-serif;
  --font-script: "Yellowtail", "Brush Script MT", cursive;
}

/* 3. Base */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

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

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }

h1, h2, h3 {
  font-family: var(--font-title);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.02em;
  margin: 0 0 .5em;
  text-wrap: balance;
}

.wrap {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

.accent { color: var(--red-light); }

.skip { position: absolute; left: -9999px; }
.skip:focus {
  left: 16px; top: 16px; z-index: 10;
  background: #fff; color: var(--ink);
  padding: 8px 12px; border-radius: 8px;
}

:focus-visible { outline: 3px solid var(--red-light); outline-offset: 3px; }

/* 4. Botones */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  cursor: pointer;
  font: 700 16px var(--font-body);
  text-decoration: none;
  text-align: center;
  padding: 14px 28px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  transition: background .15s ease, color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.btn:hover { background: var(--red-dark); }
.btn--light { background: #fff; color: var(--red); flex-shrink: 0; }
.btn--light:hover { background: var(--ink); color: #fff; }
.btn--lg { padding: 18px 32px; font-size: 17px; }
.btn--ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .5); }
.btn--ghost:hover { background: #fff; color: var(--ink); }
.btn--wa { background: #25d366; color: #fff; }
.btn--wa:hover { background: #1da851; color: #fff; }
.btn--wa:hover svg { transform: none; }
.btn--dark { background: var(--ink); }
.btn--dark:hover { background: #000; }
.btn svg { flex-shrink: 0; transition: transform .15s ease; }
.btn:hover svg { transform: translateX(3px); }

.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 184px;
  padding: 10px 20px 10px 16px;
  background: #000;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 12px;
  font-size: 21px;
  font-weight: 500;
  line-height: 1.1;
  transition: transform .15s ease, border-color .15s ease;
}
.store svg { flex-shrink: 0; }
.store small { display: block; font-size: 11px; font-weight: 400; letter-spacing: .3px; }
.store:hover { transform: translateY(-2px); border-color: #fff; }

/* 5. Aviso superior (banner para gasolineras) */
.promo {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(60% 140% at 85% 50%, rgba(255, 255, 255, .16), transparent 60%),
    linear-gradient(110deg, var(--red-dark) 0%, var(--red) 55%, #f0434b 100%);
}
.promo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .12;
  background: repeating-linear-gradient(-45deg, #fff 0 2px, transparent 2px 14px);
  mask-image: linear-gradient(90deg, transparent 0%, #000 70%);
}
.promo__shine {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .22) 50%, transparent 70%);
  transform: translateX(-100%);
}
.promo__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 22px;
  padding-bottom: 22px;
}
.promo__badge {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  color: var(--red);
  background: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .2);
}
.promo__copy { flex: 1; min-width: 0; }
.promo__eyebrow {
  margin: 0 0 2px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #ffd0d2;
}
.promo__title { margin: 0; font-family: var(--font-title); font-size: 20px; font-weight: 600; line-height: 1.3; }
.promo__title strong { font-weight: 800; }
.promo__list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  color: rgba(255, 255, 255, .92);
}
.promo__list li { display: flex; align-items: center; gap: 7px; }
.promo__list li::before {
  content: "";
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e3262f' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 10px no-repeat;
}
.promo__link {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  color: #fff;
  background: var(--ink);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .25);
  transition: background .15s ease, transform .15s ease;
}
.promo__link:hover { background: #000; transform: translateY(-2px); }
.promo__link svg { transition: transform .15s ease; }
.promo__link:hover svg { transform: translateX(4px); }

/* Etiqueta pequeña sobre los títulos */
.eyebrow {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--red);
}
.eyebrow--light { color: #ffd0d2; }

/* 6. Cabecera */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 64px 0;
  color: #fff;
  background: var(--ink);
}

/* Fondo: avance lento hacia la carretera */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(100deg, rgba(14, 10, 12, .92) 0%, rgba(20, 10, 12, .72) 45%, rgba(120, 0, 10, .3) 100%),
    url("../img/fondo-1920.webp") 50% 70% / cover no-repeat;
}

/* Destello claro/oscuro que se mueve al azar sobre el paisaje (lo mueve main.js) */
.hero__flash {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}
.flash {
  position: absolute;
  top: 0;
  left: 0;
  width: 70vmax;
  height: 70vmax;
  margin: -35vmax 0 0 -35vmax;
  border-radius: 50%;
  transform: translate(60vw, 40%);
  transition: transform 7s ease-in-out, opacity 7s ease-in-out;
  will-change: transform, opacity;
}
.flash--light {
  background: radial-gradient(closest-side, rgba(255, 140, 130, .5), rgba(255, 70, 60, .16) 50%, transparent);
  mix-blend-mode: screen;
}
.flash--dark {
  background: radial-gradient(closest-side, rgba(0, 0, 0, .7), rgba(0, 0, 0, .25) 55%, transparent);
  transform: translate(25vw, 70%);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.hero__text { padding-bottom: 0; }

.hero__logo {
  width: 80px;
  height: 80px;
  margin-bottom: 28px;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(227, 38, 47, .45);
}

.hero h1 {
  font-size: clamp(36px, 5.2vw, 64px);
  font-weight: 800;
  letter-spacing: -.03em;
  margin-bottom: .15em;
}

.tagline {
  font-family: var(--font-script);
  font-size: clamp(28px, 3.2vw, 38px);
  line-height: 1.2;
  color: #ffd0d2;
  margin: 0 0 20px;
}

.lead {
  max-width: 50ch;
  margin: 0 0 32px;
  font-size: 18px;
  color: rgba(255, 255, 255, .85);
}

.hero__img {
  position: relative;
  width: 100%;
  max-width: 620px;
  margin-left: auto;
}
.hero__img img { width: 100%; }

/* Etiquetas de precio flotantes */
.chip {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .35);
}
.chip b { font-family: var(--font-title); font-size: 18px; font-weight: 800; color: var(--red); }
.chip em {
  font-style: normal;
  font-weight: 700;
  color: #138a3e;
  background: #e3f6ea;
  padding: 4px 6px;
  border-radius: 6px;
}
.chip svg { color: var(--red); }
.chip--1 { top: 30%; left: -10%; }
.chip--2 { top: 62%; right: -6%; }
.chip--3 { top: 2%; right: 4%; font-weight: 700; }

/* Cabeceras a sangre: el texto sigue alineado con el contenedor de 1160px
   y la columna de las capturas ocupa todo el ancho restante hasta el borde derecho */
.hero__grid.wrap,
.gp-hero__grid.wrap,
.ads__grid.wrap {
  max-width: none;
  padding-left: max(20px, calc((100% - 1160px) / 2 + 20px));
  padding-right: 48px;
  grid-template-columns: minmax(0, 540px) minmax(0, 1fr);
  gap: 48px;
}
.hero__grid .hero__img,
.gp-hero__grid .gp-hero__img,
.ads__grid .ads__visual {
  max-width: 920px;
  margin: 0 auto;
}
.hero__grid .chip--2 { right: -2%; }

/* 7. Secciones */
.section { padding: 96px 0; }
.section--alt { background: var(--bg-alt); }

.section__title {
  max-width: 22ch;
  font-size: clamp(30px, 3.6vw, 44px);
  color: var(--ink);
}
.section__title .accent { color: var(--red); }
.section__intro {
  max-width: 62ch;
  margin: 0 0 48px;
  font-size: 18px;
  color: var(--muted);
}

/* Ventajas */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.feature {
  padding: 28px 24px;
  border-radius: var(--radius);
  background: var(--bg-alt);
  transition: transform .2s ease, box-shadow .2s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0, 0, 0, .08); }
.feature__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: var(--red);
  color: #fff;
}
.feature h3 { font-size: 19px; color: var(--ink); }
.feature p { margin: 0; font-size: 16px; color: var(--muted); }

/* Histórico de precios */
.historico__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  gap: 56px;
  align-items: center;
}
.historico__points { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
.historico__points li {
  position: relative;
  padding-left: 28px;
  font-size: 16px;
  color: var(--muted);
}
.historico__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--red);
}
.historico__points b { display: block; font-family: var(--font-title); font-size: 18px; color: var(--ink); }
.historico__visual { width: 100%; max-width: 420px; margin: 0 auto; }
.historico__visual img { width: 100%; height: auto; }

/* Usuarios */
.stats {
  padding: 72px 0;
  text-align: center;
  color: #fff;
  background: var(--ink);
}
.stats h2 {
  max-width: 24ch;
  margin: 0 auto 16px;
  font-size: clamp(28px, 4vw, 46px);
}
.stats strong { color: var(--red-light); font-variant-numeric: tabular-nums; }
.stats p { margin: 0; color: rgba(255, 255, 255, .7); }

/* Publicidad para gasolineras (ancho completo) */
.ads {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 96px 0;
  color: #fff;
  background: linear-gradient(125deg, var(--red) 0%, var(--red-dark) 70%, #8c0d14 100%);
}
.ads::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .1;
  background: repeating-linear-gradient(-45deg, #fff 0 2px, transparent 2px 18px);
  mask-image: radial-gradient(70% 90% at 80% 60%, #000, transparent);
}
.ads__glow {
  position: absolute;
  z-index: -1;
  right: -10%;
  bottom: -30%;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 210, 120, .35), transparent);
}
.ads__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
}
.ads__copy { padding-bottom: 0; }
.ads h2 { font-size: clamp(32px, 4vw, 50px); font-weight: 800; }
.ads__hl {
  background: linear-gradient(transparent 62%, rgba(255, 255, 255, .28) 62%);
  padding: 0 .1em;
}
.ads__lead { max-width: 50ch; margin: 0 0 32px; font-size: 18px; color: rgba(255, 255, 255, .9); }
.ads__points { display: grid; gap: 18px; margin: 0 0 40px; padding: 0; list-style: none; }
.ads__points li { display: flex; gap: 16px; align-items: flex-start; font-size: 16px; color: rgba(255, 255, 255, .85); }
.ads__points b { display: block; font-family: var(--font-title); font-size: 18px; color: #fff; }
.ads__icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25);
}
.ads__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.ads__cta .btn--light { box-shadow: 0 14px 30px rgba(0, 0, 0, .25); }
.ads__price { margin: 0; font-size: 15px; color: rgba(255, 255, 255, .85); }
.ads__price b { color: #fff; }

.ads__visual {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin-left: auto;
}
.ads__visual img { width: 100%; filter: drop-shadow(0 30px 40px rgba(60, 0, 5, .35)); }

.tag {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .3);
}
.tag svg { color: #f5a400; }
.tag b { color: var(--red); font-family: var(--font-title); }
.tag--feat { top: 14%; left: -4%; }
.tag--promo { top: 58%; right: -3%; }

/* Contacto (ancho completo) */
.contact {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 104px 0;
  text-align: center;
  color: #fff;
  background: radial-gradient(90% 120% at 50% 0%, #2c1418 0%, var(--ink) 65%);
}
.contact__glow {
  position: absolute;
  z-index: -1;
  top: -180px;
  left: 50%;
  width: min(900px, 100%);
  height: 420px;
  margin-left: max(-450px, -50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(227, 38, 47, .55), transparent);
  filter: blur(20px);
}
.contact__icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  border-radius: 20px;
  background: var(--red);
  box-shadow: 0 12px 30px rgba(227, 38, 47, .5);
}
.contact__eyebrow {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red-light);
}
.contact h2 {
  max-width: 20ch;
  margin: 0 auto 12px;
  font-size: clamp(30px, 4vw, 46px);
}
.contact__text {
  max-width: 46ch;
  margin: 0 auto 36px;
  font-size: 18px;
  color: rgba(255, 255, 255, .75);
}
.contact__btn {
  max-width: 100%;
  padding: 18px 32px;
  font-size: 17px;
  overflow-wrap: anywhere;
  box-shadow: 0 10px 30px rgba(227, 38, 47, .4);
}
.contact__btn:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(227, 38, 47, .6); }
.contact__btn svg { flex-shrink: 0; transition: transform .2s ease; }
.contact__btn:hover svg { transform: translate(3px, -3px); }

/* 8. Pie */
.footer {
  padding: 32px 0;
  font-size: 14px;
  color: rgba(255, 255, 255, .7);
  background: var(--ink);
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer p { margin: 0; }
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}
.brand img { border-radius: 8px; }

/* 9. Animaciones (solo si el usuario no pide reducir movimiento) */
@media (prefers-reduced-motion: no-preference) {

  .hero__text > * { animation: rise .7s cubic-bezier(.2, .8, .2, 1) backwards; }
  .hero__text > :nth-child(2) { animation-delay: .08s; }
  .hero__text > :nth-child(3) { animation-delay: .16s; }
  .hero__text > :nth-child(4) { animation-delay: .24s; }
  .hero__text > :nth-child(5) { animation-delay: .32s; }
  .hero__logo { animation: rise .7s cubic-bezier(.2, .8, .2, 1) backwards, pulse 3s 1s ease-in-out infinite; }

  .hero__img { animation: rise .9s .2s cubic-bezier(.2, .8, .2, 1) backwards; }
  .hero__img img { animation: float 6s ease-in-out infinite; }
  .chip { animation: pop .5s cubic-bezier(.2, 1.4, .4, 1) backwards, bob 5s ease-in-out infinite; }
  .chip--1 { animation-delay: .7s, .7s; }
  .chip--2 { animation-delay: .9s, 2s; }
  .chip--3 { animation-delay: 1.1s, 1.3s; }

  .contact__glow { animation: glow 6s ease-in-out infinite alternate; }
  .promo__shine { animation: shine 6s 1.5s ease-in-out infinite; }
  .promo__badge svg { animation: spin-star 6s 1.5s ease-in-out infinite; }
  .tag { animation: bob 5s ease-in-out infinite; }
  .tag--promo { animation-delay: 1.2s; }
  .contact__icon { animation: bob 4s ease-in-out infinite; }

  /* Aparición al hacer scroll (la activa main.js) */
  .js .reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
  .js .reveal.is-in { opacity: 1; transform: none; }
  .features .reveal:nth-child(2) { transition-delay: .1s; }
  .features .reveal:nth-child(3) { transition-delay: .2s; }
  .features .reveal:nth-child(4) { transition-delay: .3s; }
}

/* Entradas sin opacidad 0: el contenido es visible aunque el navegador pause la animación */
@keyframes rise   { from { transform: translateY(24px); } }
@keyframes float  { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes pop    { from { transform: scale(.7); } }
@keyframes bob    { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes pulse  {
  0%, 100% { box-shadow: 0 8px 24px rgba(227, 38, 47, .45); }
  50%      { box-shadow: 0 8px 36px rgba(227, 38, 47, .85); }
}
@keyframes shine { 0% { transform: translateX(-100%); } 30%, 100% { transform: translateX(100%); } }
@keyframes spin-star { 0%, 70%, 100% { transform: none; } 80% { transform: rotate(72deg) scale(1.15); } }
@keyframes glow {
  from { transform: translateX(-12%) scale(.9); opacity: .7; }
  to   { transform: translateX(12%) scale(1.1); opacity: 1; }
}

/* 10. Responsive */
@media (max-width: 960px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .promo__inner { flex-wrap: wrap; }
  .promo__copy { flex-basis: calc(100% - 80px); }
  .promo__link { margin-left: 80px; }
  .ads__grid { grid-template-columns: 1fr; gap: 0; }
  .historico__grid { grid-template-columns: 1fr; gap: 40px; }
  .historico__visual { max-width: min(80vw, 420px); }
  .ads__copy { padding-bottom: 40px; }
  .ads__visual { margin: 0 auto; }
}

@media (max-width: 768px) {
  body { font-size: 16px; }
  .hero { padding: 40px 0 48px; }
  .hero__bg {
    background:
      linear-gradient(180deg, rgba(14, 10, 12, .88) 0%, rgba(30, 8, 12, .78) 100%),
      url("../img/fondo-768.webp") 50% 70% / cover no-repeat;
  }
  .hero__grid { grid-template-columns: 1fr; gap: 24px; }
  .hero__text { padding-bottom: 0; }
  .hero__logo { width: 64px; height: 64px; margin-bottom: 20px; border-radius: 14px; }
  .hero__img { width: 88%; margin: 0 auto; }
  .chip { padding: 8px 10px; font-size: 12px; }
  .chip b { font-size: 15px; }
  .chip--1 { left: -6%; }
  .chip--2 { right: -4%; }
  .section { padding: 64px 0; }
  .stats { padding: 56px 0; }
  .ads { padding: 64px 0; }
  .promo__inner { padding-top: 24px; padding-bottom: 24px; gap: 18px 16px; }
  .promo__badge { width: 44px; height: 44px; border-radius: 12px; }
  .promo__copy { flex-basis: calc(100% - 60px); }
  .promo__title { font-size: 17px; }
  .promo__list { display: none; }
  .promo__link { margin-left: 0; width: 100%; justify-content: center; }
  .contact { padding: 72px 0; }
  .contact__btn { padding: 16px 20px; font-size: 15px; }
}

@media (max-width: 480px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .features { grid-template-columns: 1fr; }
  .store { flex: 1 1 100%; justify-content: center; }
  .tag--feat { left: 0; }
  .tag--promo { right: 0; }
}

/* 11. Páginas legales (política de privacidad) */
.legal-head { background: var(--ink); color: #fff; padding: 14px 0; }
.legal-head__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.legal-head .brand { text-decoration: none; }
.legal-head__back { color: rgba(255, 255, 255, .8); font-size: 15px; text-decoration: none; }
.legal-head__back:hover { color: #fff; text-decoration: underline; }
.legal { padding: 56px 0 80px; }
.legal__wrap { max-width: 820px; }
.legal h1 { font-size: clamp(30px, 5vw, 44px); margin-bottom: .3em; }
.legal h2 { font-size: 24px; margin: 1.8em 0 .5em; scroll-margin-top: 16px; }
.legal h3 { font-size: 18px; margin: 1.3em 0 .4em; }
.legal__meta { color: var(--muted); font-size: 15px; }
.legal a { color: var(--red); }
.legal ul { padding-left: 1.2em; margin: 0 0 1em; }
.legal li { margin-bottom: .5em; }
.legal__toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 8px; }
.legal__toc a { background: var(--bg-alt); color: var(--ink); text-decoration: none; font-size: 14px; padding: 6px 14px; border-radius: 999px; }
.legal__toc a:hover { background: var(--red); color: #fff; }
.legal__table { width: 100%; border-collapse: collapse; margin: 0 0 1em; font-size: 15px; }
.legal__table th, .legal__table td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid #e3e3e8; }
.legal__table th { background: var(--bg-alt); font-family: var(--font-title); }
.legal__box { background: var(--bg-alt); border-left: 4px solid var(--red); border-radius: var(--radius); padding: 8px 24px 16px; margin-top: 2em; }
.legal__box h2 { margin-top: .8em; }
.footer a { color: #fff; }
@media (max-width: 768px) { .legal { padding: 36px 0 56px; } }

/* 12. Página «Destaca tu gasolinera» (para gasolineras) */
.btn--sm { padding: 10px 18px; font-size: 14px; white-space: nowrap; }
html:has(.gp) { scroll-padding-top: 72px; }
.gp-center { text-align: center; margin-left: auto; margin-right: auto; }
.gp-text { max-width: 54ch; font-size: 18px; color: var(--muted); }
.gp-link { font-weight: 700; color: var(--red); text-decoration: none; }
.gp-link:hover { text-decoration: underline; }

.gp-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  color: #fff;
  background: rgba(22, 23, 26, .92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.gp-nav__inner { display: flex; align-items: center; gap: 24px; padding-top: 12px; padding-bottom: 12px; }
.gp-nav .brand { text-decoration: none; line-height: 1.15; }
.gp-nav .brand small { display: block; font: 500 12px var(--font-body); color: var(--red-light); }
.gp-nav__links { display: flex; gap: 22px; margin-left: auto; }
.gp-nav__links a { font-size: 15px; color: rgba(255, 255, 255, .78); text-decoration: none; }
.gp-nav__links a:hover { color: #fff; }

.gp-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 72px 0;
  color: #fff;
  background: var(--ink);
}
.gp-hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.gp-hero__text { padding-bottom: 0; }
.gp-hero h1 { font-size: clamp(36px, 5vw, 60px); font-weight: 800; letter-spacing: -.03em; }
.gp-hero .lead strong { color: #fff; }
.gp-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.gp-hero__note { margin: 20px 0 0; font-size: 14px; color: rgba(255, 255, 255, .65); }
.gp-hero__img { position: relative; max-width: 560px; margin-left: auto; }
.gp-hero__img .tag--feat { top: 18%; left: -6%; }

.gp-stats { background: var(--red); color: #fff; padding: 36px 0; }
.gp-stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.gp-stat { display: flex; flex-direction: column; gap: 2px; padding-left: 18px; border-left: 2px solid rgba(255, 255, 255, .35); }
.gp-stat b { font-family: var(--font-title); font-size: clamp(22px, 2.6vw, 32px); font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.gp-stat > span { font-size: 15px; color: rgba(255, 255, 255, .85); }

.gp-split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.gp-photo, .gp-illu { position: relative; margin: 0; }
.gp-illu img { width: 100%; max-width: 520px; margin: 0 auto; filter: drop-shadow(0 30px 40px rgba(227, 38, 47, .18)); }
.gp-illu .gp-photo__card { right: 0; bottom: 4%; }
.gp-extra { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; }
.features--2 { grid-template-columns: repeat(2, 1fr); }
.gp-photo img { width: 100%; border-radius: 24px; box-shadow: 0 24px 50px rgba(0, 0, 0, .15); }
.gp-photo__card {
  position: absolute;
  right: -16px;
  bottom: -20px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 16px;
  background: #fff;
  font-size: 15px;
  box-shadow: 0 16px 34px rgba(0, 0, 0, .18);
}
.gp-photo__card b { color: var(--ink); }
.gp-photo__pin { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--red); color: #fff; }

.gp-shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.gp-shot {
  position: relative;
  padding: 28px 28px 32px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 2px 0 rgba(0, 0, 0, .03);
  transition: transform .2s ease, box-shadow .2s ease;
}
.gp-shot:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0, 0, 0, .08); }
.gp-shot__img {
  position: relative;
  display: grid;
  place-items: end center;
  height: 420px;
  margin: -4px -4px 24px;
  overflow: hidden;
  border-radius: 18px;
  background: radial-gradient(80% 70% at 50% 100%, rgba(227, 38, 47, .22), transparent 70%), linear-gradient(180deg, #fff1f1, #ffe1e2);
}
.gp-shot__img img { width: 220px; margin-bottom: -24px; transition: transform .4s cubic-bezier(.2, .8, .2, 1); }
.gp-shot:hover .gp-shot__img img { transform: translateY(-24px); }
.gp-shot__num { font-family: var(--font-title); font-size: 14px; font-weight: 800; color: var(--red); letter-spacing: 1px; }
.gp-shot h3 { margin-top: 4px; font-size: 22px; color: var(--ink); }
.gp-shot p { margin: 0; color: var(--muted); }
.tag--sm { padding: 8px 12px; font-size: 13px; border-radius: 12px; }
.tag--tl { top: 28px; left: 20px; }
.tag--tr { top: 28px; right: 20px; }
.tag--tr svg { color: var(--red); }
.tag--bl { top: 210px; left: 14px; }

.gp-global { overflow: hidden; }
.gp-global__visual {
  position: relative;
  display: grid;
  place-items: end center;
  height: 580px;
  overflow: hidden;
  border-radius: 28px;
  background: radial-gradient(70% 60% at 50% 100%, rgba(227, 38, 47, .28), transparent 70%), linear-gradient(180deg, #fff1f1, #ffe1e2);
}
.gp-global__phone { width: 280px; margin-bottom: -8px; }
.gp-global__tag { top: auto; bottom: 96px; right: 20px; }
.gp-global__tag svg { color: var(--red); }
.checks { display: grid; gap: 12px; margin: 24px 0 32px; padding: 0; list-style: none; }
.checks li { position: relative; padding-left: 32px; }
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.faq { max-width: 820px; }
.faq details { margin-bottom: 12px; border-radius: 16px; background: #fff; }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
  font: 700 18px var(--font-title);
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex-shrink: 0; font-size: 26px; font-weight: 400; color: var(--red); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 24px 22px; color: var(--muted); }
.faq a { color: var(--red); }

.gp-final { position: relative; isolation: isolate; overflow: hidden; padding: 110px 0; color: #fff; text-align: center; }
.gp-final__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(120deg, rgba(179, 20, 28, .92), rgba(227, 38, 47, .82)),
    url("../img/foto-conduciendo-1600.webp") center / cover no-repeat;
}
.gp-final h2 { max-width: 20ch; margin: 0 auto 16px; font-size: clamp(30px, 4.2vw, 50px); font-weight: 800; }
.gp-final p { max-width: 50ch; margin: 0 auto 36px; font-size: 18px; color: rgba(255, 255, 255, .9); }
.gp-final .gp-hero__cta { justify-content: center; }

@media (prefers-reduced-motion: no-preference) {
  .gp-hero__text > * { animation: rise .7s cubic-bezier(.2, .8, .2, 1) backwards; }
  .gp-hero__text > :nth-child(2) { animation-delay: .08s; }
  .gp-hero__text > :nth-child(3) { animation-delay: .16s; }
  .gp-hero__text > :nth-child(4) { animation-delay: .24s; }
  .gp-hero__img { animation: rise .9s .2s cubic-bezier(.2, .8, .2, 1) backwards; }
  .gp-shots .reveal:nth-child(2), .gp-stats .reveal:nth-child(2) { transition-delay: .1s; }
  .gp-shots .reveal:nth-child(3), .gp-stats .reveal:nth-child(3) { transition-delay: .2s; }
  .gp-stats .reveal:nth-child(4) { transition-delay: .3s; }
}

@media (max-width: 960px) {
  .gp-nav__links { display: none; }
  .gp-nav .btn--sm { margin-left: auto; }
  .gp-hero__grid, .gp-split { grid-template-columns: 1fr; gap: 40px; }
  .gp-hero__text { padding-bottom: 0; }
  .gp-hero__img { margin: 0 auto; }
  .gp-stats__grid { grid-template-columns: repeat(2, 1fr); }
  .gp-shots { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .gp-extra { grid-template-columns: 1fr; gap: 32px; }
  .gp-global__visual { height: 560px; }
  .gp-extra .gp-illu img { max-width: 360px; }
}
@media (max-width: 768px) {
  .gp-hero { padding: 48px 0 56px; }
  .gp-hero__bg { background: linear-gradient(180deg, rgba(14, 10, 12, .88) 0%, rgba(30, 8, 12, .78) 100%), url("../img/fondo-768.webp") 50% 70% / cover no-repeat; }
  .gp-final { padding: 72px 0; }
  .gp-final__bg { background: linear-gradient(120deg, rgba(179, 20, 28, .92), rgba(227, 38, 47, .82)), url("../img/foto-conduciendo-800.webp") center / cover no-repeat; }
  .gp-photo__card { right: 8px; }
}
@media (max-width: 480px) {
  .gp-nav .brand small { display: none; }
  .gp-nav .brand span { font-size: 14px; }
  .gp-hero__cta .btn { width: 100%; }
  .gp-stats__grid { grid-template-columns: 1fr 1fr; gap: 18px; }
  .gp-hero__img .tag--feat { left: 0; }
  .features--2 { grid-template-columns: 1fr; }
}
.footer .brand { text-decoration: none; }

/* Cabeceras a sangre: en pantallas medianas el texto cede espacio a las capturas
   y en pantallas estrechas vuelven a una columna */
@media (max-width: 1200px) {
  .hero__grid.wrap, .gp-hero__grid.wrap, .ads__grid.wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 32px; padding-right: 32px; }
}
@media (max-width: 960px) {
  .gp-hero__grid.wrap, .ads__grid.wrap { grid-template-columns: 1fr; padding-right: 20px; gap: 40px; }
  .gp-hero__grid .gp-hero__img, .ads__grid .ads__visual { max-width: 560px; }
}
@media (max-width: 768px) {
  .hero__grid.wrap { grid-template-columns: 1fr; padding-right: 20px; gap: 24px; }
  .hero__grid .hero__img { max-width: 560px; }
}
@media (max-width: 480px) {
  .hero__grid.wrap, .gp-hero__grid.wrap, .ads__grid.wrap { padding-left: 16px; padding-right: 16px; }
}

/* Destaca: cabecera clara (como la landing de propietarios) y cuatro capturas en fila */
.gp-hero--claro { padding: 56px 0; color: var(--text); background: linear-gradient(180deg, #fff 0%, #f5f5f7 100%); }
.gp-hero--claro .gp-hero__grid.wrap { max-width: 1160px; padding-left: 20px; padding-right: 20px; grid-template-columns: 1fr 1.1fr; gap: 40px; }
.gp-hero--claro .gp-hero__img { max-width: 600px; margin: 0 0 0 auto; }
.gp-hero--claro h1 { color: var(--ink); font-size: clamp(32px, 3.8vw, 44px); margin-bottom: .45em; }
.gp-hero--claro h1 .accent { color: var(--red); }
.gp-hero--claro .lead { color: var(--muted); font-size: 18px; margin-bottom: 22px; }
.gp-hero--claro .gp-hero__note { color: var(--muted); }
.gp-ventajas { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; }
.gp-ventajas li { position: relative; padding-left: 30px; line-height: 1.35; }
.gp-ventajas li::before { content: ""; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.gp-ventajas b { display: block; color: var(--ink); font: 700 16px var(--font-title); }
.gp-ventajas span { display: block; color: var(--muted); font-size: 15px; }

.gp-shots--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; max-width: none; }
.gp-shots--4 .gp-shot { padding: 18px 18px 24px; }
.gp-shots--4 .gp-shot__img { height: auto; aspect-ratio: auto; padding: 34px 0 18px; place-items: center; }
.gp-shots--4 .gp-shot__img img { width: min(180px, 78%); margin-bottom: 0; }
.gp-shots--4 .gp-shot:hover .gp-shot__img img { transform: translateY(-14px); }
.gp-shots--4 .gp-shot h3 { font-size: 19px; }
.gp-shots--4 .tag--tl { top: 16px; left: 10px; }
.gp-shots--4 .tag--tr { top: 16px; right: 10px; }
.gp-shots--4 .tag--bl { top: 52%; left: 8px; }
.gp-shot__num em { font-style: normal; font-weight: 600; text-transform: none; letter-spacing: 0; color: var(--muted); }
.tag--br { top: 52%; right: 8px; }
@media (max-width: 960px) {
  .gp-hero--claro .gp-hero__grid.wrap { grid-template-columns: 1fr; }
  .gp-hero--claro .gp-hero__img { margin: 0 auto; }
}
@media (max-width: 900px) { .gp-shots--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 720px; margin: 0 auto; } }
@media (max-width: 600px) {
  .gp-ventajas { grid-template-columns: 1fr; }
  .gp-shots--4 { gap: 12px; }
  .gp-shots--4 .gp-shot { padding: 12px 12px 18px; }
  .gp-shots--4 .gp-shot h3 { font-size: 16px; }
  .gp-shots--4 .gp-shot p { font-size: 14px; }
  .gp-shots--4 .tag { display: none; }
}
.btn--borde { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px rgba(22, 23, 26, .2); }
.btn--borde:hover { background: var(--ink); color: #fff; }
.gp-contacto .btn svg { flex-shrink: 0; }
.gp-final .gp-contacto { justify-content: center; }

/* Portada: menú principal con acceso a «Destaca tu gasolinera» */
.home-nav .brand span { font-size: 16px; }
.home-nav .btn--sm { flex-shrink: 0; }
html { scroll-padding-top: 70px; }
@media (max-width: 480px) { .home-nav .brand span { display: none; } .home-nav .btn--sm { margin-left: auto; } }


/* Destaca: herramientas del panel con pantallazos (como la landing de propietarios) */
.gp-paneles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; }
.gp-panel h3 { margin: 18px 0 6px; font-size: 19px; color: var(--ink); }
.gp-panel p { margin: 0; color: var(--muted); font-size: 16px; }
.gp-nota-varias { margin: 40px 0 0; padding: 18px 22px; border-radius: 16px; background: #f5f5f7; color: var(--muted); }
.gp-nota-varias b { color: var(--ink); }
@media (max-width: 960px) { .gp-paneles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .gp-paneles { grid-template-columns: 1fr; } }
/* Pantallazos del panel (estilo Filament) */
.fi {
  height: 236px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--borde);
  box-shadow: 0 22px 44px -28px rgb(0 0 0 / .4);
  overflow: hidden;
  font: 400 11px/1.35 var(--font-body);
  color: #030712;
}
.fi-url { display: flex; align-items: center; gap: 5px; padding: 7px 10px; background: #f3f4f6; border-bottom: 1px solid #e5e7eb; }
.fi-url i { width: 8px; height: 8px; border-radius: 50%; background: #d1d5db; flex: none; }
.fi-url span { margin-left: 8px; flex: 1; min-width: 0; background: #fff; border-radius: 6px; padding: 2px 8px; color: #6b7280; font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fi-app { display: flex; height: calc(100% - 31px); background: #f9fafb; }
.fi-lado { width: 34px; flex: none; background: #fff; border-right: 1px solid #e5e7eb; padding: 10px 8px; display: flex; flex-direction: column; gap: 9px; }
.fi-lado b { height: 14px; border-radius: 4px; background: #e5e7eb; }
.fi-lado b:first-child { background: var(--red); }
.fi-lado b.on { box-shadow: 0 0 0 3px #dbeafe; background: #2563eb; }
.fi-main { flex: 1; min-width: 0; padding: 12px; }
.fi-cab { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.fi-cab h4 { margin: 0; font: 700 13px/1.2 var(--font-title); letter-spacing: -.01em; white-space: nowrap; }
.fi-btn { font-style: normal; background: #2563eb; color: #fff; font-weight: 600; font-size: 10px; padding: 4px 9px; border-radius: 7px; white-space: nowrap; }
.fi-btn-gris { display: inline-block; margin-top: 8px; }
.fi-sel { font-style: normal; font-size: 10px; color: #374151; background: #fff; border: 1px solid #e5e7eb; border-radius: 7px; padding: 3px 8px; white-space: nowrap; }
.fi-tabla, .fi-caja { background: #fff; border-radius: 10px; box-shadow: 0 0 0 1px rgb(3 7 18 / .06), 0 1px 2px rgb(0 0 0 / .04); overflow: hidden; }
.fi-th, .fi-tr { display: grid; gap: 8px; align-items: center; padding: 7px 10px; }
.fi-th { background: #f9fafb; color: #6b7280; font-weight: 600; font-size: 10px; border-bottom: 1px solid #f3f4f6; }
.fi-tr { border-bottom: 1px solid #f3f4f6; }
.fi-tr:last-child { border-bottom: 0; }
.fi-tr span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: flex; align-items: center; gap: 6px; }
.fi-tr b { font-weight: 600; font-variant-numeric: tabular-nums; }
.fi-tabla .fi-th, .fi-tabla .fi-tr { grid-template-columns: 1.5fr 1fr auto; }
.fi-rank .fi-th, .fi-rank .fi-tr { grid-template-columns: 16px 1fr auto; }
.fi-tr.tuya { background: #eff6ff; box-shadow: inset 3px 0 0 #2563eb; font-weight: 700; }
.fi-logo { width: 14px; height: 14px; border-radius: 4px; flex: none; background: #fff url("../img/logo.svg") center / 11px no-repeat; box-shadow: inset 0 0 0 1px #e5e7eb; }
.fi-logo.gris { filter: grayscale(1); opacity: .5; }
.fi-badge { font-style: normal; font-size: 9.5px; font-weight: 600; padding: 2px 6px; border-radius: 6px; color: #4b5563; background: #f9fafb; box-shadow: inset 0 0 0 1px #e5e7eb; white-space: nowrap; }
.fi-badge.ok { color: #15803d; background: #f0fdf4; box-shadow: inset 0 0 0 1px #bbf7d0; }
.fi-caja { padding: 10px; }
.fi-caja label { display: block; font-weight: 600; font-size: 10px; color: #374151; margin-bottom: 3px; }
.fi-input { border-radius: 7px; box-shadow: inset 0 0 0 1px #d1d5db; padding: 5px 8px; margin-bottom: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fi-fotos { display: flex; gap: 6px; }
.fi-fotos i { width: 46px; height: 28px; border-radius: 6px; background: linear-gradient(135deg, #1e3a8a, #e3262f); }
.fi-fotos i:nth-child(2) { background: linear-gradient(135deg, #f59e0b, #e3262f); }
.fi-fotos .mas { display: grid; place-items: center; background: none; box-shadow: inset 0 0 0 1px #d1d5db; border-style: dashed; color: #9ca3af; font-style: normal; }
.fi-pest { display: flex; gap: 2px; background: #f3f4f6; border-radius: 7px; padding: 2px; font-size: 10px; }
.fi-pest > * { padding: 2px 7px; border-radius: 5px; font-style: normal; color: #6b7280; }
.fi-pest b { background: #fff; color: #030712; box-shadow: 0 1px 2px rgb(0 0 0 / .08); font-weight: 600; }
.fi-caja-graf svg { width: 100%; height: 104px; display: block; }
.fi-ley { display: flex; gap: 12px; margin-top: 6px; color: #6b7280; font-size: 10px; }
.fi-ley i { display: inline-block; width: 10px; height: 2px; background: #9ca3af; vertical-align: middle; margin-right: 4px; }
.fi-ley i.az { background: #2563eb; height: 3px; }
.fi-campana { position: relative; font-size: 13px; }
.fi-campana em { position: absolute; top: -5px; right: -8px; font: 700 8px/1 var(--font-body); background: #2563eb; color: #fff; border-radius: 999px; padding: 2px 4px; }
.fi-noti { display: flex; gap: 9px; align-items: flex-start; background: #fff; border-radius: 10px; padding: 9px 10px; margin-bottom: 8px; box-shadow: 0 0 0 1px rgb(3 7 18 / .06), 0 4px 10px -6px rgb(0 0 0 / .15); }
.fi-noti i { flex: none; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 700; }
.fi-noti i.baja { background: #dcfce7; color: #15803d; }
.fi-noti i.sube { background: #fee2e2; color: #b91c1c; }
.fi-noti b { display: block; font-weight: 600; }
.fi-noti span { color: #6b7280; }
.fi-linea { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; border-bottom: 1px solid #f3f4f6; color: #6b7280; }
.fi-linea b { color: #030712; font-weight: 600; }

.fi-promo { display: flex; align-items: center; gap: 9px; background: #fff; border-radius: 10px; padding: 8px 10px; margin-bottom: 8px; box-shadow: 0 0 0 1px rgb(3 7 18 / .06); }
.fi-promo div { flex: 1; min-width: 0; }
.fi-promo b { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fi-promo span { color: #6b7280; font-size: 10px; }
.fi-promo-img { flex: none; width: 54px; height: 30px; border-radius: 6px; background: linear-gradient(135deg, #1e3a8a, #e3262f); }
.fi-promo-img.dos { background: linear-gradient(135deg, #0ea5e9, #1e40af); }

/* Página 404 */
.notfound-page { min-height: 100vh; display: flex; flex-direction: column; }
.notfound { flex: 1; display: flex; align-items: center; padding: 72px 0; text-align: center; }
.notfound__wrap { max-width: 640px; }
.notfound__code { margin: 0; font: 800 clamp(88px, 22vw, 160px)/1 var(--font-title); color: var(--red); letter-spacing: -.04em; }
.notfound h1 { margin: 8px 0 12px; font-size: clamp(26px, 5vw, 36px); color: var(--ink); }
.notfound__text { margin: 0 0 28px; color: var(--muted); font-size: 17px; }
.notfound__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
