/* =========================================================
   CREO Fintech — estilos
   Paleta: petróleo #022b35 · naranja #fbab4c · gris #f3f3f1
   ========================================================= */
:root {
  --teal: #022b35;
  --teal-2: #0b3f4c;
  --teal-deep: #011d24;
  --orange: #fbab4c;
  --orange-hover: #ffbd6e;
  --paper: #f3f3f1;
  --white: #ffffff;
  --line: #dcdfdd;
  --muted: #4a5559;
  --muted-2: #6b7478;
  --soft: #b9c9cd;
  --soft-2: #8fa7ad;

  --font: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --radius-lg: 28px;
  --radius-md: 22px;
  --container: 1296px;
  --gutter: clamp(16px, 5vw, 72px);
  --section-y: clamp(72px, 10vw, 128px);
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--teal);
  background: var(--paper);
  line-height: 1.5;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
.mono { font-family: var(--mono); }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--orange); color: var(--teal); padding: 10px 16px; border-radius: 10px; font-weight: 600;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

/* Fondo de puntos (estilo del PDF) */
.dots {
  background-color: var(--teal);
  background-image: radial-gradient(rgba(255,255,255,0.08) 1.2px, transparent 1.2px);
  background-size: 24px 24px;
}

.accent { color: var(--orange); }
.hl {
  background: var(--orange);
  color: var(--teal);
  padding: 0 .2em;
  border-radius: .2em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* ===== Botones ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 30px; border-radius: 999px;
  font: inherit; font-weight: 600; font-size: 17px; text-decoration: none;
  border: 0; cursor: pointer; transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--orange); color: var(--teal); }
