/* ==========================================================================
   Square POS Florida — hoja de estilos principal
   Autorized Square Reseller · squareposflorida.com
   Estructura:
     1. Tokens / Reset
     2. Utilidades y layout
     3. Botones
     4. Header + navegación
     5. Hero
     6. Logos / prueba social
     7. Hardware (grid de productos)
     8. Software y servicios
     9. Precios / programas
    10. Pasos "Cómo empezar"
    11. CTA final
    12. Footer
    13. Modales (Get Started / Contact Sales)
    14. Botón flotante de WhatsApp
    15. Responsive
   ========================================================================== */

/* ---------- 1. Tokens / Reset ---------- */
:root {
  --ink:        #11181C;
  --ink-soft:   #46545E;
  --ink-mute:   #6B7B87;
  --line:       #E2E8ED;
  --line-soft:  #EEF2F6;
  --bg:         #FFFFFF;
  --bg-alt:     #F6F8FA;
  --bg-tint:    #EAF2FE;
  --bg-mint:    #E6FAF8;
  --brand:      #0B79F7;
  --brand-dark: #0A5FC4;
  --brand-ink:  #062B57;
  --accent:     #FF8A3D;
  --teal:       #00B3A4;
  --white:      #FFFFFF;

  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 22px;
  --radius-xl: 30px;

  --shadow-sm: 0 1px 2px rgba(17, 24, 28, .06), 0 1px 3px rgba(17, 24, 28, .04);
  --shadow:    0 4px 12px rgba(17, 24, 28, .07), 0 2px 4px rgba(17, 24, 28, .04);
  --shadow-lg: 0 18px 44px rgba(17, 24, 28, .12), 0 4px 12px rgba(17, 24, 28, .06);

  --wrap: 1200px;
  --gap:  clamp(16px, 2.2vw, 28px);

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

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

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

h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.15; letter-spacing: -.02em; font-weight: 700; }
h1 { font-size: clamp(2.4rem, 5.2vw, 3.9rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); letter-spacing: -.03em; }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.4rem); }
p  { margin: 0 0 1em; }

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- 2. Utilidades y layout ---------- */
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }

.section { padding: clamp(64px, 8vw, 104px) 0; }
.section--alt  { background: var(--bg-alt); }
.section--tint { background: var(--bg-tint); }
.section--ink  { background: var(--ink); color: #fff; }

.section-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--ink-soft); font-size: 1.08rem; margin-bottom: 0; }
.section--ink .section-head p { color: rgba(255,255,255,.72); }

.eyebrow {
  display: inline-block;
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 14px;
}
.section--ink .eyebrow { color: #7FC0FF; }

.lead { font-size: clamp(1.05rem, 1.4vw, 1.22rem); color: var(--ink-soft); }

/* ---------- 3. Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-size: .97rem; font-weight: 650;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  transition: background-color .18s ease, color .18s ease,
              border-color .18s ease, transform .12s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: #000; box-shadow: var(--shadow); }

.btn--brand { background: var(--brand); color: #fff; }
.btn--brand:hover { background: var(--brand-dark); box-shadow: var(--shadow); }

/* --------------------------------------------------------------------------
   .btn--cta — el botón "Get Started", el que debe llamar la atención.
   Azul de marca + halo pulsante suave. La animación se desactiva sola si el
   usuario pide menos movimiento (ver el bloque prefers-reduced-motion).
   -------------------------------------------------------------------------- */
.btn--cta {
  background: var(--brand); color: #fff;
  box-shadow: 0 6px 20px rgba(11, 121, 247, .38);
  font-weight: 700;
}
.btn--cta:hover {
  background: var(--brand-dark);
  box-shadow: 0 10px 28px rgba(11, 121, 247, .48);
}
.btn--cta--pulse { animation: ctaPulse 2.8s ease-in-out infinite; }
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 6px 20px rgba(11,121,247,.38), 0 0 0 0 rgba(11,121,247,.42); }
  50%      { box-shadow: 0 6px 20px rgba(11,121,247,.38), 0 0 0 9px rgba(11,121,247,0); }
}

/* Versión grande para el hero */
.btn--lg { padding: 17px 34px; font-size: 1.04rem; }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); background: var(--bg-alt); }

