/* ==========================================================================
   PORTECO – Puertas Eléctricas de Colombia
   Design system compartido por las Landing Pages /motores y /puertas
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --blue-950: #001428;
  --blue-900: #001e3d;
  --blue-800: #002b56;
  --blue-700: #004a93;
  --blue-600: #066aab;
  --blue-500: #2b7bb9;
  --blue-300: #8fc0e2;
  --blue-100: #e8f1f9;
  --blue-050: #f4f8fc;

  --ink: #0b1a2b;
  --ink-soft: #33475b;
  --gray-600: #5d6b7a;
  --gray-400: #97a4b1;
  --gray-200: #e3e8ee;
  --gray-100: #f4f6f9;
  --white: #ffffff;

  --accent: #ff6a00;
  --wa: #25d366;
  --wa-dark: #128c7e;

  --font-display: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Roboto", "Helvetica Neue", Arial, sans-serif;

  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 14px;

  --shadow-sm: 0 1px 2px rgba(0, 20, 40, .06), 0 2px 8px rgba(0, 20, 40, .05);
  --shadow: 0 4px 14px rgba(0, 20, 40, .08), 0 12px 32px rgba(0, 20, 40, .07);
  --shadow-lg: 0 18px 48px rgba(0, 20, 40, .16);

  --container: 1300px;
  --gutter: clamp(18px, 4vw, 32px);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --dur: .45s;

  --header-h: 84px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

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

main { overflow-x: clip; }

img, svg, video { display: block; max-width: 100%; }
img { height: auto; border: 0; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.14;
  margin: 0 0 .5em;
  font-weight: 700;
  letter-spacing: -.015em;
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--blue-700); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--blue-600); }

ul { margin: 0; padding: 0; list-style: none; }

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

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

::selection { background: var(--blue-700); color: #fff; }

/* ---------- 3. Utilidades ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--wide { max-width: 1440px; }

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

.skip-link {
  position: absolute;
  top: -60px; left: 16px;
  z-index: 200;
  background: var(--blue-700);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 var(--radius) var(--radius);
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; color: #fff; }

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }

/* ---------- 4. Botones ---------- */
.btn {
  --btn-bg: var(--blue-700);
  --btn-fg: #fff;
  --btn-bd: var(--blue-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  min-height: 52px;
  padding: 13px 26px;
  border: 2px solid var(--btn-bd);
  border-radius: var(--radius-sm);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .01em;
  line-height: 1.2;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease),
              background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, .22) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform .7s var(--ease);
  pointer-events: none;
}
.btn:hover {
  --btn-bg: var(--blue-600);
  --btn-bd: var(--blue-600);
  color: var(--btn-fg);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 74, 147, .28);
}
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: translateY(0); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: #fff;
  --btn-bd: rgba(255, 255, 255, .55);
}
.btn--ghost:hover {
  --btn-bg: rgba(255, 255, 255, .12);
  --btn-bd: #fff;
  box-shadow: none;
}

.btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--blue-700);
  --btn-bd: var(--blue-700);
}
.btn--outline:hover {
  --btn-bg: var(--blue-700);
  --btn-fg: #fff;
  box-shadow: 0 10px 24px rgba(0, 74, 147, .22);
}

.btn--wa {
  --btn-bg: var(--wa);
  --btn-bd: var(--wa);
  --btn-fg: #062b16;
}
.btn--wa:hover {
  --btn-bg: #1fbb5b;
  --btn-bd: #1fbb5b;
  --btn-fg: #062b16;
  box-shadow: 0 10px 24px rgba(18, 140, 66, .3);
}

.btn--sm { min-height: 44px; padding: 9px 18px; font-size: .875rem; }
.btn--lg { min-height: 58px; padding: 16px 34px; font-size: 1.02rem; }
.btn--block { width: 100%; }

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

.btn .ico { width: 19px; height: 19px; flex: none; }

