/* ============================================================
   GRUPO SEGORA · Sistema de diseño v2
   Paleta: Sapphire + Royal Blue + Amber + Obsidian.
   Tipografía: Fraunces (display) + Inter (sans).
   ============================================================ */

:root {
  /* Paleta principal */
  --obsidian:      #050817;        /* casi negro azulado · backgrounds dramáticos */
  --sapphire:      #0A1432;        /* navy profundo · cards oscuros, secciones */
  --navy:          #0F2154;        /* azul fuerte · primario */
  --royal:         #1B3DD9;        /* azul royal saturado · acentos */
  --electric:      #4575FF;        /* azul eléctrico · highlights, links */
  --amber:         #F5B800;        /* ámbar vibrante · acento principal */
  --amber-bright:  #FFCC33;        /* highlight amber · hovers */
  --amber-soft:    rgba(245, 184, 0, 0.12);

  /* Neutros */
  --cream:         #F2EDE0;        /* off-white cálido · fondo claro alternativo */
  --white:         #FFFFFF;
  --slate:         #1A1F2E;        /* texto principal */
  --mist:          #6B7280;        /* mid gray · texto secundario */
  --smoke:         #9CA3AF;        /* gray claro */
  --border:        #E5E7EB;
  --border-dark:   rgba(255, 255, 255, 0.08);

  /* Aliases (compatibilidad con páginas internas v1) */
  --deep-navy:     var(--obsidian);
  --gold:          var(--amber);
  --light-gold:    var(--amber-bright);
  --graphite:      var(--slate);
  --mid-gray:      var(--mist);
  --bg-light:      var(--cream);

  /* Tipografía */
  --font-display:  'Fraunces', 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --font-serif:    var(--font-display);
  --font-sans:     'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

  /* Sombras */
  --shadow-sm:     0 1px 2px rgba(5, 8, 23, 0.06);
  --shadow-md:     0 8px 32px rgba(5, 8, 23, 0.10);
  --shadow-lg:     0 24px 64px rgba(5, 8, 23, 0.18);
  --shadow-glow:   0 0 40px rgba(245, 184, 0, 0.25);

  /* Easings */
  --ease-out-expo: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out:   cubic-bezier(0.65, 0, 0.35, 1);
}

/* ---------------- RESET ---------------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--slate);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--navy); text-decoration: none; transition: color .25s var(--ease-out-expo); }
a:hover { color: var(--amber); }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
ul { list-style: none; padding: 0; margin: 0; }

::selection { background: var(--amber); color: var(--obsidian); }

/* ---------------- LAYOUT ---------------- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 1024px) { .container { padding: 0 48px; } }

/* ============================================================
   CURSOR CUSTOM (solo desktop / hover devices)
   ============================================================ */
@media (hover: hover) and (pointer: fine) {
  body { cursor: none; }
  a, button, [role="button"], input, textarea, select, .card-tilt, .btn-magnetic { cursor: none; }

  .cursor-dot, .cursor-ring {
    position: fixed;
    top: 0; left: 0;
    pointer-events: none;
    z-index: 9999;
    border-radius: 50%;
    transition: opacity .25s, width .3s var(--ease-out-expo), height .3s var(--ease-out-expo), background .3s, border-color .3s;
    will-change: transform;
  }
  .cursor-dot {
    width: 6px; height: 6px;
    background: var(--amber);
    margin: -3px 0 0 -3px;
    mix-blend-mode: difference;
  }
  .cursor-ring {
    width: 32px; height: 32px;
    border: 1.5px solid rgba(245, 184, 0, 0.5);
    margin: -16px 0 0 -16px;
  }
  .cursor-ring.is-hover {
    width: 56px; height: 56px;
    margin: -28px 0 0 -28px;
    border-color: var(--amber);
    background: rgba(245, 184, 0, 0.08);
  }
}
@media (hover: none) {
  .cursor-dot, .cursor-ring { display: none !important; }
}

/* ============================================================
   SCROLL PROGRESS BAR
   ============================================================ */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--amber), var(--amber-bright));
  z-index: 200;
  transition: width 0.05s linear;
  box-shadow: 0 0 8px rgba(245, 184, 0, 0.6);
}

/* ============================================================
   HEADER GLASS
   ============================================================ */
.site-header,
.header-glass {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(5, 8, 23, 0.55);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid rgba(245, 184, 0, 0.15);
  transition: background .35s var(--ease-out-expo), border-color .35s, padding .35s;
}
.site-header.is-scrolled,
.header-glass.is-scrolled {
  background: rgba(5, 8, 23, 0.85);
  border-bottom-color: rgba(245, 184, 0, 0.3);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  gap: 24px;
  transition: height .35s;
}
.site-header.is-scrolled .header-inner,
.header-glass.is-scrolled .header-inner { height: 70px; }

.brand img {
  height: 48px;
  width: auto;
  transition: transform .3s var(--ease-out-expo);
}
.brand:hover img { transform: scale(1.04); }

.nav, .nav-glass {
  display: none;
  gap: 40px;
  flex: 1;
  justify-content: center;
}
.nav a, .nav-glass a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  letter-spacing: 0.4px;
  position: relative;
  padding: 6px 0;
  transition: color .25s;
}
.nav a:hover, .nav-glass a:hover { color: var(--amber); }
.nav a::after, .nav-glass a::after {
  content: '';
  position: absolute;
  left: 50%; right: 50%;
  bottom: -2px;
  height: 1px;
  background: var(--amber);
  transition: left .3s var(--ease-out-expo), right .3s var(--ease-out-expo);
}
.nav a:hover::after, .nav-glass a:hover::after,
.nav a.is-active::after, .nav-glass a.is-active::after {
  left: 0; right: 0;
}
.nav a.is-active, .nav-glass a.is-active { color: var(--amber); }

.header-actions { display: none; align-items: center; gap: 16px; }
.header-tel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.4px;
}
.header-tel:hover { color: var(--amber-bright); }
.header-tel svg { width: 16px; height: 16px; }

