/* ============================================================
   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 {
  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; } }
