/* ═══════════════════════════════════════════
   MACA Landing — estilos
   Paleta: indigo de marca + tonos cálidos familiares
   ═══════════════════════════════════════════ */

:root {
  --indigo: #3f51b5;
  --indigo-dark: #303f9f;
  --indigo-soft: #e8eaf6;
  --coral: #ff7a59;
  --coral-dark: #f4623a;
  --coral-soft: #fff1ec;
  --mint: #34d399;
  --mint-dark: #059669;
  --mint-soft: #e7faf3;
  --sun: #ffd166;
  --sun-soft: #fff8e6;
  --cream: #fffaf5;
  --ink: #1e293b;
  --ink-soft: #64748b;
  --line: rgba(226, 232, 240, 0.9);
  --white: #ffffff;
  --radius: 20px;
  --radius-sm: 14px;
  --shadow: 0 10px 30px rgba(30, 41, 59, 0.08);
  --shadow-lg: 0 20px 50px rgba(30, 41, 59, 0.14);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  font-family: 'Poppins', 'Roboto', sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }

.container {
  width: min(1120px, 92%);
  margin-inline: auto;
}

h1, h2, h3 { line-height: 1.2; font-weight: 700; }

/* ─────────────── Botones ─────────────── */
.btn {
  display: inline-block;
  padding: 0.8rem 1.7rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s;
  cursor: pointer;
}
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px); }

.btn-primary {
  background: var(--indigo);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(63, 81, 181, 0.35);
}
.btn-primary:hover { background: var(--indigo-dark); box-shadow: 0 10px 24px rgba(63, 81, 181, 0.45); }

.btn-cta {
  background: linear-gradient(135deg, var(--coral) 0%, var(--coral-dark) 100%);
  color: var(--white);
  box-shadow: 0 8px 22px rgba(255, 122, 89, 0.4);
}
.btn-cta:hover { box-shadow: 0 14px 30px rgba(255, 122, 89, 0.5); }

.btn-ghost {
  background: var(--white);
  color: var(--indigo);
  border: 2px solid var(--indigo-soft);
}
.btn-ghost:hover { border-color: var(--indigo); }

.btn-outline {
  background: transparent;
  color: var(--indigo);
  border: 2px solid var(--indigo);
}
.btn-outline:hover { background: var(--indigo); color: var(--white); }

.btn-lg { padding: 1.05rem 2.6rem; font-size: 1.1rem; }

/* ─────────────── Navbar ─────────────── */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 0.9rem 0;
  transition: background 0.3s, box-shadow 0.3s, padding 0.3s;
}
.navbar.scrolled {
  background: rgba(255, 250, 245, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 20px rgba(30, 41, 59, 0.08);
  padding: 0.55rem 0;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}
.brand-icon { display: flex; }
.brand-name {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--indigo);
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}
.nav-links a:not(.btn) {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
}
.nav-links a:not(.btn)::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 100%; height: 3px;
  border-radius: 3px;
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-links a:not(.btn):hover::after { transform: scaleX(1); }
.btn-nav { padding: 0.6rem 1.4rem; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
}
.hamburger span {
  width: 26px; height: 3px;
  border-radius: 3px;
  background: var(--indigo);
  transition: transform 0.3s var(--ease), opacity 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ─────────────── Hero ─────────────── */
.hero {
  position: relative;
  padding: 10rem 0 6rem;
  overflow: hidden;
}

.hero-blobs { position: absolute; inset: 0; pointer-events: none; }
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  animation: blob-float 14s ease-in-out infinite;
}
.blob-1 { width: 420px; height: 420px; background: var(--indigo-soft); top: -120px; right: -80px; }
.blob-2 { width: 340px; height: 340px; background: var(--coral-soft); bottom: -60px; left: -100px; animation-delay: -5s; }
.blob-3 { width: 260px; height: 260px; background: var(--sun-soft); top: 40%; left: 45%; animation-delay: -9s; }

@keyframes blob-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -40px) scale(1.08); }
  66% { transform: translate(-25px, 25px) scale(0.94); }
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.hero-copy { animation: rise-in 0.9s var(--ease) both; }

