/* ═══════════════════════════════ RESET ═══ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red:      #C8001A;
  --red-dk:   #960014;
  --red-lt:   #e8001f;
  --gold:     #C9960C;
  --gold-lt:  #E8C04A;
  --gold-dim: rgba(201,150,12,0.1);
  --black:    #070707;
  --c1:       #0C0C0C;
  --c2:       #111111;
  --c3:       #181818;
  --c4:       #212121;
  --gray:     #606060;
  --lgray:    #A8A8A8;
  --white:    #F0F0F0;
  --fhero:    'Bebas Neue', sans-serif;
  --fhead:    'Rajdhani', sans-serif;
  --fbody:    'Montserrat', sans-serif;
  --sp:       110px;
}

html { scroll-behavior: smooth; }
body { font-family: var(--fbody); background: var(--black); color: var(--white); line-height: 1.6; overflow-x: hidden; }
a    { text-decoration: none; color: inherit; }
img  { max-width: 100%; display: block; }
ul   { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

/* ── Shared tag ── */
.tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold-dim);
  border: 1px solid rgba(201,150,12,0.28);
  padding: 4px 14px;
  font-family: var(--fhead); font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 3px; color: var(--gold-lt);
  margin-bottom: 14px;
}
.tag::before { content:''; width:4px; height:4px; background:var(--gold); transform:rotate(45deg); flex-shrink:0; }

/* ── Shared heading ── */
.sh {
  font-family: var(--fhero);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  letter-spacing: 3px; line-height: 1.05;
  text-transform: uppercase; margin-bottom: 14px;
}
.sh .r { color: var(--red-lt); }
.sh .g { color: var(--gold-lt); }
.sub { color: var(--lgray); font-size: 0.88rem; max-width: 540px; margin-bottom: 56px; line-height: 1.85; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 32px;
  font-family: var(--fhead); font-size: 0.88rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2px; cursor: pointer;
  border: 2px solid transparent; transition: all 0.2s;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}
.btn-white { background: var(--white); color: var(--black); border-color: var(--white); }
.btn-white:hover { background: transparent; color: var(--white); transform: translateY(-2px); }
.btn-ghost-w { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn-ghost-w:hover { border-color: var(--white); transform: translateY(-2px); }
.btn-red  { background: var(--red); color: var(--white); border-color: var(--red); }
.btn-red:hover  { background: var(--red-dk); border-color: var(--red-dk); transform: translateY(-2px); }
.btn-gold { background: transparent; color: var(--gold-lt); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-dim); transform: translateY(-2px); }

/* ═══════════════════════════════ HEADER (fijo: marca + navegación) ═══ */
:root { --nav-h: 130px; }
html { scroll-padding-top: var(--nav-h); }
body { padding-top: var(--nav-h); }

#site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(to bottom, rgba(15,15,15,0.94) 0%, rgba(15,15,15,0.78) 55%, rgba(15,15,15,0.42) 100%);
  backdrop-filter: blur(7px);
  box-shadow: 0 10px 34px rgba(0,0,0,0.4);
}

/* ── Fila de marca: logo grande + CTA grande ── */
.brandbar { background: transparent; }
.brandbar-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 32px;
  height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 28px;
}
.brand-logo { flex-shrink: 0; }
.brand-logo img {
  height: 58px; width: auto; object-fit: contain;
  filter: brightness(0) invert(1) drop-shadow(0 2px 12px rgba(0,0,0,0.6));
}
.brand-right { display: flex; align-items: center; gap: 26px; }
.brand-contact { display: flex; align-items: center; gap: 18px; }
.brand-social { display: inline-flex; align-items: center; gap: 12px; }
.brand-social a { color: var(--lgray); transition: color 0.2s, transform 0.2s; }
.brand-social svg { width: 18px; height: 18px; display: block; }
.brand-social a:hover { color: var(--red-lt); transform: translateY(-1px); }
.brand-phone {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--fbody); font-size: 0.92rem; font-weight: 700; color: var(--white);
  transition: color 0.2s;
}
.brand-phone svg { width: 16px; height: 16px; color: var(--red-lt); flex-shrink: 0; }
.brand-phone:hover { color: var(--red-lt); }
.brand-cta {
  display: inline-flex; align-items: center; gap: 11px;
  background: var(--red); color: #fff;
  padding: 15px 30px;
  font-family: var(--fhead); font-weight: 800; text-transform: uppercase;
  font-size: 1rem; letter-spacing: 1px;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  transition: background 0.2s, transform 0.2s;
}
.brand-cta svg { width: 21px; height: 21px; }
.brand-cta:hover { background: var(--red-dk); transform: translateY(-2px); }

/* ── Fila de navegación ── */
nav {
  background: rgba(10,10,10,0.55);
  box-shadow: inset 0 -2px 0 var(--red);
}
.nav-links a { text-shadow: 0 1px 6px rgba(0,0,0,0.8); }
.nav-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 32px;
  height: 50px; display: flex; align-items: center; justify-content: center;
}
.nav-links { display: flex; align-items: center; }
.nav-links li { display: flex; align-items: center; }
.nav-links li + li::before {
  content: '·'; color: rgba(255,255,255,0.28); margin: 0 4px; font-weight: 700;
}
.nav-links a {
  font-family: var(--fhead); font-size: 0.8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1.6px; color: var(--gold-lt);
  padding: 8px 14px; transition: color 0.2s;
}
.nav-links a:hover { color: var(--red-lt); }

.nav-cta-mobile { display: none; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--gold-lt); transition: all 0.3s; }

/* ═══════════════════════════════ HERO (foto a sangre, texto superpuesto) ═══ */
#hero {
  position: relative; overflow: hidden;
  min-height: 100vh;
  margin-top: calc(-1 * var(--nav-h));   /* la foto sube por detrás del header */
  background: var(--black);
  display: flex; align-items: stretch;
}

/* ── foto coche + moto: SIEMPRE visible, a pantalla completa ── */
.hero-photo {
  position: absolute; inset: 0; z-index: 0;
  background: url('../images/hero-vehiculos.jpg?v=3') no-repeat center 55% / cover;
}

/* ── degradados suaves: NO tapan los vehículos, solo dan legibilidad ── */
.hero-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(105deg, rgba(19,19,19,0.6) 0%, rgba(19,19,19,0.22) 22%, transparent 44%),
    linear-gradient(to top, rgba(19,19,19,0.92) 0%, rgba(19,19,19,0.42) 16%, transparent 36%),
    linear-gradient(to bottom, rgba(19,19,19,0.55) 0%, transparent 16%);
}
#hero::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 90px;
  background: linear-gradient(transparent, var(--black));
  z-index: 1; pointer-events: none;
}

