/* ================================================================
   Guard.IA · assets/css/style.css
   Sistema de diseño completo — Lionred SAS · Mayo 2026
   Mobile-First · WCAG 2.1 AA · Core Web Vitals optimizado
================================================================ */

/* === 1. CSS CUSTOM PROPERTIES — Design Tokens === */
:root {
  /* Colors */
  --c-bg:         #0A0E1A;
  --c-bg-alt:     #0D1B3E;
  --c-card:       #1A2744;
  --c-footer:     #060912;
  --c-border:     #1E293B;
  --c-red:        #C8102E;
  --c-red-h:      #A50D25;
  --c-cyan:       #00B4D8;
  --c-cyan-h:     #0099BA;
  --c-text:       #FFFFFF;
  --c-muted:      #94A3B8;
  --c-wa:         #25D366;
  --c-wa-h:       #1EAD55;
  --c-star:       #F59E0B;

  /* Typography */
  --f-display: 'Barlow Condensed', sans-serif;
  --f-body:    'DM Sans', sans-serif;

  /* Spacing */
  --sp-xs:   .25rem;
  --sp-sm:   .5rem;
  --sp-md:   1rem;
  --sp-lg:   1.5rem;
  --sp-xl:   2rem;
  --sp-2xl:  3rem;
  --sp-3xl:  5rem;

  /* Section padding */
  --sec-pad: clamp(3.5rem, 7vw, 6rem);

  /* Layout */
  --max-w: 1200px;

  /* Borders */
  --r-card: 12px;
  --r-btn:  8px;
  --r-full: 999px;

  /* Transitions */
  --t: .22s ease;
  --t-slow: .4s ease;

  /* Shadows */
  --shadow-card: 0 4px 32px rgba(0,0,0,.45);
  --shadow-btn:  0 8px 24px rgba(200,16,46,.35);
}

/* === 2. RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a  { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; }
input, select, textarea { font-family: inherit; font-size: inherit; }
blockquote { font-style: normal; }
address { font-style: normal; }
::selection { background: var(--c-red); color: #fff; }

/* Focus visible — accesibilidad teclado */
:focus-visible {
  outline: 2px solid var(--c-cyan);
  outline-offset: 3px;
  border-radius: 4px;
}
:focus:not(:focus-visible) { outline: none; }

/* === 3. TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--f-display);
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
}
h1 { font-size: clamp(2.2rem, 5.5vw, 4.5rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); }
p  { max-width: 68ch; }

/* === 4. LAYOUT UTILITIES === */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2.5rem);
}
.section { padding-block: var(--sec-pad); }
.section--alt { background: var(--c-bg-alt); position: relative; }
.section--alt::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-border), transparent);
}
.section--cta {
  position: relative;
  overflow: hidden;
}
.section--cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 100%, rgba(200,16,46,.06) 0%, transparent 70%);
  pointer-events: none;
}

/* Grids */
.grid { display: grid; gap: 1.5rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1023px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .grid--2 { grid-template-columns: 1fr; }
  .grid--3 { grid-template-columns: 1fr; }
  .grid--4 { grid-template-columns: 1fr; }
}

/* Utilities */
.text-red  { color: var(--c-red); }
.text-cyan { color: var(--c-cyan); }
.text-muted{ color: var(--c-muted); }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute;
  top: -60px; left: 0;
  background: var(--c-cyan);
  color: #000;
  padding: .75rem 1.5rem;
  z-index: 9999;
  font-weight: 600;
  transition: top .2s;
}
.skip-link:focus { top: 0; }

