/* ============================================
   Kairos7 Connect — estilos
   Fuentes: Sora (títulos) / Hanken Grotesk (texto)
   ============================================ */

:root {
  --navy-950: #05070d;
  --navy-900: #0a0e17;
  --navy-800: #0f1524;
  --navy-700: #151d30;
  --navy-600: #1c2740;
  --line: #263252;
  --line-soft: #1a2337;

  --blue: #2f6feb;
  --blue-light: #5b93ff;
  --blue-glow: #4c8dffb3;
  --silver: #aab1bd;
  --silver-soft: #7c8494;

  --ink: #f4f6fb;
  --ink-dim: #b7bfcf;
  --ink-mute: #8991a3;

  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 10px;

  --container: 1180px;
  --shadow-1: 0 20px 60px -20px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 0 1px rgba(79, 141, 255, 0.15), 0 20px 50px -15px rgba(47, 111, 235, 0.35);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--navy-900);
  color: var(--ink);
  font-family: "Hanken Grotesk", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: "Sora", "Segoe UI", sans-serif;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: pretty;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-light);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--blue-light);
  border-radius: 2px;
}

.section {
  position: relative;
  padding: 108px 0;
  scroll-margin-top: 92px;
}
.section-head {
  max-width: 620px;
  margin: 0 0 56px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.section-head h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); }
.section-head p { color: var(--ink-dim); font-size: 1.05rem; }
.section-head.center { margin-inline: auto; text-align: center; align-items: center; }

/* ---------- split-text intro (hero) ---------- */
.split-char, .split-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.55em);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.split-char.in, .split-word.in { opacity: 1; transform: translateY(0); }