/* ── titular: superpuesto sobre la foto, semitransparente (deja ver el fondo) ── */
.hero-title {
  position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: flex-start;
  padding-top: calc(var(--nav-h) + clamp(14px, 4.5vh, 54px));
  pointer-events: none;
}
.hero-title .container { max-width: none; margin: 0; padding: 0 0 0 clamp(16px, 3.4vw, 64px); }
.hero-h1 {
  font-family: var(--fhero); font-weight: 900; font-style: italic;
  text-transform: uppercase; letter-spacing: -1px;
  font-size: clamp(2.4rem, 4.6vw, 4.4rem); line-height: 0.84;
}
.hero-h1 .l1, .hero-h1 .l2 {
  display: block; width: -moz-max-content; width: max-content; max-width: 100%;
  color: transparent;
  -webkit-background-clip: text; background-clip: text;
  background-repeat: no-repeat; background-size: 100% 100%;
  -webkit-mask-image: url('../images/grunge-mask.png');
          mask-image: url('../images/grunge-mask.png');
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%;
}
.hero-h1 .l1 {
  background-image: linear-gradient(172deg, rgba(235,235,235,0.72) 0%, rgba(190,190,190,0.58) 48%, rgba(140,140,140,0.5) 100%);
  filter: drop-shadow(0 0 3px rgba(0,0,0,0.9)) drop-shadow(0 4px 18px rgba(0,0,0,0.7));
}
.hero-h1 .l2 {
  background-image: linear-gradient(172deg, rgba(255,70,60,0.9) 0%, rgba(225,6,0,0.82) 48%, rgba(165,4,0,0.76) 100%);
  filter: drop-shadow(0 0 3px rgba(0,0,0,0.85)) drop-shadow(0 0 20px rgba(225,6,0,0.35)) drop-shadow(0 4px 14px rgba(0,0,0,0.7));
}

/* ── contenido (info + stats) por encima de todo ── */
.hero-wrap {
  position: relative; z-index: 3; width: 100%;
  min-height: 100vh;
  display: grid; grid-template-columns: minmax(0,1fr) auto;
  gap: 40px; align-items: center;
  padding: calc(var(--nav-h) + 20px) 0 52px;
}
.hero-copy { max-width: 560px; align-self: end; }

/* ── bloque de info (abajo a la izquierda) ── */
.hero-info { margin-top: 0; }
.hero-eyebrow {
  font-family: var(--fhead); font-weight: 800; text-transform: uppercase;
  font-size: clamp(1rem, 1.6vw, 1.25rem); letter-spacing: 0.5px;
  color: var(--white); line-height: 1.15; max-width: 20rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}
.hero-sub {
  margin-top: 10px; max-width: 340px;
  font-size: 0.9rem; line-height: 1.7; color: var(--lgray);
  text-shadow: 0 1px 8px rgba(0,0,0,0.85);
}
.hero-sub em { font-style: normal; font-weight: 600; color: var(--red-lt); }

/* ── features ── */
.hero-feats {
  margin-top: 24px; display: grid;
  grid-template-columns: repeat(4, auto); gap: 22px; justify-content: start;
}
.hero-feats li { display: flex; flex-direction: column; gap: 2px; }
.hero-feats svg { width: 22px; height: 22px; color: var(--red); margin-bottom: 5px; filter: drop-shadow(0 1px 4px rgba(0,0,0,0.6)); }
.hero-feats b {
  font-family: var(--fhead); font-weight: 700; text-transform: uppercase;
  font-size: 0.72rem; letter-spacing: 0.4px; color: var(--white);
  text-shadow: 0 1px 6px rgba(0,0,0,0.85);
}
.hero-feats span { font-size: 0.68rem; color: var(--lgray); text-shadow: 0 1px 6px rgba(0,0,0,0.85); }

/* ── CTAs ── */
.hero-btns { margin-top: 28px; display: flex; gap: 16px; flex-wrap: wrap; }
.hero-cta {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 15px 28px;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.hero-cta:hover { transform: translateY(-2px); }
.hero-cta svg { width: 28px; height: 28px; flex-shrink: 0; }
.hero-cta span { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.hero-cta b {
  font-family: var(--fhead); font-weight: 800; text-transform: uppercase;
  font-size: 1rem; letter-spacing: 0.5px;
}
.hero-cta small { font-size: 0.72rem; opacity: 0.85; }
.hero-cta-red { background: var(--red); color: #fff; }
.hero-cta-red:hover { background: var(--red-dk); }
.hero-cta-ghost {
  background: rgba(20,20,20,0.55); color: #fff; backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.18);
}
.hero-cta-ghost:hover { border-color: var(--red); }

/* ── tarjeta de stats (superpuesta, cristal) ── */
.hero-visual { align-self: center; }
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  max-width: 480px;
  background: rgba(11,11,11,0.74); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.14); border-radius: 8px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.55);
  overflow: hidden;
}
.hs-item {
  padding: 22px 14px; text-align: center;
  border-left: 1px solid rgba(255,255,255,0.09);
}
.hs-item:first-child { border-left: none; }
.hs-item svg { width: 21px; height: 21px; color: var(--red); margin-bottom: 8px; }
.hs-n {
  font-family: var(--fhero); font-weight: 900; font-style: italic;
  font-size: 1.5rem; line-height: 1; color: var(--white); white-space: nowrap;
}
.hs-l {
  margin-top: 5px; font-size: 0.61rem; line-height: 1.3;
  text-transform: uppercase; letter-spacing: 0.8px; color: var(--lgray);
}

@media(max-width: 1080px) {
  .hero-wrap {
    grid-template-columns: 1fr; gap: 24px; align-items: end;
    padding: calc(var(--nav-h) + 40vh) 0 44px;
  }
  .hero-visual { align-self: end; justify-self: start; }
  .hero-stats { max-width: 560px; }
  .hero-title { padding-top: calc(var(--nav-h) + clamp(10px, 3vh, 30px)); }
  .hero-h1 { font-size: clamp(2.1rem, 5.4vw, 3.6rem); }
  .hero-scrim {
    background:
      linear-gradient(to top, rgba(19,19,19,0.95) 8%, rgba(19,19,19,0.5) 42%, rgba(19,19,19,0.18) 68%, rgba(19,19,19,0.4) 100%);
  }
}

