/* ==========================================================================
   Arissto One — landing
   Hoja de estilos única. Paleta y reglas de contraste: especificación §8.
   - Nunca texto blanco sobre naranja: el texto de un botón naranja va en azul marino.
   - El naranja de marca (--orange) no se usa para texto sobre fondo claro;
     para eso está --orange-text. Única excepción: el logotipo.
   - El hover de un botón naranja aclara (--orange-hover), no oscurece.
   ========================================================================== */

:root {
  --orange: #FD4F01;
  --orange-hover: #FD5D15;
  --orange-text: #BE3B01;
  --orange-50: #FFF3EC;
  --orange-200: #FFD6C2;
  --navy: #0A1F3B;
  --navy-2: #153259;
  --bg: #FDFDFD;
  --soft: #F4F6F9;
  --text: #535B6F;
  --line: #E3E7ED;
  --line-strong: #C9D1DC;
  --on-dark: #C8D1DD;
  --whatsapp: #1A9E4F;
  --radius: 28px;
  --radius-lg: 36px;
  --shadow: 0 20px 50px rgba(10, 31, 59, .08);
  --shadow-card: 0 12px 30px rgba(10, 31, 59, .06);
  --max: 1180px;
  --header-h: 74px
}

* {
  box-sizing: border-box
}

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

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased
}

a {
  color: inherit;
  text-decoration: none
}

img {
  max-width: 100%;
  height: auto;
  display: block
}

h1,
h2,
h3,
p {
  margin: 0
}

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

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 200;
  padding: 12px 18px;
  border-radius: 12px;
  background: var(--navy);
  color: #fff;
  font-weight: 800
}

.skip-link:focus {
  top: 12px
}

/* Iconos SVG de trazo (una sola familia, un solo grosor) */
.ico {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round
}

.ico-fill {
  fill: currentColor;
  stroke: none
}

/* ---------- Estructura general ---------- */

.container {
  width: min(100% - 40px, var(--max));
  margin: 0 auto
}

.section {
  padding: 88px 0
}

.section-sm {
  padding: 0
}

.soft {
  background: var(--soft)
}

.gradient {
  background: linear-gradient(135deg, var(--soft), var(--bg) 48%, #FFF5EF)
}

h1 {
  max-width: 720px;
  font-size: clamp(36px, 4.8vw, 60px);
  line-height: 1.05;
  letter-spacing: -.04em;
  color: var(--navy);
  font-weight: 900
}

h2 {
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.08;
  letter-spacing: -.035em;
  color: var(--navy);
  font-weight: 900
}

h3 {
  color: var(--navy);
  font-weight: 800
}

h1,
h2,
.section-title .lead {
  text-wrap: balance
}

.lead,
.card p,
.step p {
  text-wrap: pretty
}

.lead {
  margin-top: 24px;
  font-size: 18px;
  line-height: 1.8;
  color: var(--text)
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--orange-50);
  color: var(--orange-text);
  border: 1px solid var(--orange-200);
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 18px
}

.section-title {
  max-width: 760px;
  margin: 0 auto 54px;
  text-align: center
}

/* ---------- Botones ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  border: 0;
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: background-color .2s, transform .2s, box-shadow .2s;
  white-space: nowrap
}

.btn:hover {
  transform: translateY(-1px)
}

.btn-primary {
  background: var(--orange);
  color: var(--navy);
  box-shadow: 0 16px 32px rgba(253, 79, 1, .22)
}

.btn-primary:hover {
  background: var(--orange-hover)
}

.btn-primary[disabled] {
  cursor: progress;
  opacity: .8;
  transform: none
}

.btn-sm {
  min-height: 44px;
  padding: 0 22px;
  font-size: 14px
}

/* Botón azul marino: no compite con el naranja de "Solicitar demostración" */
.btn-navy {
  background: var(--navy);
  color: #fff
}

.btn-navy:hover {
  background: var(--navy-2)
}

.btn-navy .ico {
  width: 16px;
  height: 16px
}

.btn-link {
  min-height: 52px;
  padding: 0 8px;
  background: transparent;
  color: var(--navy)
}

.btn-link .ico {
  width: 20px;
  height: 20px;
  transition: transform .2s
}

.btn-link:hover .ico {
  transform: translateX(3px)
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 34px
}

.lbl-short {
  display: none
}

/* ---------- Logotipo (img/logo-arissto-one.png; versión blanca para el pie) ---------- */

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px
}

.brand img {
  width: auto;
  height: 44px
}