/* ---------- 5. Topbar + Header ---------- */
.topbar {
  background: var(--blue-900);
  color: rgba(255, 255, 255, .86);
  font-size: .82rem;
  line-height: 1.3;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 40px;
  flex-wrap: wrap;
}
.topbar a { color: inherit; }
.topbar a:hover { color: #fff; }
.topbar__list { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.topbar__item { display: inline-flex; align-items: center; gap: 7px; }
.topbar__item .ico { width: 14px; height: 14px; opacity: .8; flex: none; }
.topbar__right { display: flex; gap: 18px; align-items: center; }
.topbar__nice {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: .72rem;
}
.topbar__nice img { height: 16px; width: auto; }

.header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow .3s var(--ease);
}
.header.is-stuck { box-shadow: 0 6px 22px rgba(0, 20, 40, .1); }

.header .container {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
  margin-right: auto;
}
.brand__logo {
  height: 66px;
  width: auto;
}
.brand__tag {
  display: none;
  font-family: var(--font-display);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue-700);
  border-left: 2px solid var(--gray-200);
  padding-left: 12px;
  line-height: 1.35;
  max-width: 150px;
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav__link {
  position: relative;
  display: inline-block;
  padding: 10px 13px;
  font-family: var(--font-display);
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink);
  border-radius: var(--radius-sm);
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 13px; right: 13px; bottom: 4px;
  height: 2px;
  background: var(--blue-700);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav__link:hover { color: var(--blue-700); background: transparent; }
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--blue-700); }

.header__cta { display: flex; gap: 10px; align-items: center; flex: none; }
.header__phone {
  display: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .9rem;
  color: var(--blue-800);
}

.burger {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  background: #fff;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  flex: none;
}
.burger span {
  display: block;
  width: 20px; height: 2px;
  background: var(--blue-800);
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 89;
  background: #fff;
  padding: 22px var(--gutter) 40px;
  overflow-y: auto;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .28s var(--ease), transform .28s var(--ease), visibility .28s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; }
.mobile-menu__link {
  display: block;
  padding: 15px 4px;
  border-bottom: 1px solid var(--gray-200);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
}
.mobile-menu__link.is-active { color: var(--blue-700); }
.mobile-menu__actions { display: grid; gap: 12px; margin-top: 26px; }
.mobile-menu__meta {
  margin-top: 26px;
  font-size: .9rem;
  color: var(--gray-600);
  line-height: 1.9;
}

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  background: var(--blue-950);
  color: rgba(255, 255, 255, .9);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(120% 90% at 8% 10%, rgba(43, 123, 185, .55) 0%, transparent 60%),
    linear-gradient(160deg, var(--blue-800) 0%, var(--blue-950) 62%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .75), transparent 85%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .75), transparent 85%);
  opacity: .7;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
  padding-block: clamp(46px, 7vw, 92px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--blue-300);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 34px; height: 2px;
  background: var(--accent);
  flex: none;
}
.eyebrow--dark { color: var(--blue-700); }

.hero h1 {
  color: #fff;
  font-size: clamp(2.1rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -.03em;
  margin-bottom: .42em;
}
.hero h1 em {
  font-style: normal;
  color: var(--blue-300);
}
.hero__lead {
  font-size: clamp(1.02rem, 1.7vw, 1.2rem);
  color: rgba(255, 255, 255, .82);
  max-width: 34em;
  margin-bottom: 30px;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 100px;
  background: rgba(255, 255, 255, .06);
  font-family: var(--font-display);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .9);
}
.hero__badge .ico { width: 14px; height: 14px; color: var(--blue-300); flex: none; }

.hero__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
  background: var(--blue-800);
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(0, 30, 61, .05) 40%, rgba(0, 30, 61, .55) 100%);
}
.hero__media-tag {
  position: absolute;
  z-index: 2;
  left: 18px; bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: var(--radius);
  background: rgba(0, 20, 40, .72);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, .16);
  color: #fff;
  font-family: var(--font-display);
  font-size: .8rem;
  font-weight: 600;
}
.hero__media-tag img { height: 18px; width: auto; }

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  width: 22px; height: 36px;
  border: 2px solid rgba(255, 255, 255, .35);
  border-radius: 12px;
  opacity: .65;
}
.hero__scroll::after {
  content: "";
  position: absolute;
  top: 7px; left: 50%;
  width: 3px; height: 7px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: #fff;
  animation: scrollDot 1.8s var(--ease) infinite;
}
@keyframes scrollDot {
  0%   { transform: translateY(0); opacity: 1; }
  70%  { transform: translateY(11px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ---------- 7. Bandas de confianza ---------- */
.trust {
  background: #fff;
  border-bottom: 1px solid var(--gray-200);
}
.trust__inner {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
}
.trust__item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 30px 22px;
  border-right: 1px solid var(--gray-200);
  position: relative;
}
.trust__item:last-child { border-right: 0; }
.trust__item::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--blue-700), var(--blue-500));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease);
}
.trust__item.is-in::before { transform: scaleX(1); }
.trust__icon {
  width: 38px; height: 38px;
  color: var(--blue-700);
}
.trust__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
  margin: 0;
  line-height: 1.3;
}
.trust__text {
  font-size: .88rem;
  color: var(--gray-600);
  line-height: 1.5;
  margin: 0;
}

