/* =========================================================================
   CCTI v2.1 (23-11-2026): pase de dirección de arte.
   Hecho entre Codex (Luna 6, revisión de código en codex/rediseno-v2/REVISION.md)
   y Fable (revisión en el navegador). Se carga después de v2.css.
   De la revisión de Codex NO se tomó: cierre claro en vez de naranja (el cierre
   naranja es el momento de marca), quitar el vidrio y el brillo de los botones
   (pedido expreso de Klaus), el punto final en títulos que son pregunta y el
   verde fuera de la pantalla de electromovilidad.
   ========================================================================= */
:root{ --ink:#101010; --txt:#4b4b4b; --line:#e7e3df; --soft:#f7f5f2; --soft-2:#efede9; --g:clamp(22px,4.2vw,56px) }
html{ scroll-padding-top:100px } :target{ scroll-margin-top:100px }
body{ line-height:1.6 }

/* cabecera: píldora blanca opaca (el logo siempre sobre blanco pleno) */
.hd-in{ background:#fff; -webkit-backdrop-filter:none; backdrop-filter:none; box-shadow:0 8px 30px -20px rgba(16,16,16,.42) }
.hd.scrolled .hd-in{ box-shadow:0 12px 34px -20px rgba(16,16,16,.48) }
.hd-nav > a, .hd-nav > .dd > button{ min-height:44px } .dd-menu{ border:1px solid var(--line) }

/* pantallas a sangre: reserva cálida mientras carga, velo mejor graduado, titulares con medida */
.scr{ background-color:#716b65 }
.scr::after{ background:linear-gradient(90deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.34) 46%, transparent 76%), linear-gradient(0deg, rgba(0,0,0,.64) 0%, transparent 56%) }
.scr.right::after{ background:linear-gradient(270deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.34) 46%, transparent 76%), linear-gradient(0deg, rgba(0,0,0,.64) 0%, transparent 56%) }
.scr.faces::after{ background:linear-gradient(0deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.4) 38%, transparent 65%) }
.scr h1, .scr h2{ max-width:13ch; font-size:clamp(2.7rem,5.7vw,5rem); letter-spacing:-.045em; line-height:.99 }
.scr h2{ font-size:clamp(2.35rem,4.8vw,4.2rem) }
.scr.faces h1{ max-width:none; font-size:clamp(2.35rem,5vw,4.55rem) }
.scr p.lede{ max-width:43ch; line-height:1.5 }
.ref{ font-size:.72rem; color:rgba(255,255,255,.9) }
.tag{ background:rgba(16,16,16,.58); -webkit-backdrop-filter:none; backdrop-filter:none; letter-spacing:.1em }