/* === 5. ANIMATIONS === */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}
@keyframes pulse-ring {
  0%   { transform: scale(1); opacity: .7; }
  100% { transform: scale(1.65); opacity: 0; }
}
@keyframes scanline {
  0%   { top: -4px; }
  100% { top: 100%; }
}
@keyframes gradShift {
  0%,100% { background-position: 0% 50%; }
  50%     { background-position: 100% 50%; }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal--delay-2 { transition-delay: .2s; }
.reveal--delay-3 { transition-delay: .35s; }
.reveal--delay-4 { transition-delay: .5s; }

/* Scanline shimmer on kiosk */
.kiosk-img {
  position: relative;
  overflow: hidden;
}

/* === 6. BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: .7rem 1.5rem;
  border-radius: var(--r-btn);
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--t), border-color var(--t),
              transform var(--t), box-shadow var(--t);
  white-space: nowrap;
}
.btn-lg { padding: .85rem 2rem; font-size: 1.05rem; }
.btn--full { width: 100%; }

.btn-primary {
  background: var(--c-red);
  color: #fff;
  border-color: var(--c-red);
}
.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--c-red-h);
  border-color: var(--c-red-h);
  transform: translateY(-2px);
  box-shadow: var(--shadow-btn);
}

.btn-outline {
  background: transparent;
  color: var(--c-cyan);
  border-color: var(--c-cyan);
}
.btn-outline:hover, .btn-outline:focus-visible {
  background: rgba(0,180,216,.1);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--c-muted);
  border-color: var(--c-border);
}
.btn-ghost:hover, .btn-ghost:focus-visible {
  background: rgba(255,255,255,.05);
  color: var(--c-text);
}
.btn-outline-sm {
  background: transparent;
  color: var(--c-cyan);
  border-color: var(--c-cyan);
  padding: .55rem 1rem;
  font-size: .85rem;
}
.btn-outline-sm:hover { background: rgba(0,180,216,.1); }

/* Link-like button */
.link-btn {
  background: none;
  border: none;
  color: var(--c-muted);
  font-size: .82rem;
  transition: color var(--t);
  padding: 0;
}
.link-btn:hover { color: var(--c-cyan); }

/* === 7. BADGES === */
.badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .3rem .8rem;
  border-radius: var(--r-full);
  font-family: var(--f-display);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.badge-cyan {
  background: rgba(0,180,216,.12);
  border: 1px solid rgba(0,180,216,.3);
  color: var(--c-cyan);
}
.badge-red {
  background: rgba(200,16,46,.12);
  border: 1px solid rgba(200,16,46,.3);
  color: #ff5570;
}

/* === 8. SECTION HEADERS === */
.section-header { margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-header--center { text-align: center; }
.section-header--center .section-desc { margin-inline: auto; }
.section-eyebrow {
  font-family: var(--f-display);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--c-cyan);
  margin-bottom: .6rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.section-header--center .section-eyebrow { justify-content: center; }
.section-eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px; height: 2px;
  background: var(--c-cyan);
}
.section-header--center .section-eyebrow::before { display: none; }
.section-header h2 { margin-bottom: .85rem; }
.section-desc { color: var(--c-muted); font-size: 1.03rem; line-height: 1.7; }

/* === 9. COOKIE BANNER === */
#cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9000;
  background: rgba(10,14,26,.97);
  border-top: 1px solid var(--c-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 1.25rem;
  animation: fadeUp .4s ease;
}
[hidden] { display: none !important; }
.cookie-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.cookie-text { flex: 1; min-width: 260px; }
.cookie-text strong { display: block; margin-bottom: .25rem; font-family: var(--f-display); font-size: 1rem; }
.cookie-text p { font-size: .82rem; color: var(--c-muted); line-height: 1.5; }
.cookie-text a { color: var(--c-cyan); text-decoration: underline; }
.cookie-categories {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}
.cookie-cat {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .85rem;
  color: var(--c-muted);
  cursor: pointer;
}
.cookie-cat input[type="checkbox"] {
  accent-color: var(--c-cyan);
  width: 15px; height: 15px;
  cursor: pointer;
}
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  align-items: center;
}

/* === 10. NAVIGATION === */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: .9rem 0;
  transition: background var(--t-slow), padding var(--t), box-shadow var(--t);
}
.site-nav.is-scrolled {
  background: rgba(10,14,26,.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: .55rem 0;
  box-shadow: 0 2px 24px rgba(0,0,0,.55);
  border-bottom: 1px solid var(--c-border);
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: .5rem;
  text-decoration: none;
}
.logo-shield { flex-shrink: 0; }
.logo-text {
  font-family: var(--f-display);
  font-size: 1.6rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -.01em;
  line-height: 1;
  color: var(--c-text);
}
.logo-dot { color: var(--c-cyan); }

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}
.nav-link {
  font-family: var(--f-display);
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--c-muted);
  position: relative;
  transition: color var(--t);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 2px;
  background: var(--c-cyan);
  transition: width var(--t);
}
.nav-link:hover, .nav-link:focus-visible { color: var(--c-text); }
.nav-link:hover::after, .nav-link:focus-visible::after { width: 100%; }
.nav-link.is-active { color: var(--c-text); }
.nav-link.is-active::after { width: 100%; }

/* Nav CTA */
.nav-cta { padding: .5rem 1.25rem; font-size: .9rem; }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none;
  border: 1px solid var(--c-border);
  border-radius: 6px;
  padding: .4rem;
}
.hamburger-bar {
  display: block;
  width: 18px; height: 2px;
  background: var(--c-text);
  transition: transform var(--t), opacity var(--t);
  transform-origin: center;
}
.nav-hamburger[aria-expanded="true"] .hamburger-bar:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger[aria-expanded="true"] .hamburger-bar:nth-child(2) { opacity: 0; }
.nav-hamburger[aria-expanded="true"] .hamburger-bar:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile nav */
@media (max-width: 880px) {
  .nav-hamburger { display: flex; }
  .nav-cta { display: none; }
  .nav-links {
    display: none;
    position: fixed;
    top: 60px; left: 0; right: 0;
    flex-direction: column;
    background: rgba(10,14,26,.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--c-border);
    padding: 1.5rem var(--sp-xl);
    gap: 1.25rem;
    animation: fadeUp .25s ease;
  }
  .nav-links.is-open { display: flex; }
  .nav-links .nav-cta-mobile { display: inline-flex !important; }
}

