/* ==========================================================================
   REGIA ALUMINIOS — Hoja de estilos principal
   Paleta: azul marino #1a2633 · azul complementario #4a90c4 · blanco y negro
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --navy-900: #111a24;
  --navy-800: #1a2633;
  --navy-700: #22303f;
  --navy-600: #2d3d4f;
  --blue: #4a90c4;
  --blue-400: #6fa9d4;
  --blue-600: #35719f;
  --ink: #0d1319;
  --body: #55636f;
  --muted: #8a97a4;
  --line: #e3e8ed;
  --line-dark: rgba(255, 255, 255, .12);
  --bg: #ffffff;
  --bg-alt: #f5f7f9;

  --font-display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --container: 1260px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-y: clamp(58px, 7vw, 106px);
  --radius: 4px;
  --radius-lg: 8px;

  --shadow-sm: 0 2px 10px rgba(17, 26, 36, .06);
  --shadow-md: 0 14px 40px rgba(17, 26, 36, .12);
  --shadow-lg: 0 30px 70px rgba(17, 26, 36, .18);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --nav-h: 76px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--body);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.is-locked { overflow: hidden; }

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

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

h1 { font-size: clamp(2.15rem, 4.9vw, 4rem); font-weight: 800; text-transform: uppercase; line-height: .98; }
h2 { font-size: clamp(1.62rem, 3.1vw, 2.6rem); font-weight: 800; text-transform: uppercase; }
h3 { font-size: clamp(1.02rem, 1.45vw, 1.2rem); font-weight: 700; }
h4 { font-size: .95rem; font-weight: 700; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

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

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

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

.container--narrow { max-width: 880px; }

.section { padding-block: var(--section-y); position: relative; }
.section--alt { background: var(--bg-alt); }
.section--tight { padding-block: clamp(42px, 5vw, 70px); }

.section--dark {
  background: var(--navy-800);
  color: rgba(255, 255, 255, .7);
}
.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 { color: #fff; }

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

.section-head { max-width: 700px; margin-bottom: clamp(32px, 4.2vw, 54px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::before { display: none; }
.section-head p { font-size: .99rem; }

.lead { font-size: clamp(.96rem, 1.25vw, 1.08rem); color: var(--body); }
.section--dark .lead { color: rgba(255, 255, 255, .74); }

.rule {
  width: 52px;
  height: 3px;
  background: var(--blue);
  border: 0;
  margin: 0 0 24px;
}
.rule--center { margin-inline: auto; }

/* ---------- 4. Botones ---------- */
.btn {
  --btn-bg: var(--blue);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 26px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bg);
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  line-height: 1.2;
  cursor: pointer;
  transition: transform .3s var(--ease), background .3s var(--ease),
              border-color .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(74, 144, 196, .32); }
.btn svg { width: 16px; height: 16px; flex: none; }