.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: #F0F4F8; }

.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn--outline-light:hover { border-color: #fff; background: rgba(255,255,255,.1); }

.btn--sm    { padding: 10px 20px; font-size: .9rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--brand); font-weight: 650; font-size: .95rem;
}
.link-arrow::after { content: "→"; transition: transform .18s ease; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- 4. Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }

.header-inner {
  display: flex; align-items: center; gap: 20px;
  min-height: 74px;
}

.brand { display: flex; align-items: center; gap: 11px; font-weight: 750; letter-spacing: -.02em; flex: none; }
.brand__mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: var(--ink); color: #fff;
  display: grid; place-items: center;
  font-size: .95rem; font-weight: 800;
  flex: none;
}
.brand__name { font-size: 1.03rem; line-height: 1.1; white-space: nowrap; }
.brand__name span {
  display: flex; align-items: center; gap: 4px;
  font-size: .68rem; font-weight: 600; color: var(--ink-mute); letter-spacing: .04em;
}
.brand__name .netevia { color: var(--ink); }

.main-nav { margin-left: 10px; min-width: 0; }
.main-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav a {
  display: block; padding: 9px 14px; border-radius: 999px;
  font-size: .95rem; font-weight: 550; color: var(--ink-soft);
  transition: background-color .16s ease, color .16s ease;
}
.main-nav a:hover { background: var(--bg-alt); color: var(--ink); }

.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }

/* ==========================================================================
   LOCKUP DE SOCIO — "Authorized Reseller by NETEVIA Platinum"
   --------------------------------------------------------------------------
   El wordmark (assets/img/netevia.svg) usa fill="currentColor", así que se
   dibuja negro por defecto. En el footer oscuro se invierte a blanco con un
   filtro. Para sustituirlo por el logo oficial definitivo basta con
   reemplazar el archivo SVG manteniendo el nombre.
   ========================================================================== */
.netevia {
  display: inline-flex; align-items: center; gap: 5px;
  vertical-align: baseline;
}
.netevia img {
  width: auto; height: .95em;          /* escala con el texto que lo rodea */
  max-height: 13px;                    /* tope duro: nunca domina la marca */
  display: block;
}
.netevia em {
  font-style: normal; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  font-size: .82em;
}

/* Versión apilada del footer: wordmark, filete y PLATINUM debajo */
.netevia--stack {
  flex-direction: column; align-items: flex-start; gap: 4px;
}
.netevia--stack img { height: 15px; max-height: 15px; filter: invert(1); }  /* blanco sobre el footer */
.netevia--stack em {
  font-size: .62rem; letter-spacing: .26em; color: rgba(255,255,255,.6);
  border-top: 1px solid rgba(255,255,255,.2);
  padding-top: 5px; width: 100%;
}

/* Bloque completo del footer */
.partner { margin: 22px 0 20px; }
.partner__label {
  display: block; font-size: .72rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.5); margin-bottom: 10px;
}

/* Selector de idioma EN / ES */
.lang-switch {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px 8px 11px;
  border: 1.5px solid var(--line); border-radius: 999px;
  font-size: .85rem; font-weight: 650; color: var(--ink-soft);
  transition: border-color .16s ease, color .16s ease, background-color .16s ease;
}
.lang-switch:hover { border-color: var(--ink); color: var(--ink); background: var(--bg-alt); }
.lang-switch svg { width: 16px; height: 16px; flex: none; }

/* Versión dentro del menú desplegable móvil */
.nav-lang { display: none; }
.nav-lang a { color: var(--brand) !important; font-weight: 650; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px; border: 1px solid var(--line);
  background: #fff; border-radius: 11px; cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle span {
  display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px;
  position: relative;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px;
  background: var(--ink); border-radius: 2px;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top: 6px; }

/* ---------- 5. Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(52px, 7vw, 92px) 0 clamp(60px, 8vw, 100px);
  background:
    radial-gradient(1000px 520px at 78% -10%, var(--bg-tint) 0%, rgba(234,242,254,0) 62%),
    radial-gradient(720px 420px at 6% 110%, var(--bg-mint) 0%, rgba(230,250,248,0) 60%);
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(28px, 5vw, 64px); align-items: center;
}
.hero h1 { margin-bottom: .35em; }
.hero__sub { font-size: clamp(1.06rem, 1.5vw, 1.24rem); color: var(--ink-soft); max-width: 30em; }
.hero__sub strong { color: var(--ink); font-weight: 750; }   /* remate del hero */

