/* ============================================================
   COMPONENTS V2 — EV SKYLINNER  (cargar DESPUÉS de components.css)
   ============================================================ */

/* ============================================================
   0. TOKENS ADICIONALES
   ============================================================ */
:root {
  --light-glow:      rgba(255,255,255,0.04);
  --light-glow-md:   rgba(255,255,255,0.07);
  --glass-bg:        rgba(255,255,255,0.03);
  --glass-bg-md:     rgba(255,255,255,0.06);
  --glass-border:    rgba(255,255,255,0.08);
  --glass-border-md: rgba(255,255,255,0.15);
  --section-dark:    #050505;
  --section-alt:     #0c0c0c;
}

/* ============================================================
   1. CURSOR — eliminar custom cursor, usar el del sistema
   ============================================================ */
.cursor-dot, .cursor-ring { display: none !important; }
a, button, [role="button"], .mega-product-card,
.scard, .t-img, .tab-link { cursor: pointer !important; }

/* ============================================================
   2. HEADER — glass premium
   ============================================================ */
.header {
  transition: background 0.5s ease, border-color 0.5s ease,
              backdrop-filter 0.5s ease, box-shadow 0.5s ease;
}
.header.scrolled {
  background: rgba(4,4,4,0.86);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: 0 2px 60px rgba(0,0,0,0.6);
}

/* ============================================================
   3. NAV — gap reducido, active más visible
   ============================================================ */
.nav-links { gap: 0; }

.nav-links > li > a.nav-link {
  font-size: 0.69rem;
  letter-spacing: 0.06em;
  padding: 0.45rem 0.8rem;
  border-radius: 7px;
  color: rgba(214,214,214,0.7);
  transition: color 0.2s ease, background 0.2s ease;
}
/* Quitar underline original */
.nav-links > li > a.nav-link::after { display: none; }

.nav-links > li > a.nav-link:hover {
  background: rgba(255,255,255,0.06);
  color: #fff;
}
.nav-links > li > a.nav-link.active {
  background: rgba(255,255,255,0.1);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12);
}

/* Tablet nav */
@media (min-width: 768px) and (max-width: 1180px) {
  .nav-links > li > a.nav-link {
    font-size: 0.62rem;
    padding: 0.4rem 0.55rem;
    letter-spacing: 0.04em;
  }
}

/* ============================================================
   4. NAV TOGGLE / CLOSE — FA icons
   ============================================================ */
.nav-toggle {
  background: none;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 8px;
  padding: 8px 12px;
  color: var(--color-gray-light);
  font-size: 1.1rem;
  z-index: 1001;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.nav-toggle:hover { border-color: rgba(255,255,255,0.4); color: #fff; }
@media (max-width: 767px) {
  .nav-toggle { display: flex; align-items: center; justify-content: center; }
}
.nav-close {
  display: none;

  background: none;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 8px;

  width: 44px;
  height: 44px;

  align-items: center;
  justify-content: center;

  color: rgba(214,214,214,0.8);
  font-size: 1rem;

  transition:
    border-color 0.2s,
    color 0.2s;
}

.nav-close:hover {
  border-color: rgba(255,255,255,0.45);
  color: #fff;
}

.nav-close img {
  display: none;
}


/* ============================================================
   5. CTA BUTTON — "Cotizar"
   ============================================================ */
.cta-button { border-radius: 8px; font-size: 0.69rem; padding: 0.52rem 1rem; letter-spacing: 0.09em; }
.cta-section .cta-button { border-radius: 10px; padding: 0.95rem 2.4rem; font-size: var(--text-base); }
.cta-section .cta-button:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(255,255,255,0.13); }
.btn, .btn-primary { border-radius: 8px; }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(255,255,255,0.11); }
.lang-btn { border-radius: 20px; }

/* ============================================================
   6. MEGA MENÚ
   ============================================================ */
.nav-item--has-dropdown { position: relative; }
.nav-item--has-dropdown::after {
  content: ''; position: absolute;
  bottom: -14px; left: -12px; right: -12px; height: 14px;
}
.nav-chevron { font-size: 0.52em; margin-left: 4px; display: inline-block; vertical-align: middle; opacity: 0.55; transition: transform 0.25s, opacity 0.25s; }
.nav-item--has-dropdown:hover .nav-chevron { transform: rotate(-180deg); opacity: 1; }

.mega-menu {
  position: absolute; top: calc(100% + 14px); left: 50%;
  transform: translateX(-50%) translateY(-8px);
  width: 590px;
  background: rgba(6,6,6,0.95);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.08); border-radius: 16px;
  padding: 22px; opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  z-index: 500;
  box-shadow: 0 24px 80px rgba(0,0,0,0.7), inset 0 1px 0 rgba(255,255,255,0.05);
}
.mega-menu::before {
  content: ''; position: absolute; top: -6px; left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px; height: 12px; background: rgba(6,6,6,0.95);
  border-top: 1px solid rgba(255,255,255,0.08); border-left: 1px solid rgba(255,255,255,0.08);
}
.nav-item--has-dropdown:hover .mega-menu,
.nav-item--has-dropdown:focus-within .mega-menu {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); pointer-events: auto;
}
.mega-menu-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin-bottom: 14px; }
.mega-product-card { display: flex; flex-direction: column; gap: 7px; text-decoration: none; transition: transform 0.2s; }
.mega-product-card:hover { transform: translateY(-3px); }
.mega-product-img { aspect-ratio: 4/3; overflow: hidden; border-radius: 9px; background: #151515; border: 1px solid rgba(255,255,255,0.06); }
.mega-product-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s; }
.mega-product-card:hover .mega-product-img img { transform: scale(1.07); }
.mega-product-name { font-family: var(--font-display); font-size: 0.6rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; line-height: 1.3; }
.mega-product-type { font-size: 0.56rem; color: var(--color-gray-mid); }
.mega-menu-cta { display: block; text-align: right; font-family: var(--font-display); font-size: 0.6rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-gray-mid); text-decoration: none; border-top: 1px solid rgba(255,255,255,0.07); padding-top: 12px; transition: color 0.2s; }
.mega-menu-cta:hover { color: #fff; }

@media (min-width:768px) and (max-width:1180px) { .mega-menu { width: 460px; } }
@media (max-width:767px) { .mega-menu { display: none !important; } .nav-chevron { display: none; } }

/* Mobile overlay */
@media (max-width:767px) {
  .nav-links { background: rgba(4,4,4,0.97); backdrop-filter: blur(24px) saturate(150%); -webkit-backdrop-filter: blur(24px) saturate(150%); }
  .nav-links a.nav-link { font-size: 1.1rem; letter-spacing: 0.04em; color: rgba(214,214,214,0.8); border-radius: 0; }
  .nav-links a.nav-link.active, .nav-links a.nav-link:hover { color: #fff; background: none; box-shadow: none; }
}

/* ============================================================
   7. SISTEMA DE ANIMACIONES
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s cubic-bezier(0.25,0.46,0.45,0.94), transform 0.7s cubic-bezier(0.25,0.46,0.45,0.94); }
.reveal.revealed { opacity: 1; transform: translateY(0); }

.reveal-title { opacity: 0; transform: translateY(20px); transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.25,0.46,0.45,0.94); }
.reveal-title.revealed { opacity: 1; transform: translateY(0); }

.reveal-left { opacity: 0; transform: translateX(-40px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.25,0.46,0.45,0.94); }
.reveal-left.revealed { opacity: 1; transform: translateX(0); }

.reveal-right { opacity: 0; transform: translateX(40px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.25,0.46,0.45,0.94); }
.reveal-right.revealed { opacity: 1; transform: translateX(0); }

/* Stagger */
.reveal-stagger > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger > *:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger > *:nth-child(3) { transition-delay: 0.2s; }
.reveal-stagger > *:nth-child(4) { transition-delay: 0.3s; }
.reveal-stagger > *:nth-child(5) { transition-delay: 0.4s; }
.reveal-stagger > *:nth-child(6) { transition-delay: 0.5s; }

/* Stagger secciones específicas */
.stats-grid .stat-item:nth-child(1){ transition-delay:0.05s; }
.stats-grid .stat-item:nth-child(2){ transition-delay:0.15s; }
.stats-grid .stat-item:nth-child(3){ transition-delay:0.25s; }
.stats-grid .stat-item:nth-child(4){ transition-delay:0.35s; }
.products-grid .product-card:nth-child(1){ transition-delay:0s; }
.products-grid .product-card:nth-child(2){ transition-delay:0.1s; }
.products-grid .product-card:nth-child(3){ transition-delay:0.2s; }
.products-grid .product-card:nth-child(4){ transition-delay:0.3s; }
.why-grid .why-card:nth-child(1){ transition-delay:0s; }
.why-grid .why-card:nth-child(2){ transition-delay:0.12s; }
.why-grid .why-card:nth-child(3){ transition-delay:0.24s; }

/* ============================================================
   8. HERO — universal
   ============================================================ */
/* Heroes de páginas internas */
.page-hero {
  position: relative; overflow: hidden;
  min-height: 62vh; height: 62vh;
  display: flex; align-items: flex-end;
  padding-bottom: var(--spacing-2xl);
  padding-top: 80px;
}
.page-hero-bg { position: absolute; inset: 0; z-index: 0; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; display: block; }
.page-hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to right, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.6) 55%, rgba(0,0,0,0.2) 100%),
    linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 55%);
}
/* Luz ambiental en hero interno */
.page-hero::after {
  content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: radial-gradient(ellipse 55% 50% at 15% 65%, rgba(255,255,255,0.025) 0%, transparent 70%);
}
.page-hero-content { position: relative; z-index: 3; max-width: 680px; padding-top: 20px; animation: heroFadeUp 0.7s ease both; animation-delay: 0.1s; }

