/* ==========================================================================
   HOBI WHOLESALE LLC — Hoja de estilos principal
   Paleta: navy corporativo + blanco/gris claro + acento naranja (del logo)
   Mobile-first. Sin dependencias externas.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Azules institucionales */
  --navy-900: #061423;   /* header / footer */
  --navy-800: #0B1F3A;   /* base navy pedido */
  --navy-700: #12305A;
  --navy-600: #1B4586;
  --navy-line: rgba(255, 255, 255, .12);

  /* Neutros */
  --white: #ffffff;
  --gray-50: #F5F7FA;
  --gray-100: #EDF1F6;
  --gray-200: #DDE4EC;
  --gray-400: #94A3B4;
  --gray-600: #56657A;
  --gray-800: #1F2A38;

  /* Acento (tomado del naranja del logo) — solo CTAs y detalles */
  --accent: #F97316;
  --accent-hover: #E5620A;
  --accent-soft: rgba(249, 115, 22, .12);

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

  /* Layout */
  --wrap: 1180px;
  --header-h: 96px;
  --radius: 4px;
  --shadow-sm: 0 1px 3px rgba(6, 20, 35, .08);
  --shadow-md: 0 10px 30px rgba(6, 20, 35, .10);
  --shadow-lg: 0 24px 60px rgba(6, 20, 35, .16);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* --------------------------------------------------------------------------
   2. Reset / base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* compensa el header sticky al saltar a un ancla */
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--gray-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* Los bloques con data-requires vienen con `hidden` desde el HTML y site.js
   decide si mostrarlos. Hace falta !important porque varios de ellos tienen
   display: grid/flex, que le gana al display:none del user-agent. */
[hidden] { display: none !important; }

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  line-height: 1.15;
  letter-spacing: -.02em;
  font-weight: 800;
  color: var(--navy-800);
}
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

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

/* Salto de accesibilidad */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--accent); color: #fff; padding: 12px 20px; font-weight: 700;
}
.skip-link:focus { left: 0; }

/* --------------------------------------------------------------------------
   3. Utilidades de layout
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 20px;
}

.section { padding: 72px 0; }
.section--tight { padding: 56px 0; }
.section--gray { background: var(--gray-50); }
.section--navy { background: var(--navy-800); color: rgba(255,255,255,.82); }
.section--navy h2, .section--navy h3 { color: #fff; }

.eyebrow {
  display: inline-block;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.eyebrow--muted { color: var(--gray-400); }

.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.75rem, 4.2vw, 2.5rem); }
.section-head p { color: var(--gray-600); font-size: 1.05rem; margin-bottom: 0; }
.section--navy .section-head p { color: rgba(255,255,255,.72); }

.rule {
  width: 56px; height: 4px; background: var(--accent);
  border: 0; margin: 0 0 22px;
}
.section-head--center .rule { margin-inline: auto; }

.lead { font-size: 1.12rem; color: var(--gray-600); }

/* --------------------------------------------------------------------------
   4. Botones
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px;
  font-size: .93rem; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase;
  border: 2px solid transparent; border-radius: var(--radius);
  cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease),
              border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 17px; height: 17px; flex: none; }

.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-hover); }

.btn--navy { background: var(--navy-800); color: #fff; }
.btn--navy:hover { background: var(--navy-700); }

.btn--ghost { border-color: rgba(255,255,255,.45); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--navy-800); border-color: #fff; }

.btn--outline { border-color: var(--navy-800); color: var(--navy-800); }
.btn--outline:hover { background: var(--navy-800); color: #fff; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* --------------------------------------------------------------------------
   5. Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy-900);
  border-bottom: 1px solid var(--navy-line);
  transition: box-shadow .25s var(--ease);
}
.site-header.is-stuck { box-shadow: 0 6px 24px rgba(0, 0, 0, .28); }

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

.brand { display: flex; align-items: center; flex: none; }
.brand img {
  /* El logo es un badge circular de fondo claro: se lee solo sobre el navy,
     sin filtros. Al ser cuadrado ocupa poco ancho, así que puede ir alto. */
  height: 72px; width: auto;
}