.btn-primary:hover { background: var(--orange-hover); }
.btn-ghost { color: var(--white); border: 1px solid rgba(255,255,255,0.35); font-weight: 500; }
.btn-ghost:hover { border-color: var(--orange); }
.btn-dark { background: var(--teal); color: var(--white); }
.btn-dark:hover { background: var(--teal-2); }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ===== Cabecera ===== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  transition: background-color .3s ease, box-shadow .3s ease;
}
.site-header.is-scrolled {
  background: rgba(2, 43, 53, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px -20px rgba(0,0,0,.6);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { height: 42px; width: auto; }
.main-nav {
  display: flex; align-items: center; gap: 6px; padding: 6px; border-radius: 999px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
}
.main-nav a {
  color: var(--white); text-decoration: none; font-size: 15px; font-weight: 500;
  padding: 11px 20px; border-radius: 999px; transition: background-color .2s ease, color .2s ease;
}
.main-nav a:hover, .main-nav a.is-active { background: var(--orange); color: var(--teal); }

.nav-toggle {
  display: none; width: 48px; height: 48px; border-radius: 14px; border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.06); cursor: pointer; padding: 0;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { width: 20px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .25s ease, opacity .25s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero { position: relative; overflow: hidden; padding-top: calc(var(--header-h) + 48px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 520px; gap: 40px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 28px; padding-bottom: 64px; }
.pill {
  display: inline-flex; align-self: flex-start; align-items: center; gap: 12px;
  padding: 8px 18px 8px 8px; border-radius: 999px;
  background: rgba(251,171,76,0.12); border: 1px solid rgba(251,171,76,0.4);
  font-size: 14px; color: var(--white);
}
.pill-tag { background: var(--orange); color: var(--teal); padding: 4px 12px; border-radius: 999px; font-family: var(--mono); font-size: 12px; font-weight: 700; }
.hero h1 {
  font-weight: 700; font-size: clamp(42px, 6.2vw, 84px); line-height: 1.02; letter-spacing: -0.045em; color: var(--white);
}
.lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; color: var(--soft); font-weight: 300; max-width: 600px; }
.lead strong { color: var(--white); font-weight: 600; }
.hero-services {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px; border-top: 1px solid rgba(255,255,255,0.14);
}
.hero-services li {
  padding: 20px 16px 0 20px; display: flex; flex-direction: column; gap: 4px;
  font-size: 17px; font-weight: 600; color: var(--white);
  border-left: 1px solid rgba(255,255,255,0.14);
}
.hero-services li:first-child { padding-left: 0; border-left: 0; }
.hero-services .mono { font-size: 12px; color: var(--orange); letter-spacing: .1em; font-weight: 400; }

/* Maqueta del celular */
.hero-visual { position: relative; height: 700px; }
.orbit { position: absolute; inset: 0; width: 100%; height: 100%; }
.phone {
  position: absolute; left: 50%; top: 30px; transform: translateX(-50%);
  width: 300px; border-radius: 46px; background: var(--teal-deep); border: 10px solid var(--teal-2);
  box-shadow: 0 50px 100px -30px rgba(0,0,0,0.6);
  padding: 26px 18px 30px; display: flex; flex-direction: column; gap: 14px;
}
.phone-top { display: flex; justify-content: space-between; align-items: center; }
.phone-top img { width: 28px; height: auto; }
.phone-top .mono { font-size: 10px; color: var(--soft-2); }
.balance { background: var(--orange); border-radius: 20px; padding: 18px; display: flex; flex-direction: column; gap: 6px; color: var(--teal); }
.balance span { font-size: 11px; font-weight: 500; }
.balance strong { font-size: 24px; letter-spacing: -0.02em; }
.balance .mono { font-size: 10px; font-weight: 400; }
.quick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.quick span { background: var(--teal-2); border-radius: 14px; padding: 12px 4px; text-align: center; font-size: 10px; color: var(--white); }
.agent-msg { background: var(--teal-2); border-radius: 18px; padding: 14px; display: flex; flex-direction: column; gap: 10px; border: 1px solid rgba(251,171,76,0.5); }
.agent-head { display: flex; align-items: center; gap: 8px; }
.agent-head .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); animation: pulse 1.8s ease-in-out infinite; }
.agent-head .mono { font-size: 10px; color: var(--orange); }
.agent-msg p { font-size: 12px; line-height: 1.5; color: var(--white); }
.agent-actions { display: flex; gap: 6px; }
.agent-actions span { flex: 1; text-align: center; border-radius: 10px; padding: 8px 0; font-size: 11px; }
.agent-actions .yes { background: var(--orange); color: var(--teal); font-weight: 600; }
.agent-actions .no { border: 1px solid rgba(255,255,255,0.3); color: var(--white); }
.movements { display: flex; flex-direction: column; gap: 4px; font-size: 11px; }
.movements li { display: flex; justify-content: space-between; color: var(--soft); padding: 8px 4px; border-bottom: 1px solid rgba(255,255,255,0.08); }

.float-chip {
  position: absolute; background: var(--white); border-radius: 16px; padding: 12px 16px;
  display: flex; align-items: center; gap: 10px; box-shadow: 0 20px 40px -20px rgba(0,0,0,0.5);
  animation: float 6s ease-in-out infinite;
}
.float-chip > span:last-child { display: flex; flex-direction: column; }
.float-chip strong { font-size: 12px; font-weight: 600; color: var(--teal); }
.float-chip em { font-style: normal; font-size: 10px; color: var(--muted); }
.chip-a { left: -64px; top: 150px; }
.chip-b { right: -56px; top: 560px; animation-delay: -3s; }
.chip-ico { width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.chip-ico-dark { background: var(--teal); }
.chip-ico-orange { background: var(--orange); }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* ===== Franja ===== */
.marquee { background: var(--orange); overflow: hidden; height: 84px; display: flex; align-items: center; }
.marquee-track {
  display: flex; align-items: center; gap: 36px; padding-left: 36px; white-space: nowrap;
  font-weight: 600; font-size: 22px; letter-spacing: -0.01em; color: var(--teal);
  animation: marquee 32s linear infinite; will-change: transform;
}
.marquee-track i { font-style: normal; font-family: var(--mono); font-size: 18px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===== Secciones ===== */
.section { padding-block: var(--section-y); }
.section-white { background: var(--white); }
.section-dark { color: var(--white); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px 80px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head > div { display: flex; flex-direction: column; gap: 18px; }
.section-head-center { flex-direction: column; align-items: center; text-align: center; gap: 18px; }
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 14px; letter-spacing: .14em; color: var(--muted);
}
.eyebrow::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--orange); flex-shrink: 0; }
.eyebrow-orange { color: var(--orange); }
.section h2 { font-weight: 700; font-size: clamp(34px, 4.6vw, 60px); line-height: 1.16; letter-spacing: -0.04em; }
.section-dark h2 { color: var(--white); }
.section-intro { font-size: clamp(16px, 1.4vw, 18px); line-height: 1.65; color: var(--muted); max-width: 440px; }
.section-dark .section-intro { color: var(--soft); }

.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }

/* Servicios */
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.service { padding: 40px; display: flex; flex-direction: column; gap: 22px; min-height: 520px; position: relative; overflow: hidden; transition: transform .3s ease, box-shadow .3s ease; }
.service:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -36px rgba(2,43,53,.45); }
.service-top { display: flex; justify-content: space-between; align-items: flex-start; position: relative; }
.icon-box { width: 68px; height: 68px; border-radius: 20px; background: var(--teal); display: flex; align-items: center; justify-content: center; }
.icon-box-orange { background: var(--orange); }
.num { font-size: 40px; font-weight: 700; color: #e6e8e7; line-height: 1; }
.service h3 { font-weight: 700; font-size: clamp(26px, 2.4vw, 32px); letter-spacing: -0.02em; position: relative; }
.service p { font-size: 16px; line-height: 1.65; color: var(--muted); position: relative; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; position: relative; }
.tags li { padding: 8px 14px; border-radius: 999px; background: var(--paper); font-size: 14px; }
.service-dark { border: 0; color: var(--white); background-color: var(--teal); }
.service-dark h3 { color: var(--white); }
.service-dark p { color: var(--soft); }
.service-dark .num { color: rgba(255,255,255,0.12); }
.tags-dark li { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16); color: var(--white); }
.tags-dark .tag-orange { background: var(--orange); border-color: var(--orange); color: var(--teal); font-weight: 600; }
.service-watermark { position: absolute; right: -70px; bottom: -60px; width: 300px; height: auto; opacity: .16; }