/* ---------- reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-delay-1.in-view { transition-delay: 0.08s; }
.reveal-delay-2.in-view { transition-delay: 0.16s; }
.reveal-delay-3.in-view { transition-delay: 0.24s; }
.reveal-delay-4.in-view { transition-delay: 0.32s; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
  color: #fff;
  box-shadow: 0 12px 30px -10px rgba(47, 111, 235, 0.65);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -8px rgba(47, 111, 235, 0.8); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink);
  border-color: var(--line);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { border-color: var(--blue-light); background: rgba(79, 141, 255, 0.08); transform: translateY(-2px); }
.btn-block { width: 100%; }

/* ============ HEADER ============ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 22px 0;
  transition: padding 0.35s var(--ease), background 0.35s var(--ease), border-color 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  padding: 12px 0;
  background: rgba(8, 11, 19, 0.82);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line-soft);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 38px; height: 38px;
  border-radius: 10px;
  overflow: hidden;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-800));
  border: 1px solid var(--line);
  flex: none;
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.brand-wordmark { height: 32px; width: auto; display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-dim);
  transition: color 0.2s;
  position: relative;
}
.nav-links a:hover { color: var(--ink); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.header-actions .btn {
  padding: 9px 18px;
  font-size: 0.82rem;
}
.header-actions .btn svg { width: 15px; height: 15px; }

.lang-toggle {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
  background: rgba(255, 255, 255, 0.02);
}
.lang-toggle button {
  border: none;
  background: transparent;
  color: var(--ink-mute);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 6px 11px;
  border-radius: 999px;
  transition: background 0.25s, color 0.25s;
}
.lang-toggle button.active { background: var(--blue); color: #fff; }

.menu-btn {
  display: none;
  width: 42px; height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  align-items: center;
  justify-content: center;
}
.menu-btn span, .menu-btn::before, .menu-btn::after { display: none; }
.menu-btn svg { width: 20px; height: 20px; }

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: 148px 0 110px;
  overflow: hidden;
  isolation: isolate;
}
.hero-video-bg { position: absolute; inset: 0; z-index: -3; }
.hero-bg-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.65) brightness(0.55);
  opacity: 0;
  transition: opacity 1.4s ease;
}
.hero-bg-video.active { opacity: 1; }
.hero-bg {
  position: absolute; inset: 0;
  z-index: -2;
  background:
    radial-gradient(60% 55% at 82% 8%, rgba(47, 111, 235, 0.3), transparent 60%),
    radial-gradient(45% 40% at 8% 92%, rgba(91, 147, 255, 0.18), transparent 65%),
    linear-gradient(180deg, rgba(5, 7, 13, 0.78) 0%, rgba(9, 13, 22, 0.84) 55%, rgba(13, 18, 30, 0.93) 100%);
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
  z-index: -1;
  animation: float 16s ease-in-out infinite;
}
.hero-blob.b1 { width: 420px; height: 420px; background: rgba(47, 111, 235, 0.35); top: -120px; right: 8%; }
.hero-blob.b2 { width: 320px; height: 320px; background: rgba(170, 177, 189, 0.14); bottom: -60px; left: 4%; animation-delay: -6s; }

.hero-rings {
  position: absolute;
  z-index: -1;
  opacity: 0.35;
}
.hero-rings.pos-1 { right: 6%; top: 18%; width: 260px; height: 260px; }
.hero-rings.pos-2 { left: 4%; top: 54%; width: 210px; height: 210px; opacity: 0.28; }
.hero-rings.pos-3 { left: 18%; top: 8%; width: 140px; height: 140px; opacity: 0.22; }
.hero-rings.pos-4 { right: 16%; bottom: 4%; width: 190px; height: 190px; opacity: 0.26; }
.hero-rings .ring {
  position: absolute; inset: 0;
  border: 1px solid var(--blue-light);
  border-radius: 50%;
  animation: pulse-ring 4.5s var(--ease) infinite;
  animation-delay: var(--group-delay, 0s);
}
.hero-rings .ring:nth-child(2) { animation-delay: calc(var(--group-delay, 0s) + 1.1s); }
.hero-rings .ring:nth-child(3) { animation-delay: calc(var(--group-delay, 0s) + 2.2s); }

@keyframes pulse-ring {
  0% { transform: scale(0.3); opacity: 0.9; }
  100% { transform: scale(1); opacity: 0; }
}
@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-24px, 26px); }
}

.hero .container { position: relative; }
.hero-copy { max-width: 700px; margin: 0 auto; text-align: center; }
.hero-copy h1 { font-size: clamp(2.4rem, 4.6vw, 3.6rem); }
.hero-copy h1 em { font-style: normal; color: var(--blue-light); }
.hero-eyebrow { margin-bottom: 18px; justify-content: center; }
.hero-eyebrow::after {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--blue-light);
  border-radius: 2px;
}
.hero-lead { margin: 20px auto 0; font-size: 1.12rem; color: var(--ink-dim); max-width: 560px; }
.hero-cta { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; justify-content: center; }

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 42px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px 9px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-dim);
}
.hero-badge svg { width: 16px; height: 16px; color: var(--blue-light); flex: none; }
.hero-badge b { color: var(--ink); font-weight: 700; }

/* tarjeta flotante con video (reutilizada en la sección de cobertura) */
.call-card {
  --tilt: 0deg;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-glow), var(--shadow-1);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transform: rotate(var(--tilt));
  animation: card-float 7s ease-in-out infinite;
}
@keyframes card-float {
  0%, 100% { transform: rotate(var(--tilt)) translateY(0); }
  50% { transform: rotate(var(--tilt)) translateY(-14px); }
}
.call-card video, .call-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 22%;
}
.call-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5, 7, 13, 0) 55%, rgba(5, 7, 13, 0.5) 100%);
}

/* ============ TRUST / WHY ============ */
.trust {
  background:
    linear-gradient(180deg, var(--navy-900) 0%, var(--navy-950) 100%);
  position: relative;
}
.trust-texture {
  position: absolute; inset: 0;
  background-image: url("../assets/img/network-bokeh.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.14;
  mix-blend-mode: screen;
  pointer-events: none;
}
.trust .container { position: relative; }

/* ============ FRANJA AT&T ============ */
.att-banner {
  background: var(--navy-950);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding: 34px 0;
}
.att-banner-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}
.att-banner-logo {
  height: 52px;
  width: auto;
  border-radius: 8px;
  flex: none;
}
.att-banner-inner p {
  color: var(--ink-dim);
  font-size: 0.96rem;
  max-width: 480px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.feature-card {
  padding: 30px 26px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), background 0.35s var(--ease);
}
.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(91, 147, 255, 0.45);
  background: linear-gradient(180deg, rgba(47, 111, 235, 0.1), rgba(255, 255, 255, 0.01));
}
.feature-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.feature-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(47, 111, 235, 0.15);
  border: 1px solid rgba(91, 147, 255, 0.3);
  flex: none;
}
.feature-icon svg { width: 24px; height: 24px; color: var(--blue-light); }
.feature-card h3 { font-size: 1.12rem; }
.feature-card p { color: var(--ink-dim); font-size: 0.95rem; }