.btn-glass, .nav-cta {
  display: none;
  font-size: 13px;
  font-weight: 600;
  color: var(--obsidian);
  background: var(--amber);
  padding: 12px 22px;
  letter-spacing: 0.4px;
  transition: background .25s, transform .25s, box-shadow .3s;
  border: 0;
}
.btn-glass:hover, .nav-cta:hover {
  background: var(--amber-bright);
  color: var(--obsidian);
  transform: translateY(-1px);
  box-shadow: var(--shadow-glow);
}

@media (min-width: 1024px) {
  .nav, .nav-glass { display: inline-flex; }
  .header-actions { display: inline-flex; }
  .btn-glass, .nav-cta { display: inline-block; }
  .nav-toggle { display: none !important; }
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  z-index: 110;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--white);
  transition: transform .25s, opacity .2s, background .25s;
}
.nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); background: var(--amber); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background: var(--amber); }

.mobile-nav {
  display: flex;
  flex-direction: column;
  background: var(--obsidian);
  padding: 24px 24px 40px;
  border-top: 1px solid rgba(245, 184, 0, 0.15);
  gap: 4px;
}
.mobile-nav a {
  padding: 18px 0;
  font-size: 18px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-display);
}
.mobile-nav a:last-child { border-bottom: 0; }
.mobile-cta {
  margin-top: 16px;
  background: var(--amber);
  color: var(--obsidian) !important;
  padding: 16px 22px !important;
  text-align: center;
  font-weight: 600 !important;
  font-family: var(--font-sans) !important;
  font-size: 14px !important;
  border-bottom: 0 !important;
  letter-spacing: 0.4px;
}

/* ============================================================
   HERO V2
   ============================================================ */
.hero-v2 {
  position: relative;
  min-height: 100vh;
  background: var(--obsidian);
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 80px;
  isolation: isolate;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.7;
}

.hero-mesh {
  position: absolute;
  inset: -10%;
  z-index: 1;
  background:
    radial-gradient(ellipse 50% 45% at 18% 28%, rgba(27, 61, 217, 0.55), transparent 60%),
    radial-gradient(ellipse 38% 38% at 82% 78%, rgba(245, 184, 0, 0.16), transparent 60%),
    radial-gradient(ellipse 55% 55% at 50% 105%, rgba(69, 117, 255, 0.4), transparent 60%);
  animation: meshFloat 24s ease-in-out infinite alternate;
  filter: blur(20px);
  pointer-events: none;
}
@keyframes meshFloat {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(-2%, 1%) scale(1.05); }
  100% { transform: translate(2%, -1%) scale(0.98); }
}

.hero-noise {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.05;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 1100px;
}

.eyebrow-v2 {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--amber);
  text-transform: uppercase;
  margin: 0 0 32px;
  position: relative;
  padding-left: 32px;
}
.eyebrow-v2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 22px;
  height: 1px;
  background: var(--amber);
  transform: translateY(-50%);
}
.eyebrow-v2.light { color: var(--amber-bright); }
.eyebrow-v2.dark::before { background: var(--amber); }
.eyebrow-v2.dark { color: var(--amber); }

.hero-display {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(3rem, 9vw, 8rem);
  line-height: 0.94;
  letter-spacing: -0.04em;
  color: var(--white);
  margin: 0 0 44px;
  font-variation-settings: "opsz" 144;
}
.hero-display .line { display: block; overflow: hidden; }
.hero-display .line span { display: inline-block; }
.hero-display em.accent {
  font-style: italic;
  font-weight: 500;
  color: var(--amber);
  background: linear-gradient(120deg, var(--amber) 0%, var(--amber-bright) 60%, var(--amber) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: clamp(1rem, 0.5vw + 0.95rem, 1.18rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
  max-width: 640px;
  margin: 0 0 48px;
  font-weight: 400;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 56px;
}

.hero-contact {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.4px;
}
.hero-contact a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  transition: color .25s;
}
.hero-contact a:hover { color: var(--amber); }
.hero-contact a svg { width: 16px; height: 16px; }
.hero-contact span { color: rgba(255, 255, 255, 0.25); }

.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 4;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.4px;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  pointer-events: none;
}
.scroll-line {
  width: 1px;
  height: 56px;
  background: linear-gradient(180deg, transparent, var(--amber));
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 1px;
  height: 14px;
  background: var(--amber-bright);
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%   { transform: translateY(-100%); }
  100% { transform: translateY(400%); }
}

/* ============================================================
   BUTTONS — Magnetic
   ============================================================ */
.btn-magnetic {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 32px;
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.4px;
  border-radius: 0;
  transition: transform .25s var(--ease-out-expo), background .25s, color .25s, box-shadow .3s;
  will-change: transform;
  overflow: hidden;
  isolation: isolate;
}
.btn-magnetic svg { width: 16px; height: 16px; transition: transform .3s var(--ease-out-expo); }
.btn-magnetic:hover svg { transform: translateX(4px); }
.btn-magnetic span { position: relative; z-index: 2; }

.btn-amber {
  background: var(--amber);
  color: var(--obsidian);
  border: 1px solid var(--amber);
}
.btn-amber::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--amber-bright);
  transform: translateY(100%);
  transition: transform .35s var(--ease-out-expo);
  z-index: 1;
}
.btn-amber:hover { box-shadow: var(--shadow-glow); color: var(--obsidian); }
.btn-amber:hover::before { transform: translateY(0); }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.btn-ghost::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--white);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease-out-expo);
  z-index: 1;
}
.btn-ghost:hover { color: var(--obsidian); border-color: var(--white); }
.btn-ghost:hover::before { transform: scaleX(1); }

.btn-ghost-dark {
  background: transparent;
  color: var(--obsidian);
  border: 1px solid rgba(15, 33, 84, 0.25);
}
.btn-ghost-dark:hover { background: var(--obsidian); color: var(--white); border-color: var(--obsidian); }