/* Secomsa hero */
.secomsa-hero { position: relative; overflow: hidden; min-height: 62vh; height: 62vh; display: flex; align-items: flex-end; padding-bottom: var(--spacing-2xl); padding-top: 80px; }
.secomsa-hero-content { position: relative; z-index: 5; }

/* Productos hero */
.skylinner-hero-wrapper { position: relative; overflow: hidden; min-height: 62vh; height: 62vh; display: flex; align-items: flex-end; padding-top: 80px; padding-bottom: var(--spacing-2xl); }
.skylinner-hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; display: block; opacity: 0.55; mask-image: none; -webkit-mask-image: none; }
.skylinner-hero-overlay {
  position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(to right, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.62) 55%, rgba(0,0,0,0.22) 100%),
    linear-gradient(to top, rgba(0,0,0,0.82) 0%, transparent 60%);
}
.skylinner-hero-glow { display: none; }
.skylinner-hero-container { position: relative; z-index: 3; max-width: 1280px; margin: 0 auto; padding: 0 var(--space-lg); width: 100%; display: flex; align-items: flex-end; height: 100%; }
.skylinner-hero-body { position: relative; z-index: 3; max-width: 680px; }
.skylinner-hero-eyebrow { display: inline-block; color: rgba(214,214,214,0.6); font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.7rem; margin-bottom: 18px; text-shadow: none; }
.skylinner-hero-h1 { color: #fff; font-family: var(--font-display); font-size: clamp(2.4rem,5.5vw,4.5rem); font-weight: 900; line-height: 1.08; margin-bottom: 22px; letter-spacing: -0.02em; text-shadow: 0 2px 40px rgba(0,0,0,0.4); }
.skylinner-hero-accent { color: rgba(214,214,214,0.8); }
.skylinner-hero-p { color: rgba(214,214,214,0.7); font-size: 1.02rem; line-height: 1.65; margin-bottom: 34px; max-width: 560px; }
.skylinner-hero-btn { display: inline-flex; align-items: center; height: 50px; padding: 0 34px; background: #fff; color: #000; font-family: var(--font-display); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; border-radius: 8px; border: 1px solid #fff; transition: background 0.3s, color 0.3s, transform 0.2s, box-shadow 0.3s; box-shadow: none; }
.skylinner-hero-btn:hover { background: transparent; color: #fff; transform: translateY(-2px); box-shadow: 0 0 32px rgba(255,255,255,0.1); }

@media (max-width:767px) {
  .page-hero, .secomsa-hero, .skylinner-hero-wrapper { height: auto; min-height: 55vh; padding-top: 100px; }
  .page-hero-overlay { background: linear-gradient(to bottom, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.88) 100%); }
}

/* ============================================================
   9. SECCIONES — luz ambiental
   ============================================================ */
.products-section { position: relative; background: var(--section-dark); }
.products-section::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 800px; height: 350px; pointer-events: none; background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255,255,255,0.022) 0%, transparent 70%); z-index: 0; }
.products-section .container { position: relative; z-index: 1; }

.cta-section { position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(255,255,255,0.022) 0%, transparent 70%); animation: ctaPulse 7s ease-in-out infinite; }
@keyframes ctaPulse { 0%,100%{opacity:.5;transform:scale(1);}50%{opacity:1;transform:scale(1.1);} }
.cta-inner { padding: var(--spacing-xl) 0; }

/* ============================================================
   10. PRODUCTOS — bus cards mejoradas
   ============================================================ */
.products-grid { border-radius: 12px; overflow: hidden; }
.product-card { transition: background 0.3s, box-shadow 0.3s; }
.product-card:hover { background: #1c1c1c; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.07); }
.product-badge { border-radius: 5px; font-size: 0.58rem; }
.product-specs li i { width: 14px; text-align: center; color: var(--color-gray-mid); font-size: 0.72rem; opacity: 0.65; flex-shrink: 0; filter: none; }

/* Catálogo de buses */
.catalog-tabs { position: sticky; top: 70px; z-index: 90; background: rgba(4,4,4,0.9); backdrop-filter: blur(20px) saturate(160%); -webkit-backdrop-filter: blur(20px) saturate(160%); display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; padding: 14px 20px; border-bottom: 1px solid rgba(255,255,255,0.06); opacity: 0; pointer-events: none; transition: opacity 0.4s ease; }
.catalog-tabs.is-active { opacity: 1; pointer-events: auto; }
.tab-link { color: rgba(214,214,214,0.6); text-decoration: none; font-family: var(--font-display); font-size: 0.66rem; font-weight: 700; padding: 7px 16px; border-radius: 30px; border: 1px solid rgba(255,255,255,0.1); transition: border-color 0.25s, color 0.25s, background 0.25s; text-transform: uppercase; letter-spacing: 0.07em; white-space: nowrap; }
.tab-link:hover { border-color: rgba(255,255,255,0.35); color: #fff; background: rgba(255,255,255,0.05); }

.bus-row { display: flex; flex-wrap: wrap; align-items: center; padding: 90px 5%; gap: 56px; scroll-margin-top: 130px; background: var(--section-dark); position: relative; transition: background 0.3s; }
.bus-row::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 50% 80% at 100% 50%, rgba(255,255,255,0.015) 0%, transparent 65%); z-index: 0; }
.bus-row:nth-child(even) { background: var(--section-alt); flex-direction: row-reverse; }
.bus-row:nth-child(even)::before { background: radial-gradient(ellipse 50% 80% at 0% 50%, rgba(255,255,255,0.015) 0%, transparent 65%); }
.bus-col { flex: 1; min-width: 300px; position: relative; z-index: 1; }

.bus-title { font-family: var(--font-display); font-size: clamp(1.8rem,3.5vw,2.8rem); font-weight: 900; color: #fff; letter-spacing: -0.01em; line-height: 1.05; margin-bottom: 6px; }
.bus-subtitle { font-family: var(--font-display); font-size: 0.68rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--color-gray-mid); margin-bottom: 28px; }

.main-img { width: 100%; height: 420px; object-fit: cover; border-radius: 14px; box-shadow: 0 24px 60px rgba(0,0,0,0.55); transition: opacity 0.3s ease; display: block; }
.thumbs-container { display: flex; gap: 10px; margin-top: 16px; }
.t-img { width: 72px; height: 52px; object-fit: cover; border-radius: 7px; opacity: 0.3; border: 1.5px solid transparent; transition: opacity 0.25s, border-color 0.25s, transform 0.2s; }
.t-img:hover { opacity: 0.7; transform: translateY(-2px); }
.t-img.active { opacity: 1; border-color: rgba(255,255,255,0.6); }

