/* =============================================
   TOKENS
   ============================================= */
:root {
  --dark:    #1C1C1A;
  --cream:   #F2EBE0;
  --orange:  #E06820;
  --white:   #FFFFFF;
  --dark-80: rgba(28,28,26,0.80);
  --dark-60: rgba(28,28,26,0.60);
  --gray:    #888888;
  --gray-dk: #444440;
  --border:  rgba(255,255,255,0.08);
  --border-cream: rgba(17,17,17,0.10);
  --font: 'Manrope', sans-serif;
  --ease: cubic-bezier(0.16,1,0.30,1);
  --ease-back: cubic-bezier(0.34,1.56,0.64,1);
}

/* =============================================
   RESET
   ============================================= */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body {
  font-family: var(--font);
  background: var(--dark);
  color: var(--white);
  overflow-x: hidden;
  cursor: none;
}
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
button { cursor: none; font-family: var(--font); border: none; background: none; }

/* =============================================
   CURSOR
   ============================================= */
#cursor {
  position: fixed;
  width: 14px; height: 14px;
  background: var(--orange);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%,-50%);
  transition: width .25s var(--ease), height .25s var(--ease), background .25s var(--ease), opacity .25s;
  mix-blend-mode: normal;
}
#cursor.expanded {
  width: 52px; height: 52px;
  background: transparent;
  border: 1.5px solid var(--orange);
}
#cursor.hidden { opacity: 0; }
@media (hover:none) { #cursor { display:none; } body { cursor: auto; } button,a { cursor: pointer; } }

/* =============================================
   NAV
   ============================================= */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  transition: background .4s var(--ease), backdrop-filter .4s var(--ease), border-bottom .4s;
}
nav.scrolled {
  background: rgba(28,28,26,0.90);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-logo,
.nav-logo_segi {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--white);
}