/* Especialidades */
.spec { background: var(--teal-2); border-radius: var(--radius-lg); padding: 40px; display: flex; flex-direction: column; gap: 18px; transition: transform .3s ease; }
.spec:hover { transform: translateY(-6px); }
.spec svg { width: 100%; height: 150px; }
.spec-num { font-size: 13px; color: var(--orange); letter-spacing: .1em; }
.spec h3 { font-weight: 700; font-size: clamp(26px, 2.4vw, 32px); color: var(--white); letter-spacing: -0.02em; }
.spec p { font-size: 16px; line-height: 1.65; color: var(--soft); }
.spec-orange { background: var(--orange); }
.spec-orange .spec-num, .spec-orange h3, .spec-orange p { color: var(--teal); }

/* Agentes de IA */
.agents-grid { display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 1fr); gap: clamp(40px, 6vw, 72px); align-items: center; }
.cycle { width: 100%; height: auto; }
.cycle-arcs { transform-origin: 165px 165px; animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.agents-copy { display: flex; flex-direction: column; gap: 26px; }
.agents-copy .section-intro { max-width: none; }
.stats-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 8px; }
.stat { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 26px; display: flex; flex-direction: column; gap: 8px; }
.stat strong { font-size: clamp(36px, 3.4vw, 46px); font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.stat span { font-size: 14px; line-height: 1.5; color: var(--muted); }
.stat em { font-style: normal; font-size: 11px; color: var(--muted-2); margin-top: auto; }
.stat-dark { background: var(--teal); border-color: var(--teal); }
.stat-dark strong { color: var(--orange); }
.stat-dark span { color: var(--soft); }
.stat-dark em { color: var(--soft-2); }

/* Proceso */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.steps-line { position: absolute; left: 0; top: 0; width: 100%; height: 90px; }
.step { display: flex; flex-direction: column; gap: 16px; align-items: center; text-align: center; }
.step-num { position: relative; width: 90px; height: 90px; border-radius: 50%; background: var(--teal); color: var(--orange); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 26px; }
.step-num-orange { background: var(--orange); color: var(--teal); }
.step h3 { font-weight: 700; font-size: 24px; }
.step p { font-size: 16px; line-height: 1.6; color: var(--muted); max-width: 260px; }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 72px; }
.kpi { border: 1px solid var(--line); border-radius: var(--radius-md); padding: 28px; display: flex; flex-direction: column; gap: 6px; }
.kpi strong { font-weight: 700; font-size: clamp(38px, 3.6vw, 46px); letter-spacing: -0.03em; line-height: 1.1; }
.kpi span { font-size: 15px; color: var(--muted); }
.kpi-orange { background: var(--orange); border-color: var(--orange); }
.kpi-orange span { color: var(--teal); }

