/* ==========================================================
   SIT · Sindicato Independiente de Transportes — hoja de estilo
   Colores tomados del logotipo: verde #078105 y azul #0A4C94
   ========================================================== */
:root {
  --azul: #0a4c94;
  --azul-osc: #0b1f3a;
  --azul-medio: #12335f;
  --verde: #078105;
  --verde-claro: #2fae2c;
  --fondo: #f4f6f9;
  --blanco: #ffffff;
  --texto: #1b2433;
  --texto-suave: #556070;
  --borde: #dde3eb;
  --radio: 14px;
  --sombra: 0 1px 2px rgba(11, 31, 58, .06), 0 8px 24px rgba(11, 31, 58, .08);
  --ancho: 1160px;
  --titulos: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --cuerpo: "Source Sans 3", "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--cuerpo);
  font-size: 17px;
  line-height: 1.6;
  color: var(--texto);
  background: var(--fondo);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--azul); }
a:hover { color: var(--verde); }
h1, h2, h3, h4 {
  font-family: var(--titulos);
  line-height: 1.05;
  margin: 0 0 .5em;
  color: var(--azul-osc);
  letter-spacing: .2px;
}
h2 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 700; }
h3 { font-size: 1.45rem; font-weight: 700; }
p { margin: 0 0 1em; }
.contenedor { width: min(100% - 2.5rem, var(--ancho)); margin-inline: auto; }
.oculto-vis { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.saltar { position: absolute; left: -999px; top: 0; background: var(--verde); color: #fff; padding: .6rem 1rem; z-index: 100; }
.saltar:focus { left: 1rem; }

/* ---------- Botones ---------- */
.boton {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .8rem 1.35rem;
  border-radius: 999px;
  font-weight: 700; font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
  font-family: var(--cuerpo);
}
.boton:hover { transform: translateY(-1px); }
.boton svg { width: 20px; height: 20px; flex: none; }
.boton-verde { background: var(--verde); color: #fff; }
.boton-verde:hover { background: #066c04; color: #fff; }
.boton-azul { background: var(--azul); color: #fff; }
.boton-azul:hover { background: #083d77; color: #fff; }
.boton-borde { border-color: rgba(255,255,255,.55); color: #fff; }
.boton-borde:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }
.boton-borde-azul { border-color: var(--azul); color: var(--azul); background: transparent; }
.boton-borde-azul:hover { background: var(--azul); color: #fff; }

/* ---------- Barra de avisos ---------- */
.aviso-top {
  background: var(--verde); color: #fff; font-size: .92rem; text-align: center;
  padding: .45rem 1rem;
}
.aviso-top a { color: #fff; font-weight: 700; }

/* ---------- Cabecera ---------- */
.cabecera {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--borde);
}
.cabecera .contenedor { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 72px; }
.marca { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--azul-osc); }
.marca .logo { width: 48px; height: 48px; flex: none; }
.marca-texto { display: flex; flex-direction: column; line-height: 1; }
.marca-texto strong { font-family: var(--titulos); font-size: 1.7rem; letter-spacing: 1px; color: var(--azul); }
.marca-texto span { font-size: .78rem; color: var(--texto-suave); font-weight: 600; letter-spacing: .3px; }
.menu { display: flex; align-items: center; gap: .25rem; }
.menu a {
  text-decoration: none; color: var(--azul-osc); font-weight: 600; font-size: .98rem;
  padding: .5rem .75rem; border-radius: 8px;
}
.menu a:hover { background: var(--fondo); color: var(--azul); }
.menu .boton { margin-left: .5rem; padding: .6rem 1.1rem; }
.menu .boton:hover { color: #fff; background: #066c04; }
.boton-menu { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; color: var(--azul-osc); }
.boton-menu svg { width: 28px; height: 28px; }

@media (max-width: 960px) {
  .boton-menu { display: block; }
  .menu {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--borde);
    padding: .5rem 1.25rem 1.25rem;
    box-shadow: 0 12px 24px rgba(11,31,58,.12);
    display: none;
  }
  .menu.abierto { display: flex; }
  .menu a { padding: .85rem .5rem; border-bottom: 1px solid var(--fondo); }
  .menu .boton { margin: .9rem 0 0; justify-content: center; }
}

/* ---------- Accesos rápidos ---------- */
.accesos { margin-top: -2.25rem; position: relative; z-index: 2; }
.accesos .rejilla { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.acceso {
  background: #fff; border-radius: var(--radio); padding: 1.25rem 1.25rem; box-shadow: var(--sombra);
  text-decoration: none; color: var(--azul-osc); display: flex; gap: .9rem; align-items: center;
  border-bottom: 4px solid transparent; transition: border-color .15s, transform .15s;
}
.acceso:hover { border-color: var(--verde); transform: translateY(-2px); color: var(--azul-osc); }
.acceso .ico { width: 46px; height: 46px; border-radius: 12px; background: #eaf1fb; color: var(--azul); display: grid; place-items: center; flex: none; }
.acceso .ico svg { width: 24px; height: 24px; }
.acceso strong { font-family: var(--titulos); font-size: 1.3rem; display: block; line-height: 1.1; }
.acceso span { font-size: .88rem; color: var(--texto-suave); }
@media (max-width: 900px) { .accesos .rejilla { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .accesos .rejilla { grid-template-columns: 1fr; } }

/* ---------- Secciones ---------- */
.seccion { padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.seccion-blanca { background: #fff; }
.cabeza-seccion { max-width: 720px; margin-bottom: 2.5rem; }
.cabeza-seccion p { color: var(--texto-suave); font-size: 1.1rem; }
.cabeza-centrada { margin-inline: auto; text-align: center; }

.pilares { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.pilar { background: #fff; border-radius: var(--radio); padding: 1.75rem; box-shadow: var(--sombra); border-top: 4px solid var(--azul); }
.pilar:nth-child(2) { border-top-color: var(--verde); }
.pilar .num { font-family: var(--titulos); font-size: 2.6rem; font-weight: 800; color: #d9e3f1; line-height: 1; margin-bottom: .5rem; }
.pilar p { color: var(--texto-suave); margin: 0; }
@media (max-width: 860px) { .pilares { grid-template-columns: 1fr; } }

/* ---------- Comunicados ---------- */
.lista-comunicados { display: grid; gap: .75rem; margin-bottom: 2.5rem; }
.comunicado {
  display: grid; grid-template-columns: auto 1fr auto; gap: 1.25rem; align-items: center;
  background: #fff; border: 1px solid var(--borde); border-radius: var(--radio); padding: 1rem 1.25rem;
  text-decoration: none; color: var(--texto);
}
.comunicado:hover { border-color: var(--azul); color: var(--texto); }
.comunicado .fecha { text-align: center; min-width: 58px; font-family: var(--titulos); color: var(--azul); line-height: 1; }
.comunicado .fecha b { display: block; font-size: 1.9rem; }
.comunicado .fecha span { font-size: .9rem; text-transform: uppercase; letter-spacing: 1px; }
.comunicado h3 { font-size: 1.25rem; margin: 0 0 .15rem; }
.comunicado p { margin: 0; color: var(--texto-suave); font-size: .95rem; }
.chip { display: inline-block; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; padding: .2rem .55rem; border-radius: 6px; background: #e8f5e8; color: #056303; margin-bottom: .3rem; }

.documentos { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1rem; }
.documento {
  background: #fff; border-radius: var(--radio); padding: 1.4rem; text-decoration: none; color: var(--texto);
  border: 1px solid var(--borde); display: flex; flex-direction: column; gap: .4rem; transition: border-color .15s, box-shadow .15s;
}
.documento:hover { border-color: var(--verde); box-shadow: var(--sombra); color: var(--texto); }
.documento .ico { width: 44px; height: 44px; border-radius: 10px; background: var(--azul); color: #fff; display: grid; place-items: center; margin-bottom: .4rem; }
.documento .ico svg { width: 22px; height: 22px; }
.documento strong { font-family: var(--titulos); font-size: 1.35rem; color: var(--azul-osc); line-height: 1.1; }
.documento span { color: var(--texto-suave); font-size: .93rem; }
.documento em { margin-top: auto; padding-top: .5rem; font-style: normal; font-weight: 700; color: var(--azul); font-size: .92rem; }

/* ---------- Afíliate ---------- */
.afiliate { background: linear-gradient(135deg, var(--azul) 0%, var(--azul-osc) 100%); color: #fff; }
.afiliate h2, .afiliate h3 { color: #fff; }
.afiliate .cabeza-seccion p { color: #cfdcef; }
.afiliate .etiqueta { color: #8fe08c; }
.pasos { list-style: none; padding: 0; margin: 0 0 2.5rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; counter-reset: paso; }
.pasos li { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radio); padding: 1.6rem; counter-increment: paso; }
.pasos li::before {
  content: counter(paso); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--verde); font-family: var(--titulos); font-weight: 800; font-size: 1.5rem; margin-bottom: 1rem;
}
.pasos p { color: #cfdcef; margin: 0; }
@media (max-width: 860px) { .pasos { grid-template-columns: 1fr; } }

/* ---------- Asesoría ---------- */
.dos-col { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
@media (max-width: 860px) { .dos-col { grid-template-columns: 1fr; gap: 2rem; } }
.horario { background: #fff; border-radius: var(--radio); box-shadow: var(--sombra); overflow: hidden; }
.horario h3 { background: var(--azul-osc); color: #fff; padding: 1rem 1.5rem; margin: 0; font-size: 1.3rem; }
.horario dl { margin: 0; padding: .5rem 1.5rem 1.25rem; }
.horario .fila { display: flex; justify-content: space-between; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--borde); }
.horario .fila:last-child { border-bottom: 0; }
.horario dt { font-weight: 700; }
.horario dd { margin: 0; color: var(--texto-suave); text-align: right; }
.check { list-style: none; padding: 0; margin: 0 0 1.75rem; }
.check li { padding-left: 2rem; position: relative; margin-bottom: .6rem; }
.check li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 1.2rem; height: 1.2rem; border-radius: 50%;
  background: var(--verde) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 70% no-repeat;
}

/* ---------- Ventajas ---------- */
.ventajas { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1.25rem; }
.ventaja-destacada { background: #fff; border-radius: 20px; padding: 2rem; box-shadow: var(--sombra); border-left: 6px solid var(--verde); }
.ventaja-destacada .chip { margin-bottom: .8rem; }
.ventajas-lista { display: grid; gap: .75rem; }
.ventaja { background: #fff; border-radius: var(--radio); padding: 1.1rem 1.3rem; border: 1px solid var(--borde); display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.ventaja strong { font-family: var(--titulos); font-size: 1.25rem; color: var(--azul-osc); }
.ventaja span { color: var(--texto-suave); font-size: .92rem; display: block; }
.ventaja a { white-space: nowrap; font-weight: 700; font-size: .92rem; }
@media (max-width: 860px) { .ventajas { grid-template-columns: 1fr; } }

/* ---------- Telegram ---------- */
.banda-telegram { background: #229ed9; color: #fff; }
.banda-telegram .contenedor { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-block: 2.5rem; flex-wrap: wrap; }
.banda-telegram h2 { color: #fff; margin: 0 0 .3rem; font-size: clamp(1.7rem, 3.5vw, 2.3rem); }
.banda-telegram p { margin: 0; color: #e6f5fc; }
.banda-telegram .boton { background: #fff; color: #1679a8; }
.banda-telegram .boton:hover { background: var(--azul-osc); color: #fff; }

/* ---------- Contacto ---------- */
.datos-contacto { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 1rem; }
.datos-contacto li { display: flex; gap: 1rem; align-items: flex-start; }
.datos-contacto .ico { width: 44px; height: 44px; border-radius: 12px; background: #eaf1fb; color: var(--azul); display: grid; place-items: center; flex: none; }
.datos-contacto .ico svg { width: 22px; height: 22px; }
.datos-contacto b { display: block; font-family: var(--titulos); font-size: 1.2rem; color: var(--azul-osc); }
.formulario { background: #fff; border-radius: 20px; padding: 2rem; box-shadow: var(--sombra); }
.formulario h3 { margin-bottom: .25rem; }
.formulario > p { color: var(--texto-suave); font-size: .95rem; }
.campo { margin-bottom: 1rem; }
.campo label { display: block; font-weight: 700; font-size: .95rem; margin-bottom: .35rem; }
.campo input, .campo textarea, .campo select {
  width: 100%; font: inherit; padding: .75rem .9rem; border: 1px solid #c8d1dd; border-radius: 10px; background: #fbfcfe; color: var(--texto);
}
.campo input:focus, .campo textarea:focus, .campo select:focus { outline: 3px solid rgba(10,76,148,.2); border-color: var(--azul); }
.campo textarea { min-height: 130px; resize: vertical; }
.fila-campos { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .fila-campos { grid-template-columns: 1fr; } }
.consentimiento { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; color: var(--texto-suave); margin: .5rem 0 1.25rem; }
.consentimiento input { margin-top: .3rem; width: 18px; height: 18px; flex: none; }
.botones-form { display: flex; gap: .7rem; flex-wrap: wrap; }
.nota-form { font-size: .85rem; color: var(--texto-suave); margin-top: 1rem; }
.error-form { color: #b42318; font-weight: 600; font-size: .92rem; display: none; margin-top: .75rem; }

/* ---------- Pie ---------- */
.pie { background: var(--azul-osc); color: #b8c6da; padding-top: 3.5rem; font-size: .95rem; }
.pie a { color: #dfe8f4; text-decoration: none; }
.pie a:hover { color: #8fe08c; }
.pie .rejilla { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2rem; padding-bottom: 2.5rem; }
.pie h4 { color: #fff; font-size: 1.2rem; margin-bottom: .9rem; }
.pie ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.pie .marca strong { color: #fff; }
.pie .marca span { color: #8fa3bf; }
.pie .lema { margin-top: 1rem; font-family: var(--titulos); font-size: 1.3rem; color: #8fe08c; text-transform: uppercase; letter-spacing: .5px; }
.redes { display: flex; gap: .5rem; margin-top: 1rem; }
.redes a { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.08); display: grid; place-items: center; }
.redes a:hover { background: var(--verde); color: #fff; }
.redes svg { width: 20px; height: 20px; }
.pie-final { border-top: 1px solid rgba(255,255,255,.1); padding-block: 1.25rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .88rem; }
@media (max-width: 860px) { .pie .rejilla { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .pie .rejilla { grid-template-columns: 1fr; } }

/* ---------- Páginas legales ---------- */
.vista-legal { display: none; }
body.modo-legal .vista-principal { display: none; }
body.modo-legal .vista-legal.activa { display: block; }
.legal { background: #fff; max-width: 860px; margin: 3rem auto; padding: clamp(1.5rem, 4vw, 3rem); border-radius: 20px; box-shadow: var(--sombra); }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3rem); }
.legal h2 { font-size: 1.6rem; margin-top: 2rem; }
.legal table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; font-size: .96rem; }
.legal th, .legal td { text-align: left; padding: .65rem .8rem; border-bottom: 1px solid var(--borde); vertical-align: top; }
.legal th { width: 34%; color: var(--azul-osc); }
.volver { display: inline-flex; gap: .4rem; align-items: center; font-weight: 700; text-decoration: none; margin-bottom: 1.5rem; }

/* ---------- Botón flotante WhatsApp ---------- */
.flotante-wa {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 25px rgba(0,0,0,.22);
}
.flotante-wa:hover { color: #fff; transform: scale(1.05); }
.flotante-wa svg { width: 30px; height: 30px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ==========================================================
   ELEMENTOS VISUALES
   ========================================================== */

/* ---------- Panel LED de parada ---------- */
.panel-led {
  display: flex; align-items: stretch; background: #0a0a0a; border-top: 3px solid #1d1d1d; border-bottom: 3px solid #1d1d1d;
  font-family: "VT323", ui-monospace, monospace; color: #ffb21c; font-size: 1.6rem; letter-spacing: 1.5px;
  text-shadow: 0 0 6px rgba(255,178,28,.55);
}
.panel-led-etiqueta { background: var(--verde); color: #fff; text-shadow: none; padding: .55rem 1.1rem; white-space: nowrap; display: flex; align-items: center; font-size: 1.35rem; }
.panel-led-ventana { overflow: hidden; flex: 1; position: relative;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1.2px); background-size: 4px 4px; }
.panel-led-texto { display: inline-flex; gap: 4rem; white-space: nowrap; padding: .55rem 0 .45rem 2rem; animation: desplazar 45s linear infinite; }
.panel-led-texto span::before { content: "● "; color: #2fae2c; text-shadow: 0 0 6px rgba(47,174,44,.6); }
.panel-led:hover .panel-led-texto { animation-play-state: paused; }
@keyframes desplazar { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 560px) { .panel-led-etiqueta { display: none; } .panel-led { font-size: 1.35rem; } }

.accesos { margin-top: 2rem; }
.acceso .ico-telegram { background: #e3f4fc; color: #229ed9; }

/* ---------- Cifras EMT ---------- */
.cifras { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.cifra {
  position: relative; overflow: hidden; border-radius: 18px; padding: 1.6rem 1.4rem; color: #fff;
  background: linear-gradient(140deg, var(--azul) 0%, var(--azul-osc) 100%);
}
.cifra:nth-child(even) { background: linear-gradient(140deg, var(--verde) 0%, #04500a 100%); }
.cifra::after { content: ""; position: absolute; right: -30px; bottom: -30px; width: 120px; height: 120px; border-radius: 50%; border: 18px solid rgba(255,255,255,.08); }
.cifra b { display: block; font-family: var(--titulos); font-size: clamp(2.6rem, 5vw, 3.6rem); font-weight: 800; line-height: 1; }
.cifra span { color: rgba(255,255,255,.85); font-weight: 600; }
.nota-cifras { font-size: .85rem; color: var(--texto-suave); margin: .8rem 0 2.5rem; }
@media (max-width: 860px) { .cifras { grid-template-columns: repeat(2, 1fr); } }

.emt-dos { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 860px) { .emt-dos { grid-template-columns: 1fr; } }
.tarjeta-emt { background: #fff; border-radius: 20px; padding: 2rem; box-shadow: var(--sombra); }
.tarjeta-emt > p { color: var(--texto-suave); }
.colectivos { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.colectivos li { display: flex; align-items: center; gap: .6rem; background: var(--fondo); border-radius: 10px; padding: .7rem .8rem; font-weight: 600; font-size: .95rem; }
.colectivos svg { width: 22px; height: 22px; color: var(--verde); flex: none; }
@media (max-width: 480px) { .colectivos { grid-template-columns: 1fr; } }

/* Línea de paradas estilo plano de metro */
.linea-paradas { list-style: none; padding: 0; margin: 1.5rem 0 0; position: relative; }
.linea-paradas::before { content: ""; position: absolute; left: 13px; top: 10px; bottom: 10px; width: 8px; border-radius: 4px; background: linear-gradient(var(--azul), var(--verde)); }
.linea-paradas li { position: relative; padding: .45rem 0 .45rem 3rem; font-family: var(--titulos); font-weight: 700; font-size: 1.35rem; color: var(--azul-osc); }
.linea-paradas li::before { content: ""; position: absolute; left: 6px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 5px solid var(--azul-osc); box-sizing: border-box; }

/* ---------- Temas del convenio ---------- */
.temas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
@media (max-width: 960px) { .temas { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .temas { grid-template-columns: 1fr; } }
.tema {
  display: flex; flex-direction: column; gap: .5rem; text-decoration: none; color: var(--texto);
  background: var(--fondo); border-radius: 18px; padding: 1.6rem; border: 2px solid transparent; transition: border-color .15s, transform .15s, background .15s;
}
.tema:hover { border-color: var(--azul); background: #fff; transform: translateY(-3px); color: var(--texto); }
.tema .ico { width: 52px; height: 52px; border-radius: 14px; background: var(--azul); color: #fff; display: grid; place-items: center; margin-bottom: .4rem; }
.tema .ico svg { width: 26px; height: 26px; }
.tema strong { font-family: var(--titulos); font-size: 1.5rem; color: var(--azul-osc); line-height: 1.1; }
.tema > span:not(.ico) { color: var(--texto-suave); font-size: .97rem; }
.tema em { margin-top: auto; padding-top: .5rem; font-style: normal; font-weight: 700; color: var(--verde); display: inline-flex; align-items: center; gap: .35rem; }
.tema em svg { width: 18px; height: 18px; transition: transform .15s; }
.tema:hover em svg { transform: translateX(4px); }
.tema-destacado { background: linear-gradient(140deg, var(--azul) 0%, var(--azul-osc) 100%); color: #fff; }
.tema-destacado:hover { background: linear-gradient(140deg, var(--azul) 0%, var(--azul-osc) 100%); border-color: var(--verde); color: #fff; }
.tema-destacado .ico { background: var(--verde); }
.tema-destacado strong { color: #fff; }
.tema-destacado > span:not(.ico) { color: #cfdcef; }
.tema-destacado em { color: #8fe08c; }

/* ---------- Profesión ---------- */
.seccion-profesion { background: var(--azul-osc); color: #fff; position: relative; overflow: hidden; }
.seccion-profesion::before { content: ""; position: absolute; inset: auto 0 0 0; height: 10px;
  background: repeating-linear-gradient(90deg, #ffb21c 0 60px, transparent 60px 100px); opacity: .5; }
.seccion-profesion h2, .seccion-profesion h3 { color: #fff; }
.seccion-profesion .cabeza-seccion p { color: #b8c6da; }
.seccion-profesion .etiqueta { color: #ffb21c; }
.caducidades { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
@media (max-width: 860px) { .caducidades { grid-template-columns: 1fr; } }
.caducidad { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 18px; padding: 1.75rem; }
.caducidad p { color: #b8c6da; }
.caducidad a { color: #8fe08c; font-weight: 700; text-decoration: none; display: inline-flex; gap: .4rem; align-items: center; }
.caducidad a svg { width: 16px; height: 16px; }
.sello {
  display: inline-grid; place-items: center; width: 84px; height: 84px; border-radius: 50%;
  border: 4px solid #ffb21c; color: #ffb21c; font-family: var(--titulos); font-weight: 800; font-size: 1.45rem;
  margin-bottom: 1rem; transform: rotate(-8deg);
}

/* ---------- Ruta de afiliación ---------- */
.ruta { list-style: none; padding: 0; margin: 0 0 2.5rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; counter-reset: paso; position: relative; }
.ruta::before { content: ""; position: absolute; top: 26px; left: 8%; right: 8%; height: 6px; border-radius: 3px; background: repeating-linear-gradient(90deg, #8fe08c 0 18px, transparent 18px 30px); }
.ruta li { position: relative; counter-increment: paso; text-align: center; padding: 0 .5rem; }
.ruta li::before {
  content: counter(paso); display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; margin: 0 auto 1rem;
  background: #fff; color: var(--azul); border: 6px solid var(--verde); font-family: var(--titulos); font-weight: 800; font-size: 1.6rem; position: relative;
}
.ruta p { color: #cfdcef; margin: 0; }
@media (max-width: 760px) {
  .ruta { grid-template-columns: 1fr; }
  .ruta::before { top: 0; bottom: 0; left: 26px; right: auto; width: 6px; height: auto; background: repeating-linear-gradient(180deg, #8fe08c 0 18px, transparent 18px 30px); }
  .ruta li { text-align: left; padding-left: 80px; min-height: 58px; }
  .ruta li::before { position: absolute; left: 0; top: 0; margin: 0; }
}

/* ---------- Enlaces útiles ---------- */
.enlaces { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
@media (max-width: 960px) { .enlaces { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .enlaces { grid-template-columns: 1fr; } }
.enlace { display: flex; gap: .9rem; align-items: center; text-decoration: none; color: var(--texto); padding: 1rem; border-radius: 14px; border: 1px solid var(--borde); background: #fff; transition: border-color .15s, box-shadow .15s; }
.enlace:hover { border-color: var(--azul); box-shadow: var(--sombra); color: var(--texto); }
.sigla { flex: none; min-width: 56px; height: 56px; padding: 0 .4rem; border-radius: 12px; background: var(--c); color: #fff; display: grid; place-items: center; font-family: var(--titulos); font-weight: 800; font-size: 1.15rem; letter-spacing: .5px; }
.enlace span { font-size: .88rem; color: var(--texto-suave); line-height: 1.35; }
.enlace strong { display: block; color: var(--azul-osc); font-size: 1rem; }

.documento .ico-verde { background: var(--verde); }

/* Aparición al hacer scroll */
.revelar { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.revelar.visto { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .revelar { opacity: 1; transform: none; }
  .panel-led-texto { animation: none; }
}

/* ==========================================================
   CABECERA CON LOGOTIPO OFICIAL Y PORTADA ESTILO WEB ACTUAL
   ========================================================== */
:root { --rojo: #d7261e; }

.cabecera-marca { background: #fff; border-bottom: 1px solid var(--borde); }
.cabecera-marca .contenedor { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .7rem; }
.marca-grande { display: flex; align-items: center; gap: 1rem; text-decoration: none; }
.logo-cabecera { width: 96px; height: 96px; flex: none; filter: drop-shadow(0 4px 10px rgba(11,31,58,.18)); }
.marca-titulo { display: flex; flex-direction: column; font-family: var(--titulos); text-transform: uppercase; line-height: .95; }
.t-verde { color: var(--verde); font-weight: 800; font-size: clamp(1.25rem, 3.2vw, 2.2rem); letter-spacing: .5px; }
.t-azul { color: var(--azul); font-weight: 800; font-size: clamp(1.25rem, 3.2vw, 2.2rem); letter-spacing: .5px; }
.t-lema { color: var(--rojo); font-weight: 700; font-size: clamp(.72rem, 1.4vw, .95rem); letter-spacing: 1.6px; margin-top: .35rem; }
.redes-cabecera { display: flex; gap: .5rem; }
.redes-cabecera a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: #fff; transition: transform .15s; }
.redes-cabecera a:hover { transform: translateY(-2px); color: #fff; }
.redes-cabecera svg { width: 22px; height: 22px; }
.r-wa { background: #25d366; } .r-tg { background: #229ed9; } .r-fb { background: #1877f2; } .r-yt { background: #e62117; }
@media (max-width: 760px) {
  .redes-cabecera { display: none; }
  .logo-cabecera { width: 72px; height: 72px; }
}

.barra-menu { position: sticky; top: 0; z-index: 50; background: var(--azul); box-shadow: 0 6px 18px rgba(11,31,58,.18); }
.barra-menu .contenedor { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 60px; position: relative; }
.logo-mini { display: flex; align-items: center; gap: .5rem; text-decoration: none; color: #fff; font-family: var(--titulos); font-weight: 800; font-size: 1.4rem; letter-spacing: 1px; }
.logo-mini img { width: 44px; height: 44px; background: #fff; border-radius: 50%; padding: 1px; }
.logo-mini:hover { color: #fff; }
.barra-menu .menu a { color: #fff; }
.barra-menu .menu a:hover { background: rgba(255,255,255,.12); color: #fff; }
.barra-menu .menu .boton { background: var(--verde); }
.barra-menu .boton-menu { color: #fff; }
@media (max-width: 960px) {
  .barra-menu .menu { top: 60px; background: var(--azul); }
  .barra-menu .menu a { border-bottom-color: rgba(255,255,255,.1); }
}

/* Bienvenida (franja azul como en la web actual) */
.bienvenida { position: relative; overflow: hidden; background: var(--azul-osc); color: #fff; text-align: center; padding-block: clamp(3rem, 7vw, 5rem); isolation: isolate; }
.bienvenida h2 { color: #fff; text-transform: uppercase; font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 400; }
.bienvenida h2 b { font-weight: 800; }
.bienvenida p { max-width: 760px; margin: 0 auto 2rem; color: #c9d6e8; font-size: 1.15rem; }
.acciones-centro { justify-content: center; }

/* Marca de agua con el logotipo */
.marca-agua { position: absolute; z-index: -1; width: 520px; max-width: 80vw; opacity: .07; left: -120px; top: 50%; transform: translateY(-50%) rotate(-12deg); pointer-events: none; filter: grayscale(.2); }
.marca-agua-dcha { left: auto; right: -140px; }
.afiliate { position: relative; overflow: hidden; isolation: isolate; }

/* Logotipo en pie y páginas legales */
.marca-pie { display: flex; align-items: center; gap: 1rem; text-decoration: none; color: #b8c6da; }
.marca-pie img { width: 110px; height: 110px; flex: none; }
.marca-pie strong { display: block; color: #fff; font-family: var(--titulos); font-size: 2rem; letter-spacing: 1px; line-height: 1; }
.logo-legal { width: 120px; height: 120px; display: block; margin: 0 0 1rem; }

/* ==========================================================
   TIPOGRAFÍA Y PORTADA DE LA WEB ACTUAL DEL SIT
   Raleway (títulos), Roboto Bold Italic (portada), Open Sans (texto)
   ========================================================== */
:root {
  --titulos: "Raleway", Arial, sans-serif;
  --cuerpo: "Open Sans", Arial, sans-serif;
  --portada: "Roboto", Arial, sans-serif;
  --azul-sit: #00305b;
}
body { font-size: 16px; }
h1, h2, h3, h4 { font-weight: 700; letter-spacing: 0; line-height: 1.15; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.25rem; }
.etiqueta { font-family: var(--titulos); }
.cifra b, .sello, .linea-paradas li, .tema strong, .documento strong, .ventaja strong, .acceso strong, .datos-contacto b, .pilar .num, .sigla, .marca-pie strong, .logo-mini { font-family: var(--titulos); }
.tema strong, .documento strong { font-size: 1.2rem; }
.acceso strong { font-size: 1.1rem; }
.linea-paradas li { font-size: 1.1rem; }
.ventaja strong, .datos-contacto b { font-size: 1.05rem; }

/* Cabecera blanca y menú blanco con letras azules, como ahora */
.t-verde, .t-azul { font-family: var(--titulos); font-weight: 800; font-size: clamp(1.05rem, 2.6vw, 1.75rem); letter-spacing: .3px; }
.t-lema { font-family: var(--titulos); font-weight: 700; }
.barra-menu { background: #fff; border-top: 1px solid var(--borde); border-bottom: 1px solid var(--borde); box-shadow: 0 4px 14px rgba(11,31,58,.06); }
.barra-menu .menu a { color: var(--azul-sit); font-family: var(--titulos); font-weight: 600; font-size: .95rem; text-transform: uppercase; letter-spacing: .3px; }
.barra-menu .menu a:hover { background: var(--fondo); color: var(--verde); }
.barra-menu .menu .boton { color: #fff; }
.barra-menu .menu .boton:hover { color: #fff; background: #066c04; }
.logo-mini { color: var(--azul-sit); }
.logo-mini:hover { color: var(--azul); }
.logo-mini img { background: none; }
.barra-menu .boton-menu { color: var(--azul-sit); }
@media (max-width: 960px) {
  .barra-menu .menu { background: #fff; }
  .barra-menu .menu a { border-bottom-color: var(--fondo); }
}

/* Franja azul de bienvenida */
.bienvenida { background: var(--azul-sit); }
.bienvenida h2 { font-family: var(--titulos); font-weight: 400; text-transform: uppercase; font-size: clamp(1.9rem, 4.2vw, 2.7rem); line-height: 1.25; }
.bienvenida h2 span { display: block; }
.bienvenida h2 b { font-weight: 700; }
.bienvenida .marca-agua { opacity: .05; }

/* ==========================================================
   PORTADA MODERNIZADA
   Mantiene: foto azulada, diagonal verde, título blanco en cursiva.
   Añade: rayas y estrellas del logotipo, movimiento, botones y sello.
   ========================================================== */
@keyframes aparecer { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes acercar { from { transform: scale(1.03); } to { transform: scale(1.12); } }

.portada-sit {
  position: relative; overflow: hidden; isolation: isolate; color: #fff;
  min-height: clamp(560px, 86vh, 780px); display: flex; align-items: center;
  background: #14244a;
}
.diapositivas { position: absolute; inset: 0; z-index: -4; }
.diapositiva { position: absolute; inset: 0; width: 100%; height: 100%; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.4s ease; }
.diapositiva.activa { opacity: 1; animation: acercar 12s ease-out forwards; }
.escena { display: block; }
.estela { stroke-dasharray: 260 140; animation: circular var(--d, 10s) linear infinite; animation-delay: calc(var(--r) * -10s); }
@keyframes circular { to { stroke-dashoffset: -800; } }

/* Tinte azul (como las fotos actuales) y degradado inferior para leer bien */
.tinte-azul { position: absolute; inset: 0; z-index: -3;
  background:
    linear-gradient(180deg, rgba(10,22,52,.15) 0%, rgba(10,22,52,0) 40%, rgba(0,30,70,.55) 100%),
    rgba(38, 62, 140, .42);
  mix-blend-mode: normal; }

/* Diagonal verde con borde nítido */
.franja-verde { position: absolute; inset: 0; z-index: -2;
  background: linear-gradient(135deg, rgba(122, 186, 60, .9) 0%, rgba(7, 129, 5, .88) 100%);
  clip-path: polygon(70% 0, 100% 0, 100% 100%, 34% 100%); }
/* Rayas blancas del logotipo a lo largo de la diagonal */
.rayas { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: repeating-linear-gradient(-55deg, rgba(255,255,255,.55) 0 5px, transparent 5px 16px);
  clip-path: polygon(64.5% 0, 69% 0, 33% 100%, 28.5% 100%); opacity: .55; }
.estrellas { position: absolute; z-index: -1; right: 4%; top: 9%; width: clamp(80px, 9vw, 130px); opacity: .9; animation: aparecer 1s ease .6s both; }

.portada-contenido { position: relative; text-align: center; padding-block: 5rem 6.5rem; }
.portada-lema {
  display: inline-flex; align-items: center; gap: .7rem; margin: 0 0 1.2rem;
  font-family: var(--titulos); font-weight: 700; text-transform: uppercase; letter-spacing: 3px; font-size: clamp(.72rem, 1.3vw, .9rem);
  background: rgba(0,0,0,.22); backdrop-filter: blur(6px); padding: .5rem 1rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.2);
  animation: aparecer .8s ease both;
}
.portada-lema::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--rojo); box-shadow: 0 0 0 4px rgba(215,38,30,.3); }
.titulo-portada {
  margin: 0 0 1.2rem; color: #fff; font-family: var(--portada); font-weight: 700; font-style: italic; text-transform: uppercase;
  font-size: clamp(2.4rem, 7.4vw, 6.4rem); line-height: 1.02; letter-spacing: -.5px;
  text-shadow: 0 6px 30px rgba(0, 10, 40, .45);
}
.titulo-portada span { display: block; animation: aparecer .9s cubic-bezier(.2,.8,.2,1) both; }
.titulo-portada span:nth-child(2) { animation-delay: .12s; }
.titulo-portada span:nth-child(3) { animation-delay: .24s; }
.portada-sub { margin: 0 auto 2rem; max-width: 40ch; font-size: clamp(1rem, 1.6vw, 1.2rem); color: rgba(255,255,255,.92); text-shadow: 0 2px 10px rgba(0,0,0,.35); animation: aparecer .9s ease .35s both; }
.portada-acciones { justify-content: center; animation: aparecer .9s ease .45s both; }
.boton-blanco { background: #fff; color: var(--azul-sit); box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.boton-blanco:hover { background: var(--verde); color: #fff; }
.boton-cristal { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.5); backdrop-filter: blur(6px); }
.boton-cristal:hover { background: rgba(255,255,255,.22); color: #fff; border-color: #fff; }

.flecha-portada { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 52px; height: 52px; border-radius: 50%; padding: 12px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.35); color: #fff; cursor: pointer; backdrop-filter: blur(6px); transition: background .15s; }
.flecha-portada:hover { background: rgba(255,255,255,.25); }
.flecha-portada svg { width: 100%; height: 100%; }
.flecha-izq { left: 1.5rem; } .flecha-dcha { right: 1.5rem; }
.puntos { position: absolute; z-index: 2; left: 50%; bottom: 1.6rem; transform: translateX(-50%); display: flex; gap: .5rem; }
.puntos button { width: 28px; height: 4px; border-radius: 2px; border: 0; padding: 0; background: rgba(255,255,255,.45); cursor: pointer; }
.puntos button[aria-current="true"] { background: #fff; width: 44px; }
.bajar { position: absolute; z-index: 2; left: 2rem; bottom: 1.6rem; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.7); border-radius: 14px; }
.bajar span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: rueda 1.8s ease-in-out infinite; }
@keyframes rueda { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* Sello con el logotipo entre la portada y la franja azul */
.bienvenida { overflow: visible; padding-top: clamp(6rem, 10vw, 7.5rem); }
.sello-logo {
  position: absolute; z-index: 3; left: 50%; top: 0; transform: translate(-50%, -50%);
  width: clamp(120px, 14vw, 170px); height: auto; border-radius: 50%; background: #fff; padding: 6px;
  box-shadow: 0 0 0 6px rgba(255,255,255,.18), 0 18px 40px rgba(0,0,0,.35);
}
.bienvenida .marca-agua { left: -160px; }
.bienvenida { isolation: isolate; }
.bienvenida > .marca-agua { overflow: hidden; }

@media (max-width: 760px) {
  .portada-sit { min-height: 600px; }
  .franja-verde { clip-path: polygon(78% 0, 100% 0, 100% 100%, 22% 100%); }
  .rayas { clip-path: polygon(73% 0, 77% 0, 21% 100%, 17% 100%); }
  .flecha-portada, .bajar { display: none; }
  .estrellas { top: 4%; right: 3%; }
  .portada-contenido { padding-block: 3.5rem 6rem; }
}
@media (prefers-reduced-motion: reduce) {
  .estela, .diapositiva.activa, .bajar span { animation: none; }
}
.bienvenida { overflow-x: clip; }
.portada-contenido { padding-bottom: 8rem; }
@media (max-width: 560px) { .portada-lema { letter-spacing: 1.5px; font-size: .68rem; } }
.portada-acciones { align-items: center; }

/* ==========================================================
   ROTULACIÓN PROPIA DEL SIT (letra del rótulo actual)
   ========================================================== */
.rotulo-cabecera { height: clamp(46px, 7vw, 78px); width: auto; display: block; }
.logo-mini { gap: .6rem; }
.rotulo-mini { height: 30px; width: auto; display: block; }
@media (max-width: 420px) { .rotulo-mini { height: 24px; } }

.portada-lema { padding: .6rem 1.1rem; letter-spacing: 0; }
.portada-lema img { height: clamp(11px, 1.4vw, 15px); width: auto; display: block; }
.titulo-portada { margin: 0 auto 1.4rem; line-height: 1; }
.titulo-portada img { display: block; width: min(92vw, 980px); height: auto; margin: 0 auto; filter: drop-shadow(0 6px 22px rgba(0, 10, 40, .5)); animation: aparecer .9s cubic-bezier(.2,.8,.2,1) .1s both; }

/* Con fotos: la foto ya lleva el tinte azul y la diagonal verde */
.con-fotos .franja-verde, .con-fotos .rayas { display: none; }
.con-fotos .tinte-azul { background: linear-gradient(180deg, rgba(10,22,52,.25) 0%, rgba(10,22,52,.05) 35%, rgba(0,30,70,.55) 100%); }
.con-fotos .diapositiva.activa { animation: acercar-suave 9s ease-out forwards; }
@keyframes acercar-suave { from { transform: scale(1); } to { transform: scale(1.06); } }

.rotulos-pie { display: grid; gap: .5rem; width: 230px; }
.rotulos-pie img { width: 100%; height: auto; display: block; }
.rotulos-pie img + img { width: 92%; opacity: .75; }

/* ---------- Empresas ---------- */
.empresas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
@media (max-width: 900px) { .empresas { grid-template-columns: 1fr; } }
.empresa { position: relative; display: block; overflow: hidden; border-radius: 20px; min-height: 380px; text-decoration: none; color: #fff; box-shadow: var(--sombra); isolation: isolate; }
.empresa img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s ease; }
.empresa::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,30,70,0) 25%, rgba(0,30,70,.92) 100%); }
.empresa:hover img { transform: scale(1.06); }
.empresa:hover { color: #fff; }
.empresa-texto { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.6rem; display: flex; flex-direction: column; gap: .35rem; }
.empresa-texto strong { font-family: var(--titulos); font-size: 1.6rem; line-height: 1.1; }
.empresa-texto > span:not(.chip) { color: rgba(255,255,255,.88); font-size: .95rem; }
.empresa-texto em { font-style: normal; font-weight: 700; color: #b9f0b5; margin-top: .3rem; }
.empresa .chip { align-self: flex-start; margin: 0; }
.chip-azul { background: #e4eefb; color: var(--azul); }
.chip-amarillo { background: #fff3c4; color: #7a5a00; }
.etiqueta { display: inline-block; font-family: var(--titulos); font-weight: 700; font-size: .85rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--verde); margin-bottom: .8rem; }
.afiliate .etiqueta, .seccion-profesion .etiqueta { color: #8fe08c; }
.seccion-profesion .etiqueta { color: #ffb21c; }
.acciones { display: flex; flex-wrap: wrap; gap: .8rem; }
.empresas { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .empresas { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .empresas { grid-template-columns: 1fr; } }
.chip-gris { background: #e9edf2; color: #33415a; }

/* ---------- Legibilidad de la portada ---------- */
.portada-lema {
  background: rgba(0, 22, 55, .82); border: 1px solid rgba(255,255,255,.25);
  padding: .75rem 1.4rem; gap: .9rem; box-shadow: 0 8px 24px rgba(0,0,0,.3);
}
.portada-lema img { height: clamp(14px, 2vw, 22px); }
.portada-lema::before { width: 12px; height: 12px; flex: none; }
/* Velo oscuro detrás del texto para que se lea sobre cualquier foto */
.portada-contenido::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 46%; transform: translate(-50%, -50%);
  width: min(1100px, 120%); height: 115%;
  background: radial-gradient(ellipse at center, rgba(0, 18, 48, .72) 0%, rgba(0, 18, 48, .5) 45%, rgba(0, 18, 48, 0) 72%);
  pointer-events: none;
}
.titulo-portada img {
  filter: drop-shadow(0 2px 0 rgba(0, 20, 50, .55)) drop-shadow(0 0 2px rgba(0, 20, 50, .6)) drop-shadow(0 10px 28px rgba(0, 10, 40, .65));
}
.portada-sub { font-weight: 600; text-shadow: 0 2px 8px rgba(0,0,0,.6); }
@media (max-width: 760px) {
  .portada-contenido::before { width: 140%; height: 100%; }
  .portada-lema { padding: .6rem 1rem; }
}
.portada-lema { margin-bottom: 1.8rem; max-width: 100%; }
.portada-lema img { max-width: 100%; }
@media (max-width: 560px) {
  .portada-lema { padding: .55rem .8rem; gap: .5rem; }
  .portada-lema img { height: auto; width: 100%; }
  .portada-lema::before { width: 9px; height: 9px; }
  .titulo-portada img { width: 96vw; }
}

/* ---------- Autoescuelas Billy ---------- */
.ventaja-billy { align-items: flex-start; border-color: var(--azul); border-width: 2px; }
.ventaja-billy .chip { margin-bottom: .4rem; }
.billy-lista { margin: .5rem 0 .6rem; padding-left: 1.1rem; font-size: .92rem; color: var(--texto); }
.billy-lista li { margin-bottom: .25rem; }
.ventaja-billy > a { margin-top: 1.6rem; }

.ventaja-billy span.chip { display: inline-block; width: auto; font-size: .72rem; }

/* Quantum (letra del rótulo del SIT): solo en las tarjetas de empresas */
@font-face { font-family: "Quantum"; src: url("../fonts/quantum-es.woff") format("woff"); font-display: swap; }
.empresa-texto strong { font-family: "Quantum", "Raleway", Arial, sans-serif; font-weight: 400; text-transform: uppercase; letter-spacing: .5px; font-size: 1.25rem; }

/* Portada: título y lema en texto (Roboto cursiva, como la web actual) */
.portada-lema { font-family: var(--titulos); font-weight: 700; text-transform: uppercase; letter-spacing: 2.5px; font-size: clamp(.72rem, 1.4vw, .95rem); color: #fff; }
.titulo-portada { font-family: var(--portada); font-weight: 700; font-style: italic; text-transform: uppercase; color: #fff;
  font-size: clamp(2.3rem, 7vw, 6rem); line-height: 1.02; letter-spacing: -.5px;
  text-shadow: 0 2px 0 rgba(0,20,50,.45), 0 8px 30px rgba(0,10,40,.6); }
.titulo-portada span { display: block; animation: aparecer .9s cubic-bezier(.2,.8,.2,1) both; }
.titulo-portada span:nth-child(2) { animation-delay: .12s; }
.titulo-portada span:nth-child(3) { animation-delay: .24s; }
@media (max-width: 560px) { .portada-lema { letter-spacing: 1.2px; font-size: .66rem; } }
