/* ============================================================
   SILVERBOX V3 — Final Desktop + Mobile
   ============================================================ */
:root {
  --green: #00E28B; --dark-blue: #020236; --navy: #00002B;
  --blue: #4449F0; --light-blue: #00E5F8; --pink: #FF7175;
  --purple: #B3B0EE; --gray: #C3C3C3; --white: #ffffff;
  --font: 'IBM Plex Mono', monospace;
  --nav-h: 60px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --pad: clamp(1.5rem, 4vw, 3rem);
}

/* --- RESET --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scrollbar-width: none; }
html::-webkit-scrollbar { display: none; }
body { font-family: var(--font); color: var(--navy); overflow-x: hidden; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg, lottie-player { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }
input { font: inherit; }
section { scroll-margin-top: var(--nav-h); }
::selection { background: var(--green); color: var(--navy); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%; height: var(--nav-h);
  background: var(--navy); z-index: 1000;
  transition: height 0.3s var(--ease), background 0.3s, box-shadow 0.3s;
}
.navbar--scrolled { height: 48px; background: rgba(0,0,43,0.95); backdrop-filter: blur(12px); box-shadow: 0 2px 20px rgba(0,0,0,0.3); }
.navbar__inner { display: flex; justify-content: space-between; align-items: center; height: 100%; padding: 0 var(--pad); max-width: 1600px; margin: 0 auto; }
.navbar__logo img { height: 36px; width: auto; transition: height 0.3s; }
.navbar--scrolled .navbar__logo img { height: 28px; }
.navbar__nav { display: flex; }
.navbar__list { display: flex; gap: 0.25rem; }
.navbar__link {
  color: var(--white); font-size: 0.85rem; font-weight: 600;
  padding: 0 0.7rem; display: flex; align-items: center; height: 100%;
  transition: color 0.2s;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.3s;
}
.navbar__link:hover, .navbar__link.is-active { color: var(--green); border-bottom-color: var(--green); }
.navbar__hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; z-index: 1001; }
.navbar__hamburger-line { width: 24px; height: 2px; background: var(--white); transition: transform 0.3s, opacity 0.3s; }
.navbar__hamburger.is-open .navbar__hamburger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__hamburger.is-open .navbar__hamburger-line:nth-child(2) { opacity: 0; }
.navbar__hamburger.is-open .navbar__hamburger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   SECTION TITLES
   ============================================================ */
.section-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700; letter-spacing: 0.08em;
  color: var(--navy);
  display: inline-block; position: relative;
  padding: 0.5rem 1.5rem 0.5rem 1rem;
  overflow: hidden;
}
.section-title::before {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 3px; height: 0; background: var(--navy);
  transition: height 1.2s var(--ease);
}
.section-title::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  height: 3px; width: 0; background: var(--navy);
  transition: width 1.4s var(--ease) 0.3s;
}
.section-title.is-visible::before { height: 100%; }
.section-title.is-visible::after { width: 100%; }
.section-title.is-visible { animation: titleCursor 1s step-end 3; }
@keyframes titleCursor {
  0%, 100% { border-right: 3px solid transparent; }
  50% { border-right: 3px solid currentColor; }
}
.section-title--light { color: var(--white); }
.section-title--light::before, .section-title--light::after { background: var(--white); }
.section-title--right {
  margin-left: auto; display: block; text-align: right; width: fit-content;
  padding: 0.5rem 1rem 0.5rem 1.5rem;
}
.section-title--right::before { left: auto; right: 0; }
.section-title--right::after { left: auto; right: 0; }

/* ============================================================
   FULLSCREEN SECTION SIZING
   ============================================================ */
