/* Tema "Heltro": portada a pantalla completa con acercamiento lento, contadores,
   carrusel de servicios y cinta gigante en movimiento. Se carga encima de site.css con tema: 'heltro'. */
.tema-heltro {
  --bg: #f5f7f9;
  --card: #ffffff;
  --ink: #00111e;
  --muted: #4a5864;
  --line: #e2e8ee;
  --accent: #013a66;
  --accent-deep: #012a4b;
  --accent-soft: #e2edf6;
  --navy: #013a66;
  --cyan: #4bbedd;
  --radius: 18px;
  --head: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  font-family: 'Plus Jakarta Sans', Inter, system-ui, sans-serif;
}
.tema-heltro h1, .tema-heltro h2, .tema-heltro h3 { text-transform: none; font-weight: 600; letter-spacing: -0.03em; line-height: 1.12; }
.tema-heltro h2 { font-size: clamp(2rem, 1.3rem + 2.2vw, 3.1rem); }
.tema-heltro .firma { font-family: var(--head); text-transform: none; }
.tema-heltro .brand { text-transform: none; font-family: var(--head); }
.tema-heltro .brand-ico { background: var(--navy); }

/* Barra superior blanca a todo lo ancho */
.tema-heltro .nav { top: 0; width: 100%; border-radius: 0; padding: 10px var(--pad); background: rgba(255, 255, 255, 0.94); box-shadow: 0 1px 0 var(--line); }
.tema-heltro .nav.scrolled { box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(0, 17, 30, 0.35); }