/* ---------- 8. Secciones ---------- */
.section { padding-block: clamp(56px, 7vw, 96px); }
.section--tight { padding-block: clamp(40px, 5vw, 64px); }
.section--gray { background: var(--gray-100); }
.section--blue { background: var(--blue-050); }
.section--dark {
  background: var(--blue-950);
  color: rgba(255, 255, 255, .82);
  position: relative;
  overflow: hidden;
}
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 68px 68px;
  pointer-events: none;
}
.section--dark > .container { position: relative; z-index: 1; }

.section-head {
  max-width: 780px;
  margin-bottom: clamp(30px, 4vw, 52px);
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
}
.section-head--center .eyebrow { justify-content: center; }
.section-head h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.65rem);
  font-weight: 800;
  letter-spacing: -.028em;
}
.section-head p {
  font-size: clamp(1rem, 1.5vw, 1.09rem);
  color: var(--gray-600);
  margin-bottom: 0;
}
.section--dark .section-head p { color: rgba(255, 255, 255, .76); }

.section-foot {
  margin-top: clamp(28px, 4vw, 44px);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.section-foot--center { justify-content: center; }

/* ---------- 9. Beneficios (tarjetas) ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}
.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 28px 24px 26px;
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.card::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--blue-700), var(--blue-500));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--blue-300);
}
.card:hover::after { transform: scaleX(1); }
.card__icon {
  width: 46px; height: 46px;
  color: var(--blue-700);
  margin-bottom: 16px;
}
.card h3 {
  font-size: 1.06rem;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
  margin-bottom: .5em;
}
.card p {
  font-size: .95rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin: 0;
}
.card__num {
  position: absolute;
  top: 14px; right: 18px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.6rem;
  color: var(--gray-200);
  line-height: 1;
  letter-spacing: -.04em;
}

/* ---------- 10. Selector de tipo de puerta ---------- */
.doors { display: grid; gap: 26px; }

.door-tabs {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 12px;
}
.door-tab {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  background: #fff;
  padding: 0;
  overflow: hidden;
  text-align: left;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.door-tab:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: var(--blue-300); }
.door-tab__img {
  aspect-ratio: 4 / 3;
  width: 100%;
  object-fit: cover;
  filter: saturate(.85);
  transition: filter .35s var(--ease), transform .5s var(--ease);
}
.door-tab:hover .door-tab__img { filter: saturate(1.05); transform: scale(1.05); }
.door-tab__label {
  padding: 12px 12px 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .82rem;
  line-height: 1.3;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}
.door-tab__label .ico { width: 14px; height: 14px; color: var(--blue-500); flex: none; }
.door-tab[aria-selected="true"] {
  border-color: var(--blue-700);
  box-shadow: 0 0 0 2px var(--blue-700), var(--shadow-sm);
}
.door-tab[aria-selected="true"] .door-tab__label { color: var(--blue-700); }
.door-tab[aria-selected="true"] .door-tab__img { filter: saturate(1.1); }

.door-panel {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
}
.door-panel[hidden] { display: none; }
.door-panel__media {
  position: relative;
  min-height: 300px;
  background: var(--blue-900);
}
.door-panel__media img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.door-panel__body { padding: clamp(26px, 3.5vw, 44px); }
.door-panel__body h3 {
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
  font-weight: 800;
  margin-bottom: .4em;
}
.door-panel__body > p { color: var(--gray-600); }

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 22px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border-radius: 100px;
  background: var(--blue-100);
  color: var(--blue-700);
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 600;
}
.chip .ico { width: 13px; height: 13px; }

.solutions-list { display: grid; gap: 10px; margin-bottom: 24px; }
.solutions-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: .95rem;
  color: var(--ink-soft);
}
.solutions-list .ico {
  width: 18px; height: 18px;
  color: var(--blue-600);
  flex: none;
  margin-top: 3px;
}