/* ============ PLANES ============ */
.plans { background: var(--navy-900); }
.plans-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.plan-card {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--navy-800), var(--navy-900));
  padding: 30px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.plan-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-1); border-color: var(--line); }
.plan-name { font-family: "Sora"; font-size: 1.2rem; font-weight: 700; }
.plan-price { display: flex; align-items: baseline; gap: 6px; }
.plan-price .old { font-size: 0.95rem; color: var(--ink-mute); text-decoration: line-through; }
.plan-price .amount { font-family: "Sora"; font-size: 2.3rem; font-weight: 700; color: var(--ink); }
.plan-price .per { font-size: 0.85rem; color: var(--ink-dim); }
.plan-price small { display: block; font-size: 0.78rem; color: var(--ink-mute); margin-top: 2px; }

.plan-list { display: flex; flex-direction: column; gap: 12px; flex: 1; }
.plan-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.87rem;
  color: var(--ink-dim);
}
.plan-list li svg { width: 16px; height: 16px; margin-top: 2px; color: var(--blue-light); flex: none; }
.plan-list li b { color: var(--ink); }

.plans-included {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 640px;
  margin: 40px auto 0;
  padding: 18px 24px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(91, 147, 255, 0.35);
  background: linear-gradient(135deg, rgba(47, 111, 235, 0.16), rgba(91, 147, 255, 0.05));
}
.plans-included .ic {
  width: 42px; height: 42px;
  border-radius: 11px;
  display: grid; place-items: center;
  background: rgba(47, 111, 235, 0.2);
  border: 1px solid rgba(91, 147, 255, 0.35);
  flex: none;
}
.plans-included .ic svg { width: 21px; height: 21px; color: var(--blue-light); }
.plans-included p { font-size: 0.96rem; color: var(--ink-dim); text-align: left; }
.plans-included p b { color: var(--ink); }

.plans-dots { display: none; }

/* ============ COMO FUNCIONA ============ */
.steps {
  background: var(--navy-950);
  position: relative;
}
.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  counter-reset: step;
  position: relative;
}
.steps-row::before {
  content: "";
  position: absolute;
  top: 26px; left: 12%; right: 12%;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--line) 0 10px, transparent 10px 18px);
}
.step {
  position: relative;
  padding-top: 8px;
}
.step-num {
  width: 54px; height: 54px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--navy-800);
  border: 1px solid var(--blue);
  color: var(--blue-light);
  font-family: "Sora";
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 6px var(--navy-950);
}
.step h3 { font-size: 1.08rem; margin-bottom: 10px; }
.step p { color: var(--ink-dim); font-size: 0.93rem; }

/* ============ COBERTURA ============ */
.coverage {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 55%, var(--navy-950) 100%);
}
.coverage-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.coverage-inner h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin: 14px 0 18px; }
.coverage-inner p { color: var(--ink-dim); font-size: 1.05rem; margin-bottom: 30px; }
.coverage-stats { display: flex; gap: 34px; flex-wrap: wrap; margin-top: 36px; }
.coverage-stats .stat b {
  display: block;
  font-family: "Sora";
  font-size: 1.6rem;
  color: var(--ink);
}
.coverage-stats .stat span { font-size: 0.82rem; color: var(--ink-mute); }

/* tarjetas de agentes en abanico */
.agent-cards { position: relative; height: 460px; }
.agent-cards .call-card { position: absolute; width: 220px; aspect-ratio: 3 / 4; }
.agent-cards .call-card.tilt-a { --tilt: -7deg; left: 2%; top: 4%; z-index: 1; }
.agent-cards .call-card.tilt-b { --tilt: 4deg; left: 33%; top: 18%; z-index: 3; animation-delay: -2.3s; }
.agent-cards .call-card.tilt-c { --tilt: -3deg; left: 62%; top: 0%; z-index: 2; animation-delay: -4.6s; }

/* ============ CONTACTO ============ */
.contact { background: linear-gradient(180deg, var(--navy-900), var(--navy-950)); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 50px;
  align-items: center;
}
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  padding: 38px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.contact-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.25s, transform 0.25s;
}
.contact-row:hover { border-color: var(--blue-light); transform: translateX(4px); }
.contact-row .ic {
  width: 44px; height: 44px;
  border-radius: 11px;
  display: grid; place-items: center;
  background: rgba(47, 111, 235, 0.15);
  border: 1px solid rgba(91, 147, 255, 0.3);
  flex: none;
}
.contact-row .ic svg { width: 22px; height: 22px; color: var(--blue-light); }
.contact-row .tx b { display: block; font-size: 0.98rem; }
.contact-row .tx span { font-size: 0.82rem; color: var(--ink-mute); }