.specs-container { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; margin: 24px 0; }
.spec-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.07); padding: 14px 16px; border-radius: 12px; display: flex; align-items: center; gap: 14px; backdrop-filter: blur(8px); transition: border-color 0.25s, background 0.25s, transform 0.2s; }
.spec-card:hover { border-color: rgba(255,255,255,0.15); background: rgba(255,255,255,0.055); transform: translateY(-2px); }
.spec-card i { font-size: 1.3rem; color: rgba(255,255,255,0.5); width: 28px; text-align: center; }
.spec-label { display: block; font-size: 0.6rem; color: var(--color-gray-mid); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 3px; }
.spec-value { display: block; font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: #fff; line-height: 1; }

.bottom-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tag { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-display); font-size: 0.6rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(214,214,214,0.65); background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.09); padding: 6px 14px; border-radius: 30px; transition: border-color 0.2s, color 0.2s; }
.tag:hover { border-color: rgba(255,255,255,0.25); color: #fff; }
.tag i { font-size: 0.8rem; opacity: 0.6; }

/* Specs table */
.specs-table-section { padding: 80px 0; background: var(--section-dark); }
.specs-table-wrap { border-radius: 12px; border: 1px solid rgba(255,255,255,0.07); background: rgba(10,10,10,0.4); overflow: hidden; }
.specs-table { width: 100%; border-collapse: collapse; color: #fff; }
.specs-table th { padding: 18px 14px; background: rgba(255,255,255,0.025); font-family: var(--font-display); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; border-bottom: 1px solid rgba(255,255,255,0.08); text-align: center; }
.specs-th-label { text-align: left !important; padding-left: 24px !important; color: rgba(214,214,214,0.6) !important; width: 180px; }
.specs-table td { padding: 14px; text-align: center; border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 0.82rem; transition: background 0.2s; }
.specs-row-label { text-align: left !important; padding-left: 24px !important; color: var(--color-gray-mid); font-weight: 600; }
.specs-table tbody tr:hover { background: rgba(255,255,255,0.03); }
.specs-table tbody tr:hover .specs-row-label { color: #fff; }

/* Gallery marquee */
.gallery-marquee-section { overflow: hidden; background: var(--section-alt); padding: 48px 0; width: 100vw; position: relative; left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw; }
.gallery-marquee-section:hover .marquee-container { animation-play-state: paused; }
.marquee-item img { height: 230px; width: auto; border-radius: 10px; transition: transform 0.3s, filter 0.3s; filter: grayscale(0.35) brightness(0.88); }
.marquee-item img:hover { transform: scale(1.04); filter: grayscale(0) brightness(1); box-shadow: 0 10px 30px rgba(0,0,0,0.4); }

@media (max-width:900px) {
  .bus-row, .bus-row:nth-child(even) { flex-direction: column; padding: 60px 24px; }
  .main-img { height: 300px; }
  .bus-row::before { display: none; }
}

/* ============================================================
   11. SERVICE CARDS — glass
   ============================================================ */
.scard-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.scard { position: relative; overflow: hidden; border-radius: 12px; height: 420px; background: #141414; box-shadow: 0 10px 40px rgba(0,0,0,0.35); transition: transform 0.3s, box-shadow 0.3s; }
.scard:hover { transform: translateY(-4px); box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.scard-bg { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; display: block; transition: transform 0.6s; }
.scard:hover .scard-bg { transform: scale(1.05); }
.scard-label { position: absolute; bottom: 0; left: 0; width: 100%; height: 110px; background: linear-gradient(to top,rgba(0,0,0,0.92),transparent); z-index: 2; display: flex; align-items: center; justify-content: center; padding: 0 20px; transition: opacity 0.3s; }
.scard-label h3 { color: #fff; font-family: var(--font-display); font-size: 1rem; font-weight: 700; text-align: center; margin: 0; letter-spacing: 0.04em; }
.scard-overlay { position: absolute; inset: 0; background: rgba(6,6,6,0.88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); z-index: 5; transform: translateY(100%); transition: transform 0.45s cubic-bezier(0.4,0,0.2,1); display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 10px; padding: 28px; text-align: center; }
.scard-icon { font-size: 1.8rem; color: rgba(255,255,255,0.7); }
.scard-overlay h3 { font-family: var(--font-display); font-size: 1rem; font-weight: 700; margin: 0; color: #fff; letter-spacing: 0.04em; }
.scard-overlay p { font-size: 0.82rem; line-height: 1.6; color: rgba(214,214,214,0.8); margin: 0; max-width: 220px; }
@media (max-width:1023px) { .scard-grid { grid-template-columns: repeat(2,1fr); } .scard { height: 340px; } }
@media (max-width:599px) { .scard-grid { grid-template-columns: 1fr; gap: 12px; } .scard { height: 280px; } }

/* servicios.html service-cards glasss */
.service-card { background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 12px; overflow: hidden; transition: border-color 0.3s, background 0.3s, transform 0.3s, box-shadow 0.3s; }
.service-card:hover { border-color: var(--glass-border-md); background: var(--glass-bg-md); transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,0.35); }

/* ============================================================
   12. WHY CARDS — glass
   ============================================================ */
.why-card { background: var(--glass-bg); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--glass-border); border-radius: 12px; transition: border-color 0.3s, background 0.3s, transform 0.3s, box-shadow 0.3s; }
.why-card:hover { border-color: var(--glass-border-md); background: var(--glass-bg-md); transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,0.3); }
.why-icon { font-size: 1.7rem; color: rgba(255,255,255,0.48); display: block; margin-bottom: var(--spacing-md); width: auto; height: auto; filter: none; opacity: 1; transition: color 0.3s, transform 0.3s; }
.why-card:hover .why-icon { color: #fff; transform: scale(1.1); }

/* Stat icons FA */
.stat-icon { font-size: 1.4rem; color: rgba(255,255,255,0.38); display: block; margin-bottom: var(--spacing-md); width: auto; height: auto; filter: none; opacity: 1; transition: color 0.3s; }
.stat-item:hover .stat-icon { color: rgba(255,255,255,0.7); }

/* ============================================================
   13. FOOTER — full-bleed + nav 2 columnas
   ============================================================ */
.footer { padding: 0; width: 100%; background: #040404; border-top: 1px solid rgba(255,255,255,0.06); position: relative; }
.footer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.1) 50%, transparent 100%); }

.footer-inner { padding: var(--spacing-2xl) 0 var(--spacing-xl); }
.footer-content { grid-template-columns: 1.8fr 1fr 1.5fr 1fr; gap: var(--spacing-xl); }

/* Nav 2 columnas */
.footer-nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 0.25rem 1rem; margin-top: 2px; }
.footer-nav-links a { display: block; font-size: var(--text-sm); color: var(--color-gray-mid); margin-bottom: 0; text-decoration: none; padding: 0.18rem 0; transition: color 0.22s, padding-left 0.2s; }
.footer-nav-links a:hover { color: #fff; padding-left: 4px; }

/* Headings footer */
.footer-section h3 { font-family: var(--font-display); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(214,214,214,0.45); margin-bottom: var(--spacing-md); }

/* Contacto FA icons */
.footer-contact-link { display: flex !important; align-items: center; gap: 0.65rem; margin-bottom: 0.65rem; }
.footer-contact-link img { display: none; }
.footer-contact-link i { width: 16px; text-align: center; color: var(--color-gray-mid); font-size: 0.78rem; opacity: 0.5; flex-shrink: 0; transition: opacity 0.2s; }
.footer-contact-link:hover i { opacity: 1; }

/* Social FA */
.social-link { width: 38px; height: 38px; border-radius: 9px; border: 1px solid rgba(117,117,114,0.28); display: flex; align-items: center; justify-content: center; color: var(--color-gray-mid); font-size: 0.88rem; text-decoration: none; transition: border-color 0.2s, background 0.2s, color 0.2s, transform 0.2s; }
.social-link:hover { border-color: rgba(255,255,255,0.35); background: rgba(255,255,255,0.06); color: #fff; transform: translateY(-2px); }
.social-link img { display: none; }

/* Footer logo */
.footer-logo { height: 30px; width: auto; display: block; margin-bottom: var(--spacing-md); opacity: 0.82; }
.footer-brand p { font-size: var(--text-sm); color: var(--color-gray-mid); line-height: 1.65; }

/* Footer bottom */
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); background: rgba(0,0,0,0.3); padding: 0; width: 100%; }
.footer-bottom-inner { padding: var(--spacing-md) 0; display: flex; justify-content: space-between; align-items: center; gap: var(--spacing-sm); }
.footer-bottom-inner p { font-size: var(--text-xs); color: var(--color-gray-mid); margin: 0; opacity: 0.6; }

@media (max-width:1023px) { .footer-content { grid-template-columns: 1fr 1fr; gap: var(--spacing-xl); } }
@media (max-width:599px) {
  .footer-content { grid-template-columns: 1fr; gap: var(--spacing-lg); }
  .footer-nav-links { grid-template-columns: 1fr 1fr; }
  .footer-bottom-inner { flex-direction: column; text-align: center; padding: var(--spacing-md) 0; }
}

/* ============================================================
   14. SECOMSA — contact FA icons
   ============================================================ */
.secomsa-contact-item { display: flex; align-items: flex-start; gap: 16px; margin-bottom: var(--spacing-lg); }
.secomsa-contact-item i { font-size: 1.15rem; color: rgba(255,255,255,0.4); flex-shrink: 0; margin-top: 3px; width: 22px; text-align: center; }
.secomsa-contact-item img { display: none; }
.secomsa-contact-label { font-family: var(--font-display); font-size: 0.62rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--color-gray-mid); margin-bottom: 4px; display: block; }
.secomsa-contact-value, .secomsa-contact-value a { font-size: var(--text-sm); color: rgba(214,214,214,0.78); line-height: 1.65; text-decoration: none; }
.secomsa-contact-value a:hover { color: #fff; }

/* Capacidades glass */
.capacidad-item { background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 12px; padding: var(--spacing-xl) var(--spacing-lg); transition: border-color 0.3s, background 0.3s, transform 0.3s; }
.capacidad-item:hover { border-color: var(--glass-border-md); background: var(--glass-bg-md); transform: translateY(-3px); }

/* ============================================================
   15. CONOCENOS — layout y tonos
   ============================================================ */
.history-section { padding: var(--spacing-2xl) 0; background: var(--section-dark); position: relative; overflow: hidden; }
.history-section::after { content: ''; position: absolute; right: 0; top: 0; bottom: 0; width: 40%; background: radial-gradient(ellipse 80% 60% at 100% 50%, rgba(255,255,255,0.015), transparent); pointer-events: none; z-index: 0; }
.history-content { max-width: 680px; position: relative; z-index: 1; padding: 0; }
.history-title { font-family: var(--font-display); font-size: clamp(2rem,4vw,3.2rem); font-weight: 900; line-height: 1.1; color: #fff; margin-bottom: var(--spacing-xl); letter-spacing: -0.02em; }
.history-text { font-size: var(--text-base); color: rgba(214,214,214,0.7); line-height: 1.8; margin-bottom: var(--spacing-lg); max-width: 640px; }
.history-vision { font-size: 1.05rem; color: rgba(255,255,255,0.88); line-height: 1.7; border-left: 2px solid rgba(255,255,255,0.2); padding-left: var(--spacing-lg); margin-top: var(--spacing-xl); font-style: normal; }

.values-section { background: var(--section-alt); padding: var(--spacing-2xl) 0; }
.mv-block { background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 12px; padding: var(--spacing-xl); }
.value-item { padding: var(--spacing-lg) 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.value-item:last-child { border-bottom: none; padding-bottom: 0; }

/* ============================================================
   16. CONTACTO — mapa
   ============================================================ */
.contact-map-wrap { width: 100%; margin-top: var(--spacing-xl); border-radius: 12px; overflow: hidden; border: 1px solid rgba(255,255,255,0.08); box-shadow: 0 8px 40px rgba(0,0,0,0.4); }
.contact-map-wrap iframe { width: 100%; height: 320px; display: block; border: 0; filter: invert(0.88) hue-rotate(180deg) saturate(0.25) brightness(0.85); }
.contact-map-label { padding: var(--spacing-sm) var(--spacing-md) 0; font-family: var(--font-display); font-size: 0.58rem; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(214,214,214,0.42); }

/* ============================================================
   17. FINANCIAMIENTO — redirect page
   ============================================================ */
.redirect-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: #040404; position: relative; overflow: hidden; }
.redirect-page::before { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 600px; height: 600px; background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 65%); animation: redirectGlow 3s ease-in-out infinite alternate; }
@keyframes redirectGlow { 0%{opacity:.5;transform:translate(-50%,-50%) scale(1);}100%{opacity:1;transform:translate(-50%,-50%) scale(1.2);} }

.redirect-card { position: relative; z-index: 1; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.09); border-radius: 20px; padding: 56px 60px; text-align: center; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); max-width: 500px; width: 90%; box-shadow: 0 24px 80px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.06); animation: cardReveal 0.8s cubic-bezier(0.25,0.46,0.45,0.94) both; }
@keyframes cardReveal { from{opacity:0;transform:translateY(30px) scale(0.97);}to{opacity:1;transform:translateY(0) scale(1);} }

