/* =========================================================
   ÑEMITY S.A. — Estilos globales
   Paleta: verde institucional, verde oliva/profundo, negro,
   grafito, gris mineral, blanco cálido. Sin azul ni naranja.
   ========================================================= */

:root {
  --black: #090b0a;
  --graphite: #171b19;
  --graphite-2: #20251f;
  --mineral: #3a3f3b;
  --mineral-light: #6b716b;
  --warm-white: #f4f2ec;
  --off-white: #d9d7cf;

  --green-deep: #0d2f24;
  --green-olive: #223821;
  --green-brand: #1f6b46;
  --green-accent: #47a875;
  --green-glow: rgba(71, 168, 117, 0.45);

  --font-display: 'Archivo', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Inter', 'Segoe UI', Arial, sans-serif;

  --container-w: 1240px;
  --radius: 4px;
  --ease: cubic-bezier(.4,0,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }

body {
  font-family: var(--font-body);
  background: var(--warm-white);
  color: var(--graphite);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; background: none; border: none; color: inherit; }
input, select, textarea { font-family: inherit; }

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}

:focus-visible {
  outline: 2px solid var(--green-accent);
  outline-offset: 2px;
}

.icon { width: 22px; height: 22px; }

/* ---------------------------------------------------------
   Reveal on scroll
--------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------------------------------------------------------
   Typography helpers
--------------------------------------------------------- */
.eyebrow {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--green-brand);
  margin: 0 0 14px;
}
.eyebrow-light { color: var(--green-accent); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--black);
  margin: 0 0 20px;
  max-width: 820px;
}
.section-title-light { color: var(--warm-white); }

.section-body {
  font-size: 17px;
  color: var(--mineral);
  max-width: 640px;
  margin: 0 0 40px;
}
.section-body-light { color: var(--off-white); }

/* ---------------------------------------------------------
   Buttons
--------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .01em;
  border-radius: var(--radius);
  transition: all .25s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--green-brand);
  color: var(--warm-white);
}
.btn-primary:hover { background: var(--green-accent); transform: translateY(-2px); box-shadow: 0 10px 24px var(--green-glow); }
.btn-ghost-light {
  border: 1px solid rgba(244,242,236,0.4);
  color: var(--warm-white);
}
.btn-ghost-light:hover { border-color: var(--warm-white); background: rgba(244,242,236,0.08); }
.btn-header { display: none; }
.btn-block { width: 100%; }

@media (min-width: 1080px) {
  .btn-header { display: inline-flex; }
}

/* ---------------------------------------------------------
   HEADER
--------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  padding: 20px 0;
  transition: background .35s var(--ease), padding .35s var(--ease), box-shadow .35s var(--ease), backdrop-filter .35s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(9,11,10,0.82);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  padding: 12px 0;
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.header-logo img { height: 46px; width: auto; }

.main-nav { display: none; }
.main-nav ul { display: flex; gap: 28px; }
.main-nav a {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--warm-white);
  opacity: .85;
  transition: opacity .2s;
  position: relative;
}
.main-nav a::after {
  content: ''; position: absolute; left: 0; bottom: -6px; width: 0; height: 1.5px;
  background: var(--green-accent); transition: width .25s var(--ease);
}
.main-nav a:hover { opacity: 1; }
.main-nav a:hover::after { width: 100%; }

@media (min-width: 1080px) {
  .main-nav { display: block; }
}

/* Dropdown "Servicios" — desktop: hover + click; se cierra con click afuera */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--warm-white);
  opacity: .85;
  transition: opacity .2s;
}
.nav-dropdown-toggle:hover, .nav-dropdown.is-open .nav-dropdown-toggle { opacity: 1; }
.nav-dropdown-toggle .icon-chevron { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.nav-dropdown.is-open .nav-dropdown-toggle .icon-chevron { transform: rotate(180deg); }

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 220px;
  background: var(--graphite);
  border: 1px solid rgba(71,168,117,0.3);
  border-radius: 8px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  z-index: 20;
}
.nav-dropdown-menu a {
  display: block;
  padding: 10px 14px;
  border-radius: 5px;
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--off-white);
  white-space: nowrap;
}
.nav-dropdown-menu a:hover { background: rgba(71,168,117,0.15); color: var(--warm-white); }

@media (min-width: 1080px) {
  .nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0);
  }
}
.nav-dropdown.is-open .nav-dropdown-menu {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0);
}

.header-actions { display: flex; align-items: center; gap: 18px; }

.lang-switch { display: flex; align-items: center; gap: 2px; border: 1px solid rgba(244,242,236,0.25); border-radius: var(--radius); padding: 3px; }
.lang-btn {
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--off-white);
  border-radius: 2px;
  letter-spacing: .04em;
  transition: background .2s, color .2s;
}
.lang-btn.is-active { background: var(--green-brand); color: var(--warm-white); }

.menu-toggle {
  display: flex;
  color: var(--warm-white);
  padding: 4px;
}
@media (min-width: 1080px) {
  .menu-toggle { display: none; }
}