.nav-logo_segi img.nav-logo-img,
.nav-logo img.nav-logo-img {
  display: block;
  width: auto;
  height: 48px!important;
  max-width: 180px;
  object-fit: contain;
}
.nav-logo span { color: var(--orange); }
.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  transition: color .2s;
}
.nav-links a:hover { color: var(--white); }
.nav-cta {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 12px 16px;
  background: var(--orange);
  color: var(--white);
  transition: transform .2s var(--ease), box-shadow .2s;
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(224,104,32,0.35);
}
.nav-mobile-toggle,
.nav-mobile-panel,
.nav-mobile-backdrop {
  display: none;
}
.nav-mobile-toggle {
  position: relative;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  color: var(--white);
  transition: border-color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease);
}
.nav-mobile-toggle:hover {
  border-color: rgba(255,255,255,0.28);
  background: rgba(255,255,255,0.04);
}
.nav-mobile-toggle-box {
  width: 18px;
  height: 14px;
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
}
.nav-mobile-toggle-line {
  display: block;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transform-origin: center;
  transition: transform .28s var(--ease), opacity .2s var(--ease);
}
.nav-mobile-backdrop {
  position: fixed;
  inset: 0;
  z-index: 108;
  background: rgba(14,14,13,0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .28s var(--ease);
}
.nav-mobile-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 109;
  width: min(86vw, 380px);
  padding: 22px 20px 28px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0) 100%),
    rgba(28,28,26,0.98);
  border-left: 1px solid rgba(255,255,255,0.08);
  box-shadow: -24px 0 80px rgba(0,0,0,0.35);
  transform: translateX(100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform .35s var(--ease);
}
.nav-mobile-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav-mobile-logo img.nav-logo-img {
  height: 40px!important;
  max-width: 140px;
}
.nav-mobile-close {
  position: relative;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  transition: border-color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease);
}
.nav-mobile-close:hover {
  border-color: rgba(255,255,255,0.28);
  background: rgba(255,255,255,0.04);
}
.nav-mobile-close-line {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 1.5px;
  background: var(--white);
}
.nav-mobile-close-line:first-child { transform: translate(-50%, -50%) rotate(45deg); }
.nav-mobile-close-line:last-child { transform: translate(-50%, -50%) rotate(-45deg); }
.nav-mobile-body {
  margin-top: 40px;
}
.nav-mobile-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.nav-mobile-links .menu-item {
  list-style: none;
}
.nav-mobile-links a {
  display: flex;
  align-items: center;
  min-height: 54px;
  padding: 0 4px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color .2s, border-color .2s, transform .2s var(--ease);
}
.nav-mobile-links a:hover,
.nav-mobile-links .current-menu-item > a,
.nav-mobile-links .current-menu-ancestor > a {
  color: var(--white);
  border-color: rgba(255,255,255,0.24);
}
.nav-mobile-links .menu-item.nav-cta {
  margin-top: 8px;
}
.nav-mobile-links .menu-item.nav-cta a {
  justify-content: center;
  padding: 0 18px;
  border: none;
  background: var(--orange);
  color: var(--white);
}
.nav-mobile-body > .nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 54px;
  margin-top: 18px;
  padding: 0 18px;
  border: none;
  background: var(--orange);
  color: var(--white);
}
.nav-mobile-body > .nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(224,104,32,0.35);
}
body.nav-mobile-open {
  overflow: hidden;
}
body.nav-mobile-open .nav-mobile-backdrop {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
body.nav-mobile-open .nav-mobile-panel {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}
body.nav-mobile-open .nav-mobile-toggle-line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
body.nav-mobile-open .nav-mobile-toggle-line:nth-child(2) {
  opacity: 0;
}
body.nav-mobile-open .nav-mobile-toggle-line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* =============================================
   HERO
   ============================================= */
#hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  background: var(--dark);
  overflow: hidden;
  display: flex;
  align-items: center;
}
/* VIDEO HERO */
.hero-video-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.78;
  filter: grayscale(0.05) brightness(0.88) contrast(1.02);
}
/* Cinematic CSS fallback — active when video has no src or fails to load */
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 80% 50%, rgba(224,104,32,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 15% 80%, rgba(224,104,32,0.04) 0%, transparent 60%),
    var(--dark);
  display: none; /* video siempre presente */
}
/* Gradient overlay que va encima del video */
.hero-video-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(28,28,26,0.94) 0%, rgba(28,28,26,0.65) 36%, rgba(28,28,26,0.08) 58%, rgba(28,28,26,0.02) 100%),
    linear-gradient(to bottom, rgba(28,28,26,0.30) 0%, transparent 16%, transparent 70%, rgba(28,28,26,0.80) 100%);
}
@keyframes bgPulse {
  from { opacity: 1; }
  to { opacity: 0.7; background:
    radial-gradient(ellipse 70% 80% at 75% 40%, rgba(224,104,32,0.09) 0%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 20% 90%, rgba(224,104,32,0.05) 0%, transparent 60%),
    var(--dark);
  }
}
.hero-ghost-num {
  position: absolute;
  right: -4vw;
  top: 50%;
  transform: translateY(-55%);
  font-size: clamp(200px, 30vw, 520px);
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.055);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}
.hero-noise {
  position: absolute;
  inset: 0;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  pointer-events: none;
}
.hero-line-v {
  position: absolute;
  left: 48px; top: 72px; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--orange) 30%, rgba(224,104,32,0.2) 80%, transparent);
  opacity: 0;
  animation: lineReveal 1s var(--ease) 0.4s forwards;
}
@keyframes lineReveal { to { opacity: 1; } }
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 80px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 80px;
  align-items: center;
}
.hero-left {}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp .7s var(--ease) 0.3s forwards;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px; height: 1px;
  background: var(--orange);
}
.hero-eyebrow span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
}
.hero-headline {
  font-size: clamp(28px, 3.2vw, 56px);
  font-weight: 300;
  line-height: 1.10;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 32px;
}
.hero-headline .line { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.hero-headline .line-inner {
  display: block;
  transform: translateY(110%);
  transition: transform .9s var(--ease);
}
.hero-headline .line-inner.visible { transform: translateY(0); }
.hero-headline em {
  font-style: normal;
  color: var(--orange);
}
.hero-sub {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255,255,255,0.55);
  max-width: 520px;
  margin-bottom: 48px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp .8s var(--ease) 1.1s forwards;
}
.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp .8s var(--ease) 1.3s forwards;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 36px;
  background: var(--orange);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.08);
  transform: translateX(-100%);
  transition: transform .4s var(--ease);
}
.btn-primary:hover::after { transform: translateX(0); }
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(224,104,32,0.40);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.60);
  transition: color .2s;
}
.btn-secondary:hover { color: var(--white); }
.btn-secondary svg { transition: transform .2s var(--ease); }
.btn-secondary:hover svg { transform: translateX(4px); }

.hero-right {
  display: flex;
  flex-direction: column;
  gap: 0;
  opacity: 0;
  transform: translateX(40px);
  animation: fadeLeft .9s var(--ease) 0.8s forwards;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.hero-stat {
  padding: 28px 32px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: relative;
}
.hero-stat:last-child { border-bottom: none; }
.hero-stat:first-child::after {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--orange);
}
.hero-stat-num {
  display: block;
  font-size: clamp(40px, 3.8vw, 58px);
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: -0.03em;
}
.hero-stat-num.orange { color: var(--orange); }
.hero-stat-label {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.6;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.03em;
}
.hero-scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
  animation: fadeUp .6s var(--ease) 1.8s forwards;
}
.hero-scroll-hint span {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.30);
}
.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--orange), transparent);
  animation: scrollPulse 2s ease-in-out 2s infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(0.6); }
}
@keyframes fadeUp { to { opacity:1; transform:translateY(0); } }
@keyframes fadeLeft { to { opacity:1; transform:translateX(0); } }

/* =============================================
   TICKER
   ============================================= */
.ticker-wrap {
  background: var(--orange);
  overflow: hidden;
  padding: 14px 0;
  user-select: none;
}
.ticker-track {
  display: flex;
  white-space: nowrap;
  animation: tickerMove 30s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }
.ticker-item {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-right: 32px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
}
.ticker-sep {
  width: 4px; height: 4px;
  background: rgba(255,255,255,0.50);
  border-radius: 50%;
  flex-shrink: 0;
}
@keyframes tickerMove {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* =============================================
   MANIFIESTO — LINE REVEAL
   ============================================= */
#manifesto {
  background: var(--dark);
  padding: 140px 0;
  overflow: hidden;
}
.manifesto-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 80px;
}
.manifesto-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 64px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.manifesto-eyebrow.visible { opacity: 1; transform: translateY(0); }
.manifesto-line {
  display: block;
  font-size: clamp(20px, 2.4vw, 40px);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--white);
  overflow: hidden;
  margin-bottom: 4px;
}
.manifesto-line .line-mask {
  display: block;
  transform: translateY(105%);
  transition: transform .85s var(--ease);
}
.manifesto-line.visible .line-mask { transform: translateY(0); }
.manifesto-line.dim .line-mask { color: rgba(255,255,255,0.20); }
.manifesto-line.accent .line-mask { color: var(--orange); }
.manifesto-body {
  margin-top: 72px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.manifesto-p {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  color: rgba(255,255,255,0.55);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  text-align: justify;
  -webkit-transition: opacity .7s var(--ease), transform .7s var(--ease);
  -moz-transition: opacity .7s var(--ease), transform .7s var(--ease);
  -ms-transition: opacity .7s var(--ease), transform .7s var(--ease);
  -o-transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.manifesto-p strong { color: rgba(255,255,255,0.85); font-weight: 600; }
.manifesto-p.visible { opacity: 1; transform: translateY(0); }


/* =============================================
   SERVICIOS — FOTO LATERAL
   ============================================= */
.svc-photos {
  position: relative;
  overflow: hidden;
}
.svc-photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity .9s cubic-bezier(0.16,1,0.30,1), transform 1.2s cubic-bezier(0.16,1,0.30,1);
}
.svc-photo.active {
  opacity: 1;
  transform: scale(1);
}
.svc-photo-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* =============================================
   SERVICIOS — STICKY SCROLL
   ============================================= */
#servicios {
  position: relative;
  height: 420vh;
  background: var(--cream);
}
.servicios-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: grid;
  grid-template-columns: 360px 1fr 42vw;
}
.svc-nav {
  background: var(--dark);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 48px;
  border-right: 1px solid var(--border);
}
.svc-nav-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 40px;
}
.svc-nav-title {
  font-size: clamp(32px, 2.6vw, 44px);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 56px;
}
.svc-nav-items { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.svc-nav-item {
  padding: 12px 0;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: none;
  transition: padding-left .3s var(--ease);
}
.svc-nav-item:last-child { border-bottom: 1px solid var(--border); }
.svc-nav-item.active { padding-left: 8px; }
.svc-nav-num {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.25);
  transition: color .3s;
  min-width: 24px;
}
.svc-nav-item.active .svc-nav-num { color: var(--orange); }
.svc-nav-name {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.40);
  transition: color .3s;
  letter-spacing: 0.03em;
}
.svc-nav-item.active .svc-nav-name { color: var(--white); }
.svc-nav-bar {
  width: 0;
  height: 1px;
  background: var(--orange);
  transition: width .4s var(--ease);
  margin-left: auto;
}
.svc-nav-item.active .svc-nav-bar { width: 32px; }

.svc-panel {
  background: var(--cream);
  position: relative;
  overflow: hidden;
}
.svc-slide {
  position: absolute;
  inset: 0;
  padding: 80px 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
  pointer-events: none;
}
.svc-slide.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.svc-slide-num {
  font-size: clamp(100px, 14vw, 200px);
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1px rgba(17,17,17,0.06);
  line-height: 1;
  margin-bottom: -20px;
  display: block;
}
.svc-slide-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 20px;
  margin-top: 12px;
}
.svc-slide-title {
  font-size: clamp(32px, 3.5vw, 52px);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #111111;
  margin-bottom: 28px;
  max-width: 540px;
}
.svc-slide-body {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
  color: #555550;
  max-width: 520px;
  margin-bottom: 36px;
  text-align: justify;
}
.svc-slide-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.svc-tag {
  padding: 8px 16px;
  border: 1px solid rgba(17,17,17,0.15);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #444440;
}
.svc-progress {
  position: absolute;
  bottom: 0; left: 0;
  height: 3px;
  background: var(--orange);
  transition: width .2s linear;
}

/* =============================================
   DATOS / STATS
   ============================================= */