/* Navegación */
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative;
  padding: 10px 15px;
  font-size: .82rem; font-weight: 700; letter-spacing: .09em;
  text-transform: uppercase;
  color: rgba(255,255,255,.78);
  transition: color .18s var(--ease);
  white-space: nowrap;
}
.nav a:hover { color: #fff; }
.nav a::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 2px;
  height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .22s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: #fff; }

/* "Registro" abre el Google Form externo */
.nav a.nav-cta {
  margin-left: 8px;
  background: var(--accent); color: #fff;
  border-radius: var(--radius);
  padding: 11px 20px;
}
.nav a.nav-cta:hover { background: var(--accent-hover); }
.nav a.nav-cta::after { display: none; }

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

/* Selector de idioma.
   Muestra SIEMPRE el idioma al que se puede cambiar (no el actual):
   en las páginas en inglés apunta al español y viceversa. */
.lang {
  display: flex; align-items: center;
  margin-left: 10px; padding-left: 16px;
  border-left: 1px solid var(--navy-line);
}
.lang a {
  display: flex; align-items: center; gap: 7px;
  padding: 8px 12px; border-radius: var(--radius);
  border: 1px solid var(--navy-line);
  font-size: .74rem; font-weight: 800; letter-spacing: .08em;
  color: rgba(255,255,255,.72);
  transition: background .18s var(--ease), color .18s var(--ease),
              border-color .18s var(--ease);
}
.lang a:hover {
  color: #fff; background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.3);
}
.lang .flag {
  width: 20px; height: 14px; flex: none;
  display: block; overflow: hidden; border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .28);
}
.lang .flag svg { width: 100%; height: 100%; display: block; }

