/* =============================================================
   TapUp · Landing page
   Hoja de estilos única, mobile-first, sin frameworks.

   Índice
   01. Tokens de marca (variables CSS)
   02. Reset y base
   03. Utilidades (contenedor, títulos, botones)
   04. Header y navegación
   05. Hero
   06. Secciones de contenido (problema, pasos, beneficios, giros)
   07. Formulario de cotización
   08. FAQ (acordeón)
   09. Footer
   10. Botón flotante de WhatsApp
   11. Animaciones y accesibilidad
   ============================================================= */


/* =============================================================
   01. TOKENS DE MARCA
   Los dos colores oficiales son --indigo y --blue.
   El resto son blancos y grises neutros.
   ============================================================= */
:root {
  /* Colores oficiales */
  --indigo: #1E1B4B;   /* índigo profundo  · fondos oscuros */
  --blue:   #2563EB;   /* azul eléctrico   · acento, botones */

  /* Derivados (mismo tono, distinta intensidad) */
  --indigo-soft: #2C2866;
  --blue-dark:   #1D4ED8;
  --blue-tint:   #EFF4FF;

  /* Neutros */
  --white:    #FFFFFF;
  --gray-50:  #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-300: #CBD5E1;
  --gray-500: #64748B;
  --gray-600: #475569;

  /* Texto */
  --text-strong: var(--indigo);
  --text-body:   #475569;
  --text-muted:  #64748B;

  /* Sistema */
  --radius:    12px;
  --radius-lg: 18px;
  --border:    1px solid var(--gray-200);
  --ring:      0 0 0 3px rgba(37, 99, 235, .28);
  --maxw:      1120px;
  --gutter:    20px;

  /* Tipografía */
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;
}


/* =============================================================
   02. RESET Y BASE
   ============================================================= */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* Compensa el header fijo al saltar con anclas */
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 {
  margin: 0;
  color: var(--text-strong);
  line-height: 1.18;
  letter-spacing: -0.02em;
  font-weight: 700;
}

p  { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }

a {
  color: var(--blue);
  text-decoration: none;
}
a:hover { color: var(--blue-dark); }

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

/* Foco visible y consistente en todo el sitio (navegación por teclado) */
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Enlace para saltar directo al contenido */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  padding: 12px 18px;
  background: var(--indigo);
  color: var(--white);
  border-radius: 0 0 var(--radius) 0;
  font-weight: 600;
}
.skip-link:focus {
  left: 0;
  color: var(--white);
}


/* =============================================================
   03. UTILIDADES
   ============================================================= */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 760px; }

.section { padding-block: 64px; }
.section--tint { background: var(--gray-50); }
.section--dark { background: var(--indigo); }

.section__head {
  max-width: 640px;
  margin-bottom: 36px;
}
.section__title {
  font-size: clamp(1.6rem, 5vw, 2.35rem);
  font-weight: 800;
}
.section__title--light { color: var(--white); }

.section__lead {
  margin-top: 14px;
  font-size: 1.03rem;
  color: var(--text-muted);
}
.section__lead--light { color: rgba(255, 255, 255, .75); }

.section__foot {
  margin-top: 36px;
  text-align: center;
}