@keyframes rise-in {
  from { opacity: 0; transform: translateY(36px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-badge {
  display: inline-block;
  background: var(--sun-soft);
  border: 1.5px solid var(--sun);
  color: #92600a;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.2rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  font-weight: 800;
  margin-bottom: 1.2rem;
}
.highlight {
  background: linear-gradient(120deg, var(--coral) 0%, var(--coral-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.highlight-alt {
  background: linear-gradient(120deg, var(--mint-dark) 0%, var(--mint) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 34rem;
  margin-bottom: 1.8rem;
}
.hero-sub strong { color: var(--ink); }

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.6rem;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.chip {
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.chip:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.chip-padres { background: var(--indigo-soft); color: var(--indigo-dark); }
.chip-alumnos { background: var(--sun-soft); color: #92600a; }
.chip-comedor { background: var(--mint-soft); color: var(--mint-dark); }

/* ── Hero visual (mockup) ── */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  animation: rise-in 0.9s var(--ease) 0.2s both;
}

.phone-mock {
  width: 290px;
  background: var(--white);
  border-radius: 34px;
  border: 6px solid var(--ink);
  padding: 2rem 1.1rem 1.4rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  animation: gentle-bob 6s ease-in-out infinite;
}
.phone-notch {
  position: absolute;
  top: 10px; left: 50%;
  transform: translateX(-50%);
  width: 90px; height: 9px;
  border-radius: 9px;
  background: var(--ink);
}

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

.wallet-card {
  background: linear-gradient(135deg, var(--indigo) 0%, #5c6bc0 100%);
  color: var(--white);
  border-radius: var(--radius-sm);
  padding: 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin-bottom: 1rem;
  box-shadow: 0 10px 24px rgba(63, 81, 181, 0.35);
}
.wallet-label { font-size: 0.7rem; opacity: 0.85; text-transform: uppercase; letter-spacing: 1px; }
.wallet-balance { font-size: 1.7rem; font-weight: 800; }
.wallet-owner { font-size: 0.75rem; opacity: 0.85; }

.order-row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.8rem;
  margin-bottom: 0.6rem;
}
.order-emoji { font-size: 1.5rem; }
.order-info { display: flex; flex-direction: column; }
.order-name { font-weight: 600; font-size: 0.85rem; }
.order-status { font-size: 0.72rem; font-weight: 600; }
.order-status.ok { color: var(--mint-dark); }
.order-status.prep { color: var(--coral-dark); }

.float-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: 0.7rem 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  animation: float-drift 7s ease-in-out infinite;
}
.float-qr {
  flex-direction: column;
  top: 8%;
  left: 2%;
  animation-delay: -2s;
}
.float-notif { bottom: 6%; right: -3%; animation-delay: -4s; }
.float-mp { top: -3%; right: -2%; animation-delay: -1s; }

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

.float-label { font-size: 0.7rem; font-weight: 700; color: var(--ink-soft); }
.notif-icon { font-size: 1.1rem; }
.notif-text { font-size: 0.75rem; font-weight: 600; }

.qr-grid {
  display: grid;
  grid-template-columns: repeat(3, 12px);
  grid-auto-rows: 12px;
  gap: 3px;
  padding: 6px;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 6px;
}
.qr-grid span { background: var(--ink); border-radius: 2px; }
.qr-grid span:nth-child(2n) { background: transparent; }
.qr-grid span:nth-child(5) { background: var(--coral); }

.qr-grid-lg { grid-template-columns: repeat(3, 16px); grid-auto-rows: 16px; }

/* ─────────────── Secciones genéricas ─────────────── */
.section { padding: 5.5rem 0; }
.section-alt {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 3.5rem;
}
.section-tag {
  display: inline-block;
  background: var(--indigo-soft);
  color: var(--indigo-dark);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 0.3rem 1rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.section-head h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 0.8rem;
}
.section-head p { color: var(--ink-soft); font-size: 1.05rem; }

/* ── Reveal on scroll ── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─────────────── Cómo funciona ─────────────── */
.steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 1.2rem;
  align-items: stretch;
}

.step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.step:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }

.step-num {
  position: absolute;
  top: -16px; left: 50%;
  transform: translateX(-50%);
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--coral);
  color: var(--white);
  font-weight: 800;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 14px rgba(255, 122, 89, 0.4);
}
.step-emoji { font-size: 2.6rem; margin-bottom: 0.8rem; }
.step h3 { font-size: 1.1rem; margin-bottom: 0.6rem; }
.step p { font-size: 0.92rem; color: var(--ink-soft); }

.step-arrow {
  align-self: center;
  font-size: 1.6rem;
  color: var(--coral);
  animation: nudge 1.6s ease-in-out infinite;
}
@keyframes nudge {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(6px); }
}

/* ─────────────── Funciones por rol ─────────────── */
.role-block {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3.5rem;
  align-items: center;
  padding: 3.5rem 0;
}
.role-block + .role-block { border-top: 1px dashed var(--line); }
.role-block-flip .role-visual { order: 2; }
.role-block-flip .role-content { order: 1; }

.role-tag {
  display: inline-block;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.4rem 1.1rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.tag-padres { background: var(--indigo-soft); color: var(--indigo-dark); }
.tag-alumnos { background: var(--sun-soft); color: #92600a; }
.tag-comedor { background: var(--mint-soft); color: var(--mint-dark); }

.role-content h3 {
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  font-weight: 800;
  margin-bottom: 1.4rem;
}

.role-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.role-features li {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.95rem 1.2rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.role-features li:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow);
  border-color: var(--indigo-soft);
}
.role-features strong {
  display: block;
  color: var(--ink);
  font-size: 0.98rem;
  margin-bottom: 0.15rem;
}
.role-features em {
  display: block;
  font-style: normal;
  font-weight: 600;
  color: var(--mint-dark);
  margin-top: 0.25rem;
  font-size: 0.85rem;
}

/* ── Mini-app ilustrativa ── */
.role-visual { display: flex; justify-content: center; }

.mini-app {
  width: 300px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  padding: 1.2rem;
  animation: gentle-bob 7s ease-in-out infinite;
}
.mini-head {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mini-wallet {
  background: linear-gradient(135deg, var(--indigo) 0%, #5c6bc0 100%);
  color: var(--white);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  display: flex;
  flex-direction: column;
  margin-bottom: 0.8rem;
}
.mini-wallet span { font-size: 0.7rem; opacity: 0.85; }
.mini-wallet strong { font-size: 1.4rem; font-weight: 800; }

.mini-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.5rem 0.8rem;
  margin-bottom: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
}
.mini-ok { color: var(--mint-dark); font-size: 0.75rem; }
.mini-warn { color: var(--coral-dark); font-size: 0.75rem; }

.mini-notif {
  background: var(--sun-soft);
  border: 1px solid var(--sun);
  border-radius: 10px;
  padding: 0.5rem 0.8rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #92600a;
}

/* Modo niño */
.mini-app-kid { background: linear-gradient(180deg, #fffdf7 0%, var(--white) 100%); }
.kid-menu {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 0.9rem;
}
.kid-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  background: var(--cream);
  border: 2px solid var(--line);
  border-radius: 12px;
  padding: 0.6rem 0.3rem;
  font-size: 1.4rem;
}
.kid-item span { font-size: 0.65rem; font-weight: 600; color: var(--ink-soft); }
.kid-item-sel {
  border-color: var(--coral);
  background: var(--coral-soft);
  transform: scale(1.06);
}
.kid-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ink-soft);
}

/* KDS */
.mini-app-kds { width: 320px; }
.live-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--mint);
  animation: pulse 1.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6); }
  50% { box-shadow: 0 0 0 7px rgba(52, 211, 153, 0); }
}