.redirect-logo { height: 30px; width: auto; margin-bottom: 36px; opacity: 0.85; display: block; margin-left: auto; margin-right: auto; }
.redirect-eyebrow { font-family: var(--font-display); font-size: 0.62rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--color-gray-mid); margin-bottom: 14px; display: block; }
.redirect-title { font-family: var(--font-display); font-size: 1.7rem; font-weight: 900; color: #fff; margin-bottom: 10px; line-height: 1.15; }
.redirect-brand { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: rgba(214,214,214,0.7); letter-spacing: 0.06em; margin-bottom: 12px; }
.redirect-sub { font-size: 0.85rem; color: rgba(214,214,214,0.55); margin-bottom: 36px; line-height: 1.6; }
.redirect-progress { width: 100%; height: 2px; background: rgba(255,255,255,0.08); border-radius: 2px; overflow: hidden; margin-bottom: 20px; }
.redirect-bar { height: 100%; background: linear-gradient(90deg, rgba(255,255,255,0.35), #fff); border-radius: 2px; animation: progressFill 3.5s cubic-bezier(0.4,0,0.2,1) forwards; }
@keyframes progressFill { from{width:0%;}to{width:100%;} }
.redirect-counter { font-family: var(--font-display); font-size: 0.7rem; color: var(--color-gray-mid); letter-spacing: 0.1em; }
.redirect-manual { margin-top: 28px; }
.redirect-manual a { font-size: 0.72rem; color: rgba(214,214,214,0.45); text-decoration: none; border-bottom: 1px solid rgba(214,214,214,0.18); padding-bottom: 1px; transition: color 0.2s; }
.redirect-manual a:hover { color: #fff; }

@media (max-width:599px) { .redirect-card { padding: 40px 32px; } }
/* ============================================================
   NUESTRA HISTORIA
============================================================ */

.history-section {
    width: 100%;
    background: #ffffff;
    padding: 35px 0 70px;
}

.history-container {
    width: min(100% - 80px, 1200px);
    margin: 0 auto;
    text-align: center;
}


/* ============================================================
   TÍTULO
============================================================ */

.history-title {
    position: relative;

    margin: 0 0 10px;

    color: #111111;

    font-family: 'Sora', sans-serif;

    font-size: clamp(1.5rem, 2.2vw, 2rem);

    line-height: 1.15;

    font-weight: 700;

    letter-spacing: 1.5px;

    text-transform: uppercase;
}


/* Línea dorada */

.history-title::before {
    content: "";

    display: block;

    width: 100%;

    height: 1px;

    margin-bottom: 6px;

    background: #8f812e;
}


/* ============================================================
   CONTENEDOR DEL VIDEO
============================================================ */

.history-video {
    position: relative;

    width: 100%;

    aspect-ratio: 2.1 / 1;

    overflow: hidden;

    border-radius: 28px;

    background: #222222;

    box-shadow:
        0 12px 35px rgba(0, 0, 0, .10);
}


/* ============================================================
   VIDEOS
============================================================ */

.history-video-player {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    opacity: 0;

    visibility: hidden;

    transition: opacity .35s ease;
}

.history-video-player.active {
    opacity: 1;

    visibility: visible;
}


/* ============================================================
   BOTÓN PLAY
============================================================ */

.history-play {
    position: absolute;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    z-index: 10;

    width: 48px;
    height: 48px;

    padding: 0;

    border: none;

    border-radius: 50%;

    background: rgba(0, 0, 0, .95);

    cursor: pointer;

    display: flex;

    align-items: center;
    justify-content: center;

    transition:
        transform .2s ease,
        background .2s ease;
}


.history-play span {
    width: 0;
    height: 0;

    margin-left: 4px;

    border-top: 8px solid transparent;

    border-bottom: 8px solid transparent;

    border-left: 12px solid #ffffff;
}


.history-play:hover {
    transform:
        translate(-50%, -50%)
        scale(1.08);

    background: #000000;
}
.history-video.is-playing .history-play {
    opacity: 0;
    pointer-events: none;
}

.history-video:hover .history-play {
    opacity: 1;
    pointer-events: auto;
}

.history-play {
    transition: opacity .3s ease;
}


/* ============================================================
   RESPONSIVE
============================================================ */

@media (max-width: 900px) {

    .history-container {
        width: calc(100% - 40px);
    }

    .history-video {
        aspect-ratio: 16 / 9;

        border-radius: 20px;
    }
}


@media (max-width: 600px) {

    .history-section {
        padding: 25px 0 50px;
    }

    .history-container {
        width: calc(100% - 24px);
    }

    .history-video {
        border-radius: 16px;
    }

    .history-title {
        font-size: 1.25rem;
    }

    .history-play {
        width: 42px;
        height: 42px;
    }
}
/* =========================================================
   NUESTRA HISTORIA — CONTROLES
========================================================= */

.history-video {
    position: relative;
}


/* =========================================================
   CONTENEDOR DE CONTROLES
========================================================= */

.history-controls {
    position: absolute;

    inset: 0;

    z-index: 10;

    pointer-events: none;
}


/* =========================================================
   PLAY / PAUSE
========================================================= */

.history-play {
    position: absolute;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    width: 64px;
    height: 64px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border: 1px solid rgba(255,255,255,.75);

    border-radius: 50%;

    background: rgba(0,0,0,.35);

    backdrop-filter: blur(4px);

    cursor: pointer;

    pointer-events: auto;

    opacity: 1;

    transition:
        opacity .25s ease,
        transform .25s ease,
        background .25s ease;
}


/* Hover */

.history-play:hover {
    background: rgba(0,0,0,.55);

    transform:
        translate(-50%, -50%)
        scale(1.08);
}


/* =========================================================
   OCULTAR PLAY MIENTRAS REPRODUCE
========================================================= */

.history-video.is-playing .history-play {
    opacity: 0;

    pointer-events: none;
}


/*
   Al pasar el cursor por el video
   vuelve a aparecer
*/

.history-video.is-playing:hover .history-play {
    opacity: 1;

    pointer-events: auto;
}


/* =========================================================
   ICONO PLAY
========================================================= */

.history-play-icon {
    display: block;

    width: 0;
    height: 0;

    margin-left: 4px;

    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 15px solid #ffffff;
}


/* =========================================================
   ICONO PAUSA
========================================================= */

.history-video.is-playing .history-play-icon {
    width: 15px;
    height: 20px;

    margin-left: 0;

    border: none;

    background:
        linear-gradient(
            to right,
            #ffffff 0,
            #ffffff 5px,
            transparent 5px,
            transparent 10px,
            #ffffff 10px,
            #ffffff 15px
        );
}


/* =========================================================
   BOTÓN SONIDO
========================================================= */

.history-mute {
    position: absolute;

    right: 22px;
    bottom: 20px;

    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border: 1px solid rgba(255,255,255,.6);

    border-radius: 50%;

    background: rgba(0,0,0,.4);

    backdrop-filter: blur(4px);

    cursor: pointer;

    pointer-events: auto;

    transition:
        background .25s ease,
        transform .25s ease;
}

.history-mute:hover {
    background: rgba(0,0,0,.65);

    transform: scale(1.08);
}


/* =========================================================
   ICONO DE SONIDO
========================================================= */

.history-volume-icon {
    position: relative;

    width: 19px;
    height: 16px;

    display: block;
}


/* Bocina */

.history-volume-icon::before {
    content: "";

    position: absolute;

    left: 0;
    top: 5px;

    width: 6px;
    height: 7px;

    background: #ffffff;

    border-radius: 1px;
}


/* Cono */

.history-volume-icon::after {
    content: "";

    position: absolute;

    left: 5px;
    top: 2px;

    width: 0;
    height: 0;

    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-right: 9px solid #ffffff;
}


/* =========================================================
   ESTADO SILENCIADO
========================================================= */

.history-video.is-muted .history-volume-icon {
    opacity: .8;
}

.history-video.is-muted .history-volume-icon::after {
    border-right-color: #ffffff;
}


/* Línea de mute */

.history-video.is-muted .history-volume-icon {
    background:
        linear-gradient(
            45deg,
            transparent 43%,
            #ffffff 44%,
            #ffffff 56%,
            transparent 57%
        );
}

/* ============================================================
   EL ECOSISTEMA
============================================================ */

.ecosystem-section {
    width: 100%;

    background: #ffffff;

    padding: 75px 0 85px;
}


.ecosystem-container {
    width: min(100% - 70px, 1370px);

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        minmax(0, .95fr)
        minmax(0, 1fr);

    gap: clamp(50px, 7vw, 100px);

    align-items: center;
}


/* ============================================================
   COLUMNA IZQUIERDA
============================================================ */

.ecosystem-content {
    max-width: 690px;
}


.ecosystem-eyebrow {
    position: relative;

    margin: 0 0 34px;

    padding-bottom: 10px;

    color: #8f812e;

    font-family: 'Sora', sans-serif;

    font-size: .82rem;

    font-weight: 700;

    letter-spacing: 3px;

    text-transform: uppercase;
}


/* Línea debajo del eyebrow */

.ecosystem-eyebrow::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 58px;

    height: 2px;

    background: #8f812e;
}


/* ============================================================
   TÍTULO
============================================================ */

.ecosystem-title {
    margin: 0 0 30px;

    display: flex;

    flex-direction: column;

    gap: 2px;

    color: #050505;

    font-family: 'Exo 2', sans-serif;

    font-size: clamp(
        2.8rem,
        4.2vw,
        4.2rem
    );

    line-height: 1.02;

    font-weight: 900;

    letter-spacing: -1.8px;
}


.ecosystem-title span {
    display: block;
}


/* ============================================================
   DESCRIPCIÓN
============================================================ */

.ecosystem-description {
    max-width: 620px;

    margin: 0;

    color: #202020;

    font-family: 'Sora', sans-serif;

    font-size: 1rem;

    line-height: 1.9;

    font-weight: 400;
}


/* ============================================================
   COLUMNA DERECHA
============================================================ */

.ecosystem-media-wrapper {
    width: 100%;

    text-align: center;
}


.ecosystem-media {
    position: relative;

    width: 100%;

    aspect-ratio: 1.75 / 1;

    overflow: hidden;

    border-radius: 30px;

    background: #151515;

    box-shadow:
        0 15px 40px rgba(0,0,0,.12);
}


/* ============================================================
   VIDEOS
============================================================ */

.ecosystem-video {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    opacity: 0;

    visibility: hidden;

    transition: opacity .35s ease;
}


.ecosystem-video.active {
    opacity: 1;

    visibility: visible;
}


/* ============================================================
   TEXTO INFERIOR
============================================================ */

.ecosystem-media-caption {
    margin: 12px 0 0;

    color: #a59645;

    font-family: 'Sora', sans-serif;

    font-size: .72rem;

    line-height: 1.4;

    font-weight: 400;

    text-align: center;
}


/* ============================================================
   RESPONSIVE
============================================================ */

@media (max-width: 900px) {

    .ecosystem-section {
        padding: 60px 0 70px;
    }

    .ecosystem-container {

        width: calc(100% - 40px);

        grid-template-columns: 1fr;

        gap: 45px;
    }

    .ecosystem-content {
        max-width: 750px;
    }

    .ecosystem-title {
        font-size: clamp(
            2.5rem,
            7vw,
            3.5rem
        );
    }

}


@media (max-width: 600px) {

    .ecosystem-section {
        padding: 45px 0 55px;
    }

    .ecosystem-container {
        width: calc(100% - 24px);

        gap: 35px;
    }

    .ecosystem-eyebrow {
        margin-bottom: 25px;

        font-size: .72rem;
    }

    .ecosystem-title {
        font-size: 2.35rem;

        letter-spacing: -1px;

        margin-bottom: 22px;
    }

    .ecosystem-description {
        font-size: .85rem;

        line-height: 1.7;
    }

    .ecosystem-media {
        border-radius: 18px;

        aspect-ratio: 16 / 9;
    }

    .ecosystem-media-caption {
        font-size: .6rem;
    }

}
/* ============================================================
   TODO CONECTADO
============================================================ */

.connected-section {
    width: 100%;

    background: #ffffff;

    padding: 65px 0 80px;
}


.connected-container {

    width: min(
        calc(100% - 80px),
        1110px
    );

    margin: 0 auto;

    padding: 10px 22px 20px;

    box-sizing: border-box;

    background-color: #ffffff;

    position: relative;

    overflow: hidden;

}


/* ============================================================
   PUNTOS ANIMADOS
============================================================ */

.connected-container::before {

    content: "";

    position: absolute;

    inset: 0;

    pointer-events: none;

    background-image:
        radial-gradient(
            rgba(0, 0, 0, .20) .7px,
            transparent .8px
        );

    background-size: 5px 5px;

    background-position:
        var(--connected-mx, 0px)
        var(--connected-my, 0px);

    opacity: .55;

    transition:
        background-position .08s linear;

    z-index: 0;
}


/* contenido encima de los puntos */

.connected-container > * {

    position: relative;

    z-index: 1;
}


/* ============================================================
   ENCABEZADO
============================================================ */

.connected-header {

    margin-bottom: 55px;

    text-align: left;
}


.connected-title {

    margin: 0;

    color: #050505;

    font-family: 'Sora', sans-serif;

    font-size: clamp(
        1.25rem,
        2vw,
        1.65rem
    );

    line-height: 1.15;

    font-weight: 800;

    letter-spacing: -1px;
}


.connected-subtitle {

    margin: 4px 0 0;

    color: #8f812e;

    font-family: 'Exo 2', sans-serif;

    font-size: clamp(
        1.55rem,
        2.7vw,
        2.15rem
    );

    line-height: 1.05;

    font-weight: 800;

    letter-spacing: -1px;
}


/* ============================================================
   GRID
============================================================ */

.connected-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;

    align-items: stretch;
}


/* ============================================================
   TARJETAS
============================================================ */

.connected-card {
    text-decoration: none;
    cursor: pointer;

    position: relative;

    min-height: 130px;

    padding: 17px 20px;

    box-sizing: border-box;

    display: flex;

    align-items: center;

    justify-content: space-between;

    overflow: hidden;

    border-radius: 7px;

    border-top:
        4px solid #8f812e;

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}


/* ============================================================
   NEGRA
============================================================ */

.connected-card-dark {

    background: #050505;

    color: #ffffff;
}


.connected-card-dark .connected-number {

    color: #b3a448;
}


.connected-card-dark h4 {

    color: #ffffff;
}


.connected-card-dark p {

    color: #777777;
}


/* ============================================================
   DORADA
============================================================ */

.connected-card-gold {

    background: #8f812e;

    color: #050505;

    border-top-color: #8f812e;
}


.connected-card-gold .connected-number {

    color: #111111;
}


.connected-card-gold h4 {

    color: #ffffff;
}


.connected-card-gold p {

    color: #111111;
}


/* ============================================================
   CONTENIDO
============================================================ */

.connected-card-content {

    position: relative;

    z-index: 2;

    max-width: 63%;
}


.connected-number {

    display: block;

    margin-bottom: 9px;

    font-family: 'Sora', sans-serif;

    font-size: .58rem;

    line-height: 1;

    font-weight: 700;

    letter-spacing: 1px;
}


.connected-card h4 {

    margin: 0 0 5px;

    font-family: 'Sora', sans-serif;

    font-size: .9rem;

    line-height: 1.25;

    font-weight: 800;
}


.connected-card p {

    margin: 0;

    font-family: 'Sora', sans-serif;

    font-size: .7rem;

    line-height: 1.3;

    font-weight: 500;
}


/* ============================================================
   ICONOS
============================================================ */

.connected-card-icon {

    position: relative;

    z-index: 2;

    width: 115px;

    height: 90px;

    flex-shrink: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    color: #c99322;
}


.connected-card-gold .connected-card-icon {

    color: #e6cf36;
}


.connected-card-icon svg {

    width: 100%;

    height: 100%;

    object-fit: contain;

    filter:
        drop-shadow(
            0 5px 5px rgba(0,0,0,.25)
        );
}


/* ============================================================
   HOVER
============================================================ */

@media (hover: hover) and (pointer: fine) {

    .connected-card:hover {

        transform: translateY(-5px) scale(1.015);

        z-index: 5;

        box-shadow:
            0 15px 30px rgba(0,0,0,.18);
    }

}


/* ============================================================
   TABLET
============================================================ */

@media (max-width: 900px) {

    .connected-container {

        width: calc(100% - 40px);

    }


    .connected-grid {

        grid-template-columns:
            repeat(2, 1fr);
    }


    .connected-card:last-child {

        grid-column:
            1 / -1;

        max-width: 50%;

        margin: 0 auto;

        width: 100%;
    }

}


/* ============================================================
   MÓVIL
============================================================ */

@media (max-width: 600px) {

    .connected-section {

        padding: 45px 0 55px;
    }


    .connected-container {

        width: calc(100% - 24px);

        padding:
            8px 12px 15px;
    }


    .connected-header {

        margin-bottom: 30px;
    }


    .connected-title {

        font-size: 1.15rem;
    }


    .connected-subtitle {

        font-size: 1.45rem;

        line-height: 1.1;
    }


    .connected-grid {

        grid-template-columns: 1fr;

        gap: 16px;
    }


    .connected-card {

        min-height: 125px;
    }


    .connected-card:last-child {

        grid-column: auto;

        max-width: none;

        margin: 0;
    }

}

/* ============================================================
   COUNTRY VIDEO — CONTROLES
============================================================ */

.country-video-container {
    position: relative;
}


/* ============================================================
   CONTENEDOR DE CONTROLES
============================================================ */

.country-video-controls {
    position: absolute;
    inset: 0;

    z-index: 20;

    pointer-events: none;
}


/* ============================================================
   PLAY / PAUSE
============================================================ */

.country-video-play {
    position: absolute;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    width: 64px;
    height: 64px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border: 1px solid rgba(255,255,255,.75);
    border-radius: 50%;

    background: rgba(0,0,0,.35);

    backdrop-filter: blur(4px);

    cursor: pointer;

    pointer-events: auto;

    opacity: 1;

    transition:
        opacity .25s ease,
        transform .25s ease,
        background .25s ease;
}


/* HOVER */

.country-video-play:hover {

    background: rgba(0,0,0,.65);

    transform:
        translate(-50%, -50%)
        scale(1.08);

}


/* ============================================================
   OCULTAR PLAY MIENTRAS REPRODUCE
============================================================ */

.country-video-container.is-playing
.country-video-play {

    opacity: 0;

    pointer-events: none;

}


/* MOSTRAR AL PASAR EL CURSOR */

.country-video-container.is-playing:hover
.country-video-play {

    opacity: 1;

    pointer-events: auto;

}


/* ============================================================
   ICONO PLAY
============================================================ */

.country-video-play-icon {

    display: block;

    width: 0;
    height: 0;

    margin-left: 4px;

    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 15px solid #fff;

}


/* ============================================================
   ICONO PAUSA
============================================================ */

.country-video-container.is-playing
.country-video-play-icon {

    width: 15px;
    height: 20px;

    margin-left: 0;

    border: none;

    background:
        linear-gradient(
            to right,
            #fff 0,
            #fff 5px,
            transparent 5px,
            transparent 10px,
            #fff 10px,
            #fff 15px
        );

}


/* ============================================================
   BOTÓN SONIDO
============================================================ */

.country-video-mute {

    position: absolute;

    right: 22px;
    bottom: 20px;

    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border: 1px solid rgba(255,255,255,.65);
    border-radius: 50%;

    background: rgba(0,0,0,.40);

    backdrop-filter: blur(4px);

    cursor: pointer;

    pointer-events: auto;

    transition:
        background .25s ease,
        transform .25s ease;

}


.country-video-mute:hover {

    background: rgba(0,0,0,.65);

    transform: scale(1.08);

}


/* ============================================================
   ICONO VOLUMEN
============================================================ */

.country-video-volume-icon {

    position: relative;

    display: block;

    width: 19px;
    height: 18px;

}


/* BOCINA */

.country-video-volume-icon::before {

    content: "";

    position: absolute;

    left: 0;
    top: 6px;

    width: 6px;
    height: 7px;

    background: #fff;

}


/* CONO */

.country-video-volume-icon::after {

    content: "";

    position: absolute;

    left: 5px;
    top: 3px;

    width: 0;
    height: 0;

    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-right: 10px solid #fff;

}


/* ============================================================
   MÓVIL
============================================================ */

@media (max-width: 767px) {

    .country-video-play {

        width: 54px;
        height: 54px;

    }


    .country-video-mute {

        right: 14px;
        bottom: 14px;

        width: 40px;
        height: 40px;

    }

}


/* RESPONSIVE */

@media (max-width: 900px) {

    .country-video-container {
        width: calc(100% - 40px);

        aspect-ratio: 16 / 9;

        border-radius: 20px;
    }

}


@media (max-width: 600px) {

    .country-video-section {
        padding: 25px 0 50px;
    }

    .country-video-container {
        width: calc(100% - 24px);

        border-radius: 16px;
    }

    .country-video-play {
        width: 46px;
        height: 46px;
    }

}
/* ============================================================
   NUESTRA LÍNEA DE PRODUCTOS
   DISEÑO AJUSTADO A LA REFERENCIA
============================================================ */

.models-section {
    width: 100%;
    background: #f5f3ee;
    padding: 45px 0 55px;
    overflow: visible;
}


/* ============================================================
   CONTENEDOR
============================================================ */

.models-container {
    width: calc(100% - 54px);
    max-width: 1240px;
    margin: 0 auto;
}


/* ============================================================
   ENCABEZADO
============================================================ */

.models-header {
    text-align: left;
    margin-bottom: 25px;
    padding-left: 8px;
}


.models-eyebrow {
    margin: 0 0 6px;

    color: #91822b;

    font-family: 'Sora', sans-serif;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 2px;

    line-height: 1.2;

    text-transform: uppercase;
}


.models-title {
    margin: 0 0 7px;

    color: #050505;

    font-family: 'Exo 2', sans-serif;

    font-size: clamp(2.1rem, 3.4vw, 3.15rem);

    line-height: 1.02;

    font-weight: 900;

    letter-spacing: -1.5px;
}


.models-description {
    width: 100%;
    max-width: 920px;

    margin: 0;

    color: #5f5f5f;

    font-family: 'Sora', sans-serif;

    font-size: 11px;

    line-height: 1.45;

    font-weight: 400;
}


/* ============================================================
   GRID
============================================================ */

.models-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 14px;

    align-items: stretch;
}


/* ============================================================
   TARJETAS
============================================================ */

.model-card {
    position: relative;

    display: flex;

    flex-direction: column;

    min-width: 0;

    height: 260px;

    overflow: hidden;

    border-radius: 4px;

    border: 1px solid rgba(0, 0, 0, .08);

    text-decoration: none;

    color: #fff;

    transform: translateZ(0);

    transition:
        transform .25s ease,
        box-shadow .25s ease;

    cursor: pointer;

    will-change: transform;
}


/* ============================================================
   HOVER
   SOLO CRECE LA TARJETA
   LA IMAGEN NO HACE ZOOM
============================================================ */

.model-card:hover {
    transform: translateY(-5px) scale(1.025);

    box-shadow:
        0 15px 28px rgba(0, 0, 0, .16);

    z-index: 10;
}


/* ============================================================
   COLORES DE LAS TARJETAS
============================================================ */

.model-card-dark {
    background: #19171d;
}

.model-card-purple {
    background: #17121f;
}

.model-card-gold {
    background: #26220b;
}

.model-card-brown {
    background: #2b1b04;
}


/* ============================================================
   PARTE DE LA IMAGEN
============================================================ */

.model-image {
    position: relative;

    width: 100%;

    height: 158px;

    padding: 7px;

    box-sizing: border-box;

    overflow: hidden;

    background: #dedbd1;
}


/*
   IMPORTANTE:
   La imagen NO se transforma al hacer hover.
*/

.model-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    border-radius: 2px;

    transform: none !important;

    transition: none !important;
}