.btn-whatsapp {
  background: #25D366;
  color: var(--white);
}
.btn-whatsapp:hover { background: #1FAB52; box-shadow: 0 8px 32px rgba(37, 211, 102, 0.4); }

/* ============================================================
   TICKER
   ============================================================ */
.ticker {
  background: var(--sapphire);
  border-top: 1px solid rgba(245, 184, 0, 0.18);
  border-bottom: 1px solid rgba(245, 184, 0, 0.18);
  overflow: hidden;
  padding: 22px 0;
  position: relative;
  z-index: 4;
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: tickerScroll 38s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }
.ticker-content {
  display: flex;
  align-items: center;
  gap: 48px;
  padding-right: 48px;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 500;
}
.ticker-content strong {
  color: var(--amber);
  font-weight: 700;
  margin-right: 8px;
}
.ticker-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--amber);
}
@keyframes tickerScroll {
  to { transform: translateX(-50%); }
}

/* ============================================================
   STATS V2
   ============================================================ */
.stats-v2 {
  background: var(--obsidian);
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}
.stats-v2::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(27, 61, 217, 0.12), transparent 60%);
}
.stats-grid-v2 {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
@media (min-width: 768px) {
  .stats-grid-v2 { grid-template-columns: repeat(3, 1fr); }
}
.stat-v2 {
  position: relative;
  padding: 0 0 0 32px;
  border-left: 1px solid rgba(245, 184, 0, 0.25);
}
.stat-num-v2 {
  font-family: var(--font-display);
  font-size: clamp(4rem, 7vw, 6.5rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.04em;
  display: block;
  margin-bottom: 4px;
  font-variation-settings: "opsz" 144;
}
.stat-suffix {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 3rem);
  color: var(--amber);
  font-style: italic;
  font-weight: 500;
  margin-left: 4px;
}
.stat-label-v2 {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 20px;
  line-height: 1.5;
}
.stat-detail {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 12px;
  line-height: 1.5;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}

/* ============================================================
   ABOUT V2
   ============================================================ */
.about-v2 {
  padding: 140px 0;
  position: relative;
  background: var(--white);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
  align-items: start;
}
@media (min-width: 1024px) { .about-grid { grid-template-columns: 0.8fr 1.2fr; gap: 96px; } }

.section-display {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--obsidian);
  margin: 16px 0 32px;
  font-variation-settings: "opsz" 144;
}
.section-display em {
  font-style: italic;
  font-weight: 500;
  color: var(--amber);
}
.section-display.white { color: var(--white); }
.section-display.white em { color: var(--amber-bright); }

.lead-v2 {
  font-size: 18px;
  line-height: 1.65;
  color: var(--mist);
  max-width: 600px;
  margin: 0 0 32px;
}
.lead-v2.light { color: rgba(255, 255, 255, 0.75); }

.about-text {
  font-size: 17px;
  line-height: 1.75;
  color: var(--slate);
}
.about-text p { margin: 0 0 24px; }
.about-text strong { color: var(--obsidian); font-weight: 600; }
.highlight {
  background: linear-gradient(180deg, transparent 60%, var(--amber-soft) 60%);
  padding: 0 4px;
  font-weight: 500;
}

/* Pilares verticales */
.pillars-stack {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--border);
}
.pillar-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  transition: padding-left .35s var(--ease-out-expo), background .35s;
  position: relative;
}
.pillar-row::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--amber);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .4s var(--ease-out-expo);
}
.pillar-row:hover {
  padding-left: 24px;
  background: linear-gradient(90deg, var(--amber-soft), transparent 40%);
}
.pillar-row:hover::before { transform: scaleY(1); }
.pillar-num {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--amber);
  letter-spacing: 1px;
}
.pillar-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  color: var(--obsidian);
  margin: 0;
  line-height: 1.1;
}
.pillar-desc {
  font-size: 14px;
  color: var(--mist);
  margin: 4px 0 0;
}
.pillar-arrow {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mist);
  transition: color .3s, transform .3s;
}
.pillar-row:hover .pillar-arrow { color: var(--amber); transform: translateX(4px); }

/* ============================================================
   SECTORES V2 — con tilt
   ============================================================ */
.sectors-v2 {
  padding: 140px 0;
  background: var(--obsidian);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.sectors-v2::before {
  content: '';
  position: absolute;
  top: -10%; right: -10%;
  width: 50%; height: 50%;
  background: radial-gradient(circle, rgba(27, 61, 217, 0.2), transparent 60%);
  filter: blur(40px);
  pointer-events: none;
}

.sector-grid-v2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 64px;
  perspective: 1500px;
}
@media (min-width: 720px) { .sector-grid-v2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .sector-grid-v2 { grid-template-columns: repeat(3, 1fr); } }

.sector-card-v2 {
  position: relative;
  background: linear-gradient(180deg, var(--sapphire) 0%, rgba(10, 20, 50, 0.6) 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 40px 32px 32px;
  overflow: hidden;
  transition: transform .4s var(--ease-out-expo), border-color .35s, box-shadow .35s;
  will-change: transform;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--cream);
  transform-style: preserve-3d;
}
.sector-card-v2::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 50%, rgba(245, 184, 0, 0.08) 100%);
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
}
.sector-card-v2:hover {
  border-color: rgba(245, 184, 0, 0.5);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(245, 184, 0, 0.2);
}
.sector-card-v2:hover::before { opacity: 1; }
.sector-num-v2 {
  font-family: var(--font-display);
  font-size: 96px;
  font-weight: 600;
  color: rgba(245, 184, 0, 0.10);
  line-height: 1;
  position: absolute;
  top: 16px;
  right: 24px;
  pointer-events: none;
  font-variation-settings: "opsz" 144;
  transition: color .35s, transform .4s var(--ease-out-expo);
}
.sector-card-v2:hover .sector-num-v2 {
  color: rgba(245, 184, 0, 0.18);
  transform: scale(1.05) translate(-4px, 4px);
}
.sector-icon-v2 {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(245, 184, 0, 0.3);
  color: var(--amber);
  margin-bottom: 28px;
  transition: background .3s, transform .35s var(--ease-out-expo);
  position: relative;
  z-index: 2;
}
.sector-card-v2:hover .sector-icon-v2 {
  background: var(--amber-soft);
  transform: rotate(-4deg);
}
.sector-icon-v2 svg { width: 22px; height: 22px; }