/* ---------------------------------------------------------
   MOBILE MENU
--------------------------------------------------------- */
.mobile-menu {
  position: fixed;
  top: 0; right: -100%;
  width: min(360px, 88vw);
  height: 100%;
  background: var(--black);
  z-index: 700;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  transition: right .4s var(--ease);
  overflow-y: auto;
}
.mobile-menu.is-open { right: 0; }
.mobile-menu-top { display: flex; align-items: center; justify-content: space-between; }
.mobile-logo { height: 36px; }
.mobile-menu nav ul { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu nav a {
  display: block;
  padding: 14px 4px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  color: var(--warm-white);
  border-bottom: 1px solid rgba(244,242,236,0.08);
}
.lang-switch-mobile { align-self: flex-start; }
.lang-switch-mobile .lang-btn { padding: 8px 12px; font-size: 13px; }

/* Dropdown "Servicios" dentro del menú móvil (acordeón) */
.mobile-nav-dropdown-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 4px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  color: var(--warm-white);
  border-bottom: 1px solid rgba(244,242,236,0.08);
}
.mobile-nav-dropdown-toggle .icon-chevron { width: 16px; height: 16px; transition: transform .25s var(--ease); flex-shrink: 0; }
.mobile-nav-dropdown.is-open .mobile-nav-dropdown-toggle .icon-chevron { transform: rotate(180deg); }
.mobile-nav-dropdown-menu {
  max-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: max-height .3s var(--ease);
}
.mobile-nav-dropdown.is-open .mobile-nav-dropdown-menu { max-height: 200px; }
.mobile-nav-dropdown-menu a {
  padding: 12px 4px 12px 20px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  color: var(--off-white);
  border-bottom: 1px solid rgba(244,242,236,0.06);
}

.mobile-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 600;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
.mobile-overlay.is-open { opacity: 1; pointer-events: auto; }

/* ---------------------------------------------------------
   HERO
--------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  color: var(--warm-white);
  overflow: hidden;
  background: radial-gradient(circle at 78% 18%, rgba(71,168,117,0.16), transparent 55%), linear-gradient(160deg, #0c1210 0%, #0a0d0b 45%, #0d1a14 100%);
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 2;
}

/* CSS fallback: technical grid + route lines + tracking dots */
.hero-css-fallback { position: absolute; inset: 0; z-index: 1; }
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(71,168,117,0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(71,168,117,0.12) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 60% 30%, black 10%, transparent 75%);
}
.hero-scanline {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(71,168,117,0.05) 50%, transparent 100%);
  background-size: 100% 220px;
  animation: scanMove 7s linear infinite;
}
@keyframes scanMove { 0% { background-position: 0 -220px; } 100% { background-position: 0 100vh; } }

.hero-routes-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-route-lines path { fill: none; stroke: rgba(71,168,117,0.4); stroke-width: 1.4; stroke-dasharray: 2 7; }
.hero-route-dots .dot { fill: var(--green-accent); filter: drop-shadow(0 0 6px var(--green-accent)); }

.hero-overlay {
  position: absolute; inset: 0;
  z-index: 3;
  background:
    linear-gradient(180deg, rgba(9,11,10,0.35) 0%, rgba(9,11,10,0.25) 35%, rgba(9,11,10,0.94) 100%),
    linear-gradient(90deg, rgba(9,11,10,0.65) 0%, rgba(9,11,10,0.05) 55%);
}

.hero-content { position: relative; z-index: 5; padding-bottom: 110px; padding-top: 160px; }
.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 6vw, 62px);
  line-height: 1.08;
  max-width: 880px;
  margin: 0 0 22px;
}
.hero-subtitle { font-size: 18px; max-width: 640px; color: var(--off-white); margin: 0 0 28px; }

.hero-micro {
  display: flex; flex-wrap: wrap; gap: 10px 0;
  margin: 0 0 36px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--green-accent);
}
.hero-micro li {
  opacity: 0; transform: translateX(-8px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.hero-micro li.is-visible { opacity: 1; transform: translateX(0); }
.hero-micro li:not(:last-child)::after { content: '|'; margin: 0 14px; color: rgba(244,242,236,0.3); }

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

.hero-scroll {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  z-index: 5;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--off-white); opacity: .8;
}
.hero-scroll-line { width: 1px; height: 34px; background: linear-gradient(180deg, var(--green-accent), transparent); animation: scrollPulse 2s infinite; }
@keyframes scrollPulse { 0%,100% { opacity: .3; } 50% { opacity: 1; } }

/* ---------------------------------------------------------
   STATS
--------------------------------------------------------- */
.stats { background: var(--black); color: var(--warm-white); padding: 64px 0; }
.stats .eyebrow { text-align: center; color: var(--green-accent); }
.stats-grid {
  display: grid; grid-template-columns: 1fr; gap: 36px;
  text-align: center;
}
@media (min-width: 720px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
}
.stat-number, .stat-static {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(30px, 4vw, 46px);
  color: var(--warm-white);
  text-shadow: 0 0 18px rgba(71,168,117,0.28);
}
.stat-label { display: block; margin-top: 8px; font-size: 14px; color: var(--off-white); }

/* ---------------------------------------------------------
   RUPTURE (with subtle parallax on background image)
--------------------------------------------------------- */
.rupture {
  position: relative;
  padding: 140px 0;
  color: var(--warm-white);
  overflow: hidden;
}
.rupture-bg { position: absolute; inset: -10% 0; z-index: 0; will-change: transform; }
.rupture-bg img { width: 100%; height: 120%; object-fit: cover; }
.rupture-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(9,11,10,0.9), rgba(13,47,36,0.9));
}
.rupture .container { position: relative; z-index: 1; }
.rupture-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 4.6vw, 48px);
  line-height: 1.2;
  max-width: 780px;
  margin: 0 0 24px;
}
.rupture-body { font-size: 18px; max-width: 560px; color: var(--off-white); }