/* ---------- 11. Selector inteligente de motor ---------- */
.finder {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
}
.finder__form { padding: clamp(26px, 3.6vw, 44px); }
.finder__aside {
  background: linear-gradient(165deg, var(--blue-800), var(--blue-950));
  color: rgba(255, 255, 255, .85);
  padding: clamp(26px, 3.6vw, 44px);
  position: relative;
  overflow: hidden;
}
.finder__aside::after {
  content: "";
  position: absolute;
  right: -70px; bottom: -70px;
  width: 220px; height: 220px;
  border: 30px solid rgba(255, 255, 255, .06);
  border-radius: 50%;
}
.finder__aside h3 { color: #fff; font-size: 1.3rem; }
.finder__aside p { font-size: .95rem; color: rgba(255, 255, 255, .76); }

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field > label,
.field__label {
  font-family: var(--font-display);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--ink);
}
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  background: #fff;
  font-size: .97rem;
  color: var(--ink);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%23004a93' d='M6 8 0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 11px;
  padding-right: 40px;
}
.field textarea { min-height: 130px; resize: vertical; line-height: 1.55; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(43, 123, 185, .18);
}
.field small { font-size: .8rem; color: var(--gray-400); }

.opt-row { display: flex; flex-wrap: wrap; gap: 8px; }
.opt {
  position: relative;
}
.opt input {
  position: absolute;
  opacity: 0;
  width: 100%; height: 100%;
  margin: 0;
  cursor: pointer;
}
.opt span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 9px 16px;
  border: 1px solid var(--gray-200);
  border-radius: 100px;
  font-family: var(--font-display);
  font-size: .87rem;
  font-weight: 600;
  color: var(--ink-soft);
  background: #fff;
  transition: all .22s var(--ease);
}
.opt input:hover + span { border-color: var(--blue-300); color: var(--blue-700); }
.opt input:checked + span {
  background: var(--blue-700);
  border-color: var(--blue-700);
  color: #fff;
  box-shadow: 0 6px 16px rgba(0, 74, 147, .22);
}
.opt input:focus-visible + span { outline: 3px solid var(--blue-500); outline-offset: 2px; }

.finder__result {
  margin-top: 26px;
  border: 1px dashed var(--blue-300);
  background: var(--blue-050);
  border-radius: var(--radius);
  padding: 22px 24px;
}
.finder__result[hidden] { display: none; }
.finder__result-label {
  font-family: var(--font-display);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 8px;
}
.finder__result h4 {
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0 0 6px;
  color: var(--blue-800);
}
.finder__result p { font-size: .95rem; color: var(--ink-soft); margin-bottom: 14px; }
.finder__disclaimer {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: .85rem;
  color: var(--gray-600);
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-bottom: 18px;
}
.finder__disclaimer .ico { width: 17px; height: 17px; color: var(--accent); flex: none; margin-top: 2px; }

.finder__aside-list { display: grid; gap: 14px; margin-top: 22px; position: relative; z-index: 1; }
.finder__aside-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: .93rem;
  color: rgba(255, 255, 255, .84);
}
.finder__aside-list .ico { width: 18px; height: 18px; color: var(--blue-300); flex: none; margin-top: 3px; }

/* ---------- 12. Productos ---------- */
.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(258px, 1fr));
  gap: 22px;
}
.product {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.product:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--blue-300);
}
.product__media {
  position: relative;
  aspect-ratio: 1 / 1;
  background:
    radial-gradient(80% 80% at 50% 35%, #ffffff 0%, var(--gray-100) 100%);
  border-bottom: 1px solid var(--gray-200);
  overflow: hidden;
}
.product__media img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 18px;
  transition: transform .5s var(--ease);
}
.product:hover .product__media img { transform: scale(1.05); }
.product__flag {
  position: absolute;
  top: 12px; left: 12px;
  padding: 5px 11px;
  border-radius: 100px;
  background: var(--blue-700);
  color: #fff;
  font-family: var(--font-display);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.product__flag--hs { background: var(--accent); }
.product__body {
  padding: 20px 20px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 6px;
}
.product__name {
  font-size: 1.16rem;
  font-weight: 800;
  margin: 0;
  letter-spacing: -.01em;
}
.product__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 4px 0 8px;
}
.product__tag {
  font-family: var(--font-display);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--blue-700);
  background: var(--blue-100);
  padding: 4px 9px;
  border-radius: 3px;
}
.product__desc {
  font-size: .92rem;
  color: var(--gray-600);
  line-height: 1.55;
  margin: 0 0 16px;
  flex: 1;
}
.product__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}
.product__actions .btn { min-height: 44px; padding: 10px 8px; font-size: .84rem; }