#datos {
  background: var(--dark);
  padding: 140px 0;
  border-top: 1px solid var(--border);
}
.datos-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 80px;
}
.datos-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 80px;
  gap: 32px;
}
.datos-title {
  font-size: clamp(36px, 4vw, 60px);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 500px;
}
.datos-desc {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  color: rgba(255,255,255,0.55);
  
  max-width: none;
}
.datos-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 1px;
  background: var(--border);
}
.dato-card {
  background: var(--dark);
  padding: 52px 40px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  -webkit-transition: opacity .7s var(--ease), transform .7s var(--ease);
  -moz-transition: opacity .7s var(--ease), transform .7s var(--ease);
  -ms-transition: opacity .7s var(--ease), transform .7s var(--ease);
  -o-transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.dato-card.visible { opacity: 1; transform: translateY(0); }
.dato-card:first-child { padding: 52px 56px; }
.dato-num {
  display: block;
  font-size: clamp(52px, 5.5vw, 88px);
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}
.dato-num.orange { color: var(--orange); }
.dato-label {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  color: rgba(255,255,255,0.45);
}

/* =============================================
   CLIENTES — LOGO GRID
   ============================================= */
#clientes {
  background: var(--dark);
  padding: 100px 0 120px;
  overflow: hidden;
}
.clientes-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 80px;
}
.clientes-eyebrow {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.clientes-eyebrow.visible { opacity: 1; transform: translateY(0); }
.clientes-sub {
  font-size: 20px;
  font-weight: 300;
  line-height: 1.4;

  color: rgba(255,255,255,0.65);
  margin-bottom: 64px;
  max-width: 480px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .6s var(--ease) .1s, transform .6s var(--ease) .1s;
}
.clientes-sub.visible { opacity: 1; transform: translateY(0); }
.logo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.06);
}
.logo-cell {
  background: var(--dark);
  padding: 48px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s var(--ease), transform .6s var(--ease), background .3s;
  cursor: none;
}
.logo-cell.visible { opacity: 1; transform: translateY(0); }
.logo-cell:hover { background: rgba(255,255,255,0.03); }
.logo-cell:hover .logo-img-placeholder { opacity: 0.80; }
/* Placeholder SVG logos — reemplazar con img src del logo real */
.logo-img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  opacity: 0.70;
  transition: opacity .3s;
}
.logo-img-placeholder img { width: 100%; height: auto; }

/* BHP */
.logo-bhp svg { width: 140px; height: 60px; }
/* Codelco */
.logo-codelco svg { width: 140px; height: 60px; }
/* Anglo American */
.logo-anglo svg { width: 140px; height: 60px; }
/* Energía */
.logo-aes svg { width: 140px; height: 60px; }
/* Wood */
.logo-wood svg { width: 140px; height: 60px; }
/* Hatch */
.logo-hatch svg { width: 140px; height: 60px; }
.logo-sector-tag {
  position: absolute;
  bottom: 14px;
  left: 16px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.18);
}

/* =============================================
   DIFERENCIADORES
   ============================================= */
#diferenciadores {
  background: var(--cream);
  padding: 140px 0;
}
.dif-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 80px;
}
.dif-header {
  margin-bottom: 80px;
}
.dif-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 24px;
}
.dif-title {
  font-size: clamp(24px, 2.8vw, 44px);
  font-weight: 300;
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: #111111;
  white-space: nowrap;
}
.dif-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: rgba(17,17,17,0.08);
}
.dif-card {
  background: var(--cream);
  padding: 48px 40px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  display: flex;
  flex-direction: column;
}
.dif-card.visible { opacity: 1; transform: translateY(0); }
.dif-card.visible:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(0,0,0,0.10);
}
.dif-card-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 24px;
}
.dif-card-title {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: #111111;
  margin-bottom: 20px;
}
.dif-card-body {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  color: #555550;
  margin-bottom: 28px;
}
.dif-card-quote {
  font-size: 13px;
  font-weight: 700;
  color: #111111;
  font-style: italic;
  padding-top: 20px;
  border-top: 1px solid rgba(17,17,17,0.10);
  margin-top: auto;
}

/* =============================================
   EQUIPO
   ============================================= */
#equipo {
  background: var(--dark);
  padding: 140px 0;
}
.equipo-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.equipo-foto {
  position: relative;
  aspect-ratio: 4/5;
  background: #2A2A28;
  overflow: hidden;
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.equipo-foto.visible { opacity: 1; transform: translateX(0); }
.equipo-foto-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 32px;
}
.equipo-foto::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(224,104,32,0.08) 0%, transparent 60%);
}
.equipo-foto-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
}
.equipo-foto-icon {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-55%);
  width: 120px; height: 120px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.equipo-foto-icon svg { opacity: 0.15; }
.equipo-text {
  opacity: 0;
 
  transition: opacity .9s var(--ease) .2s, transform .9s var(--ease) .2s;
}
.equipo-text.visible { opacity: 1; transform: translateX(0); }
.equipo-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 24px;
}
.equipo-name {
  font-size: clamp(36px, 3.5vw, 54px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 12px;
}
.equipo-role {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--orange);
  margin-bottom: 32px;
  text-transform: uppercase;
}
.equipo-bio {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.72;
  color: rgba(255,255,255,0.55);
  margin-bottom: 16px;
  text-align: justify;
}
.equipo-bio strong { color: rgba(255,255,255,0.80); font-weight: 600; }
.equipo-vals {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.equipo-val {
  padding: 14px 0;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 20px;
  align-items: baseline;
}
.equipo-val:last-child { border-bottom: 1px solid var(--border); }
.equipo-val-n {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--orange);
  min-width: 24px;
}
.equipo-val-t {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.65);
}

/* =============================================
   CONTACTO
   ============================================= */
#contacto {
  background: var(--cream);
  padding: 140px 0;
}
.ct-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.ct-left {}
.ct-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 28px;
}
.ct-title {
  font-size: clamp(36px, 3.8vw, 58px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: #111111;
  margin-bottom: 28px;
}
.ct-sub {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  color: #555550;
  margin-bottom: 48px;
}
.ct-datos { display: flex; flex-direction: column; gap: 24px; }
.ct-dato {}
.ct-dato label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(17,17,17,0.40);
  margin-bottom: 6px;
}
.ct-dato a, .ct-dato span {
  font-size: 16px;
  font-weight: 600;
  color: #111111;
  transition: color .2s;
}
.ct-dato a:hover { color: var(--orange); }