/* Contacto */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 600px); gap: clamp(40px, 6vw, 72px); align-items: start; }
.contact-copy { display: flex; flex-direction: column; gap: 26px; }
.contact-copy h2 { font-size: clamp(34px, 4.4vw, 60px); line-height: 1.16; letter-spacing: -0.045em; }
.contact-list { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; }
.contact-list li { display: flex; align-items: center; gap: 14px; font-size: 17px; font-weight: 500; }
.contact-list a { text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 4px; }
.contact-ico { width: 44px; height: 44px; border-radius: 50%; background: var(--teal); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

.contact-form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 14px; font-weight: 600; }
.field label span { color: #b45f00; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; border: 1px solid #cfd6d6; border-radius: 14px; padding: 0 16px;
  font: inherit; font-size: 16px; color: var(--teal); background: #f9f9f8; transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { padding: 14px 16px; resize: vertical; min-height: 120px; }
.field select { padding: 0 12px; appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23022b35' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(251,171,76,0.35); }
.field.has-error input, .field.has-error textarea { border-color: #c0392b; }
.error { min-height: 0; font-size: 13px; color: #b3261e; }
.error:empty { display: none; }
.form-note { font-size: 13px; color: var(--muted); text-align: center; }
.form-note.is-success { color: #1e6b3a; font-weight: 600; }

/* ===== Pie ===== */
.site-footer { background: var(--teal-deep); color: var(--soft); padding: 80px 0 40px; overflow: hidden; }
.footer-top { display: flex; justify-content: space-between; gap: 48px 64px; flex-wrap: wrap; }
.footer-brand { display: flex; flex-direction: column; gap: 20px; max-width: 360px; }
.footer-brand img { height: 44px; width: auto; }
.footer-brand p { font-size: 15px; line-height: 1.65; }
.footer-cols { display: flex; gap: clamp(40px, 7vw, 96px); flex-wrap: wrap; }
.footer-cols div { display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.footer-title { color: var(--orange); font-size: 13px; font-weight: 500; letter-spacing: .1em; }
.footer-cols a { color: var(--white); text-decoration: none; }
.footer-cols a:hover { color: var(--orange); }
.footer-word { font-weight: 700; font-size: clamp(64px, 15vw, 220px); line-height: .8; letter-spacing: -0.06em; color: rgba(255,255,255,0.05); margin: 56px 0 48px; white-space: nowrap; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; border-top: 1px solid rgba(255,255,255,0.12); padding-top: 26px; font-size: 14px; }

/* Botón flotante de WhatsApp */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--orange); color: var(--teal);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 30px -10px rgba(2,43,53,.6);
  transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.08); }

/* ===== Animación de aparición ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1180px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) 440px; }
  .hero-visual { transform: scale(.9); transform-origin: top center; height: 640px; }
  .agents-grid { grid-template-columns: minmax(0, 440px) minmax(0, 1fr); }
  .stats-3 { grid-template-columns: 1fr; }
  .stat { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; }
  .stat span { flex: 1; min-width: 180px; }
  .stat em { width: 100%; }
}

@media (max-width: 980px) {
  :root { --header-h: 72px; }
  .brand img { height: 36px; }

  /* Menú móvil */
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed; top: var(--header-h); left: 12px; right: 12px;
    flex-direction: column; align-items: stretch; gap: 4px; padding: 10px;
    border-radius: 22px; background: var(--teal); border: 1px solid rgba(255,255,255,0.14);
    box-shadow: 0 30px 60px -20px rgba(0,0,0,.6);
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
  }
  .main-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .main-nav a { padding: 16px 18px; font-size: 17px; border-radius: 14px; }
  .site-header.menu-open { background: var(--teal); }

  .hero-grid { grid-template-columns: 1fr; gap: 8px; }
  .hero-copy { padding-bottom: 24px; }
  .hero-visual { transform: none; height: 740px; max-width: 520px; width: 100%; margin-inline: auto; }
  .phone { top: 68px; }
  .chip-a { left: 0; top: 0; }
  .chip-b { right: 0; top: auto; bottom: 0; }

  .section-head { flex-direction: column; align-items: flex-start; }
  .section-head-center { align-items: center; }
  .section-intro { max-width: 640px; }

  .grid-3 { grid-template-columns: 1fr; }
  .service { min-height: 0; }
  .spec { display: grid; grid-template-columns: 220px 1fr; grid-template-rows: auto auto auto 1fr; column-gap: 32px; row-gap: 10px; }
  .spec svg { grid-row: 1 / span 4; height: auto; align-self: center; }

  .agents-grid { grid-template-columns: 1fr; }
  .cycle { max-width: 440px; margin-inline: auto; }

  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .steps-line { display: none; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 56px; }

  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .hero { padding-top: calc(var(--header-h) + 28px); }
  .pill { font-size: 13px; }
  .btn-row .btn { flex: 1 1 100%; }
  .hero-services { grid-template-columns: 1fr; border-top: 0; }
  .hero-services li { flex-direction: row; align-items: baseline; gap: 14px; padding: 14px 0; border-left: 0; border-top: 1px solid rgba(255,255,255,0.14); }

  .hero-visual { height: 740px; }
  .orbit { display: none; }
  .phone { width: min(290px, 86vw); top: 68px; }
  .chip-a { left: 0; top: 0; }
  .chip-b { right: 0; top: auto; bottom: 0; }

  .marquee { height: 64px; }
  .marquee-track { font-size: 18px; gap: 24px; padding-left: 24px; }

  .service, .spec { padding: 28px; }
  .spec { display: flex; }
  .spec svg { height: 120px; }

  .steps { grid-template-columns: 1fr; }
  .kpis { grid-template-columns: 1fr 1fr; gap: 12px; }
  .kpi { padding: 22px; }

  .form-row { grid-template-columns: 1fr; }
  .footer-cols { gap: 32px 40px; }
  .footer-bottom { flex-direction: column; }
  .wa-float { width: 56px; height: 56px; right: 16px; bottom: 16px; }
}

@media (max-width: 380px) {
  .kpis { grid-template-columns: 1fr; }
  .float-chip { padding: 10px 12px; }
}

/* Respeta la preferencia de menos movimiento */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