.btn--wa { --btn-bg: #25d366; --btn-fg: #06301a; border-color: #25d366; }
.btn--wa:hover { box-shadow: 0 10px 26px rgba(37, 211, 102, .34); }

.btn--dark { --btn-bg: var(--navy-800); --btn-fg: #fff; }
.btn--dark:hover { box-shadow: 0 10px 26px rgba(26, 38, 51, .3); }

.btn--outline {
  --btn-bg: transparent;
  --btn-fg: #fff;
  border-color: rgba(255, 255, 255, .45);
  backdrop-filter: blur(4px);
}
.btn--outline:hover { background: #fff; color: var(--navy-800); border-color: #fff; box-shadow: 0 10px 26px rgba(0, 0, 0, .25); }

.btn--outline-dark {
  --btn-bg: transparent;
  --btn-fg: var(--navy-800);
  border-color: rgba(26, 38, 51, .25);
}
.btn--outline-dark:hover { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }

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

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

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
}
.link-arrow svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ---------- 5. Navegación ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .45s var(--ease), height .45s var(--ease),
              box-shadow .45s var(--ease), border-color .45s var(--ease);
}
.nav.is-stuck {
  height: 66px;
  background: rgba(26, 38, 51, .93);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: rgba(255, 255, 255, .09);
  box-shadow: 0 10px 34px rgba(9, 15, 21, .3);
}

.nav__inner {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav__logo { display: flex; align-items: center; margin-right: auto; }
.nav__logo img {
  height: 52px;
  width: auto;
  transition: height .45s var(--ease);
}
.nav.is-stuck .nav__logo img { height: 42px; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 3px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__links a {
  position: relative;
  display: block;
  padding: 9px 13px;
  font-family: var(--font-display);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .88);
  transition: color .25s var(--ease);
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 3px;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav__links a:hover { color: #fff; }
.nav__links a:hover::after,
.nav__links a[aria-current="page"]::after { transform: scaleX(1); }
.nav__links a[aria-current="page"] { color: #fff; }

/* "Contacto" se muestra como botón */
.nav__cta { margin-left: 10px; }
.nav__cta a,
.nav__cta a[aria-current="page"] {
  padding: 11px 22px;
  font-size: .7rem;
  font-weight: 700;
  color: #fff;
  background: var(--blue);
  border: 1px solid var(--blue);
  border-radius: var(--radius);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.nav__cta a::after { display: none; }
.nav__cta a:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(74, 144, 196, .35); }

.nav__actions { display: flex; align-items: center; }

.nav__toggle {
  display: none;
  width: 42px;
  height: 42px;
  background: none;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: var(--radius);
  padding: 0;
  place-items: center;
}
.nav__toggle span {
  display: block;
  width: 19px;
  height: 2px;
  background: #fff;
  position: relative;
  transition: background .25s var(--ease);
}
.nav__toggle span::before,
.nav__toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 19px;
  height: 2px;
  background: #fff;
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.nav__toggle span::before { top: -6px; }
.nav__toggle span::after { top: 6px; }
.nav.is-open .nav__toggle span { background: transparent; }
.nav.is-open .nav__toggle span::before { top: 0; transform: rotate(45deg); }
.nav.is-open .nav__toggle span::after { top: 0; transform: rotate(-45deg); }

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  min-height: min(100svh, 820px);
  display: flex;
  align-items: flex-end;
  padding-top: calc(var(--nav-h) + 36px);
  padding-bottom: clamp(48px, 7vw, 92px);
  background: var(--navy-900);
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
  animation: heroZoom 18s var(--ease) forwards;
}
@keyframes heroZoom {
  from { transform: scale(1.1); }
  to { transform: scale(1); }
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(17, 26, 36, .94) 0%, rgba(17, 26, 36, .55) 42%, rgba(17, 26, 36, .28) 70%, rgba(17, 26, 36, .55) 100%),
    linear-gradient(to right, rgba(17, 26, 36, .72) 0%, rgba(17, 26, 36, .18) 62%, transparent 100%);
}
.hero .container { position: relative; z-index: 2; }
.hero__content { max-width: 780px; }
.hero .eyebrow { color: var(--blue-400); }
.hero .eyebrow::before { background: var(--blue-400); }
.hero h1 { color: #fff; margin-bottom: 20px; text-shadow: 0 2px 30px rgba(0, 0, 0, .35); }
.hero h1 em {
  font-style: normal;
  color: var(--blue-400);
  display: block;
}
.hero__text {
  font-size: clamp(.98rem, 1.3vw, 1.12rem);
  color: rgba(255, 255, 255, .84);
  max-width: 580px;
  margin-bottom: 30px;
}
.hero .btn-row { margin-bottom: clamp(32px, 4.5vw, 52px); }

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 36px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .16);
}
.hero__meta div { display: flex; align-items: center; gap: 10px; }
.hero__meta svg { width: 17px; height: 17px; color: var(--blue-400); flex: none; }
.hero__meta span {
  font-family: var(--font-display);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .82);
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  z-index: 2;
  width: 22px;
  height: 36px;
  border: 1.5px solid rgba(255, 255, 255, .4);
  border-radius: 14px;
  display: grid;
  place-items: start center;
  padding-top: 6px;
}
.hero__scroll::after {
  content: "";
  width: 3px;
  height: 6px;
  border-radius: 2px;
  background: #fff;
  animation: scrollDot 1.9s infinite var(--ease);
}
@keyframes scrollDot {
  0% { opacity: 0; transform: translateY(-3px); }
  40% { opacity: 1; }
  100% { opacity: 0; transform: translateY(11px); }
}

/* ---------- 7. Cabecera de páginas internas ---------- */
.page-hero {
  position: relative;
  min-height: clamp(320px, 46vh, 460px);
  display: flex;
  align-items: flex-end;
  padding-top: calc(var(--nav-h) + 36px);
  padding-bottom: clamp(34px, 4.5vw, 58px);
  background: var(--navy-900);
  overflow: hidden;
}
.page-hero__media { position: absolute; inset: 0; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17, 26, 36, .93), rgba(17, 26, 36, .58) 55%, rgba(17, 26, 36, .5));
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; margin-bottom: 14px; }
.page-hero p {
  color: rgba(255, 255, 255, .8);
  max-width: 600px;
  font-size: clamp(.95rem, 1.15vw, 1.05rem);
}
.crumbs {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-family: var(--font-display);
  font-weight: 600;
  color: rgba(255, 255, 255, .55);
  margin-bottom: 16px;
}
.crumbs a:hover { color: #fff; }
.crumbs span { color: var(--blue-400); }

/* ---------- 8. Banda de cobertura nacional (fina) ---------- */
.coverage {
  background: linear-gradient(105deg, var(--navy-800) 0%, var(--navy-700) 55%, var(--blue-600) 190%);
  color: #fff;
  padding-block: 14px;
  position: relative;
  overflow: hidden;
}
.coverage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 84px);
  pointer-events: none;
}
.coverage__inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px clamp(14px, 2.4vw, 30px);
}
.coverage__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 5px 13px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 100px;
  background: rgba(255, 255, 255, .07);
  font-family: var(--font-display);
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  white-space: nowrap;
}
.coverage__badge svg { width: 14px; height: 14px; color: var(--blue-400); }
.coverage__text {
  font-size: .9rem;
  color: rgba(255, 255, 255, .8);
  margin: 0;
  text-align: center;
}
.coverage__text strong { color: #fff; font-weight: 600; }
.coverage .btn { padding: 8px 16px; font-size: .64rem; }
.coverage .btn:hover { transform: none; }

/* ---------- 9. Métricas ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.section--dark .stats { background: var(--line-dark); border-color: var(--line-dark); }
.stat {
  background: var(--bg);
  padding: clamp(22px, 3vw, 34px) clamp(18px, 2.4vw, 28px);
  text-align: center;
}
.section--dark .stat { background: var(--navy-800); }
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--navy-800);
  line-height: 1;
  letter-spacing: -.03em;
  margin-bottom: 9px;
}
.section--dark .stat__num { color: var(--blue-400); }
.stat__label {
  font-size: .73rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--muted);
}

/* ---------- 10. Grillas y tarjetas ---------- */
.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }

.card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--navy-700);
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.card:hover .card__media img { transform: scale(1.07); }
.card__tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 6px 11px;
  background: rgba(26, 38, 51, .88);
  backdrop-filter: blur(6px);
  color: #fff;
  border-radius: 3px;
  font-family: var(--font-display);
  font-size: .61rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.card__body {
  padding: clamp(19px, 2.1vw, 26px);
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 11px;
}
.card__body h3 { margin: 0; }
.card__body p { font-size: .89rem; margin: 0; }
.card__list {
  list-style: none;
  margin: 3px 0 0;
  padding: 0;
  display: grid;
  gap: 7px;
  font-size: .85rem;
}
.card__list li {
  position: relative;
  padding-left: 19px;
}
.card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 7px;
  height: 7px;
  border: 2px solid var(--blue);
  border-radius: 1px;
}
.card__foot { margin-top: auto; padding-top: 5px; }

/* Mosaico compacto de productos (portada) */
.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  gap: clamp(12px, 1.6vw, 18px);
}
.tile {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--navy-700);
}
.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17, 26, 36, .9) 0%, rgba(17, 26, 36, .28) 55%, rgba(17, 26, 36, .08) 100%);
  transition: background .4s var(--ease);
}
.tile:hover img { transform: scale(1.07); }
.tile:hover::after { background: linear-gradient(to top, rgba(26, 38, 51, .95) 0%, rgba(74, 144, 196, .35) 100%); }
.tile__label {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #fff;
  font-family: var(--font-display);
  font-size: .87rem;
  font-weight: 700;
  line-height: 1.25;
}
.tile__label svg {
  width: 16px;
  height: 16px;
  flex: none;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.tile:hover .tile__label svg { opacity: 1; transform: none; }

/* Tarjeta de característica */
.feature {
  position: relative;
  padding: clamp(22px, 2.6vw, 32px);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.section--dark .feature {
  background: rgba(255, 255, 255, .035);
  border-color: var(--line-dark);
}
.section--dark .feature:hover { background: rgba(255, 255, 255, .06); box-shadow: none; }
.feature__icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: rgba(74, 144, 196, .12);
  color: var(--blue);
  margin-bottom: 17px;
}
.feature__icon svg { width: 22px; height: 22px; }
.feature h3 { margin-bottom: 9px; }
.feature p { font-size: .89rem; margin: 0; }

/* Nota destacada */
.note {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: clamp(18px, 2.2vw, 26px);
  border: 1px solid var(--line);
  border-left: 3px solid var(--blue);
  border-radius: var(--radius);
  background: var(--bg);
}
.section--dark .note { background: rgba(255, 255, 255, .04); border-color: var(--line-dark); border-left-color: var(--blue); }
.section--alt .note { background: var(--bg); }
.note svg { width: 20px; height: 20px; color: var(--blue); flex: none; margin-top: 3px; }
.note p { font-size: .92rem; margin: 0; }
.note strong { color: var(--ink); }
.section--dark .note strong { color: #fff; }

/* ---------- 11. Bloques media + texto ---------- */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(30px, 4.5vw, 66px);
  align-items: center;
}
.split--reverse .split__media { order: 2; }
.split__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.split__media img { width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; }
.split__media--tall img { aspect-ratio: 3 / 3.6; }
.split__badge {
  position: absolute;
  right: 0;
  bottom: 0;
  background: var(--blue);
  color: #fff;
  padding: 17px 22px;
  max-width: 62%;
}
.split__badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 4px;
}
.split__badge span {
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: .92;
}