.sector-card-v2 h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  color: var(--white);
  margin: 0 0 12px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  position: relative;
  z-index: 2;
}
.sector-card-v2 p {
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
  margin: 0 0 28px;
  flex-grow: 1;
  position: relative;
  z-index: 2;
}
.sector-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}
.chip-v2 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  padding: 7px 12px;
  border: 1px solid;
}
.chip-v2.chip-active {
  color: #4ADE80;
  border-color: rgba(74, 222, 128, 0.5);
  background: rgba(74, 222, 128, 0.08);
}
.chip-v2.chip-soon {
  color: var(--amber-bright);
  border-color: rgba(245, 184, 0, 0.6);
  background: rgba(245, 184, 0, 0.08);
}
.chip-v2.chip-dev {
  color: rgba(255, 255, 255, 0.55);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.03);
}
.chip-v2 .pulse {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.chip-v2.chip-active .pulse { animation: pulseDot 2s ease-in-out infinite; }
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 0 currentColor; opacity: 1; }
  50% { box-shadow: 0 0 0 6px transparent; opacity: 0.8; }
}
.sector-arrow-v2 {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all .3s var(--ease-out-expo);
}
.sector-card-v2:hover .sector-arrow-v2 {
  background: var(--amber);
  color: var(--obsidian);
  border-color: var(--amber);
  transform: translate(4px, -4px) rotate(-45deg);
}
.sector-arrow-v2 svg { width: 16px; height: 16px; }

/* ============================================================
   PROVEEDORES BAND V2 — full bleed parallax
   ============================================================ */
.suppliers-v2 {
  position: relative;
  padding: 160px 0;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.suppliers-bg {
  position: absolute;
  inset: -20% 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 60% at 70% 50%, rgba(27, 61, 217, 0.6), transparent 60%),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(245, 184, 0, 0.15), transparent 60%),
    var(--navy);
  will-change: transform;
}
.suppliers-pattern {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}
.suppliers-content-v2 {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

/* ============================================================
   CUMPLIMIENTO V2
   ============================================================ */
.compliance-v2 {
  padding: 140px 0;
  background: var(--cream);
}
.compliance-grid-v2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 64px;
}
@media (min-width: 720px) { .compliance-grid-v2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .compliance-grid-v2 { grid-template-columns: repeat(4, 1fr); } }

.comp-card {
  position: relative;
  padding: 36px 28px 32px;
  background: var(--white);
  border: 1px solid var(--border);
  transition: transform .35s var(--ease-out-expo), box-shadow .35s, border-color .35s;
  overflow: hidden;
}
.comp-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%;
  height: 2px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease-out-expo);
}
.comp-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--amber);
}
.comp-card:hover::after { transform: scaleX(1); }
.comp-icon-v2 {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--obsidian);
  color: var(--amber);
  margin-bottom: 24px;
  transition: transform .35s var(--ease-out-expo), background .3s;
}
.comp-card:hover .comp-icon-v2 {
  transform: rotate(-6deg) scale(1.05);
  background: var(--navy);
}
.comp-icon-v2 svg { width: 26px; height: 26px; }
.comp-card h3 {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  color: var(--obsidian);
  margin: 0 0 10px;
  line-height: 1.2;
}
.comp-card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--mist);
  margin: 0;
}

/* ============================================================
   CTA HABLEMOS — CTA grande final
   ============================================================ */
.cta-final {
  position: relative;
  background: var(--obsidian);
  color: var(--white);
  padding: 140px 0 120px;
  overflow: hidden;
  isolation: isolate;
}
.cta-final::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(27, 61, 217, 0.25), transparent 50%),
    radial-gradient(circle at 75% 70%, rgba(245, 184, 0, 0.18), transparent 50%);
  z-index: 0;
}
.cta-final-inner {
  position: relative;
  z-index: 2;
  text-align: center;
}
.cta-display-v2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--white);
  margin: 16px auto 56px;
  max-width: 1000px;
  font-variation-settings: "opsz" 144;
}
.cta-display-v2 em {
  font-style: italic;
  font-weight: 500;
  color: var(--amber);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  align-items: center;
}
.cta-tel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 14px 0;
  text-decoration: none;
  transition: transform .3s;
}
.cta-tel:hover { transform: translateY(-2px); }
.cta-tel-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}
.cta-tel-num {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.5vw, 2.25rem);
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.02em;
  transition: color .3s;
}
.cta-tel:hover .cta-tel-num { color: var(--amber); }

.cta-divider {
  width: 1px;
  height: 50px;
  background: rgba(255, 255, 255, 0.15);
}
@media (max-width: 720px) { .cta-divider { display: none; } }

/* ============================================================
   FOOTER V2
   ============================================================ */
.site-footer {
  background: var(--obsidian);
  color: rgba(255, 255, 255, 0.75);
  padding: 96px 0 0;
  position: relative;
  border-top: 1px solid rgba(245, 184, 0, 0.18);
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 10%, var(--amber) 50%, transparent 90%);
  opacity: 0.6;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  padding-bottom: 64px;
}
@media (min-width: 720px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1.4fr 1.2fr; gap: 64px; } }

.footer-brand img { height: 52px; width: auto; margin-bottom: 28px; }
.footer-tag {
  font-family: var(--font-display);
  font-size: 22px;
  font-style: italic;
  color: var(--amber);
  font-weight: 500;
  margin: 0 0 18px;
  letter-spacing: -0.01em;
}
.footer-desc {
  font-size: 14.5px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 24px;
  max-width: 360px;
}
.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.7);
  transition: all .3s var(--ease-out-expo);
}
.footer-social a:hover {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--obsidian);
  transform: translateY(-3px);
}
.footer-social svg { width: 16px; height: 16px; }

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--amber);
  margin: 0 0 22px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}