/* ---------------------------------------------------------
   MODEL TIMELINE (nodes numerados + línea animada)
--------------------------------------------------------- */
.model { padding: 100px 0; background: var(--warm-white); }
.model .section-body { margin-bottom: 0; }

.model-timeline { position: relative; margin-top: 56px; }

/* Mobile-first: timeline vertical */
.model-track {
  position: absolute; top: 6px; bottom: 6px; left: 27px;
  width: 3px;
  background: rgba(58,63,59,0.15);
}
.model-track-fill {
  position: absolute; top: 0; left: 0; width: 100%; height: 0;
  background: linear-gradient(180deg, var(--green-accent), var(--green-brand));
  transition: height 1.4s var(--ease);
}
.model-timeline.is-visible .model-track-fill { height: 100%; }

.model-nodes { display: flex; flex-direction: column; gap: 0; }
.model-node {
  position: relative;
  padding: 0 0 44px 68px;
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.model-node:last-child { padding-bottom: 0; }
.model-node-number {
  position: absolute; top: -2px; left: 68px;
  font-family: var(--font-display); font-weight: 800; font-size: 13px;
  color: var(--mineral-light); letter-spacing: .06em;
}
.model-node-marker {
  position: absolute; top: 0; left: 0;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--warm-white);
  border: 2px solid rgba(58,63,59,0.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--green-brand);
  transition: border-color .4s var(--ease), box-shadow .4s var(--ease), background .4s var(--ease);
  z-index: 1;
}
.model-node-marker .icon { width: 26px; height: 26px; }
.model-node.is-active .model-node-marker {
  border-color: var(--green-accent);
  background: var(--graphite);
  color: var(--warm-white);
  box-shadow: 0 0 0 6px var(--green-glow);
}
.model-node.is-active .model-node-number { color: var(--green-brand); }
.model-node h3 {
  font-family: var(--font-display); font-size: 22px; margin: 28px 0 8px;
}
.model-node p { margin: 0; color: var(--mineral); max-width: 420px; }
.model-pulse { display: none; }

@media (min-width: 980px) {
  .model-track { top: 27px; left: 6%; right: 6%; bottom: auto; width: auto; height: 3px; }
  .model-track-fill { background: linear-gradient(90deg, var(--green-accent), var(--green-brand)); width: 0; height: 100%; transition: width 1.4s var(--ease); }
  .model-timeline.is-visible .model-track-fill { width: 100%; height: 100%; }

  .model-nodes { flex-direction: row; align-items: flex-start; justify-content: space-between; }
  .model-node { flex: 1; padding: 68px 12px 0; text-align: center; }
  .model-node-number { top: -2px; left: 50%; transform: translateX(-50%); }
  .model-node-marker { top: 0; left: 50%; transform: translateX(-50%); }
  .model-node h3 { margin: 20px 0 8px; }
  .model-node p { margin-inline: auto; }

  .model-pulse {
    display: block; width: 7px; height: 7px; border-radius: 50%;
    background: var(--green-accent);
    align-self: flex-start;
    margin-top: 24px;
    box-shadow: 0 0 0 4px var(--green-glow);
    animation: modelPulse 1.8s ease-in-out infinite;
  }
}
@keyframes modelPulse { 0%,100% { opacity: .4; transform: scale(.85); } 50% { opacity: 1; transform: scale(1.15); } }