.check-list {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.check-list li {
  position: relative;
  padding-left: 31px;
  font-size: .92rem;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: rgba(74, 144, 196, .14);
}
.check-list li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 9px;
  width: 7px;
  height: 4px;
  border-left: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: rotate(-45deg);
}
.check-list strong { color: var(--ink); font-weight: 600; }
.section--dark .check-list strong { color: #fff; }

/* ---------- 12. Proceso ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.step {
  background: var(--bg);
  padding: clamp(22px, 2.8vw, 32px);
  position: relative;
  transition: background .35s var(--ease);
}
.step:hover { background: var(--bg-alt); }
.step__num {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(26, 38, 51, .12);
  margin-bottom: 14px;
  letter-spacing: -.04em;
}
.step:hover .step__num { color: var(--blue); }
.step h3 { margin-bottom: 8px; }
.step p { font-size: .87rem; margin: 0; }

/* Timeline vertical */
.timeline { display: grid; gap: 0; position: relative; }
.tl-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: clamp(18px, 2.6vw, 34px);
  padding-bottom: clamp(28px, 3.4vw, 44px);
  position: relative;
}
.tl-item::before {
  content: "";
  position: absolute;
  left: 29px;
  top: 68px;
  bottom: 0;
  width: 1px;
  background: var(--line);
}
.tl-item:last-child { padding-bottom: 0; }
.tl-item:last-child::before { display: none; }
.tl-item__num {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--bg);
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--navy-800);
  position: relative;
  z-index: 1;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.tl-item:hover .tl-item__num { background: var(--blue); color: #fff; border-color: var(--blue); }
.tl-item__body { padding-top: 6px; }
.tl-item__body h3 { margin-bottom: 9px; }
.tl-item__meta {
  display: inline-block;
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: .67rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
}

/* ---------- 13. Tabla ---------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg);
}
table.data {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: .87rem;
}
table.data th,
table.data td {
  padding: 13px 17px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
table.data thead th {
  background: var(--navy-800);
  color: #fff;
  font-family: var(--font-display);
  font-size: .69rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  border-bottom: 0;
}
table.data tbody tr:last-child td { border-bottom: 0; }
table.data tbody tr:hover { background: var(--bg-alt); }
table.data td:first-child { font-weight: 600; color: var(--ink); }

/* ---------- 14. Acordeón ---------- */
.accordion { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 19px 0;
  background: none;
  border: 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: .96rem;
  font-weight: 700;
  color: var(--ink);
  transition: color .25s var(--ease);
}
.acc-btn:hover { color: var(--blue); }
.acc-btn i {
  flex: none;
  width: 20px;
  height: 20px;
  position: relative;
}
.acc-btn i::before,
.acc-btn i::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: var(--blue);
  transform: translate(-50%, -50%);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.acc-btn i::before { width: 13px; height: 2px; }
.acc-btn i::after { width: 2px; height: 13px; }
.acc-item.is-open .acc-btn i::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.acc-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .4s var(--ease);
}
.acc-item.is-open .acc-panel { grid-template-rows: 1fr; }
.acc-panel > div { overflow: hidden; }
.acc-panel p { padding-bottom: 21px; font-size: .91rem; margin: 0; }