/* ---------- 13. High Speed ---------- */
.hs {
  position: relative;
  background: var(--blue-950);
  overflow: hidden;
  isolation: isolate;
}
.hs::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    repeating-linear-gradient(115deg, rgba(255, 106, 0, .1) 0 2px, transparent 2px 26px),
    radial-gradient(70% 120% at 85% 20%, rgba(43, 123, 185, .5) 0%, transparent 65%),
    linear-gradient(150deg, var(--blue-900), var(--blue-950));
}
.hs__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(30px, 5vw, 60px);
  align-items: center;
}
.hs__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 9;
  background: var(--blue-800);
}
.hs__media img { width: 100%; height: 100%; object-fit: cover; }
.hs__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}
.hs__stat {
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .05);
  border-radius: var(--radius);
  padding: 16px 14px;
}
.hs__stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.02em;
}
.hs__stat span {
  font-size: .8rem;
  color: rgba(255, 255, 255, .7);
  line-height: 1.35;
  display: block;
}
.hs-products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(178px, 1fr));
  gap: 14px;
  margin-top: clamp(30px, 4vw, 46px);
}
.hs-product {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  padding: 16px 12px 18px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .05);
  transition: transform .3s var(--ease), background-color .3s var(--ease), border-color .3s var(--ease);
}
.hs-product:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 106, 0, .6);
}
.hs-product img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 8px;
}
.hs-product strong {
  font-family: var(--font-display);
  font-size: .88rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}
.hs-product span {
  font-size: .76rem;
  color: var(--blue-300);
  letter-spacing: .05em;
  text-transform: uppercase;
  font-family: var(--font-display);
  font-weight: 600;
}

/* ---------- 14. Proceso ---------- */
.process {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0;
  counter-reset: step;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
}
.process__step {
  position: relative;
  padding: 30px 22px 30px;
  border-right: 1px solid var(--gray-200);
  counter-increment: step;
  transition: background-color .3s var(--ease);
}
.process__step:last-child { border-right: 0; }
.process__step:hover { background: var(--blue-050); }
.process__step::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .8rem;
  letter-spacing: .1em;
  color: var(--blue-500);
  margin-bottom: 12px;
}
.process__step::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--blue-700);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease);
}
.process__step.is-in::after { transform: scaleX(1); }
.process__step h3 {
  font-size: .98rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
  margin-bottom: .45em;
}
.process__step p {
  font-size: .88rem;
  color: var(--gray-600);
  line-height: 1.5;
  margin: 0;
}
.process-note {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-top: 24px;
  padding: 20px 22px;
  background: var(--blue-050);
  border-left: 4px solid var(--blue-700);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 1rem;
  color: var(--ink);
}
.process-note .ico { width: 22px; height: 22px; color: var(--blue-700); flex: none; margin-top: 2px; }

/* Proceso vertical (landing puertas) */
.flow {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 760px;
  margin-inline: auto;
}
.flow__step {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 18px;
  position: relative;
  padding-bottom: 26px;
}
.flow__step:last-child { padding-bottom: 0; }
.flow__step::before {
  content: "";
  position: absolute;
  left: 28px; top: 46px; bottom: -4px;
  width: 2px;
  background: linear-gradient(var(--blue-500), var(--blue-300));
}
.flow__step:last-child::before { display: none; }
.flow__num {
  width: 58px; height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  border: 2px solid var(--blue-700);
  color: var(--blue-700);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  z-index: 1;
  transition: background-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.flow__step:hover .flow__num { background: var(--blue-700); color: #fff; transform: scale(1.06); }
.flow__body {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 18px 22px;
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.flow__step:hover .flow__body { box-shadow: var(--shadow-sm); border-color: var(--blue-300); }
.flow__body h3 {
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: .3em;
}
.flow__body p { font-size: .93rem; color: var(--gray-600); margin: 0; }

/* ---------- 15. Seguridad ---------- */
.security {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}
.security__item {
  position: relative;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 26px 22px;
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.security__item:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--blue-300); }
.security__item::before {
  content: "";
  position: absolute;
  right: -26px; top: -26px;
  width: 90px; height: 90px;
  border: 18px solid var(--blue-050);
  border-radius: 50%;
  transition: border-color .35s var(--ease);
}
.security__item:hover::before { border-color: var(--blue-100); }
.security__icon {
  position: relative;
  width: 42px; height: 42px;
  color: var(--blue-700);
  margin-bottom: 14px;
}
.security__item h3 {
  position: relative;
  font-size: 1.02rem;
  font-weight: 700;
  margin-bottom: .4em;
}
.security__item p {
  position: relative;
  font-size: .92rem;
  color: var(--gray-600);
  margin: 0;
  line-height: 1.55;
}
.security__media {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 26px;
}
.security__photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--blue-900);
}
.security__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.security__photo:hover img { transform: scale(1.05); }
.security__photo figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 26px 16px 14px;
  background: linear-gradient(transparent, rgba(0, 20, 40, .85));
  color: #fff;
  font-family: var(--font-display);
  font-size: .85rem;
  font-weight: 600;
}