/* ── MÓVIL: foto banner arriba + contenido en columna sobre negro ── */
@media(max-width: 820px) {
  #hero { flex-direction: column; min-height: 0; }

  .hero-photo {
    position: relative; z-index: 0; order: 1; width: 100%;
    height: 46vh; min-height: 290px; max-height: 380px;
    background-position: 52% 34%;
  }
  .hero-scrim {
    order: 0; inset: 0 0 auto 0;
    height: 46vh; min-height: 290px; max-height: 380px;
    background: linear-gradient(to top, var(--black) 0.5%, rgba(19,19,19,0.06) 40%, rgba(19,19,19,0.3) 82%, rgba(19,19,19,0.5) 100%);
  }
  #hero::after { display: none; }

  .hero-title {
    position: static; inset: auto; order: 2; z-index: 3;
    width: 100%; background: var(--black);
    padding: 16px 20px 2px; align-items: flex-start;
  }
  .hero-title .container { padding: 0; }
  .hero-h1 { font-size: clamp(1.75rem, 7.8vw, 2.9rem); line-height: 0.94; letter-spacing: -0.5px; }
  .hero-h1 .l1, .hero-h1 .l2 {
    -webkit-mask-image: none; mask-image: none; background-image: none;
    filter: none; width: auto; white-space: normal;
  }
  .hero-h1 .l1 { color: #ececec; -webkit-text-fill-color: #ececec; }
  .hero-h1 .l2 { color: var(--red); -webkit-text-fill-color: var(--red); }

  .hero-wrap {
    position: static; order: 3; z-index: 3; background: var(--black);
    grid-template-columns: 1fr; min-height: 0; gap: 22px;
    padding: 12px 20px 40px;
  }
  .hero-copy { max-width: none; }
  .hero-eyebrow, .hero-sub, .hero-feats b, .hero-feats span { text-shadow: none; }
  .hero-feats { grid-template-columns: 1fr 1fr; gap: 18px 14px; }
  .hero-btns { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-cta { justify-content: center; width: 100%; }
  .hero-visual { align-self: center; justify-self: center; width: 100%; }
  .hero-stats {
    grid-template-columns: 1fr 1fr; max-width: 400px; margin: 0 auto;
    background: rgba(255,255,255,0.05); backdrop-filter: none;
    border-color: rgba(255,255,255,0.16);
  }
  .hs-item { padding: 20px 10px; }
  .hs-item:nth-child(3) { border-left: none; }
  .hs-item:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,0.12); }
  .hs-n { font-size: 1.45rem; }
  .hs-l { font-size: 0.58rem; }
}
@media(max-width: 360px) {
  .hero-feats { grid-template-columns: 1fr; }
  .hero-photo, .hero-scrim { height: 42vh; min-height: 260px; }
}

/* ═══════════════════════════════ SERVICIOS (list) ═══ */
#servicios { padding: var(--sp) 0; background: var(--c1); }

.svc-list { margin-top: 16px; }
.svc-row {
  display: grid;
  grid-template-columns: 72px 1px 1fr 56px;
  gap: 0 32px;
  align-items: center;
  padding: 36px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 0.2s;
  cursor: default;
}
.svc-row:last-child { border-bottom: none; }
.svc-row:hover { background: rgba(255,255,255,0.02); }

.svc-num {
  font-family: var(--fhero);
  font-size: 2.8rem; letter-spacing: 2px; line-height: 1;
  color: var(--gold); transition: color 0.2s;
}
.svc-row:hover .svc-num { color: var(--gold-lt); }

.svc-sep {
  width: 1px; height: 60px;
  background: rgba(255,255,255,0.1);
  align-self: center;
}

.svc-body {}
.svc-body h3 {
  font-family: var(--fhead); font-size: 1.05rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2px;
  color: var(--white); margin-bottom: 6px;
}
.svc-body p { font-size: 0.85rem; color: var(--gray); line-height: 1.75; max-width: 640px; }

.svc-ico { font-size: 1.6rem; justify-self: end; opacity: 0.5; transition: opacity 0.2s; }
.svc-row:hover .svc-ico { opacity: 1; }

/* ═══════════════════════════════ PROCESO ═══ */
#proceso {
  padding: var(--sp) 0; background: var(--black);
  position: relative; overflow: hidden;
}
#proceso::before {
  content: '3'; position: absolute;
  font-family: var(--fhero); font-size: 80vw; color: rgba(255,255,255,0.012);
  bottom: -10%; left: 50%; transform: translateX(-50%);
  pointer-events: none; user-select: none;
}

.proceso-grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 2px;
  margin-top: 16px; position: relative; z-index: 2;
}
.paso {
  background: var(--c2); padding: 44px 36px;
  position: relative; overflow: hidden;
}
.paso::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(to right, var(--red-lt), var(--gold));
}
/* thin connecting line between cards */
.proceso-grid .paso:not(:last-child)::after {
  content: '›';
  position: absolute; top: 50%; right: -18px;
  transform: translateY(-50%);
  font-size: 1.8rem; color: var(--gold);
  z-index: 10;
}
.paso-n {
  font-family: var(--fhero);
  font-size: 5.5rem; letter-spacing: 2px; line-height: 1;
  background: linear-gradient(135deg, var(--gold) 0%, rgba(201,150,12,0.25) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; margin-bottom: 20px;
}
.paso-ico { font-size: 1.8rem; margin-bottom: 14px; }
.paso h3 {
  font-family: var(--fhead); font-size: 1.1rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2px; color: var(--white);
  margin-bottom: 10px;
}
.paso p { font-size: 0.85rem; color: var(--gray); line-height: 1.75; }

/* ═══════════════════════════════ HERRAMIENTAS (horizontal) ═══ */
#herramientas { padding: var(--sp) 0; background: var(--c1); }

.tool { display: grid; grid-template-columns: 1fr 1.15fr; min-height: 400px; margin-bottom: 4px; }
.tool.rev { grid-template-columns: 1.15fr 1fr; }

.tool-img {
  position: relative; overflow: hidden; background: #090909;
}
.tool-img img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.78) contrast(1.1); transition: transform 0.5s ease, filter 0.5s; }
.tool:hover .tool-img img { transform: scale(1.04); filter: brightness(0.9) contrast(1.1); }
.tool-img-ph { width:100%; height:100%; display:flex; align-items:center; justify-content:center; font-size:5rem; opacity:0.1; }
.tool-img::after { content:''; position:absolute; inset:0; background:linear-gradient(to right,transparent 55%,var(--c2) 100%); pointer-events:none; }
.tool.rev .tool-img::after { background:linear-gradient(to left,transparent 55%,var(--c2) 100%); }