/* ritmo: menos aire muerto entre secciones y una regla tenue entre bloques blancos */
.sec{ padding:clamp(68px,8vw,116px) 0 } .sec.tight{ padding:clamp(44px,5.2vw,70px) 0 }
.sec.soft, .arc-sec{ background:var(--soft) }
main > .sec + .sec:not(.soft):not([style*="padding-top:0"]){ border-top:1px solid #f1eeea }
.head{ margin-bottom:clamp(28px,3.5vw,44px) }
.h2{ font-size:clamp(2rem,3.9vw,3.2rem); letter-spacing:-.04em; line-height:1.04 }
.lede{ line-height:1.55 } .prose p{ line-height:1.7 } .src{ font-size:.8rem; line-height:1.5 }

/* cifras: una sola superficie con divisores, en vez de cuatro números sueltos */
.stats{ gap:0; padding:clamp(14px,2vw,24px); border:1px solid #eeebe7; border-radius:20px; background:#f8f7f5 }
.sec.soft .stats{ background:#fff }
.stat{ min-width:0; padding:16px clamp(14px,2vw,28px) } .stat + .stat{ border-left:1px solid #e5e1dd }
.stat b{ font-variant-numeric:tabular-nums; font-size:clamp(2.2rem,3.8vw,3.3rem) } .stat b.sm{ font-size:clamp(1.8rem,3vw,2.6rem) } .s3 .stat b{ font-size:clamp(2.8rem,5.4vw,4.6rem) } .stat span{ font-size:.96rem; line-height:1.35 } .stat small{ font-size:.82rem; line-height:1.45 }
.wrap > .src{ padding-inline:clamp(14px,2vw,24px) }

/* tarjetas y fichas */
.cards{ gap:18px } .card{ min-height:clamp(320px,34vw,430px) }
.card::after{ background:linear-gradient(0deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.12) 68%) }
.card-in{ padding:clamp(22px,2.2vw,30px) } .card p{ line-height:1.5 } .card .go{ width:46px; height:46px }
.tile, .step{ border:1px solid #ece8e4 } .sec.soft .tile{ border-color:#eeebe7 } .quote{ border:1px solid #efebe7 }
.tile{ transition:transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s, border-color .35s }
.tile:hover{ transform:translateY(-4px); box-shadow:0 22px 44px -30px rgba(16,16,16,.4); border-color:#e2ddd8 }
.tile .n{ transition:background-color .3s, color .3s } .tile:hover .n{ background:var(--o); color:#fff }

/* botones: zona táctil cómoda (el vidrio y el brillo se mantienen) */
.btn{ min-height:48px; letter-spacing:-.01em } .btn-sm{ min-height:42px }
.btn:hover, .route:hover, .nw:hover{ box-shadow:0 18px 38px -28px rgba(16,16,16,.48) }
.btn-o:hover{ box-shadow:inset 0 1px 0 rgba(255,255,255,.45), 0 16px 30px -14px rgba(255,78,0,.8) }

/* cierre naranja: un solo anillo, más discreto, y el texto más legible */
.cta::before{ box-shadow:0 0 0 70px rgba(255,255,255,.06) } .cta p{ line-height:1.55 }

/* entradas interiores, noticias y pie */
.page-top{ padding-top:clamp(136px,14vw,178px) }
.page-top h1{ max-width:15ch; font-size:clamp(2.45rem,5vw,4.3rem); letter-spacing:-.045em; line-height:1.02 }
.news{ gap:18px } .nw{ border:1px solid #eeebe7 } .nw-in{ gap:.6rem } .nw h3{ line-height:1.28 } .nw p{ line-height:1.5 }
.ft{ background:#151515 } .ft p, .ft h4{ color:rgba(255,255,255,.76) } .ft-bot{ color:rgba(255,255,255,.72) } .ft li a{ line-height:1.5 }
.faq summary{ min-height:54px }

/* entrada del héroe: la foto se asienta y el texto sube por partes */
@keyframes kb{ from{ scale:1.07 } to{ scale:1 } }
@keyframes rise{ from{ opacity:0; transform:translateY(26px) } to{ opacity:1; transform:none } }
html.js .scr.hero .scr-bg{ animation:kb 2.6s cubic-bezier(.2,.7,.2,1) both }
html.js .scr.hero [data-r]{ opacity:1; transform:none; transition:none }
html.js .scr.hero [data-r] > *{ animation:rise .95s cubic-bezier(.2,.7,.2,1) both }
html.js .scr.hero [data-r] > :nth-child(1){ animation-delay:.15s } html.js .scr.hero [data-r] > :nth-child(2){ animation-delay:.28s }
html.js .scr.hero [data-r] > :nth-child(3){ animation-delay:.44s } html.js .scr.hero [data-r] > :nth-child(4){ animation-delay:.6s }
/* las fotos aparecen con un fundido sobre su miniatura */
html.js img[loading="lazy"]{ transition:filter .6s } html.js img.is-loading{ filter:blur(12px) saturate(1.05) }

@media (max-width:1080px){
  .stats{ grid-template-columns:repeat(2,minmax(0,1fr)) } .stat + .stat{ border-left:0 }
  .stat:nth-child(even){ border-left:1px solid #e5e1dd } .stat:nth-child(n+3){ border-top:1px solid #e5e1dd }
}
@media (max-width:760px){
  :root{ --g:22px } body{ line-height:1.58 }
  .scr h1{ font-size:clamp(2.35rem,10vw,3rem); line-height:1 } .scr h2{ font-size:clamp(2.1rem,9vw,2.8rem) } .scr.faces h1{ font-size:clamp(2.2rem,9.2vw,2.8rem) }
  .scr p.lede{ font-size:1rem; max-width:34ch } .tag{ font-size:.7rem; margin-bottom:1rem }
  .sec{ padding:62px 0 } .sec.tight{ padding:42px 0 } .head{ margin-bottom:28px } .h2{ font-size:clamp(1.95rem,8.2vw,2.55rem) }
  .stats{ padding:10px; border-radius:15px } .stat{ padding:16px 12px } .stat b{ font-size:clamp(2.05rem,9vw,2.8rem) } .stat span{ font-size:.88rem } .stat small{ font-size:.76rem }
  .s3 .stats{ grid-template-columns:1fr } .s3 .stat:nth-child(even){ border-left:0 } .s3 .stat + .stat{ border-top:1px solid #e5e1dd }
  /* servicios y operaciones: fila que se desliza con el dedo, en vez de cinco pantallas apiladas */
  .cards{ gap:12px } .card{ min-height:290px } .card-in{ padding:22px }
  .cards.c5{ display:flex; overflow-x:auto; margin-inline:calc(var(--g) * -1); padding-inline:var(--g); scroll-padding-inline:var(--g); scroll-snap-type:x mandatory; overscroll-behavior-inline:contain; scrollbar-width:none }
  .cards.c5::-webkit-scrollbar{ display:none } .cards.c5 > *{ flex:0 0 min(82vw,340px); scroll-snap-align:start; grid-column:auto !important }
  .page-top{ padding-top:126px } .page-top h1{ font-size:clamp(2.35rem,9vw,3.1rem) }
  .cta{ padding:48px 0 } .cta h2{ font-size:clamp(2.2rem,9.5vw,3rem) }
  .ft-top{ grid-template-columns:repeat(2,minmax(0,1fr)); gap:28px 16px } .ft-top > div:first-child, .ft-top > div:last-child{ grid-column:1 / -1 } .ft-bot nav{ gap:.8rem 1rem }
  /* noticias: filas con miniatura, no 33 tarjetas de pantalla completa */
  .news{ gap:10px } .nw{ display:grid; grid-template-columns:minmax(92px,31%) minmax(0,1fr); min-height:142px; border-radius:14px }
  .nw .ph{ min-height:100%; aspect-ratio:auto } .nw .ph img{ min-height:100% } .nw-in{ min-width:0; padding:13px 12px 13px 14px; gap:.35rem }
  .nw small{ font-size:.7rem; letter-spacing:.06em }
  .nw h3{ display:-webkit-box; overflow:hidden; -webkit-box-orient:vertical; -webkit-line-clamp:4; font-size:.92rem; line-height:1.22 }
  .nw p{ display:-webkit-box; overflow:hidden; -webkit-box-orient:vertical; -webkit-line-clamp:2; font-size:.8rem; line-height:1.35 }
}
@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{ scroll-behavior:auto !important; animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important }
  html.js img.is-loading{ filter:none }
}