/* Portada */
.hero-heltro {
  position: relative; isolation: isolate; display: grid; grid-template-columns: 1fr; align-content: space-between; gap: 48px;
  min-height: 100svh; max-width: none; margin: 0; padding: 150px var(--pad) 40px; color: #fff; overflow: hidden;
}
.heltro-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 65% 40%; z-index: -2; animation: acercar 26s ease-in-out infinite alternate; }
@keyframes acercar { from { transform: scale(1); } to { transform: scale(1.12); } }
.hero-heltro::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(1, 26, 46, 0.82), rgba(1, 26, 46, 0.35) 60%, rgba(1, 26, 46, 0.15)); }
.heltro-copy { max-width: 720px; }
.hero-heltro .chip { background: rgba(255, 255, 255, 0.14); color: #fff; box-shadow: none; }
.hero-heltro .dot { background: var(--cyan); box-shadow: none; }
.hero-heltro h1 { margin-top: 20px; font-size: clamp(2.8rem, 1.5rem + 4.4vw, 5rem); color: #fff; }
.hero-heltro .hero-name { color: #bfe6f3; margin-top: 14px; }
.hero-heltro .lede { color: #e4edf4; }
.hero-heltro .btn:not(.btn-glass) { background: #fff; color: var(--navy); }
.hero-heltro .btn:not(.btn-glass):hover { background: var(--accent-soft); }
.heltro-cards { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; }
.hc { margin: 0; padding: 16px 20px; border-radius: 16px; background: rgba(255, 255, 255, 0.9); color: var(--ink); display: grid; align-content: center; min-width: 170px; }
.hc strong { font-size: 2rem; font-weight: 600; letter-spacing: -0.02em; color: var(--navy); line-height: 1.1; }
.hc span { font-size: 14px; color: var(--muted); }
.hc-proof .hero-proof { margin: 0; }
.hero-heltro .cedula { margin: 0; background: rgba(255, 255, 255, 0.1); color: #dfe8ef; width: fit-content; }
.hero-heltro .cedula a { color: #fff; }
.hero-heltro .cedula .ico { color: var(--cyan); }

/* Servicios en carrusel continuo */
.tema-heltro .services { overflow: hidden; padding-top: 32px; }
.tema-heltro .services .sec-head h2 { max-width: 20ch; }
.tema-heltro .serv-grid { display: flex; gap: 18px; width: max-content; animation: marquee 50s linear infinite; }
.tema-heltro .serv-grid:hover { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 9px)); } }
.tema-heltro .serv-n, .tema-heltro .serv-photo { display: none; }
.tema-heltro .serv-card { width: 340px; min-height: 0; padding: 14px 14px 22px; background: var(--card); display: flex; flex-direction: column; gap: 10px; }
.tema-heltro .serv-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; margin-bottom: 8px; }
.tema-heltro .serv-card h3 { margin: 0 8px; font-size: 1.25rem; }
.tema-heltro .serv-card p { margin: 0 8px; }
.tema-heltro .serv-link { top: 26px; right: 26px; background: #fff; color: var(--navy); }
.tema-heltro .serv-dark { background: var(--card); color: var(--ink); }
.tema-heltro .serv-dark p { color: var(--muted); }

/* Cifras como contadores con línea arriba */
.tema-heltro .stats p { background: none; border-radius: 0; padding: 22px 0 0; border-top: 1px solid var(--line); }
.tema-heltro .stats strong { font-weight: 600; letter-spacing: -0.03em; font-size: clamp(2.2rem, 1.6rem + 1.6vw, 3.2rem); color: var(--ink); }

/* Cinta gigante */
.tema-heltro .cinta { padding: 14px 0; margin-bottom: 0; background: none; box-shadow: none; }
.tema-heltro .cinta-track { animation-duration: 38s; }
.tema-heltro .cinta span { gap: 40px; padding-right: 40px; font-size: clamp(1.6rem, 1.3rem + 1.6vw, 2.8rem); font-weight: 600; letter-spacing: -0.04em; color: var(--navy); }
.tema-heltro .cinta .ico { display: none; }
.tema-heltro .cinta span::after { content: "✳"; font-size: 0.7em; letter-spacing: 0; color: var(--cyan); }

/* Compromiso como pilares numerados */
.tema-heltro .promesas { counter-reset: p; gap: 0 40px; }
.tema-heltro .promesas li { counter-increment: p; align-items: baseline; gap: 18px; padding: 20px 0; border-radius: 0; background: none; border-top: 1px solid var(--line); }
.tema-heltro .promesas li::before { content: counter(p, decimal-leading-zero); font-size: 14px; font-weight: 400; color: var(--muted); }
.tema-heltro .promesas .ico { display: none; }
.tema-heltro .certs b { background: var(--navy); }

/* Instalaciones: una foto grande y las demás a un lado */
.tema-heltro .inst-grid { grid-auto-flow: row; grid-template-columns: 2fr 1fr; }
.tema-heltro .inst-grid figure:first-child { grid-row: span 2; aspect-ratio: auto; min-height: 70svh; }
.tema-heltro .inst-grid figure:not(:first-child) { aspect-ratio: auto; }
@media (max-width: 860px) {
  .tema-heltro .inst-grid { grid-template-columns: 1fr 1fr; }
  .tema-heltro .inst-grid figure:first-child { grid-row: auto; grid-column: 1 / -1; min-height: 0; aspect-ratio: 4 / 3; }
  .tema-heltro .inst-grid figure:not(:first-child) { aspect-ratio: 1; }
}

/* Resto de la página */
.tema-heltro .tab-list button[aria-selected="true"] { background: var(--navy); }
.tema-heltro .tl-logo { border-radius: 12px; background: var(--accent-soft); box-shadow: none; }
.tema-heltro .price-main { background: var(--navy); }
.tema-heltro .book-card { background: var(--ink); }
.tema-heltro .book-card::after { border-color: rgba(75, 190, 221, 0.3); }
.tema-heltro .checks .ico { background: var(--navy); }
.tema-heltro .foot { background: var(--ink); }

@media (max-width: 1100px) {
  .tema-heltro .nav-links { top: 100%; border-radius: 0 0 18px 18px; }
}
@media (max-width: 860px) {
  .tema-heltro .serv-card { width: 280px; }
}
@media (max-width: 560px) {
  .heltro-cards .hc { flex: 1 1 140px; min-width: 0; }
}
@media (max-width: 560px) {
  .heltro-cards .hc-proof { flex-basis: 100%; }
}
.tema-heltro .duo { padding-top: 48px; }
@media (max-width: 400px) { .heltro-cards .hc:not(.hc-proof) { flex-basis: 120px; padding: 14px 12px; } .hc strong { font-size: 1.6rem; } }
.tema-heltro section.about { padding-bottom: 32px; }