.site-footer .brand img {
  height: 52px
}

/* ---------- Barra superior ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(253, 253, 253, .95);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 20px rgba(10, 31, 59, .04);
  backdrop-filter: blur(12px)
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px
}

.site-nav a:hover {
  color: var(--orange-text)
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px
}

.mobile-menu {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: var(--navy);
  cursor: pointer
}

.mobile-menu span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: currentColor;
  transition: transform .2s, opacity .2s
}

.mobile-menu[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg)
}

.mobile-menu[aria-expanded="true"] span:nth-child(2) {
  opacity: 0
}

.mobile-menu[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg)
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 18%, rgba(253, 79, 1, .12), transparent 30%),
    radial-gradient(circle at 86% 12%, rgba(21, 50, 89, .10), transparent 30%),
    linear-gradient(135deg, #F5F7FA 0%, var(--bg) 50%, #FFF5EF 100%)
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 56px;
  padding: 56px 0 96px
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  max-width: 620px;
  margin-top: 26px
}

.mini-card {
  background: rgba(255, 255, 255, .85);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 16px;
  box-shadow: var(--shadow-card)
}

.mini-card strong {
  display: block;
  color: var(--navy);
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 6px
}

.mini-card span {
  display: block;
  font-size: 14px;
  line-height: 1.55
}

/* Hueco para material pendiente de SST (§9). Se reemplaza por la imagen real. */
.media-ph {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  aspect-ratio: 16 / 10;
  padding: 24px;
  border-radius: 22px;
  border: 2px dashed var(--line-strong);
  background: repeating-linear-gradient(-45deg, var(--soft) 0 12px, #F9FAFC 12px 24px);
  text-align: center
}

.media-ph .ico {
  width: 36px;
  height: 36px;
  color: var(--orange-text)
}

.media-ph strong {
  color: var(--navy);
  font-size: 15px;
  font-weight: 800
}

.media-ph span {
  max-width: 34ch;
  font-size: 13px;
  line-height: 1.5
}

/* ---------- Tres atributos ---------- */

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

.stat-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 26px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card)
}

.stat-card strong {
  display: block;
  color: var(--orange-text);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -.02em;
  margin-bottom: 6px
}

.stat-desc {
  display: block;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6
}

.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: var(--orange-50);
  color: var(--orange-text)
}

.icon-box-sm {
  width: 44px;
  height: 44px;
  border-radius: 14px
}

.icon-box-sm .ico {
  width: 22px;
  height: 22px
}

/* ---------- Bloques de dos columnas ---------- */

.two-col {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  align-items: center;
  gap: 56px
}

.two-col.reverse {
  grid-template-columns: 1.05fr .95fr
}

.two-col.top {
  align-items: start
}

.check-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border-radius: 20px;
  background: var(--soft);
  border: 1px solid var(--line);
  color: var(--navy);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45
}

.soft .check-item {
  background: #fff
}

.check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--orange-50);
  color: var(--orange-text)
}

.check .ico {
  width: 14px;
  height: 14px;
  stroke-width: 3
}

/* Imágenes de la app */
.hero-shot,
.phone-shot {
  position: relative;
  display: block
}

.hero-shot::before,
.phone-shot::before {
  content: "";
  position: absolute;
  z-index: 0;
  border-radius: 999px;
  background: rgba(253, 79, 1, .22);
  filter: blur(48px)
}

.hero-shot::before {
  inset: 18% 22% 18% 22%
}

.phone-shot::before {
  left: 8%;
  top: 12%;
  width: 45%;
  height: 30%
}

.hero-shot img,
.phone-shot img {
  position: relative;
  z-index: 1;
  width: 100%
}

.phone-shot {
  max-width: 360px;
  margin: 0 auto
}

.photo-card {
  display: block;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: 0 26px 70px rgba(10, 31, 59, .14)
}

.photo-card img {
  width: 100%
}

/* ---------- Módulos ---------- */

.module-list {
  display: grid;
  gap: 12px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none
}

.module-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card)
}

.module-item h3 {
  font-size: 16px;
  margin-bottom: 4px
}

.module-item p {
  font-size: 14px;
  line-height: 1.55
}

/* ---------- Productos de crédito configurables ---------- */

.config-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 920px;
  margin: 0 auto;
  padding: 0;
  list-style: none
}

.config-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card)
}

.config-item h3 {
  font-size: 16px;
  margin-bottom: 4px
}

.config-item p {
  font-size: 14px;
  line-height: 1.55
}