.hero { min-height: 100vh; min-height: 100dvh; }
.productos, .servicios, .talentos {
  height: 100vh; height: 100dvh;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
}
.ayudamos { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.noticias { min-height: 60vh; display: flex; flex-direction: column; justify-content: center; padding: 4rem 0; }
.socios { min-height: 70vh; display: flex; flex-direction: column; padding: 4rem 0; }
.contactanos { display: flex; align-items: center; min-height: 70vh; padding: 4rem 0; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; background: var(--navy); color: var(--white);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: calc(var(--nav-h) + 2rem) 5% 4rem; overflow: hidden;
}
.hero__bg {
  position: absolute; top: calc(var(--nav-h) + 10px); left: 5%; right: 5%;
  height: calc(100% - var(--nav-h) - 10px); pointer-events: none; z-index: 0;
  will-change: transform, opacity;
}
.hero__bg-lottie { width: 100%; height: 100%; }
.hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 55%;
  background: linear-gradient(to top, var(--navy) 0%, var(--navy) 20%, transparent 100%);
  z-index: 0; pointer-events: none;
}
.hero__content { position: relative; z-index: 2; width: 100%; will-change: transform, opacity; }
.hero__title { width: 60%; max-width: 900px; }
.hero__title-lottie { width: 100%; }
.hero__tagline { font-size: clamp(0.85rem, 1.2vw, 1.25rem); font-weight: 600; line-height: 1.6; max-width: 55%; margin-top: 0.5rem; }
.hero__scroll-indicator {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center;
  gap: 0.5rem; cursor: pointer; transition: opacity 0.3s;
}
.hero__scroll-text { font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gray); }
.hero__scroll-line { width: 1px; height: 40px; background: var(--green); animation: scroll-bounce 2s ease-in-out infinite; }
@keyframes scroll-bounce { 0%, 100% { transform: scaleY(1); opacity: 1; } 50% { transform: scaleY(0.4); opacity: 0.4; } }

/* ============================================================
   PRODUCTOS
   ============================================================ */
.productos { background: var(--green); padding: 3rem 0; }
.productos__header { padding: 0 var(--pad); margin-bottom: 2rem; }
.productos__track {
  display: flex; gap: 1.5rem; padding: 0 var(--pad);
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.productos__track::-webkit-scrollbar { display: none; }
.productos__card {
  flex: 0 0 auto; width: min(350px, 80vw); padding: 2rem;
  background: rgba(255,255,255,0.12); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.2); border-radius: 12px;
  scroll-snap-align: start; will-change: transform;
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
  opacity: 0; transform: translateY(20px);
}
.productos__card.is-revealed { opacity: 1; transform: translateY(0); transition: opacity 0.6s, transform 0.6s var(--ease); }
.productos__card:hover { box-shadow: 0 20px 50px rgba(0,0,0,0.15); }
.productos__card-lottie { width: 100%; height: 180px; margin-bottom: 1.5rem; opacity: 0; transition: opacity 0.5s; overflow: hidden; display: flex; align-items: center; }
.productos__card-lottie lottie-player { width: 100%; }
.productos__card-lottie.is-playing { opacity: 1; }
.productos__card-title { font-size: 1.4rem; font-weight: 700; color: var(--white); margin-bottom: 0.75rem; }
.productos__card-text { font-size: 0.85rem; line-height: 1.7; color: var(--navy); }

@media (min-width: 1100px) {
  .productos__track { overflow: visible; justify-content: center; }
  .productos__card { width: 360px; flex: 0 0 360px; }
}

/* ============================================================
   AYUDAMOS
   ============================================================ */
