/* =========================================================
   LIZER — sistema visual
   Navy #1C252C / Naranja #E84E2A — Barlow Condensed + Inter
   ========================================================= */

@font-face {
  font-family: 'Barlow Condensed';
  src: url('assets/fonts/BarlowCondensed-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Barlow Condensed';
  src: url('assets/fonts/BarlowCondensed-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Barlow Condensed';
  src: url('assets/fonts/BarlowCondensed-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('assets/fonts/Inter-Variable.woff2') format('woff2-variations'), url('assets/fonts/Inter-Variable.woff2') format('woff2');
  font-weight: 380 620;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #1C252C;
  --navy-soft: #263239;
  --navy-softer: #2E3B43;
  --orange: #E84E2A;
  --orange-dark: #C43D1D;
  --white: #FFFFFF;
  --paper: #F6F5F3;
  --ink: #1C252C;
  --ink-muted: #5B666D;
  --line: #E4E2DE;

  --font-head: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container: 1200px;
  --radius: 14px;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--orange);
  color: var(--white);
  padding: 12px 20px;
  z-index: 999;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Defensive: reveal must never hide content ---------- */
.reveal { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }
.reveal.js-ready {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.js-ready.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Brand mark ---------- */
.brand {
  display: inline-flex;
  align-items: center;
  position: relative;
}
.brand-logo {
  height: 26px;
  width: auto;
  display: block;
}
.brand--footer .brand-logo { height: 28px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 245, 243, 0.88);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}
.main-nav ul { display: flex; gap: 32px; }
.main-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-muted);
  transition: color 0.2s ease;
  position: relative;
}
.main-nav a:hover { color: var(--navy); }
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.main-nav a:hover::after { transform: scaleX(1); }

.nav-cta { flex-shrink: 0; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  margin: 0 auto;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  max-height: 0;
  overflow: hidden;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  transition: max-height 0.3s ease;
}
.mobile-nav.is-open { max-height: 400px; }
.mobile-nav ul { padding: 12px 24px 20px; display: flex; flex-direction: column; gap: 4px; }
.mobile-nav a {
  display: block;
  padding: 12px 4px;
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 600;
  border-bottom: 1px solid var(--line);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0.3px;
  border: 2px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn--sm { padding: 10px 20px; font-size: 15px; }
.btn--primary {
  background: var(--orange);
  color: var(--white);
}
.btn--primary:hover { background: var(--orange-dark); transform: translateY(-2px); }
.btn--ghost-light {
  border-color: rgba(255,255,255,0.4);
  color: var(--white);
}
.btn--ghost-light:hover { border-color: var(--white); transform: translateY(-2px); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
  padding-top: 120px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-chevron {
  position: absolute;
  background: var(--orange);
  clip-path: polygon(0% 0%, 45% 0%, 100% 50%, 45% 100%, 0% 100%, 40% 50%);
  opacity: 0.08;
}
.hero-chevron--1 { width: 560px; height: 560px; top: -180px; right: -160px; opacity: 0.10; }
.hero-chevron--2 { width: 320px; height: 320px; top: 260px; right: 120px; opacity: 0.14; }
.hero-chevron--3 { width: 180px; height: 180px; bottom: 60px; right: 340px; opacity: 0.10; }

.hero-inner {
  position: relative;
  z-index: 1;
  padding-bottom: 90px;
  max-width: 880px;
}
.eyebrow {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 14px;
  font-weight: 600;
  color: var(--orange);
  margin: 0 0 20px;
}
.hero-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-style: italic;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.04;
  letter-spacing: 0.2px;
  margin: 0 0 26px;
  transform: skewX(-1deg);
}
.text-accent { color: var(--orange); }
.hero-lead {
  font-size: 19px;
  line-height: 1.65;
  color: rgba(255,255,255,0.82);
  max-width: 620px;
  margin: 0 0 36px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-stats {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.12);
}
.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 36px 24px;
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(30px, 3.6vw, 44px);
  color: var(--white);
  line-height: 1;
}
.stat-label {
  font-size: 13.5px;
  color: rgba(255,255,255,0.68);
  font-weight: 500;
}

/* ---------- Sections generic ---------- */
.section { padding: 110px 0; }
.section--alt { background: var(--white); }
.section--dark { background: var(--navy); color: var(--white); }
.section--statement { padding: 90px 0; background: var(--paper); }

.kicker {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 14px;
  font-weight: 600;
  color: var(--orange);
  margin: 0 0 14px;
}
.kicker--light { color: var(--orange); }

.section-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.1;
  margin: 0 0 22px;
  max-width: 820px;
}
.section-title--light { color: var(--white); }

.body-lg {
  font-size: 17.5px;
  line-height: 1.7;
  color: var(--ink-muted);
  margin: 0 0 18px;
}
.body-lg--light { color: rgba(255,255,255,0.78); }
.max-w-copy { max-width: 680px; }