/* ---------- 16. Galería de proyectos ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 26px;
}
.filter-btn {
  min-height: 42px;
  padding: 9px 20px;
  border: 1px solid var(--gray-200);
  background: #fff;
  border-radius: 100px;
  font-family: var(--font-display);
  font-size: .85rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: all .25s var(--ease);
}
.filter-btn:hover { border-color: var(--blue-500); color: var(--blue-700); }
.filter-btn[aria-pressed="true"] {
  background: var(--blue-700);
  border-color: var(--blue-700);
  color: #fff;
  box-shadow: 0 6px 16px rgba(0, 74, 147, .2);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}
.project {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--blue-900);
  aspect-ratio: 4 / 3;
  transition: opacity .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
}
.project.is-hidden { display: none; }
.project:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.project img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .65s var(--ease), filter .45s var(--ease);
  filter: saturate(.95);
}
.project:hover img { transform: scale(1.07); filter: saturate(1.08); }
.project__body {
  position: absolute;
  inset: auto 0 0 0;
  padding: 44px 18px 16px;
  background: linear-gradient(transparent, rgba(0, 18, 37, .92));
  color: #fff;
  transform: translateY(8px);
  transition: transform .35s var(--ease);
}
.project:hover .project__body { transform: none; }
.project__cat {
  display: inline-block;
  font-family: var(--font-display);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue-950);
  background: var(--blue-300);
  padding: 3px 9px;
  border-radius: 3px;
  margin-bottom: 8px;
}
.project__title {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 4px;
  line-height: 1.25;
}
.project__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .8rem;
  color: rgba(255, 255, 255, .78);
}
.project__meta span { display: inline-flex; align-items: center; gap: 5px; }
.project__meta .ico { width: 13px; height: 13px; opacity: .85; }

/* ---------- 17. Aplicaciones ---------- */
.apps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}
.app {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 330px;
  display: flex;
  align-items: flex-end;
  background: var(--blue-900);
  isolation: isolate;
}
.app img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease);
}
.app::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(0, 18, 37, .94) 8%, rgba(0, 40, 80, .35) 55%, rgba(0, 40, 80, .1) 100%);
  transition: background .4s var(--ease);
}
.app:hover img { transform: scale(1.07); }
.app:hover::after { background: linear-gradient(to top, rgba(0, 18, 37, .96) 15%, rgba(0, 74, 147, .5) 70%); }
.app__body { padding: 24px 22px; position: relative; }
.app__label {
  font-family: var(--font-display);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue-300);
  display: block;
  margin-bottom: 7px;
}
.app h3 {
  color: #fff;
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: .35em;
}
.app p {
  color: rgba(255, 255, 255, .82);
  font-size: .9rem;
  margin: 0;
}

/* ---------- 18. Integración / features ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}
.feature {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: var(--blue-300); }
.feature__icon {
  width: 40px; height: 40px;
  flex: none;
  border-radius: var(--radius-sm);
  background: var(--blue-100);
  color: var(--blue-700);
  display: grid;
  place-items: center;
}
.feature__icon .ico { width: 21px; height: 21px; }
.feature h3 {
  font-size: .98rem;
  font-weight: 700;
  margin-bottom: .25em;
}
.feature p { font-size: .87rem; color: var(--gray-600); margin: 0; line-height: 1.5; }

/* ---------- 19. Cita / destacado ---------- */
.quote {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(24px, 4vw, 54px);
  align-items: center;
}
.quote__figure {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 5 / 4;
  box-shadow: var(--shadow);
  background: var(--blue-900);
}
.quote__figure img { width: 100%; height: 100%; object-fit: cover; }
.quote blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.6vw, 1.85rem);
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
  letter-spacing: -.02em;
  border-left: 4px solid var(--accent);
  padding-left: 22px;
}
.quote blockquote footer {
  display: block;
  margin-top: 16px;
  font-family: var(--font-body);
  font-size: .92rem;
  font-weight: 400;
  color: var(--gray-600);
  letter-spacing: 0;
}

