/* ============================================================
   MEGAWIRE — Sistema de diseño premium
   ============================================================ */

:root {
  /* PALETA */
  --navy-950: #04162E;
  --navy-900: #06203F;
  --navy-800: #0B2D5B;
  --navy-700: #133A75;
  --navy-600: #1E4E97;
  --navy-500: #2E6DC2;
  --navy-100: #E8EFFA;

  --orange-700: #C95E10;
  --orange-600: #E0721C;
  --orange-500: #F58A2E;
  --orange-400: #F8A24F;
  --orange-300: #FBC07F;
  --orange-100: #FFEDD9;

  --gold-500: #F5B83A;
  --teal-500: #2DD4BF;       /* acento secundario fresco */

  --ink: #0A1F3F;
  --text: #2D3B5C;
  --text-soft: #5C6B85;
  --muted: #8493AC;
  --line: rgba(11,29,58,.1);
  --line-soft: rgba(11,29,58,.05);
  --line-strong: rgba(11,29,58,.2);
  --bg: #FFFFFF;
  --bg-soft: #F5F7FB;
  --surface: #FFFFFF;       /* card clara */
  --surface-2: #F2F5FA;     /* card elevada / hover */
  --white: #FFFFFF;

  --success: #16A06A;
  --danger: #E2453F;

  /* TIPOGRAFÍA */
  --ff-display: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ff: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* SOMBRAS */
  --shadow-xs: 0 1px 2px rgba(11, 45, 91, .06);
  --shadow-sm: 0 4px 10px rgba(11, 45, 91, .08);
  --shadow-md: 0 14px 32px rgba(11, 45, 91, .12);
  --shadow-lg: 0 28px 60px rgba(11, 45, 91, .18);
  --shadow-glow: 0 24px 60px rgba(245, 138, 46, .35);

  /* RADIO */
  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 24px;
  --r-pill: 999px;

  /* LAYOUT */
  --container: 1240px;
  --header-h: 80px;

  /* GRADIENTES */
  --g-primary: linear-gradient(135deg, #0B2D5B 0%, #133A75 55%, #1E4E97 100%);
  --g-deep:    linear-gradient(160deg, #04162E 0%, #06203F 40%, #0B2D5B 100%);
  --g-accent:  linear-gradient(135deg, #F58A2E 0%, #F5B83A 100%);
  --g-accent-soft: linear-gradient(135deg, rgba(245,138,46,.12), rgba(245,184,58,.12));
  --g-mesh:
    radial-gradient(at 14% 18%, rgba(245,138,46,.45) 0px, transparent 45%),
    radial-gradient(at 86% 12%, rgba(46,109,194,.55) 0px, transparent 45%),
    radial-gradient(at 78% 82%, rgba(245,184,58,.35) 0px, transparent 45%),
    radial-gradient(at 22% 78%, rgba(30,78,151,.55) 0px, transparent 50%),
    linear-gradient(135deg, #04162E 0%, #06203F 50%, #0B2D5B 100%);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--ff);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s ease; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* TIPOGRAFÍA */
h1, h2, h3, h4 {
  font-family: var(--ff-display);
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.1;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.2rem; letter-spacing: -.01em; }
p { color: var(--text-soft); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--orange-600);
}
.eyebrow::before {
  content: ""; width: 24px; height: 2px;
  background: var(--g-accent); border-radius: 2px;
}

.section { padding: 100px 0; position: relative; }
.section--alt { background: var(--white); }
.section--dark { background: var(--g-deep); color: #DCE6F5; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark p { color: #B8C5DD; }

.section-header { max-width: 720px; margin: 0 auto 60px; text-align: center; }
.section-header h2 { margin-top: 14px; }
.section-header p { margin-top: 16px; font-size: 1.05rem; }

.gradient-text {
  background: var(--g-accent);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ===================================
   TOP BAR
   =================================== */
.topbar {
  background: var(--navy-950);
  color: #C0CDE5;
  font-size: .82rem;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.topbar a { color: #DCE6F5; }
.topbar a:hover { color: var(--orange-400); }
.topbar-info { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar-info span { display: inline-flex; align-items: center; gap: 6px; }
.topbar-info svg { color: var(--orange-400); }

/* ===================================
   HEADER
   =================================== */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  height: var(--header-h);
  display: flex; align-items: center;
  border-bottom: 1px solid rgba(228, 234, 243, .8);
  transition: box-shadow .2s ease;
}
.header.scrolled { box-shadow: 0 8px 24px rgba(11, 45, 91, .08); }
.header .container { display: flex; align-items: center; justify-content: space-between; width: 100%; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 52px; width: auto; }
.brand-text {
  font-family: var(--ff-display);
  font-weight: 800; color: var(--ink);
  font-size: 1.1rem; letter-spacing: .04em;
  line-height: 1;
}
.brand-text small {
  display: block; font-weight: 500;
  color: var(--muted); font-size: .66rem;
  letter-spacing: .14em; text-transform: uppercase;
  margin-top: 3px;
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 10px 14px;
  border-radius: var(--r-xs);
  font-weight: 600; font-size: .94rem;
  color: var(--text); position: relative;
  transition: color .2s ease, background .2s ease;
}
.nav a:hover { color: var(--orange-600); background: var(--orange-100); }
.nav a.active { color: var(--orange-600); }
.nav a.active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px;
  height: 2px; background: var(--g-accent); border-radius: 2px;
}
.nav-cta { margin-left: 12px; }
.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: var(--r-xs);
  background: var(--bg-soft);
  color: var(--navy-800);
  align-items: center; justify-content: center;
}
.menu-toggle svg { width: 24px; height: 24px; }

/* === DROPDOWN del menú (Normatividad) === */
.nav-dropdown { position: relative; }
.nav-dropdown > .nav-dropdown__trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.nav-dropdown__trigger .chev {
  width: 14px; height: 14px;
  transition: transform .2s ease;
}
.nav-dropdown:hover .nav-dropdown__trigger .chev,
.nav-dropdown.open .nav-dropdown__trigger .chev { transform: rotate(180deg); }
.nav-dropdown__menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 280px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 8px;
  box-shadow: 0 20px 40px -16px rgba(11,29,58,.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
  z-index: 50;
}
.nav-dropdown:hover .nav-dropdown__menu,
.nav-dropdown:focus-within .nav-dropdown__menu,
.nav-dropdown.open .nav-dropdown__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity .18s ease, transform .18s ease, visibility 0s linear 0s;
}
.nav-dropdown__menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--r-xs);
  font-size: .9rem;
  font-weight: 600;
  color: var(--text);
}
.nav-dropdown__menu a:hover {
  background: rgba(244,146,59,.08);
  color: var(--brand-orange-deep);
}
.nav-dropdown__menu a.active::after { display: none; }
.nav-dropdown__menu a .ico {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: rgba(11,72,179,.08);
  color: var(--brand-blue);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.nav-dropdown__menu a:hover .ico {
  background: rgba(244,146,59,.12);
  color: var(--brand-orange);
}
.nav-dropdown__menu a .ico svg { width: 16px; height: 16px; }
.nav-dropdown__menu a small {
  display: block;
  font-size: .72rem;
  font-weight: 500;
  color: var(--text-soft);
  margin-top: 2px;
}

/* En tablet y mobile el dropdown se aplana dentro del menú hamburguesa */
@media (max-width: 1024px) {
  .nav-dropdown__menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    padding-left: 16px;
    background: transparent;
    min-width: 0;
  }
  .nav-dropdown__trigger .chev { display: none; }
}

/* === Componentes para páginas de normatividad === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  margin-top: 36px;
}
.service-info {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px 26px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  position: relative;
}
.service-info:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(11,29,58,.18);
  border-color: rgba(244,146,59,.3);
}
.service-info .ico {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(244,146,59,.15), rgba(244,146,59,.05));
  color: var(--brand-orange);
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.service-info .ico svg { width: 26px; height: 26px; }
.service-info h3 {
  font-size: 1.1rem;
  color: var(--ink);
  margin-bottom: 10px;
}
.service-info p {
  color: var(--text-soft);
  font-size: .92rem;
  line-height: 1.6;
}
.service-info .info-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-weight: 700;
  font-size: .85rem;
  color: var(--brand-orange-deep);
}
.service-info .info-cta:hover { color: var(--brand-blue); }

/* Lista de normas legales */
.norm-category {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  margin-bottom: 22px;
}
.norm-category__head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--line);
}
.norm-category__head .norm-ico {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: grid; place-items: center;
  color: white;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-orange-deep));
}
.norm-category__head .norm-ico--blue { background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-deep)); }
.norm-category__head .norm-ico svg { width: 22px; height: 22px; }
.norm-category__head h3 { font-size: 1.2rem; color: var(--ink); margin: 0 0 4px; }
.norm-category__head p { color: var(--text-soft); font-size: .9rem; margin: 0; }

.norm-category__list { list-style: none; padding: 0; margin: 0; }
.norm-category__list li { margin-bottom: 8px; }
.norm-category__list a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--bg-soft);
  border-radius: var(--r-sm);
  transition: background .2s ease, transform .2s ease;
  color: var(--text);
}
.norm-category__list a:hover {
  background: rgba(244,146,59,.08);
  transform: translateX(4px);
}
.norm-category__list a > span:first-child { flex: 1; }
.norm-category__list strong {
  display: block;
  color: var(--ink);
  font-size: .95rem;
  margin-bottom: 2px;
}
.norm-category__list small {
  color: var(--text-soft);
  font-size: .82rem;
  line-height: 1.45;
}
.norm-category__list a > svg {
  width: 18px; height: 18px;
  color: var(--brand-orange);
  flex-shrink: 0;
}

/* Pasos numerados (procedimiento) */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}
.step-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 24px 22px;
  position: relative;
}
.step-card .step-num {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid; place-items: center;
  color: white;
  font-weight: 800;
  font-family: var(--ff-display);
  font-size: 1.1rem;
  margin-bottom: 14px;
  box-shadow: 0 8px 18px -8px rgba(244,146,59,.5);
}
.step-card.s-1 .step-num { background: linear-gradient(135deg, var(--brand-orange), var(--brand-orange-deep)); }
.step-card.s-2 .step-num { background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-deep)); }
.step-card.s-3 .step-num { background: linear-gradient(135deg, #f5b83a, #d97706); }
.step-card.s-4 .step-num { background: linear-gradient(135deg, #10b981, #047857); }
.step-card h3 { font-size: 1rem; color: var(--ink); margin-bottom: 8px; }
.step-card p { color: var(--text-soft); font-size: .9rem; line-height: 1.55; }

/* Video grid para tutoriales */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.video-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(11,29,58,.2);
}
.video-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  cursor: pointer;
  background: var(--ink);
  overflow: hidden;
}
.video-thumb img, .video-thumb iframe {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  border: 0;
}
.video-play {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background: linear-gradient(180deg, rgba(0,0,0,.1) 0%, rgba(0,0,0,.5) 100%);
  transition: background .25s ease;
}
.video-thumb:hover .video-play { background: linear-gradient(180deg, rgba(0,0,0,.05) 0%, rgba(0,0,0,.35) 100%); }
.video-play-btn {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--brand-orange);
  display: grid; place-items: center;
  color: white;
  box-shadow: 0 12px 30px rgba(244,146,59,.45);
  transition: transform .2s ease;
}
.video-thumb:hover .video-play-btn { transform: scale(1.08); }
.video-play-btn svg { width: 22px; height: 22px; margin-left: 3px; }
.video-info { padding: 20px 22px 24px; }
.video-info .video-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand-orange-deep);
  background: rgba(244,146,59,.1);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.video-info h3 { font-size: 1.05rem; color: var(--ink); margin-bottom: 8px; }
.video-info p { color: var(--text-soft); font-size: .88rem; line-height: 1.55; }

/* Highlight box (split image + texto) */
.highlight-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.highlight-split img { width: 100%; border-radius: var(--r-lg); }
.highlight-split h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 18px; color: var(--ink); }
.highlight-split p { color: var(--text-soft); line-height: 1.7; margin-bottom: 18px; }
.highlight-list { list-style: none; padding: 0; }
.highlight-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  color: var(--text);
}
.highlight-list li svg {
  width: 20px; height: 20px;
  color: var(--brand-orange);
  flex-shrink: 0;
  margin-top: 2px;
}
@media (max-width: 760px) { .highlight-split { grid-template-columns: 1fr; gap: 24px; } }

/* ===================================
   BOTONES
   =================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px;
  font-weight: 700; font-size: .95rem;
  border-radius: var(--r-sm);
  transition: transform .18s ease, box-shadow .25s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
  position: relative; overflow: hidden;
  letter-spacing: -.01em;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--g-accent); color: var(--white); box-shadow: 0 10px 24px rgba(245,138,46,.4); }
.btn-primary:hover { box-shadow: 0 14px 30px rgba(245,138,46,.55); color: var(--white); }
.btn-secondary {
  background: var(--ink); color: var(--white);
  box-shadow: 0 8px 18px rgba(14,26,46,.25);
}
.btn-secondary:hover { background: var(--navy-700); color: var(--white); }
.btn-outline {
  background: var(--white); color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn-outline:hover { border-color: var(--ink); background: var(--ink); color: var(--white); }
.btn-ghost {
  background: rgba(255,255,255,.1);
  color: var(--white);
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255,255,255,.18); color: var(--white); }
.btn-block { width: 100%; }
.btn svg { transition: transform .25s ease; }
.btn:hover svg { transform: translateX(3px); }

/* ===================================
   HERO CINEMATOGRÁFICO
   =================================== */
.hero {
  position: relative;
  min-height: 720px;
  padding: 96px 0 140px;
  background: var(--bg);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 50% 100%, rgba(245,138,46,.3), transparent 60%),
    radial-gradient(circle at 20% 30%, rgba(46,109,194,.25), transparent 50%);
  z-index: -1;
}
.hero-noise {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.18 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.7'/></svg>");
  opacity: .35; mix-blend-mode: overlay;
  z-index: -1; pointer-events: none;
}
.hero-grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  z-index: -1; pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -1px; height: 80px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  z-index: 1; pointer-events: none;
}

.hero .container {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: 60px; align-items: center;
}
.hero-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  padding: 8px 14px;
  border-radius: var(--r-pill);
  font-size: .82rem; font-weight: 600;
  backdrop-filter: blur(8px);
  margin-bottom: 22px;
  color: rgba(255,255,255,.95);
}
.hero-pill .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--teal-500);
  box-shadow: 0 0 0 4px rgba(45,212,191,.25);
  animation: blink-soft 2s ease-in-out infinite;
}
@keyframes blink-soft { 50% { opacity: .55; } }
.hero-pill svg { color: var(--orange-400); width: 14px; height: 14px; }