/* ---------- Nosotros: two-column + flow diagram ---------- */
.grid-2 {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}
.flow-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 28px;
  box-shadow: 0 30px 60px -30px rgba(28,37,44,0.18);
}
.flow-card__label {
  font-family: var(--font-head);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--ink-muted);
  text-align: center;
  margin: 0 0 28px;
}
.flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 0;
}
.flow-step__dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--ink-muted);
}
.flow-step--brand .flow-step__dot {
  background: var(--orange);
  border-color: var(--orange);
  width: 18px; height: 18px;
}
.flow-step__text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 20px;
}
.flow-step--brand .flow-step__text { color: var(--orange); }
.flow-step__sub { font-size: 13px; color: var(--ink-muted); }
.flow-arrow {
  width: 2px;
  height: 26px;
  background: var(--line);
}

/* ---------- Cards grid ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -28px rgba(28,37,44,0.22);
}
.card-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--navy);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.card-icon svg { width: 24px; height: 24px; }
.card h3 {
  font-family: var(--font-head);
  font-size: 21px;
  font-weight: 700;
  margin: 0 0 8px;
}
.card p { margin: 0; color: var(--ink-muted); font-size: 15px; line-height: 1.6; }

/* ---------- Timeline ---------- */
.timeline {
  position: relative;
  margin-top: 56px;
  padding-left: 0;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 27px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: var(--line);
}
.timeline-step {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  padding: 0 0 44px;
}
.timeline-step:last-child { padding-bottom: 0; }
.timeline-num {
  position: relative;
  z-index: 1;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--navy);
  color: var(--navy);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.timeline-step h3 {
  font-family: var(--font-head);
  font-size: 23px;
  font-weight: 700;
  margin: 6px 0 8px;
}
.timeline-step p { margin: 0; color: var(--ink-muted); max-width: 620px; }

/* ---------- In Route ---------- */
.inroute-head { max-width: 820px; margin-bottom: 48px; }
.inroute-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.glass-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  padding: 28px 22px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.glass-card__icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(232,78,42,0.14);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.glass-card__icon svg { width: 22px; height: 22px; }
.glass-card h3 {
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--white);
}
.glass-card p { margin: 0; font-size: 14.5px; color: rgba(255,255,255,0.68); line-height: 1.6; }

.inroute-stats {
  display: flex;
  gap: 64px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.14);
}
.inroute-stat { display: flex; flex-direction: column; gap: 4px; }
.stat-num--light { color: var(--white); }
.stat-label--light { color: rgba(255,255,255,0.68); }

/* ---------- Cobertura / route map ---------- */
.route-map {
  position: relative;
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.route-line {
  position: absolute;
  top: 9px;
  left: 6%;
  right: 6%;
  height: 2px;
  background: repeating-linear-gradient(to right, var(--line) 0 8px, transparent 8px 14px);
}
.route-state { position: relative; }
.route-state__head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.route-dot {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--orange);
  border: 4px solid var(--paper);
  box-shadow: 0 0 0 2px var(--orange);
  flex-shrink: 0;
}
.route-state h3 {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  margin: 0;
}
.route-cities li {
  font-size: 15px;
  color: var(--ink-muted);
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
}
.route-cities li:last-child { border-bottom: none; }

/* ---------- Statement ---------- */
.statement {
  font-family: var(--font-head);
  font-weight: 600;
  font-style: italic;
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.3;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  color: var(--navy);
}

/* ---------- Contacto ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-email {
  display: inline-block;
  margin-top: 12px;
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--orange);
  border-bottom: 2px solid var(--orange);
  padding-bottom: 2px;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  padding: 32px;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
}
.contact-form input,
.contact-form textarea {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--orange);
}
.contact-form button { align-self: flex-start; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.6);
  padding: 48px 0 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.footer-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.footer-note { max-width: 460px; font-size: 14.5px; margin: 0; }
.footer-copy { font-size: 13px; margin: 0; color: rgba(255,255,255,0.4); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 980px) {
  .main-nav, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .mobile-nav { display: block; }

  .grid-2 { grid-template-columns: 1fr; gap: 40px; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .inroute-grid { grid-template-columns: repeat(2, 1fr); }
  .route-map { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .route-line { display: none; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .hero { padding-top: 100px; }
  .hero-inner { padding-bottom: 60px; }
  .card-grid { grid-template-columns: 1fr; }
  .inroute-grid { grid-template-columns: 1fr; }
  .route-map { grid-template-columns: 1fr; }
  .inroute-stats { gap: 32px; flex-wrap: wrap; }
  .timeline-step { grid-template-columns: 44px 1fr; gap: 16px; }
  .timeline-num { width: 44px; height: 44px; font-size: 15px; }
  .timeline::before { left: 21px; }
  .header-inner { height: 68px; }
  .brand-logo { height: 22px; }
}