.footer-col ul li {
  margin-bottom: 12px;
  font-size: 14.5px;
  line-height: 1.5;
}
.footer-col ul a {
  color: rgba(255, 255, 255, 0.7);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color .25s, transform .25s;
}
.footer-col ul a:hover { color: var(--amber-bright); transform: translateX(4px); }
.footer-col ul a svg { width: 14px; height: 14px; flex-shrink: 0; }

.legal-list li {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 16px;
}
.legal-list strong {
  display: block;
  color: var(--amber);
  font-size: 11px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  margin-bottom: 4px;
  font-weight: 700;
}

.subfooter {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 28px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}
@media (min-width: 720px) {
  .subfooter { flex-direction: row; justify-content: space-between; align-items: center; }
}
.subfooter-meta { font-style: italic; color: rgba(245, 184, 0, 0.6); }
.subfooter p { margin: 0; }

.subfooter-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 13px;
}
.subfooter-legal li { position: relative; }
.subfooter-legal li + li::before {
  content: '·';
  position: absolute;
  left: -14px;
  color: rgba(255, 255, 255, 0.3);
}
.subfooter-legal a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color .2s;
}
.subfooter-legal a:hover { color: var(--amber); }
@media (max-width: 719px) {
  .subfooter-legal { gap: 4px 16px; }
  .subfooter-legal li + li::before { left: -10px; }
}

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--ease-out-expo), transform 1s var(--ease-out-expo);
  will-change: opacity, transform;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal-x] {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 1s var(--ease-out-expo), transform 1s var(--ease-out-expo);
}
[data-reveal-x].is-visible {
  opacity: 1;
  transform: translateX(0);
}
[data-reveal-scale] {
  opacity: 0;
  transform: scale(0.96);
  transition: opacity .9s var(--ease-out-expo), transform .9s var(--ease-out-expo);
}
[data-reveal-scale].is-visible {
  opacity: 1;
  transform: scale(1);
}

/* Estado inactivo de links */
.nav a.is-active { color: var(--amber); }
.nav a.is-active::after { left: 0; right: 0; }
a.is-soon {
  color: rgba(255, 255, 255, 0.3) !important;
  cursor: not-allowed;
  pointer-events: none;
}

/* ============================================================
   COMPONENTES COMPARTIDOS PARA PÁGINAS INTERNAS (v1 → v2)
   ============================================================ */
.page-hero {
  position: relative;
  background: var(--obsidian);
  color: var(--white);
  padding: 200px 0 96px;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at top right, rgba(27, 61, 217, 0.25), transparent 60%),
    radial-gradient(ellipse at bottom left, rgba(245, 184, 0, 0.10), transparent 50%);
  pointer-events: none;
}
.page-hero-inner { position: relative; max-width: 880px; }
.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 16px 0 20px;
  color: var(--white);
  font-variation-settings: "opsz" 144;
}
.page-hero h1 em {
  font-style: italic;
  font-weight: 500;
  color: var(--amber);
}
.page-hero p {
  font-size: clamp(1rem, 0.4vw + 0.95rem, 1.18rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
  max-width: 700px;
}
.eyebrow {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.4px;
  color: var(--amber);
  margin: 0 0 24px;
  text-transform: uppercase;
}
.breadcrumb {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.6px;
  color: var(--amber);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.breadcrumb a { color: var(--amber); opacity: 0.7; }
.breadcrumb a:hover { opacity: 1; color: var(--white); }
.breadcrumb span { color: var(--white); opacity: 0.4; margin: 0 8px; }

/* Section eyebrow / lead / title heredados */
.section-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--amber);
  margin: 0 0 16px;
}
.section-eyebrow.eyebrow-light { color: var(--amber-bright); }
.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.15;
  margin: 0 0 24px;
  color: var(--obsidian);
  max-width: 800px;
  letter-spacing: -0.02em;
}
.section-title.section-title-light { color: var(--white); }
.section-title em { font-style: italic; font-weight: 500; color: var(--amber); }
.section-title.section-title-light em { color: var(--amber-bright); }
.section-lead {
  font-size: 17px;
  line-height: 1.7;
  color: var(--slate);
  max-width: 760px;
  margin: 0 0 56px;
}

/* Heredados (sectors, pillars, forms, timeline, etc.) — actualizados a paleta nueva */
.about, .sectors, .compliance, .prose-section { padding: 96px 0; }
.sectors { background: var(--cream); }

/* ============================================================
   LEGAL PROSE · tipografía para páginas legales
   (aviso-de-privacidad / terminos-y-condiciones)
   ============================================================ */
.legal-prose {
  max-width: 820px;
  margin: 0 auto;
  color: var(--slate);
  line-height: 1.75;
  font-size: 16px;
}
.legal-prose h2 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.5rem, 2.6vw, 1.95rem);
  line-height: 1.25;
  margin: 64px 0 16px;
  color: var(--navy);
  letter-spacing: -0.01em;
  scroll-margin-top: 100px;
}
.legal-prose h2:first-child { margin-top: 0; }
.legal-prose h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.2rem;
  margin: 36px 0 12px;
  color: var(--royal);
}
.legal-prose p {
  margin: 0 0 18px;
  color: var(--slate);
}
.legal-prose strong { color: var(--navy); font-weight: 700; }
.legal-prose em { color: var(--mist); font-style: italic; }
.legal-prose a {
  color: var(--royal);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color .2s;
}
.legal-prose a:hover { color: var(--amber); }

.legal-prose ul.bullets {
  list-style: disc;
  padding-left: 24px;
  margin: 0 0 22px;
}
.legal-prose ol {
  list-style: decimal;
  padding-left: 28px;
  margin: 0 0 22px;
}
.legal-prose ul.bullets li,
.legal-prose ol li {
  margin-bottom: 8px;
  padding-left: 4px;
}