.contact-visual { position: relative; }
.contact-visual .frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
  aspect-ratio: 4 / 5;
}
.contact-visual .frame img, .contact-visual .frame video { width: 100%; height: 100%; object-fit: cover; }
.contact-visual .frame::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(5, 7, 13, 0.85));
}
.contact-visual .badge-float {
  position: absolute;
  bottom: 22px; left: 22px; right: 22px;
  z-index: 2;
  background: rgba(10, 14, 23, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.contact-visual .badge-float svg { width: 22px; height: 22px; color: #43d17a; flex: none; }
.contact-visual .badge-float b { font-size: 0.88rem; display: block; }
.contact-visual .badge-float span { font-size: 0.76rem; color: var(--ink-mute); }

/* ============ FOOTER ============ */
.site-footer {
  background: var(--navy-950);
  border-top: 1px solid var(--line-soft);
  padding: 60px 0 28px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line-soft);
}
.footer-brand p { color: var(--ink-mute); font-size: 0.9rem; margin-top: 14px; max-width: 320px; }
.footer-col h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-mute); margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a { font-size: 0.92rem; color: var(--ink-dim); transition: color 0.2s; }
.footer-col a:hover { color: var(--blue-light); }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.2s, color 0.2s;
}
.footer-social a:hover { border-color: var(--blue-light); color: var(--blue-light); }
.footer-social svg { width: 18px; height: 18px; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  font-size: 0.78rem;
  color: var(--ink-mute);
}
.footer-legal { max-width: 640px; line-height: 1.6; }

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .grid-3, .plans-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-visual { order: -1; max-width: 420px; margin: 0 auto; }

  .coverage-grid { grid-template-columns: 1fr; }
  .agent-cards {
    height: auto;
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
  }
  .agent-cards .call-card {
    position: static;
    width: 160px;
    animation-delay: 0s !important;
  }
}

@media (max-width: 760px) {
  .nav-links, .header-actions .lang-toggle { display: none; }
  .menu-btn { display: grid; }
  .site-header.nav-open .nav-links {
    display: flex;
    position: fixed;
    inset: 72px 16px auto 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: rgba(10, 14, 23, 0.97);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 14px;
    backdrop-filter: blur(14px);
  }
  .site-header.nav-open .nav-links a { padding: 10px 8px; width: 100%; }
  .site-header.nav-open .header-actions .lang-toggle { display: flex; }

  .section { padding: 76px 0; }
  .hero { padding: 150px 0 90px; }
  .grid-3 { grid-template-columns: 1fr; }
  .steps-row { grid-template-columns: 1fr; gap: 30px; }
  .steps-row::before {
    top: 27px; bottom: 27px; left: 27px; right: auto;
    width: 1px; height: auto;
    background: repeating-linear-gradient(180deg, var(--line) 0 10px, transparent 10px 18px);
  }
  .step {
    display: grid;
    grid-template-columns: 54px 1fr;
    grid-template-areas: "num title" "num text";
    column-gap: 18px;
    row-gap: 6px;
    align-items: start;
    padding-top: 0;
  }
  .step-num { grid-area: num; margin-bottom: 0; }
  .step h3 { grid-area: title; }
  .step p { grid-area: text; }
  .footer-top { grid-template-columns: 1fr; }
  .hero-cta .btn { flex: 1 1 auto; }

  /* carrusel de planes (solo movil) */
  .plans-grid {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    margin: 0 -28px;
    padding: 4px 28px 10px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .plans-grid::-webkit-scrollbar { display: none; }
  .plans-grid .plan-card {
    flex: 0 0 80%;
    scroll-snap-align: center;
  }
  .plan-card:hover, .plan-card:active {
    transform: none;
    box-shadow: none;
  }
  .plans-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
  }
  .plans-dots .dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--line);
    cursor: pointer;
    transition: background 0.25s, transform 0.25s;
  }
  .plans-dots .dot.active { background: var(--blue-light); transform: scale(1.35); }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; opacity: 1; transform: none; }
  .hero-blob, .call-card, .hero-rings .ring { animation: none; }
}