.tool-body {
  background: var(--c2); padding: 52px 52px 52px 56px;
  display: flex; flex-direction: column; justify-content: center;
  position: relative;
}
.tool.rev .tool-body { padding: 52px 56px 52px 52px; order: -1; }
.tool-body::before { content:''; position:absolute; top:0; left:0; width:3px; height:100%; background:linear-gradient(to bottom,var(--gold),var(--red-lt)); }
.tool.rev .tool-body::before { left:auto; right:0; }

.tool-badge {
  align-self: flex-start;
  background: var(--gold); color: var(--black);
  font-family: var(--fhead); font-size: 0.62rem; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  padding: 3px 12px; margin-bottom: 16px;
}
.tool-cat { font-family: var(--fhead); font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2.5px; color: var(--gold); margin-bottom: 8px; }
.tool-name { font-family: var(--fhero); font-size: 2.5rem; letter-spacing: 2px; line-height: 1.05; text-transform: uppercase; color: var(--white); margin-bottom: 14px; }
.tool-desc { font-size: 0.875rem; color: var(--lgray); line-height: 1.75; margin-bottom: 24px; }
.tool-feats { display:flex; flex-direction:column; gap:8px; margin-bottom:32px; }
.tool-feats li { font-size:0.8rem; color:var(--lgray); display:flex; align-items:center; gap:10px; }
.tool-feats li::before { content:'◆'; color:var(--gold); font-size:0.42rem; flex-shrink:0; }
.tool-foot { display:flex; align-items:center; gap:22px; }
.tool-price { font-family:var(--fhero); font-size:2.2rem; letter-spacing:1px; color:var(--gold-lt); }
.tool-price sup { font-size:1rem; color:var(--gold); vertical-align:top; margin-top:6px; display:inline-block; }

#merece-pena { padding: var(--sp) 0 0; background: var(--c1); }
.merece .tool-name { font-size: 1.6rem; text-transform: none; letter-spacing: 0.5px; }
.merece .tool-feats li::before { content: '✓'; color: var(--gold); font-size: 0.72rem; }
.merece .tool-desc:last-child { margin-bottom: 0; }

/* ═══════════════════════════════ FILOSOFÍA ═══ */
#filosofia {
  padding: 120px 0;
  background: var(--black);
  position: relative; overflow: hidden; text-align: center;
}
/* giant ornamental quote mark */
#filosofia::before {
  content: '"';
  position: absolute; font-family: Georgia, serif; font-size: 55vw;
  color: rgba(201,150,12,0.03);
  line-height: 0.75; top: -12%; left: 50%; transform: translateX(-50%);
  pointer-events: none; user-select: none;
}
.fil-inner { position: relative; z-index: 2; max-width: 860px; margin: 0 auto; }
.fil-rule {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  margin-bottom: 40px;
}
.fil-rule::before,.fil-rule::after { content:''; flex: 0 0 60px; height:1px; background:var(--gold); opacity:0.4; }
.fil-rule-diamond { width:8px; height:8px; background:var(--gold); transform:rotate(45deg); }

.fil-quote {
  font-family: var(--fhero);
  font-size: clamp(2.4rem, 5vw, 4rem);
  letter-spacing: 2px; line-height: 1.2;
  text-transform: uppercase; color: var(--white);
  margin-bottom: 40px;
}
.fil-quote .em   { color: var(--red-lt); }
.fil-quote .gold { color: var(--gold-lt); }

.fil-text {
  font-size: 0.95rem; color: var(--lgray); line-height: 1.95;
  max-width: 640px; margin: 0 auto 48px;
}

/* ═══════════════════════════════ MARCAS (grid) ═══ */
#marcas {
  padding: 80px 0; background: var(--black);
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.marcas-h {
  text-align: center;
  font-family: var(--fhead); font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 3.5px; color: var(--gray);
  margin-bottom: 40px;
}
.marcas-h em { color: var(--gold-lt); font-style: normal; }

.brand-grid {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
}
.brand-pill {
  padding: 9px 20px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  font-family: var(--fhead); font-size: 0.8rem; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase; color: var(--gray);
  transition: all 0.2s;
}
.brand-pill:hover { color: var(--gold-lt); border-color: rgba(201,150,12,0.35); background: rgba(201,150,12,0.08); }

/* ═══════════════════════════════ NOSOTROS (split) ═══ */
#nosotros { padding: 0; background: var(--c2); display: grid; grid-template-columns: 55fr 45fr; min-height: 560px; }

.ns-dark {
  background: var(--c2); padding: 100px 80px 100px 80px;
  display: flex; flex-direction: column; justify-content: center;
  position: relative; clip-path: polygon(0 0, calc(100% + 50px) 0, 100% 100%, 0 100%);
  z-index: 2;
}
.ns-dark .sh { margin-bottom: 24px; }
.ns-dark .sub { margin-bottom: 36px; }

.ns-items { display:flex; flex-direction:column; gap:20px; margin-bottom:40px; }
.ns-i { display:flex; gap:16px; align-items:flex-start; }
.ns-ico {
  width:42px; height:42px; background:rgba(201,150,12,0.1);
  border:1px solid rgba(201,150,12,0.22);
  display:flex; align-items:center; justify-content:center;
  font-size:1rem; flex-shrink:0;
  clip-path: polygon(0 0,calc(100% - 8px) 0,100% 8px,100% 100%,0 100%);
}
.ns-i h4 { font-family:var(--fhead); font-size:0.85rem; font-weight:700; text-transform:uppercase; letter-spacing:1px; margin-bottom:2px; color:var(--white); }
.ns-i p { font-size:0.82rem; color:var(--gray); line-height:1.65; }

.ns-red {
  background: var(--red);
  padding: 100px 80px 100px 100px;
  display: flex; flex-direction: column; justify-content: center;
  position: relative; overflow: hidden;
}
/* circuit grid on red panel */
.ns-red::before {
  content:''; position:absolute; inset:0;
  background-image:
    linear-gradient(rgba(0,0,0,0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.15) 1px, transparent 1px);
  background-size:44px 44px;
}
.ns-red::after {
  content:''; position:absolute; inset:0;
  background-image: radial-gradient(circle, rgba(0,0,0,0.25) 1.5px, transparent 1.5px);
  background-size:44px 44px;
}
.ns-logo-wrap { position:relative; z-index:2; margin-bottom:32px; }
.ns-logo-wrap img { height:60px; width:auto; object-fit:contain; filter: brightness(0) invert(1); }
.ns-panel-text { position:relative; z-index:2; font-size:0.9rem; color:rgba(255,255,255,0.75); line-height:1.85; margin-bottom:40px; }