.legal-prose dl {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 12px 32px;
  margin: 0 0 28px;
  padding: 20px 24px;
  background: var(--cream);
  border-left: 3px solid var(--amber);
  border-radius: 0 6px 6px 0;
  font-size: 15px;
}
.legal-prose dt {
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 1.4px;
  align-self: center;
}
.legal-prose dd { margin: 0; color: var(--slate); }

.legal-prose hr {
  border: 0;
  border-top: 1px solid rgba(15, 33, 84, 0.12);
  margin: 56px 0 32px;
}

.legal-prose .updated {
  display: inline-block;
  background: var(--obsidian);
  color: rgba(255, 255, 255, 0.85);
  padding: 10px 18px;
  border-radius: 4px;
  font-size: 13px;
  margin-bottom: 48px;
  border-left: 3px solid var(--amber);
  font-family: var(--font-sans);
}

@media (max-width: 720px) {
  .legal-prose { font-size: 15.5px; line-height: 1.7; }
  .legal-prose dl { grid-template-columns: 1fr; gap: 4px 0; padding: 16px 18px; }
  .legal-prose dt { margin-top: 10px; }
  .legal-prose dt:first-child { margin-top: 0; }
}

.pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 48px;
}
@media (min-width: 768px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .pillars { grid-template-columns: repeat(4, 1fr); } }
.pillar {
  background: var(--obsidian);
  color: var(--white);
  padding: 36px 24px;
  position: relative;
  border-top: 3px solid var(--amber);
  border-bottom: 3px solid var(--amber);
  transition: transform .3s var(--ease-out-expo), box-shadow .3s;
}
.pillar:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.pillar h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 12px;
  letter-spacing: 0.5px;
  color: var(--white);
}
.pillar-lead {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.6px;
  color: var(--amber-bright);
  margin: 0 0 12px;
  text-transform: uppercase;
}
.pillar-body {
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
}

/* Sector cards (v1 simple) */
.sector-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 36px;
}
@media (min-width: 720px) { .sector-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .sector-grid { grid-template-columns: repeat(3, 1fr); } }
.sector-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 36px 28px 28px;
  transition: transform .3s var(--ease-out-expo), box-shadow .3s, border-color .3s;
  display: flex;
  flex-direction: column;
}
.sector-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--amber);
}
.sector-icon {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  background: var(--amber-soft);
  color: var(--obsidian);
  margin-bottom: 20px;
}
.sector-icon svg { width: 28px; height: 28px; }
.sector-card h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  color: var(--obsidian);
  margin: 0 0 12px;
}
.sector-card p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--mist);
  margin: 0 0 24px;
  flex-grow: 1;
}
.chip {
  align-self: flex-start;
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 6px 12px;
  border: 1px solid;
}
.chip-active { color: #1F6B3B; background: rgba(45, 106, 62, 0.08); border-color: rgba(45, 106, 62, 0.4); }
.chip-soon { color: #B07F00; background: var(--amber-soft); border-color: rgba(245, 184, 0, 0.5); }
.chip-dev { color: var(--mist); background: var(--cream); border-color: var(--border); }
.sector-note { text-align: center; font-style: italic; color: var(--mist); font-size: 14.5px; margin: 12px 0 0; }

/* Buttons heredados */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.4px;
  padding: 18px 32px;
  transition: transform .25s, background .25s, color .25s;
  border: 1px solid transparent;
}
.btn-gold {
  background: var(--amber);
  color: var(--obsidian);
}
.btn-gold:hover {
  background: var(--amber-bright);
  color: var(--obsidian);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}
.btn-primary {
  display: inline-block;
  background: var(--obsidian);
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.4px;
  padding: 16px 32px;
  transition: background .25s, transform .25s;
  border: 0;
}
.btn-primary:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--obsidian);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.4px;
  padding: 14px 26px;
  border: 1px solid var(--amber);
  transition: background .25s, color .25s;
}
.btn-outline:hover { background: var(--amber); color: var(--obsidian); }

/* Forms (v1) */
.form { display: grid; gap: 18px; max-width: 560px; }
.form-row { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--mist);
}
.form-input, .form-textarea, .form-select {
  font-family: var(--font-sans);
  font-size: 15px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--slate);
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: 0;
  border-color: var(--amber);
  box-shadow: 0 0 0 3px var(--amber-soft);
}
.form-textarea { resize: vertical; min-height: 140px; font-family: var(--font-sans); }
.form-help { font-size: 12.5px; color: var(--mist); margin-top: -4px; }
.form-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.form-note {
  background: var(--amber-soft);
  border-left: 3px solid var(--amber);
  padding: 12px 16px;
  font-size: 13.5px;
  color: var(--slate);
  margin-bottom: 8px;
}
.form-note strong { color: var(--obsidian); }

/* Prose / Grids reutilizables */
.prose { max-width: 760px; font-size: 17px; line-height: 1.75; color: var(--slate); }
.prose h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.8rem, 2vw + 0.7rem, 2.4rem);
  color: var(--obsidian);
  margin: 48px 0 16px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.prose h2 em { font-style: italic; color: var(--amber); }
.prose h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; color: var(--obsidian); margin: 36px 0 12px; }
.prose p { margin: 0 0 20px; }
.prose ul, .prose ol { padding-left: 24px; margin: 0 0 24px; }
.prose ul li, .prose ol li { margin-bottom: 10px; }
.prose ul li::marker { color: var(--amber); }
.prose strong { color: var(--obsidian); }
.prose a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--amber); }

.grid-2, .grid-3, .grid-4 { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 720px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 32px 28px;
  position: relative;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.feature-card.is-hoverable:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--amber);
}
.feature-num {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 600;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 16px;
  display: block;
  font-variation-settings: "opsz" 144;
}
.feature-card h3 { font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--obsidian); margin: 0 0 12px; line-height: 1.25; }
.feature-card p { font-size: 15px; line-height: 1.6; color: var(--mist); margin: 0; }
.feature-card.is-accent { border-top: 3px solid var(--amber); padding-top: 36px; }