/* === 11. HERO === */
#hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 5rem;
}
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
  opacity: .5;
}
.hero-grid-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(0,180,216,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,180,216,.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}
.hero-bottom-fade {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 220px;
  background: linear-gradient(transparent, var(--c-bg));
  z-index: 2;
  pointer-events: none;
}

.hero-layout {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding-block: 3.5rem 6rem;
}
@media (max-width: 880px) {
  .hero-layout { grid-template-columns: 1fr; text-align: center; }
}

/* Hero content */
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.25rem;
  animation: fadeUp .6s ease .05s backwards;
}
@media (max-width: 880px) { .hero-badges { justify-content: center; } }

.hero-h1 {
  margin-bottom: 1.25rem;
  animation: fadeUp .7s ease .15s backwards;
}
.hero-h1-line { display: block; }
.hero-h1-accent { color: var(--c-cyan); }

.hero-subtitle {
  font-size: clamp(.92rem, 1.8vw, 1.1rem);
  color: var(--c-muted);
  line-height: 1.7;
  margin-bottom: 1.75rem;
  max-width: 480px;
  animation: fadeUp .7s ease .25s backwards;
}
.hero-subtitle strong { color: var(--c-text); }
@media (max-width: 880px) { .hero-subtitle { max-width: 100%; } }

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin-bottom: 2.5rem;
  animation: fadeUp .7s ease .35s backwards;
}
@media (max-width: 880px) { .hero-ctas { justify-content: center; } }

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--c-border);
  animation: fadeUp .7s ease .45s backwards;
}
@media (max-width: 880px) { .hero-stats { justify-content: center; } }

.hero-stat { display: flex; flex-direction: column; }
.hero-stat-value {
  font-family: var(--f-display);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}
.hero-stat-value span { color: var(--c-cyan); }
.hero-stat-label {
  font-size: .72rem;
  color: var(--c-muted);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-top: .25rem;
}

/* Hero visual */
.hero-visual {
  animation: fadeUp .8s ease .2s backwards;
}
@media (max-width: 880px) { .hero-visual { order: -1; max-width: 300px; margin-inline: auto; } }

.hero-kiosk-frame {
  position: relative;
  max-width: 420px;
  margin-inline: auto;
}
.kiosk-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 55%; height: 55%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,180,216,.18) 0%, transparent 70%);
  pointer-events: none;
}
.kiosk-img {
  width: 100%;
  filter: drop-shadow(0 24px 60px rgba(0,180,216,.2));
  animation: float 5.5s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .kiosk-img { animation: none; }
}

/* Tech labels */
.tech-label {
  position: absolute;
  background: rgba(26,39,68,.88);
  border: 1px solid rgba(0,180,216,.28);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: .45rem .85rem;
  border-radius: 8px;
  font-family: var(--f-display);
  font-size: .73rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: .35rem;
  white-space: nowrap;
  color: var(--c-text);
  text-decoration: none;
  cursor: pointer;
  /* transición suave para el hover */
  transition:
    background   .25s ease,
    border-color .25s ease,
    color        .25s ease,
    transform    .25s ease,
    box-shadow   .25s ease,
    padding      .25s ease;
}
.tech-label:hover,
.tech-label:focus-visible {
  background:    var(--c-cyan);
  border-color:  var(--c-cyan);
  color:         #ffffff;
  transform:     scale(1.08);
  box-shadow:    0 0 20px rgba(0,180,216,.55),
                 0 4px 16px rgba(0,0,0,.4);
  padding:       .5rem 1.05rem;   /* se expande levemente */
  outline:       none;
}
.tech-label:hover .tl-dot,
.tech-label:focus-visible .tl-dot {
  background:  #ffffff;
  box-shadow:  0 0 8px #ffffff;
}
.tl-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--c-cyan);
  box-shadow: 0 0 6px var(--c-cyan);
  flex-shrink: 0;
  transition: background .25s ease, box-shadow .25s ease;
}
.tech-label--1 { top: 10%; right: -6%; animation: float 6s ease-in-out infinite .4s; }
.tech-label--2 { bottom: 22%; left: -8%; animation: float 5.5s ease-in-out infinite 1s; }
.tech-label--3 { top: 44%; right: -9%; animation: float 7s ease-in-out infinite .2s; }