.kds-board { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 0.8rem; }
.kds-ticket {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--cream);
  border: 1px solid var(--line);
  border-left: 4px solid var(--indigo);
  border-radius: 10px;
  padding: 0.55rem 0.8rem;
  font-size: 0.82rem;
  font-weight: 600;
}
.kds-state {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
}
.kds-state.nuevo { background: var(--coral-soft); color: var(--coral-dark); }
.kds-state.prep { background: var(--sun-soft); color: #92600a; }
.kds-state.listo { background: var(--mint-soft); color: var(--mint-dark); }

.mini-notif-scan { background: var(--mint-soft); border-color: var(--mint); color: var(--mint-dark); }

/* ─────────────── Cinta de features ─────────────── */
.ribbon {
  background: var(--indigo);
  padding: 1.6rem 0;
}
.ribbon-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2.4rem;
}
.ribbon-item {
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.95;
}
.ribbon-item span { font-size: 1.2rem; }

/* ─────────────── Planes ─────────────── */
.plans {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  align-items: stretch;
}

.plan {
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.plan:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); border-color: var(--indigo-soft); }

.plan-featured {
  border-color: var(--coral);
  border-width: 2px;
  box-shadow: 0 16px 40px rgba(255, 122, 89, 0.22);
}
.plan-featured:hover { border-color: var(--coral-dark); }