/* ============================================================
   INFORMACIÓN DE LA TARJETA
============================================================ */

.model-info {
    position: relative;

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    flex: 1;

    padding: 11px 10px 10px;
}


/* ============================================================
   NOMBRE
============================================================ */

.model-name {
    display: block;

    margin-bottom: 4px;

    color: #fff;

    font-family: 'Sora', sans-serif;

    font-size: 10px;

    line-height: 1.15;

    font-weight: 700;

    text-transform: uppercase;
}


/* ============================================================
   TIPO
============================================================ */

.model-type {
    display: block;

    color: rgba(255, 255, 255, .62);

    font-family: 'Sora', sans-serif;

    font-size: 7px;

    line-height: 1.35;

    font-weight: 400;

    text-transform: uppercase;
}


/* ============================================================
   BOTÓN
============================================================ */

.model-button {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    margin-top: auto;

    padding: 6px 9px;

    border-radius: 2px;

    background: #998a28;

    color: #090909;

    font-family: 'Sora', sans-serif;

    font-size: 7px;

    line-height: 1;

    font-weight: 700;

    transition:
        background .2s ease,
        transform .2s ease;
}


.model-card:hover .model-button {
    background: #c4b65f;

    transform: translateX(2px);
}


/* ============================================================
   LÍNEA SUPERIOR DORADA
============================================================ */