/* Tablet: las etiquetas flotantes con offset negativo se recortan por el
   overflow-x:hidden del body. En vez de ocultarlas, se reposicionan dentro
   de los límites visibles del frame. */
@media (max-width: 1023px) {
  .tech-label--1 { top: 6%;   right: 2%;  left: auto; }
  .tech-label--2 { bottom: 18%; left: 2%; right: auto; }
  .tech-label--3 { top: 42%;  right: 2%;  left: auto; }
  .tech-label { font-size: .68rem; padding: .4rem .7rem; }
}

/* Mobile: el frame se reduce a max-width 300px (ver .hero-visual), así que
   las etiquetas se convierten en una fila de chips compactos debajo de la
   imagen, en vez de superpuestas (no caben dos columnas en pantallas chicas). */
@media (max-width: 880px) {
  .hero-kiosk-frame { padding-bottom: 3rem; }
  .tech-label {
    position: static;
    display: inline-flex;
    margin: .35rem .3rem 0;
    animation: none !important;
    font-size: .62rem;
    padding: .4rem .65rem;
  }
  .tech-label--1,
  .tech-label--2,
  .tech-label--3 {
    top: auto; right: auto; bottom: auto; left: auto;
  }
}
@media (max-width: 880px) {
  .hero-kiosk-frame {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tech-label--1, .tech-label--2, .tech-label--3 { animation: none; }
}

/* === 12. PROBLEMA === */
.problem-card {
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-left: 3px solid var(--c-red);
  border-radius: var(--r-card);
  padding: 1.75rem;
  transition: transform var(--t), border-color var(--t);
}
.problem-card:hover { transform: translateY(-4px); }
.problem-icon {
  width: 52px; height: 52px;
  background: rgba(200,16,46,.1);
  border: 1px solid rgba(200,16,46,.22);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.1rem;
}
.problem-icon svg { width: 24px; height: 24px; stroke: #ff5570; }
.problem-card h3 { font-size: 1.1rem; margin-bottom: .45rem; }
.problem-card p  { font-size: .9rem; color: var(--c-muted); line-height: 1.6; }

/* === 13. MODELOS === */
.modelos-grid { align-items: stretch; }
.model-card {
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--t), box-shadow var(--t);
}
.model-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
}
.model-card--featured {
  border-color: rgba(0,180,216,.38);
  box-shadow: 0 0 32px rgba(0,180,216,.08);
}
.model-card__header {
  padding: 1.5rem 1.75rem 1.1rem;
  border-bottom: 1px solid var(--c-border);
  position: relative;
  overflow: hidden;
}
.model-card__header::after {
  content: '';
  position: absolute;
  top: -20px; right: -20px;
  width: 100px; height: 100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,180,216,.06) 0%, transparent 70%);
}
.model-card--featured .model-card__header::after {
  background: radial-gradient(circle, rgba(200,16,46,.08) 0%, transparent 70%);
}
.model-tag {
  display: inline-block;
  font-family: var(--f-display);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  padding: .22rem .65rem;
  border-radius: 4px;
  margin-bottom: .6rem;
}
.model-tag--essential { background: rgba(0,180,216,.14); color: var(--c-cyan); }
.model-tag--hipro     { background: rgba(200,16,46,.14); color: #ff5570; }
.model-name     { font-size: 1.6rem; font-weight: 800; margin-bottom: .2rem; }
.model-subtitle { font-size: .88rem; color: var(--c-muted); }
.model-card__body { padding: 1.5rem 1.75rem; flex: 1; }
.model-specs { display: flex; flex-direction: column; gap: .7rem; margin-bottom: 1.5rem; }
.spec-item {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  font-size: .9rem;
  color: var(--c-muted);
  line-height: 1.45;
}
.spec-item strong { color: var(--c-text); }
.spec-icon { width: 18px; height: 18px; min-width: 18px; margin-top: 2px; stroke: var(--c-cyan); }
.spec-icon--red { stroke: #ff5570; }
.model-target {
  background: rgba(255,255,255,.03);
  border: 1px solid var(--c-border);
  border-radius: 8px;
  padding: .85rem 1rem;
}
.model-target__title {
  font-family: var(--f-display);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: .45rem;
}
.model-target li {
  font-size: .85rem;
  color: var(--c-muted);
  display: flex;
  align-items: center;
  gap: .35rem;
  padding: .15rem 0;
}
.model-target li::before { content: '→'; color: var(--c-cyan); font-weight: 700; }
.model-card__footer { padding: 0 1.75rem 1.75rem; }

/* Comparison table */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--r-card);
  border: 1px solid var(--c-border);
  margin-top: 2.5rem;
}
.compare-table { width: 100%; border-collapse: collapse; min-width: 520px; }
.compare-table th, .compare-table td {
  padding: .9rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--c-border);
  font-size: .9rem;
}
.compare-table thead th {
  background: var(--c-card);
  font-family: var(--f-display);
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: .78rem;
}
.compare-table thead th:nth-child(2) { color: var(--c-cyan); }
.compare-table thead th:nth-child(3) { color: #ff5570; }
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table tbody tr:hover td { background: rgba(255,255,255,.02); }
.compare-table td:first-child { color: var(--c-muted); }
.check { font-style: normal; font-weight: 700; font-size: 1.1rem; }
.check--cyan { color: var(--c-cyan); }
.check--red  { color: #ff5570; }
.dash        { color: var(--c-border); }

/* === 14. APP === */
.app-grid { margin-top: .5rem; }
.app-card {
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
  padding: 1.5rem;
  transition: transform var(--t), border-color var(--t);
}
.app-card:hover { transform: translateY(-4px); border-color: rgba(0,180,216,.3); }
.app-icon {
  width: 48px; height: 48px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.app-icon svg { width: 22px; height: 22px; }
.app-icon--cyan { background: rgba(0,180,216,.1); border: 1px solid rgba(0,180,216,.2); }
.app-icon--cyan svg { stroke: var(--c-cyan); }
.app-icon--red  { background: rgba(200,16,46,.1); border: 1px solid rgba(200,16,46,.2); }
.app-icon--red  svg { stroke: #ff5570; }
.app-icon--green { background: rgba(37,211,102,.1); border: 1px solid rgba(37,211,102,.2); }
.app-icon--green svg { stroke: var(--c-wa); }
.app-card h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.app-card p  { font-size: .88rem; color: var(--c-muted); line-height: 1.6; }

/* === 15. BIOMETRÍA === */
.bio-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
@media (max-width: 880px) { .bio-layout { grid-template-columns: 1fr; } }

.bio-methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .85rem;
  margin-bottom: 1.5rem;
}
.bio-method {
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: 10px;
  padding: 1.1rem;
  display: flex;
  align-items: center;
  gap: .75rem;
  transition: border-color var(--t), transform var(--t);
}
.bio-method:hover { border-color: rgba(200,16,46,.38); transform: translateY(-2px); }
.bio-method--wide { grid-column: 1 / -1; }
.bio-method__icon {
  width: 38px; height: 38px; min-width: 38px;
  background: rgba(200,16,46,.1);
  border: 1px solid rgba(200,16,46,.2);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.bio-method__icon svg { width: 18px; height: 18px; stroke: #ff5570; }
.bio-method strong {
  display: block;
  font-family: var(--f-display);
  font-size: .88rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.bio-method span { font-size: .78rem; color: var(--c-muted); }

.bio-flow__title {
  font-family: var(--f-display);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: 1rem;
}
.bio-steps {
  list-style: none;
  position: relative;
  margin-bottom: 1.5rem;
}
.bio-steps::before {
  content: '';
  position: absolute;
  left: 19px; top: 28px;
  width: 2px;
  height: calc(100% - 56px);
  background: linear-gradient(to bottom, var(--c-cyan), var(--c-red));
}
.bio-step {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .6rem 0;
}
.bio-step__num {
  width: 38px; height: 38px; min-width: 38px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: .95rem;
  position: relative; z-index: 1;
  background: rgba(0,180,216,.15);
  border: 2px solid var(--c-cyan);
  color: var(--c-cyan);
}
.bio-step__num--2 { background: rgba(0,180,216,.1); border-color: rgba(0,180,216,.4); color: var(--c-cyan); }
.bio-step__num--3 { background: rgba(120,120,220,.12); border-color: rgba(120,120,220,.4); color: #a0a0ff; }
.bio-step__num--4 { background: rgba(200,16,46,.12); border-color: rgba(200,16,46,.38); color: #ff5570; }
.bio-step__num--5 { background: rgba(200,16,46,.18); border-color: var(--c-red); color: #ff5570; }
.bio-step__info strong { display: block; font-family: var(--f-display); font-size: .95rem; text-transform: uppercase; letter-spacing: .03em; }
.bio-step__info span  { font-size: .82rem; color: var(--c-muted); }

.bio-image {
  border-radius: var(--r-card);
  overflow: hidden;
  border: 1px solid var(--c-border);
  position: relative;
}
.bio-image img { width: 100%; height: 280px; object-fit: cover; display: block; }
.bio-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 55%, var(--c-bg));
}

/* === 16. SOCIAL PROOF === */
.metrics-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
  padding: 1.75rem 2rem;
  margin-bottom: 3rem;
  text-align: center;
}
@media (max-width: 767px) { .metrics-strip { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; } }
.metric-value {
  font-family: var(--f-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--c-cyan) 0%, #007fa3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.metric-label {
  font-size: .72rem;
  color: var(--c-muted);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-top: .35rem;
}
.testimonials-grid { align-items: stretch; }
.testimonial-card {
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: transform var(--t), border-color var(--t);
}
.testimonial-card:hover { transform: translateY(-4px); border-color: rgba(0,180,216,.28); }
.stars { color: var(--c-star); font-size: 1rem; margin-bottom: .75rem; letter-spacing: 2px; }
blockquote { flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
blockquote p { font-size: .9rem; color: var(--c-muted); line-height: 1.7; margin-bottom: 1.25rem; font-style: italic; }
blockquote footer {
  display: flex;
  align-items: center;
  gap: .65rem;
}
.testimonial-avatar {
  width: 42px; height: 42px; min-width: 42px;
  border-radius: 50%;
  background: rgba(0,180,216,.15);
  color: var(--c-cyan);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}
.testimonial-avatar--red { background: rgba(200,16,46,.15); color: #ff5570; }
.testimonial-name  { display: block; font-family: var(--f-display); font-size: .92rem; font-weight: 700; text-transform: uppercase; }
.testimonial-role  { font-size: .78rem; color: var(--c-muted); }

/* === 17. FORMULARIO === */
.form-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
@media (max-width: 767px) { .form-layout { grid-template-columns: 1fr; } }

.form-info .section-eyebrow { margin-bottom: .5rem; }
.form-info h2 { margin-bottom: .85rem; }
.form-info > p { color: var(--c-muted); font-size: 1rem; margin-bottom: 1.75rem; }
.form-benefits {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  margin-bottom: 2rem;
}
.form-benefits li {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-size: .9rem;
  color: var(--c-muted);
}
.form-benefits li svg { width: 16px; height: 16px; min-width: 16px; stroke: var(--c-cyan); flex-shrink: 0; }
.contact-quick { display: flex; flex-direction: column; gap: .5rem; }
.contact-link {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .88rem;
  color: var(--c-muted);
  transition: color var(--t);
  text-decoration: none;
}
.contact-link:hover { color: var(--c-text); }
.contact-link svg { width: 16px; height: 16px; stroke: var(--c-cyan); flex-shrink: 0; }

/* Form card */
.lead-form {
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
  padding: clamp(1.5rem, 4vw, 2.25rem);
}
.form-title {
  font-family: var(--f-display);
  font-size: 1.3rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1.4rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 499px) { .form-row { grid-template-columns: 1fr; } }
.form-group { display: flex; flex-direction: column; gap: .35rem; margin-bottom: .85rem; }
.form-group label {
  font-size: .78rem;
  font-weight: 500;
  color: var(--c-muted);
  letter-spacing: .04em;
}
.req { color: #ff5570; }
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,.05);
  border: 1px solid var(--c-border);
  border-radius: 7px;
  color: var(--c-text);
  padding: .7rem .9rem;
  font-size: .92rem;
  transition: border-color var(--t), background var(--t);
  width: 100%;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--c-muted); opacity: .6; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--c-cyan);
  background: rgba(0,180,216,.06);
}
.form-group select { cursor: pointer; }
.form-group select option { background: var(--c-card); color: var(--c-text); }
.form-group textarea { resize: vertical; min-height: 90px; }
.form-group.has-error input,
.form-group.has-error select { border-color: var(--c-red); }
.form-error {
  font-size: .75rem;
  color: #ff5570;
  min-height: 1rem;
}

/* Honeypot (OWASP anti-spam) */
.honeypot-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  visibility: hidden;
  height: 0; overflow: hidden;
  pointer-events: none;
}

/* Consent */
.consent-block {
  background: rgba(255,255,255,.02);
  border: 1px solid var(--c-border);
  border-radius: 8px;
  padding: .85rem;
  margin-bottom: .75rem;
}
.consent-label {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  font-size: .8rem;
  color: var(--c-muted);
  line-height: 1.55;
  cursor: pointer;
}
.consent-checkbox {
  width: 17px; height: 17px; min-width: 17px;
  margin-top: 1px;
  accent-color: var(--c-cyan);
  cursor: pointer;
}
.consent-label a { color: var(--c-cyan); text-decoration: underline; }
.consent-block--optional { opacity: .8; }

/* Submit button */
.btn-submit { margin-top: .5rem; }
.form-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  text-align: center;
  font-size: .74rem;
  color: var(--c-muted);
  margin-top: .65rem;
}
.form-note svg { stroke: var(--c-muted); opacity: .7; }

/* Form success */
.form-success {
  text-align: center;
  padding: 2rem 1rem;
}
.form-success__icon {
  width: 60px; height: 60px;
  background: rgba(37,211,102,.12);
  border: 2px solid var(--c-wa);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
}
.form-success__icon svg { width: 28px; height: 28px; stroke: var(--c-wa); }
.form-success h3 { font-family: var(--f-display); margin-bottom: .5rem; }
.form-success p { font-size: .92rem; color: var(--c-muted); }

/* Submit loading state */
.btn-submit.is-loading {
  pointer-events: none;
  opacity: .75;
}

/* === 18. FOOTER === */
#footer {
  background: var(--c-footer);
  border-top: 1px solid var(--c-border);
  padding-block: 3rem 1.75rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 499px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand p {
  font-size: .85rem;
  color: var(--c-muted);
  line-height: 1.6;
  margin: .75rem 0 1rem;
  max-width: 300px;
}
.footer-corp {
  font-size: .78rem;
  color: var(--c-muted);
  line-height: 1.85;
}
.footer-col-title {
  font-family: var(--f-display);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: .9rem;
}
.footer-links { display: flex; flex-direction: column; gap: .45rem; }
.footer-links a {
  font-size: .85rem;
  color: var(--c-muted);
  transition: color var(--t);
}
.footer-links a:hover { color: var(--c-cyan); }
.footer-contact-list { display: flex; flex-direction: column; gap: .45rem; }
.footer-contact-link {
  display: flex;
  align-items: center;
  gap: .45rem;
  font-size: .85rem;
  color: var(--c-muted);
  transition: color var(--t);
  text-decoration: none;
}
.footer-contact-link:hover { color: var(--c-text); }
.footer-contact-link svg { width: 14px; height: 14px; stroke: var(--c-cyan); flex-shrink: 0; }
.footer-wa svg { stroke: var(--c-wa); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .85rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--c-border);
}
.footer-copy { font-size: .78rem; color: var(--c-muted); }
.footer-legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
}
.footer-legal-nav a {
  font-size: .78rem;
  color: var(--c-muted);
  transition: color var(--t);
}
.footer-legal-nav a:hover { color: var(--c-cyan); }
.footer-logo { margin-bottom: .1rem; }

/* === 19. FLOATING BUTTONS === */
.float-btn {
  position: fixed;
  bottom: 28px;
  z-index: 900;
  width: 54px; height: 54px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(0,0,0,.4);
  transition: transform .22s ease, box-shadow .22s ease;
}
.float-btn:hover, .float-btn:focus-visible { transform: scale(1.1); }
.float-btn svg { width: 24px; height: 24px; }
.float-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  animation: pulse-ring 2.2s ease-out infinite;
}
.float-wa  { left: 20px; background: var(--c-wa); }
.float-wa:hover  { box-shadow: 0 6px 26px rgba(37,211,102,.45); }
.float-wa::before  { border: 2px solid var(--c-wa); }
.float-call { right: 20px; background: var(--c-red); }
.float-call:hover { box-shadow: 0 6px 26px rgba(200,16,46,.45); }
.float-call::before { border: 2px solid var(--c-red); }
@media (prefers-reduced-motion: reduce) {
  .float-btn::before { animation: none; }
}