/* ---------- 20. CTA final ---------- */
.cta {
  position: relative;
  background: linear-gradient(140deg, var(--blue-800), var(--blue-950));
  color: rgba(255, 255, 255, .85);
  overflow: hidden;
  isolation: isolate;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    repeating-linear-gradient(115deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 24px),
    radial-gradient(60% 100% at 15% 0%, rgba(43, 123, 185, .55), transparent 60%);
}
.cta__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: clamp(26px, 4vw, 56px);
  align-items: center;
  padding-block: clamp(50px, 6vw, 84px);
}
.cta h2 {
  color: #fff;
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -.03em;
  margin-bottom: .4em;
}
.cta p { color: rgba(255, 255, 255, .8); font-size: 1.05rem; }
.cta__contacts {
  display: grid;
  gap: 12px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .06);
  backdrop-filter: blur(4px);
}
.cta__contact {
  display: flex;
  gap: 12px;
  align-items: center;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .95rem;
}
.cta__contact .ico { width: 19px; height: 19px; color: var(--blue-300); flex: none; }
.cta__contact:hover { color: var(--blue-300); }

/* ---------- 21. Formulario ---------- */
.form-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.form-card__head {
  background: linear-gradient(135deg, var(--blue-800), var(--blue-700));
  color: #fff;
  padding: 26px clamp(22px, 3vw, 36px);
}
.form-card__head h2 { color: #fff; font-size: 1.5rem; margin-bottom: .3em; }
.form-card__head p { color: rgba(255, 255, 255, .82); font-size: .95rem; margin: 0; }
.form-card__body { padding: clamp(24px, 3vw, 36px); }

.form-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: .85rem;
  color: var(--gray-600);
  margin-top: 16px;
}
.form-note .ico { width: 16px; height: 16px; color: var(--blue-500); flex: none; margin-top: 3px; }

.form-success {
  display: none;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 18px;
  background: #eafaf0;
  border: 1px solid #b7e6c9;
  border-radius: var(--radius);
  color: #0d5c31;
  font-size: .93rem;
  margin-bottom: 18px;
}
.form-success.is-visible { display: flex; }
.form-success .ico { width: 20px; height: 20px; flex: none; margin-top: 2px; }