.model-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 3px;

    background: #95852a;

    z-index: 5;
}


/* ============================================================
   RESPONSIVE
============================================================ */

@media (max-width: 1000px) {

    .models-container {
        width: calc(100% - 40px);
    }

    .models-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .model-card {
        height: 245px;
    }

}


@media (max-width: 600px) {

    .models-section {
        padding: 40px 0 50px;
    }

    .models-container {
        width: calc(100% - 24px);
    }

    .models-header {
        padding-left: 0;
        margin-bottom: 22px;
    }

    .models-title {
        font-size: 2rem;
    }

    .models-description {
        font-size: 10px;
    }

    .models-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .model-card {
        height: 270px;
    }

    .model-image {
        height: 175px;
    }

}

/* ============================================================
   AUDIENCIAS
============================================================ */

.audiences-section {

    width: 100%;

    background: #ffffff;

    padding: 45px 0 70px;

}


.audiences-container {

    width: min(
        980px,
        calc(100% - 50px)
    );

    margin: 0 auto;

}


/* ============================================================
   ENCABEZADO
============================================================ */

.audiences-header {

    margin-bottom: 10px;

}


.audiences-eyebrow {

    margin: 0 0 5px;

    color: #91822b;

    font-family: 'Sora', sans-serif;

    font-size: 9px;

    line-height: 1.2;

    font-weight: 700;

    letter-spacing: 2px;

}


.audiences-title {

    margin: 0;

    color: #090909;

    font-family: 'Exo 2', sans-serif;

    font-size: clamp(
        2rem,
        3.1vw,
        2.7rem
    );

    line-height: 1.05;

    font-weight: 900;

    letter-spacing: -1.2px;

}


/* ============================================================
   GRID
============================================================ */

.audiences-grid {

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 34px;

    margin-top: 8px;

}


/* ============================================================
   TARJETAS
============================================================ */

.audience-card {

    position: relative;

    display: flex;

    flex-direction: column;

    height: 245px;

    overflow: hidden;

    border-radius: 15px;

    border-top:
        3px solid #938329;

    text-decoration: none;

    transition:
        transform .25s ease,
        box-shadow .25s ease;

    cursor: pointer;

}


/* ============================================================
   HOVER
============================================================ */

.audience-card:hover {

    transform:
        translateY(-5px)
        scale(1.015);

    box-shadow:
        0 14px 30px rgba(0,0,0,.18);

    z-index: 5;

}


/* ============================================================
   GOBIERNO
============================================================ */

.audience-government {

    background: #191919;

}


/* ============================================================
   CONCESIONARIOS
============================================================ */

.audience-concessionaire {

    background: #26230c;

}


/* ============================================================
   ILUSTRACIÓN
============================================================ */