/* ---------------------------------------------------------
   ABOUT — sección cinematográfica (segunda hero)
--------------------------------------------------------- */
.about-cinematic {
  position: relative;
  overflow: hidden;
  color: var(--warm-white);
  background: var(--black);
  min-height: 620px;
  display: flex;
  align-items: center;
  padding: 90px 0;
}
.about-cinematic-bg { position: absolute; inset: -6% 0; z-index: 0; will-change: transform; }
.about-cinematic-bg img {
  width: 100%; height: 112%; object-fit: cover;
  object-position: 32% 42%; /* mantiene a Javier y la placa Ñemity visibles */
}
.about-cinematic-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(100deg,
      rgba(9,11,10,0.28) 0%,
      rgba(9,11,10,0.42) 38%,
      rgba(13,47,36,0.82) 62%,
      rgba(9,11,10,0.94) 100%),
    linear-gradient(0deg, rgba(9,11,10,0.55) 0%, transparent 30%);
}
.about-cinematic-content { position: relative; z-index: 2; display: flex; justify-content: flex-end; }
.about-cinematic-text { max-width: 560px; width: 100%; }
.about-cinematic-text p.section-body-light {
  font-size: 16px; margin: 0 0 16px;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

@media (max-width: 600px) {
  .about-cinematic-text p.section-body-light {
    text-align: left;
    hyphens: none;
  }
}

.about-values {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
  margin-top: 28px;
}
.about-value-card {
  display: flex; flex-direction: column; gap: 8px;
  padding: 16px 16px 18px;
  background: rgba(9,11,10,0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(71,168,117,0.28);
  border-radius: 8px;
  transition: border-color .25s, background .25s, transform .25s;
}
.about-value-card:hover { border-color: var(--green-accent); background: rgba(9,11,10,0.5); transform: translateY(-2px); }
.about-value-card .icon { color: var(--green-accent); flex-shrink: 0; width: 22px; height: 22px; }
.about-value-card strong { font-family: var(--font-display); font-weight: 700; font-size: 14.5px; color: var(--warm-white); }
.about-value-card span { font-size: 12.5px; color: var(--off-white); }

@media (max-width: 899px) {
  .about-cinematic { min-height: 0; padding: 0 0 70px; flex-direction: column; align-items: stretch; display: block; }
  .about-cinematic-bg { position: relative; inset: auto; height: 320px; overflow: hidden; }
  .about-cinematic-bg img { height: 100%; object-position: 38% 30%; }
  .about-cinematic-overlay { position: absolute; top: 0; left: 0; right: 0; height: 320px; background: linear-gradient(180deg, rgba(9,11,10,0.15) 0%, rgba(9,11,10,0.85) 100%); }
  .about-cinematic-content { display: block; padding-top: 36px; }
  .about-cinematic-text { max-width: none; }
}

/* ---------------------------------------------------------
   SERVICES (premium hover: elevation + green border + glow)
--------------------------------------------------------- */
.services { padding: 100px 0; background: var(--warm-white); }
.services-grid {
  margin-top: 50px;
  display: grid; grid-template-columns: 1fr; gap: 2px;
  background: rgba(58,63,59,0.15);
}
@media (min-width: 700px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  background: var(--warm-white);
  padding: 40px 32px;
  transition: background .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
  border: 1px solid transparent;
  position: relative;
}
.service-card:hover {
  background: var(--black); color: var(--warm-white); transform: translateY(-6px);
  border-color: var(--green-glow);
  box-shadow: 0 20px 40px rgba(0,0,0,0.35), 0 0 0 1px var(--green-glow);
  z-index: 2;
}
.service-card:hover .service-icon { color: var(--green-accent); }
.service-card:hover p { color: var(--off-white); }
.service-icon { color: var(--green-brand); margin-bottom: 20px; transition: color .3s; }
.service-icon .icon { width: 36px; height: 36px; }
.service-card h3 { font-family: var(--font-display); font-size: 19px; margin: 0 0 12px; }
.service-card p { margin: 0; color: var(--mineral); font-size: 15px; transition: color .3s; }

.services-cta { margin-top: 44px; text-align: center; }

/* ---------------------------------------------------------
   COMPLEX — fondo único de foto real
--------------------------------------------------------- */
.complex {
  position: relative;
  overflow: hidden;
  min-height: 640px;
  display: flex;
  align-items: center;
  padding: 100px 0;
  color: var(--warm-white);
  background: var(--graphite);
}
.complex-bg { position: absolute; inset: -6% 0; z-index: 0; will-change: transform; }
.complex-bg img { width: 100%; height: 112%; object-fit: cover; object-position: center 38%; }
.complex-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(9,11,10,0.55) 0%, rgba(9,11,10,0.5) 40%, rgba(13,47,36,0.92) 100%),
    linear-gradient(90deg, rgba(9,11,10,0.75) 0%, rgba(9,11,10,0.1) 55%);
}
.complex-content { position: relative; z-index: 2; }
.complex-content .eyebrow { color: var(--green-accent); }
.complex-content .section-title { color: var(--warm-white); max-width: 720px; }
.complex-content .section-body-light { max-width: 620px; font-size: 17px; margin: 0 0 36px; }