.hero h1 { color: var(--white); font-weight: 800; }
.hero h1 .accent { display: inline-block; }
.hero .lead {
  font-size: 1.15rem; color: #C7D4ED;
  margin: 20px 0 32px; max-width: 540px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-actions .play-btn {
  display: inline-flex; align-items: center; gap: 12px;
  color: rgba(255,255,255,.9);
  font-weight: 600; font-size: .95rem;
}
.hero-actions .play-btn .play {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  display: grid; place-items: center;
  backdrop-filter: blur(8px);
  transition: background .2s ease, transform .2s ease;
}
.hero-actions .play-btn:hover .play { background: var(--white); color: var(--ink); transform: scale(1.08); }
.hero-actions .play-btn .play svg { width: 16px; height: 16px; margin-left: 2px; }

.hero-trust {
  margin-top: 50px;
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
  color: #A9B8D2; font-size: .82rem;
}
.hero-trust strong { color: white; font-size: 1rem; }
.hero-stars {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--gold-500); font-weight: 700;
  background: rgba(255,255,255,.08);
  padding: 6px 12px; border-radius: var(--r-pill);
  border: 1px solid rgba(255,255,255,.12);
}
.hero-stars span { color: var(--white); }
.hero-avatars {
  display: flex; align-items: center;
}
.hero-avatars img, .hero-avatars .av {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 2px solid var(--navy-900);
  margin-left: -8px;
  background: var(--g-accent);
  display: grid; place-items: center;
  color: white; font-weight: 700; font-size: .8rem;
  object-fit: cover;
}
.hero-avatars > :first-child { margin-left: 0; }

/* Fondo SVG anterior (ya no se usa, queda como respaldo) */
.hero-bg-svg { display: none; }

/* FOTO de fondo del hero (familia + casa con WiFi/TV) — sin máscara, llena todo el hero */
.hero-bg-photo {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  object-position: center right;
  z-index: 0;
  pointer-events: none;
  user-select: none;
  /* Estado base = frame `from` de la animación. Sin esto, mientras el gate
     está cerrado (animation: none !important) la foto se pintaba a opacity 1
     y al abrirse el gate el fill `both` la mandaba a opacity 0 antes del
     fade-in → parpadeo visible en tablet. */
  opacity: 0;
  transform: scale(1);
  animation: hero-fade-in 1.4s cubic-bezier(.2,.7,.2,1) forwards;
  transform-origin: center;
}
@keyframes hero-fade-in {
  from { opacity: 0; transform: scale(1); }
  to   { opacity: 1; transform: scale(.96); }
}

/* Overlay del hero — sin degradado (la imagen blanca se muestra limpia) */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: none;
}

/* Ocultar ilustración SVG anterior (la foto ya muestra el escenario) */
.hero-illus { display: none; }

/* HERO VISUAL: ilustración central + columna de stats */
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1.05;
  max-width: 580px;
  margin-left: auto;
  display: grid;
}

.hero-illus {
  position: absolute;
  inset: 6% 18% 14% 0;
}
.hero-illus img {
  width: 100%; height: 100%;
  object-fit: contain;
  animation: bob 10s ease-in-out infinite;
  will-change: transform;
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.hero-illus .photo-tag {
  position: absolute; left: 0; bottom: 0;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.94);
  color: var(--ink);
  padding: 9px 14px; border-radius: var(--r-pill);
  font-size: .82rem; font-weight: 700;
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 24px rgba(4,22,46,.35);
}
.hero-illus .photo-tag .icon {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--g-accent);
  display: grid; place-items: center; color: white;
}
.hero-illus .photo-tag svg { width: 12px; height: 12px; }

/* Glass cards dispersas en el lado derecho del hero (flex column con gap garantiza no-overlap) */
.glass-stack {
  position: absolute;
  top: 26%;
  right: 60px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 36px;
  width: 240px;
}
.glass-stack .glass-card {
  animation: float 7s ease-in-out infinite;
  width: 195px;
}
.glass-stack .card-speed {
  margin-right: 200px;      /* derecha (asoma) */
  animation-delay: 0s;
}
.glass-stack .card-wifi {
  margin-right: -70px;       /* hacia adentro */
  animation-delay: .7s;
}
.glass-stack .card-tv {
  margin-right: 120px;      /* bien adentro */
  animation-delay: 1.4s;
}
.glass-stack .card-uptime {
  margin-right: 250px;       /* intermedio */
  width: 215px;
  animation-delay: 2.1s;
}
.glass-stack .card-support {
  margin-right: -20px;      /* derecha (asoma) */
  animation-delay: 2.8s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

@media (max-width: 1100px) {
  .glass-stack { gap: 22px; right: 20px; }
  .glass-stack .card-speed { margin-right: -10px; }
  .glass-stack .card-wifi { margin-right: 20px; }
  .glass-stack .card-tv { margin-right: 30px; }
  .glass-stack .card-uptime { margin-right: 10px; }
  .glass-stack .card-support { margin-right: 0; }
}

@media (max-width: 980px) {
  .glass-stack {
    width: 210px;
    right: 10px;
    gap: 16px;
  }
  .glass-stack .glass-card { width: 210px; }
  .glass-stack .card-speed,
  .glass-stack .card-wifi,
  .glass-stack .card-tv,
  .glass-stack .card-uptime,
  .glass-stack .card-support { margin-right: 0; }
  .glass-stack .card-uptime { width: 210px; }
}

.glass-card {
  background: rgba(11,45,91,.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--r-md);
  padding: 11px 13px;
  color: var(--white);
  box-shadow: 0 14px 30px rgba(4,22,46,.4);
  transition: transform .25s ease, border-color .25s ease;
}
.glass-card:hover {
  transform: translateX(-6px);
  border-color: rgba(245,184,58,.4);
}
.glass-card .row { display: flex; align-items: center; gap: 10px; }
.glass-card .icon {
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--g-accent);
  display: grid; place-items: center; color: white;
  box-shadow: 0 6px 14px rgba(245,138,46,.4);
  flex-shrink: 0;
}
.glass-card .icon svg { width: 17px; height: 17px; }
.glass-card .name { font-weight: 700; font-size: .8rem; line-height: 1.2; }
.glass-card .value { font-size: .66rem; color: #C7D4ED; margin-top: 2px; }

/* Card uptime con barras */
.glass-card.card-uptime {
  display: flex; flex-direction: column; gap: 6px;
}
.glass-card.card-uptime .row { gap: 8px; }
.glass-card.card-uptime .bar {
  display: flex; gap: 2px;
  height: 6px;
  flex: 1;
}
.glass-card.card-uptime .bar span {
  flex: 1; background: rgba(255,255,255,.18); border-radius: 2px;
}
.glass-card.card-uptime .bar span.on {
  background: var(--teal-500);
  box-shadow: 0 0 8px rgba(45,212,191,.6);
}
.glass-card.card-uptime .pct {
  font-size: 1.3rem; font-weight: 800;
  color: var(--teal-500);
  line-height: 1;
  font-family: var(--ff-display);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* STATS row inside hero */
.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px; margin-top: 56px; max-width: 540px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.hero-stats .stat .num {
  font-family: var(--ff-display);
  font-size: 2.2rem; font-weight: 800;
  background: var(--g-accent);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -.02em; line-height: 1;
}
.hero-stats .stat .label {
  font-size: .8rem; color: #A9B8D2;
  letter-spacing: .04em; text-transform: uppercase;
  margin-top: 8px;
}

/* Wave divider */
.wave-divider {
  position: relative; height: 80px; margin-top: -80px;
  z-index: 3; pointer-events: none;
}
.wave-divider svg { width: 100%; height: 100%; display: block; }

/* ===================================
   LOGOS / TRUSTED BAR
   =================================== */
.trusted {
  padding: 36px 0;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.trusted-row {
  display: flex; align-items: center; justify-content: center;
  gap: 48px; flex-wrap: wrap;
  color: var(--muted);
  font-size: .82rem;
  letter-spacing: .12em; text-transform: uppercase;
  font-weight: 700;
}
.trusted-row .item { display: inline-flex; align-items: center; gap: 8px; opacity: .65; transition: opacity .25s ease; }
.trusted-row .item:hover { opacity: 1; color: var(--ink); }
.trusted-row .item svg { width: 18px; height: 18px; }

/* ===================================
   SLIDER PROMO
   =================================== */
.promo-slider {
  margin-top: -70px;
  position: relative; z-index: 4;
}
.promo-track {
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow:
    0 30px 80px rgba(0,0,0,.5),
    0 0 0 1px var(--line),
    0 0 60px rgba(245,138,46,.08);
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
/* Borde superior con gradiente animado */
.promo-track::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--orange-500) 30%, var(--gold-500) 50%, var(--orange-500) 70%, transparent);
  background-size: 200% 100%;
  animation: promoBorderShift 6s linear infinite;
  z-index: 4;
}
@keyframes promoBorderShift {
  from { background-position: 200% 0; }
  to   { background-position: -200% 0; }
}

.promo-slide {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: stretch;
  min-height: 380px;
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.025);
  transition: opacity .6s ease, transform .8s cubic-bezier(.2,.7,.2,1);
  z-index: 1;
}
.promo-slide.active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
  z-index: 2;
}
/* Barra de progreso de autoplay sincronizada con el setInterval(6.5s) */
.promo-slide::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  height: 3px; width: 0;
  background: var(--g-accent);
  box-shadow: 0 0 14px rgba(245,138,46,.6);
  z-index: 5;
}
.promo-slide.active::after { animation: promoFill 6.5s linear forwards; }
.promo-track.paused .promo-slide.active::after,
.promo-track.paused .promo-visual img { animation-play-state: paused; }
@keyframes promoFill {
  from { width: 0; }
  to   { width: 100%; }
}

.promo-content {
  padding: 48px 52px;
  display: flex; flex-direction: column; justify-content: center; gap: 16px;
  position: relative; z-index: 2;
}
.promo-content .tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(245,138,46,.16);
  color: var(--orange-300);
  padding: 7px 16px;
  border-radius: var(--r-pill);
  font-size: .74rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em;
  width: fit-content;
  border: 1px solid rgba(245,138,46,.3);
  backdrop-filter: blur(6px);
}
.promo-content h3 {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  line-height: 1.15;
}
.promo-price {
  display: flex; align-items: baseline; gap: 6px;
  font-family: var(--ff-display);
  position: relative;
}
.promo-price .big {
  font-size: clamp(2.4rem, 4.4vw, 3.4rem);
  font-weight: 800;
  background: var(--g-accent);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  filter: drop-shadow(0 6px 20px rgba(245,138,46,.35));
}
.promo-price .per { color: var(--muted); font-weight: 500; }
.promo-content p { color: var(--text-soft); }
.promo-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }

.promo-visual {
  position: relative; overflow: hidden;
}
.promo-visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform-origin: center;
}
/* Overlay: del lado del contenido se funde con el surface (oscuro), del lado del visual queda limpio */
.promo-visual::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--surface) 0%, rgba(26,34,54,.4) 22%, transparent 55%),
    linear-gradient(180deg, transparent 60%, rgba(4,10,22,.45) 100%);
  z-index: 1;
  pointer-events: none;
}
/* Brillo radial sutil en la esquina superior */
.promo-visual::after {
  content: ""; position: absolute; top: -40%; right: -20%;
  width: 60%; height: 80%;
  background: radial-gradient(ellipse at center, rgba(245,184,58,.18), transparent 65%);
  z-index: 1; pointer-events: none;
  mix-blend-mode: screen;
}

.promo-controls {
  position: absolute; bottom: 20px; right: 22px;
  display: flex; gap: 10px; align-items: center;
  background: rgba(10,15,28,.7);
  padding: 8px 14px;
  border-radius: var(--r-pill);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 3;
  box-shadow: 0 10px 30px rgba(0,0,0,.4);
  border: 1px solid rgba(255,255,255,.12);
}
.promo-controls button {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: var(--ink);
  display: grid; place-items: center;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.promo-controls button:hover {
  background: var(--g-accent);
  color: white;
  transform: scale(1.08);
}
.promo-dots { display: flex; gap: 7px; padding: 0 6px; }
.promo-dots span {
  width: 8px; height: 8px;
  border-radius: 50%; background: rgba(255,255,255,.25);
  cursor: pointer; transition: all .3s ease;
}
.promo-dots span:hover { background: rgba(255,255,255,.5); }
.promo-dots span.active {
  background: var(--orange-500);
  width: 28px; border-radius: var(--r-pill);
  box-shadow: 0 0 12px rgba(245,138,46,.6);
}

/* ===================================
   SERVICIOS
   =================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--white);
  border-radius: var(--r-md);
  padding: 38px 32px;
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.service-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--g-accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s ease;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card .icon {
  width: 64px; height: 64px;
  border-radius: var(--r-md);
  background: var(--g-accent-soft);
  color: var(--orange-600);
  display: grid; place-items: center;
  margin-bottom: 22px;
  transition: transform .3s ease;
}
.service-card:hover .icon { transform: scale(1.08) rotate(-4deg); }
.service-card .icon svg { width: 30px; height: 30px; }
.service-card h3 { margin-bottom: 10px; font-size: 1.25rem; }
.service-card p { font-size: .95rem; }
.service-card ul { margin-top: 18px; list-style: none; }
.service-card ul li {
  font-size: .92rem;
  padding: 7px 0;
  display: flex; align-items: center; gap: 10px;
  color: var(--text);
}
.service-card ul li::before {
  content: ""; flex-shrink: 0;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(22,160,106,.12);
  color: var(--success);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316A06A' stroke-width='3'><polyline points='20 6 9 17 4 12'/></svg>");
  background-position: center; background-size: 60% 60%; background-repeat: no-repeat;
}

/* ===================================
   PLANES
   =================================== */
.plans-tabs {
  display: flex; gap: 6px; justify-content: center;
  background: var(--white);
  padding: 6px;
  border-radius: var(--r-pill);
  width: fit-content;
  margin: 0 auto 50px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}
.plans-tabs button {
  padding: 11px 26px;
  border-radius: var(--r-pill);
  font-weight: 700; font-size: .92rem;
  color: var(--muted);
  transition: all .25s ease;
}
.plans-tabs button.active {
  background: var(--ink); color: var(--white);
  box-shadow: 0 6px 14px rgba(14,26,46,.25);
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 22px;
}
.plans-subtitle {
  font-family: var(--ff-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  margin: 8px 0 18px;
  padding-left: 14px;
  border-left: 4px solid var(--brand-orange);
  letter-spacing: -.01em;
}
.plans-subtitle--alt {
  border-left-color: var(--brand-blue);
  margin-top: 48px;
}
.plan-card {
  background: var(--white);
  border-radius: var(--r-md);
  padding: 34px 28px;
  border: 1px solid var(--line);
  position: relative;
  display: flex; flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.plan-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.plan-card.featured {
  border-color: transparent;
  background: linear-gradient(180deg, #fff 0%, #FFF7EF 100%);
  box-shadow: 0 22px 50px rgba(245,138,46,.18);
  outline: 2px solid var(--orange-500);
  outline-offset: -2px;
}
.plan-card .badge {
  position: absolute; top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--g-accent);
  color: white; font-weight: 700; font-size: .72rem;
  padding: 7px 16px; border-radius: var(--r-pill);
  letter-spacing: .14em; text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(245,138,46,.4);
}
.plan-card .name {
  font-weight: 700; color: var(--orange-600);
  font-size: .82rem; text-transform: uppercase;
  letter-spacing: .12em; margin-bottom: 14px;
}
.plan-card .speed {
  font-family: var(--ff-display);
  font-size: 2.8rem; font-weight: 800;
  color: var(--ink);
  line-height: 1; letter-spacing: -.04em;
}
.plan-card .speed small { font-size: 1rem; color: var(--muted); font-weight: 600; }
.plan-card .price {
  font-family: var(--ff-display);
  font-size: 2rem; font-weight: 800; color: var(--navy-800);
  margin: 20px 0 0;
  line-height: 1.1;
}
.plan-card .price small { font-size: .9rem; color: var(--muted); font-weight: 500; }
.plan-card ul {
  list-style: none; margin: 22px 0; padding: 22px 0 0;
  border-top: 1px solid var(--line);
  flex: 1;
}
.plan-card ul li {
  font-size: .93rem;
  display: flex; align-items: center; gap: 10px;
  padding: 7px 0;
  color: var(--text);
}
.plan-card ul li svg { width: 16px; height: 16px; color: var(--success); flex-shrink: 0; }

/* ===================================
   LIFESTYLE / VIVE CONECTADO
   =================================== */
.lifestyle-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.lifestyle-card {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  min-height: 380px;
  background: var(--navy-800);
  display: flex; flex-direction: column; justify-content: flex-end;
  cursor: pointer;
  transition: transform .35s ease, box-shadow .35s ease;
  isolation: isolate;
}
.lifestyle-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.lifestyle-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
  z-index: -1;
}
.lifestyle-card:hover img { transform: scale(1.08); }
.lifestyle-card::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, transparent 30%, rgba(4,22,46,.5) 60%, rgba(4,22,46,.92) 100%);
  z-index: -1;
}
.lifestyle-card .lf-content {
  padding: 26px;
  color: white;
}
.lifestyle-card .lf-content h3 { color: white; font-size: 1.2rem; margin-bottom: 8px; }
.lifestyle-card .lf-content p { color: rgba(255,255,255,.8); font-size: .92rem; }
.lifestyle-card .lf-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
  display: grid; place-items: center;
  color: white;
  margin-bottom: 12px;
  border: 1px solid rgba(255,255,255,.18);
}
.lifestyle-card .lf-icon svg { width: 22px; height: 22px; }
.lifestyle-card .lf-arrow {
  position: absolute; top: 22px; right: 22px;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  backdrop-filter: blur(8px);
  display: grid; place-items: center;
  color: white;
  transition: background .25s ease, transform .3s ease;
  border: 1px solid rgba(255,255,255,.2);
}
.lifestyle-card:hover .lf-arrow { background: var(--orange-500); transform: rotate(-45deg) scale(1.05); border-color: var(--orange-500); }
.lifestyle-card .lf-arrow svg { width: 16px; height: 16px; }