.plan-flag {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--coral) 0%, var(--coral-dark) 100%);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 1rem;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 6px 14px rgba(255, 122, 89, 0.4);
}

.plan-emoji { font-size: 2rem; margin-bottom: 0.4rem; }
.plan h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 0.5rem; }

.plan-price { display: flex; align-items: baseline; gap: 0.3rem; margin-bottom: 1.2rem; }
.plan-price .price { font-size: 1.8rem; font-weight: 800; color: var(--indigo); }
.plan-featured .plan-price .price { color: var(--coral-dark); }
.plan-price .per { font-size: 0.85rem; color: var(--ink-soft); font-weight: 600; }

.plan ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-bottom: 1.6rem;
  flex-grow: 1;
}

.plan .btn { text-align: center; }

/* ─────────────── CTA final ─────────────── */
.final-cta {
  margin: 5rem 0;
}
.final-cta-inner {
  background: linear-gradient(135deg, var(--indigo) 0%, #5c6bc0 60%, #7986cb 100%);
  border-radius: 28px;
  text-align: center;
  color: var(--white);
  padding: 4rem 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.final-cta-inner::before,
.final-cta-inner::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}
.final-cta-inner::before { width: 260px; height: 260px; top: -100px; left: -60px; }
.final-cta-inner::after { width: 200px; height: 200px; bottom: -80px; right: -40px; }

.final-cta h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 800; margin-bottom: 0.7rem; }
.final-cta p { opacity: 0.9; margin-bottom: 1.8rem; }

/* ─────────────── Footer ─────────────── */
.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.75);
  padding: 2.6rem 0;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.footer-brand strong { display: block; color: var(--white); font-size: 1.1rem; }
.footer-brand span:not(.brand-icon) { font-size: 0.78rem; }

.footer-links { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.25s;
}
.footer-links a:hover { color: var(--white); }

.footer-copy { font-size: 0.8rem; }

/* ─────────────── Responsive ─────────────── */
@media (max-width: 1024px) {
  .plans { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-sub { margin-inline: auto; }
  .hero-ctas, .hero-chips { justify-content: center; }
  .hero-visual { margin-top: 2rem; }

  .steps { grid-template-columns: 1fr; gap: 2rem; }
  .step-arrow { transform: rotate(90deg); animation: none; justify-self: center; }
  .step-arrow.visible { transform: rotate(90deg); }

  .role-block { grid-template-columns: 1fr; gap: 2rem; }
  .role-block-flip .role-visual { order: 0; }
  .role-block-flip .role-content { order: 1; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0; right: 0;
    height: 100dvh;
    width: min(300px, 80vw);
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    box-shadow: -10px 0 40px rgba(30, 41, 59, 0.18);
    transform: translateX(100%);
    transition: transform 0.35s var(--ease);
  }
  .nav-links.open { transform: translateX(0); }
  .hamburger { display: flex; z-index: 110; }

  .hero { padding-top: 8rem; }
  .float-mp { display: none; }
}

@media (max-width: 560px) {
  .plans { grid-template-columns: 1fr; }
  .float-qr { left: -4%; }
  .float-notif { right: -2%; }
}

/* ─────────────── Accesibilidad: menos movimiento ─────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