.ayudamos { background: var(--blue); padding: 2rem 0; position: relative; }
.ayudamos::before {
  content: ''; position: absolute; top: -50%; right: -20%; width: 60%; height: 200%;
  background: rgba(0,0,43,0.15); transform: rotate(-12deg); pointer-events: none;
}
.ayudamos__inner {
  display: grid; grid-template-columns: 1fr 1.3fr;
  gap: 2rem; padding: 0 var(--pad);
  align-items: center; position: relative; z-index: 1; flex: 1;
}
.ayudamos__left { display: flex; flex-direction: column; gap: 1rem; }
.ayudamos__subtitle { font-size: clamp(0.9rem, 1.3vw, 1.05rem); color: rgba(255,255,255,0.7); line-height: 1.7; }
.ayudamos__progress { display: flex; align-items: center; gap: 1rem; margin-top: 0.5rem; }
.ayudamos__progress-bar { flex: 1; height: 3px; background: rgba(255,255,255,0.15); position: relative; max-width: 200px; }
.ayudamos__progress-bar::after {
  content: ''; position: absolute; left: 0; top: 0; height: 100%;
  width: calc(var(--step-progress, 0.14) * 100%);
  background: var(--green); transition: width 0.4s var(--ease);
}
.ayudamos__progress-label { font-size: 0.75rem; font-weight: 600; color: var(--green); letter-spacing: 0.1em; }
.ayudamos__steps { display: flex; flex-direction: column; }
.ayudamos__step {
  display: flex; flex-direction: column; gap: 0.2rem;
  padding: 0.6rem 1.5rem; position: relative;
  border-left: 2px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.4);
  transition: color 0.5s, border-color 0.5s, background 0.5s, transform 0.5s var(--ease), opacity 0.5s;
  opacity: 0.4; transform: translateX(-10px);
}
.ayudamos__step.is-visible {
  color: var(--white); border-left-color: var(--green);
  background: rgba(0,226,139,0.04); opacity: 1; transform: translateX(0);
}
.ayudamos__step-head { display: flex; align-items: center; gap: 0.75rem; }
.ayudamos__step-number {
  font-size: clamp(1.2rem, 2vw, 1.6rem); font-weight: 700;
  color: rgba(255,255,255,0.15); transition: color 0.3s; min-width: 2.5rem;
}
.ayudamos__step.is-visible .ayudamos__step-number { color: var(--green); }
.ayudamos__step-line { flex: 1; height: 1px; background: rgba(255,255,255,0.06); }
.ayudamos__step-text { font-size: clamp(0.78rem, 1.2vw, 0.92rem); line-height: 1.6; }

/* ============================================================
   SERVICIOS
   ============================================================ */
.servicios { background: var(--navy); padding: 3rem 0; position: relative; overflow: hidden; }
.servicios__header { padding: 0 var(--pad); margin-bottom: 2rem; }
.servicios__header .section-title { color: var(--white); }
.servicios__header .section-title::before,
.servicios__header .section-title::after { background: var(--white); }
.servicios__content { padding: 0 var(--pad); flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.servicios__left { display: flex; flex-direction: column; gap: 1.5rem; }
.servicios__keyword {
  font-size: clamp(3rem, 6vw, 5.5rem); font-weight: 700; color: var(--green);
  line-height: 1; letter-spacing: 0.05em; text-shadow: 0 0 60px rgba(0,226,139,0.2);
}
.servicios__tagline { display: flex; flex-direction: column; gap: 0.2rem; }
.servicios__tagline-line { font-size: clamp(1.1rem, 2vw, 1.6rem); color: rgba(255,255,255,0.5); font-weight: 500; letter-spacing: 0.08em; }
.servicios__tagline-line:last-child { color: var(--light-blue); font-weight: 600; }
.servicios__decorative { display: flex; flex-direction: column; gap: 6px; margin-top: 0.5rem; max-width: 200px; }
.servicios__deco-line { height: 2px; background: var(--green); opacity: 0.3; }
.servicios__deco-line:nth-child(1) { width: 100%; }
.servicios__deco-line:nth-child(2) { width: 65%; }
.servicios__deco-line:nth-child(3) { width: 35%; }
.servicios__right { display: flex; flex-direction: column; gap: 2.5rem; }
.servicios__highlight-block { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: baseline; }
.servicios__highlight-line { font-size: clamp(1.5rem, 2.8vw, 2.2rem); font-weight: 600; color: rgba(255,255,255,0.6); line-height: 1.5; }
.servicios__highlight-line--accent {
  color: var(--white); background: var(--blue); padding: 0.1em 0.5em;
  border-left: 3px solid var(--green);
  font-size: clamp(1.8rem, 3.2vw, 2.8rem); font-weight: 700;
  box-shadow: 0 4px 20px rgba(68,73,240,0.3);
}
.servicios__stats { display: flex; gap: 2rem; }
.servicios__stat {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.8rem 1.2rem; border: 1px solid rgba(255,255,255,0.15);
  border-radius: 6px; background: rgba(255,255,255,0.03);
  transition: border-color 0.3s, background 0.3s;
}
.servicios__stat:hover { border-color: var(--green); background: rgba(0,226,139,0.05); }
.servicios__stat-icon { font-size: 1.3rem; color: var(--green); }
.servicios__stat-label { font-size: 0.8rem; font-weight: 600; color: var(--white); letter-spacing: 0.05em; }
.servicios::before {
  content: ''; position: absolute; top: 0; right: 0; width: 50%; height: 100%;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 59px, rgba(68,73,240,0.08) 59px, rgba(68,73,240,0.08) 60px),
    repeating-linear-gradient(90deg, transparent, transparent 59px, rgba(68,73,240,0.08) 59px, rgba(68,73,240,0.08) 60px);
  pointer-events: none;
}
.servicios::after {
  content: ''; position: absolute; bottom: 2rem; right: 2rem;
  width: 80px; height: 80px;
  border-right: 3px solid var(--green); border-bottom: 3px solid var(--green);
  pointer-events: none; opacity: 0.4;
}