@media (max-width: 980px) { .lifestyle-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .lifestyle-grid { grid-template-columns: 1fr; } .lifestyle-card { min-height: 320px; } }

/* ===================================
   GALERÍA
   =================================== */
/* Galería tipo catálogo limpio — 4 columnas uniformes, imagen arriba + texto debajo */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: auto;
  gap: 22px;
}
.gallery-item {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s ease, border-color .3s ease;
  box-shadow: 0 4px 14px rgba(11,29,58,.06);
  display: flex;
  flex-direction: column;
  isolation: isolate;
}
.gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 50px rgba(11,72,179,.2);
  border-color: rgba(11,72,179,.28);
}

/* Reset del bento anterior — todas las cards iguales */
.gi-1, .gi-2, .gi-3, .gi-4,
.gi-5, .gi-6, .gi-7, .gi-8 {
  grid-column: auto;
  grid-row: auto;
}

/* Wrapper visual de la imagen */
.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform .7s cubic-bezier(.2,.7,.2,1), filter .35s ease;
}
.gallery-item:hover img {
  transform: scale(1.08);
  filter: saturate(1.12) brightness(1.03);
}

/* Chip "+" flotante en esquina superior derecha de la imagen — indica clickable */
.gallery-item::after {
  content: "+";
  position: absolute;
  top: 12px; right: 12px;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: white;
  color: var(--brand-blue);
  font-size: 1.4rem; line-height: 1;
  font-weight: 300;
  display: grid; place-items: center;
  box-shadow: 0 6px 16px rgba(11,29,58,.18);
  opacity: 0;
  transform: scale(.7) rotate(-90deg);
  transition: opacity .35s ease, transform .4s cubic-bezier(.2,.7,.2,1), background .25s ease, color .25s ease;
  z-index: 3;
  pointer-events: none;
}
.gallery-item:hover::after {
  opacity: 1;
  transform: scale(1) rotate(0deg);
  background: var(--brand-orange);
  color: white;
}

/* Caption ya NO es overlay — va debajo de la imagen en flujo natural */
.gallery-item .caption {
  position: static;
  padding: 16px 18px 18px;
  background: white;
  color: var(--ink);
  border-top: 1px solid var(--line);
  flex: 1;
  display: flex; flex-direction: column; justify-content: center;
}
.gallery-item .caption .ttl {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 1rem;
  color: var(--ink);
  letter-spacing: -.01em;
  line-height: 1.25;
  transition: color .25s ease;
}
.gallery-item:hover .caption .ttl { color: var(--brand-blue); }
.gallery-item .caption .sub {
  font-size: .82rem;
  color: var(--text-soft);
  margin-top: 4px;
  font-weight: 500;
}

/* Grid responsive — 4 cols desktop, 3 grande, 2 tablet, 1 móvil */
@media (max-width: 1100px) {
  .gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (max-width: 480px) {
  .gallery { grid-template-columns: 1fr; }
}

/* ===================================
   CHANNELS CAROUSEL
   =================================== */
.channels-carousel {
  position: relative;
  overflow: hidden;
  margin-top: 36px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, black 8%, black 92%, transparent 100%);
}
.channels-track {
  display: flex; gap: 22px;
  animation: scroll-x 40s linear infinite;
  width: max-content;
}
.channels-carousel:hover .channels-track { animation-play-state: paused; }
@keyframes scroll-x {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.channel-logo {
  flex-shrink: 0;
  width: 158px; height: 92px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-family: var(--ff-display);
  font-weight: 800;
  color: var(--ink);
  font-size: .92rem;
  letter-spacing: .01em;
  box-shadow: var(--shadow-xs);
  transition: transform .25s ease, box-shadow .25s ease, color .25s ease, border-color .25s ease;
  gap: 4px;
  text-align: center;
  padding: 0 10px;
  line-height: 1.15;
}
.channel-logo:hover { transform: translateY(-4px); color: var(--orange-600); border-color: var(--orange-300); box-shadow: var(--shadow-sm); }
.channel-logo small { display: block; font-size: .68rem; font-weight: 600; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }

/* ===================================
   FEATURES (por qué)
   =================================== */
.features-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.feature {
  background: var(--white);
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  padding: 32px 26px;
  text-align: left;
  transition: transform .3s ease, box-shadow .3s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature .icon-square {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--g-accent-soft);
  color: var(--orange-600);
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.feature .icon-square svg { width: 28px; height: 28px; }
.feature h3 { margin-bottom: 8px; font-size: 1.05rem; }
.feature p { color: var(--muted); font-size: .92rem; }

/* ===================================
   COBERTURA (banner CTA con form)
   =================================== */
.coverage {
  background: var(--g-deep);
  color: var(--white);
  border-radius: var(--r-lg);
  padding: 64px;
  margin-top: 40px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.coverage::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 90% 0%, rgba(245,138,46,.3), transparent 40%),
    radial-gradient(circle at 0% 100%, rgba(46,109,194,.3), transparent 50%);
  z-index: -1;
}
.coverage h2 { color: var(--white); }
.coverage p { color: #C7D4ED; margin-top: 12px; }
.coverage .eyebrow { color: var(--orange-400); }
.coverage .eyebrow::before { background: var(--orange-400); }
.coverage-form {
  margin-top: 32px;
  display: flex; gap: 12px; flex-wrap: wrap;
}
.coverage-form input, .coverage-form select {
  flex: 1; min-width: 220px;
  background: rgba(255,255,255,.1);
  border: 1.5px solid rgba(255,255,255,.25);
  color: var(--white);
  padding: 14px 18px;
  border-radius: var(--r-sm);
  font-size: 1rem;
  font-family: inherit;
}
.coverage-form input::placeholder { color: rgba(255,255,255,.65); }
.coverage-form input:focus, .coverage-form select:focus {
  outline: none; border-color: var(--orange-400);
  background: rgba(255,255,255,.16);
  box-shadow: 0 0 0 4px rgba(245,138,46,.15);
}
.coverage-form select option { color: var(--text); background: white; }
#coverage-result {
  margin-top: 18px;
  padding: 16px 22px;
  border-radius: var(--r-sm);
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  display: none;
  font-size: .95rem;
}
#coverage-result.show { display: block; }
#coverage-result.ok { background: rgba(22,160,106,.2); border-color: var(--success); }
#coverage-result.no { background: rgba(226,69,63,.2); border-color: var(--danger); }

/* ===================================
   FAQ acordeón
   =================================== */
.faq { max-width: 860px; margin: 0 auto; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  margin-bottom: 12px;
  overflow: hidden;
  transition: box-shadow .25s ease, border-color .2s ease;
}
.faq-item.open { box-shadow: var(--shadow-sm); border-color: var(--orange-300); }
.faq-q {
  width: 100%; text-align: left;
  padding: 22px 26px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-weight: 700; color: var(--ink);
  font-size: 1rem;
}
.faq-q .chev {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--orange-600);
  display: grid; place-items: center;
  transition: transform .25s ease, background .2s ease, color .2s ease;
  flex-shrink: 0;
}
.faq-item.open .faq-q .chev { transform: rotate(180deg); background: var(--orange-500); color: white; }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease, padding .25s ease;
  color: var(--text-soft);
  padding: 0 26px;
}
.faq-item.open .faq-a { max-height: 500px; padding: 0 26px 24px; }

/* ===================================
   TESTIMONIOS
   =================================== */
.testimonials {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.testimonial {
  background: var(--white);
  border-radius: var(--r-md);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 18px;
}
.testimonial .stars { color: var(--gold-500); font-size: 1rem; letter-spacing: 2px; }
.testimonial p { color: var(--text); font-size: 1rem; font-style: italic; flex: 1; }
.testimonial .who { display: flex; align-items: center; gap: 12px; margin-top: 6px; }
.testimonial .avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--g-accent);
  color: white;
  display: grid; place-items: center;
  font-weight: 800;
  flex-shrink: 0;
}
.testimonial .name { font-weight: 700; color: var(--ink); }
.testimonial .role { font-size: .82rem; color: var(--muted); }

/* ===================================
   CTA banner
   =================================== */
.cta-banner {
  background: var(--g-accent);
  color: var(--white);
  padding: 56px;
  border-radius: var(--r-lg);
  display: flex; justify-content: space-between; align-items: center; gap: 28px;
  flex-wrap: wrap;
  box-shadow: 0 30px 60px rgba(245,138,46,.35);
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 100% 0%, rgba(255,255,255,.18), transparent 50%);
}
.cta-banner > * { position: relative; }
.cta-banner h2 { color: white; }
.cta-banner p { color: rgba(255,255,255,.92); margin-top: 6px; }
.cta-banner .btn-secondary { background: var(--white); color: var(--orange-700); }
.cta-banner .btn-secondary:hover { background: var(--ink); color: var(--white); }

/* ===================================
   PAGE HERO interior
   =================================== */
.page-hero {
  background: var(--g-deep);
  color: var(--white);
  padding: 80px 0 60px;
  text-align: center;
  position: relative; overflow: hidden;
  isolation: isolate;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(245,138,46,.25), transparent 60%);
  z-index: -1;
}
.page-hero h1 { color: var(--white); margin-bottom: 14px; font-size: clamp(2rem, 4vw, 3.2rem); }
.page-hero p { color: #C7D4ED; max-width: 720px; margin: 0 auto; font-size: 1.05rem; }
.breadcrumb { font-size: .82rem; color: #A9B8D2; margin-bottom: 18px; letter-spacing: .04em; }
.breadcrumb a { color: var(--orange-400); }

/* ===================================
   FORM CARD (PQR, cobertura interior)
   =================================== */
.form-card {
  background: var(--white);
  border-radius: var(--r-md);
  padding: 44px;
  box-shadow: var(--shadow-md);
  max-width: 900px;
  margin: -40px auto 0;
  position: relative; z-index: 3;
  border: 1px solid var(--line);
}
.pqr-types {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 12px; margin-bottom: 30px;
}
.pqr-type {
  border: 2px solid var(--line);
  border-radius: var(--r-sm);
  padding: 16px 14px;
  text-align: center;
  cursor: pointer;
  font-weight: 700; font-size: .92rem;
  color: var(--ink);
  transition: all .2s ease;
  background: var(--white);
}
.pqr-type:hover { border-color: var(--orange-300); background: rgba(245,138,46,.04); }
.pqr-type.selected {
  border-color: transparent;
  background: var(--g-accent);
  color: var(--white);
  box-shadow: var(--shadow-glow);
}
.pqr-type small { display: block; font-weight: 500; font-size: .72rem; opacity: .85; margin-top: 4px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label {
  font-size: .88rem; font-weight: 600; color: var(--ink);
}
.form-group label .req { color: var(--danger); }
.form-group input,
.form-group select,
.form-group textarea {
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  padding: 13px 14px;
  font-family: inherit; font-size: .95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--orange-500);
  box-shadow: 0 0 0 4px rgba(245,138,46,.15);
}
.form-group textarea { resize: vertical; min-height: 140px; }
.form-group .hint { font-size: .8rem; color: var(--muted); }
.form-group.error input,
.form-group.error select,
.form-group.error textarea { border-color: var(--danger); }
.form-group .error-msg { color: var(--danger); font-size: .8rem; display: none; }
.form-group.error .error-msg { display: block; }

.checkbox-row {
  display: flex; align-items: flex-start; gap: 10px;
  background: var(--bg-soft);
  padding: 14px 16px;
  border-radius: var(--r-sm);
  margin: 8px 0 6px;
  font-size: .88rem;
  color: var(--text-soft);
}
.checkbox-row input[type=checkbox] { margin-top: 3px; accent-color: var(--orange-500); width: 16px; height: 16px; }
.checkbox-row a { color: var(--orange-600); font-weight: 600; }

.form-success {
  background: rgba(22,160,106,.1);
  border: 1.5px solid var(--success);
  color: #0f5d3c;
  padding: 20px 24px;
  border-radius: var(--r-sm);
  display: none;
  margin-bottom: 22px;
}
.form-success.show { display: block; }
.form-success strong { display: block; margin-bottom: 4px; font-size: 1.05rem; color: var(--ink); }
.form-success .ticket {
  display: inline-block;
  background: var(--white);
  border: 1px dashed var(--success);
  padding: 6px 12px;
  margin-top: 8px;
  border-radius: 6px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-weight: 700;
  color: var(--ink);
}

/* CHANNELS / CONTACTO PQR */
.channels {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 22px; margin-top: 40px;
}
.channel-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 26px;
  display: flex; flex-direction: column; gap: 8px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.channel-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.channel-card .icon {
  width: 50px; height: 50px;
  border-radius: 12px;
  background: var(--g-accent);
  color: white;
  display: grid; place-items: center;
  margin-bottom: 8px;
}
.channel-card h3 { font-size: 1.05rem; }
.channel-card p { color: var(--muted); font-size: .92rem; }
.channel-card .value { color: var(--orange-600); font-weight: 700; font-size: 1rem; }

/* ===================================
   ESTADO DEL SERVICIO
   =================================== */
.status-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}
.status-item {
  display: flex; align-items: center; gap: 14px;
  background: var(--white);
  padding: 18px 22px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
}
.status-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 5px rgba(22,160,106,.15);
  animation: blink-soft 1.8s ease-in-out infinite;
  flex-shrink: 0;
}
.status-item .lbl { font-weight: 700; color: var(--ink); }
.status-item .sub { font-size: .82rem; color: var(--muted); }