.complex-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.complex-chip {
  padding: 10px 18px;
  background: rgba(9,11,10,0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(71,168,117,0.35);
  border-radius: 30px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  transition: border-color .25s, background .25s;
}
.complex-chip:hover { border-color: var(--green-accent); background: rgba(9,11,10,0.65); }
.complex-cta { margin-top: 8px; }

@media (max-width: 640px) {
  .complex { min-height: 0; padding: 80px 0; }
}

/* ---------------------------------------------------------
   GALLERY — bento grid editorial (4 fotos + 2 videos)
--------------------------------------------------------- */
.gallery { padding: 90px 0; background: var(--black); color: var(--warm-white); }
.gallery .eyebrow { color: var(--green-accent); }
.gallery .section-title { color: var(--warm-white); }

.gallery-bento {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(4, 150px);
  grid-template-areas:
    "vm   vm"
    "p1   p2"
    "vs   vs"
    "p3   p4";
  gap: 10px;
  margin-top: 40px;
}
.bento-video-main      { grid-area: vm; }
.bento-photo-1         { grid-area: p1; }
.bento-photo-2         { grid-area: p2; }
.bento-video-secondary { grid-area: vs; }
.bento-photo-3         { grid-area: p3; }
.bento-photo-4         { grid-area: p4; }

.bento-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(244,242,236,0.08);
  background: var(--graphite);
  transition: border-color .3s;
}
.bento-item:hover { border-color: var(--green-glow); }
.bento-item img, .bento-item video { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.bento-item:hover img, .bento-item:hover video { transform: scale(1.04); }
.bento-item::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(9,11,10,0) 55%, rgba(9,11,10,0.35) 100%);
  pointer-events: none;
  opacity: 0; transition: opacity .3s;
}
.bento-item:hover::after { opacity: 1; }

.bento-photo-2 img { object-position: center 22%; } /* preserva el rostro en el retrato frontal */
.bento-photo-3 img { object-position: center 30%; }

.bento-mute-btn {
  position: absolute; bottom: 12px; right: 12px; z-index: 2;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(9,11,10,0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(244,242,236,0.3);
  color: var(--warm-white);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, border-color .2s, transform .2s;
}
.bento-mute-btn:hover { background: rgba(71,168,117,0.35); border-color: var(--green-accent); transform: scale(1.08); }
.bento-mute-btn .icon { width: 17px; height: 17px; }

.gallery-note { margin: 24px 0 0; font-size: 13px; color: var(--mineral-light); }

@media (min-width: 700px) {
  .gallery-bento {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, 150px);
    grid-template-areas:
      "vm vm p1 p2"
      "vm vm p3 p2"
      "p4 p4 vs vs";
  }
}

/* ---------------------------------------------------------
   TECH
--------------------------------------------------------- */
.tech { padding: 100px 0; background: var(--green-deep); color: var(--warm-white); }
.tech-grid { display: grid; grid-template-columns: 1fr; gap: 50px; align-items: start; }
@media (min-width: 980px) { .tech-grid { grid-template-columns: 1fr 1fr; } }

.tech-points { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 30px; }
@media (min-width: 560px) { .tech-points { grid-template-columns: 1fr 1fr; } }
.tech-point { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 600; font-size: 14.5px; }
.tech-point .icon { color: var(--green-accent); flex-shrink: 0; width: 24px; height: 24px; }

/* ---- Device mockups: notebook (MaxFlet) + smartphone (GPS), CSS puro ---- */
.tech-devices {
  position: relative;
  padding: 30px 10px 70px;
  min-height: 380px;
}
.tech-connection-svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; display: none; }
.tech-connection-line { fill: none; stroke: rgba(71,168,117,0.45); stroke-width: 1.4; stroke-dasharray: 3 6; }
.tech-connection-dot { fill: var(--green-accent); filter: drop-shadow(0 0 5px var(--green-accent)); }