.eyebrow {
  margin-bottom: 12px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--blue);
}
.eyebrow--light { color: #93B4FF; }

.text-accent { color: var(--blue); }

/* --- Botones --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: .97rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

.btn--primary {
  background: var(--blue);
  color: var(--white);
}
.btn--primary:hover {
  background: var(--blue-dark);
  color: var(--white);
}

.btn--ghost {
  background: transparent;
  border-color: var(--gray-300);
  color: var(--text-strong);
}
.btn--ghost:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.btn--sm  { padding: 9px 16px; font-size: .9rem; }
.btn--lg  { padding: 15px 26px; font-size: 1.02rem; }
.btn--block { display: flex; width: 100%; }

.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: .6;
  cursor: not-allowed;
}


/* =============================================================
   04. HEADER Y NAVEGACIÓN
   ============================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: var(--border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}

/* El lockup completo (ícono + texto) es un solo SVG monocromático:
   hereda el color de `color`, nunca mezcla dos colores. */
.logo {
  display: inline-flex;
  align-items: center;
  color: var(--blue);
  flex-shrink: 0;
}
.logo:hover { color: var(--blue-dark); }
.logo--light { color: var(--white); }
.logo--light:hover { color: var(--white); opacity: .85; }

/* Proporciones de los símbolos del sprite, en un solo lugar.
   OJO: en un <svg> el `width: auto` NO resuelve a la proporción del
   viewBox, cae a 100% del contenedor. Por eso se declara aspect-ratio. */
:root {
  --ratio-lockup: 564.8 / 166.3;   /* lockup horizontal */
  --ratio-mark:   196.8 / 166.3;   /* solo el ícono */
}

.logo__lockup {
  height: 30px;
  width: auto;
  aspect-ratio: var(--ratio-lockup);
  fill: currentColor;
}

/* --- Botón hamburguesa (solo móvil) --- */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav-toggle__bar {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--indigo);
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --- Menú --- */
.nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  display: none;
  background: var(--white);
  border-bottom: var(--border);
  padding: 8px var(--gutter) 20px;
}
.nav.is-open { display: block; }

.nav__list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.nav__link {
  display: block;
  padding: 12px 4px;
  font-weight: 500;
  color: var(--text-strong);
  border-bottom: 1px solid var(--gray-100);
}
.nav__link:hover { color: var(--blue); }

.nav__cta { margin-top: 14px; }


/* =============================================================
   05. HERO
   ============================================================= */
.hero {
  padding-block: 48px 56px;
  background: var(--blue-tint);
}

.hero__inner {
  display: grid;
  gap: 44px;
}

.hero__title {
  font-size: clamp(2rem, 8.5vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.hero__subtitle {
  margin-top: 18px;
  font-size: 1.08rem;
  color: var(--text-muted);
  max-width: 34em;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.hero__actions .btn { flex: 1 1 auto; }

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 26px;
  font-size: .88rem;
  color: var(--text-muted);
}
.hero__trust li {
  display: flex;
  align-items: center;
  gap: 7px;
}
/* Punto azul decorativo antes de cada dato de confianza */
.hero__trust li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}

/* --- Ilustración: celular + tarjeta (100% CSS, sin imágenes) --- */
.hero__visual {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin-inline: auto;
  padding-bottom: 58px;
}

.phone {
  width: min(248px, 64%);
  margin-left: auto;
  margin-right: 4%;
  padding: 10px 10px 14px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 26px;
  box-shadow: 0 10px 30px rgba(30, 27, 75, .10);
}
.phone__bar {
  width: 42px;
  height: 4px;
  margin: 2px auto 12px;
  border-radius: 4px;
  background: var(--gray-200);
}
.phone__screen {
  padding: 14px 12px 16px;
  background: var(--gray-50);
  border-radius: 16px;
  text-align: center;
}
.phone__brand {
  font-size: .82rem;
  font-weight: 700;
  color: var(--text-strong);
}
.phone__label {
  margin-top: 2px;
  font-size: .7rem;
  color: var(--text-muted);
}
.stars {
  display: flex;
  justify-content: center;
  gap: 3px;
  margin: 10px 0;
}
.star {
  width: 20px;
  height: 20px;
  fill: var(--blue);
}
.phone__field {
  padding: 8px 10px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  font-size: .68rem;
  color: var(--text-muted);
  text-align: left;
}
.phone__btn {
  margin-top: 10px;
  padding: 8px;
  background: var(--blue);
  border-radius: 8px;
  color: var(--white);
  font-size: .74rem;
  font-weight: 600;
}

.tapcard {
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(238px, 64%);
  padding: 18px;
  background: var(--indigo);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 28px rgba(30, 27, 75, .22);
}
/* Dentro de la tarjeta el lockup va en blanco: un solo color.
   Se define con `color` (no con `fill`) porque los símbolos del
   sprite usan fill="currentColor". */
.tapcard__logo {
  height: 22px;
  width: auto;
  aspect-ratio: var(--ratio-lockup);
  color: var(--white);
}
.tapcard__text {
  display: block;
  margin-top: 22px;
  max-width: 60%;
  font-size: .78rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .68);
}
.tapcard__mark {
  position: absolute;
  right: 16px;
  bottom: 14px;
  height: 30px;
  width: auto;
  aspect-ratio: var(--ratio-mark);
  color: rgba(255, 255, 255, .22);
}