/* ===================================
   FOOTER
   =================================== */
.footer {
  background: var(--navy-950);
  color: #B8C5DD;
  padding: 80px 0 30px;
}
.footer a { color: #B8C5DD; }
.footer a:hover { color: var(--orange-400); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 50px;
  margin-bottom: 50px;
}
.footer h4 {
  color: var(--white); font-size: 1rem;
  margin-bottom: 22px; letter-spacing: .06em; text-transform: uppercase;
  font-weight: 700; font-family: var(--ff-display);
}
.footer .brand-text { color: var(--white); }
.footer .brand-text small { color: var(--orange-400); }
.footer ul { list-style: none; }
.footer ul li { padding: 5px 0; font-size: .92rem; }
.footer .about p { font-size: .92rem; margin-top: 14px; line-height: 1.7; }
.footer .social { margin-top: 20px; display: flex; gap: 10px; }
.footer .social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  display: grid; place-items: center;
  transition: background .25s ease, transform .25s ease, color .25s ease;
}
.footer .social a:hover { background: var(--orange-500); transform: translateY(-2px); color: white; }
.footer .social svg { width: 18px; height: 18px; }
.footer .contact-info li { display: flex; align-items: flex-start; gap: 10px; }
.footer .contact-info svg { width: 16px; height: 16px; color: var(--orange-400); flex-shrink: 0; margin-top: 4px; }

.legal-strip {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 14px;
  font-size: .82rem;
}
.legal-strip .links { display: flex; gap: 20px; flex-wrap: wrap; }

.mintic-strip {
  margin-top: 30px;
  padding: 18px 22px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--r-sm);
  text-align: center;
  font-size: .8rem;
  line-height: 1.6;
}
.mintic-strip strong { color: var(--orange-400); }

/* ===================================
   WHATSAPP FAB
   =================================== */
.wa-fab {
  position: fixed; bottom: 24px; right: 24px;
  z-index: 90;
  display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
}
.wa-fab-btn {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: #25D366;
  display: grid; place-items: center;
  color: white;
  box-shadow: 0 16px 36px rgba(37,211,102,.5);
  transition: transform .25s ease;
  animation: wa-pulse 2.6s ease-out infinite;
  position: relative;
}
.wa-fab-btn:hover { transform: scale(1.08) rotate(-6deg); color: white; }
.wa-fab-btn svg { width: 34px; height: 34px; }
@keyframes wa-pulse {
  0% { box-shadow: 0 16px 36px rgba(37,211,102,.5), 0 0 0 0 rgba(37,211,102,.55); }
  70% { box-shadow: 0 16px 36px rgba(37,211,102,.5), 0 0 0 24px rgba(37,211,102,0); }
  100% { box-shadow: 0 16px 36px rgba(37,211,102,.5), 0 0 0 0 rgba(37,211,102,0); }
}
.wa-fab-bubble {
  background: var(--white);
  color: var(--ink);
  padding: 14px 18px;
  border-radius: 20px;
  font-size: .9rem;
  font-weight: 500;
  box-shadow: var(--shadow-md);
  max-width: 280px;
  position: relative;
  transform: translateX(20px); opacity: 0;
  transition: transform .35s ease, opacity .35s ease;
  pointer-events: none;
}
.wa-fab-bubble strong { color: #25D366; display: block; font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 4px; }
.wa-fab-bubble::after {
  content: ""; position: absolute; right: 24px; bottom: -7px;
  width: 14px; height: 14px;
  background: var(--white);
  transform: rotate(45deg);
}
.wa-fab.show .wa-fab-bubble { transform: translateX(0); opacity: 1; pointer-events: auto; }
.wa-fab-bubble .close {
  position: absolute; top: 6px; right: 10px;
  background: none; border: 0; color: var(--muted);
  font-size: 1.1rem; cursor: pointer;
  width: 22px; height: 22px;
  display: grid; place-items: center;
  border-radius: 50%;
}
.wa-fab-bubble .close:hover { background: var(--bg-soft); }

@media (max-width: 540px) {
  .wa-fab { bottom: 16px; right: 16px; }
  .wa-fab-btn { width: 58px; height: 58px; }
  .wa-fab-bubble { font-size: .82rem; padding: 10px 14px; max-width: 220px; }
}

/* ===================================
   REVEAL / Animaciones
   =================================== */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* ===================================
   RESPONSIVE
   =================================== */
@media (max-width: 980px) {
  .hero { padding: 70px 0 100px; min-height: 0; }
  .hero .container { grid-template-columns: 1fr; gap: 50px; }
  .hero-visual { max-width: 480px; margin: 0 auto; }
  .hero-stats { max-width: none; }
  .hero-illus { inset: 4% 36% 12% 0; }
  .glass-stack { width: 180px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .testimonials { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .channels { grid-template-columns: 1fr; }
  .status-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .pqr-types { grid-template-columns: repeat(2, 1fr); }
  .coverage { padding: 40px 32px; }
  .cta-banner { padding: 40px; text-align: center; justify-content: center; }
  .promo-slide.active { grid-template-columns: 1fr; }
  .promo-visual { min-height: 220px; }
  .promo-content { padding: 32px 28px; }
}

/* Hamburger nav — se activa en tablets y mobile */
@media (max-width: 1024px) {
  .menu-toggle { display: grid; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--white);
    box-shadow: var(--shadow-md);
    padding: 16px;
    gap: 4px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
    border-bottom: 1px solid var(--line);
    max-height: calc(100vh - var(--header-h));
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
  .nav.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition: opacity .25s ease, transform .25s ease, visibility 0s linear 0s;
  }
  .nav a { width: 100%; padding: 12px 16px; }
  .nav-cta { width: 100%; text-align: center; }
  .nav-dropdown { width: 100%; }
  .nav-dropdown__trigger { width: 100%; }
}

/* Tablet — mejoras de layout */
@media (max-width: 1024px) and (min-width: 761px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .norm-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .section-header { max-width: 640px; padding: 0 16px; }
  .page-hero h1 { font-size: clamp(1.9rem, 4.6vw, 2.6rem); }
}

@media (max-width: 760px) {
  .topbar-info { font-size: .76rem; gap: 14px; }
  .topbar-info span:nth-child(n+3) { display: none; }
  .section { padding: 70px 0; }
  .form-card { padding: 28px 22px; margin: -30px 16px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .legal-strip { flex-direction: column; text-align: center; }
}

@media (max-width: 460px) {
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 22px; }
  .hero-stats .stat:last-child { grid-column: 1 / -1; }
  .features-grid { grid-template-columns: 1fr; }
  .plans-tabs { width: 100%; }
  .plans-tabs button { flex: 1; padding: 10px 12px; font-size: .82rem; }
  .pqr-types { grid-template-columns: 1fr; }
  .brand-text { display: none; }
  .hero-trust { gap: 16px; }
  .glass-card { padding: 12px 14px; }
  .glass-card .name { font-size: .85rem; }
  .glass-card .value { font-size: .72rem; }
}

/* ===================================
   ANIMACIONES DE PRIMERA IMPRESIÓN
   =================================== */

/* Canvas de red de partículas (encima de overlay, debajo de contenido) */
.hero-canvas {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  display: block;
  z-index: 2;
  pointer-events: none;
  opacity: .85;
  mix-blend-mode: multiply;
}
.hero > .container { position: relative; z-index: 4; }
.hero-grid-lines { z-index: 3; opacity: .35; }
.hero-noise { z-index: 3; opacity: .15; }
.cursor-glow { z-index: 3; }

/* Cursor glow (sin filter blur, el gradiente ya es suave) */
.cursor-glow {
  position: absolute;
  pointer-events: none;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244,146,59,.20), rgba(11,72,179,.06) 40%, transparent 75%);
  transform: translate(-50%, -50%);
  z-index: 1;
  opacity: 0;
  will-change: left, top, opacity;
  mix-blend-mode: multiply;
}
.hero:hover .cursor-glow { opacity: 1; }

/* Typewriter */
.typewriter-wrap {
  display: inline-flex;
  align-items: baseline;
  min-height: 1.1em;        /* reserva el alto de una línea */
  line-height: 1.1;
}
.typewriter {
  background: var(--g-accent);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  white-space: nowrap;
  display: inline-block;
}
.caret {
  display: inline-block;
  width: 4px; height: .85em;
  margin-left: 6px;
  background: var(--orange-400);
  border-radius: 2px;
  vertical-align: -0.06em;
  animation: caret-blink 1s steps(1) infinite;
  box-shadow: 0 0 12px rgba(245,184,58,.6);
}
@keyframes caret-blink { 50% { opacity: 0; } }

/* Gate cinematográfico: retiene entrada del hero hasta que fuentes + imagen
   de fondo estén cargadas. Evita animaciones "descontroladas" en tablets
   mientras el layout todavía se está estabilizando. */
body:not(.is-loaded) .hero .hero-pill,
body:not(.is-loaded) .hero h1,
body:not(.is-loaded) .hero .lead,
body:not(.is-loaded) .hero .hero-actions,
body:not(.is-loaded) .hero .hero-trust,
body:not(.is-loaded) .hero .hero-stats,
body:not(.is-loaded) .hero .hero-visual,
body:not(.is-loaded) .hero .glass-card,
body:not(.is-loaded) .hero-bg-photo {
  animation: none !important;
}

/* Marquee de canales: pausar hasta que fuentes carguen (evita saltos
   cuando cambian las métricas de fuente fallback → custom). */
body:not(.is-loaded) .channels-track {
  animation-play-state: paused;
}

/* Spinner de botones durante envío de formulario */
.btn-spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, .35);
  border-top-color: #fff;
  border-radius: 50%;
  vertical-align: middle;
  margin-right: 8px;
  animation: btn-spin .7s linear infinite;
}
@keyframes btn-spin {
  to { transform: rotate(360deg); }
}
.btn[aria-busy="true"],
button[aria-busy="true"] {
  opacity: .78;
  cursor: wait !important;
  pointer-events: none;
}

/* Entrada cinematográfica del hero */
.hero .hero-pill,
.hero h1,
.hero .lead,
.hero .hero-actions,
.hero .hero-trust,
.hero .hero-stats,
.hero .hero-visual {
  opacity: 0;
  transform: translateY(28px);
  animation: rise .9s cubic-bezier(.2,.7,.2,1) forwards;
}
.hero .hero-pill   { animation-delay: .05s; }
.hero h1           { animation-delay: .15s; }
.hero .lead        { animation-delay: .35s; }
.hero .hero-actions{ animation-delay: .5s;  }
.hero .hero-trust  { animation-delay: .65s; }
.hero .hero-stats  { animation-delay: .8s;  }
.hero .hero-visual {
  animation-delay: .25s;
  animation-name: rise-scale;
  animation-duration: 1.1s;
}
@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes rise-scale {
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.hero .hero-visual { transform: translateY(28px) scale(.96); }

/* Glass cards aparecen escalonadas */
.hero .glass-card {
  opacity: 0;
  transform: translateX(28px);
  animation: rise-x .7s cubic-bezier(.2,.7,.2,1) forwards;
}
.hero .glass-card.card-speed   { animation-delay: 1.0s; }
.hero .glass-card.card-wifi    { animation-delay: 1.08s; }
.hero .glass-card.card-tv      { animation-delay: 1.16s; }
.hero .glass-card.card-uptime  { animation-delay: 1.24s; }
.hero .glass-card.card-support { animation-delay: 1.32s; }
@keyframes rise-x {
  to { opacity: 1; transform: translateX(0); }
}

/* En tablet/mobile, durante los ~2.2s del intro cinematográfico apagamos el
   backdrop-filter de las glass cards del hero: 5 blurs compositándose en
   simultáneo con la foto escalando + rise-x en paralelo saturaban el GPU
   del tablet → parpadeo. Al terminar el intro (body.hero-intro-done), el
   blur "aterriza" con una transición suave. En desktop no aplica: hay GPU
   de sobra. */
@media (max-width: 1200px) {
  .hero .glass-card {
    transition: backdrop-filter .5s ease, -webkit-backdrop-filter .5s ease,
                background .5s ease, transform .25s ease, border-color .25s ease;
  }
  body:not(.hero-intro-done) .hero .glass-card {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(11, 45, 91, .82);
  }
}

/* En touch devices (tablets + móviles), el intro cinematográfico satura la
   GPU móvil aunque hayamos apagado backdrop-filter: quedan 9 elementos con
   transforms (foto escalando, 8 rises, 5 rise-x) todos animándose <1.5s.
   Aquí lo reemplazamos por un fade puro de opacity — es lo único cheap en
   GPU móvil. Sin transforms, sin backdrop-filter (permanente en touch),
   sin animation. Desktop no se toca; touch laptops con hover:hover
   tampoco. Filtro `(hover: none) and (pointer: coarse)` = iPad/Android
   tablet/phone. */
@media (hover: none) and (pointer: coarse) {
  .hero .hero-pill,
  .hero h1,
  .hero .lead,
  .hero .hero-actions,
  .hero .hero-trust,
  .hero .hero-stats,
  .hero .hero-visual,
  .hero .glass-card,
  .hero-bg-photo {
    animation: none !important;
    transform: none !important;
    transition: opacity .7s ease;
  }
  body.is-loaded .hero .hero-pill,
  body.is-loaded .hero h1,
  body.is-loaded .hero .lead,
  body.is-loaded .hero .hero-actions,
  body.is-loaded .hero .hero-trust,
  body.is-loaded .hero .hero-stats,
  body.is-loaded .hero .hero-visual,
  body.is-loaded .hero .glass-card,
  body.is-loaded .hero-bg-photo {
    opacity: 1;
  }
  .hero .glass-card {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(11, 45, 91, .82);
  }
}

/* Tilt 3D */
.tilt {
  transform-style: preserve-3d;
  transition: transform .15s ease-out;
  will-change: transform;
}
.tilt > * { transform: translateZ(0); }

/* Magnetic button */
.btn-primary { transition: transform .2s cubic-bezier(.2,.7,.2,1), box-shadow .25s ease, background .2s ease; }

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  background: var(--g-accent);
  box-shadow: 0 0 14px rgba(245,138,46,.7);
  z-index: 100;
  transition: width .12s linear;
}