/* Timeline */
.timeline { position: relative; margin: 40px 0; padding-left: 32px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 7px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--amber), rgba(245, 184, 0, 0.2));
}
.timeline-item { position: relative; padding-bottom: 36px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -32px; top: 6px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--amber);
}
.timeline-month { font-size: 12px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: var(--amber); margin: 0 0 4px; }
.timeline-title { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; color: var(--obsidian); margin: 0 0 6px; }
.timeline-desc { font-size: 14.5px; line-height: 1.55; color: var(--mist); margin: 0; }

/* Catalog / Steps / Checklist / Contact info */
.catalog-grid { display: grid; gap: 24px; grid-template-columns: 1fr; margin: 24px 0; }
@media (min-width: 768px) { .catalog-grid { grid-template-columns: repeat(3, 1fr); } }
.catalog-col { background: var(--cream); padding: 28px 24px; border-top: 3px solid var(--amber); }
.catalog-col h4 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; color: var(--obsidian); margin: 0 0 14px; }
.catalog-col ul { font-size: 14.5px; line-height: 1.6; color: var(--slate); padding-left: 20px; }
.catalog-col ul li::marker { color: var(--amber); }

.steps-grid { display: grid; gap: 24px; grid-template-columns: 1fr; margin-top: 32px; counter-reset: step; }
@media (min-width: 720px) { .steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps-grid { grid-template-columns: repeat(4, 1fr); } }
.step-card { position: relative; padding: 32px 24px 24px; border: 1px solid var(--border); background: var(--white); }
.step-card::before {
  content: counter(step, decimal-leading-zero);
  counter-increment: step;
  position: absolute;
  top: -16px;
  left: 24px;
  background: var(--amber);
  color: var(--obsidian);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  padding: 6px 12px;
  letter-spacing: 1px;
}
.step-card h3 { font-family: var(--font-display); font-size: 18px; font-weight: 600; color: var(--obsidian); margin: 8px 0 8px; }
.step-card p { font-size: 14.5px; line-height: 1.55; color: var(--mist); margin: 0; }

.checklist { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 24px; }
@media (min-width: 720px) { .checklist { grid-template-columns: 1fr 1fr; } }
.checklist li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 15px; line-height: 1.5; color: var(--slate); padding-left: 0;
}
.checklist li::before {
  content: '';
  flex-shrink: 0;
  width: 22px; height: 22px;
  margin-top: 1px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F5B800' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
}

.contact-info { padding-top: 12px; }
.contact-block { padding: 18px 0; border-bottom: 1px solid var(--border); }
.contact-block:last-child { border-bottom: 0; }
.contact-label {
  font-size: 11px; font-weight: 700; letter-spacing: 1.6px;
  text-transform: uppercase; color: var(--amber);
  margin: 0 0 6px;
}
.contact-value { font-size: 16px; color: var(--obsidian); font-weight: 500; margin: 0; line-height: 1.5; }
.contact-value a { color: var(--obsidian); }
.contact-value a:hover { color: var(--amber); }

.cta-band { background: var(--cream); padding: 64px 0; border-top: 1px solid var(--border); }
.cta-band-inner { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: center; }
@media (min-width: 768px) { .cta-band-inner { grid-template-columns: 1.4fr auto; gap: 48px; } }
.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2vw + 0.6rem, 2.2rem);
  font-weight: 600;
  color: var(--obsidian);
  margin: 0 0 8px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.cta-band h2 em { font-style: italic; color: var(--amber); font-weight: 500; }
.cta-band p { font-size: 16px; color: var(--mist); margin: 0; max-width: 600px; }

/* ============================================================
   MOBILE TWEAKS — pulido fino
   Asegura que NADA se empalme y todo respire en mobile.
   ============================================================ */

/* Defensa global contra overflow horizontal */
html, body { overflow-x: hidden; max-width: 100%; }
img, svg, video, canvas { max-width: 100%; }

/* min-width: 0 permite que flex children se compriman correctamente */
.hero-content, .header-inner, .cta-final-inner, .container > * { min-width: 0; }