/* FORM */
.form {
  background: var(--white);
  padding: 48px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.fg {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}
.fg:last-of-type { margin-bottom: 0; }
.fg label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(17,17,17,0.45);
}
.fg input, .fg select, .fg textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--cream);
  border: 1px solid rgba(17,17,17,0.08);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 400;
  color: #111111;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none;
  border-radius: 0;
}
.fg input:focus, .fg select:focus, .fg textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(224,104,32,0.10);
}
.fg textarea {
  min-height: 128px;
  resize: vertical;
}
.fg select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.btn-submit {
  width: 100%;
  margin-top: 24px;
  padding: 18px 32px;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
  cursor: none;
  position: relative;
  overflow: hidden;
}
.btn-submit::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.10);
  transform: translateX(-100%);
  transition: transform .4s var(--ease);
}
.btn-submit:hover::after { transform: translateX(0); }
.btn-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(224,104,32,0.40);
}

/* =============================================
   FOOTER
   ============================================= */
footer {
  background: #111111;
  padding: 72px 0 40px;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.ft-top {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 80px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 64px;
  margin-bottom: 64px;
}
.ft-brand-name {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--white);
  margin-bottom: 16px;
}
.ft-brand-name span { color: var(--orange); }
.ft-brand-name img {     width: 90px;
    height: auto;}