/* ---------- 15. Banda CTA ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--navy-800);
  color: #fff;
  padding-block: clamp(40px, 5vw, 66px);
}
.cta-band__media { position: absolute; inset: 0; }
.cta-band__media img { width: 100%; height: 100%; object-fit: cover; opacity: .3; }
.cta-band__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(17, 26, 36, .96) 20%, rgba(17, 26, 36, .72) 100%);
}
.cta-band .container { position: relative; z-index: 2; }
.cta-band__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: clamp(24px, 3.4vw, 52px);
}
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { color: rgba(255, 255, 255, .78); margin: 0; max-width: 540px; font-size: .95rem; }

/* ---------- 16. Contacto ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(28px, 4vw, 60px);
  align-items: start;
}

.info-list { display: grid; gap: 3px; margin-top: 26px; }
.info-item {
  display: flex;
  gap: 15px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}
.section--dark .info-item { border-color: var(--line-dark); }
.info-item:first-child { border-top: 1px solid var(--line); }
.section--dark .info-item:first-child { border-color: var(--line-dark); }
.info-item__icon {
  flex: none;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: rgba(74, 144, 196, .12);
  color: var(--blue);
}
.info-item__icon svg { width: 18px; height: 18px; }
.info-item__label {
  font-family: var(--font-display);
  font-size: .67rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2px;
}
.info-item__value {
  font-size: .96rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.45;
}
.section--dark .info-item__value { color: #fff; }
.info-item__value a:hover { color: var(--blue); }
.info-item small { display: block; font-weight: 400; color: var(--muted); font-size: .82rem; }

.form-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 38px);
  box-shadow: var(--shadow-sm);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-family: var(--font-display);
  font-size: .69rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--navy-800);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 11px 13px;
  font-family: var(--font-body);
  font-size: .91rem;
  color: var(--ink);
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease);
}
.field textarea { resize: vertical; min-height: 116px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(74, 144, 196, .16);
}
.field input::placeholder,
.field textarea::placeholder { color: var(--muted); }
.form-note { font-size: .79rem; color: var(--muted); margin: 14px 0 0; }

.map-embed {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  line-height: 0;
  box-shadow: var(--shadow-sm);
}
.map-embed iframe { width: 100%; height: 360px; border: 0; filter: grayscale(.35) contrast(1.05); }

/* ---------- 17. Footer ---------- */
.footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, .62);
  padding-top: clamp(46px, 5.5vw, 74px);
  font-size: .89rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: clamp(24px, 3.4vw, 48px);
  padding-bottom: clamp(32px, 4vw, 52px);
}
.footer__logo { height: 48px; width: auto; margin-bottom: 19px; }
.footer h4 {
  color: #fff;
  font-size: .73rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 17px;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer a { transition: color .25s var(--ease); }
.footer a:hover { color: var(--blue-400); }
.footer__contact li { display: flex; gap: 11px; align-items: flex-start; }
.footer__contact svg { width: 16px; height: 16px; color: var(--blue); flex: none; margin-top: 3px; }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-block: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
  align-items: center;
  font-size: .8rem;
  color: rgba(255, 255, 255, .45);
}