@media (max-width: 720px) {
  .container { padding: 0 20px; }

  /* Header más compacto, logo más chico */
  .header-inner { height: 64px; }
  .site-header.is-scrolled .header-inner,
  .header-glass.is-scrolled .header-inner { height: 56px; }
  .brand img { height: 36px; width: auto; }
  .nav-toggle { padding: 8px; margin-right: -8px; }

  /* HERO */
  .hero-v2 {
    padding-top: 96px;
    padding-bottom: 64px;
    min-height: auto;
  }
  .hero-display { font-size: clamp(2.4rem, 11.5vw, 5rem); margin-bottom: 32px; }
  .eyebrow-v2 { font-size: 10.5px; letter-spacing: 2.4px; margin-bottom: 24px; padding-left: 28px; }
  .eyebrow-v2::before { width: 18px; }
  .hero-sub { font-size: 16px; line-height: 1.6; margin-bottom: 32px; max-width: 100%; }
  .hero-ctas { gap: 12px; margin-bottom: 36px; flex-direction: column; align-items: stretch; }
  .hero-ctas .btn-magnetic {
    width: 100%;
    justify-content: center;
    padding: 16px 24px;
    transform: none !important;
  }
  .hero-contact { font-size: 13px; gap: 6px 14px; }
  .hero-contact a { word-break: break-word; }
  .scroll-indicator { display: none; }
  .hero-mesh { inset: 0; }

  /* TICKER */
  .ticker { padding: 16px 0; }
  .ticker-content { gap: 32px; padding-right: 32px; font-size: 12px; }

  /* STATS */
  .stats-v2 { padding: 64px 0; }
  .stats-grid-v2 { gap: 40px; }
  .stat-v2 { padding-left: 24px; }
  .stat-num-v2 { font-size: clamp(3.5rem, 17vw, 5rem); }
  .stat-suffix { font-size: clamp(1.6rem, 7vw, 2.4rem); }
  .stat-label-v2 { font-size: 12px; margin-top: 14px; }

  /* ABOUT */
  .about-v2 { padding: 80px 0; }
  .about-grid { gap: 48px; }
  .section-display { font-size: clamp(2rem, 8.5vw, 3.4rem); margin-bottom: 24px; }
  .lead-v2 { font-size: 16px; }

  /* Pillar row — layout reorganizado en mobile */
  .pillar-row {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    gap: 4px 16px;
    padding: 20px 0;
  }
  .pillar-num {
    grid-column: 1 / -1;
    grid-row: 1;
    font-size: 11px;
    letter-spacing: 1.6px;
  }
  .pillar-row > div { grid-column: 1; grid-row: 2; }
  .pillar-arrow { grid-column: 2; grid-row: 2; align-self: center; }
  .pillar-row:hover { padding-left: 16px; }
  .pillar-title { font-size: 22px; }
  .pillar-desc { font-size: 13.5px; }

  /* SECTORES */
  .sectors-v2 { padding: 80px 0; }
  .sector-grid-v2 { gap: 16px; margin-top: 48px; }
  .sector-card-v2 {
    padding: 32px 24px 24px;
    min-height: 260px;
    transform: none !important; /* anula tilt en mobile */
  }
  .sector-num-v2 { font-size: 64px; top: 12px; right: 18px; }
  .sector-card-v2 h3 { font-size: 22px; }
  .sector-card-v2 p { font-size: 14px; }
  .sector-icon-v2 { width: 44px; height: 44px; margin-bottom: 22px; }
  .sector-icon-v2 svg { width: 20px; height: 20px; }

  /* PROVEEDORES BAND */
  .suppliers-v2 { padding: 88px 0; }

  /* CUMPLIMIENTO */
  .compliance-v2 { padding: 80px 0; }
  .compliance-grid-v2 { gap: 16px; margin-top: 48px; }
  .comp-card { padding: 28px 24px 24px; }
  .comp-card h3 { font-size: 19px; }

  /* CTA FINAL — apilado completo */
  .cta-final { padding: 80px 0; }
  .cta-display-v2 {
    font-size: clamp(1.9rem, 8.5vw, 3rem);
    margin-bottom: 40px;
  }
  .cta-actions {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .cta-actions > * { width: 100%; max-width: 100%; }
  .cta-actions > a { justify-content: center; text-align: center; transform: none !important; }
  .cta-tel {
    align-items: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 18px 16px;
  }
  .cta-tel-num {
    font-size: clamp(1.35rem, 6.5vw, 1.9rem);
    letter-spacing: -0.02em;
  }
  .cta-divider { display: none; }
  .btn-magnetic {
    word-break: keep-all;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* FOOTER */
  .site-footer { padding: 64px 0 0; }
  .footer-grid { gap: 40px; padding-bottom: 48px; }
  .footer-brand img { height: 40px; }
  .footer-tag { font-size: 19px; }
  .footer-desc { font-size: 14px; max-width: 100%; }
  .footer-col h4 { font-size: 13px; margin-bottom: 18px; }
  .footer-col ul li { font-size: 14px; }
  .legal-list li { font-size: 12.5px; }
  .subfooter { padding: 24px 0; gap: 6px; font-size: 12.5px; }

  /* PAGE HERO de páginas internas */
  .page-hero { padding: 130px 0 64px; }
  .page-hero h1 { font-size: clamp(2rem, 8.5vw, 3.4rem); }
  .page-hero p { font-size: 16px; }

  /* Sectores grid v1 (en sectores.html) */
  .sector-grid { gap: 16px; }
  .sector-card { padding: 28px 22px 22px; }
  .sector-card h3 { font-size: 21px; }

  /* Pillars heredado */
  .pillars { gap: 14px; }
  .pillar { padding: 28px 22px; }

  /* Compliance grid v1 */
  .compliance-grid { gap: 24px; margin-top: 24px; }

  /* Forms */
  .form { max-width: 100%; }
  .form-input, .form-textarea, .form-select { font-size: 16px; padding: 13px 14px; } /* 16px evita zoom iOS */

  /* Steps grid */
  .steps-grid { gap: 32px 16px; margin-top: 40px; }
  .step-card { padding: 28px 22px 22px; }

  /* Catalog grid */
  .catalog-grid { gap: 16px; }
  .catalog-col { padding: 24px 20px; }

  /* CTA band v1 */
  .cta-band { padding: 56px 0; }
  .cta-band-inner { gap: 24px; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .hero-display { font-size: clamp(2.1rem, 12vw, 3.5rem); }
  .section-display { font-size: clamp(1.9rem, 9vw, 3rem); }
  .cta-display-v2 { font-size: clamp(1.75rem, 9vw, 2.6rem); }
  .stat-num-v2 { font-size: clamp(3.2rem, 18vw, 4.5rem); }
  .sector-num-v2 { font-size: 56px; }
  .footer-grid { gap: 32px; }
}

/* Pantallas muy bajas (landscape mobile, tablets de altura corta) */
@media (max-height: 600px) and (orientation: landscape) {
  .hero-v2 { padding-top: 100px; padding-bottom: 48px; min-height: auto; }
  .scroll-indicator { display: none; }
}

/* Reducir motion para usuarios con preferencia */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .ticker-track, .scroll-line::after, .hero-mesh { animation: none !important; }
  .hero-canvas { display: none; }
}

/* ============================================================
   FIX · respetar atributo HTML [hidden] siempre.
   Sin esto, cualquier `display: flex` o `display: block` declarado
   más arriba sobrescribe el comportamiento nativo de `hidden` y
   los elementos que deberían estar ocultos (mobile-nav) aparecen.
   ============================================================ */
[hidden] { display: none !important; }

/* Defensa adicional: el menú móvil JAMÁS se muestra en desktop,
   aunque por algún motivo le quitaran el atributo `hidden`. */
@media (min-width: 1024px) {
  .mobile-nav { display: none !important; }
}