.ns-stats { position:relative; z-index:2; display:grid; grid-template-columns:repeat(3,1fr); gap:2px; }
.ns-stat {
  background: rgba(0,0,0,0.25); padding:24px 16px; text-align:center;
}
.ns-stat .n { font-family:var(--fhero); font-size:2rem; letter-spacing:1px; color:var(--white); line-height:1; }
.ns-stat .l { font-size:0.65rem; text-transform:uppercase; letter-spacing:2px; color:rgba(255,255,255,0.55); margin-top:4px; }

/* ═══════════════════════════════ EMPRESAS COLABORADORAS (enlaces) ═══ */
#empresas-colaboradoras { padding: var(--sp) 0; background: var(--black); }
.colab-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2px; margin-top: 40px;
}
.colab-card {
  background: var(--c2); padding: 32px 28px;
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
  transition: background 0.2s;
}
.colab-card::before {
  content:''; position:absolute; top:0; left:0; right:0; height:2px;
  background: linear-gradient(to right, var(--red), var(--gold));
  transform: scaleX(0); transform-origin:left; transition: transform 0.3s;
}
.colab-card:hover::before { transform: scaleX(1); }
.colab-card:hover { background: var(--c3); }
.colab-top { display:flex; align-items:center; justify-content:space-between; margin-bottom:18px; }
.colab-ico { font-size:1.6rem; }
.colab-ext {
  width:28px; height:28px; border-radius:50%;
  border:1px solid rgba(255,255,255,0.12); color:var(--gray);
  display:flex; align-items:center; justify-content:center; font-size:0.85rem;
  transition: all 0.2s;
}
.colab-card:hover .colab-ext { border-color: var(--red); color: var(--red-lt); transform: rotate(45deg); }
.colab-card h4 {
  font-family: var(--fhead); font-size: 1rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px; color: var(--white); margin-bottom: 10px;
}
.colab-card p { font-size: 0.85rem; color: var(--gray); line-height: 1.7; margin-bottom: 20px; flex-grow: 1; }
.colab-link {
  font-family: var(--fhead); font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2px; color: var(--gold-lt);
  padding-top: 14px; border-top: 1px solid rgba(255,255,255,0.06);
}

/* ═══════════════════════════════ CONTACTO (centered) ═══ */
#contacto { padding: var(--sp) 0; background: var(--c1); }

.ct-top { text-align:center; margin-bottom:64px; }
.ct-top .tag { margin:0 auto 16px; }
.ct-top .sh { margin-bottom:14px; }
.ct-top .sub { margin:0 auto; text-align:center; }

.ct-info-row {
  display: grid; grid-template-columns: repeat(4,1fr); gap:2px; margin-bottom:64px;
}
.ct-cell {
  background: var(--c2); padding:28px 24px;
  display:flex; gap:14px; align-items:flex-start;
}
.ct-ico {
  width:40px; height:40px; background:var(--red);
  display:flex; align-items:center; justify-content:center; font-size:0.9rem; flex-shrink:0;
  clip-path: polygon(0 0,calc(100% - 7px) 0,100% 7px,100% 100%,0 100%);
}
.ct-cell h4 { font-family:var(--fhead); font-size:0.65rem; font-weight:700; text-transform:uppercase; letter-spacing:2px; color:var(--gray); margin-bottom:2px; }
.ct-cell p { font-size:0.88rem; font-weight:600; color:var(--white); }