/* Live activity feed */
.live-activity {
  position: fixed;
  bottom: 110px;
  left: 24px;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  padding: 12px 18px 12px 14px;
  border-radius: 16px;
  display: flex; gap: 12px; align-items: center;
  box-shadow: 0 22px 50px rgba(11,45,91,.25);
  border: 1px solid var(--line);
  z-index: 80;
  max-width: 320px;
  transform: translateX(-150%) scale(.9);
  opacity: 0;
  transition: transform .55s cubic-bezier(.2,.7,.2,1), opacity .4s ease;
  font-size: .88rem;
}
.live-activity.show { transform: translateX(0) scale(1); opacity: 1; }
.live-activity .av {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--g-accent);
  color: white;
  display: grid; place-items: center;
  font-weight: 800; font-size: .82rem;
  flex-shrink: 0;
  position: relative;
}
.live-activity .av::after {
  content: ""; position: absolute;
  bottom: 0; right: 0;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--success);
  border: 2px solid white;
}
.live-activity .user { font-weight: 700; color: var(--ink); }
.live-activity .action { color: var(--text-soft); }
.live-activity .meta { font-size: .76rem; color: var(--muted); margin-top: 2px; }

@media (max-width: 760px) {
  .live-activity { left: 12px; bottom: 90px; max-width: 280px; font-size: .82rem; padding: 10px 14px 10px 12px; }
  .live-activity .av { width: 34px; height: 34px; }
}

/* Glow pulse en CTA principal del hero */
.btn-primary.pulse-glow::before {
  content: ""; position: absolute; inset: -2px;
  border-radius: inherit;
  background: var(--g-accent);
  opacity: 0; z-index: -1;
  animation: pulseGlow 2.5s ease-out infinite;
}
@keyframes pulseGlow {
  0% { opacity: .6; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.25); }
}

/* =================================================================
   TEMA OSCURO NETFLIX-LIKE
   Sobrescribe componentes para encajar con el fondo dark del body
   --- DESACTIVADO temporalmente para probar tema claro ---
   Quita el @media not all { ... } para reactivar.
   ================================================================= */
@media not all {

body { background: var(--bg); color: var(--text); }

.section--alt { background: var(--bg-soft); }
.section { background: var(--bg); }

/* Cards a oscuro */
.service-card,
.plan-card,
.feature,
.testimonial,
.faq-item,
.channel-card,
.status-item,
.form-card,
.channel-logo,
.city-card,
.help-card,
.pqr-type {
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text);
}
.plan-card.featured {
  background: linear-gradient(180deg, var(--surface-2) 0%, rgba(245,138,46,.06) 100%);
  outline: 2px solid var(--orange-500);
  outline-offset: -2px;
  border-color: transparent;
}
.plan-card .price,
.plan-card .speed,
.service-card h3,
.feature h3,
.testimonial p,
.testimonial .name,
.faq-q,
.channel-card h3,
.status-item .lbl,
.form-card h2,
.help-card h3 { color: var(--ink); }
.testimonial p { color: var(--text); }

.service-card:hover,
.feature:hover,
.testimonial:hover,
.channel-card:hover,
.help-card:hover,
.city-card:hover { border-color: var(--orange-500); background: var(--surface-2); }

.plan-card:hover { border-color: var(--line-strong); background: var(--surface-2); }

/* Plans tabs (botones) oscuros */
.plans-tabs {
  background: var(--surface);
  border-color: var(--line);
}
.plans-tabs button { color: var(--text-soft); }
.plans-tabs button.active { background: var(--g-accent); color: white; box-shadow: 0 6px 14px rgba(245,138,46,.4); }

/* FAQ oscuro */
.faq-q .chev { background: rgba(255,255,255,.06); color: var(--orange-400); }
.faq-item.open { border-color: var(--orange-500); background: var(--surface-2); }
.faq-a { color: var(--text-soft); }

/* Channels oscuro */
.channel-logo { color: var(--ink); }
.channel-logo small { color: var(--muted); }
.channel-logo:hover { color: var(--orange-400); }

/* Header se vuelve translúcido oscuro */
.header {
  background: rgba(10,15,28,.85);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom-color: var(--line);
}
.brand-text { color: var(--ink); }
.nav a { color: var(--text); }
.nav a:hover { color: var(--orange-400); background: rgba(245,138,46,.1); }
.menu-toggle { background: rgba(255,255,255,.06); color: var(--ink); }

/* Topbar más oscuro */
.topbar { background: #04081A; }

/* Section header */
.section-header h2 { color: var(--ink); }
.section-header p { color: var(--text-soft); }

/* Form inputs oscuros */
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,.04);
  border-color: var(--line);
  color: var(--text);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  background: rgba(255,255,255,.06);
  border-color: var(--orange-500);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--muted); }
.form-group select option { background: var(--surface); color: var(--text); }
.form-group label { color: var(--ink); }
.checkbox-row { background: rgba(255,255,255,.04); color: var(--text-soft); }
.pqr-type { color: var(--ink); }
.pqr-type:hover { background: rgba(245,138,46,.08); }
.form-card { color: var(--text); }
.form-card p { color: var(--text-soft); }
.form-card h2 { color: var(--ink); }

/* CTA banner texto se mantiene */
.cta-banner .btn-secondary { background: var(--ink); color: white; }

/* Service card ul items */
.service-card ul li { color: var(--text); }

/* Promo slider oscuro */
.promo-track {
  background: linear-gradient(180deg, var(--surface-2) 0%, var(--surface) 100%);
  border-color: var(--line);
}
.promo-content h3 { color: var(--ink); }
.promo-content p { color: var(--text); }
.promo-controls { background: rgba(10,15,28,.7); }
.promo-controls button { background: rgba(255,255,255,.1); color: var(--ink); }
.promo-controls button:hover { background: var(--g-accent); color: white; }
.promo-dots span { background: rgba(255,255,255,.22); }
.promo-dots span.active {
  background: var(--orange-500);
  box-shadow: 0 0 12px rgba(245,138,46,.6);
}

/* Btn-outline en oscuro: borde claro y fondo translúcido */
.btn-outline {
  background: rgba(255,255,255,.05);
  color: var(--ink);
  border: 1.5px solid var(--line-strong);
}
.btn-outline:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* Status item con dot pulsante */
.status-item .sub { color: var(--text-soft); }
.feature p { color: var(--text-soft); }
.help-card p { color: var(--text-soft); }
.channel-card p { color: var(--text-soft); }
.testimonial .role { color: var(--muted); }

/* Trusted bar oscuro */
.trusted {
  background: var(--bg-soft);
  border-bottom-color: var(--line);
}
.trusted-row { color: var(--muted); }
.trusted-row .item:hover { color: var(--orange-400); }

} /* fin @media not all (TEMA OSCURO) */

/* =================================================================
   NETFLIX STYLE: row-shelf con scroll horizontal y flechas
   ================================================================= */
.row-shelf {
  position: relative;
  margin: 0 0 64px;
}
.row-shelf:last-child { margin-bottom: 0; }
.row-shelf__head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 8px;
  padding: 0 4px;
}
.row-shelf__title {
  font-family: var(--ff-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--ink);
  display: inline-flex; align-items: center; gap: 14px;
  letter-spacing: -.01em;
}
.row-shelf__title .tag {
  font-size: .7rem; letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange-400);
  background: rgba(245,138,46,.14);
  padding: 5px 12px; border-radius: var(--r-pill);
  font-weight: 700;
  border: 1px solid rgba(245,138,46,.25);
}
.row-shelf__see {
  font-size: .9rem; font-weight: 600;
  color: var(--text-soft);
  display: inline-flex; align-items: center; gap: 6px;
}
.row-shelf__see:hover { color: var(--orange-400); }

.row-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 30px 4px 50px;
  margin: -10px -4px -20px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.row-track::-webkit-scrollbar { display: none; }
.row-track > .plan-card,
.row-track > * {
  flex: 0 0 320px;
  scroll-snap-align: start;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease, border-color .25s ease;
}
.row-track > .plan-card {
  min-height: 460px;
  padding: 30px 26px;
}
.row-track > .plan-card:hover {
  transform: translateY(-8px) scale(1.035);
  z-index: 2;
  box-shadow: 0 30px 60px rgba(0,0,0,.55);
  border-color: var(--orange-500);
}

/* Fix: precio era azul oscuro (invisible sobre dark) */
.plan-card .price { color: var(--ink); font-size: 2.2rem; }
.plan-card .price small { color: var(--text-soft); }
.plan-card .name { color: var(--orange-400); }
.plan-card .speed small { color: var(--text-soft); }
.plan-card ul li { color: var(--text); }

/* Featured: glow naranja más visible */
.plan-card.featured {
  background:
    radial-gradient(ellipse at top, rgba(245,138,46,.18), transparent 60%),
    linear-gradient(180deg, var(--surface-2) 0%, var(--surface) 100%);
  outline: 2px solid var(--orange-500);
  outline-offset: -2px;
  box-shadow: 0 30px 60px rgba(245,138,46,.2), inset 0 1px 0 rgba(255,255,255,.05);
  border-color: transparent;
}
.plan-card.featured .name { color: var(--orange-300); }
.plan-card.featured .price { color: white; }

/* Línea decorativa superior animada */
.plan-card { position: relative; overflow: hidden; }
.plan-card::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--orange-500), transparent);
  opacity: 0; transition: opacity .3s ease;
}
.plan-card:hover::after,
.plan-card.featured::after { opacity: 1; }

.row-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: transparent;
  color: var(--navy-800);
  display: grid; place-items: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity .25s ease;
  z-index: 5;
  border: 0;
  padding: 0;
}
.row-arrow.next { right: 8px; }
.row-arrow.prev { left: 8px; }
.row-arrow svg {
  width: 44px; height: 44px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid var(--line);
  border-radius: 50%;
  padding: 11px;
  box-shadow: 0 6px 18px rgba(11,29,58,.18);
  transition: background .2s ease, transform .2s ease, border-color .2s ease, color .2s ease;
}
.row-arrow:hover svg {
  background: var(--brand-orange);
  border-color: var(--brand-orange);
  color: white;
  transform: scale(1.08);
}
.row-shelf:hover .row-arrow { opacity: 1; }

@media (max-width: 760px) {
  .row-arrow { display: none; }
  .row-track > * { flex: 0 0 280px; }
  .row-track > .plan-card { min-height: 440px; }
  .row-shelf__title { font-size: 1.2rem; }
}

/* =================================================================
   GALERÍA NETFLIX-STYLE
   ================================================================= */
.gallery-item {
  background: var(--surface);
  border: 1px solid var(--line);
}
.gallery-item:hover {
  transform: scale(1.05);
  z-index: 3;
  box-shadow: 0 24px 60px rgba(0,0,0,.6), 0 0 0 1px var(--orange-500);
}
.gallery-item .caption .ttl { font-size: 1.05rem; }

/* =================================================================
   COVERAGE / FORM CARD oscuros refinados
   ================================================================= */
.coverage { background: linear-gradient(135deg, var(--surface) 0%, var(--surface-2) 100%); }

/* =================================================================
   CITY GRID — ciudades con cobertura
   ================================================================= */
.city-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 40px;
}
.city-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px 24px 24px;
  box-shadow: 0 4px 14px rgba(11,29,58,.06);
  transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s ease, border-color .3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}
.city-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 38px rgba(11,72,179,.18);
  border-color: rgba(11,72,179,.28);
}
.city-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.city-card .name {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--ink);
  letter-spacing: -.01em;
}
.city-card .neighborhoods {
  color: var(--text-soft);
  font-size: .88rem;
  line-height: 1.55;
  margin: 0 0 16px;
}
.city-card .status {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(22,160,106,.12);
  color: #0F8554;
  border: 1px solid rgba(22,160,106,.22);
  border-radius: var(--r-pill);
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 4px 10px;
  flex-shrink: 0;
  white-space: nowrap;
}

/* Mini mapa Google embebido en la city-card */
.city-card__map {
  position: relative;
  height: 160px;
  border-radius: 12px;
  overflow: hidden;
  margin: 6px 0 16px;
  background: linear-gradient(135deg, #eaf0fb 0%, #f6f9ff 100%);
  border: 1px solid rgba(11,72,179,.12);
  box-shadow: 0 6px 18px -12px rgba(11,29,58,.25);
}
.city-card__map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.city-card__map__pin {
  position: absolute;
  top: 10px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.95);
  color: var(--brand-blue);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .04em;
  box-shadow: 0 4px 12px -4px rgba(11,29,58,.35);
  z-index: 2;
  pointer-events: none;
}
.city-card__map__pin svg { width: 11px; height: 11px; color: var(--brand-orange); }
.city-card__map__open {
  position: absolute;
  bottom: 10px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,.95);
  color: var(--brand-blue);
  padding: 5px 10px;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 700;
  box-shadow: 0 4px 12px -4px rgba(11,29,58,.35);
  z-index: 2;
  transition: background .2s ease, color .2s ease;
}
.city-card__map__open:hover { background: var(--brand-orange); color: #fff; }
.city-card__map__open svg { width: 11px; height: 11px; }

/* Lista de contacto dentro de la city-card */
.city-contact {
  list-style: none;
  margin: 0 0 18px;
  padding: 16px 0;
  border-top: 1px dashed var(--line);
  border-bottom: 1px dashed var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.city-contact li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .88rem;
  color: var(--text);
  line-height: 1.4;
}
.city-contact li svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--brand-orange);
}
.city-contact li a {
  color: var(--brand-blue);
  font-weight: 700;
  border-bottom: 1px dashed rgba(11,72,179,.3);
  transition: color .2s ease, border-color .2s ease;
}
.city-contact li a:hover {
  color: var(--brand-orange);
  border-bottom-color: var(--brand-orange);
}

/* Botón WhatsApp por ciudad */
.city-cta {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.city-cta svg { flex-shrink: 0; }
.city-card .status::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px rgba(22,160,106,.2);
  animation: cityPulse 2.2s ease-in-out infinite;
}
@keyframes cityPulse {
  50% { box-shadow: 0 0 0 6px rgba(22,160,106,.08); }
}