/* Botón hamburguesa */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  background: transparent; border: 1px solid var(--navy-line);
  border-radius: var(--radius); cursor: pointer;
  padding: 0; position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: ""; position: absolute; left: 50%; width: 20px; height: 2px;
  background: #fff; transform: translateX(-50%);
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.nav-toggle span { top: 50%; margin-top: -1px; }
.nav-toggle span::before { top: -6px; left: 0; transform: none; }
.nav-toggle span::after  { top: 6px;  left: 0; transform: none; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  display: flex; align-items: flex-end;
  min-height: 420px;
  padding: 90px 0 64px;
  color: #fff;
  background: var(--navy-900) center/cover no-repeat;
  isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(6,20,35,.78) 0%, rgba(6,20,35,.62) 45%, rgba(6,20,35,.92) 100%),
    linear-gradient(90deg, rgba(6,20,35,.72) 0%, rgba(6,20,35,.25) 100%);
}
.hero h1 { color: #fff; }
.hero p { color: rgba(255,255,255,.86); }

/* Hero de la home, a pantalla completa */
.hero--home {
  min-height: calc(100svh - var(--header-h));
  align-items: center;
  padding: 80px 0;
  /* REEMPLAZAR: foto hero industrial (assets/img/hero-home.jpg) */
  background-image: url("../img/hero-home.jpg");
}
.hero--home .hero-content { max-width: 860px; }
.hero--home .hero-kicker {
  font-size: clamp(1.05rem, 2.3vw, 1.4rem);
  font-weight: 500;
  color: rgba(255,255,255,.9);
  max-width: 700px;
  margin-bottom: 26px;
}
.hero--home .brand-title {
  font-size: clamp(2.6rem, 8.5vw, 5.6rem);
  font-weight: 900;
  letter-spacing: -.035em;
  line-height: .96;
  color: #fff;
  margin: 0 0 6px;
}
.hero--home .brand-title span { display: block; }
.hero--home .brand-title .brand-title__sub {
  font-size: .3em; font-weight: 800; letter-spacing: .34em;
  color: var(--accent); margin-top: 16px;
}
.hero--home .btn-row { margin-top: 38px; }

/* Heroes de páginas interiores */
.hero--page { min-height: 380px; }
.hero--page h1 { font-size: clamp(2.1rem, 6vw, 3.5rem); margin-bottom: 12px; }
.hero--page p { max-width: 620px; font-size: 1.05rem; margin: 0; }
.hero--nosotros   { background-image: url("../img/hero-nosotros.jpg"); }   /* REEMPLAZAR: foto equipo trabajando */
.hero--categorias { background-image: url("../img/hero-categorias.jpg"); } /* REEMPLAZAR: foto industria/herramientas */
.hero--contacto   { background-image: url("../img/hero-contacto.jpg"); }   /* REEMPLAZAR: foto persona trabajando */

/* Migas */
.crumbs {
  font-size: .78rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: rgba(255,255,255,.6);
  margin-bottom: 18px;
}
.crumbs a:hover { color: #fff; }
.crumbs span { color: var(--accent); }

/* Franja de indicadores debajo del hero de la home */
.hero-stats {
  background: var(--navy-900);
  border-top: 1px solid var(--navy-line);
}
.hero-stats ul {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: 1fr; gap: 1px;
  background: var(--navy-line);
}
.hero-stats li {
  background: var(--navy-900);
  padding: 26px 22px;
  text-align: center;
}
.hero-stats b {
  display: block; font-size: 1.9rem; font-weight: 900;
  color: #fff; line-height: 1.1; letter-spacing: -.02em;
}
.hero-stats b em { font-style: normal; color: var(--accent); }
.hero-stats small {
  display: block; margin-top: 6px;
  font-size: .74rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: rgba(255,255,255,.55);
}

/* --------------------------------------------------------------------------
   7. Bloques de dos columnas
   -------------------------------------------------------------------------- */
.split { display: grid; gap: 40px; align-items: center; }
.split__media { position: relative; }
.split__media img {
  width: 100%; height: 100%; max-height: 460px; object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
/* detalle gráfico de acento en la esquina */
.split__media::after {
  content: ""; position: absolute; right: -14px; bottom: -14px;
  width: 108px; height: 108px;
  border-right: 5px solid var(--accent); border-bottom: 5px solid var(--accent);
  border-radius: 0 0 var(--radius) 0;
  z-index: -1;
}

/* --------------------------------------------------------------------------
   8. Tarjetas de propuesta de valor
   -------------------------------------------------------------------------- */
.cards { display: grid; grid-template-columns: 1fr; gap: 22px; }

.card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-top: 3px solid transparent;
  border-radius: var(--radius);
  padding: 34px 28px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease),
              border-top-color .25s var(--ease);
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-top-color: var(--accent);
}
.card h3 { font-size: 1.08rem; margin-bottom: 10px; }
.card p { color: var(--gray-600); font-size: .95rem; margin: 0; }

.card__icon {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  background: var(--accent-soft);
  border-radius: var(--radius);
  margin-bottom: 20px;
}
.card__icon svg { width: 26px; height: 26px; stroke: var(--accent); }

/* --------------------------------------------------------------------------
   9. Diagrama corporativo (Home)
   -------------------------------------------------------------------------- */
.diagram { max-width: 960px; margin-inline: auto; }
/* El SVG solo aparece en pantallas anchas; abajo de 860px se muestra
   la versión apilada (.diagram-mobile). Nunca los dos a la vez. */
.diagram > svg { display: none; width: 100%; height: auto; }
.diagram .node-box { fill: rgba(255,255,255,.05); stroke: rgba(255,255,255,.22); }
.diagram .node-title {
  fill: #fff; font-size: 15px; font-weight: 800;
  font-family: var(--font);
}
.diagram .node-sub {
  fill: rgba(255,255,255,.62); font-size: 12.5px;
  font-family: var(--font);
}
.diagram .link { stroke: rgba(255,255,255,.28); stroke-width: 1.5; fill: none; }
.diagram .link-dot { fill: var(--accent); }
.diagram .hub-ring { fill: none; stroke: rgba(249,115,22,.35); stroke-width: 1.5; }
.diagram .hub-core { fill: var(--navy-700); stroke: var(--accent); stroke-width: 2; }
.diagram .hub-label {
  fill: #fff; font-size: 13px; font-weight: 900; letter-spacing: .12em;
  font-family: var(--font); text-anchor: middle;
}

/* Alternativa apilada para móvil */
.diagram-mobile { display: block; }
.diagram-mobile ol { list-style: none; margin: 0; padding: 0; }
.diagram-mobile li {
  position: relative;
  padding: 0 0 26px 44px;
  color: rgba(255,255,255,.72);
  font-size: .95rem;
}
.diagram-mobile li::before {
  content: ""; position: absolute; left: 11px; top: 26px; bottom: 0;
  width: 1px; background: rgba(255,255,255,.18);
}
.diagram-mobile li:last-child { padding-bottom: 0; }
.diagram-mobile li:last-child::before { display: none; }
.diagram-mobile li span {
  position: absolute; left: 0; top: 2px;
  width: 23px; height: 23px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: grid; place-items: center;
  font-size: .72rem; font-weight: 900;
}
.diagram-mobile strong { display: block; color: #fff; font-size: 1rem; margin-bottom: 2px; }

/* --------------------------------------------------------------------------
   10. Franja con imagen de fondo
   -------------------------------------------------------------------------- */
.band {
  position: relative;
  padding: 96px 0;
  color: #fff;
  background: var(--navy-900) center/cover no-repeat fixed;
  isolation: isolate;
}
.band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(6,20,35,.94) 0%, rgba(6,20,35,.78) 55%, rgba(6,20,35,.55) 100%);
}
.band h2 { color: #fff; font-size: clamp(1.7rem, 4vw, 2.4rem); }
.band p { color: rgba(255,255,255,.82); }
.band__inner { max-width: 660px; }
.band--warehouse { background-image: url("../img/band-warehouse.jpg"); }  /* REEMPLAZAR: foto depósito propio */
.band--port      { background-image: url("../img/band-port.jpg"); }       /* REEMPLAZAR: foto logística propia */

.band-list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 14px; }
.band-list li {
  position: relative; padding-left: 32px;
  color: rgba(255,255,255,.86); font-size: .98rem;
}
.band-list li::before {
  content: ""; position: absolute; left: 0; top: .45em;
  width: 16px; height: 9px;
  border-left: 3px solid var(--accent); border-bottom: 3px solid var(--accent);
  transform: rotate(-45deg);
}