.ct-form-wrap { max-width:720px; margin:0 auto; }
.ct-form {
  background: var(--c2); padding:52px;
  border: 1px solid rgba(201,150,12,0.1);
  position: relative;
  clip-path: polygon(0 0,calc(100% - 20px) 0,100% 20px,100% 100%,0 100%);
}
.ct-form::before {
  content:''; position:absolute; top:0;left:0;right:0; height:2px;
  background:linear-gradient(to right,var(--gold),var(--red-lt),transparent);
}
.form-2col { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.fg { display:flex; flex-direction:column; gap:6px; margin-bottom:16px; }
.fg label { font-family:var(--fhead); font-size:0.65rem; font-weight:700; text-transform:uppercase; letter-spacing:2.5px; color:var(--gold); }
.fg input,.fg select,.fg textarea {
  background:rgba(255,255,255,0.04); border:1px solid rgba(255,255,255,0.08);
  color:var(--white); padding:12px 15px;
  font-family:var(--fbody); font-size:0.875rem;
  outline:none; transition:border-color 0.2s; resize:none; border-radius:1px;
}
.fg input:focus,.fg select:focus,.fg textarea:focus { border-color:var(--gold); }
.fg select option { background:var(--c2); }

/* ═══════════════════════════════ FOOTER ═══ */
footer {
  background: #050505; padding:72px 0 32px;
  border-top:1px solid rgba(201,150,12,0.1);
}
.ft-grid { display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:48px; margin-bottom:56px; }
.ft-brand img { height:46px; width:auto; object-fit:contain; margin-bottom:18px; }
.ft-brand p { font-size:0.84rem; color:var(--gray); line-height:1.75; max-width:280px; }
.ft-social { display:flex; gap:9px; margin-top:20px; }
.social-btn {
  width:38px; height:38px; border-radius:4px;
  background:rgba(255,255,255,0.04); border:1px solid rgba(255,255,255,0.1);
  display:flex; align-items:center; justify-content:center;
  color:var(--lgray); transition:all 0.2s;
}
.social-btn svg { width:17px; height:17px; display:block; }
.social-btn:hover { background:var(--red); border-color:var(--red); color:#fff; transform:translateY(-2px); }
.ft-col h4 {
  font-family:var(--fhead); font-size:0.66rem; font-weight:700; text-transform:uppercase;
  letter-spacing:2.5px; color:var(--gold-lt); margin-bottom:16px;
  padding-bottom:9px; border-bottom:1px solid rgba(201,150,12,0.12);
}
.ft-col ul { display:flex; flex-direction:column; gap:9px; }
.ft-col ul a { font-size:0.84rem; color:var(--gray); transition:color 0.2s; }
.ft-col ul a:hover { color:var(--gold-lt); }
.ft-bottom {
  display:flex; align-items:center; justify-content:space-between;
  padding-top:24px; border-top:1px solid rgba(255,255,255,0.04);
  font-size:0.75rem; color:var(--gray);
}
.ft-links { display:flex; gap:20px; }
.ft-links a:hover { color:var(--gold-lt); }

/* ═══════════════════════════════ INTRO (quiénes somos) ═══ */
#intro { padding: 72px 0; background: var(--black); }
.intro-inner { max-width: 780px; }
.intro-text { font-size: 1rem; color: var(--lgray); line-height: 1.95; }

/* ═══════════════════════════════ POR QUÉ ELEGIRNOS ═══ */
#porque { padding: var(--sp) 0; background: var(--c1); }
.porque-grid {
  display: grid; grid-template-columns: repeat(5,1fr); gap: 2px; margin-top: 16px;
}
.porque-card {
  background: var(--c2); padding: 32px 24px;
  position: relative; overflow: hidden;
}
.porque-card::before {
  content:''; position:absolute; top:0; left:0; right:0; height:2px;
  background: linear-gradient(to right, var(--gold), var(--red-lt));
  transform: scaleX(0); transition: transform 0.3s;
}
.porque-card:hover::before { transform: scaleX(1); }
.porque-ico { font-size: 1.6rem; display:block; margin-bottom: 16px; }
.porque-card h4 {
  font-family: var(--fhead); font-size: 0.85rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px; color: var(--white); margin-bottom: 8px;
}
.porque-card p { font-size: 0.8rem; color: var(--gray); line-height: 1.7; }

/* ═══════════════════════════════ BENEFICIOS ═══ */
#beneficios { padding: var(--sp) 0; background: var(--black); }
.beneficios-list {
  display: grid; grid-template-columns: repeat(2,1fr); gap: 14px 40px; margin-top: 16px;
}
.beneficios-list li {
  display: flex; align-items: center; gap: 14px;
  font-size: 0.92rem; color: var(--white);
  padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.06);
}
.ben-ico {
  width: 26px; height: 26px; flex-shrink: 0;
  background: var(--gold-dim); border: 1px solid rgba(201,150,12,0.35);
  color: var(--gold-lt); font-size: 0.7rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  clip-path: polygon(0 0,calc(100% - 6px) 0,100% 6px,100% 100%,0 100%);
}

/* ═══════════════════════════════ CONFIANZA ═══ */
#confianza { padding: var(--sp) 0; background: var(--c1); text-align: center; }
.confianza-grid {
  display: grid; grid-template-columns: repeat(6,1fr); gap: 2px; margin-top: 16px;
}
.confianza-item {
  background: var(--c2); padding: 32px 16px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.confianza-item span { font-size: 1.5rem; }
.confianza-item p {
  font-family: var(--fhead); font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px; color: var(--lgray); line-height: 1.4;
}

/* ═══════════════════════════════ BUSCADOR DE VEHÍCULO ═══ */
#buscador { padding: var(--sp) 0; background: var(--black); }

.finder {
  margin-top: 16px; background: var(--c2);
  border: 1px solid rgba(201,150,12,0.12);
  padding: 40px;
  clip-path: polygon(0 0,calc(100% - 24px) 0,100% 24px,100% 100%,0 100%);
  position: relative;
}
.finder::before {
  content:''; position:absolute; top:0;left:0;right:0; height:2px;
  background:linear-gradient(to right,var(--gold),var(--red-lt),transparent);
}
.finder-tabs { display: flex; gap: 10px; margin-bottom: 28px; }
.finder-tab {
  flex: 1; padding: 13px 20px; cursor: pointer;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08);
  color: var(--lgray);
  font-family: var(--fhead); font-size: 0.85rem; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  transition: all 0.2s;
}
.finder-tab:hover { border-color: rgba(201,150,12,0.35); color: var(--white); }
.finder-tab.active { background: var(--red); border-color: var(--red); color: var(--white); }

.finder-selects {
  display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; margin-bottom: 28px;
}
.finder-select {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  color: var(--white); padding: 13px 15px;
  font-family: var(--fbody); font-size: 0.85rem;
  outline: none; transition: border-color 0.2s; border-radius: 1px;
  min-width: 0; width: 100%; text-overflow: ellipsis;
}
.finder-select:disabled { opacity: 0.4; cursor: not-allowed; }
.finder-select:not(:disabled):focus { border-color: var(--gold); }
.finder-select option { background: var(--c2); }

.finder-result { min-height: 2px; }
.finder-empty {
  text-align: center; padding: 32px 0; color: var(--gray); font-size: 0.88rem;
}

.finder-card { background: var(--c1); border: 1px solid rgba(255,255,255,0.06); padding: 32px; }
.finder-card-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.finder-card-title { font-family: var(--fhero); font-size: 1.6rem; letter-spacing: 1px; color: var(--white); text-transform: uppercase; }
.finder-stage-pill {
  background: var(--gold-dim); border: 1px solid rgba(201,150,12,0.35); color: var(--gold-lt);
  font-family: var(--fhead); font-size: 0.7rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; padding: 5px 14px;
}

.finder-metrics { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; margin-bottom: 24px; }
.finder-metric { background: var(--c2); padding: 20px; text-align: center; }
.finder-metric .lbl { font-size: 0.66rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--gray); margin-bottom: 6px; }
.finder-metric .val { font-family: var(--fhero); font-size: 1.7rem; color: var(--white); letter-spacing: 1px; }
.finder-metric .val small { font-size: 0.9rem; color: var(--gray); }
.finder-metric.gain .val { color: var(--gold-lt); }

.finder-chart { margin-bottom: 24px; }
.finder-chart svg { width: 100%; height: auto; display: block; }

.finder-options { margin-bottom: 8px; }
.finder-options h5 { font-family: var(--fhead); font-size: 0.7rem; font-weight:700; text-transform: uppercase; letter-spacing: 2px; color: var(--gold); margin-bottom: 12px; }
.finder-options-list { display: grid; grid-template-columns: repeat(2,1fr); gap: 8px; }
.finder-options-list li { font-size: 0.8rem; color: var(--lgray); display: flex; align-items: center; gap: 8px; }
.finder-options-list li::before { content: '✓'; color: var(--gold); font-weight: 700; }

.finder-stages { display: flex; gap: 8px; margin-bottom: 20px; }
.finder-stage-btn {
  padding: 8px 18px; cursor: pointer;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.1);
  color: var(--lgray); font-family: var(--fhead); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase; transition: all 0.2s;
}
.finder-stage-btn.active { background: var(--gold); border-color: var(--gold); color: var(--black); }

.finder-disclaimer { margin-top: 18px; font-size: 0.74rem; color: var(--gray); text-align: center; }