/* =============================================================
   06. SECCIONES DE CONTENIDO
   ============================================================= */

/* --- Rejilla de tarjetas --- */
.grid {
  display: grid;
  gap: 16px;
}

.card {
  padding: 24px;
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius-lg);
}
.card--plain {
  background: transparent;
  border-color: var(--gray-200);
}

.card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  background: var(--blue-tint);
  border-radius: var(--radius);
  color: var(--blue);
}

.card__title {
  font-size: 1.08rem;
  font-weight: 700;
}
.card__text {
  margin-top: 8px;
  font-size: .96rem;
  color: var(--text-muted);
}

/* Beneficio destacado (fidelización) */
.card--feature {
  background: var(--indigo);
  border-color: var(--indigo);
}
.card--feature .card__title { color: var(--white); }
.card--feature .card__text  { color: rgba(255, 255, 255, .78); }
.card--feature .card__icon {
  background: rgba(255, 255, 255, .12);
  color: var(--white);
}
/* Nota de cumplimiento con las políticas de Google */
.card__note {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, .16);
  font-size: .84rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, .62);
}
.card__note strong { color: rgba(255, 255, 255, .9); }

/* Íconos de línea: todos comparten el mismo trazo */
.card__icon svg,
.step__icon svg,
.industry__icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* --- Pasos (cómo funciona) --- */
.steps {
  display: grid;
  gap: 16px;
  counter-reset: paso;
}
.step {
  position: relative;
  padding: 26px 24px 24px;
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius-lg);
}
.step__num {
  position: absolute;
  top: 20px;
  right: 22px;
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
  color: var(--gray-100);
}
.step__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  background: var(--blue);
  border-radius: var(--radius);
  color: var(--white);
}
.step__title {
  font-size: 1.08rem;
  font-weight: 700;
}
.step__text {
  margin-top: 8px;
  font-size: .96rem;
  color: var(--text-muted);
}

/* --- Modelos de producto --- */
.producto {
  display: flex;
  flex-direction: column;
  padding: 20px 20px 24px;
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius-lg);
}

/* La figura es un SVG hoy y puede ser un <img> mañana:
   las dos etiquetas comparten esta misma clase. */
.producto__figura {
  width: 100%;
  max-width: 240px;
  height: auto;
  margin: 0 auto 18px;
  background: var(--gray-50);
  border-radius: var(--radius);
  object-fit: cover;   /* solo aplica cuando la figura sea <img> */
}

.producto__nombre {
  font-size: 1.08rem;
  font-weight: 700;
}
.producto__texto {
  margin-top: 8px;
  font-size: .96rem;
  color: var(--text-muted);
}

.producto__specs {
  display: grid;
  gap: 7px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-100);
  font-size: .87rem;
  color: var(--text-muted);
}
.producto__specs li {
  position: relative;
  padding-left: 18px;
}
.producto__specs li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
}

/* --- Giros de negocio --- */
.industries {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.industry {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 20px 16px;
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius);
  transition: border-color .15s ease;
}
.industry:hover { border-color: var(--blue); }
.industry__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: var(--blue-tint);
  border-radius: 10px;
  color: var(--blue);
}
.industry__name {
  font-size: .95rem;
  font-weight: 600;
}


/* =============================================================
   07. FORMULARIO DE COTIZACIÓN
   ============================================================= */
.quote {
  display: grid;
  gap: 36px;
}