/* ---------- 18. WhatsApp flotante ---------- */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px 12px 14px;
  background: #25d366;
  color: #06301a;
  border-radius: 100px;
  box-shadow: 0 12px 34px rgba(37, 211, 102, .4);
  font-family: var(--font-display);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .06em;
  transform: translateY(120%);
  opacity: 0;
  transition: transform .5s var(--ease), opacity .5s var(--ease), box-shadow .3s var(--ease);
}
.wa-float.is-visible { transform: translateY(0); opacity: 1; }
.wa-float:hover { box-shadow: 0 16px 42px rgba(37, 211, 102, .55); }
.wa-float svg { width: 23px; height: 23px; flex: none; }
.wa-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid #25d366;
  animation: waPulse 2.6s infinite;
}
@keyframes waPulse {
  0% { transform: scale(1); opacity: .7; }
  70% { transform: scale(1.14); opacity: 0; }
  100% { opacity: 0; }
}

/* ---------- 19. Animaciones al hacer scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .09s; }
.reveal[data-delay="2"] { transition-delay: .18s; }
.reveal[data-delay="3"] { transition-delay: .27s; }
.reveal[data-delay="4"] { transition-delay: .36s; }

/* ---------- 20. Responsive ---------- */
@media (max-width: 1100px) {
  .nav__links a { padding: 9px 10px; font-size: .71rem; }
  .nav__cta a { padding: 10px 18px; }
}

@media (max-width: 1080px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .cta-band__inner { grid-template-columns: 1fr; }
}

@media (max-width: 940px) {
  :root { --nav-h: 66px; }

  .nav__toggle { display: grid; }
  .nav__logo img { height: 44px; }
  .nav.is-stuck .nav__logo img { height: 38px; }

  .nav__links {
    position: fixed;
    inset: var(--nav-h) 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(17, 26, 36, .98);
    backdrop-filter: blur(16px);
    padding: 10px var(--gutter) 24px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    max-height: calc(100svh - var(--nav-h));
    overflow-y: auto;
    transform: translateY(-14px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  }
  .nav.is-open .nav__links { opacity: 1; visibility: visible; transform: none; }
  .nav__links a {
    padding: 14px 0;
    font-size: .9rem;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
  }
  .nav__links a::after { display: none; }
  .nav__links li:last-child a { border-bottom: 0; }

  .nav__cta { margin: 18px 0 0; }
  .nav__cta a,
  .nav__cta a[aria-current="page"] {
    display: block;
    text-align: center;
    padding: 14px 20px;
    font-size: .8rem;
    border-bottom: 0;
  }

  .nav.is-open { background: rgba(26, 38, 51, .97); backdrop-filter: blur(14px); }

  .split--reverse .split__media { order: 0; }
  .hero__scroll { display: none; }
  .form-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .tl-item { grid-template-columns: 50px 1fr; }
  .tl-item__num { width: 50px; height: 50px; font-size: 1rem; }
  .tl-item::before { left: 24px; top: 58px; }
}

@media (max-width: 560px) {
  .btn { padding: 12px 20px; font-size: .7rem; }
  .btn-row { gap: 9px; }
  .btn-row .btn { flex: 1 1 100%; }
  .wa-float { right: 14px; bottom: 14px; padding: 11px 16px 11px 13px; font-size: .72rem; }
  .hero { min-height: 90svh; }
  .hero__meta { gap: 10px 20px; }
  .split__badge { position: static; max-width: none; }
  .coverage { padding-block: 11px; }
  .coverage__text { font-size: .82rem; }
  .coverage .btn { display: none; }
}

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

@media print {
  .nav, .wa-float, .hero__scroll { display: none !important; }
}