/* ============================================================
   TALENTOS
   ============================================================ */
.talentos { background: var(--dark-blue); padding: 3rem 0; position: relative; }
.talentos__header { padding: 0 var(--pad); margin-bottom: 2rem; flex-shrink: 0; }
.talentos::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 79px, rgba(0,226,139,0.04) 79px, rgba(0,226,139,0.04) 80px),
    repeating-linear-gradient(90deg, transparent, transparent 79px, rgba(0,226,139,0.04) 79px, rgba(0,226,139,0.04) 80px);
  pointer-events: none;
}
.talentos__grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2rem; padding: 0 var(--pad);
  flex: 1; align-items: center; position: relative; z-index: 1;
}
.talentos__nav { display: flex; flex-direction: column; }
.talentos__nav-item {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.5rem; background: none; color: rgba(255,255,255,0.35);
  text-align: left; position: relative; border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color 0.3s, background 0.3s;
}
.talentos__nav-item:first-child { border-top: 1px solid rgba(255,255,255,0.06); }
.talentos__nav-item:hover { color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.02); }
.talentos__nav-item.is-active { color: var(--white); background: rgba(0,226,139,0.06); }
.talentos__nav-num {
  font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 700;
  color: rgba(255,255,255,0.1); min-width: 3rem; transition: color 0.3s;
}
.talentos__nav-item.is-active .talentos__nav-num { color: var(--green); }
.talentos__nav-label { font-size: clamp(0.85rem, 1.4vw, 1.1rem); font-weight: 600; letter-spacing: 0.03em; flex: 1; }
.talentos__nav-bar {
  position: absolute; left: 0; top: 0; width: 3px; height: 100%;
  background: var(--green); transform: scaleY(0);
  transition: transform 0.4s var(--ease); transform-origin: top;
}
.talentos__nav-item.is-active .talentos__nav-bar { transform: scaleY(1); }
.talentos__panel { position: relative; min-height: 300px; }
.talentos__panel-card {
  display: none; flex-direction: column; gap: 1.5rem;
  padding: 2.5rem; background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08); border-radius: 2px;
}
.talentos__panel-card.is-active { display: flex; animation: talentFadeIn 0.4s var(--ease); }
@keyframes talentFadeIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.talentos__panel-icon {
  font-size: 2.5rem; color: var(--green);
  width: 60px; height: 60px; display: flex; align-items: center; justify-content: center;
  border: 2px solid rgba(0,226,139,0.3); border-radius: 8px; background: rgba(0,226,139,0.05);
}
.talentos__panel-text { font-size: clamp(0.9rem, 1.3vw, 1.05rem); line-height: 1.8; color: rgba(255,255,255,0.75); }
.talentos__panel-tags { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 0.5rem; }
.talentos__tag {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em;
  padding: 0.35rem 0.8rem; color: var(--green);
  border: 1px solid rgba(0,226,139,0.25); background: rgba(0,226,139,0.05); text-transform: uppercase;
}