@media (max-width: 900px)  { .city-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (max-width: 560px)  { .city-grid { grid-template-columns: 1fr; } }

/* =================================================================
   PAGE HERO — header de páginas interiores (planes, cobertura, pqr…)
   Adaptado al tema claro + paleta de marca, mismo lenguaje que el hero del home
   ================================================================= */
.page-hero {
  background:
    radial-gradient(ellipse 60% 55% at 88% 5%, rgba(11,72,179,.08), transparent 65%),
    radial-gradient(ellipse 45% 50% at 12% 95%, rgba(244,146,59,.07), transparent 60%),
    var(--bg);
  color: var(--ink);
  padding: 90px 0 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid var(--line);
}
.page-hero::before { display: none; }
.page-hero h1 {
  color: var(--ink);
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -.03em;
  margin-bottom: 18px;
  line-height: 1.1;
}
.page-hero h1::after {
  content: "";
  display: block;
  width: 64px; height: 4px;
  background: var(--g-accent);
  border-radius: 2px;
  margin: 18px auto 0;
}
.page-hero p {
  color: var(--text-soft);
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.65;
}
.breadcrumb {
  font-size: .8rem;
  color: var(--text-soft);
  margin-bottom: 16px;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-weight: 600;
}
.breadcrumb a {
  color: var(--brand-blue);
  font-weight: 700;
  transition: color .2s ease;
}
.breadcrumb a:hover { color: var(--brand-orange); }

/* =================================================================
   SOBRE NOSOTROS (Historia / Misión / Visión + logo destacado + equipo)
   ================================================================= */
.about-section {
  padding: 110px 0 90px;
  position: relative;
  background:
    radial-gradient(ellipse 80% 50% at 15% 0%, rgba(245,138,46,.08), transparent 60%),
    radial-gradient(ellipse 70% 50% at 90% 100%, rgba(46,109,194,.12), transparent 60%),
    var(--bg);
}

/* Split panel: naranja (texto) | navy (logo) — colores del logo */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 56px;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow:
    0 30px 80px rgba(11,29,58,.18),
    0 0 0 1px rgba(11,29,58,.06);
  min-height: 620px;
  isolation: isolate;
}

.about-split__panel {
  position: relative;
  padding: 56px 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.about-split__panel > * { position: relative; z-index: 1; }

/* Lado naranja (colores del logo) */
.about-split__panel--text {
  background:
    linear-gradient(135deg, var(--orange-600) 0%, var(--orange-500) 55%, var(--gold-500) 100%);
}
.about-split__panel--text::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 18% 12%, rgba(255,255,255,.2), transparent 40%),
    radial-gradient(circle at 88% 92%, rgba(4,22,46,.22), transparent 52%);
  pointer-events: none;
  z-index: 0;
}

/* Lado navy (colores del logo) */
.about-split__panel--logo {
  background:
    radial-gradient(ellipse at center, #023fa9 0%, #003db6 55%, #003aa3 100%);
}
.about-split__panel--logo::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 80% 18%, rgba(245,138,46,.2), transparent 42%),
    radial-gradient(circle at 18% 82%, rgba(46,109,194,.28), transparent 48%);
  pointer-events: none;
  z-index: 0;
}

.about-mvv { display: flex; flex-direction: column; gap: 28px; }

/* Tarjetas sobre fondo naranja: sin caja, separadas por línea blanca translúcida */
.about-card {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding: 28px 0 0;
  border-top: 1px solid rgba(255,255,255,.22);
  position: relative;
  background: transparent;
  border-radius: 0;
  border-left: 0; border-right: 0; border-bottom: 0;
  box-shadow: none;
}
.about-card:first-child {
  border-top: 0;
  padding-top: 0;
}
.about-card__icon {
  width: 52px; height: 52px;
  border-radius: var(--r-md);
  display: grid; place-items: center;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.32);
  color: var(--white);
  box-shadow: 0 6px 16px rgba(4,22,46,.18);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.about-card__icon svg { width: 26px; height: 26px; }
.about-card__label {
  display: inline-block;
  font-size: .7rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--white);
  background: rgba(255,255,255,.18);
  padding: 4px 12px;
  border-radius: var(--r-pill);
  font-weight: 800;
  margin-bottom: 8px;
  border: 1px solid rgba(255,255,255,.3);
}
.about-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--white);
  font-weight: 800;
  letter-spacing: -.01em;
  text-shadow: 0 1px 2px rgba(4,22,46,.18);
}
.about-card p {
  color: rgba(255,255,255,.95);
  font-size: .95rem;
  line-height: 1.6;
}

/* Logo destacado a la derecha */
.about-logo-wrap {
  position: relative;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 30px 20px 20px;
  text-align: center;
  width: 100%;
  isolation: isolate;
}
.about-split__panel--logo .about-logo-rings span { border-color: rgba(245,184,58,.45); }
.about-split__panel--logo .about-logo-caption small { color: rgba(255,255,255,.78); }
.about-logo-glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center,
      rgba(245,138,46,.45) 0%,
      rgba(245,184,58,.22) 30%,
      transparent 65%);
  filter: blur(20px);
  z-index: 0;
  animation: about-pulse 5s ease-in-out infinite;
}
@keyframes about-pulse {
  0%, 100% { opacity: .75; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.08); }
}
.about-logo-rings {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  z-index: 0;
  pointer-events: none;
}
.about-logo-rings span {
  position: absolute;
  width: 380px; height: 380px;
  border-radius: 50%;
  border: 1px solid rgba(245,138,46,.25);
  animation: about-ring 4.5s ease-out infinite;
}
.about-logo-rings span:nth-child(2) { animation-delay: 1.5s; }
.about-logo-rings span:nth-child(3) { animation-delay: 3s; }
@keyframes about-ring {
  0%   { transform: scale(.55); opacity: .8; }
  100% { transform: scale(1.55); opacity: 0; }
}
.about-logo {
  position: relative; z-index: 1;
  width: min(460px, 92%);
  height: auto;
  filter:
    drop-shadow(0 22px 50px rgba(245,138,46,.6))
    drop-shadow(0 10px 24px rgba(11,45,91,.65));
  animation: about-float 6s ease-in-out infinite;
}
@keyframes about-float {
  0%, 100% { transform: translateY(0) rotate(-1.2deg); }
  50%      { transform: translateY(-14px) rotate(1.2deg); }
}
.about-logo-caption {
  position: relative; z-index: 1;
  margin-top: 18px;
}
.about-logo-caption strong {
  display: block;
  font-family: var(--ff-display);
  font-size: 1.6rem; letter-spacing: .08em;
  background: var(--g-accent);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  font-weight: 800;
}
.about-logo-caption small {
  color: var(--text-soft);
  font-size: .82rem;
  letter-spacing: .04em;
}

/* === Valores y Objetivos === */
.about-extra {
  margin-top: 64px;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 28px;
}
.about-extra__card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 36px 34px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 60px -40px rgba(11,29,58,.18);
  transition: transform .3s ease, box-shadow .3s ease;
}
.about-extra__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 40px 70px -40px rgba(11,29,58,.25);
}
.about-extra__card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-orange), var(--brand-orange-soft));
}
.about-extra__goals::before {
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-blue-soft));
}
.about-extra__head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
  padding-bottom: 22px;
  border-bottom: 1px dashed var(--line);
}
.about-extra__num {
  font-family: var(--ff-display);
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-orange-deep));
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  letter-spacing: -.02em;
}
.about-extra__goals .about-extra__num {
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-deep));
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.about-extra__eyebrow {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 4px;
}
.about-extra__head h3 {
  font-size: 1.35rem;
  margin: 0;
  color: var(--ink);
}

/* Chips de valores */
.value-chips {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.value-chips li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(244,146,59,.08);
  border: 1px solid rgba(244,146,59,.22);
  color: var(--ink);
  font-weight: 600;
  font-size: .92rem;
  transition: background .2s ease, transform .2s ease, border-color .2s ease;
}
.value-chips li:hover {
  background: rgba(244,146,59,.15);
  border-color: var(--brand-orange);
  transform: translateY(-2px);
}
.value-chips li:nth-child(even) {
  background: rgba(11,72,179,.07);
  border-color: rgba(11,72,179,.2);
}
.value-chips li:nth-child(even):hover {
  background: rgba(11,72,179,.13);
  border-color: var(--brand-blue);
}
.value-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--brand-orange);
  box-shadow: 0 0 0 3px rgba(244,146,59,.18);
  flex-shrink: 0;
}
.value-chips li:nth-child(even) .value-dot {
  background: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(11,72,179,.18);
}

/* Lista numerada de objetivos */
.goals-list {
  list-style: none;
  counter-reset: goal;
  margin: 0; padding: 0;
  display: grid;
  gap: 14px;
}
.goals-list li {
  counter-increment: goal;
  position: relative;
  padding: 14px 16px 14px 56px;
  background: var(--bg-soft);
  border-radius: 14px;
  color: var(--text);
  font-size: .95rem;
  line-height: 1.55;
  transition: background .2s ease, transform .2s ease;
}
.goals-list li:hover {
  background: #eef3fb;
  transform: translateX(4px);
}
.goals-list li::before {
  content: counter(goal, decimal-leading-zero);
  position: absolute;
  top: 14px;
  left: 16px;
  width: 28px; height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-deep));
  color: white;
  font-weight: 800;
  font-size: .78rem;
  font-family: var(--ff-display);
  box-shadow: 0 4px 10px rgba(11,72,179,.25);
}

@media (max-width: 980px) {
  .about-extra { grid-template-columns: 1fr; gap: 22px; }
  .about-extra__card { padding: 28px 24px; }
}

/* Galería del equipo (row-shelf legado) */
.about-team-shelf { margin-top: 72px; }
.about-team-shelf .row-track > * {
  flex: 0 0 280px;
  scroll-snap-align: start;
}

/* Mosaico del equipo (bento asimétrico) — reemplaza al row-shelf. */
.team-showcase {
  margin-top: 80px;
}
.team-showcase__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 44px;
}
.team-showcase__head .tag {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 14px;
  background: rgba(245, 138, 46, .16);
  color: var(--orange-400);
  border-radius: var(--r-pill);
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 700;
}
.team-showcase__head h3 {
  font-family: var(--ff-display);
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  margin: 0 0 14px;
  color: var(--white);
  line-height: 1.15;
}
.team-showcase__head p {
  color: var(--muted);
  font-size: 1rem;
  margin: 0;
}

/* Bento asimétrico: video 50% del lado izquierdo (2 filas de alto), foto A
   grande arriba a la derecha (ancho completo del lado derecho), fotos B y
   C debajo mitad y mitad. Todo con `object-fit: contain` para ver las
   imágenes completas, sin fondo (el espacio sobrante queda del color de la
   sección) y un borde apenas visible. */
.team-mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 280px;
  gap: 14px;
  max-width: 1150px;
  margin: 0 auto;
  grid-template-areas:
    "v v a a"
    "v v b c";
}
.team-mosaic .team-media {
  width: 100%;
  height: 100%;
  background: transparent;
  /* Sin borde: el marco blanco alrededor del espacio sobrante hacía que se
     notara el "letterbox" de object-fit: contain. Sin borde, el espacio
     alrededor de la imagen se funde con el fondo de la sección. */
  border: 0;
}
.team-mosaic .team-media img,
.team-mosaic .team-media video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.team-mosaic__v { grid-area: v; }
.team-mosaic__a { grid-area: a; }
.team-mosaic__b { grid-area: b; }
.team-mosaic__c { grid-area: c; }

/* Tablet portrait: mismo layout pero un poco más chico */
@media (max-width: 780px) {
  .team-mosaic {
    grid-auto-rows: 210px;
    gap: 10px;
  }
}

/* Móvil chico: apilado vertical, todos los tiles al ancho completo */
@media (max-width: 480px) {
  .team-mosaic {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
    grid-template-areas:
      "v"
      "v"
      "a"
      "b"
      "c";
  }
}

.team-media {
  position: relative;
  width: 280px; height: 180px;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 0;
  cursor: pointer;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), border-color .25s ease, box-shadow .35s ease;
  display: block;
}
.team-media:hover {
  transform: translateY(-6px) scale(1.04);
  border-color: var(--orange-500);
  box-shadow: 0 24px 50px rgba(0,0,0,.55), 0 0 0 1px rgba(245,138,46,.4);
  z-index: 2;
}
.team-media:focus-visible {
  outline: 2px solid var(--orange-500);
  outline-offset: 3px;
}
.team-media img,
.team-media video {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
  pointer-events: none;
}
.team-media:hover img,
.team-media:hover video { transform: scale(1.08); }
.team-media__type {
  position: absolute; top: 10px; left: 10px;
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(10,15,28,.78);
  border: 1px solid rgba(255,255,255,.22);
  color: #fff;
  font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700;
  padding: 5px 10px; border-radius: var(--r-pill);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  pointer-events: none;
}
.team-media--video .team-media__type {
  background: rgba(245,138,46,.92);
  border-color: rgba(245,138,46,.6);
}
.team-media__play {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(245,138,46,.94);
  display: grid; place-items: center;
  color: white;
  box-shadow: 0 12px 30px rgba(245,138,46,.55);
  transition: transform .25s ease, background .25s ease;
  pointer-events: none;
}
.team-media:hover .team-media__play {
  transform: translate(-50%, -50%) scale(1.12);
  background: var(--orange-400);
}
.team-media__play svg { width: 26px; height: 26px; margin-left: 3px; }

/* Lightbox (<dialog>) */
.media-lightbox {
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  color: var(--ink);
  max-width: 100vw;
  max-height: 100vh;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}
.media-lightbox[open] {
  display: flex;
  align-items: center;
  justify-content: center;
}
.media-lightbox::backdrop {
  background: rgba(4, 10, 22, .92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.media-lightbox__stage {
  max-width: min(1100px, 96vw);
  max-height: 88vh;
  display: grid; place-items: center;
  padding: 24px;
}
.media-lightbox__stage img,
.media-lightbox__stage video {
  max-width: 100%;
  max-height: 88vh;
  width: auto; height: auto;
  border-radius: var(--r-lg);
  box-shadow: 0 30px 80px rgba(0,0,0,.7), 0 0 0 1px rgba(245,138,46,.4);
  background: #000;
}
.media-lightbox__close {
  position: absolute;
  top: 18px; right: 22px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  color: white;
  font-size: 1.8rem; line-height: 1;
  display: grid; place-items: center;
  transition: background .2s ease, transform .25s ease;
  z-index: 2;
}
.media-lightbox__close:hover { background: var(--orange-500); transform: rotate(90deg); }

@media (max-width: 980px) {
  .about-split { grid-template-columns: 1fr; min-height: auto; }
  .about-split__panel { padding: 44px 32px; }
  .about-split__panel--logo { min-height: 400px; }
  .about-logo-rings span { width: 300px; height: 300px; }
  .about-logo { width: min(380px, 75%); }
}
@media (max-width: 760px) {
  .about-card { grid-template-columns: 46px 1fr; gap: 14px; padding-top: 22px; }
  .about-card:first-child { padding-top: 0; }
  .about-card__icon { width: 44px; height: 44px; }
  .about-card__icon svg { width: 22px; height: 22px; }
  .about-card h3 { font-size: 1.15rem; }
  .about-section { padding: 70px 0 60px; }
  .about-split__panel { padding: 36px 24px; }
  .about-split__panel--logo { min-height: 340px; }
  .about-logo-rings span { width: 240px; height: 240px; }
  .about-logo { width: min(280px, 70%); }
  .about-team-shelf .row-track > * { flex: 0 0 240px; }
  .team-media { width: 240px; height: 150px; }
  .media-lightbox__close { top: 10px; right: 12px; width: 42px; height: 42px; }
}

/* =================================================================
   CARDS COLOREADAS POR SECCIÓN (alternancia azul/naranja, colores del logo)
   Azul   #0b48b3 → Servicios · Planes (base) · Cobertura · CTA
   Naranja #f4923b → Lifestyle · Por qué Megawire · Testimonios · Plan destacado
   ================================================================= */
:root {
  --brand-blue:        #0b48b3;
  --brand-blue-soft:   #1659cc;
  --brand-blue-deep:   #073a91;
  --brand-orange:      #f4923b;
  --brand-orange-soft: #f7a55b;
  --brand-orange-deep: #d97a23;
}

/* Sombra común y radio uniforme */
.service-card,
.lifestyle-card,
.plan-card,
.feature,
.testimonial,
.coverage { border-radius: var(--r-lg); }

/* ===== SERVICIOS — AZUL ===== */
.service-card {
  background: var(--brand-blue);
  color: white;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 14px 32px rgba(11,72,179,.28);
  overflow: hidden;
}
.service-card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 100% 0%, rgba(255,255,255,.14), transparent 55%);
  pointer-events: none;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 60px rgba(11,72,179,.42);
  background: var(--brand-blue-soft);
  border-color: rgba(255,255,255,.25);
}
.service-card .icon {
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.3);
  color: white;
}
.service-card h3 { color: white; }
.service-card p { color: rgba(255,255,255,.92); }
.service-card ul li { color: rgba(255,255,255,.95); }
.service-card ul li svg { color: var(--brand-orange-soft); }