/* Si el último módulo queda solo en su fila, ocupa las dos columnas */
.module-list .module-item:last-child:nth-child(odd) {
  grid-column: 1 / -1
}

/* Sección "Productos de crédito": imagen a un costado y lista en una columna */
.cred-shot {
  display: block;
  max-width: 560px;
  margin: 0 auto
}

/* Al lado de la imagen, la lista va en dos columnas */
.two-col.wide-right {
  grid-template-columns: .8fr 1.2fr
}

.config-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none
}

.cred-shot img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  background: #fff
}

/* Galería de funciones (sección "Todo lo que incluye") */
.galeria {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: start;
  gap: 20px;
  margin: 48px 0 0;
  padding: 0;
  list-style: none
}

.galeria img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  background: #fff
}

.config-item.destacado {
  grid-column: 1 / -1;
  background: var(--orange-50);
  border-color: var(--orange-200)
}

.config-item.destacado .icon-box {
  background: #fff
}

/* ---------- Tarjetas ---------- */

.cards-4,
.cards-3 {
  display: grid;
  gap: 20px
}

.cards-4 {
  grid-template-columns: repeat(4, 1fr)
}

.cards-3 {
  grid-template-columns: repeat(3, 1fr)
}

.card {
  padding: 28px 24px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  transition: transform .2s, box-shadow .2s, border-color .2s
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(10, 31, 59, .10);
  border-color: var(--orange-200)
}

.card h3 {
  font-size: 18px;
  margin: 20px 0 10px
}

.card p {
  font-size: 14px;
  line-height: 1.65
}

/* ---------- Cómo empezamos ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none
}

.step {
  padding: 28px 24px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card)
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-size: 16px;
  font-weight: 900
}

.step h3 {
  font-size: 18px;
  margin: 20px 0 10px
}

.step p {
  font-size: 14px;
  line-height: 1.65
}

/* ---------- Respaldo ---------- */

.backing {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 42px;
  padding: 48px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #F5F7FA, #fff, #FFF5EF);
  border: 1px solid var(--line);
  box-shadow: var(--shadow)
}

.tag {
  display: inline-flex;
  border-radius: 999px;
  padding: 5px 10px;
  background: var(--orange);
  color: var(--navy);
  font-size: 12px;
  font-weight: 900
}

.backing-solo {
  grid-template-columns: 1fr;
  max-width: 860px;
  margin: 0 auto;
  text-align: center
}

/* ---------- La familia Arissto: cuándo One y cuándo Financiero ---------- */

.comparacion {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 920px;
  margin: 0 auto
}

.comparacion-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card)
}

.comparacion-card.destacada {
  border-color: var(--orange-200)
}

.comparacion-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px
}

.comparacion-head h3 {
  font-size: 20px;
  margin: 0
}

/* En las tarjetas, el nombre del producto es su logotipo */
.comparacion-head h3 img {
  width: auto;
  height: 38px
}

.comparacion-sub {
  margin-top: 6px;
  color: var(--orange-text);
  font-size: 14px;
  font-weight: 800
}

.comparacion-card:not(.destacada) .comparacion-sub {
  color: var(--navy)
}

.comparacion-list {
  display: grid;
  align-content: start;
  flex: 1;
  gap: 14px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none
}

.comparacion-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  line-height: 1.55
}

.check-navy {
  background: #EDF1F6;
  color: var(--navy)
}

.comparacion-card .btn {
  align-self: flex-start;
  margin-top: 22px
}

.comparacion-note {
  max-width: 760px;
  margin: 32px auto 0;
  text-align: center;
  font-size: 15px;
  line-height: 1.8
}

.comparacion-note a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  color: var(--orange-text);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px
}

.comparacion-note .ico {
  width: 16px;
  height: 16px
}

/* ---------- Videos ---------- */

.videos-head {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  align-items: end;
  gap: 40px;
  margin-bottom: 40px
}

.videos-nav {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-bottom: 16px
}

.round-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  background: #fff;
  color: var(--navy);
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s
}

.round-btn:hover {
  border-color: var(--orange);
  box-shadow: 0 4px 16px rgba(253, 79, 1, .2)
}

.round-btn .ico {
  width: 20px;
  height: 20px
}

.video-track {
  display: flex;
  gap: 24px;
  margin: -12px -12px 0;
  padding: 12px 12px 48px;
  scroll-padding: 0 12px;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none
}

.video-track::-webkit-scrollbar {
  display: none
}