/* ============================================================
   NOTICIAS
   ============================================================ */
.noticias { background: var(--green); position: relative; overflow: hidden; }
.noticias__top {
  display: flex; justify-content: space-between; align-items: flex-end;
  padding: 0 var(--pad); margin-bottom: 2.5rem;
}
.noticias__controls { display: flex; gap: 0.5rem; }
.noticias__arrow {
  width: 3rem; height: 3rem; display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--navy); background: transparent; color: var(--navy);
  font-size: 1.2rem; font-weight: 700; transition: background 0.2s, color 0.2s;
}
.noticias__arrow:hover { background: var(--navy); color: var(--green); }
.noticias__track-wrapper {
  overflow: hidden; position: relative; padding: 0 0 0 var(--pad);
  mask-image: linear-gradient(to right, black 0%, black 85%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, black 0%, black 85%, transparent 100%);
}
.noticias__track { display: flex; gap: 1.5rem; transition: transform 0.5s var(--ease); padding-right: 4rem; }
.noticias__card {
  flex: 0 0 min(380px, 75vw); min-height: 280px;
  background: var(--navy); color: var(--white);
  padding: 2.5rem 2rem; position: relative;
  display: flex; flex-direction: column; gap: 1rem;
  transition: transform 0.3s, box-shadow 0.3s; overflow: hidden;
}
.noticias__card:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(0,0,0,0.2); }
.noticias__card-num {
  font-size: clamp(3rem, 5vw, 4.5rem); font-weight: 700;
  color: rgba(255,255,255,0.05); line-height: 1;
  position: absolute; top: 0.8rem; right: 1.2rem;
}
.noticias__card-accent { width: 40px; height: 3px; transition: width 0.4s var(--ease); }
.noticias__card:nth-child(1) .noticias__card-accent { background: var(--green); }
.noticias__card:nth-child(2) .noticias__card-accent { background: var(--blue); }
.noticias__card:nth-child(3) .noticias__card-accent { background: var(--pink); }
.noticias__card:nth-child(4) .noticias__card-accent { background: var(--light-blue); }
.noticias__card:nth-child(5) .noticias__card-accent { background: var(--purple); }
.noticias__card:nth-child(n+6) .noticias__card-accent { background: var(--green); }
.noticias__card:hover .noticias__card-accent { width: 80px; }
.noticias__card-title { font-size: clamp(1.1rem, 1.6vw, 1.3rem); font-weight: 700; color: var(--green); line-height: 1.3; }
.noticias__card-text { font-size: clamp(0.78rem, 1.1vw, 0.88rem); line-height: 1.8; color: rgba(255,255,255,0.6); flex: 1; }

/* ============================================================
   SOCIOS
   ============================================================ */
.socios { background: var(--white); position: relative; overflow: hidden; }
.socios__inner {
  display: flex; flex-direction: column; justify-content: center;
  align-items: center; gap: 5rem; padding: 0 var(--pad);
  position: relative; z-index: 1; flex: 1;
}
.socios__header { text-align: center; }
.socios__header .section-title { color: var(--navy); }
.socios__header .section-title::before,
.socios__header .section-title::after { background: var(--navy); }
.socios__subtitle { font-size: clamp(0.85rem, 1.2vw, 1rem); color: var(--gray); margin-top: 1rem; letter-spacing: 0.05em; }
.socios__marquee {
  width: 100%; overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}