.quote__points {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}
.quote__points li {
  position: relative;
  padding-left: 28px;
  font-size: .96rem;
  color: rgba(255, 255, 255, .8);
}
/* Palomita dibujada con bordes: sin imágenes ni librerías de íconos */
.quote__points li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 8px;
  width: 11px;
  height: 6px;
  border-left: 2px solid #93B4FF;
  border-bottom: 2px solid #93B4FF;
  transform: rotate(-45deg);
}

.form {
  padding: 24px 20px 28px;
  background: var(--white);
  border-radius: var(--radius-lg);
}
.form__title {
  margin-bottom: 20px;
  font-size: 1.25rem;
  font-weight: 700;
}

.form__row {
  display: grid;
  gap: 0;
}

.field { margin-bottom: 16px; }

.field__label {
  display: block;
  margin-bottom: 6px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--text-strong);
}
.req { color: var(--blue); }
.field__optional {
  font-weight: 400;
  color: var(--text-muted);
}

.field__input {
  width: 100%;
  padding: 12px 14px;
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: 10px;
  font-size: 1rem;   /* 16px evita que iOS haga zoom al enfocar */
  color: var(--text-strong);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field__input::placeholder { color: var(--gray-300); }
.field__input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: var(--ring);
}

/* Flecha del select dibujada en el propio fondo (sin imagen externa) */
.field__select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--gray-500) 50%),
    linear-gradient(135deg, var(--gray-500) 50%, transparent 50%);
  background-position:
    calc(100% - 20px) calc(50% + 2px),
    calc(100% - 14px) calc(50% + 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  cursor: pointer;
}
/* Mientras no eligen nada, el placeholder se ve en gris */
.field__select:invalid { color: var(--gray-500); }

.field__textarea {
  min-height: 110px;
  resize: vertical;
}

.field__help {
  margin-top: 6px;
  font-size: .8rem;
  color: var(--text-muted);
}

.field__error {
  margin-top: 6px;
  font-size: .82rem;
  font-weight: 500;
  color: #B91C1C;   /* rojo con contraste AA sobre blanco */
}
.field__error:empty { display: none; }

/* Estado de error: borde rojo, no solo color de texto */
.field__input[aria-invalid="true"] {
  border-color: #B91C1C;
}
.field__input[aria-invalid="true"]:focus {
  box-shadow: 0 0 0 3px rgba(185, 28, 28, .2);
}

/* Honeypot: invisible para personas, visible para bots */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__legal {
  margin-top: 14px;
  font-size: .8rem;
  color: var(--text-muted);
  text-align: center;
}

.form__status {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: .9rem;
  font-weight: 500;
  text-align: center;
}
.form__status:empty { display: none; }
.form__status.is-ok {
  background: #ECFDF5;
  color: #065F46;
}
.form__status.is-error {
  background: #FEF2F2;
  color: #B91C1C;
}


/* =============================================================
   08. FAQ (ACORDEÓN)
   ============================================================= */
.faq {
  border-top: var(--border);
}
.faq__item { border-bottom: var(--border); }

.faq__heading { margin: 0; }

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 20px 2px;
  background: none;
  border: 0;
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text-strong);
  text-align: left;
  cursor: pointer;
}
.faq__q:hover { color: var(--blue); }

.faq__chevron {
  flex-shrink: 0;
  width: 9px;
  height: 9px;
  margin-right: 6px;
  border-right: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .2s ease;
}
.faq__q[aria-expanded="true"] .faq__chevron {
  transform: rotate(-135deg) translate(-2px, -2px);
}

.faq__a {
  padding: 0 2px 22px;
  font-size: .97rem;
  color: var(--text-muted);
  max-width: 62ch;
}
.faq__a:not([hidden]) { animation: faqIn .18s ease-out; }

@keyframes faqIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: none; }
}


/* =============================================================
   09. FOOTER
   ============================================================= */
.site-footer {
  padding-block: 48px 24px;
  background: var(--indigo);
  color: rgba(255, 255, 255, .7);
}

.site-footer__inner {
  display: grid;
  gap: 32px;
}