/* ---------- 22. Testimonios / stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}
.stat {
  text-align: center;
  padding: 26px 18px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  background: #fff;
}
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.7rem);
  font-weight: 800;
  color: var(--blue-700);
  letter-spacing: -.03em;
  line-height: 1;
  margin-bottom: 8px;
}
.stat span {
  font-family: var(--font-display);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gray-600);
}
.section--dark .stat {
  background: rgba(255, 255, 255, .05);
  border-color: rgba(255, 255, 255, .14);
}
.section--dark .stat strong { color: #fff; }
.section--dark .stat span { color: rgba(255, 255, 255, .68); }

/* ---------- 23. Footer ---------- */
.footer {
  background: var(--blue-950);
  color: rgba(255, 255, 255, .72);
  font-size: .93rem;
  padding-block: clamp(44px, 5vw, 66px) 0;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 68px 68px;
  pointer-events: none;
}
.footer .container { position: relative; }
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 44px);
  padding-bottom: 36px;
}
.footer__brand img { height: 78px; width: auto; margin-bottom: 16px; }
.footer__brand p { max-width: 34em; font-size: .93rem; }
.footer h4 {
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer__list { display: grid; gap: 10px; }
.footer__list a { color: rgba(255, 255, 255, .72); }
.footer__list a:hover { color: #fff; padding-left: 4px; }
.footer__list li { transition: padding .2s var(--ease); }
.footer__contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 12px;
}
.footer__contact .ico { width: 17px; height: 17px; color: var(--blue-300); flex: none; margin-top: 4px; }
.footer__contact a { color: rgba(255, 255, 255, .8); }
.footer__contact a:hover { color: #fff; }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-block: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  font-size: .83rem;
  color: rgba(255, 255, 255, .55);
}
.footer__bottom a { color: inherit; }
.footer__bottom a:hover { color: #fff; }
.footer__nice { display: inline-flex; align-items: center; gap: 8px; }
.footer__nice img { height: 18px; width: auto; }

/* ---------- 24. WhatsApp flotante ---------- */
.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 95;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 17px 11px 13px;
  border-radius: 100px;
  background: var(--wa);
  color: #062b16;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .88rem;
  box-shadow: 0 8px 26px rgba(6, 60, 30, .3);
  transform: translateY(0);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .3s var(--ease);
}
.wa-float:hover { background: #1fbb5b; color: #062b16; transform: translateY(-3px); box-shadow: 0 14px 32px rgba(6, 60, 30, .35); }
.wa-float .ico { width: 22px; height: 22px; flex: none; }
.wa-float__text { white-space: nowrap; }

/* ---------- 25. Reveal animations ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: var(--delay, 0ms);
  will-change: opacity, transform;
}
[data-reveal="left"]  { transform: translateX(-32px); }
[data-reveal="right"] { transform: translateX(32px); }
[data-reveal="zoom"]  { transform: scale(.96); }
[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* ---------- 26. Responsive ---------- */
@media (max-width: 1200px) {
  .door-tabs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1024px) {
  :root { --header-h: 74px; }
  .nav, .header__cta .btn { display: none; }
  .burger { display: inline-flex; }
  .brand__logo { height: 56px; }
  .brand__tag { display: block; }
  .hero__grid { grid-template-columns: 1fr; padding-block: clamp(36px, 6vw, 60px); }
  .hero__media { aspect-ratio: 16 / 10; }
  .trust__inner { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .trust__item { border-bottom: 1px solid var(--gray-200); }
  .trust__item:nth-child(3n) { border-right: 0; }
  .door-panel { grid-template-columns: 1fr; }
  .door-panel__media { min-height: 240px; aspect-ratio: 16 / 9; }
  .finder { grid-template-columns: 1fr; }
  .hs__grid { grid-template-columns: 1fr; }
  .cta__inner { grid-template-columns: 1fr; }
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process__step { border-bottom: 1px solid var(--gray-200); }
  .process__step:nth-child(2n) { border-right: 0; }
}

@media (max-width: 768px) {
  body { font-size: 16px; }
  .topbar .container { justify-content: center; text-align: center; }
  .topbar__right { display: none; }
  .topbar__list { gap: 14px; justify-content: center; }
  .topbar__item--hide { display: none; }
  .trust__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust__item:nth-child(3n) { border-right: 1px solid var(--gray-200); }
  .trust__item:nth-child(2n) { border-right: 0; }
  .door-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }
  .field-grid { grid-template-columns: 1fr; }
  .quote { grid-template-columns: 1fr; }
  .hs__stats { grid-template-columns: 1fr; }
  .btn-row .btn { flex: 1 1 100%; }
  .product__actions { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .door-tabs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }
  .door-tab { flex: 0 0 152px; scroll-snap-align: start; }
  .process { grid-template-columns: 1fr; }
  .process__step { border-right: 0; }
  .gallery { grid-template-columns: 1fr; }
  .apps { grid-template-columns: 1fr; }
  .app { min-height: 270px; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .footer__bottom { justify-content: center; text-align: center; }
  .filters { gap: 7px; }
  .filter-btn { padding: 8px 15px; font-size: .8rem; }
}

@media (max-width: 480px) {
  .brand__logo { height: 48px; }
  .brand__tag { display: none; }
  .hero h1 { font-size: clamp(1.75rem, 8vw, 2.3rem); }
  .hero__badges { gap: 8px; }
  .hero__badge { font-size: .72rem; padding: 6px 12px; }
  .trust__inner { grid-template-columns: 1fr; }
  .trust__item { border-right: 0 !important; }
  .cards { grid-template-columns: 1fr; }
  .security { grid-template-columns: 1fr; }
  .products { grid-template-columns: 1fr; }
  .hs-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wa-float__text { display: none; }
  .wa-float { padding: 13px; border-radius: 50%; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .section-head h2 { font-size: 1.6rem; }
}

@media (max-width: 375px) {
  .hs-products { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .opt span { font-size: .82rem; padding: 8px 13px; }
}

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

/* ---------- 28. Impresión ---------- */
@media print {
  .header, .topbar, .wa-float, .mobile-menu, .burger, .btn { display: none !important; }
  body { font-size: 12pt; color: #000; }
  .hero, .section--dark, .cta { background: #fff !important; color: #000 !important; }
  .hero h1, .cta h2 { color: #000 !important; }
}