/* ═══════════════════════════════ RESPONSIVE ═══ */
@media(max-width:1100px) {
  #nosotros { grid-template-columns:1fr; }
  .ns-dark { clip-path:none; padding:80px 40px; }
  .ns-red  { padding:80px 40px; }
}
@media(max-width:1040px) {
  :root { --nav-h: 114px; }
  .brand-right { display:none; }
  .brandbar-inner { justify-content:flex-start; height:62px; }
  .brand-logo img { height:36px; }
  .nav-inner { justify-content:space-between; height:50px; padding:0 20px; }
  .nav-links { display:none; }
  .nav-toggle { display:flex; }
  .nav-cta-mobile {
    display:inline-flex; align-items:center;
    background:var(--red); color:#fff; padding:9px 18px;
    font-family:var(--fhead); font-weight:800; text-transform:uppercase;
    font-size:0.74rem; letter-spacing:1px;
    clip-path:polygon(0 0,calc(100% - 8px) 0,100% 8px,100% 100%,8px 100%,0 calc(100% - 8px));
  }
  .brandbar-inner { padding:0 20px; }
  .nav-links.open {
    display:flex; flex-direction:column; align-items:flex-start;
    position:fixed; top:var(--nav-h); left:0; right:0;
    background:var(--black); padding:22px 24px; gap:4px;
    border-bottom:2px solid var(--red); z-index:999;
  }
  .nav-links.open li + li::before { display:none; }
  .nav-links.open a { padding:12px 0; font-size:0.95rem; }
}
@media(max-width:560px) {
  :root { --nav-h: 104px; }
  .brandbar-inner { height:54px; }
  .brand-logo img { height:30px; }
  .nav-inner { height:48px; }
}
@media(max-width:900px) {
  .proceso-grid { grid-template-columns:repeat(2,1fr); }
  .proceso-grid .paso::after { display:none; }
  .tool,.tool.rev { grid-template-columns:1fr; min-height:auto; }
  .tool-img,.tool.rev .tool-img { height:260px; }
  .tool-img::after,.tool.rev .tool-img::after { background:linear-gradient(to bottom,transparent 55%,var(--c2) 100%); }
  .tool.rev .tool-body { order:0; }
  .tool-body,.tool.rev .tool-body { padding:40px 32px; }
  .ct-info-row { grid-template-columns:repeat(2,1fr); }
  .ft-grid { grid-template-columns:1fr 1fr; }
  .porque-grid { grid-template-columns:repeat(2,1fr); }
  .finder-selects { grid-template-columns:repeat(2,1fr); }
  .confianza-grid { grid-template-columns:repeat(3,1fr); }
  .finder-metrics { grid-template-columns:1fr; gap:8px; }
}
@media(max-width:680px) {
  .proceso-grid { grid-template-columns:1fr; }
  .svc-row { grid-template-columns:52px 1px 1fr; }
  .svc-ico { display:none; }
  .ct-info-row { grid-template-columns:1fr; }
  .ct-form { padding:28px 22px; }
  .form-2col { grid-template-columns:1fr; }
  .ft-grid { grid-template-columns:1fr; }
  .ft-bottom { flex-direction:column; gap:14px; text-align:center; }
  .porque-grid { grid-template-columns:1fr; }
  .beneficios-list { grid-template-columns:1fr; }
  .finder-selects { grid-template-columns:1fr; }
  .confianza-grid { grid-template-columns:repeat(2,1fr); }
  .finder-options-list { grid-template-columns:1fr; }
  .finder { padding:24px; }
  .finder-card { padding:20px; }
}

/* ═══════════════════════════════ PÁGINAS LEGALES ═══ */
body:has(> .legal-top), body:has(> .blog-top) { padding-top: 0; }
.legal-top {
  position: sticky; top: 0; z-index: 100;
  background: rgba(14,14,14,0.94); backdrop-filter: blur(8px);
  box-shadow: inset 0 -2px 0 var(--red);
}
.legal-top-inner {
  max-width: 900px; margin: 0 auto; padding: 16px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.legal-top img { height: 30px; width: auto; filter: brightness(0) invert(1); }
.legal-back {
  font-family: var(--fhead); font-size: 0.78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px; color: var(--gold-lt);
}
.legal-back:hover { color: var(--red-lt); }

.legal {
  max-width: 780px; margin: 0 auto; padding: 64px 24px 100px;
}
.legal h1 {
  font-family: var(--fhead); font-weight: 800; font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: -0.5px; margin-bottom: 8px; color: var(--white);
}
.legal .legal-updated { font-size: 0.8rem; color: var(--gray); margin-bottom: 40px; }
.legal h2 {
  font-family: var(--fhead); font-weight: 700; font-size: 1.15rem;
  color: var(--red-lt); margin: 38px 0 12px; text-transform: uppercase; letter-spacing: 0.5px;
}
.legal p { color: var(--lgray); line-height: 1.85; margin-bottom: 14px; font-size: 0.95rem; }
.legal ul { list-style: disc; padding-left: 22px; margin: 0 0 16px; }
.legal li { color: var(--lgray); line-height: 1.8; margin-bottom: 6px; font-size: 0.95rem; }
.legal a { color: var(--red-lt); text-decoration: underline; }
.legal a:hover { color: var(--gold-lt); }
.legal strong { color: var(--white); }
.legal .legal-note {
  margin-top: 44px; padding: 16px 18px; font-size: 0.85rem; color: var(--gray);
  border-left: 2px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.02);
}
.legal-foot {
  border-top: 1px solid rgba(255,255,255,0.07); padding: 28px 24px; text-align: center;
  font-size: 0.8rem; color: var(--gray);
}