.audience-illustration {

    position: relative;

    width: 100%;

    height: 135px;

    display: flex;

    align-items: center;

    justify-content: center;

    overflow: hidden;

}


.audience-illustration img {

    width: 175px;

    height: 125px;

    object-fit: contain;

    display: block;

    transition: none;

}


/* ============================================================
   CONTENIDO
============================================================ */

.audience-content {

    position: relative;

    z-index: 2;

    padding: 0 18px 15px;

    margin-top: auto;

}


.audience-content h3 {

    margin: 0 0 6px;

    color: #ffffff;

    font-family: 'Sora', sans-serif;

    font-size: 1.05rem;

    line-height: 1.1;

    font-weight: 800;

}


.audience-content p {

    width: 90%;

    margin: 0;

    color: rgba(255,255,255,.55);

    font-family: 'Sora', sans-serif;

    font-size: .6rem;

    line-height: 1.5;

    font-weight: 400;

}


/* ============================================================
   BOTÓN
============================================================ */

.audience-button {

    display: inline-block;

    margin-top: 7px;

    color: #9e902d;

    font-family: 'Sora', sans-serif;

    font-size: .58rem;

    line-height: 1;

    font-weight: 600;

    transition:
        color .2s ease,
        transform .2s ease;

}


.audience-card:hover .audience-button {

    color: #c6b85b;

    transform: translateX(3px);

}


/* ============================================================
   RESPONSIVE
============================================================ */

@media (max-width: 750px) {

    .audiences-container {

        width: calc(100% - 30px);

    }


    .audiences-grid {

        grid-template-columns: 1fr;

        gap: 18px;

    }


    .audience-card {

        height: 260px;

    }

}


@media (max-width: 480px) {

    .audiences-section {

        padding: 35px 0 50px;

    }


    .audiences-title {

        font-size: 1.8rem;

    }


    .audience-card {

        height: 250px;

        border-radius: 12px;

    }

}

.national-hex-background {

    position: absolute;

    left: 185px;
    bottom: -1px;

    width: 190px;
    height: 115px;

    z-index: 1;

    pointer-events: none;

    opacity: .38;

    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='42' viewBox='0 0 24 42'%3E%3Cpath d='M12 1 L23 7 L23 19 L12 25 L1 19 L1 7 Z' fill='none' stroke='%23b9aa4a' stroke-width='0.8'/%3E%3Cpath d='M12 25 L23 31 L23 41 L12 47 L1 41 L1 31 Z' fill='none' stroke='%23b9aa4a' stroke-width='0.8'/%3E%3C/svg%3E");

    background-size: 24px 42px;

}
.national-container::after {

    content: "";

    position: absolute;

    left: 0;
    top: 0;

    width: 100%;
    height: 100%;

    pointer-events: none;

    z-index: 2;

    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='42' viewBox='0 0 24 42'%3E%3Cpath d='M12 1 L23 7 L23 19 L12 25 L1 19 L1 7 Z' fill='none' stroke='white' stroke-width='1.1'/%3E%3Cpath d='M12 25 L23 31 L23 41 L12 47 L1 41 L1 31 Z' fill='none' stroke='white' stroke-width='1.1'/%3E%3C/svg%3E");

    background-size: 24px 42px;

    opacity: 0;

    mask-image:
        radial-gradient(
            circle 75px at
            var(--national-mx, 50%)
            var(--national-my, 50%),
            #000 0%,
            rgba(0,0,0,.8) 35%,
            rgba(0,0,0,.35) 65%,
            transparent 100%
        );

    -webkit-mask-image:
        radial-gradient(
            circle 75px at
            var(--national-mx, 50%)
            var(--national-my, 50%),
            #000 0%,
            rgba(0,0,0,.8) 35%,
            rgba(0,0,0,.35) 65%,
            transparent 100%
        );

    transition: opacity .2s ease;

}
.national-container:hover::after {

    opacity: .95;

}

.national-section {
    width: 100% !important;

    background: #ffffff !important;

    color: #050505;

    padding: 35px 0 70px;

    overflow: visible;
}
.national-container {
    position: relative;

    width: 85%;
    max-width: 1200px;

    min-height: 245px;

    margin: 0 auto;

    padding: 15px 25px;

    box-sizing: border-box;

    display: grid;

    grid-template-columns: 1fr 380px;

    gap: 20px;

    align-items: center;

    background: #f4f3ef !important;

    color: #050505;

    overflow: visible;
}
.national-content {
    position: relative;
    z-index: 3;
    padding-right: 10px;
}
.national-eyebrow {
    color: #8f812e !important;
}

.national-title {
    margin: 0 0 10px;

    color: #050505 !important;

    font-family: 'Exo 2', sans-serif;

    font-size: clamp(
        1.45rem,
        2.2vw,
        2rem
    );

    line-height: 1.05;

    font-weight: 900;

    letter-spacing: -0.8px;
}

.national-description {
    max-width: 400px;

    margin: 0;

    color: #666666;

    font-family: 'Sora', sans-serif;

    font-size: 18px;

    line-height: 1.55;
}
.lang-en {
    display: none;
}

html[lang="en"] .lang-es {
    display: none;
}

html[lang="en"] .lang-en {
    display: inline;
}
/* ============================================================
   VIDEO FINAL
============================================================ */

.home-final-video-section {

    width: 100%;

    background: #ffffff;

    padding: 0 0 16px;

}


.home-final-video-container {

    width: min(
        1000px,
        calc(100% - 30px)
    );

    margin: 0 auto;

}


.home-final-video {

    display: block;

    width: 100%;

    height: auto;

    aspect-ratio: 16 / 9;

    object-fit: cover;

    border-radius: 0 0 22px 22px;

    background: #111;

}
/* ============================================================
   CTA FINAL
============================================================ */

.home-final-cta {

    width: 100%;

    background: #ffffff;

    padding: 0 0 35px;

}


.home-final-cta-container {

    position: relative;

    width: min(
        1000px,
        calc(100% - 30px)
    );

    min-height: 145px;

    margin: 0 auto;

    display: flex;

    align-items: center;

    overflow: hidden;

    border-top: 1px solid #95852a;

}


/* ============================================================
   CONTENIDO
============================================================ */

.home-final-cta-content {

    position: relative;

    z-index: 3;

    padding-left: 8px;

}


.home-final-cta h2 {

    margin: 0 0 20px;

    color: #080808;

    font-family: 'Exo 2', sans-serif;

    font-size: clamp(
        1.5rem,
        2.6vw,
        2.2rem
    );

    line-height: 1.05;

    font-weight: 900;

    letter-spacing: -0.8px;

}


/* ============================================================
   BOTÓN
============================================================ */

.home-final-cta-button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-width: 110px;

    padding: 8px 14px;

    border-radius: 5px;

    background: #96872b;

    color: #ffffff;

    text-decoration: none;

    font-family: 'Sora', sans-serif;

    font-size: 8px;

    font-weight: 600;

    transition:
        background .2s ease,
        transform .2s ease;

}


.home-final-cta-button:hover {

    background: #b2a347;

    transform: translateY(-2px);

}


/* ============================================================
   PATRÓN DE PUNTOS
============================================================ */

.home-final-dots {

    position: absolute;

    right: 25px;

    top: 50%;

    width: 170px;

    height: 120px;

    transform: translateY(-50%);

    z-index: 1;

    pointer-events: none;

    background-image:
        radial-gradient(
            circle,
            #161616 1.3px,
            transparent 1.4px
        );

    background-size: 9px 7px;

    opacity: .85;

    mask-image:
        radial-gradient(
            ellipse at center,
            #000 15%,
            rgba(0,0,0,.8) 50%,
            transparent 75%
        );

    -webkit-mask-image:
        radial-gradient(
            ellipse at center,
            #000 15%,
            rgba(0,0,0,.8) 50%,
            transparent 75%
        );

}
/* ============================================================
   EFECTO INTERACTIVO DE PUNTOS
============================================================ */

.home-final-cta-container::after {

    content: "";

    position: absolute;

    inset: 0;

    z-index: 2;

    pointer-events: none;

    background-image:
        radial-gradient(
            circle,
            #111 1.5px,
            transparent 1.6px
        );

    background-size: 9px 7px;

    opacity: 0;

    mask-image:
        radial-gradient(
            circle 90px at
            var(--cta-mx, 50%)
            var(--cta-my, 50%),
            #000 0%,
            rgba(0,0,0,.9) 25%,
            rgba(0,0,0,.5) 55%,
            transparent 100%
        );

    -webkit-mask-image:
        radial-gradient(
            circle 90px at
            var(--cta-mx, 50%)
            var(--cta-my, 50%),
            #000 0%,
            rgba(0,0,0,.9) 25%,
            rgba(0,0,0,.5) 55%,
            transparent 100%
        );

    transition: opacity .2s ease;

}


.home-final-cta-container:hover::after {

    opacity: .9;

}

/* ============================================================
   HEADER MOBILE — CORRECCIÓN DEFINITIVA
   ============================================================ */

@media (max-width: 767px) {

    #main-header .nav {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 0 18px;
        gap: 0;
    }

    #main-header .logo {
        flex-shrink: 0;
    }

    #main-header .logo img {
        width: 145px;
        height: auto;
    }

    #main-header .nav-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;

        width: 44px;
        height: 44px;

        margin-left: auto;
        padding: 0;

        flex-shrink: 0;

        background: transparent !important;
        border: none !important;

        color: #ffffff !important;
        font-size: 24px;

        position: relative;
        z-index: 10002;
    }

    #main-header .nav-toggle i {
        display: block !important;
        color: #ffffff !important;
        font-size: 24px;
    }
    #main-header .nav-close {
    display: flex;
}

    #main-header .nav-right {
    display: flex !important;
    align-items: center;
    margin-left: 8px;
}