.tech-notebook {
  position: relative; z-index: 1;
  width: 100%; max-width: 420px;
  margin: 0 auto;
  opacity: 0; transform: translateY(26px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.tech-notebook.is-visible { opacity: 1; transform: translateY(0); }

.tech-notebook-screen {
  position: relative;
  background: #12312a;
  border: 10px solid #10201b;
  border-bottom-width: 14px;
  border-radius: 14px 14px 6px 6px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.45);
  transform: perspective(1400px) rotateX(2deg);
}
.tech-notebook-cam {
  position: absolute; top: -7px; left: 50%; transform: translateX(-50%);
  width: 5px; height: 5px; border-radius: 50%;
  background: rgba(244,242,236,0.25);
}
.tech-notebook-display {
  aspect-ratio: 16/10;
  background: #0a1613;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  border-radius: 4px;
}
.tech-notebook-display img { width: 100%; height: 100%; object-fit: contain; }
.tech-notebook-base {
  height: 14px;
  margin: 0 -4px;
  background: linear-gradient(180deg, #1a2621, #0e1512);
  border-radius: 0 0 10px 10px;
  position: relative;
}
.tech-notebook-hinge {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 60px; height: 4px; border-radius: 0 0 6px 6px;
  background: rgba(9,11,10,0.6);
}

.tech-phone {
  position: relative; z-index: 2;
  width: 128px;
  margin: -54px auto 0 auto;
  opacity: 0; transform: translateY(26px);
  transition: opacity .8s var(--ease) .18s, transform .8s var(--ease) .18s;
}
.tech-phone.is-visible { opacity: 1; transform: translateY(0); }
.tech-phone-notch {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 30px; height: 5px; border-radius: 3px;
  background: rgba(9,11,10,0.5);
  z-index: 1;
}
.tech-phone-screen {
  aspect-ratio: 9/19.5;
  background: #0a1613;
  border: 8px solid #10201b;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}
.tech-phone-screen img { width: 100%; height: 100%; object-fit: cover; }

.tech-device-label {
  margin: 22px 0 0; text-align: center;
  font-family: var(--font-display); font-weight: 700; font-size: 14.5px;
  color: var(--warm-white);
}
.tech-device-label span { display: block; margin-top: 3px; font-weight: 500; font-size: 12.5px; color: var(--off-white); }
.tech-device-label-phone { margin-top: 14px; }

@media (min-width: 980px) {
  .tech-devices { min-height: 460px; padding: 10px 0 0; }
  .tech-connection-svg { display: block; }
  .tech-notebook { max-width: 460px; }
  .tech-phone { position: absolute; right: 4%; bottom: 6%; margin: 0; width: 132px; }

  /* El float sutil arranca recién cuando termina el reveal, para no pelear con la transición */
  .tech-notebook.is-visible { animation: techFloat 6s ease-in-out infinite .8s; }
  .tech-phone.is-visible { animation: techFloat 5s ease-in-out infinite 1s; }
}
@keyframes techFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* ---------------------------------------------------------
   SAFETY
--------------------------------------------------------- */
.safety { padding: 100px 0; background: var(--warm-white); }
.safety-grid { display: grid; grid-template-columns: 1fr; gap: 50px; margin-top: 40px; }
@media (min-width: 980px) { .safety-grid { grid-template-columns: 1fr 1fr; } }

.safety-video-card { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/10; position: relative; background: var(--graphite); }
.safety-video-card video { width: 100%; height: 100%; object-fit: cover; display: block; }
.safety-video-poster {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  background: linear-gradient(160deg, var(--green-olive), var(--graphite));
  cursor: pointer;
}
.safety-play-btn {
  width: 74px; height: 74px; border-radius: 50%;
  border: 1.5px solid rgba(244,242,236,0.5);
  color: var(--warm-white);
  display: flex; align-items: center; justify-content: center;
  transition: transform .25s var(--ease), background .25s, border-color .25s;
}
.safety-play-btn .icon { width: 34px; height: 34px; }
.safety-video-poster:hover .safety-play-btn { transform: scale(1.08); background: rgba(71,168,117,0.25); border-color: var(--green-accent); }
.safety-video-title { color: var(--warm-white); font-family: var(--font-display); font-weight: 600; font-size: 15px; text-align: center; padding: 0 20px; }
.safety-video-note { margin: 18px 0 0; font-size: 13px; color: var(--mineral-light); }

.safety-points { display: grid; grid-template-columns: 1fr; gap: 4px; align-content: start; }
.safety-point {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 4px;
  border-bottom: 1px solid rgba(58,63,59,0.15);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
}
.safety-point .icon { color: var(--green-brand); flex-shrink: 0; }

/* ---------------------------------------------------------
   CONNECTED DIAGRAM
--------------------------------------------------------- */
.connected { padding: 110px 0; background: var(--black); color: var(--warm-white); text-align: center; }
.connected .container { display: flex; flex-direction: column; align-items: center; }
.connected .eyebrow, .connected .section-title { text-align: center; }
.connected-diagram {
  position: relative;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 1/1;
  margin-top: 40px;
}
.connected-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.connected-lines line { stroke-dasharray: 4 5; animation: dashFlow 3.5s linear infinite; }
@keyframes dashFlow { to { stroke-dashoffset: -18; } }
.connected-center-circle { fill: var(--green-deep); stroke: var(--green-accent); stroke-width: 1.5; }
.connected-center-label {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  font-family: var(--font-display); font-weight: 800; font-size: 15px;
  letter-spacing: .06em; color: var(--warm-white);
}
.connected-node {
  position: absolute; transform: translate(-50%, -50%);
  background: var(--graphite);
  border: 1px solid rgba(71,168,117,0.4);
  padding: 9px 16px;
  border-radius: 30px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12.5px;
  white-space: nowrap;
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.connected-node:hover { transform: translate(-50%, -50%) scale(1.08); border-color: var(--green-accent); box-shadow: 0 0 18px var(--green-glow); }

/* ---------------------------------------------------------
   COVERAGE / MAP
--------------------------------------------------------- */
.coverage { padding: 100px 0; background: var(--warm-white); }
.coverage-grid { display: grid; grid-template-columns: 1fr; gap: 50px; align-items: center; }
@media (min-width: 980px) { .coverage-grid { grid-template-columns: 1fr 1fr; } }

.coverage-legend { margin-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.coverage-legend li { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 600; font-size: 14px; }
.legend-dot { width: 11px; height: 11px; border-radius: 50%; flex-shrink: 0; }
.legend-dot-hq { background: var(--green-accent); }
.legend-dot-complex { background: var(--green-brand); }
.legend-dot-coverage { background: var(--mineral-light); }

.coverage-map { display: flex; justify-content: center; }
.map-image {
  width: 100%; max-width: 440px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 30px rgba(13,47,36,0.14));
  animation: mapFloat 7s ease-in-out infinite;
}
@keyframes mapFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) {
  .map-image { animation: none; }
}

/* ---------------------------------------------------------
   MARKETS
--------------------------------------------------------- */
.markets { padding: 100px 0; background: var(--off-white); }
.markets-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 40px; }
@media (min-width: 700px) { .markets-grid { grid-template-columns: repeat(4, 1fr); } }
.market-card {
  background: var(--warm-white);
  border: 1px solid rgba(58,63,59,0.15);
  border-radius: var(--radius);
  padding: 26px 18px;
  text-align: center;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.market-card:hover { border-color: var(--green-brand); transform: translateY(-3px); box-shadow: 0 12px 24px rgba(0,0,0,0.08); }
.market-icon { color: var(--green-brand); margin-bottom: 12px; display: flex; justify-content: center; }
.market-card span { font-family: var(--font-display); font-weight: 600; font-size: 14px; }

/* ---------------------------------------------------------
   HISTORIA Y EVOLUCIÓN — sección cinematográfica con video
--------------------------------------------------------- */
.historia {
  position: relative;
  overflow: hidden;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: var(--black);
  color: var(--warm-white);
}
.historia-media { position: absolute; inset: 0; z-index: 0; background: var(--graphite); }
.historia-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center center; }
.historia-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(100deg, rgba(9,11,10,0.88) 0%, rgba(9,11,10,0.6) 32%, rgba(13,47,36,0.28) 55%, rgba(9,11,10,0.35) 100%),
    linear-gradient(0deg, rgba(9,11,10,0.65) 0%, transparent 35%);
}
.historia-content { position: relative; z-index: 2; max-width: 650px; }
.historia-headline { margin-bottom: 16px; }
.historia-subheadline { font-size: 18px; margin: 0 0 14px; max-width: 560px; }
.historia-text { font-size: 15px; opacity: .85; margin: 0 0 32px; max-width: 500px; }

.historia-headline, .historia-subheadline, .historia-text, .historia-controls { transition-delay: 0s; }
.historia .eyebrow.reveal { transition-delay: 0s; }
.historia-headline.reveal { transition-delay: .12s; }
.historia-subheadline.reveal { transition-delay: .24s; }
.historia-text.reveal { transition-delay: .32s; }
.historia-controls.reveal { transition-delay: .44s; }

.historia-controls { display: flex; align-items: center; gap: 14px; }
.historia-control-btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 12px 18px;
  border: 1px solid rgba(244,242,236,0.35);
  border-radius: 30px;
  background: rgba(9,11,10,0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--warm-white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  transition: border-color .25s, background .25s, transform .25s;
}
.historia-control-btn:hover { border-color: var(--green-accent); background: rgba(71,168,117,0.2); transform: translateY(-1px); }
.historia-control-btn .icon { width: 17px; height: 17px; flex-shrink: 0; }
.historia-playpause-btn { padding: 12px; border-radius: 50%; }

.historia-progress {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  height: 2px; background: rgba(244,242,236,0.12);
}
.historia-progress-fill { display: block; height: 100%; width: 0%; background: var(--green-accent); transition: width .2s linear; }

@media (max-width: 899px) {
  .historia { min-height: 78vh; padding: 60px 0; }
  .historia-subheadline { font-size: 16px; }
}

/* ---------------------------------------------------------
   CONTACT — CTA final (sin formulario inline)
--------------------------------------------------------- */
.contact { position: relative; padding: 120px 0; background: var(--black); color: var(--warm-white); overflow: hidden; text-align: center; }
.contact-routes {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(71,168,117,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(71,168,117,0.08) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 40%, black 0%, transparent 72%);
}
.contact-content-wrap { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.contact-headline { margin-left: auto; margin-right: auto; }
.contact-lead { max-width: 560px; margin: 0 auto 40px; font-size: 17px; }

.contact-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-bottom: 48px; }

.contact-info { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; }
.contact-info-item { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; color: var(--off-white); }
.contact-info-item .icon { color: var(--green-accent); }
.contact-info-item:hover { color: var(--warm-white); }

/* Inputs compartidos por el modal de cotización */
.modal-form label { display: flex; flex-direction: column; gap: 8px; font-size: 13px; font-weight: 600; color: var(--off-white); }
.modal-form input, .modal-form select, .modal-form textarea {
  background: rgba(244,242,236,0.06);
  border: 1px solid rgba(244,242,236,0.2);
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--warm-white);
  font-size: 15px;
}
.modal-form input:focus, .modal-form select:focus, .modal-form textarea:focus {
  border-color: var(--green-accent);
  background: rgba(244,242,236,0.1);
}
.modal-form select option { color: var(--black); }
.form-row { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 560px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-full { width: 100%; }
.form-feedback { min-height: 20px; font-size: 14px; font-weight: 600; }
.form-feedback.is-success { color: var(--green-accent); }
.form-feedback.is-error { color: #e08a6b; }
.form-actions { display: flex; flex-direction: column; gap: 14px; margin-top: 6px; }
@media (min-width: 560px) { .form-actions { flex-direction: row; } }

@media (max-width: 640px) {
  .contact { padding: 90px 0; }
}

/* ---------------------------------------------------------
   FOOTER
--------------------------------------------------------- */
.site-footer { background: var(--graphite); color: var(--off-white); padding: 80px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 44px; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.footer-logo { height: 120px; width: auto; margin-bottom: 24px; }
@media (max-width: 480px) {
  .footer-logo { height: 96px; }
}
.footer-company { font-family: var(--font-display); font-weight: 800; letter-spacing: .06em; color: var(--warm-white); margin: 0 0 10px; }
.footer-person { margin: 0 0 8px; font-size: 14px; }
.footer-reg { font-size: 12.5px; color: var(--mineral-light); margin: 0 0 20px; }
.footer-social { display: flex; gap: 14px; }
.footer-social a { color: var(--off-white); transition: color .2s; }
.footer-social a:hover { color: var(--green-accent); }

.footer-col h4 { font-family: var(--font-display); color: var(--warm-white); font-size: 15px; margin: 0 0 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a { font-size: 14px; opacity: .85; }
.footer-col a:hover { opacity: 1; color: var(--green-accent); }
.footer-address li { display: flex; flex-direction: column; gap: 3px; margin-bottom: 16px; font-size: 14px; }
.footer-address strong { color: var(--warm-white); font-family: var(--font-display); font-size: 13px; }
.lang-switch-footer {
  margin-top: 6px;
  border-color: rgba(244,242,236,0.15);
  width: fit-content;
  max-width: max-content;
  display: inline-flex;
}

.footer-bottom { margin-top: 50px; border-top: 1px solid rgba(244,242,236,0.1); padding: 22px 0; }
.footer-bottom p { margin: 0; font-size: 13px; color: var(--mineral-light); text-align: center; }

/* ---------------------------------------------------------
   FLOATING WHATSAPP
--------------------------------------------------------- */
.floating-whatsapp {
  position: fixed; bottom: 22px; right: 22px; z-index: 400;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  transition: transform .25s var(--ease);
}
.floating-whatsapp:hover { transform: scale(1.08); }
.floating-whatsapp .icon { width: 28px; height: 28px; }

@media (max-width: 480px) {
  .floating-whatsapp { width: 50px; height: 50px; bottom: 16px; right: 16px; }
  .floating-whatsapp .icon { width: 24px; height: 24px; }
}

/* ---------------------------------------------------------
   MODAL: SOLICITAR COTIZACIÓN
--------------------------------------------------------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 900;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  background: rgba(9,11,10,0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .3s var(--ease), visibility .3s;
}
.modal-overlay.is-open { opacity: 1; visibility: visible; pointer-events: auto; }

.modal-card {
  position: relative;
  width: 100%;
  max-width: 640px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--graphite);
  border: 1px solid rgba(71,168,117,0.3);
  border-radius: 12px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5);
  padding: 40px 32px 32px;
  transform: translateY(16px) scale(.98);
  transition: transform .3s var(--ease);
}
.modal-overlay.is-open .modal-card { transform: translateY(0) scale(1); }

.modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--off-white);
  border: 1px solid rgba(244,242,236,0.2);
  transition: background .2s, color .2s, border-color .2s;
}
.modal-close:hover { background: rgba(244,242,236,0.08); color: var(--warm-white); border-color: var(--green-accent); }
.modal-close .icon { width: 18px; height: 18px; }

.modal-header { text-align: center; margin-bottom: 28px; }
.modal-logo { height: 34px; margin: 0 auto 20px; }
.modal-header h2 {
  font-family: var(--font-display); font-weight: 800; font-size: 24px;
  color: var(--warm-white); margin: 0 0 10px;
}
.modal-subtitle { font-size: 14px; color: var(--off-white); margin: 0; max-width: 440px; margin-inline: auto; }

.modal-form { display: flex; flex-direction: column; gap: 18px; }

/* Honeypot anti-bots: fuera de pantalla, invisible y sin foco para personas */
.form-honeypot {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  left: -9999px;
}

@media (max-width: 480px) {
  .modal-card { padding: 32px 20px 24px; border-radius: 10px; }
  .modal-header h2 { font-size: 20px; }
}

/* ---------------------------------------------------------
   Utility: reduce motion
--------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .reveal, .hero-scroll-line, .connected-node, .service-card, .btn, .hero-scanline, .connected-lines line, .hero-micro li,
  .modal-overlay, .modal-card, .nav-dropdown-menu, .mobile-nav-dropdown-menu,
  .model-track-fill, .model-node, .model-pulse, .tech-notebook, .tech-phone, .tech-connection-dot { transition: none !important; animation: none !important; }
}