/* Back to top */
#back-to-top {
  position: fixed;
  bottom: 28px;
  right: 88px;
  width: 42px; height: 42px;
  background: rgba(26,39,68,.9);
  border: 1px solid var(--c-border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  z-index: 899;
  transition: opacity .3s, transform .2s;
}
#back-to-top[hidden] { display: none; }
#back-to-top svg { width: 16px; height: 16px; stroke: var(--c-muted); }
#back-to-top:hover svg { stroke: var(--c-cyan); }
#back-to-top:hover { transform: translateY(-2px); }

/* === 20. PRINT === */
@media print {
  .site-nav, .float-btn, #back-to-top, #cookie-banner,
  .hero-canvas, .hero-grid-overlay { display: none !important; }
  body { background: white; color: black; }
}

/* === 21. ORBITAL TIMELINE — App Guardian === */
.orbital-wrapper {
  position: relative;
  width: 100%;
  height: 560px;
  overflow: visible;
  margin-top: 2rem;
}
.orbital-center {
  position: absolute;
  width: 64px;
  height: 64px;
  /* top/left fijados por JS en tick() con los mismos cx/cy que los nodos */
  z-index: 10;
}
.orb-ring-1, .orb-ring-2 {
  position: absolute;
  border-radius: 50%;
  animation: orbPing 2.2s ease-out infinite;
}
.orb-ring-1 { inset: -10px; border: 1px solid rgba(0,180,216,.22); }
.orb-ring-2 { inset: -20px; border: 1px solid rgba(0,180,216,.10); animation-delay: .55s; }
.orb-core {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0D1B3E 0%, #1A2744 100%);
  border: 2px solid rgba(0,180,216,.55);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 36px rgba(0,180,216,.22);
}
.orb-core svg { width: 28px; height: 28px; }
.orbital-ring {
  position: absolute;
  /* top/left/width/height fijados por JS en tick() — exactamente sincronizados con los nodos */
  border-radius: 50%;
  border: 1px dashed rgba(255,255,255,.08);
  pointer-events: none;
}
/* Nodos — left/top se fijan vía JS en px */
.orb-node {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .3rem;
  cursor: pointer;
  user-select: none;
  transition: opacity .3s ease;
}
.orb-node:focus-visible .orb-btn {
  outline: 2px solid var(--c-cyan);
  outline-offset: 3px;
}
.orb-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.22);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10,14,26,.88);
  transition: background .25s, border-color .25s, box-shadow .25s, transform .25s;
}
.orb-btn svg { width: 18px; height: 18px; }
.orb-label {
  font-family: var(--f-display);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  white-space: nowrap;
  max-width: 96px;
  text-align: center;
  line-height: 1.2;
  transition: color .25s;
  pointer-events: none;
}
.orb-node:hover .orb-label { color: #fff; }
.orb-popup {
  position: absolute;
  top: 58px;
  left: 50%;
  transform: translateX(-50%);
  width: 230px;
  background: rgba(6,9,18,.97);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 10px;
  padding: 1rem;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 12px 48px rgba(0,0,0,.7);
  z-index: 300;
}
.orb-popup::before {
  content: '';
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 7px;
  background: rgba(255,255,255,.25);
}
.orb-popup__title {
  font-family: var(--f-display);
  font-size: .95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: .15rem;
}
.orb-popup__sub {
  font-size: .72rem;
  color: rgba(148,163,184,.75);
  margin-bottom: .6rem;
  font-style: italic;
}
.orb-popup__body {
  font-size: .8rem;
  color: #94A3B8;
  line-height: 1.55;
  margin-bottom: .75rem;
  max-width: 100%;
}
.orb-popup__energy {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .7rem;
  color: #94A3B8;
  margin-bottom: .75rem;
}
.orb-energy-bar {
  flex: 1;
  height: 3px;
  background: rgba(255,255,255,.1);
  border-radius: 2px;
  overflow: hidden;
}
.orb-energy-fill { height: 100%; border-radius: 2px; }
.orb-popup__related { font-size: .72rem; color: #94A3B8; }
.orb-popup__related > span { display: block; margin-bottom: .35rem; }
.orb-related-btns { display: flex; flex-wrap: wrap; gap: .3rem; }
.orb-rel-btn {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.65);
  font-size: .7rem;
  padding: .25rem .55rem;
  border-radius: 4px;
  cursor: pointer;
  font-family: inherit;
  transition: background .2s, border-color .2s, color .2s;
}
.orb-rel-btn:hover {
  background: rgba(0,180,216,.1);
  border-color: rgba(0,180,216,.35);
  color: var(--c-cyan);
}
.orb-popup__cta {
  display: block;
  margin-top: .8rem;
  text-align: center;
  font-family: var(--f-display);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--c-red);
  text-decoration: none;
  transition: color .2s;
}
.orb-popup__cta:hover { color: #ff5570; }
.orbital-svg {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  overflow: visible;
}
@keyframes orbPing {
  0%   { transform: scale(1);    opacity: .75; }
  100% { transform: scale(1.75); opacity: 0;   }
}
@keyframes orbPopIn {
  from { opacity: 0; transform: translateX(-50%) translateY(10px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0);    }
}
/* ── Responsive orbital ──────────────────────────────────────
   Desktop + Tablet (≥ 541px) → orbital visible
   Teléfono (≤ 540px)         → cards originales
─────────────────────────────────────────────────────────── */
.app-grid--mobile-only { display: none !important; }

/* Tablet mediana: reducir alto del wrapper y popup */
@media (max-width: 800px) {
  .orbital-wrapper { height: 460px; }
  .orb-popup       { width: 190px; font-size: .78rem; padding: .8rem; }
}

/* Tablet pequeña: reducir más */
@media (max-width: 640px) {
  .orbital-wrapper { height: 400px; }
  .orb-popup       { width: 170px; font-size: .74rem; padding: .65rem; top: 50px; }
  .orb-label       { font-size: .6rem; }
}

/* Teléfono: ocultar orbital, mostrar cards */
@media (max-width: 540px) {
  .orbital-wrapper       { display: none; }
  .app-grid--mobile-only { display: grid !important; }
}