.site-footer__tagline {
  margin-top: 16px;
  max-width: 34ch;
  font-size: .92rem;
}

.site-footer__title {
  margin-bottom: 14px;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--white);
}

.site-footer__list {
  display: grid;
  gap: 10px;
  font-size: .93rem;
}
.site-footer__list a { color: rgba(255, 255, 255, .7); }
.site-footer__list a:hover {
  color: var(--white);
  text-decoration: underline;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  font-size: .84rem;
  color: rgba(255, 255, 255, .55);
}


/* =============================================================
   10. BOTÓN FLOTANTE DE WHATSAPP
   ============================================================= */
.wa-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 16px;
  background: #25D366;      /* verde oficial de WhatsApp */
  border-radius: 999px;
  color: #06331A;           /* contraste AA sobre el verde */
  font-size: .93rem;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(6, 51, 26, .28);
  transition: transform .15s ease, background-color .15s ease;
}
.wa-float:hover {
  background: #1FBE5A;
  color: #06331A;
  transform: translateY(-2px);
}
.wa-float svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
/* En pantallas chicas el botón es solo el ícono, para no tapar contenido */
.wa-float__label { display: none; }


/* =============================================================
   11. ANIMACIONES Y ACCESIBILIDAD
   La clase .reveal la agrega main.js: sin JS todo se ve normal.
   ============================================================= */
.reveal {
  opacity: 0;
  transform: translateY(14px);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity .5s ease, transform .5s ease;
}

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


/* =============================================================
   BREAKPOINTS
   Mobile-first: de aquí en adelante solo se agregan mejoras.
   ============================================================= */

/* --- Tablet chica (≥ 560 px) --- */
@media (min-width: 560px) {
  .hero__actions .btn { flex: 0 0 auto; }

  .form { padding: 32px 28px 34px; }
  .form__row {
    grid-template-columns: 1fr 1fr;
    gap: 0 16px;
  }

  .wa-float__label { display: inline; }
}

/* --- Tablet (≥ 768 px) --- */
@media (min-width: 768px) {
  :root { --gutter: 28px; }

  .section { padding-block: 88px; }
  .hero { padding-block: 64px 80px; }

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

  .site-footer__inner {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px 24px;
  }
}

/* --- Escritorio (≥ 960 px) --- */
@media (min-width: 960px) {
  html { scroll-padding-top: 92px; }

  .site-header__inner { min-height: 74px; }
  .logo__lockup { height: 32px; }

  /* El menú deja de ser desplegable */
  .nav-toggle { display: none; }
  .nav {
    position: static;
    display: block;
    padding: 0;
    border: 0;
    background: none;
  }
  .nav__list {
    flex-direction: row;
    align-items: center;
    gap: 26px;
  }
  .nav__link {
    padding: 6px 0;
    border: 0;
    font-size: .95rem;
  }
  .nav__cta { margin-top: 0; }

  .hero__inner {
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 48px;
  }
  .hero__visual { max-width: 460px; }

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

  /* El beneficio destacado ocupa el ancho completo de la última fila */
  .card--feature {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 44px 1fr 1fr;
    align-items: start;
    gap: 8px 26px;
    padding: 30px;
  }
  .card--feature .card__icon { margin-bottom: 0; }
  .card--feature .card__title { grid-column: 2 / -1; }
  .card--feature .card__text {
    grid-column: 2 / 3;
    margin-top: 10px;
  }
  .card--feature .card__note {
    grid-column: 3 / 4;
    grid-row: 2 / 4;
    margin-top: 10px;
    padding: 16px 18px;
    border-top: 0;
    border-left: 2px solid rgba(255, 255, 255, .2);
    border-radius: 0 var(--radius) var(--radius) 0;
    background: rgba(255, 255, 255, .05);
  }

  .quote {
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 56px;
  }
  .quote__copy { position: sticky; top: 100px; }
}

/* --- Escritorio grande (≥ 1100 px) --- */
@media (min-width: 1100px) {
  .wa-float {
    right: 24px;
    bottom: 24px;
  }
}