.hero__badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 15px 7px 9px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line);
  font-size: .84rem; font-weight: 600; color: var(--ink-soft);
  box-shadow: var(--shadow-sm); margin-bottom: 22px;
}
.hero__badge b { color: var(--ink); font-weight: 700; }
.hero__badge .netevia { color: var(--ink); }   /* el wordmark hereda el color del texto */
.hero__badge .dot {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--bg-mint); color: var(--teal);
  display: grid; place-items: center; font-size: .8rem;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }

.hero__points { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.hero__points li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: .96rem; color: var(--ink-soft);
}
.hero__points .tick {
  flex: none; width: 19px; height: 19px; margin-top: 2px; border-radius: 50%;
  background: var(--bg-tint); color: var(--brand);
  display: grid; place-items: center; font-size: .68rem; font-weight: 800;
}

.hero__art { position: relative; }
.hero__art img { width: 100%; height: auto; max-width: 620px; margin-inline: auto; }

/* ---------- 6. Prueba social ---------- */
.proof { padding: 30px 0; border-bottom: 1px solid var(--line-soft); background: #fff; }
.proof__label {
  text-align: center; font-size: .78rem; font-weight: 700;
  letter-spacing: .13em; text-transform: uppercase; color: var(--ink-mute);
  margin-bottom: 18px;
}
.proof__row {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: clamp(18px, 4vw, 52px); align-items: center;
}
.proof__item {
  display: flex; align-items: center; gap: 9px;
  font-weight: 650; color: var(--ink-soft); font-size: .95rem;
}
.proof__item .ico { color: var(--brand); font-size: 1.1rem; }

/* ---------- 7. Hardware ---------- */
.tabs {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: clamp(26px, 3.5vw, 40px);
}
.tab {
  padding: 9px 18px; border-radius: 999px;
  border: 1.5px solid var(--line); background: #fff;
  font-size: .92rem; font-weight: 600; color: var(--ink-soft); cursor: pointer;
  transition: all .16s ease;
}
.tab:hover { border-color: var(--ink-mute); color: var(--ink); }
.tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--gap);
}

.card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }

.card__media {
  position: relative;
  aspect-ratio: 5 / 4;
  background: linear-gradient(160deg, #FAFBFC, var(--bg-tint));
  display: grid; place-items: center; padding: 18px;
}
/* <picture> no debe crear caja propia: las reglas siguen aplicándose al <img> */
picture { display: contents; }

/* Las fotos de producto tienen proporciones distintas (el Register es
   vertical), así que se ajustan dentro del recuadro sin recortarse. */
.card__media img {
  width: auto; height: auto;
  max-width: 88%; max-height: 100%;
  object-fit: contain;
}
.card--mint  .card__media { background: linear-gradient(160deg, #F6FBFA, #DFF5F2); }
.card--warm  .card__media { background: linear-gradient(160deg, #FFF9F4, #FFE7D3); }
.card--cool  .card__media { background: linear-gradient(160deg, #F6F6FF, #E4E1FD); }

.card__tag {
  position: absolute; top: 14px; left: 14px;
  padding: 5px 12px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line);
  font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  color: var(--ink-soft);
}
.card__tag--accent { background: var(--accent); border-color: var(--accent); color: #fff; }

.card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card__body h3 { margin-bottom: 6px; }
.card__body p { color: var(--ink-soft); font-size: .95rem; margin-bottom: 16px; }

.card__specs { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 7px; }
.card__specs li {
  font-size: .88rem; color: var(--ink-soft);
  display: flex; gap: 8px; align-items: flex-start;
}
.card__specs li::before { content: "•"; color: var(--brand); font-weight: 800; }

.card__foot {
  margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding-top: 16px; border-top: 1px solid var(--line-soft);
}
.card__price { font-size: .88rem; color: var(--ink-mute); }
.card__price b { display: block; font-size: 1.12rem; color: var(--ink); font-weight: 750; }

/* ---------- 8. Software / features ---------- */
.feature-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--gap);
}
.feature {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 28px 26px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature__ico {
  width: 46px; height: 46px; border-radius: 13px;
  background: var(--bg-tint); color: var(--brand);
  display: grid; place-items: center; margin-bottom: 16px;
}
.feature__ico svg { width: 23px; height: 23px; }
.feature--mint .feature__ico { background: var(--bg-mint); color: var(--teal); }
.feature--warm .feature__ico { background: #FFF1E6; color: #E06B1F; }
.feature h3 { font-size: 1.1rem; }
.feature p { color: var(--ink-soft); font-size: .94rem; margin: 0; }

.split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 68px); align-items: center;
}
.split--reverse .split__art { order: -1; }
.split__art {
  border-radius: var(--radius-xl); overflow: hidden;
  background: linear-gradient(160deg, var(--bg-alt), var(--bg-tint));
  padding: clamp(20px, 3vw, 38px);
  /* El panel encuadra la imagen en vez de dejar que la estire a todo el
     ancho: las fotos de producto llevan poco margen propio y sin esto el
     dispositivo se come el recuadro. */
  display: grid; place-items: center;
  aspect-ratio: 4 / 3;
}
.split__art img {
  width: auto; height: auto;
  max-width: 76%; max-height: 100%;
  object-fit: contain;
}
/* Las ilustraciones SVG sí están diseñadas para llenar el recuadro */
.split__art img[src$=".svg"] { max-width: 92%; }
.split + .split { margin-top: clamp(48px, 6vw, 84px); }

.checklist { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: .98rem; color: var(--ink-soft); }
.checklist .tick {
  flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%;
  background: var(--bg-mint); color: var(--teal);
  display: grid; place-items: center; font-size: .74rem; font-weight: 800;
}

/* ---------- 9. Programas de precios ---------- */
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--gap); }
.plan {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1.5px solid var(--line);
  border-radius: var(--radius-lg); padding: 32px 28px;
}
.plan--featured { border-color: var(--ink); box-shadow: var(--shadow-lg); }
.plan__flag {
  position: absolute; top: -13px; left: 28px;
  background: var(--ink); color: #fff;
  padding: 5px 14px; border-radius: 999px;
  font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.plan h3 { font-size: 1.3rem; margin-bottom: 6px; }
.plan__rate { font-size: 2.05rem; font-weight: 780; letter-spacing: -.03em; margin: 12px 0 4px; }
.plan__rate small {
  display: block; margin-top: 6px;      /* la etiqueta va debajo del número */
  font-size: .92rem; font-weight: 600; color: var(--ink-mute);
  letter-spacing: 0; line-height: 1.4;
}
.plan__desc { color: var(--ink-soft); font-size: .95rem; }
.plan .checklist { margin: 20px 0 26px; }
.plan .btn { margin-top: auto; }

/* ---------- 10. Pasos ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: var(--gap); }
.step { position: relative; padding-top: 8px; }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--brand); color: #fff;
  font-weight: 750; font-size: 1rem; margin-bottom: 16px;
}
.step h3 { font-size: 1.06rem; }
.step p { color: var(--ink-soft); font-size: .94rem; margin: 0; }
.section--ink .step p { color: rgba(255,255,255,.7); }
.section--ink .step::before { background: #fff; color: var(--ink); }

/* ---------- 11. CTA final ---------- */
.cta {
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--brand-ink), var(--brand) 60%, var(--teal));
  color: #fff; padding: clamp(38px, 6vw, 72px);
  text-align: center;
}
.cta h2 { color: #fff; }
.cta p { color: rgba(255,255,255,.85); max-width: 46em; margin-inline: auto; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }

/* Áreas de servicio (SEO local) */
.areas { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 8px; }
.areas span {
  padding: 8px 16px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line);
  font-size: .9rem; font-weight: 550; color: var(--ink-soft);
}
.section--alt .areas span { background: #fff; }

/* FAQ */
.faq { max-width: 820px; margin-inline: auto; }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
.faq summary {
  cursor: pointer; list-style: none;
  font-weight: 650; font-size: 1.05rem;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; font-weight: 400; color: var(--brand); flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; color: var(--ink-soft); font-size: .97rem; }

/* ---------- 12. Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.72); padding: clamp(52px, 6vw, 76px) 0 30px; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: clamp(24px, 4vw, 48px);
}
.site-footer .brand { color: #fff; }
.site-footer .brand__mark { background: #fff; color: var(--ink); }
.site-footer .brand__name span { color: rgba(255,255,255,.55); }
.footer-about { font-size: .93rem; margin: 16px 0 20px; max-width: 34em; }
.footer-col h4 {
  color: #fff; font-size: .8rem; letter-spacing: .11em; text-transform: uppercase;
  margin-bottom: 16px; font-weight: 700;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { font-size: .94rem; transition: color .16s ease; }
.footer-col a:hover { color: #fff; }

/* Iconos de redes sociales */
.social { display: flex; gap: 10px; }
.social a {
  width: 40px; height: 40px; border-radius: 11px;
  border: 1px solid rgba(255,255,255,.18);
  display: grid; place-items: center; color: rgba(255,255,255,.8);
  transition: background-color .18s ease, color .18s ease,
              border-color .18s ease, transform .18s ease;
}
.social a:hover { background: #fff; color: var(--ink); border-color: #fff; transform: translateY(-2px); }
.social svg { width: 19px; height: 19px; fill: currentColor; }

.footer-bottom {
  margin-top: clamp(36px, 5vw, 56px); padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex; flex-wrap: wrap; gap: 14px 26px; justify-content: space-between;
  font-size: .85rem; color: rgba(255,255,255,.55);
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 20px; }
.disclaimer { font-size: .8rem; color: rgba(255,255,255,.42); margin-top: 16px; max-width: 70em; }

/* ---------- 13. Modales ---------- */
.modal {
  position: fixed; inset: 0; z-index: 120;
  display: none; align-items: center; justify-content: center;
  padding: 20px;
}
.modal.is-open { display: flex; }
.modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(11, 24, 32, .55);
  backdrop-filter: blur(3px);
  animation: fade .2s ease;
}
.modal__panel {
  position: relative; z-index: 1;
  width: min(100%, 560px); max-height: min(92vh, 860px); overflow-y: auto;
  background: #fff; border-radius: var(--radius-xl);
  padding: clamp(26px, 4vw, 40px);
  box-shadow: var(--shadow-lg);
  animation: pop .22s cubic-bezier(.2, .8, .3, 1);
}
@keyframes fade { from { opacity: 0; } }
@keyframes pop  { from { opacity: 0; transform: translateY(14px) scale(.98); } }

.modal__close {
  position: absolute; top: 16px; right: 16px;
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff;
  cursor: pointer; font-size: 1.15rem; line-height: 1; color: var(--ink-soft);
  display: grid; place-items: center;
  transition: background-color .16s ease, color .16s ease;
}
.modal__close:hover { background: var(--bg-alt); color: var(--ink); }

.modal__eyebrow {
  font-size: .76rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--brand); margin-bottom: 8px;
}
.modal h2 { font-size: clamp(1.5rem, 3vw, 1.85rem); margin-bottom: 8px; }
.modal__intro { color: var(--ink-soft); font-size: .97rem; margin-bottom: 24px; }

/* Tarjetas de opción del modal Get Started */
.option-list { display: grid; gap: 14px; }
.option {
  display: block; text-align: left;
  border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px; background: #fff; cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.option:hover { border-color: var(--brand); box-shadow: var(--shadow); transform: translateY(-2px); }
.option__top { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.option__title { font-weight: 700; font-size: 1.06rem; }
.option__badge {
  flex: none; font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  padding: 4px 11px; border-radius: 999px; background: var(--bg-tint); color: var(--brand-dark);
}
.option__badge--accent { background: #FFF1E6; color: #C25409; }
.option p { margin: 8px 0 0; font-size: .92rem; color: var(--ink-soft); }
.option__go { display: inline-flex; align-items: center; gap: 7px; margin-top: 14px; font-weight: 650; font-size: .92rem; color: var(--brand); }
.option__go::after { content: "→"; transition: transform .18s ease; }
.option:hover .option__go::after { transform: translateX(4px); }

.modal__note {
  margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--line-soft);
  font-size: .87rem; color: var(--ink-mute);
}
.modal__note a { color: var(--brand); font-weight: 600; }

/* Formulario */
.form-grid { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.field { display: grid; gap: 6px; }
.field label { font-size: .87rem; font-weight: 650; }
.field label .req { color: #D8442F; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font: inherit; font-size: .95rem; color: var(--ink); background: #fff;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.field textarea { resize: vertical; min-height: 104px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(11, 121, 247, .15);
}
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #D8442F; }
.field .error { font-size: .8rem; color: #D8442F; min-height: 0; }

.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; color: var(--ink-soft); }
.consent input { width: 17px; height: 17px; margin-top: 2px; flex: none; accent-color: var(--brand); }

/* Honeypot antispam — oculto para personas, visible para bots */
.hp-field {
  position: absolute !important; left: -9999px !important;
  width: 1px; height: 1px; overflow: hidden;
}

.form-status { font-size: .92rem; padding: 13px 16px; border-radius: var(--radius-sm); display: none; }
.form-status.is-visible { display: block; }
.form-status--ok   { background: var(--bg-mint); color: #05695F; }
.form-status--err  { background: #FDECEA; color: #A32718; }

.btn[aria-busy="true"] { opacity: .7; pointer-events: none; }

/* ---------- 14. Botón flotante de WhatsApp ---------- */
.whatsapp-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 100;
  display: inline-flex; align-items: center; gap: 10px;
  height: 58px; padding: 0 19px;
  background: #25D366; color: #fff;
  border-radius: 999px; font-weight: 650; font-size: .95rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, .38), 0 2px 6px rgba(17,24,28,.12);
  transition: transform .18s ease, box-shadow .18s ease;
}
.whatsapp-float:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 12px 30px rgba(37,211,102,.45); }
.whatsapp-float svg { width: 27px; height: 27px; fill: currentColor; flex: none; }
.whatsapp-float__label { white-space: nowrap; }

/* ---------- 15. Responsive ---------- */
@media (max-width: 1040px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .main-nav.is-open {
    display: block; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 12px 20px 18px; margin: 0; box-shadow: var(--shadow);
  }
  .main-nav.is-open ul { flex-direction: column; gap: 2px; }
  .main-nav.is-open a { padding: 12px 14px; }
  .nav-lang { display: block; border-top: 1px solid var(--line-soft); margin-top: 6px; padding-top: 6px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 880px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .split--reverse .split__art { order: 0; }
  .hero__art { max-width: 520px; margin-inline: auto; }

  /* Apilado el panel ocupa todo el ancho: se achata un poco y la imagen
     crece, para que no quede un recuadro alto medio vacío. */
  .split__art { aspect-ratio: 16 / 10; }
  .split__art img { max-width: 84%; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }

  /* Header compacto: marca + "Get Started" + menú caben en una sola línea */
  .header-inner { gap: 8px; min-height: 64px; }
  .site-header .brand { gap: 8px; min-width: 0; }
  .site-header .brand__mark { width: 30px; height: 30px; border-radius: 8px; font-size: .85rem; }
  .site-header .brand__name { font-size: .86rem; white-space: nowrap; }
  .site-header .brand__name span { display: none; }   /* el footer sí lo conserva */
  .header-actions { gap: 8px; }
  .header-actions .btn { padding: 10px 14px; font-size: .85rem; }
  .nav-toggle { width: 38px; height: 38px; border-radius: 10px; }
  .header-actions .btn--ghost { display: none; }  /* deja "Get Started" visible en móvil */
  .header-actions .lang-switch { display: none; }  /* el idioma vive en el menú ☰ */
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .whatsapp-float__label { display: none; }
  .whatsapp-float { height: 56px; width: 56px; padding: 0; justify-content: center; right: 16px; bottom: 16px; }
  .hero__actions .btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn--cta--pulse { animation: none; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Impresión */
@media print {
  .site-header, .whatsapp-float, .modal { display: none !important; }
}