/* --------------------------------------------------------------------------
   11. Razones para elegirnos (tarjetas con foto)
   -------------------------------------------------------------------------- */
.reasons { display: grid; grid-template-columns: 1fr; gap: 26px; }

.reason {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.reason:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.reason__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--gray-100); }
.reason__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.reason:hover .reason__media img { transform: scale(1.06); }
.reason__badge {
  position: absolute; left: 0; bottom: 0;
  width: 52px; height: 52px;
  background: var(--accent);
  display: grid; place-items: center;
}
.reason__badge svg { width: 24px; height: 24px; stroke: #fff; }
.reason__body { padding: 26px 26px 30px; }
.reason h3 { font-size: 1.14rem; margin-bottom: 10px; }
.reason p { color: var(--gray-600); font-size: .95rem; margin: 0; }

/* Prueba social */
.proof {
  margin-top: 44px;
  background: var(--navy-800);
  border-radius: var(--radius);
  padding: 38px 32px;
  display: grid; gap: 24px; align-items: center;
  text-align: center;
}
.proof__num {
  font-size: clamp(2.4rem, 7vw, 3.4rem); font-weight: 900;
  color: #fff; line-height: 1; letter-spacing: -.03em;
}
.proof__num em { font-style: normal; color: var(--accent); }
.proof__text { color: rgba(255,255,255,.78); font-size: 1rem; margin: 0; }
.proof__text strong { color: #fff; }

/* --------------------------------------------------------------------------
   12. Acordeón (Sobre Nosotros)
   -------------------------------------------------------------------------- */
.faq { max-width: 860px; margin-inline: auto; }
.faq__item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  background: #fff;
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.faq__item.is-open { border-color: var(--navy-700); box-shadow: var(--shadow-sm); }

.faq__q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 24px;
  background: none; border: 0; cursor: pointer;
  text-align: left;
  font-size: 1.03rem; font-weight: 700; color: var(--navy-800);
  transition: color .2s var(--ease);
}
.faq__q:hover { color: var(--navy-600); }
.faq__q .chev {
  flex: none; width: 26px; height: 26px;
  display: grid; place-items: center;
  border-radius: 50%; background: var(--gray-100);
  transition: transform .28s var(--ease), background .2s var(--ease);
}
.faq__q .chev svg { width: 13px; height: 13px; stroke: var(--navy-800); }
.faq__item.is-open .chev { transform: rotate(180deg); background: var(--accent); }
.faq__item.is-open .chev svg { stroke: #fff; }

.faq__a {
  max-height: 0; overflow: hidden;
  transition: max-height .34s var(--ease);
}
.faq__a > div { padding: 0 24px 24px; color: var(--gray-600); }
.faq__a p { font-size: .97rem; }
.faq__a ul { margin: 0 0 1em; padding-left: 20px; font-size: .97rem; }
.faq__a li { margin-bottom: 6px; }

/* --------------------------------------------------------------------------
   13. Grilla de categorías
   -------------------------------------------------------------------------- */
.cat-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 1px;
  background: var(--gray-200);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
}
.cat {
  background: #fff;
  display: flex; flex-direction: column;
  transition: background .25s var(--ease);
}
.cat:hover { background: var(--gray-50); }
.cat__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--gray-100); }
.cat__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.cat:hover .cat__media img { transform: scale(1.05); }
.cat__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,20,35,0) 45%, rgba(6,20,35,.55) 100%);
}
.cat__num {
  position: absolute; top: 0; left: 0; z-index: 1;
  background: var(--navy-800); color: #fff;
  font-size: .74rem; font-weight: 900; letter-spacing: .1em;
  padding: 8px 13px;
}
.cat__body { padding: 26px 26px 30px; flex: 1; display: flex; flex-direction: column; }
.cat h3 { font-size: 1.12rem; margin-bottom: 10px; }
.cat > .cat__body > p { color: var(--gray-600); font-size: .94rem; }
.cat__items {
  list-style: none; margin: 18px 0 0; padding: 18px 0 0;
  border-top: 1px solid var(--gray-200);
  display: flex; flex-wrap: wrap; gap: 8px;
}
.cat__items li {
  font-size: .78rem; font-weight: 600; color: var(--gray-600);
  background: var(--gray-100); border-radius: 999px;
  padding: 5px 12px;
}