.video-card {
  flex: 0 0 min(360px, 86%);
  scroll-snap-align: start;
  overflow: hidden;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card)
}

.video-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--navy)
}

.video-thumb .media-ph {
  height: 100%;
  aspect-ratio: auto;
  border-radius: 0;
  border: 0
}

.video-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--navy);
  cursor: pointer
}

.video-play img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover
}

.video-play .play-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: var(--orange);
  color: var(--navy);
  box-shadow: 0 14px 28px rgba(10, 31, 59, .35);
  transition: transform .2s
}

.video-play:hover .play-icon {
  transform: scale(1.06)
}

.video-play .play-icon .ico {
  width: 26px;
  height: 26px;
  margin-left: 4px
}

.video-thumb iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0
}

.video-body {
  padding: 24px
}

.video-body h3 {
  font-size: 19px;
  margin-bottom: 10px
}

.video-body p {
  font-size: 14px;
  line-height: 1.7
}

/* ---------- Preguntas frecuentes ---------- */

.faq {
  max-width: 760px;
  margin: 0 auto
}

.faq-item {
  border-bottom: 1px solid var(--line-strong)
}

.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  min-height: 44px;
  padding: 22px 0;
  list-style: none;
  cursor: pointer;
  color: var(--navy);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.4
}

.faq-item summary::-webkit-details-marker {
  display: none
}

.faq-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--orange-50);
  color: var(--orange-text);
  transition: transform .25s
}

.faq-icon .ico {
  width: 18px;
  height: 18px
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg)
}

.faq-answer {
  padding: 0 0 24px;
  font-size: 15px;
  line-height: 1.8
}

/* ---------- Formulario de demostración ---------- */

.form-wrap {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: start;
  gap: 56px
}

.contact-note {
  margin-top: 30px;
  padding: 22px;
  border-radius: 24px;
  background: var(--orange-50);
  border: 1px solid var(--orange-200)
}

.contact-note strong {
  display: block;
  margin-bottom: 10px;
  color: var(--navy)
}

.contact-list {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none
}

.contact-list li {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 10px;
  min-height: 44px
}

.contact-list .ico {
  width: 20px;
  height: 20px;
  color: var(--orange-text)
}

.contact-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--orange-text);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  word-break: break-word
}

.lead-form {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  box-shadow: var(--shadow);
  color: #fff
}

.form-intro {
  margin-bottom: 22px;
  color: var(--on-dark);
  font-size: 14px
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px
}

.field.full {
  grid-column: 1 / -1
}

.field label {
  display: block;
  margin-bottom: 8px;
  color: #E6EBF2;
  font-size: 14px;
  font-weight: 700
}

.req {
  color: var(--orange)
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 16px;
  background-color: #fff;
  color: var(--navy);
  font: inherit;
  font-size: 16px;
  transition: border-color .2s, box-shadow .2s
}

.field select {
  appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%230A1F3B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center
}

.field textarea {
  min-height: 118px;
  padding-top: 14px;
  resize: vertical
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(253, 79, 1, .4)
}

.field [aria-invalid="true"] {
  border-color: #FF8A65;
  box-shadow: 0 0 0 3px rgba(255, 138, 101, .45)
}

.field-error {
  margin-top: 8px;
  color: #FFC4AE;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 22px;
  color: var(--on-dark);
  font-size: 14px;
  line-height: 1.6;
  cursor: pointer
}

.consent input {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin: 1px 0 0;
  accent-color: var(--orange);
  cursor: pointer
}

.consent-error {
  margin-left: 34px
}

.lead-form .btn {
  margin-top: 24px
}

.form-status {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 138, 101, .14);
  border: 1px solid rgba(255, 138, 101, .5);
  color: #FFE1D6;
  font-size: 14px;
  line-height: 1.6
}

.form-status a {
  color: #fff;
  font-weight: 700;
  text-decoration: underline
}

.form-success {
  padding: 32px 8px;
  text-align: center
}

.form-success:focus {
  outline: none
}

.success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
  border-radius: 999px;
  background: var(--orange);
  color: var(--navy)
}

.success-icon .ico {
  width: 30px;
  height: 30px;
  stroke-width: 3
}

.form-success h3 {
  color: #fff;
  font-size: 24px;
  margin-bottom: 12px
}

.form-success p {
  color: var(--on-dark);
  line-height: 1.7
}

.form-success strong {
  color: #fff
}

/* ---------- Pie de página ---------- */

