/* ============================================
   SWIVELS — Estilos globales
   Identidad: Ingeniería · Seguridad · Tecnología
   ============================================ */

:root {
  /* Paleta */
  --azul-oscuro: #102A43;
  --azul-medio: #1F5A94;
  --azul-medio-10: rgba(31, 90, 148, 0.08);
  --naranja: #F47C20;
  --naranja-oscuro: #d9691a;
  --blanco: #FFFFFF;
  --gris-fondo: #F4F6F8;
  --gris-texto: #25313C;
  --gris-suave: #62707c;
  --gris-borde: #e2e8ef;
  --verde-wa: #25D366;
  --verde-wa-oscuro: #1da851;

  /* Sombras */
  --sombra-sm: 0 1px 3px rgba(16, 42, 67, 0.06), 0 1px 2px rgba(16, 42, 67, 0.04);
  --sombra-md: 0 6px 20px rgba(16, 42, 67, 0.08);
  --sombra-lg: 0 18px 44px rgba(16, 42, 67, 0.14);

  /* Radios */
  --radio: 14px;
  --radio-sm: 10px;
  --radio-lg: 22px;

  /* Layout */
  --ancho-max: 1180px;
  --nav-alto: 72px;

  /* Tipografía */
  --f-display: 'Montserrat', system-ui, sans-serif;
  --f-body: 'Inter', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-alto) + 16px); }

body {
  font-family: var(--f-body);
  color: var(--gris-texto);
  background: var(--blanco);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { font-family: var(--f-display); color: var(--azul-oscuro); line-height: 1.15; font-weight: 700; }

.contenedor { width: 100%; max-width: var(--ancho-max); margin: 0 auto; padding: 0 24px; }

.seccion { padding: 88px 0; }
.seccion--gris { background: var(--gris-fondo); }
.seccion--azul { background: var(--azul-oscuro); color: #cfe0f0; }
.seccion--azul h1, .seccion--azul h2, .seccion--azul h3 { color: var(--blanco); }

/* Eyebrow / etiqueta de sección */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-display);
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--naranja);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--naranja); }
.seccion--azul .eyebrow { color: var(--naranja); }