#main-header .nav-right .cta-button {
    display: none !important;
}

#main-header .lang-btn--nav {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    background: transparent !important;
    border: none !important;
    color: #ffffff !important;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .5px;
    white-space: nowrap;
}

    #main-header .nav-links {
        position: fixed;

        top: 0;
        right: 0;

        width: min(360px, 85vw);
        height: 100vh;

        margin: 0;
        padding: 90px 25px 30px;

        display: flex;

        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;

        gap: 0;

        background: rgba(0, 0, 0, 0.97);

        transform: translateX(100%);

        transition: transform 0.3s ease;

        overflow-y: auto;

        z-index: 10001;
    }

    #main-header .nav-links.active {
        transform: translateX(0);
    }

}
/* ============================================================
   CORRECCIÓN ANCHO MOBILE
   ============================================================ */

@media (max-width: 767px) {

    html,
    body {
        width: 100%;
        min-width: 0;
        overflow-x: hidden;
    }

    #header-container {
        width: 100%;
    }

    main {
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
        margin: 0 !important;
    }

    main > section {
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
    }

}

/* ============================================================
   RESPONSIVE — MANUFACTURA NACIONAL
============================================================ */

/* TABLET */
@media (max-width: 900px) {

    .national-section {
        padding: 30px 0 55px !important;
    }

    .national-container {
        width: calc(100% - 40px) !important;
        max-width: 700px !important;

        grid-template-columns: 1fr 280px !important;

        gap: 15px !important;

        padding: 25px 20px !important;

        min-height: auto !important;
    }

    .national-content {
        padding-right: 0 !important;
        min-width: 0;
    }

    .national-title {
        font-size: clamp(1.4rem, 3.5vw, 1.8rem) !important;
    }

    .national-description {
        max-width: 100% !important;
        font-size: 15px !important;
        line-height: 1.5 !important;
    }

    .national-image {
        width: 100%;
        min-width: 0;
    }

    .national-image img {
        display: block;
        width: 100%;
        max-width: 100%;
        height: auto;
        object-fit: contain;
    }

}


/* ============================================================
   MÓVIL
============================================================ */

@media (max-width: 600px) {

    .national-section {
        padding: 25px 0 45px !important;
    }

    .national-container {
        width: calc(100% - 30px) !important;

        display: grid !important;
        grid-template-columns: 1fr !important;

        gap: 25px !important;

        padding: 25px 20px !important;

        min-height: auto !important;

        overflow: hidden !important;
    }

    .national-content {
        width: 100%;
        padding: 0 !important;
        min-width: 0;
    }

    .national-eyebrow {
        margin-bottom: 12px !important;

        font-size: 13px !important;
        line-height: 1.4 !important;
    }

    .national-title {
        font-size: clamp(
            1.65rem,
            8vw,
            2.1rem
        ) !important;

        line-height: 1.05 !important;

        letter-spacing: -0.6px !important;
    }

    .national-description {
        width: 100% !important;
        max-width: none !important;

        margin: 15px 0 0 !important;

        font-size: 14px !important;
        line-height: 1.6 !important;
    }

    .national-image {
        width: 100%;
        display: flex;
        justify-content: center;

        min-width: 0;
    }

    .national-image img {
        display: block;

        width: 100%;
        max-width: 320px;

        height: auto;

        object-fit: contain;
    }

}


/* ============================================================
   MÓVILES MUY PEQUEÑOS
============================================================ */

@media (max-width: 400px) {

    .national-container {
        width: calc(100% - 20px) !important;

        padding: 20px 15px !important;

        gap: 20px !important;
    }

    .national-title {
        font-size: 1.55rem !important;
    }

    .national-description {
        font-size: 13px !important;
    }

    .national-image img {
        max-width: 280px;
    }

}

/* =========================================================
   QUIÉNES SOMOS — RESPONSIVE
========================================================= */

@media (max-width: 1023px) {

    .who-container {
        padding:
            42px
            clamp(25px, 5vw, 60px)
            40px;
    }

    .who-header {
        margin-bottom: 35px;
    }

    .who-content {
        column-gap: 30px;
    }

    .who-column {
        padding: 0 8px 8px;
    }

    .who-column h3 {
        font-size: 22px;
    }

    .who-column h4 {
        font-size: 16px;
        max-width: 500px;
    }

    .who-column p {
        font-size: 12.5px;
        line-height: 1.65;
    }

    .who-icon {
        margin-top: 25px;
    }

}


/* =========================================================
   MÓVIL
========================================================= */

@media (max-width: 767px) {

    .who-section {
        width: 100%;
        padding: 0 0 35px;
    }


    /* -----------------------------------------------------
       CONTENEDOR
    ----------------------------------------------------- */

    .who-container {
        width: 100%;

        padding:
            32px
            20px
            35px;

        border-radius: 22px;

        overflow: hidden;
    }


    /* -----------------------------------------------------
       TÍTULO
    ----------------------------------------------------- */

    .who-header {
        margin-bottom: 35px;
    }

    .who-header h2 {
        font-size: clamp(24px, 7vw, 30px);

        letter-spacing: .06em;

        line-height: 1.15;
    }


    /* -----------------------------------------------------
       CONTENIDO
    ----------------------------------------------------- */

    .who-content {
        display: grid;

        grid-template-columns: 1fr;

        row-gap: 35px;

        column-gap: 0;

        width: 100%;
    }


    /* -----------------------------------------------------
       COLUMNAS
    ----------------------------------------------------- */

    .who-column {

        width: 100%;

        padding:
            0
            5px
            5px;

        text-align: center;

        transform: none;
    }

    .who-column:hover {
        transform: none;
    }


    /* -----------------------------------------------------
       TÍTULOS MISIÓN / VISIÓN
    ----------------------------------------------------- */

    .who-column h3 {

        margin-bottom: 14px;

        font-size: 21px;

        line-height: 1.2;
    }


    /* -----------------------------------------------------
       FRASE PRINCIPAL
    ----------------------------------------------------- */

    .who-column h4 {

        width: 100%;

        max-width: 480px;

        margin:
            0 auto 17px;

        font-size: 15px;

        line-height: 1.55;
    }


    /* -----------------------------------------------------
       DESCRIPCIÓN
    ----------------------------------------------------- */

    .who-column p {

        width: 100%;

        max-width: 520px;

        margin: 0 auto;

        font-size: 13px;

        line-height: 1.7;

        text-align: center;
    }


    /* -----------------------------------------------------
       DIVISOR
    ----------------------------------------------------- */

    .who-divider {

        width: 100%;

        height: 1px;

        min-height: 1px;

        margin: 0 auto;

        background:
            linear-gradient(
                to right,
                transparent,
                rgba(196, 177, 93, .7) 15%,
                rgba(196, 177, 93, .7) 85%,
                transparent
            );
    }


    /* -----------------------------------------------------
       ICONOS
    ----------------------------------------------------- */

    .who-icon {

        width: 68px;
        height: 68px;

        margin:
            25px
            auto
            0;
    }

    .who-icon svg {

        width: 68px;
        height: 68px;
    }


    /* -----------------------------------------------------
       EFECTO DE PUNTOS
    ----------------------------------------------------- */

    .who-hover-preview {

        inset: 0;

        width: 100%;
        height: 100%;
    }

    .who-hover-pattern {

        opacity: .55;

        mask-image:
            radial-gradient(
                ellipse 130px 110px
                at var(--who-mx, 50%) var(--who-my, 50%),
                #000 0%,
                #000 25%,
                rgba(0,0,0,.7) 50%,
                rgba(0,0,0,.3) 70%,
                transparent 100%
            );

        -webkit-mask-image:
            radial-gradient(
                ellipse 130px 110px
                at var(--who-mx, 50%) var(--who-my, 50%),
                #000 0%,
                #000 25%,
                rgba(0,0,0,.7) 50%,
                rgba(0,0,0,.3) 70%,
                transparent 100%
            );
    }

}


/* =========================================================
   MÓVILES PEQUEÑOS
========================================================= */

@media (max-width: 400px) {

    .who-container {

        padding:
            28px
            16px
            32px;

        border-radius: 20px;
    }

    .who-header {
        margin-bottom: 30px;
    }

    .who-header h2 {
        font-size: 23px;
    }

    .who-content {
        row-gap: 30px;
    }

    .who-column {
        padding: 0;
    }

    .who-column h3 {
        font-size: 20px;
    }

    .who-column h4 {
        font-size: 14px;
        line-height: 1.55;
    }

    .who-column p {
        font-size: 12px;
        line-height: 1.65;
    }

    .who-icon,
    .who-icon svg {
        width: 62px;
        height: 62px;
    }

}

/* ============================================================
   COUNTRY VIDEO
   MISMO TAMAÑO QUE "NUESTRA HISTORIA"
============================================================ */

.country-video-section {
    width: 100%;
    background: #ffffff;
    padding: 35px 0 70px;
    overflow: hidden;
}

.country-video-container {
    position: relative;

    width: min(100% - 80px, 1200px);
    margin: 0 auto;

    aspect-ratio: 2.1 / 1;

    overflow: hidden;

    border-radius: 28px;

    background: #222222;

    box-shadow:
        0 12px 35px rgba(0, 0, 0, .10);
}


/* ============================================================
   VIDEOS
============================================================ */

.country-video-player {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    display: none;
}

.country-video-player.active {
    display: block;
}


/* ============================================================
   MÓVIL
============================================================ */

@media (max-width: 767px) {

    .country-video-container {
        width: calc(100% - 32px);
        aspect-ratio: 16 / 9;
        border-radius: 20px;
    }

}