/* ===== LIFESTYLE — restaurado al diseño original con imágenes de fondo ===== */
/* (Sin overrides aquí: usa las reglas base de .lifestyle-card con img + overlay dark) */

/* ===== PLANES — AZUL (featured = NARANJA) ===== */
.plan-card {
  background: var(--brand-blue);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 14px 32px rgba(11,72,179,.28);
  color: white;
}
.plan-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 60px rgba(11,72,179,.42);
  background: var(--brand-blue-soft);
  border-color: rgba(255,255,255,.25);
}
.plan-card .name {
  color: rgba(255,255,255,.85);
  text-transform: uppercase; letter-spacing: .12em;
  font-size: .8rem; font-weight: 700;
}
.plan-card .speed { color: white; }
.plan-card .speed small { color: rgba(255,255,255,.75); }
.plan-card .price { color: white; }
.plan-card .price small { color: rgba(255,255,255,.75); }
.plan-card ul li { color: rgba(255,255,255,.95); }
.plan-card ul li svg { color: var(--brand-orange-soft); }
.plan-card::after { display: none; }

/* Plan destacado → NARANJA */
.plan-card.featured {
  background: var(--brand-orange);
  outline: none;
  border-color: rgba(255,255,255,.2);
  box-shadow: 0 22px 50px rgba(244,146,59,.45);
}
.plan-card.featured:hover {
  background: var(--brand-orange-soft);
  box-shadow: 0 30px 60px rgba(244,146,59,.55);
}
.plan-card.featured .name { color: rgba(255,255,255,.92); }
.plan-card.featured ul li svg { color: white; }
.plan-card.featured .badge { background: var(--brand-blue); color: white; }

/* Botones dentro de las plan-card */
.plan-card .btn-primary {
  background: white;
  color: var(--brand-blue);
  box-shadow: 0 6px 16px rgba(0,0,0,.18);
}
.plan-card .btn-primary:hover { background: rgba(255,255,255,.92); color: var(--brand-blue); }
.plan-card.featured .btn-primary { color: var(--brand-orange-deep); }
.plan-card.featured .btn-primary:hover { color: var(--brand-orange-deep); }
.plan-card .btn-outline {
  background: rgba(255,255,255,.12);
  border: 1.5px solid rgba(255,255,255,.45);
  color: white;
}
.plan-card .btn-outline:hover {
  background: white;
  color: var(--brand-blue);
  border-color: white;
}
.plan-card.featured .btn-outline:hover { color: var(--brand-orange-deep); }

/* ===== POR QUÉ MEGAWIRE (.feature) — NARANJA ===== */
.feature {
  background: var(--brand-orange);
  color: white;
  border: 1px solid rgba(255,255,255,.15);
  box-shadow: 0 14px 32px rgba(244,146,59,.3);
  padding: 32px 26px;
}
.feature:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(244,146,59,.45);
  background: var(--brand-orange-soft);
}
.feature .icon-square {
  background: rgba(255,255,255,.2);
  border: 1px solid rgba(255,255,255,.32);
  color: white;
}
.feature h3 { color: white; }
.feature p { color: rgba(255,255,255,.92); }

/* ===== TESTIMONIOS — NARANJA ===== */
.testimonial {
  background: var(--brand-orange);
  border: 1px solid rgba(255,255,255,.15);
  box-shadow: 0 14px 32px rgba(244,146,59,.3);
  color: white;
}
.testimonial:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(244,146,59,.45);
  background: var(--brand-orange-soft);
  transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
}
.testimonial .stars { color: white; text-shadow: 0 1px 2px rgba(0,0,0,.2); }
.testimonial p { color: rgba(255,255,255,.96); }
.testimonial .avatar {
  background: white;
  color: var(--brand-orange-deep);
}
.testimonial .name { color: white; }
.testimonial .role { color: rgba(255,255,255,.82); }

/* ===== COBERTURA — AZUL ===== */
.coverage {
  background: var(--brand-blue);
  color: white;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 30px 60px rgba(11,72,179,.35);
}
.coverage h2 { color: white; }
.coverage p { color: rgba(255,255,255,.92); }
.coverage .eyebrow { color: var(--brand-orange-soft); }
.coverage .eyebrow::before { background: var(--brand-orange-soft); }
.coverage-form select,
.coverage-form input {
  background: rgba(255,255,255,.95);
  border: 1px solid rgba(255,255,255,.4);
  color: var(--ink);
}
.coverage-form select:focus,
.coverage-form input:focus {
  border-color: var(--brand-orange);
  background: white;
  outline: none;
}
.coverage-form .btn-primary {
  background: var(--brand-orange);
  color: white;
  box-shadow: 0 8px 20px rgba(244,146,59,.4);
}
.coverage-form .btn-primary:hover {
  background: var(--brand-orange-soft);
  color: white;
}

/* ===== CTA BANNER — NARANJA ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--brand-orange) 0%, var(--brand-orange-soft) 100%);
  color: white;
  box-shadow: 0 30px 60px rgba(244,146,59,.42);
}
.cta-banner h2 { color: white; }
.cta-banner p { color: rgba(255,255,255,.96); }
.cta-banner .btn-secondary {
  background: white;
  color: var(--brand-orange-deep);
  box-shadow: 0 8px 22px rgba(0,0,0,.18);
}
.cta-banner .btn-secondary:hover {
  background: rgba(255,255,255,.94);
  color: var(--brand-orange-deep);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,0,0,.25);
}
.cta-banner .btn-secondary svg { color: #25D366; }

/* =================================================================
   FEATURED CARDS — patrón estilo plan destacado en todas las secciones
   Servicios → 1 featured NARANJA (Planes Combo)
   Lifestyle → 1 featured AZUL (Streaming 4K)
   Por qué   → 1 featured AZUL (Estabilidad 99.8%)
   Testimonios → 1 featured AZUL (Jorge Gómez)
   ================================================================= */

/* Badge superior común para todos los tipos de card */
.service-card .badge,
.lifestyle-card .badge,
.feature .badge,
.testimonial .badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: white;
  font-weight: 800; font-size: .7rem;
  padding: 6px 14px; border-radius: var(--r-pill);
  letter-spacing: .14em; text-transform: uppercase;
  box-shadow: 0 6px 18px rgba(0,0,0,.28);
  white-space: nowrap;
  z-index: 4;
}

.service-card,
.lifestyle-card,
.feature,
.testimonial { position: relative; }

/* --- SERVICIOS featured → NARANJA (Planes Combo) --- */
.service-card.featured {
  background: var(--brand-orange);
  border-color: rgba(255,255,255,.2);
  box-shadow: 0 22px 50px rgba(244,146,59,.42);
}
.service-card.featured:hover {
  background: var(--brand-orange-soft);
  box-shadow: 0 30px 60px rgba(244,146,59,.55);
  border-color: rgba(255,255,255,.32);
}
.service-card.featured ul li svg { color: white; }
.service-card.featured .badge { background: var(--brand-blue); }

/* --- POR QUÉ featured → AZUL (Estabilidad) --- */
.feature.featured {
  background: var(--brand-blue);
  border-color: rgba(255,255,255,.2);
  box-shadow: 0 22px 50px rgba(11,72,179,.42);
}
.feature.featured:hover {
  background: var(--brand-blue-soft);
  box-shadow: 0 30px 60px rgba(11,72,179,.55);
}
.feature.featured .badge { background: var(--brand-orange); color: white; }

/* --- TESTIMONIOS featured → AZUL (Jorge Gómez) --- */
.testimonial.featured {
  background: var(--brand-blue);
  border-color: rgba(255,255,255,.2);
  box-shadow: 0 22px 50px rgba(11,72,179,.42);
}
.testimonial.featured:hover {
  background: var(--brand-blue-soft);
  box-shadow: 0 30px 60px rgba(11,72,179,.55);
}
.testimonial.featured .avatar { background: white; color: var(--brand-blue); }
.testimonial.featured .badge { background: var(--brand-orange); color: white; }

/* Fix: las cards tenían overflow:hidden y cortaban el badge posicionado en top:-14px */
.plan-card.featured,
.service-card.featured,
.lifestyle-card.featured,
.feature.featured,
.testimonial.featured { overflow: visible; }

/* =================================================================
   CARDS SIMPLES (blancas) — para alternar con las bold y dar contraste
   Servicios · Por qué Megawire · Testimonios → blancas/limpias
   (Las .featured de estas secciones mantienen su color bold para destacar)
   ================================================================= */

/* SERVICIOS — simple */
.service-card:not(.featured) {
  background: white;
  border: 1px solid var(--line);
  box-shadow: 0 4px 16px rgba(11,29,58,.06);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.service-card:not(.featured)::before { display: none; }
.service-card:not(.featured):hover {
  background: white;
  transform: translateY(-6px);
  box-shadow: 0 18px 38px rgba(11,29,58,.1);
  border-color: rgba(11,72,179,.22);
}
.service-card:not(.featured) .icon {
  background: rgba(11,72,179,.1);
  border: 1px solid rgba(11,72,179,.2);
  color: var(--brand-blue);
}
.service-card:not(.featured) h3 { color: var(--ink); }
.service-card:not(.featured) p { color: var(--text-soft); }
.service-card:not(.featured) ul li { color: var(--text); }
.service-card:not(.featured) ul li svg { color: var(--brand-orange); }

/* POR QUÉ MEGAWIRE — simple */
.feature:not(.featured) {
  background: white;
  border: 1px solid var(--line);
  box-shadow: 0 4px 16px rgba(11,29,58,.06);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.feature:not(.featured):hover {
  background: white;
  transform: translateY(-6px);
  box-shadow: 0 18px 38px rgba(11,29,58,.1);
  border-color: rgba(11,72,179,.22);
}
.feature:not(.featured) .icon-square {
  background: rgba(11,72,179,.1);
  border: 1px solid rgba(11,72,179,.2);
  color: var(--brand-blue);
}
.feature:not(.featured) h3 { color: var(--ink); }
.feature:not(.featured) p { color: var(--text-soft); }

/* TESTIMONIOS — simple */
.testimonial:not(.featured) {
  background: white;
  border: 1px solid var(--line);
  box-shadow: 0 4px 16px rgba(11,29,58,.06);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease, background .3s ease;
}
.testimonial:not(.featured):hover {
  background: white;
  transform: translateY(-6px);
  box-shadow: 0 18px 38px rgba(11,29,58,.1);
  border-color: rgba(11,72,179,.22);
}
.testimonial:not(.featured) .stars { color: var(--gold-500); text-shadow: none; }
.testimonial:not(.featured) p { color: var(--text); font-style: italic; }
.testimonial:not(.featured) .avatar {
  background: var(--g-accent);
  color: white;
}
.testimonial:not(.featured) .name { color: var(--ink); }
.testimonial:not(.featured) .role { color: var(--muted); }

/* === Galería carrusel (una imagen + descripción por slide) === */
.gallery-carousel {
  position: relative;
  margin-top: 40px;
}
.gallery-carousel__viewport {
  overflow: hidden;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 40px 80px -40px rgba(11,29,58,.22);
}
.gallery-carousel__track {
  display: flex;
  scroll-snap-type: x mandatory;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.gallery-carousel__track::-webkit-scrollbar { display: none; }
.gallery-carousel__slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.gallery-carousel__media {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #eaf0fb 0%, #f6f9ff 100%);
  overflow: hidden;
}
.gallery-carousel__media::after {
  /* Viñeta sutil para dar profundidad cinematográfica */
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 55%, rgba(6,20,50,.35) 100%);
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity 1s ease;
}
.gallery-carousel__slide[data-active="true"] .gallery-carousel__media::after {
  opacity: 1;
}
.gallery-carousel__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* Scale base constante — le da overflow al pan, y como el scale no
     cambia en la animación no hay resampling per-frame. */
  transform: scale(1.08);
}
/* Ken Burns "safe": pan-only (translate3d) con scale constante. La textura
   se rasteriza una vez y cada frame solo cambia posición → sin resampling,
   funciona liso en cualquier GPU. */
@keyframes gallery-ken-burns {
  0%   { transform: scale(1.08) translate3d(0, 0, 0); }
  50%  { transform: scale(1.08) translate3d(-2%, -1.5%, 0); }
  100% { transform: scale(1.08) translate3d(0, 0, 0); }
}
.gallery-carousel__slide[data-active="true"] .gallery-carousel__media img.ken-ready {
  animation: gallery-ken-burns 18s ease-in-out infinite;
}
.gallery-carousel__caption {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 44px 52px;
  background: linear-gradient(to top, rgba(6,32,63,.85) 0%, rgba(6,32,63,.4) 38%, transparent 65%);
  color: #fff;
  pointer-events: none;
  z-index: 2;
}
.gallery-carousel__caption h3 {
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.15;
  margin: 0;
  text-shadow: 0 6px 16px rgba(0,0,0,.55);
  max-width: 80%;
  /* Entrada suave del título */
  transform: translateY(28px);
  opacity: 0;
  transition: transform .9s cubic-bezier(.22,.61,.36,1) .15s, opacity .9s ease .15s;
}
.gallery-carousel__slide[data-active="true"] .gallery-carousel__caption h3 {
  transform: translateY(0);
  opacity: 1;
}
/* Barra de acento naranja que se desliza bajo el título al activarse */
.gallery-carousel__caption h3::after {
  content: "";
  display: block;
  height: 3px;
  width: 0;
  margin-top: 14px;
  background: linear-gradient(90deg, var(--brand-orange), var(--brand-orange-deep, #d97516));
  border-radius: 2px;
  transition: width 1.1s cubic-bezier(.22,.61,.36,1) .5s;
}
.gallery-carousel__slide[data-active="true"] .gallery-carousel__caption h3::after {
  width: 90px;
}
.gallery-carousel__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(11,72,179,.14);
  box-shadow: 0 14px 30px -14px rgba(11,29,58,.3);
  color: var(--brand-blue);
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 3;
  backdrop-filter: blur(8px);
  transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}
.gallery-carousel__nav:hover {
  background: var(--brand-orange);
  color: #fff;
  transform: translateY(-50%) scale(1.06);
  box-shadow: 0 18px 36px -16px rgba(244,146,59,.55);
}
.gallery-carousel__nav--prev { left: 18px; }
.gallery-carousel__nav--next { right: 18px; }
.gallery-carousel__nav svg { width: 22px; height: 22px; }
.gallery-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}
.gallery-carousel__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(11,72,179,.2);
  border: 0;
  cursor: pointer;
  padding: 0;
  transition: background .25s ease, transform .2s ease, width .3s ease;
}
.gallery-carousel__dot[aria-current="true"] {
  background: var(--brand-orange);
  width: 28px;
  border-radius: 6px;
}
.gallery-carousel__dot:hover { transform: scale(1.18); }
@media (max-width: 820px) {
  .gallery-carousel__slide { aspect-ratio: 4 / 3; }
  .gallery-carousel__caption { padding: 26px 22px; }
  .gallery-carousel__caption h3 { max-width: 100%; font-size: 1.35rem; }
  .gallery-carousel__nav { width: 42px; height: 42px; }
  .gallery-carousel__nav--prev { left: 8px; }
  .gallery-carousel__nav--next { right: 8px; }
  .gallery-carousel__nav svg { width: 18px; height: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .gallery-carousel__track { scroll-behavior: auto; }
  .gallery-carousel__media img { transition: none; animation: none !important; transform: scale(1) !important; filter: none !important; }
  .gallery-carousel__caption h3 { transform: none; opacity: 1; transition: none; }
  .gallery-carousel__caption h3::after { transition: none; width: 90px; }
  .gallery-carousel__media::after { transition: none; }
}

/* === Banner "Comunícate como es" (CRC — régimen de protección al usuario) === */
.comunicate-banner {
  padding: 16px 0 56px;
}
.comunicate-banner__link {
  display: block;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 40px -20px rgba(11,29,58,.28);
  transition: transform .3s cubic-bezier(.22,.61,.36,1), box-shadow .3s ease;
  outline-offset: 4px;
}
.comunicate-banner__link:hover,
.comunicate-banner__link:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 26px 52px -22px rgba(11,29,58,.36);
}
.comunicate-banner__link img {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: center;
}
@media (max-width: 640px) {
  .comunicate-banner__link img { height: 180px; }
}
@media (max-width: 640px) {
  .comunicate-banner { padding: 12px 0 48px; }
}