.ft-brand-desc {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.7;
  color: rgba(255,255,255,0.35);
}
.ft-col h4 {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  margin-bottom: 20px;
}
.ft-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.ft-col a {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.45);
  transition: color .2s;
}
.ft-col a:hover { color: var(--white); }
.ft-bottom {
  max-width: 1440px;
  margin: 0 auto;
  padding: 24px 80px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.ft-copy {
  font-size: 12px;
  font-weight: 400;
  color: rgba(255,255,255,0.20);
}
.flama-attr {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.20);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  nav { padding: 0 32px; }
  .hero-inner { padding: 0 32px; grid-template-columns: 1fr; gap: 48px; }
  .hero-right { display: none; }
  .hero-ghost-num { display: none; }
  .manifesto-inner { padding: 0 32px; }
  .manifesto-body { grid-template-columns: 1fr; }
  #servicios { height: auto; }
  .servicios-sticky { position: relative; height: auto; grid-template-columns: 1fr; }
  .svc-photos { display: none; }
  .svc-nav { display: none; }
  .svc-panel { position: relative; min-height: auto; }
  .svc-slide { position: relative; opacity: 1; transform: none; pointer-events: auto; padding: 48px 32px; border-bottom: 1px solid var(--border-cream); }
  .svc-slide:not(.mobile-show) { display: none; }
  .svc-slide.mobile-show { display: flex; }
  .datos-inner { padding: 0 32px; }
  .datos-header { flex-direction: column; align-items: flex-start; }
  .datos-grid { grid-template-columns: 1fr 1fr; } /* 2 col mobile */
  .clientes-inner { padding: 0 32px; }
  .dif-inner { padding: 0 32px; }
  .dif-title { white-space: normal; }
  .mgp-title { white-space: normal; }
  .mgp-sub { white-space: normal; }
  .dif-cols { grid-template-columns: 1fr; }
  .equipo-inner { padding: 0 32px; grid-template-columns: 1fr; }
  .equipo-foto { max-height: 360px; }
  .ct-inner { padding: 0 32px; grid-template-columns: 1fr; }
  .form { padding: 32px 24px; }
  .ft-top { padding: 0 32px; grid-template-columns: 1fr 1fr; gap: 40px; }
  .ft-bottom { padding: 24px 32px 0; }
}
@media (max-width: 900px) {
  .nav-links,
  .nav-cta {
    display: none;
  }
  .nav-mobile-toggle,
  .nav-mobile-backdrop {
    display: flex;
  }
  .nav-mobile-panel {
    display: block;
  }
}
@media (max-width: 640px) {
  nav { padding: 0 20px; }
  .nav-logo_segi img.nav-logo-img,
  .nav-logo img.nav-logo-img {
    height: 38px!important;
    max-width: 132px;
  }
  .nav-mobile-panel {
    width: 100%;
    padding: 18px 18px 24px;
  }
  .dif-title { white-space: normal; font-size: clamp(28px, 7vw, 42px); }
  .mgp-title { white-space: normal; font-size: clamp(20px, 5vw, 30px); }
  .mgp-sub { white-space: normal; }
  .hero-sub { font-size: 15px; }
  .dato-num { font-size: clamp(48px, 12vw, 80px); }
  .r3d-header { padding: 48px 24px 40px; }
  .mgp-intro { padding: 40px 20px 24px; }
  .hero-headline { font-size: clamp(32px, 8vw, 52px); }
  .hero-inner { padding: 0 20px; }
  .manifesto-inner { padding: 0 20px; }
  .manifesto-line { font-size: clamp(24px, 7vw, 40px); }
  .datos-grid { grid-template-columns: 1fr; }
  .clientes-inner { padding: 0 20px; }
  .logo-grid { grid-template-columns: repeat(2, 1fr); }
  .logo-cell {
  padding: 10px 10px;min-height: 140px;

}

.logo-img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  opacity: 0.70;
  transition: opacity .3s;
}
  .dif-inner { padding: 0 20px; }
  .equipo-inner { padding: 0 20px; }
  .ct-inner { padding: 0 20px; }
  .form-row { grid-template-columns: 1fr; }
  .ft-top { padding: 0 20px; grid-template-columns: 1fr; }
  .ft-bottom { padding: 24px 20px 0; flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* =============================================
   TRIPLE RESTRICCIÓN 3D — SECTION
   ============================================= */
#restriccion3d {
  position: relative;
  height: 100vh;
  background: var(--dark);
  overflow: hidden;
}
.r3d-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 20;
  padding: 88px 48px 80px;
  background: linear-gradient(to bottom, rgba(28,28,26,1) 0%, rgba(28,28,26,0.96) 60%, transparent 100%);
  pointer-events: none;
}
.r3d-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--orange); margin-bottom: 16px;
}
.r3d-title {
  font-size: clamp(24px, 3vw, 42px);
  font-weight: 800; line-height: 1.08; letter-spacing: -0.02em;
  max-width: 540px;
}
.r3d-sub {
  font-size: 14px; color: rgba(255,255,255,0.40);
  margin-top: 14px; max-width: 560px; line-height: 1.75;
  text-align: justify;
}
#lbls3d { position: absolute; inset: 0; pointer-events: none; z-index: 10; }
.lbl3 {
  position: absolute;
  transform: translate(-50%,-50%);
  font-family: var(--font);
  transition: opacity .3s;
  white-space: nowrap;
}
.lbl3.axis {
  font-size: 14px; font-weight: 800; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--white);
}
.lbl3.axis.time-ax { color: var(--cream); text-shadow: 0 0 20px rgba(242,235,224,0.45); }
.lbl3.constraint {
  font-size: 13px; font-weight: 600; letter-spacing: 0.06em;
  color: rgba(255,255,255,0.72);
  border-bottom: 1px solid rgba(255,255,255,0.28);
  padding-bottom: 3px;
}
.lbl3.target {
  font-size: 15px; font-weight: 900; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--orange);
  text-shadow: 0 0 24px rgba(224,104,32,0.80);
}
.lbl3.target::before {
  content: ''; position: absolute;
  width: 8px; height: 8px;
  background: var(--orange);
  clip-path: polygon(50% 0,100% 50%,50% 100%,0 50%);
  top: 50%; left: -18px; transform: translateY(-50%);
  animation: pulse3d 2s ease-in-out infinite;
}
@keyframes pulse3d {
  0%,100%{ filter:drop-shadow(0 0 3px rgba(224,104,32,0.55)); transform:translateY(-50%) scale(1); }
  50%{ filter:drop-shadow(0 0 9px rgba(224,104,32,1)); transform:translateY(-50%) scale(1.45); }
}
#sceneIntro3d {
  position: absolute; inset: 0; z-index: 50;
  background: var(--dark);
  animation: sceneRev3d 1.4s cubic-bezier(0.16,1,0.30,1) 0.3s forwards;
  pointer-events: none;
}
@keyframes sceneRev3d { to { opacity: 0; } }
.r3d-legend {
  position: absolute; bottom: 40px; left: 30px;
  display: flex; flex-direction: column; gap: 10px;
  z-index: 20; pointer-events: none;
}
.r3d-leg-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.06em; color: rgba(255,255,255,0.60);
}
.r3d-leg-dot { width: 10px; height: 10px; clip-path: polygon(50% 0,100% 50%,50% 100%,0 50%); }
#hint3d {
  position: absolute; bottom: 40px; right: 48px;
  font-size: 11px; font-weight: 500; letter-spacing: 0.06em;
  color: rgba(255,255,255,0.25); z-index: 20;
  text-align: right; line-height: 1.8;
}
#c3d { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; transform: translateY(18vh); }
#c3d:active { cursor: grabbing; }

/* =============================================
   MODELO GESTIÓN PERMISOS — SECTION
   ============================================= */