/* Nota de cierre de categorías */
.note-box {
  margin-top: 40px;
  border-left: 4px solid var(--accent);
  background: var(--gray-50);
  padding: 26px 28px;
}
.note-box h3 { font-size: 1.05rem; margin-bottom: 8px; }
.note-box p { color: var(--gray-600); font-size: .96rem; }

/* --------------------------------------------------------------------------
   14. Contacto
   -------------------------------------------------------------------------- */
.contact-layout { display: grid; gap: 44px; align-items: start; }

.form-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 32px 26px;
}
.form-card h2 { font-size: 1.5rem; margin-bottom: 6px; }
.form-card > p.lead { font-size: 1rem; margin-bottom: 26px; }

.field-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; }
.field--full { grid-column: 1 / -1; }

.field label {
  font-size: .78rem; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: var(--gray-600);
  margin-bottom: 8px;
}
.field label .req { color: var(--accent); }

.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit; font-size: .97rem; color: var(--gray-800);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 13px 14px;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.field textarea { resize: vertical; min-height: 130px; }
.field select { appearance: none; cursor: pointer; padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2356657A' stroke-width='2.5' 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 14px center; background-size: 15px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--navy-600);
  box-shadow: 0 0 0 3px rgba(27, 69, 134, .13);
}
.field input:user-invalid, .field select:user-invalid, .field textarea:user-invalid {
  border-color: #C6462F;
}
.field .hint { font-size: .8rem; color: var(--gray-400); margin-top: 6px; }

/* reCAPTCHA */
.captcha-slot {
  margin-top: 24px;
  min-height: 78px;
  display: flex; align-items: center;
  border: 1px dashed var(--gray-200);
  border-radius: var(--radius);
  background: var(--gray-50);
  padding: 16px;
}
.captcha-slot .placeholder-note {
  font-size: .82rem; color: var(--gray-400); margin: 0;
}
.captcha-slot .g-recaptcha { flex: none; }