.site-footer {
  background: var(--navy);
  color: #fff
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  padding: 56px 0
}

.site-footer p {
  color: var(--on-dark);
  line-height: 1.7
}

.footer-desc {
  max-width: 360px;
  margin-top: 16px
}

.footer-title {
  margin: 0 0 16px;
  color: var(--orange) !important;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 13px;
  font-weight: 900
}

.footer-list {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none
}

.footer-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--on-dark);
  line-height: 1.6
}

.footer-list .ico {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  color: var(--orange)
}

.footer-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  word-break: break-word
}

.footer-list li:has(a) {
  align-items: center
}

.footer-list li:has(a) .ico {
  margin-top: 0
}

.footer-list a:hover {
  color: #fff;
  text-decoration: underline
}

.socials {
  display: flex;
  gap: 12px;
  margin-top: 22px
}

.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .10);
  color: #fff;
  transition: background-color .2s, color .2s
}

.socials a:hover {
  background: var(--orange);
  color: var(--navy)
}

.socials .ico {
  width: 20px;
  height: 20px
}

.copyright {
  padding: 24px 0 100px;
  border-top: 1px solid rgba(255, 255, 255, .10);
  text-align: center;
  color: #9FAEC2;
  font-size: 14px
}

/* ---------- Acciones flotantes (demostración + WhatsApp) ---------- */

.sticky-cta {
  position: fixed;
  left: 50%;
  bottom: 20px;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(253, 253, 253, .96);
  border: 1px solid var(--line);
  box-shadow: 0 20px 50px rgba(10, 31, 59, .18);
  backdrop-filter: blur(12px);
  transform: translateX(-50%);
  transition: opacity .25s, transform .25s
}

.sticky-cta.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 20px)
}

.wa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  color: var(--whatsapp);
  transition: transform .2s
}

.wa-btn:hover {
  transform: translateY(-2px)
}

.wa-btn .ico {
  width: 30px;
  height: 30px
}

/* ---------- Responsivo ---------- */

@media (max-width: 1024px) {

  .hero-grid,
  .two-col,
  .two-col.reverse,
  .two-col.wide-right,
  .backing,
  .videos-head,
  .form-wrap {
    grid-template-columns: 1fr
  }

  .cards-4,
  .steps {
    grid-template-columns: repeat(2, 1fr)
  }

  .grid-3 {
    grid-template-columns: 1fr
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr
  }

  .footer-grid> :first-child {
    grid-column: 1 / -1
  }

  .videos-head {
    gap: 0;
    margin-bottom: 24px
  }

  .backing {
    padding: 32px
  }
}

@media (max-width: 980px) {
  .site-nav {
    display: none
  }

  .mobile-menu {
    display: inline-block
  }

  .site-nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 90;
    padding: 8px 20px 16px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 24px rgba(10, 31, 59, .08)
  }

  .site-nav.is-open a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 16px
  }

  .site-nav.is-open a:last-child {
    border-bottom: 0
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 32px, var(--max))
  }

  .section {
    padding: 68px 0
  }

  .section-sm {
    padding: 0 0 8px
  }

  .header-inner {
    gap: 8px
  }

  .brand img {
    height: 36px
  }

  .lbl-long {
    display: none
  }

  .lbl-short {
    display: inline
  }

  .btn-sm {
    padding: 0 16px
  }

  .hero-grid {
    gap: 40px;
    padding: 40px 0 64px
  }

  .lead {
    font-size: 17px
  }

  .hero-points,
  .check-list,
  .comparacion,
  .config-grid,
  .config-list,
  .galeria,
  .cards-4,
  .cards-3,
  .steps,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr
  }

  .actions .btn-primary,
  .lead-form .btn {
    width: 100%
  }

  .actions .btn-link {
    width: 100%
  }

  .backing,
  .lead-form {
    padding: 24px
  }

  .section-title {
    margin-bottom: 40px
  }

  .eyebrow {
    border-radius: 18px
  }

  /* En teléfono la barra superior ya muestra el botón de demostración: aquí solo queda WhatsApp */
  .sticky-cta {
    left: auto;
    right: 16px;
    bottom: 16px;
    padding: 6px;
    transform: none
  }

  .sticky-cta.is-hidden {
    transform: translateY(20px)
  }

  .sticky-cta .btn {
    display: none
  }
}

@media (max-width: 380px) {
  .brand img {
    height: 32px
  }

  .btn-sm {
    padding: 0 14px;
    font-size: 13px
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important
  }
}