.socios__marquee-track { display: flex; align-items: center; gap: 4rem; width: max-content; animation: marquee 25s linear infinite; }
.socios__marquee:hover .socios__marquee-track { animation-play-state: paused; }
.socios__logo {
  padding: 1.5rem 2.5rem; border: 1px solid rgba(2,2,54,0.08);
  background: rgba(2,2,54,0.02); border-radius: 4px;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.socios__logo:hover { border-color: var(--blue); box-shadow: 0 8px 30px rgba(68,73,240,0.08); }
.socios__logo img { height: 55px; width: auto; filter: grayscale(40%); opacity: 0.7; transition: filter 0.3s, opacity 0.3s; }
.socios__logo:hover img { filter: grayscale(0); opacity: 1; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.socios::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: repeating-linear-gradient(90deg, transparent, transparent 119px, rgba(68,73,240,0.03) 119px, rgba(68,73,240,0.03) 120px);
  pointer-events: none;
}

/* ============================================================
   CONTACTANOS
   ============================================================ */
.contactanos { background: var(--blue); color: var(--white); }
.contactanos__grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; padding: 0 clamp(2rem, 5vw, 5rem);
  max-width: 1400px; margin: 0 auto; width: 100%; align-items: center;
}
.contactanos__left { display: flex; flex-direction: column; gap: 1.5rem; }
.contactanos__heading {
  font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 700;
  color: var(--white); line-height: 1.1; letter-spacing: 0.05em;
}
.contactanos__desc { font-size: clamp(0.9rem, 1.3vw, 1.1rem); color: rgba(255,255,255,0.6); line-height: 1.7; max-width: 400px; }
.contactanos__back-to-top {
  display: inline-flex; align-items: center; gap: 0.6rem;
  margin-top: 1rem; color: var(--green); font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.08em; transition: opacity 0.2s;
}
.contactanos__back-to-top:hover { opacity: 0.7; }
.contactanos__back-icon {
  width: 2.5rem; height: 2.5rem; display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--green); font-size: 1.2rem;
}
.contactanos__form-card {
  background: rgba(0,0,43,0.5); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px; overflow: hidden;
}
.contactanos__form-header {
  display: flex; align-items: center; gap: 0.4rem;
  padding: 0.75rem 1.25rem; background: rgba(0,0,43,0.6);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.contactanos__form-dot { width: 8px; height: 8px; border-radius: 50%; }
.contactanos__form-dot:nth-child(1) { background: var(--pink); }
.contactanos__form-dot:nth-child(2) { background: #FFD93D; }
.contactanos__form-dot:nth-child(3) { background: var(--green); }
.contactanos__form-title { margin-left: auto; font-size: 0.7rem; color: rgba(255,255,255,0.4); letter-spacing: 0.1em; }
.contactanos__form { padding: 2.5rem; }
.contactanos__step { display: none; }
.contactanos__step.is-active { display: block; animation: step-in 0.4s var(--ease); }
@keyframes step-in { from { opacity: 0; transform: translateX(20px); } }
.contactanos__label { display: block; font-size: clamp(1.1rem, 2.5vw, 1.6rem); font-weight: 600; color: var(--white); margin-bottom: 1rem; }
.contactanos__input-row { display: flex; align-items: flex-end; gap: 1rem; }
.contactanos__input {
  flex: 1; border: none; border-bottom: 2px solid rgba(255,255,255,0.2);
  background: transparent; color: var(--white);
  font-size: clamp(1rem, 2vw, 1.3rem); padding: 0.6rem 0; outline: none; transition: border-color 0.3s;
}
.contactanos__input:focus { border-bottom-color: var(--green); }
.contactanos__input::placeholder { color: rgba(255,255,255,0.25); }
.contactanos__next {
  flex-shrink: 0; width: 3rem; height: 3rem;
  display: flex; align-items: center; justify-content: center;
  background: var(--green); color: var(--navy);
  font-size: 1.2rem; font-weight: 700; transition: background 0.2s, transform 0.2s;
}
.contactanos__next:hover { background: var(--light-blue); transform: scale(1.05); }
.contactanos__thanks { font-size: clamp(1.2rem, 2.5vw, 1.8rem); font-weight: 600; color: var(--white); }
.contactanos__thanks span { color: var(--green); }
.contactanos__error { color: var(--pink); font-size: 0.85rem; margin-top: 0.5rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--dark-blue); color: var(--white); padding: 3rem 0; }
.footer__inner { display: flex; flex-direction: column; gap: 1.5rem; padding: 0 var(--pad); max-width: 1400px; margin: 0 auto; }
.footer__top { display: flex; justify-content: space-between; align-items: center; }
.footer__logo img { width: clamp(150px, 18vw, 250px); }
.footer__social { display: flex; gap: 1.5rem; }
.footer__social-link {
  display: flex; align-items: center; justify-content: center;
  width: 3.5rem; height: 3.5rem; border: 1px solid rgba(255,255,255,0.1);
  transition: border-color 0.3s, background 0.3s;
}
.footer__social-link:hover { border-color: var(--green); background: rgba(0,226,139,0.05); }
.footer__social-link img { width: 1.5rem; transition: transform 0.2s; }
.footer__social-link:hover img { transform: scale(1.15); }
.footer__divider { height: 1px; background: rgba(255,255,255,0.08); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; }
.footer__copy { font-size: 0.75rem; color: rgba(255,255,255,0.4); }
.footer__tagline { font-size: 0.8rem; font-weight: 600; color: var(--green); letter-spacing: 0.1em; }

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease-out, transform 0.8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Soft shadow between sections */
.productos, .ayudamos, .talentos, .noticias { position: relative; z-index: 1; }

/* Scroll snap on desktop */
@media (min-height: 600px) and (min-width: 901px) {
  html { scroll-snap-type: y proximity; }
  .hero, .productos, .ayudamos, .servicios, .talentos { scroll-snap-align: start; }
}

/* ============================================================
   MOBILE — max-width: 900px
   ============================================================ */
@media (max-width: 900px) {
  :root { --nav-h: 52px; }

  /* Navbar mobile */
  .navbar__hamburger { display: flex; }
  .navbar--scrolled { height: 46px; }
  .navbar__nav {
    position: fixed; top: 0; right: 0; width: 75vw; max-width: 300px;
    height: 100dvh; flex-direction: column; background: var(--navy);
    padding: 5rem 1.5rem 2rem; transform: translateX(100%);
    transition: transform 0.35s var(--ease); box-shadow: -4px 0 30px rgba(0,0,0,0.4);
  }
  .navbar__nav.is-open { transform: translateX(0); }
  /* Dark overlay behind mobile menu */
  .navbar__nav::before {
    content: ''; position: fixed; top: 0; left: -100vw; width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.5); opacity: 0; transition: opacity 0.3s;
    pointer-events: none;
  }
  .navbar__nav.is-open::before { opacity: 1; pointer-events: auto; }
  .navbar__list { flex-direction: column; }
  .navbar__link { line-height: 3rem; font-size: 0.95rem; padding: 0; }
  .navbar__link::after { bottom: 4px; left: 0; right: 0; }
  .navbar__link.is-active { color: var(--green); border-left: 3px solid var(--green); padding-left: 0.75rem; }
  .navbar__link.is-active::after { display: none; }

  /* Fullscreen sections — let them be natural height on mobile */
  .productos, .servicios, .talentos, .ayudamos {
    height: auto; min-height: 0;
  }
  .noticias, .socios, .contactanos { min-height: 0; }

  /* Scroll snap off */
  html { scroll-snap-type: none !important; }

  /* Hero mobile */
  .hero { min-height: 100svh; padding: calc(var(--nav-h) + 1rem) 1.5rem 5rem; }
  .hero__bg { height: 55%; top: var(--nav-h); left: 4%; right: 4%; }
  .hero::after { height: 60%; background: linear-gradient(to top, var(--navy) 0%, var(--navy) 25%, transparent 100%); }
  .hero__title { width: 95%; }
  .hero__tagline { max-width: 100%; font-size: 0.85rem; }
  .hero__scroll-indicator { bottom: 1.5rem; }

  /* Productos mobile */
  .productos { padding: 2.5rem 0; }
  .productos__header { margin-bottom: 1.5rem; }
  .productos__card { width: 85vw; padding: 1.5rem; }
  .productos__card-lottie { height: 140px; margin-bottom: 1rem; }
  .productos__card-title { font-size: 1.2rem; }

  /* Ayudamos mobile */
  .ayudamos { padding: 2.5rem 0; }
  .ayudamos__inner { grid-template-columns: 1fr; gap: 2rem; }
  .ayudamos::before { display: none; }
  .ayudamos__left { gap: 1rem; }
  .ayudamos__step { padding: 0.8rem 1rem; }
  .ayudamos__step-text { font-size: 0.82rem; }

  /* Servicios mobile */
  .servicios { padding: 2.5rem 0; }
  .servicios__content { grid-template-columns: 1fr; gap: 2rem; }
  .servicios__decorative { display: none; }
  .servicios::before, .servicios::after { display: none; }
  .servicios__keyword { font-size: clamp(2.5rem, 12vw, 3.5rem); }
  .servicios__stats { flex-wrap: wrap; gap: 0.6rem; }
  .servicios__stat { padding: 0.6rem 0.8rem; }
  .servicios__highlight-line { font-size: clamp(1rem, 4vw, 1.3rem); }
  .servicios__highlight-line--accent { font-size: clamp(1.2rem, 5vw, 1.6rem); }

  /* Talentos mobile */
  .talentos { padding: 2.5rem 0; }
  .talentos__grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .talentos__nav-item { padding: 1rem; }
  .talentos__nav-num { font-size: 1.5rem; min-width: 2rem; }
  .talentos__nav-label { font-size: 0.85rem; }
  .talentos__panel { min-height: 280px; }
  .talentos__panel-card { padding: 1.5rem; }
  .talentos__panel-icon { width: 45px; height: 45px; font-size: 1.8rem; }

  /* Noticias mobile */
  .noticias { padding: 2.5rem 0; }
  .noticias__top { margin-bottom: 1.5rem; align-items: center; }
  .noticias__arrow { width: 2.5rem; height: 2.5rem; font-size: 1rem; }
  .noticias__track-wrapper { padding-left: 1.5rem; }
  .noticias__card { flex: 0 0 85vw; padding: 1.5rem; }
  .noticias__card-title { font-size: 1.1rem; }

  /* Socios mobile */
  .socios { padding: 3rem 0; }
  .socios__inner { gap: 3rem; }
  .socios__logo { padding: 1rem 1.5rem; }
  .socios__logo img { height: 40px; }
  .socios__subtitle { font-size: 0.85rem; }

  /* Contactanos mobile */
  .contactanos { padding: 3rem 0; }
  .contactanos__grid { grid-template-columns: 1fr; gap: 2rem; padding: 0 1.5rem; }
  .contactanos__heading { font-size: clamp(2rem, 8vw, 2.8rem); }
  .contactanos__desc { font-size: 0.9rem; }
  .contactanos__form { padding: 1.5rem; }
  .contactanos__label { font-size: 1.1rem; }

  /* Footer mobile */
  .footer { padding: 2rem 0; }
  .footer__top { flex-direction: column; gap: 1.5rem; align-items: flex-start; }
  .footer__social-link { width: 3rem; height: 3rem; }
  .footer__bottom { flex-direction: column; gap: 0.5rem; align-items: flex-start; }
}

/* ============================================================
   SMALL MOBILE — max-width: 400px
   ============================================================ */
@media (max-width: 400px) {
  .section-title { font-size: 1.6rem; padding: 0.4rem 1rem 0.4rem 0.8rem; }
  .productos__card { width: 90vw; }
  .noticias__card { flex: 0 0 90vw; }
  .servicios__keyword { font-size: 2.2rem; }
  .contactanos__heading { font-size: 1.8rem; }
  .talentos__nav-num { display: none; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal, .productos__card, .ayudamos__step { opacity: 1; transform: none; }
  html { scroll-snap-type: none !important; }
}