#modelo-gestion {
  background: var(--dark);
  padding: 100px 0 80px;
  overflow: hidden;
}
.mgp-intro {
  max-width: 760px; margin: 0 auto;
  padding: 0 48px 64px;
  text-align: center;
}
.mgp-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--orange); margin-bottom: 18px;
}
.mgp-title {
  font-size: clamp(22px, 2.6vw, 38px);
  font-weight: 800; line-height: 1.08; letter-spacing: -0.02em;
  margin-bottom: 20px;
 
}
.mgp-sub {
  font-size: 15px; color: rgba(255,255,255,0.45);
  max-width: 900px; line-height: 1.7;
  margin: 0 auto 28px;
  text-align: center;
}
.mgp-cta-static {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.10em; text-transform: uppercase;
  color: var(--white); background: var(--orange);
  padding: 12px 28px; cursor: default; pointer-events: none;
  margin-top: 8px;
}
.mgp-body {
  max-width: 1440px; margin: 0 auto;
  padding: 0 48px;
}
#modelo-gestion .mg-legend {
  display: flex; gap: 28px; margin-bottom: 56px; align-items: center;
  opacity: 0; transform: translateY(8px);
  animation: fadeUp .6s var(--ease) .2s forwards;
}
#modelo-gestion .mg-leg-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.08em;
  color: rgba(255,255,255,0.40);
}
#modelo-gestion .mg-leg-dot {
  width: 7px; height: 7px;
  flex-shrink: 0;
}
#modelo-gestion .mg-timeline {
  margin-bottom: 36px;
  opacity: 0;
  animation: fadeUp .7s var(--ease) .4s forwards;
}
#modelo-gestion .mg-zone-row {
  display: grid; grid-template-columns: 3fr auto 3fr;
  align-items: center; margin-bottom: 14px;
}
#modelo-gestion .mg-zone-label {
  font-size: 10px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
}
#modelo-gestion .mg-zone-label.pre { color: rgba(255,255,255,0.62); }
#modelo-gestion .mg-zone-label.inv { color: var(--orange); text-align: right; }
#modelo-gestion .mg-rca-badge {
  display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 0 24px;
}
#modelo-gestion .mg-rca-diamond {
  width: 10px; height: 10px;
  clip-path: polygon(50% 0,100% 50%,50% 100%,0 50%);
  background: var(--orange);
  filter: drop-shadow(0 0 6px rgba(224,104,32,0.9));
  animation: rcaP3 2.4s ease-in-out infinite;
}
@keyframes rcaP3 {
  0%,100%{ filter: drop-shadow(0 0 4px rgba(224,104,32,0.6)); }
  50%{ filter: drop-shadow(0 0 12px rgba(224,104,32,1)); }
}
#modelo-gestion .mg-rca-label {
  font-size: 9px; font-weight: 800; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--orange); text-align: center; line-height: 1.4;
}
#modelo-gestion .mg-track-row {
  display: grid; grid-template-columns: 3fr auto 3fr;
  align-items: center; margin-bottom: 24px;
}
#modelo-gestion .mg-track-seg {
  height: 1px; position: relative; overflow: hidden;
}
#modelo-gestion .mg-track-seg.pre { background: rgba(255,255,255,0.08); }
#modelo-gestion .mg-track-seg.inv { background: rgba(224,104,32,0.15); }
#modelo-gestion .mg-track-fill {
  position: absolute; left: 0; top: 0; bottom: 0; height: 100%; width: 0;
  transition: width 1.1s var(--ease) .6s;
}
#modelo-gestion .mg-track-seg.pre .mg-track-fill { background: rgba(255,255,255,0.25); }
#modelo-gestion .mg-track-seg.inv .mg-track-fill { background: var(--orange); }
#modelo-gestion .mg-track-seg.animate .mg-track-fill { width: 100%; }
#modelo-gestion .mg-track-rca {
  width: 14px; height: 14px; flex-shrink: 0;
  clip-path: polygon(50% 0,100% 50%,50% 100%,0 50%);
  background: var(--orange);
}
#modelo-gestion .mg-nodes-row { display: grid; grid-template-columns: repeat(7,1fr); }
#modelo-gestion .mg-phase-node {
  display: flex; flex-direction: column; align-items: center;
  gap: 10px; cursor: pointer; padding: 0 6px;
  opacity: 0; transform: translateY(10px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
#modelo-gestion .mg-phase-node.visible { opacity: 1; transform: translateY(0); }
#modelo-gestion .mg-node-pip {
  width: 10px; height: 10px;
  background: rgba(255,255,255,0.22);
  transition: background .25s, filter .25s, transform .25s;
}
#modelo-gestion .mg-phase-node:hover .mg-node-pip { background: rgba(224,104,32,0.55); transform: scale(1.25); }
#modelo-gestion .mg-phase-node.active .mg-node-pip {
  background: var(--orange); transform: scale(1.4);
  filter: drop-shadow(0 0 7px rgba(224,104,32,0.85));
}
#modelo-gestion .mg-node-num {
  font-size: 9px; font-weight: 800; letter-spacing: 0.16em;
  text-transform: uppercase; color: rgba(255,255,255,0.30); transition: color .25s;
}
#modelo-gestion .mg-phase-node:hover .mg-node-num,
#modelo-gestion .mg-phase-node.active .mg-node-num { color: var(--orange); }
#modelo-gestion .mg-node-name {
  font-size: 12px; font-weight: 700; line-height: 1.25;
  color: rgba(255,255,255,0.40); text-align: center; transition: color .25s;
}
#modelo-gestion .mg-phase-node:hover .mg-node-name,
#modelo-gestion .mg-phase-node.active .mg-node-name { color: var(--white); }
#mg-detail {
  background: #2A2A28;
  border-top: 2px solid var(--orange);
  opacity: 0; transform: translateY(14px);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
  overflow: hidden;
}
#mg-detail.visible { opacity: 1; transform: translateY(0); }
#mg-detail.changing { opacity: 0; transform: translateY(6px); }
.mg-detail-inner { display: grid; grid-template-columns: 1fr 320px; gap: 0; }
.mg-detail-left { padding: 36px 40px; border-right: 1px solid rgba(255,255,255,0.06); }
.mg-detail-right { padding: 36px 36px; background: #1E1E1C; }
.mg-phase-label {
  font-size: 10px; font-weight: 800; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--orange); margin-bottom: 8px;
}
.mg-dtitle {
  font-size: clamp(20px,2.2vw,30px);
  font-weight: 800; line-height: 1.1; letter-spacing: -0.02em;
  color: var(--white); margin-bottom: 28px;
}
.mg-activities { display: flex; flex-direction: column; }
.mg-act-item {
  padding: 11px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  display: flex; gap: 14px; align-items: flex-start;
  font-size: 13px; font-weight: 400; line-height: 1.55;
  color: rgba(255,255,255,0.55);
  opacity: 0; transform: translateX(-8px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
#mg-detail.visible .mg-act-item { opacity: 1; transform: translateX(0); }
.mg-act-item:nth-child(1){ transition-delay:.08s; }
.mg-act-item:nth-child(2){ transition-delay:.16s; }
.mg-act-item:nth-child(3){ transition-delay:.24s; }
.mg-act-item:nth-child(4){ transition-delay:.32s; }
.mg-act-item:nth-child(5){ transition-delay:.40s; }
.mg-act-item:last-child { border-bottom: none; }
.mg-act-item.hl { color: var(--cream); font-weight: 600; }
.mg-act-dot {
  width: 5px; height: 5px; flex-shrink: 0; margin-top: 5px;
  background: rgba(255,255,255,0.22);
}
.mg-act-item.hl .mg-act-dot { background: var(--orange); }
.mg-comp-eyebrow {
  font-size: 9px; font-weight: 800; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--orange);
  margin-bottom: 12px; padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.mg-comp-title {
  font-size: 14px; font-weight: 700; line-height: 1.3;
  color: var(--white); margin-bottom: 20px;
}
.mg-comp-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.mg-comp-list li {
  font-size: 12px; font-weight: 400; line-height: 1.55;
  color: rgba(255,255,255,0.60);
  display: flex; gap: 10px; align-items: baseline;
  opacity: 0; transform: translateX(8px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
#mg-detail.visible .mg-comp-list li { opacity: 1; transform: translateX(0); }
.mg-comp-list li:nth-child(1){ transition-delay:.12s; }
.mg-comp-list li:nth-child(2){ transition-delay:.20s; }
.mg-comp-list li:nth-child(3){ transition-delay:.28s; }
.mg-n { font-size: 9px; font-weight: 800; color: var(--orange); min-width: 16px; }
#modelo-gestion .mg-phase-node:nth-child(1){ transition-delay:.12s; }
#modelo-gestion .mg-phase-node:nth-child(2){ transition-delay:.20s; animation-delay:.4s; }
#modelo-gestion .mg-phase-node:nth-child(3){ transition-delay:.28s; animation-delay:.8s; }
#modelo-gestion .mg-phase-node:nth-child(4){ transition-delay:.36s; animation-delay:1.2s; }
#modelo-gestion .mg-phase-node:nth-child(5){ transition-delay:.44s; animation-delay:1.6s; }
#modelo-gestion .mg-phase-node:nth-child(6){ transition-delay:.52s; animation-delay:2.0s; }
@keyframes mgNodeP { 0%,100%{opacity:1;} 50%{opacity:0.45;} }
#modelo-gestion .mg-phase-node.visible:not(.active):not(.visited) { animation: mgNodeP 2.8s ease-in-out infinite; }
#modelo-gestion .mg-phase-node.active,
#modelo-gestion .mg-phase-node.visited { animation: none; }
@media (max-width: 960px) {
  .mg-detail-inner { grid-template-columns: 1fr; }
  .mg-detail-right { border-top: 1px solid rgba(255,255,255,0.06); }
  .mg-detail-left { border-right: none; }
  #modelo-gestion .mg-nodes-row { grid-template-columns: repeat(3,1fr); gap: 4px; }
  #modelo-gestion .mg-zone-row,
  #modelo-gestion .mg-track-row { grid-template-columns: 1fr auto 1fr; }
  .mgp-intro, .mgp-body { padding-left: 24px; padding-right: 24px; }
}


/* =============================================
   WHATSAPP FLOTANTE
   ============================================= */
.wa-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 9999;
  width: 56px;
  height: 56px;
  background: transparent;
  border: 2px solid rgba(255,255,255,0.70);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0,0,0,0.30);
  transition: transform .2s, box-shadow .2s, border-color .2s;
  text-decoration: none;
}
.wa-float:hover {
  transform: scale(1.08);
  border-color: #25D366;
  box-shadow: 0 6px 28px rgba(37,211,102,0.40);
}
.wa-float svg { width: 30px; height: 30px; }
.wa-tooltip {
  position: absolute;
  right: 68px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--dark);
  color: var(--white);
  font-family: var(--font);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  padding: 8px 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
  border: 1px solid var(--border);
}
.wa-float:hover .wa-tooltip { opacity: 1; }
/* =============================================
   UTILIDADES
   ============================================= */
.text-accent { color: var(--orange); font-weight: 600; }