.form-actions { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.form-actions .legal { font-size: .8rem; color: var(--gray-400); margin: 0; flex: 1 1 220px; }

.form-status {
  margin-top: 18px; padding: 14px 16px; border-radius: var(--radius);
  font-size: .9rem; display: none;
}
.form-status.is-visible { display: block; }
.form-status.is-ok { background: #E9F5EE; color: #1F6B3F; border: 1px solid #BFE0CC; }
.form-status.is-error { background: #FBEAE7; color: #9B2F1B; border: 1px solid #F0C7BE; }

/* Columna lateral */
.contact-aside { display: grid; gap: 26px; }

.info-card {
  background: var(--navy-800);
  color: rgba(255,255,255,.82);
  border-radius: var(--radius);
  padding: 30px 26px;
}
.info-card h3 { color: #fff; font-size: 1.12rem; margin-bottom: 18px; }
.info-card p { font-size: .94rem; }

.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list svg { width: 19px; height: 19px; stroke: var(--accent); flex: none; margin-top: 3px; }
.contact-list small {
  display: block; font-size: .72rem; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 2px;
}
.contact-list a, .contact-list span { color: #fff; font-size: .96rem; word-break: break-word; }
.contact-list a:hover { color: var(--accent); }

.docs-card {
  border: 1px solid var(--gray-200);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  background: var(--gray-50);
  padding: 28px 26px;
}
.docs-card h3 { font-size: 1.08rem; margin-bottom: 10px; }
.docs-card p { color: var(--gray-600); font-size: .94rem; }
.docs-list { list-style: none; margin: 18px 0; padding: 0; display: grid; gap: 12px; }
.docs-list li {
  position: relative; padding-left: 30px;
  font-size: .94rem; color: var(--gray-800);
}
.docs-list li::before {
  content: ""; position: absolute; left: 0; top: .3em;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 2px var(--accent);
}
.docs-list strong { display: block; }
.docs-list small { color: var(--gray-600); font-size: .85rem; }

.aside-media img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--radius);
}

/* --------------------------------------------------------------------------
   15. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--navy-900);
  color: rgba(255,255,255,.62);
  padding-top: 60px;
  font-size: .93rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1fr; gap: 38px;
  padding-bottom: 46px;
}
.footer-brand img {
  height: 108px; width: auto; margin-bottom: 20px;
}
.footer-brand p { max-width: 380px; font-size: .92rem; }

.site-footer h4 {
  color: #fff; font-size: .78rem; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer-links a { transition: color .18s var(--ease); }
.footer-links a:hover { color: var(--accent); }

.footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact svg { width: 17px; height: 17px; stroke: var(--accent); flex: none; margin-top: 4px; }
.footer-contact a { color: rgba(255,255,255,.82); word-break: break-word; }
.footer-contact a:hover { color: var(--accent); }
.footer-contact small {
  display: block; font-size: .7rem; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: rgba(255,255,255,.4);
}

.social { display: flex; gap: 10px; margin-top: 22px; }
.social a {
  width: 40px; height: 40px; border-radius: var(--radius);
  display: grid; place-items: center;
  background: rgba(255,255,255,.07);
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.social a:hover { background: var(--accent); transform: translateY(-2px); }
.social svg { width: 18px; height: 18px; fill: #fff; }

.footer-bottom {
  border-top: 1px solid var(--navy-line);
  padding: 22px 0 26px;
  display: flex; flex-wrap: wrap; gap: 10px 24px;
  align-items: center; justify-content: space-between;
  font-size: .82rem; color: rgba(255,255,255,.45);
}
.footer-bottom p { margin: 0; }
.footer-bottom .tag { letter-spacing: .14em; text-transform: uppercase; font-size: .72rem; }

/* --------------------------------------------------------------------------
   16. Botón flotante de WhatsApp
   -------------------------------------------------------------------------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 120;
  display: flex; align-items: center; gap: 0;
  height: 56px; width: 56px;
  border-radius: 999px;
  background: #25D366;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .26);
  overflow: hidden;
  transition: width .3s var(--ease), background .2s var(--ease), transform .2s var(--ease);
}
.wa-float:hover { background: #1FB855; transform: translateY(-2px); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; flex: none; margin: 0 13px; }
.wa-float span {
  color: #fff; font-weight: 700; font-size: .9rem;
  white-space: nowrap; opacity: 0; padding-right: 22px;
  transition: opacity .2s var(--ease);
}
/* En pantallas con hover se expande; en móvil queda como burbuja compacta */
@media (hover: hover) and (min-width: 700px) {
  .wa-float:hover { width: 218px; }
  .wa-float:hover span { opacity: 1; }
}

/* --------------------------------------------------------------------------
   17. Página "Coming soon" (versión en inglés)
   -------------------------------------------------------------------------- */
.soon {
  min-height: calc(100svh - var(--header-h));
  display: grid; place-items: center; text-align: center;
  background: var(--navy-900) center/cover no-repeat;
  padding: 90px 0;
  position: relative; isolation: isolate; color: #fff;
}
.soon::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(6,20,35,.9), rgba(6,20,35,.96));
}
.soon img { height: 130px; width: auto; margin: 0 auto 28px; filter: brightness(1.18); }
.soon h1 { color: #fff; font-size: clamp(2rem, 6vw, 3.2rem); }
.soon p { color: rgba(255,255,255,.72); max-width: 520px; margin-inline: auto; }
.soon .btn-row { justify-content: center; margin-top: 32px; }

/* --------------------------------------------------------------------------
   18. Animación de entrada
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); }
.reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}

/* --------------------------------------------------------------------------
   19. Breakpoints
   -------------------------------------------------------------------------- */
@media (min-width: 560px) {
  /* --stat-cols lo escribe site.js según cuántos indicadores tengan dato
     cargado; el 3 es el valor por defecto si están los tres. */
  .hero-stats ul { grid-template-columns: repeat(var(--stat-cols, 3), 1fr); }
  .form-card { padding: 40px 36px; }
  .field-grid { grid-template-columns: 1fr 1fr; }
  .proof { grid-template-columns: auto 1fr; text-align: left; gap: 32px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 860px) {
  .section { padding: 96px 0; }
  .section--tight { padding: 72px 0; }
  .split { grid-template-columns: 1.05fr .95fr; gap: 56px; }
  .split--reverse .split__media { order: 2; }
  .reasons { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1.3fr; gap: 48px; }
  .contact-layout { grid-template-columns: 1.35fr .85fr; gap: 48px; }
  .hero--page { min-height: 440px; }
  .diagram > svg { display: block; }
  .diagram-mobile { display: none; }
  .wa-float { right: 26px; bottom: 26px; }
}

@media (min-width: 1000px) {
  .cards { grid-template-columns: repeat(4, 1fr); }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
}

/* --- Navegación móvil ---------------------------------------------------- */
@media (max-width: 1023px) {
  .nav-toggle { display: block; }

  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    max-height: calc(100svh - var(--header-h));
    overflow-y: auto;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy-900);
    border-bottom: 1px solid var(--navy-line);
    padding: 8px 20px 26px;
    transform: translateY(-12px);
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }

  .nav a {
    padding: 16px 4px;
    font-size: .95rem;
    border-bottom: 1px solid var(--navy-line);
  }
  .nav a::after { display: none; }
  .nav a[aria-current="page"] { color: var(--accent); }
  .nav a.nav-cta {
    margin: 22px 0 0; text-align: center; justify-content: center;
    border-bottom: 0; padding: 16px 20px;
  }

  .lang { margin: 22px 0 0; padding: 18px 0 0; border-left: 0; border-top: 1px solid var(--navy-line); }
  .lang a { flex: 1; justify-content: center; padding: 12px; }
}

@media (min-width: 1024px) {
  .header-tools .nav-toggle { display: none; }
}

/* Tablet y móvil: header algo más compacto */
@media (max-width: 700px) {
  :root { --header-h: 80px; }
  .brand img { height: 60px; }
  .footer-brand img { height: 92px; }
}

@media (max-width: 420px) {
  :root { --header-h: 72px; }
  .brand img { height: 54px; }
  .btn { padding: 14px 22px; font-size: .86rem; }
}

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

/* El background-attachment fijo se desactiva en táctiles (rendimiento) */
@media (hover: none) {
  .band { background-attachment: scroll; }
}

@media print {
  .site-header, .wa-float, .site-footer { display: none; }
}