.titulo-seccion { font-size: clamp(1.7rem, 3.2vw, 2.5rem); margin-bottom: 16px; max-width: 720px; }
.subtitulo-seccion { font-size: 1.05rem; color: var(--gris-suave); max-width: 640px; margin-bottom: 48px; }
.seccion--azul .subtitulo-seccion { color: #9fb6cd; }
.centrado { text-align: center; }
.centrado .titulo-seccion, .centrado .subtitulo-seccion { margin-left: auto; margin-right: auto; }
.centrado .eyebrow { justify-content: center; }

/* ============ Botones ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--f-display); font-weight: 600; font-size: 0.98rem;
  padding: 14px 26px; border-radius: var(--radio-sm); border: 2px solid transparent;
  cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap; line-height: 1;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn--naranja { background: var(--naranja); color: var(--blanco); }
.btn--naranja:hover { background: var(--naranja-oscuro); transform: translateY(-2px); box-shadow: var(--sombra-md); }
.btn--azul { background: var(--azul-medio); color: var(--blanco); }
.btn--azul:hover { background: var(--azul-oscuro); transform: translateY(-2px); box-shadow: var(--sombra-md); }
.btn--wa { background: var(--verde-wa); color: var(--blanco); }
.btn--wa:hover { background: var(--verde-wa-oscuro); transform: translateY(-2px); box-shadow: var(--sombra-md); }
.btn--linea { background: transparent; color: var(--azul-oscuro); border-color: var(--gris-borde); }
.btn--linea:hover { border-color: var(--azul-medio); color: var(--azul-medio); }
.seccion--azul .btn--linea { color: var(--blanco); border-color: rgba(255,255,255,0.3); }
.seccion--azul .btn--linea:hover { border-color: var(--blanco); background: rgba(255,255,255,0.08); }
.btn--full { width: 100%; }
.btn--lg { padding: 16px 32px; font-size: 1.05rem; }

/* ============ Navbar ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; height: var(--nav-alto); z-index: 1000;
  background: rgba(255,255,255,0.96); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gris-borde);
  transition: box-shadow .25s ease;
}
.nav.con-scroll { box-shadow: var(--sombra-sm); }
.nav__inner { max-width: var(--ancho-max); margin: 0 auto; padding: 0 24px; height: 100%; display: flex; align-items: center; justify-content: space-between; }
.nav__logo { display: flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 800; font-size: 1.32rem; color: var(--azul-oscuro); letter-spacing: -0.005em; line-height: 1; }
.nav__logo-txt { display: inline-flex; letter-spacing: 0.02em; }
.nav__logo-txt span { color: var(--naranja); }
.nav__logo-mark { width: 40px; height: 40px; object-fit: contain; display: block; flex-shrink: 0; }
.nav__logo span { color: var(--naranja); }
.nav__links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav__links a { font-family: var(--f-display); font-weight: 500; font-size: 0.95rem; color: var(--gris-texto); padding: 9px 14px; border-radius: 8px; transition: color .15s, background .15s; }
.nav__links a:hover, .nav__links a.activo { color: var(--azul-medio); background: var(--azul-medio-10); }
.nav__cta { display: flex; align-items: center; gap: 12px; }
.nav__toggle { display: none; background: none; border: none; cursor: pointer; width: 44px; height: 44px; color: var(--azul-oscuro); }
.nav__toggle svg { width: 26px; height: 26px; }

/* ============ Hero ============ */
.hero { padding: calc(var(--nav-alto) + 68px) 0 80px; background: linear-gradient(180deg, #fff 0%, var(--gris-fondo) 100%); position: relative; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero__badge { display: inline-flex; align-items: center; gap: 8px; background: var(--azul-medio-10); color: var(--azul-medio); font-family: var(--f-display); font-weight: 600; font-size: 0.85rem; padding: 8px 16px; border-radius: 50px; margin-bottom: 22px; }
.hero__badge .punto { width: 8px; height: 8px; border-radius: 50%; background: var(--naranja); }
.hero h1 { font-size: clamp(2rem, 4.3vw, 3.15rem); margin-bottom: 22px; letter-spacing: -0.02em; }
.hero h1 em { font-style: normal; color: var(--naranja); }
.hero__texto { font-size: 1.13rem; color: var(--gris-suave); margin-bottom: 32px; max-width: 540px; }
.hero__botones { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.hero__confianza { font-size: 0.92rem; color: var(--gris-suave); border-top: 1px solid var(--gris-borde); padding-top: 22px; max-width: 520px; }
.hero__confianza strong { color: var(--azul-oscuro); font-weight: 600; }

/* Composición visual del hero */
.hero__visual { position: relative; }
.hero__panel { background: #fff; border-radius: var(--radio-lg); box-shadow: var(--sombra-lg); padding: 28px; border: 1px solid var(--gris-borde); }
.hero__panel-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.hero__panel-top h4 { font-size: 1rem; }
.hero__estado { display: inline-flex; align-items: center; gap: 7px; background: rgba(37, 211, 102, 0.12); color: #128a3e; font-size: 0.8rem; font-weight: 600; padding: 6px 12px; border-radius: 50px; font-family: var(--f-display); }
.hero__estado .punto { width: 8px; height: 8px; border-radius: 50%; background: #16a34a; }
.hero__check { display: flex; align-items: center; gap: 13px; padding: 13px 0; border-bottom: 1px solid var(--gris-fondo); }
.hero__check:last-child { border-bottom: none; }
.hero__check-ic { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; flex-shrink: 0; }
.hero__check-ic svg { width: 18px; height: 18px; }
.hero__check span { font-size: 0.94rem; font-weight: 500; color: var(--gris-texto); }
.hero__mini { position: absolute; background: #fff; border-radius: var(--radio); box-shadow: var(--sombra-lg); padding: 15px 18px; display: flex; align-items: center; gap: 12px; border: 1px solid var(--gris-borde); }
.hero__mini-ic { width: 40px; height: 40px; border-radius: 10px; background: var(--naranja); display: grid; place-items: center; color: #fff; flex-shrink: 0; }
.hero__mini-ic svg { width: 22px; height: 22px; }
.hero__mini b { display: block; font-family: var(--f-display); font-size: 1.05rem; color: var(--azul-oscuro); line-height: 1.1; }
.hero__mini small { font-size: 0.78rem; color: var(--gris-suave); }
.hero__mini--top { top: -26px; right: -18px; }
.hero__mini--bottom { bottom: -26px; left: -22px; }

/* ============ Grid de tarjetas ============ */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--gris-borde); border-radius: var(--radio);
  padding: 30px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--sombra-md); border-color: transparent; }
.card__ic { width: 52px; height: 52px; border-radius: 13px; background: var(--azul-medio-10); color: var(--azul-medio); display: grid; place-items: center; margin-bottom: 20px; }
.card__ic svg { width: 26px; height: 26px; }
.card__ic--naranja { background: rgba(244, 124, 32, 0.12); color: var(--naranja); }
.card h3 { font-size: 1.18rem; margin-bottom: 10px; }
.card p { font-size: 0.95rem; color: var(--gris-suave); margin-bottom: 16px; }
.card__link { font-family: var(--f-display); font-weight: 600; font-size: 0.92rem; color: var(--azul-medio); display: inline-flex; align-items: center; gap: 6px; transition: gap .15s; }
.card__link:hover { gap: 10px; }
.card__link svg { width: 16px; height: 16px; }

/* Tarjeta problema (numerada) */
.card--num { position: relative; padding-top: 34px; }
.card__num { font-family: var(--f-display); font-weight: 800; font-size: 2.4rem; color: rgba(244, 124, 32, 0.22); line-height: 1; margin-bottom: 12px; }

/* ============ Proceso ============ */
.proceso { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; position: relative; }
.paso { position: relative; }
.paso__num { width: 48px; height: 48px; border-radius: 50%; background: var(--naranja); color: #fff; font-family: var(--f-display); font-weight: 800; font-size: 1.2rem; display: grid; place-items: center; margin-bottom: 18px; box-shadow: 0 6px 16px rgba(244,124,32,0.3); position: relative; z-index: 2; }
.paso h3 { font-size: 1.08rem; margin-bottom: 8px; }
.paso p { font-size: 0.9rem; color: var(--gris-suave); }
.proceso::before { content: ""; position: absolute; top: 24px; left: 10%; right: 10%; height: 2px; background: var(--gris-borde); z-index: 1; }

/* ============ Tipos de negocio ============ */
.negocio { position: relative; border-radius: var(--radio); overflow: hidden; aspect-ratio: 4/3; box-shadow: var(--sombra-sm); cursor: default; }
.negocio__img { position: absolute; inset: 0; display: grid; place-items: center; transition: transform .4s ease; }
.negocio__img svg { width: 56px; height: 56px; color: rgba(255,255,255,0.9); }
.negocio:hover .negocio__img { transform: scale(1.06); }
.negocio__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(16,42,67,0.88) 100%); }
.negocio__label { position: absolute; bottom: 0; left: 0; right: 0; padding: 18px; color: #fff; z-index: 2; }
.negocio__label b { font-family: var(--f-display); font-size: 1.02rem; display: block; }
.negocio__label small { font-size: 0.82rem; opacity: 0.85; }

/* ============ Diferenciadores ============ */
.dif { display: flex; gap: 16px; align-items: flex-start; }
.dif__ic { width: 44px; height: 44px; border-radius: 11px; background: rgba(244,124,32,0.12); color: var(--naranja); display: grid; place-items: center; flex-shrink: 0; }
.dif__ic svg { width: 22px; height: 22px; }
.dif h3 { font-size: 1.05rem; margin-bottom: 5px; }
.dif p { font-size: 0.92rem; color: var(--gris-suave); }

/* Frase destacada */
.frase { background: var(--azul-medio-10); border-left: 4px solid var(--naranja); border-radius: var(--radio-sm); padding: 28px 32px; font-family: var(--f-display); font-size: 1.2rem; font-weight: 600; color: var(--azul-oscuro); line-height: 1.4; margin-top: 44px; }

/* ============ App / MuniSwivels ============ */
.app-card { background: linear-gradient(160deg, var(--azul-medio) 0%, var(--azul-oscuro) 100%); border-radius: var(--radio-lg); padding: 44px; display: grid; grid-template-columns: 1fr 0.85fr; gap: 40px; align-items: center; overflow: hidden; position: relative; }
.app-card__badge { display: inline-block; background: rgba(244,124,32,0.2); color: var(--naranja); font-family: var(--f-display); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 14px; border-radius: 50px; margin-bottom: 18px; }
.app-card h3 { color: #fff; font-size: 1.9rem; margin-bottom: 14px; }
.app-card p { color: #bcd0e6; margin-bottom: 22px; }
.app-card__lista { list-style: none; margin-bottom: 26px; }
.app-card__lista li { color: #d8e6f4; font-size: 0.96rem; padding: 7px 0; display: flex; align-items: center; gap: 11px; }
.app-card__lista svg { width: 18px; height: 18px; color: var(--naranja); flex-shrink: 0; }
.app-mock { display: flex; justify-content: center; }
.app-mock__phone { width: 210px; background: #0a1c2e; border-radius: 30px; padding: 12px; box-shadow: 0 24px 60px rgba(0,0,0,0.4); border: 2px solid rgba(255,255,255,0.1); }
.app-mock__screen { background: var(--gris-fondo); border-radius: 22px; overflow: hidden; }
.app-mock__bar { background: var(--azul-oscuro); padding: 14px 16px 12px; }
.app-mock__bar b { color: #fff; font-family: var(--f-display); font-size: 0.9rem; }
.app-mock__bar small { color: #8fb0d0; font-size: 0.68rem; display: block; }
.app-mock__body { padding: 12px; display: flex; flex-direction: column; gap: 9px; }
.app-mock__cert { background: #fff; border-radius: 10px; padding: 11px 12px; display: flex; align-items: center; gap: 10px; }
.app-mock__dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.app-mock__cert b { font-size: 0.72rem; color: var(--gris-texto); display: block; font-family: var(--f-body); font-weight: 600; }
.app-mock__cert small { font-size: 0.62rem; color: var(--gris-suave); }

/* ============ Galería de casos ============ */
.caso { background: #fff; border: 1px solid var(--gris-borde); border-radius: var(--radio); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.caso:hover { transform: translateY(-4px); box-shadow: var(--sombra-md); }
.caso__img { aspect-ratio: 16/10; display: grid; place-items: center; position: relative; }
.caso__img svg { width: 48px; height: 48px; color: rgba(255,255,255,0.85); }
.caso__tag { position: absolute; top: 12px; left: 12px; background: rgba(255,255,255,0.95); color: var(--azul-medio); font-family: var(--f-display); font-weight: 600; font-size: 0.75rem; padding: 4px 11px; border-radius: 50px; }
.caso__body { padding: 20px; }
.caso__body h3 { font-size: 1.05rem; margin-bottom: 5px; }
.caso__meta { font-size: 0.82rem; color: var(--naranja); font-weight: 600; font-family: var(--f-display); margin-bottom: 10px; }
.caso__body p { font-size: 0.9rem; color: var(--gris-suave); }

/* ============ Testimonios ============ */
.testi { background: #fff; border: 1px solid var(--gris-borde); border-radius: var(--radio); padding: 28px; }
.testi__stars { color: var(--naranja); margin-bottom: 14px; font-size: 1rem; letter-spacing: 2px; }
.testi__texto { font-size: 0.98rem; color: var(--gris-texto); margin-bottom: 20px; font-style: italic; }
.testi__persona { display: flex; align-items: center; gap: 13px; }
.testi__avatar { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, var(--azul-medio), var(--azul-oscuro)); display: grid; place-items: center; color: #fff; font-family: var(--f-display); font-weight: 700; }
.testi__persona b { font-family: var(--f-display); font-size: 0.95rem; color: var(--azul-oscuro); display: block; }
.testi__persona small { font-size: 0.82rem; color: var(--gris-suave); }
.testi__ejemplo { display: inline-block; background: var(--gris-fondo); color: var(--gris-suave); font-size: 0.72rem; font-weight: 600; padding: 3px 10px; border-radius: 50px; margin-bottom: 16px; font-family: var(--f-display); }

/* ============ FAQ acordeón ============ */
.faq { max-width: 800px; margin: 0 auto; }
.faq__item { border: 1px solid var(--gris-borde); border-radius: var(--radio-sm); margin-bottom: 14px; overflow: hidden; background: #fff; }
.faq__q { width: 100%; text-align: left; background: none; border: none; padding: 22px 24px; font-family: var(--f-display); font-weight: 600; font-size: 1.03rem; color: var(--azul-oscuro); cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faq__q svg { width: 22px; height: 22px; color: var(--naranja); flex-shrink: 0; transition: transform .25s; }
.faq__item.abierto .faq__q svg { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease; padding: 0 24px; }
.faq__item.abierto .faq__a { max-height: 400px; padding: 0 24px 22px; }
.faq__a p { font-size: 0.96rem; color: var(--gris-suave); }

/* ============ Formulario ============ */
.form-wrap { background: #fff; border: 1px solid var(--gris-borde); border-radius: var(--radio-lg); padding: 40px; box-shadow: var(--sombra-md); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.campo { display: flex; flex-direction: column; gap: 7px; }
.campo--full { grid-column: 1 / -1; }
.campo label { font-family: var(--f-display); font-weight: 600; font-size: 0.88rem; color: var(--azul-oscuro); }
.campo label .req { color: var(--naranja); }
.campo input, .campo select, .campo textarea {
  font-family: var(--f-body); font-size: 0.96rem; color: var(--gris-texto);
  padding: 12px 14px; border: 1px solid var(--gris-borde); border-radius: var(--radio-sm);
  background: var(--gris-fondo); transition: border-color .15s, background .15s;
}
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: none; border-color: var(--azul-medio); background: #fff; box-shadow: 0 0 0 3px var(--azul-medio-10); }
.campo textarea { resize: vertical; min-height: 110px; }
.campo input[type="file"] { padding: 10px; cursor: pointer; }
.check-linea { display: flex; align-items: flex-start; gap: 10px; grid-column: 1/-1; }
.check-linea input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--naranja); flex-shrink: 0; }
.check-linea label { font-family: var(--f-body); font-weight: 400; font-size: 0.86rem; color: var(--gris-suave); }
.form-alt { text-align: center; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--gris-borde); }
.form-alt p { font-size: 0.9rem; color: var(--gris-suave); margin-bottom: 12px; }
.form-msg { padding: 14px 18px; border-radius: var(--radio-sm); margin-top: 18px; font-size: 0.92rem; font-weight: 500; display: none; }
.form-msg--ok { display: block; background: rgba(37,211,102,0.12); color: #128a3e; }
.form-msg--err { display: block; background: rgba(220,53,69,0.1); color: #c0392b; }

/* ============ CTA franja ============ */
.cta-franja { background: linear-gradient(135deg, var(--naranja) 0%, var(--naranja-oscuro) 100%); border-radius: var(--radio-lg); padding: 56px 48px; text-align: center; color: #fff; position: relative; overflow: hidden; }
.cta-franja h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 14px; }
.cta-franja p { color: rgba(255,255,255,0.92); font-size: 1.08rem; max-width: 560px; margin: 0 auto 30px; }
.cta-franja__botones { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-franja .btn--wa { background: #fff; color: var(--verde-wa-oscuro); }
.cta-franja .btn--wa:hover { background: #f0f0f0; }
.cta-franja .btn--linea { color: #fff; border-color: rgba(255,255,255,0.6); }
.cta-franja .btn--linea:hover { background: rgba(255,255,255,0.15); border-color: #fff; }

/* ============ Footer ============ */
.footer { background: var(--azul-oscuro); color: #a7bdd4; padding: 64px 0 0; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer__logo { display: flex; align-items: center; gap: 10px; line-height: 1; font-family: var(--f-display); font-weight: 800; font-size: 1.3rem; color: #fff; margin-bottom: 16px; }
.footer__logo .nav__logo-mark { width: 40px; height: 40px; }
.footer__desc { font-size: 0.92rem; line-height: 1.7; margin-bottom: 20px; max-width: 300px; }
.footer__ruc { font-size: 0.82rem; color: #7a93ad; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.footer__links { list-style: none; }
.footer__links li { margin-bottom: 11px; }
.footer__links a { font-size: 0.92rem; color: #a7bdd4; transition: color .15s; }
.footer__links a:hover { color: var(--naranja); }
.footer__social { display: flex; gap: 12px; margin-top: 8px; }
.footer__social a { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,0.08); display: grid; place-items: center; color: #fff; transition: background .15s; }
.footer__social a:hover { background: var(--naranja); }
.footer__social svg { width: 20px; height: 20px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 24px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer__bottom p { font-size: 0.85rem; color: #7a93ad; }
.footer__legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer__legal a { font-size: 0.85rem; color: #a7bdd4; }
.footer__legal a:hover { color: var(--naranja); }

/* ============ WhatsApp flotante ============ */
.wa-float { position: fixed; bottom: 24px; right: 24px; z-index: 900; width: 60px; height: 60px; border-radius: 50%; background: var(--verde-wa); display: grid; place-items: center; box-shadow: 0 8px 24px rgba(37,211,102,0.45); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; color: #fff; }
.wa-float::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--verde-wa); animation: pulso 2s infinite; }
@keyframes pulso { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }

/* ============ Barra móvil inferior ============ */
.barra-movil { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 850; background: #fff; border-top: 1px solid var(--gris-borde); padding: 8px 4px calc(8px + env(safe-area-inset-bottom)); box-shadow: 0 -2px 12px rgba(16,42,67,0.08); }
.barra-movil__inner { display: flex; justify-content: space-around; }
.barra-movil a { display: flex; flex-direction: column; align-items: center; gap: 3px; font-family: var(--f-display); font-size: 0.68rem; font-weight: 600; color: var(--gris-suave); padding: 4px 8px; }
.barra-movil a.wa { color: var(--verde-wa-oscuro); }
.barra-movil a svg { width: 22px; height: 22px; }

/* ============ Encabezado de página interna ============ */
.page-head { background: var(--azul-oscuro); color: #cfe0f0; padding: calc(var(--nav-alto) + 56px) 0 60px; text-align: center; }
.page-head .eyebrow { justify-content: center; }
.page-head h1 { color: #fff; font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 14px; }
.page-head p { color: #9fb6cd; font-size: 1.08rem; max-width: 600px; margin: 0 auto; }

/* Migas */
.migas { font-size: 0.85rem; color: #7a93ad; margin-bottom: 16px; }
.migas a:hover { color: var(--naranja); }

/* ============ Utilidades de animación ============ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============ Responsive ============ */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .hero__visual { max-width: 460px; margin: 0 auto; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .proceso { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .proceso::before { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .app-card { grid-template-columns: 1fr; }
  .app-mock { order: -1; }
}

@media (max-width: 768px) {
  .seccion { padding: 60px 0; }
  .nav__links { display: none; position: fixed; top: var(--nav-alto); left: 0; right: 0; flex-direction: column; align-items: stretch; background: #fff; padding: 16px; gap: 4px; border-bottom: 1px solid var(--gris-borde); box-shadow: var(--sombra-md); max-height: calc(100vh - var(--nav-alto)); overflow-y: auto; }
  .nav__links.abierto { display: flex; }
  .nav__links a { padding: 13px 16px; font-size: 1rem; }
  .nav__cta .btn { display: none; }
  .nav__toggle { display: grid; place-items: center; }
  .nav__links .btn { display: inline-flex; margin-top: 8px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .wa-float { bottom: 78px; }
  .barra-movil { display: block; }
  body { padding-bottom: 64px; }
  .cta-franja { padding: 40px 24px; }
  .app-card { padding: 30px; }
  .frase { font-size: 1.05rem; padding: 22px 24px; }
  .hero__mini--top { top: -16px; right: 0; padding: 11px 13px; }
  .hero__mini--bottom { bottom: -16px; left: 0; padding: 11px 13px; }
  .hero__mini b { font-size: 0.9rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* Foco visible accesibilidad */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--naranja); outline-offset: 2px; }