/* === CTA Test de velocidad (enlace a Speedtest.net) === */
.speedtest-cta { padding: 72px 0; }
.speedtest-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 40px;
  align-items: center;
  background: linear-gradient(135deg, #ffffff 0%, #f6f9ff 100%);
  border: 1px solid rgba(11,72,179,.12);
  border-radius: 28px;
  padding: 48px 52px;
  overflow: hidden;
  box-shadow:
    0 40px 80px -40px rgba(11,29,58,.22),
    0 12px 30px -18px rgba(244,146,59,.18);
}
.speedtest-card::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 8% 0%, rgba(244,146,59,.14), transparent 45%),
    radial-gradient(circle at 92% 100%, rgba(11,72,179,.12), transparent 45%);
  pointer-events: none;
}
.speedtest-card > * { position: relative; z-index: 1; }
.speedtest-card__content .eyebrow {
  display: inline-block;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand-orange-deep);
  background: rgba(244,146,59,.12);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.speedtest-card__content h2 {
  color: var(--ink);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin-bottom: 14px;
  line-height: 1.15;
}
.speedtest-card__content > p {
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 26px;
  max-width: 500px;
}
.speedtest-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.speedtest-card__features li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-size: .98rem;
  font-weight: 600;
}
.speedtest-card__features svg {
  width: 18px;
  height: 18px;
  color: #fff;
  background: linear-gradient(135deg, #0b48b3, #0b2d5b);
  border-radius: 50%;
  padding: 4px;
  flex-shrink: 0;
  box-shadow: 0 4px 10px -4px rgba(11,72,179,.5);
}
.speedtest-card__content .btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  font-size: 1rem;
}
.speedtest-cta__note {
  margin-top: 14px;
  font-size: .82rem;
  color: var(--muted);
}
.speedtest-cta__note strong { color: var(--brand-blue); font-weight: 700; }
.speedtest-card__visual {
  display: grid;
  place-items: center;
}
.speedtest-card__visual svg {
  width: 100%;
  max-width: 340px;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(11,72,179,.15));
  animation: speedtest-float 6s ease-in-out infinite;
}
@keyframes speedtest-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.speedtest-card__needle {
  transform-origin: 100px 120px;
  animation: speedtest-needle 4s ease-in-out infinite;
}
@keyframes speedtest-needle {
  0%, 100% { transform: rotate(-45deg); }
  50%      { transform: rotate(20deg); }
}
@media (max-width: 820px) {
  .speedtest-card {
    grid-template-columns: 1fr;
    padding: 40px 28px;
    gap: 24px;
    text-align: center;
  }
  .speedtest-card__content > p { margin-left: auto; margin-right: auto; }
  .speedtest-card__visual { order: -1; }
  .speedtest-card__visual svg { max-width: 240px; }
}
@media (prefers-reduced-motion: reduce) {
  .speedtest-card__visual svg,
  .speedtest-card__needle { animation: none; }
}

/* =================================================================
   HERO REDISEÑADO — tema claro, limpio y moderno
   Layout: texto izquierda en navy + foto contenida a la derecha
   ================================================================= */

/* Quitar overlays/decoraciones pesadas (canvas y cursor glow ocultos en tema claro) */
.hero-canvas,
.hero-grid-lines,
.hero-noise,
.hero-overlay,
.cursor-glow { display: none !important; }
.hero::before,
.hero::after { display: none !important; }

/* === Aurora: orbes de marca flotando lentamente (tema claro) === */
.hero-aurora {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .55;
  mix-blend-mode: multiply;
  will-change: transform;
}
.orb-1 {
  width: 440px; height: 440px;
  top: -12%; left: -8%;
  background: radial-gradient(circle, rgba(244,146,59,.65) 0%, rgba(244,146,59,0) 70%);
  animation: orb-drift-1 24s ease-in-out infinite;
}
.orb-2 {
  width: 520px; height: 520px;
  top: 18%; right: -12%;
  background: radial-gradient(circle, rgba(11,72,179,.55) 0%, rgba(11,72,179,0) 70%);
  animation: orb-drift-2 30s ease-in-out infinite;
}
.orb-3 {
  width: 360px; height: 360px;
  bottom: -15%; left: 28%;
  background: radial-gradient(circle, rgba(247,165,91,.55) 0%, rgba(247,165,91,0) 70%);
  animation: orb-drift-3 28s ease-in-out infinite;
}
.orb-4 {
  width: 300px; height: 300px;
  top: 55%; left: 8%;
  background: radial-gradient(circle, rgba(22,89,204,.45) 0%, rgba(22,89,204,0) 70%);
  animation: orb-drift-4 26s ease-in-out infinite;
}
@keyframes orb-drift-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(80px, 60px) scale(1.08); }
}
@keyframes orb-drift-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(-90px, 50px) scale(1.05); }
}
@keyframes orb-drift-3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(60px, -70px) scale(1.1); }
}
@keyframes orb-drift-4 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(50px, -40px) scale(1.06); }
}

@media (max-width: 760px) {
  .orb-2, .orb-4 { display: none; }
  .orb { filter: blur(50px); }
}
@media (prefers-reduced-motion: reduce) {
  .orb { animation: none; }
}

/* Hero limpio con ambient sutil */
.hero {
  background:
    radial-gradient(ellipse 65% 55% at 100% 45%, rgba(11,72,179,.07), transparent 65%),
    radial-gradient(ellipse 45% 45% at 0% 100%, rgba(244,146,59,.06), transparent 60%),
    var(--bg);
  color: var(--ink);
  min-height: 640px;
  padding: 80px 0 100px;
  overflow: visible;
}

/* Foto como fondo de toda la sección — fade suave izq→der + filtros de realce */
.hero-bg-photo {
  position: absolute !important;
  inset: 0 !important;
  top: 0 !important;
  right: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  object-fit: contain;
  object-position: right center;
  z-index: 0;
  /* Realce sutil de contraste, saturación y nitidez */
  filter: contrast(1.06) saturate(1.14) brightness(1.02);
  /* Render de alta calidad y aceleración por GPU para menos blur al escalar */
  image-rendering: -webkit-optimize-contrast;
  image-rendering: high-quality;
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  will-change: opacity;
  animation: heroPhotoFadeIn 1.4s cubic-bezier(.2,.7,.2,1) both;
  -webkit-mask-image: linear-gradient(90deg,
    transparent 0%,
    rgba(0,0,0,.08) 18%,
    rgba(0,0,0,.5) 38%,
    rgba(0,0,0,.9) 55%,
    #000 68%);
  mask-image: linear-gradient(90deg,
    transparent 0%,
    rgba(0,0,0,.08) 18%,
    rgba(0,0,0,.5) 38%,
    rgba(0,0,0,.9) 55%,
    #000 68%);
}
@keyframes heroPhotoFadeIn {
  from { opacity: 0; transform: translateZ(0) scale(1.02); }
  to   { opacity: 1; transform: translateZ(0) scale(1); }
}

.hero .container {
  position: relative; z-index: 2;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 40px;
  align-items: center;
}

/* PILL "Cobertura activa…" */
.hero-pill {
  background: rgba(11,72,179,.1);
  border: 1px solid rgba(11,72,179,.22);
  color: var(--brand-blue);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  font-weight: 700;
}
.hero-pill .dot {
  background: var(--brand-orange);
  box-shadow: 0 0 0 4px rgba(244,146,59,.22);
}
.hero-pill svg { color: var(--brand-orange); }

/* H1 grande en navy oscuro */
.hero h1 {
  color: var(--ink);
  font-size: clamp(2.6rem, 5.4vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.05;
}

/* LEAD */
.hero .lead {
  color: var(--text);
  font-size: 1.1rem;
  margin: 20px 0 32px;
  max-width: 520px;
}

/* CTAs: btn-primary naranja se mantiene; btn-ghost se adapta a fondo claro */
.hero-actions .btn-ghost {
  background: white;
  color: var(--brand-blue);
  border: 1.5px solid rgba(11,72,179,.3);
  box-shadow: 0 8px 20px rgba(11,72,179,.12);
}
.hero-actions .btn-ghost:hover {
  background: var(--brand-blue);
  color: white;
  border-color: var(--brand-blue);
}

/* TRUST row sobre fondo claro */
.hero-trust {
  color: var(--text-soft);
  margin-top: 36px;
}
.hero-trust strong { color: var(--ink); }
.hero-stars {
  background: white;
  border: 1px solid var(--line);
  color: var(--gold-500);
  box-shadow: 0 4px 14px rgba(11,29,58,.08);
}
.hero-stars span { color: var(--ink); }
.hero-avatars .av {
  background: var(--brand-blue);
  color: white;
  border: 2px solid white;
  box-shadow: 0 2px 8px rgba(11,29,58,.15);
  overflow: hidden;
}
.hero-avatars .av svg {
  width: 22px; height: 22px;
  color: #fff;
  opacity: .95;
}
.hero-avatars .av--1 { background: linear-gradient(135deg, #f4923b, #f5b83a); }
.hero-avatars .av--2 { background: linear-gradient(135deg, #0b48b3, #2f6bd9); }
.hero-avatars .av--3 { background: linear-gradient(135deg, #6b3fa0, #b1522d); }
.hero-avatars .av--count {
  background: var(--brand-blue);
  color: #fff;
  font-weight: 800;
  font-size: .68rem;
  letter-spacing: .02em;
}
.hero-avatars img {
  border: 2px solid white;
  box-shadow: 0 2px 8px rgba(11,29,58,.15);
}

/* STATS — card blanca horizontal con números azules */
.hero-stats {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: 22px 8px;
  background: white;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(11,29,58,.08);
  max-width: 540px;
}
.hero-stats .stat {
  text-align: center;
  padding: 0 16px;
  border-right: 1px solid var(--line);
}
.hero-stats .stat:last-child { border-right: none; }
.hero-stats .stat .num {
  color: var(--brand-blue);
  font-size: 1.7rem;
  font-weight: 800;
  font-family: var(--ff-display);
  line-height: 1;
}
.hero-stats .stat .label {
  color: var(--text-soft);
  font-size: .78rem;
  margin-top: 4px;
}

/* HERO VISUAL (right column) — sólo actúa como spacer, glass cards ocultas */
.hero-visual { min-height: 540px; position: relative; }
.glass-stack { display: none !important; }

/* Typewriter mantiene gradiente naranja (legible sobre fondo blanco) */
.hero h1 .typewriter {
  background: var(--g-accent);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero h1 .caret { background: var(--brand-orange); box-shadow: 0 0 12px rgba(244,146,59,.4); }

/* Responsive */
@media (max-width: 980px) {
  .hero { padding: 60px 0 80px; min-height: auto; }
  .hero .container { grid-template-columns: 1fr; gap: 32px; }
  .hero-visual { display: none; }
  .hero-bg-photo {
    position: static !important;
    transform: none !important;
    display: block !important;
    width: min(420px, 80%) !important;
    height: auto !important;
    max-height: none !important;
    margin: 24px auto 0 !important;
    object-fit: contain !important;
    object-position: center !important;
    filter: drop-shadow(0 14px 30px rgba(11,72,179,.18));
  }
  .hero-stats { max-width: 100%; }
}
@media (max-width: 540px) {
  .hero { padding: 50px 0 70px; }
  .hero-bg-photo {
    width: min(340px, 82%) !important;
    margin: 16px auto 0 !important;
    filter: drop-shadow(0 10px 22px rgba(11,72,179,.16));
  }
  .hero-stats {
    grid-template-columns: 1fr;
    padding: 8px 16px;
  }
  .hero-stats .stat {
    padding: 14px 0;
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
  .hero-stats .stat:last-child { border-bottom: none; }
  .hero-stats .stat .num { font-size: 1.5rem; }
}
@media (max-width: 380px) {
  .hero-bg-photo {
    width: min(280px, 85%) !important;
    margin: 12px auto 0 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .hero-canvas { display: none; }
}