/* nota de estado del formulario de contacto */
.ct-form-note { margin-top: 12px; font-size: 0.82rem; line-height: 1.6; min-height: 1em; }
.ct-form-note.ok  { color: #4bd07a; }
.ct-form-note.err { color: var(--red-lt); }
.ct-form-note a   { color: inherit; text-decoration: underline; }

/* texto solo para lectores de pantalla / SEO */
.sr-only {
  position:absolute!important; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}


/* ═══════════════════════════════ BLOG / GUÍAS ═══ */
.blog-top {
  position: sticky; top: 0; z-index: 100;
  background: rgba(14,14,14,0.95); backdrop-filter: blur(8px);
  box-shadow: inset 0 -2px 0 var(--red);
}
.blog-top-inner {
  max-width: 960px; margin: 0 auto; padding: 12px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.blog-logo img { height: 30px; width: auto; filter: brightness(0) invert(1); }
.blog-nav { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.blog-nav a {
  font-family: var(--fhead); font-size: 0.74rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1px; color: var(--gold-lt);
  padding: 8px 10px; transition: color .2s;
}
.blog-nav a:hover { color: var(--red-lt); }
.blog-nav a.blog-cta {
  background: var(--red); color: #fff; padding: 8px 16px; border-radius: 2px;
  clip-path: polygon(0 0,calc(100% - 8px) 0,100% 8px,100% 100%,8px 100%,0 calc(100% - 8px));
}
.blog-nav a.blog-cta:hover { background: var(--red-dk); color: #fff; }
@media (max-width: 560px) { .blog-nav a:not(.blog-cta) { display: none; } }

.crumb {
  max-width: 760px; margin: 0 auto; padding: 28px 24px 0;
  font-family: var(--fbody); font-size: 0.78rem; color: var(--gray);
}
.crumb a { color: var(--gray); text-decoration: none; }
.crumb a:hover { color: var(--red-lt); }
.crumb span { color: var(--lgray); }

/* usa la base de .legal para tipografía; .article añade lo específico */
.article { max-width: 760px; margin: 0 auto; padding: 18px 24px 90px; }
.article .finder { max-width: 100%; padding: 26px; box-sizing: border-box; }
.article .finder-metrics { grid-template-columns: repeat(3, minmax(0,1fr)); }
@media (max-width: 620px) {
  .article .finder-metrics { grid-template-columns: 1fr; }
  .article .finder { padding: 18px; }
}
.article > .article-meta {
  font-family: var(--fbody); font-size: 0.8rem; color: var(--gray);
  margin: 6px 0 34px;
}
.article h1 {
  font-family: var(--fhead); font-weight: 800; font-size: clamp(1.9rem, 4.2vw, 2.7rem);
  line-height: 1.14; letter-spacing: -0.5px; margin-bottom: 10px; color: var(--white);
  text-wrap: balance;
}
.article h2 {
  font-family: var(--fhead); font-weight: 700; font-size: 1.28rem;
  color: var(--white); margin: 40px 0 12px; letter-spacing: -0.2px;
}
.article h3 { font-family: var(--fhead); font-weight: 700; font-size: 1.04rem; color: var(--white); margin: 26px 0 8px; }
.article p { color: var(--lgray); line-height: 1.9; margin-bottom: 16px; font-size: 1rem; }
.article ul, .article ol { color: var(--lgray); margin: 0 0 18px 22px; line-height: 1.85; }
.article li { margin-bottom: 7px; }
.article a { color: var(--red-lt); text-decoration: underline; }
.article a:hover { color: var(--gold-lt); }
.article strong { color: var(--white); }
.article .lead { font-size: 1.1rem; color: var(--lgray); }

.gain-table-wrap { overflow-x: auto; margin: 22px 0 26px; }
.gain-table {
  width: 100%; border-collapse: collapse; font-size: 0.92rem;
  font-variant-numeric: tabular-nums;
}
.gain-table caption { text-align: left; color: var(--gray); font-size: 0.78rem; margin-bottom: 8px; }
.gain-table th, .gain-table td { padding: 11px 12px; text-align: left; border-bottom: 1px solid rgba(255,255,255,0.08); }
.gain-table thead th {
  font-family: var(--fhead); text-transform: uppercase; letter-spacing: 0.5px;
  font-size: 0.7rem; color: var(--gray); border-bottom-color: rgba(255,255,255,0.15);
}
.gain-table tbody td { color: var(--lgray); }
.gain-table .g { color: var(--gold-lt); font-weight: 600; }
.gain-table tbody tr:hover { background: rgba(255,255,255,0.02); }

.article-cta {
  margin: 30px 0; padding: 22px 24px;
  background: var(--c1); border: 1px solid rgba(255,255,255,0.08);
  border-left: 2px solid var(--red); border-radius: 4px;
}
.article-cta p { margin-bottom: 14px; }
.article-cta .btns { display: flex; gap: 12px; flex-wrap: wrap; }
.article-cta a.b {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--fhead); font-weight: 700; text-transform: uppercase;
  font-size: 0.78rem; letter-spacing: 0.8px; text-decoration: none;
  padding: 11px 20px; border-radius: 2px;
  clip-path: polygon(0 0,calc(100% - 9px) 0,100% 9px,100% 100%,9px 100%,0 calc(100% - 9px));
}
.article-cta a.b-red { background: var(--red); color: #fff; }
.article-cta a.b-red:hover { background: var(--red-dk); color: #fff; }
.article-cta a.b-ghost { background: rgba(255,255,255,0.05); color: var(--white); border: 1px solid rgba(255,255,255,0.18); }
.article-cta a.b-ghost:hover { border-color: var(--red); }

.faq { margin: 34px 0 10px; }
.faq details {
  border-bottom: 1px solid rgba(255,255,255,0.09);
}
.faq summary {
  cursor: pointer; padding: 16px 30px 16px 0; position: relative;
  font-family: var(--fhead); font-weight: 600; font-size: 1rem; color: var(--white);
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; position: absolute; right: 4px; top: 14px;
  font-size: 1.3rem; color: var(--red-lt); transition: transform .2s;
}
.faq details[open] summary::after { content: '−'; }
.faq details > p { padding: 0 0 18px; margin: 0; color: var(--lgray); line-height: 1.85; }

.related { margin-top: 44px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,0.09); }
.related h2 { font-size: 1.05rem; margin: 0 0 14px; }
.related ul { list-style: none; margin: 0; }
.related li { margin-bottom: 8px; }
.related a { color: var(--red-lt); text-decoration: none; }
.related a:hover { color: var(--gold-lt); }

/* índice del blog */
.blog-index { max-width: 900px; margin: 0 auto; padding: 40px 24px 90px; }
.blog-index > h1 {
  font-family: var(--fhead); font-weight: 800; font-size: clamp(2rem, 5vw, 3rem);
  color: var(--white); letter-spacing: -0.5px; margin-bottom: 12px;
}
.blog-index > .intro { color: var(--lgray); max-width: 60ch; line-height: 1.8; margin-bottom: 40px; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.post-card {
  display: flex; flex-direction: column; gap: 8px;
  background: var(--c1); border: 1px solid rgba(255,255,255,0.08);
  border-top: 2px solid var(--red); border-radius: 4px; padding: 22px;
  text-decoration: none; transition: transform .15s, border-color .15s;
}
.post-card:hover { transform: translateY(-3px); border-top-color: var(--red-lt); }
.post-card .cat {
  font-family: var(--fhead); font-size: 0.64rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px; color: var(--gold);
}
.post-card h2 { font-family: var(--fhead); font-weight: 700; font-size: 1.08rem; color: var(--white); line-height: 1.3; }
.post-card p { color: var(--gray); font-size: 0.88rem; line-height: 1.6; margin: 0; }
.post-card .more { margin-top: auto; color: var(--red-lt); font-family: var(--fhead); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 1px; }

.blog-foot {
  border-top: 1px solid rgba(255,255,255,0.07); padding: 28px 24px 40px; text-align: center;
  font-size: 0.8rem; color: var(--gray);
}
.blog-foot a { color: var(--gray); text-decoration: none; }
.blog-foot a:hover { color: var(--red-lt); }

