/* ═══════════════════════════════════════════════════
   ANTICON SIL SAC — Landing Page Styles
   Brand: Navy #1a3a5c · Steel #2e6da4 · Silver #8fa8c0
═══════════════════════════════════════════════════ */

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:      #1a3a5c;
  --navy-dark: #0f2440;
  --steel:     #2e6da4;
  --steel-lt:  #4a8fc1;
  --silver:    #8fa8c0;
  --silver-lt: #c8daea;
  --white:     #ffffff;
  --off-white: #f4f7fb;
  --gray:      #6b7a8d;
  --dark:      #1c1f26;
  --success:   #27ae60;
  --error:     #e74c3c;
  --radius:    8px;
  --shadow:    0 4px 24px rgba(26,58,92,.12);
  --shadow-lg: 0 12px 48px rgba(26,58,92,.18);
  --transition: .3s ease;
  --font-head: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
}

html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); color: var(--dark); background: var(--white); overflow-x: hidden; }
img  { max-width: 100%; height: auto; display: block; }
a    { text-decoration: none; color: inherit; }
ul   { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── Section base ── */
.section { padding: 96px 0; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header.light h2,
.section-header.light .section-label { color: var(--white); }
.section-label {
  display: inline-block;
  font-family: var(--font-head);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 12px;
}
.section-header h2 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
}
.section-divider {
  width: 56px; height: 4px;
  background: linear-gradient(90deg, var(--steel), var(--steel-lt));
  border-radius: 2px;
  margin: 16px auto 0;
}
.section-divider.white { background: linear-gradient(90deg, var(--white), var(--silver-lt)); }
.section-intro { max-width: 600px; margin: 20px auto 0; color: var(--gray); line-height: 1.7; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-head);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .05em;
  border-radius: var(--radius);
  transition: var(--transition);
  outline: none;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn:focus-visible { outline: 2px solid var(--steel-lt); outline-offset: 3px; }

.btn-primary {
  background: var(--steel);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(46,109,164,.4);
}
.btn-primary:hover { background: var(--steel-lt); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(46,109,164,.5); }

/* .btn-outline y .btn-outline-white unificados */
.btn-outline,
.btn-outline-white {
  border: 2px solid rgba(255,255,255,.75);
  color: var(--white);
  background: transparent;
  padding: 12px 28px;
}
.btn-outline:hover,
.btn-outline-white:hover { background: var(--white); color: var(--navy); border-color: var(--white); }

/* ════════════════════════════════════
   NAVBAR
════════════════════════════════════ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0;
  background: transparent;
  transition: background .4s, box-shadow .4s, padding .4s;
}
.navbar.scrolled {
  background: rgba(15,36,64,.97);
  box-shadow: 0 2px 20px rgba(0,0,0,.3);
  backdrop-filter: blur(8px);
}
.nav-container {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 90px;
}
.navbar.scrolled .nav-container { height: 72px; }
/* ── Logo: wrapper con tagline lateral ── */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
}

/*
  NAVBAR — Sello circular (logo-anticon-seal.png)
  Contexto: sobre fondo navy transparente → navy sólido al hacer scroll.
  Objetivo: badge de autoridad institucional, sin distracción visual.
  Tamaño: 64px en reposo, 50px al hacer scroll (proporcional al nav-container).
*/
.nav-logo img {
  height: 64px;
  width: 64px;
  object-fit: contain;
  border-radius: 50%;
  /* Ring sutil de acero que refuerza la forma circular */
  box-shadow:
    0 0 0 1.5px rgba(74,143,193,.5),
    0 4px 16px rgba(0,0,0,.45);
  filter: brightness(1.08) contrast(1.02);
  transition: height .3s ease, width .3s ease, box-shadow .3s ease, filter .3s ease;
}
.navbar.scrolled .nav-logo img {
  height: 50px;
  width: 50px;
  box-shadow:
    0 0 0 1.5px rgba(74,143,193,.55),
    0 3px 12px rgba(0,0,0,.5);
}

/* Separador vertical + razón social en dos líneas */
.nav-logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 14px;
  margin-left: 14px;
  border-left: 1px solid rgba(255,255,255,.25);
  line-height: 1.2;
  transition: opacity .3s ease;
}
.nav-logo-name {
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--white);
}
.nav-logo-sector {
  font-family: var(--font-head);
  font-size: .62rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--silver-lt);
  opacity: .85;
}
.navbar.scrolled .nav-logo-text { opacity: 0; pointer-events: none; width: 0; overflow: hidden; padding: 0; margin: 0; border: none; }

/*
  Hover: glow acero-azul — señal de interactividad sin salirse del lenguaje industrial.
  El ring se intensifica, el brillo sube levemente.
*/
.nav-logo:hover img {
  filter: brightness(1.14) contrast(1.03);
  box-shadow:
    0 0 0 2px rgba(74,143,193,.8),
    0 0 18px rgba(46,109,164,.55),
    0 6px 20px rgba(0,0,0,.5);
}

.nav-links {
  display: flex; align-items: center; gap: 4px;
}
.nav-links a {
  padding: 8px 14px;
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: rgba(255,255,255,.9);
  border-radius: var(--radius);
  transition: var(--transition);
  outline: none;
  border: none;
}
.nav-links a:focus-visible { outline: 2px solid rgba(255,255,255,.5); outline-offset: 2px; }
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,.1); }

/* Indicador de sección activa — solo links regulares, nunca el CTA */
.nav-links a.active:not(.nav-cta) {
  color: var(--white);
  background: rgba(255,255,255,.12);
}

/* nav-cta igual a los demás links */
.nav-links a.nav-cta {
  background: transparent;
  color: rgba(255,255,255,.9);
  padding: 8px 14px;
  border-radius: var(--radius);
  border: none;
  outline: none;
  box-shadow: none;
  margin-left: 0;
  font-weight: 600;
}
.nav-links a.nav-cta:hover { color: var(--white); background: rgba(255,255,255,.1); transform: none; box-shadow: none; }

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 20px;
  margin-left: 8px;
  transition: background .3s;
}
.lang-toggle:hover { background: rgba(255,255,255,.18); }

.lang-es,
.lang-en {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  padding: 5px 10px;
  border-radius: 16px;
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: rgba(255,255,255,.38);
  transition: background .25s ease, color .25s ease, box-shadow .25s ease;
}
.lang-es.active,
.lang-en.active {
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 1px 6px rgba(0,0,0,.3);
}
.lang-sep { display: none; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--transition); }

/* ════════════════════════════════════
   HERO
════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  background: url('../images/pptx_slide17_46.jpg') center center / cover no-repeat;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg,
    rgba(10,25,47,.85) 0%,
    rgba(26,58,92,.75) 50%,
    rgba(46,109,164,.6) 100%);
}
.hero-content {
  position: relative; z-index: 1;
  max-width: 800px;
  padding: 120px 24px 80px;
  margin: 0 auto;
  text-align: center;
}
/* ── Hero: logo central de empresa — sello circular de autoridad ── */
.hero-logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
}

/*
  HERO — Sello circular (logo-anticon-seal.png)
  Contexto: sobre overlay navy-a-steel, imagen de operaciones en campo.
  Objetivo: primera impresión de presencia institucional — marca de autoridad.
  Referencia visual: Halliburton, SLB, Techint — sello como escudo de empresa.

  Técnica: triple ring — outer glow difuso (presencia), mid ring (acero),
  inner ring (blanco sutil). Genera profundidad sin distracción.
  Animación: scale-in + fade — aparece con peso, no con velocidad.
*/
.hero-logo-img {
  height: 172px;
  width: 172px;
  object-fit: contain;
  border-radius: 50%;
  display: block;
  /* Triple ring de autoridad */
  box-shadow:
    0 0 0 3px rgba(255,255,255,.12),
    0 0 0 6px rgba(46,109,164,.35),
    0 0 48px rgba(46,109,164,.45),
    0 12px 48px rgba(0,0,0,.55);
  filter: brightness(1.06) contrast(1.03);
  /* Animacion de entrada propia — independiente del AOS del contenedor */
  animation: heroSealReveal .9s cubic-bezier(.22,.68,0,1.2) both;
  animation-delay: .15s;
}

@keyframes heroSealReveal {
  from {
    opacity: 0;
    transform: scale(.78);
    box-shadow:
      0 0 0 3px rgba(255,255,255,.0),
      0 0 0 6px rgba(46,109,164,.0),
      0 0 0 rgba(46,109,164,.0),
      0 0 0 rgba(0,0,0,.0);
  }
  to {
    opacity: 1;
    transform: scale(1);
    box-shadow:
      0 0 0 3px rgba(255,255,255,.12),
      0 0 0 6px rgba(46,109,164,.35),
      0 0 48px rgba(46,109,164,.45),
      0 12px 48px rgba(0,0,0,.55);
  }
}

/* Hover suave — disponible en desktop, no distrae en mobile */
.hero-logo-img:hover {
  box-shadow:
    0 0 0 3px rgba(255,255,255,.18),
    0 0 0 7px rgba(74,143,193,.5),
    0 0 64px rgba(46,109,164,.55),
    0 16px 56px rgba(0,0,0,.6);
  filter: brightness(1.1) contrast(1.04);
  transition: box-shadow .4s ease, filter .4s ease;
}

/* Separador acero bajo el logo hero */
.hero-logo-rule {
  width: 72px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--steel-lt), transparent);
  margin: 0 auto;
  border-radius: 1px;
  opacity: .7;
}

/* ── */
.hero-tagline {
  display: inline-block;
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--silver-lt);
  margin-bottom: 20px;
  opacity: .9;
}
.hero-content h1 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
  text-shadow: 0 2px 16px rgba(0,0,0,.3);
}
.hero-sub {
  font-size: 1rem;
  color: rgba(255,255,255,.8);
  letter-spacing: .06em;
  margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.hero-scroll-indicator {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  z-index: 1;
}
.scroll-arrow {
  width: 24px; height: 24px;
  border-right: 2px solid rgba(255,255,255,.6);
  border-bottom: 2px solid rgba(255,255,255,.6);
  transform: rotate(45deg);
  animation: scrollBounce 1.5s infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: rotate(45deg) translateY(0); opacity: .6; }
  50%       { transform: rotate(45deg) translateY(6px); opacity: 1; }
}

/* ════════════════════════════════════
   STATS BAR
════════════════════════════════════ */
.stats-bar {
  background: var(--navy);
  padding: 40px 0;
}
.stats-bar .container {
  display: flex; justify-content: space-around; flex-wrap: wrap; gap: 32px;
}
.stat-item { text-align: center; color: var(--white); }
.stat-item i { font-size: 1.8rem; color: var(--silver-lt); margin-bottom: 8px; }
.stat-item .stat-number {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--white);
}
.stat-item span { font-family: var(--font-head); font-size: 2rem; font-weight: 700; }
.stat-item p { font-size: .8rem; color: var(--silver-lt); letter-spacing: .08em; margin-top: 4px; }

/* ════════════════════════════════════
   ABOUT
════════════════════════════════════ */
.about { background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-text .lead {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.65;
  margin-bottom: 20px;
}
.about-text p { color: var(--gray); line-height: 1.8; margin-bottom: 16px; }
.about-badges {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 28px;
}
.badge {
  display: flex; align-items: center; gap: 6px;
  background: var(--off-white);
  border: 1px solid var(--silver-lt);
  border-radius: 20px;
  padding: 6px 14px;
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 700;
  color: var(--navy);
}
.badge i { color: var(--steel); }

.about-visual { position: relative; }
.about-img-wrapper {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-img-wrapper img { width: 100%; height: 340px; object-fit: cover; }
.about-img-accent {
  position: absolute;
  bottom: -12px; right: -12px;
  width: 60%; height: 60%;
  border: 4px solid var(--steel-lt);
  border-radius: 12px;
  pointer-events: none;
  z-index: -1;
}
.about-quote {
  background: var(--navy);
  color: var(--white);
  border-radius: 0 0 12px 12px;
  padding: 20px 24px;
  display: flex; gap: 12px; align-items: flex-start;
}
.about-quote i { color: var(--silver-lt); font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.about-quote p { font-style: italic; font-size: .9rem; line-height: 1.6; opacity: .9; }

/* ════════════════════════════════════
   SERVICES
════════════════════════════════════ */
.services { background: var(--off-white); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--white);
  border-radius: 12px;
  padding: 36px 28px;
  box-shadow: var(--shadow);
  border-top: 4px solid transparent;
  transition: var(--transition);
  display: flex; flex-direction: column;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-top-color: var(--steel);
}
.service-icon {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--steel) 100%);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  font-size: 1.6rem;
  color: var(--white);
  box-shadow: 0 4px 12px rgba(26,58,92,.25);
}
.service-card h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}
.service-card p { color: var(--gray); font-size: .88rem; line-height: 1.75; flex: 1; }
.service-link {
  display: inline-block;
  margin-top: 20px;
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 700;
  color: var(--steel);
  letter-spacing: .04em;
  transition: var(--transition);
}
.service-link:hover { color: var(--navy); letter-spacing: .08em; }

/* ════════════════════════════════════
   ALLIANCE
════════════════════════════════════ */
.alliance { position: relative; padding: 96px 0; overflow: hidden; }
.alliance-bg {
  position: absolute; inset: 0;
  background: linear-gradient(150deg, var(--navy-dark) 0%, var(--navy) 50%, var(--steel) 100%);
  z-index: 0;
}
.alliance-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: url('../images/pptx_slide11_31.png') center/cover no-repeat;
  opacity: .07;
}
.alliance .container { position: relative; z-index: 1; }
.alliance-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 64px;
}
.alliance-text p {
  color: rgba(255,255,255,.85);
  line-height: 1.8;
  margin-bottom: 16px;
  font-size: .95rem;
}
.alliance-text strong { color: var(--white); }
.alliance-list { margin: 24px 0 32px; display: flex; flex-direction: column; gap: 12px; }
.alliance-list li {
  display: flex; align-items: center; gap: 12px;
  color: rgba(255,255,255,.85);
  font-size: .9rem;
}
.alliance-list i { color: var(--silver-lt); flex-shrink: 0; }

.alliance-image {
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,.4);
}
.alliance-image img { width: 100%; height: 220px; object-fit: cover; }

.partners-row {
  text-align: center;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.partners-label {
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-bottom: 28px;
}
.partners-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 20px;
}
.partner-logo {
  background: var(--white);
  border-radius: 10px;
  padding: 16px 28px;
  box-shadow: 0 4px 20px rgba(0,0,0,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  transition: var(--transition);
}
.partner-logo:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 32px rgba(0,0,0,.35);
}
.partner-logo img {
  height: 72px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  filter: none;
  opacity: 1;
}

/* ════════════════════════════════════
   CLIENTS
════════════════════════════════════ */
.clients { background: var(--white); }
.clients-logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 64px;
}
.client-logo {
  background: var(--white);
  border: 1px solid #e8eef5;
  border-radius: 12px;
  padding: 24px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(26,58,92,.07);
  transition: var(--transition);
  min-height: 110px;
}
.client-logo:hover {
  box-shadow: 0 8px 28px rgba(26,58,92,.14);
  border-color: var(--silver-lt);
  transform: translateY(-4px);
}
.client-logo img {
  max-height: 70px;
  max-width: 160px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: none;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.project-card {
  display: flex; gap: 20px;
  background: var(--white);
  border: 1px solid var(--silver-lt);
  border-radius: 12px;
  padding: 24px;
  transition: var(--transition);
}
.project-card:hover { box-shadow: var(--shadow); border-color: var(--steel-lt); }
.project-icon {
  width: 80px; height: 80px; flex-shrink: 0;
  border-radius: 8px; overflow: hidden;
}
.project-icon img { width: 100%; height: 100%; object-fit: cover; }
.project-info h4 {
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.project-info p { color: var(--gray); font-size: .82rem; line-height: 1.7; }

/* ════════════════════════════════════
   SPECIAL OPS
════════════════════════════════════ */
.special-ops { background: var(--off-white); }
.ops-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.ops-card {
  background: var(--white);
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.ops-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.ops-card i {
  font-size: 2.2rem;
  color: var(--steel);
  margin-bottom: 16px;
  display: block;
}
.ops-card h4 {
  font-family: var(--font-head);
  font-size: .9rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.ops-card p { color: var(--gray); font-size: .82rem; line-height: 1.7; }

/* ════════════════════════════════════
   GALLERY
════════════════════════════════════ */
.gallery { background: var(--navy-dark); }
.gallery .section-header h2 { color: var(--white); }
.gallery .section-label { color: var(--silver-lt); }
.gallery .section-divider { background: linear-gradient(90deg, var(--steel-lt), var(--silver-lt)); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 12px;
}
.gallery-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
}
.gallery-item.large {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.gallery-item:hover img { transform: scale(1.07); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(10,25,47,.7) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 16px;
  opacity: 0;
  transition: opacity .3s;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay i { color: var(--white); font-size: 1.4rem; margin-bottom: 6px; }
.gallery-overlay span {
  color: var(--white);
  font-family: var(--font-head);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-align: center;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,.95);
  align-items: center; justify-content: center;
  padding: 40px;
}
.lightbox.open { display: flex; }
.lightbox-img {
  max-width: 100%; max-height: 90vh;
  border-radius: 8px;
  box-shadow: 0 0 64px rgba(0,0,0,.8);
}
.lightbox-close {
  position: absolute; top: 20px; right: 24px;
  font-size: 1.6rem; color: var(--white);
  background: rgba(255,255,255,.1);
  border-radius: 50%;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.lightbox-close:hover { background: rgba(255,255,255,.2); }

/* ════════════════════════════════════
   CONTACT
════════════════════════════════════ */
.contact { position: relative; overflow: hidden; }
.contact-bg {
  position: absolute; inset: 0;
  background: var(--off-white);
}
.contact-bg::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 40%;
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
}
.contact .container { position: relative; z-index: 1; }
.contact .section-header .section-label { color: var(--silver-lt); }
.contact .section-header h2 { color: var(--white); }
.contact .section-header .section-divider { background: linear-gradient(90deg, var(--steel-lt), var(--silver-lt)); }
.contact .section-intro { color: rgba(255,255,255,.75); }

.contact-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 40px;
  align-items: stretch;
}
.contact-info {
  background: var(--white);
  border-radius: 12px;
  padding: 36px 28px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
}
.contact-info-item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--silver-lt);
}
.contact-info-item:last-of-type { border-bottom: none; }
.contact-info-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--navy), var(--steel));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: .95rem;
}
.contact-info-item h4 {
  font-family: var(--font-head);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 4px;
}
.contact-info-item p { font-size: .85rem; color: var(--gray); line-height: 1.6; }
.contact-info-item a { color: var(--steel); }
.contact-info-item a:hover { color: var(--navy); }
.contact-map-placeholder {
  margin-top: 20px;
  background: var(--off-white);
  border-radius: 8px;
  height: 100px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px;
  color: var(--silver);
  border: 2px dashed var(--silver-lt);
}
.contact-map-placeholder i { font-size: 1.8rem; }
.contact-map-placeholder p { font-size: .8rem; }

.contact-map-placeholder { margin-top: auto; }

.contact-form-wrapper {
  background: var(--white);
  border-radius: 12px;
  padding: 40px;
  box-shadow: var(--shadow-lg);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 4px; }
.form-group.full { grid-column: span 2; }
.form-group label {
  font-family: var(--font-head);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--navy);
  text-transform: uppercase;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--silver-lt);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .9rem;
  color: var(--dark);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--steel);
  box-shadow: 0 0 0 3px rgba(46,109,164,.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }

.form-footer {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
  margin-top: 20px;
}
.form-privacy { font-size: .78rem; color: var(--gray); max-width: 400px; }
.btn-submit { min-width: 180px; justify-content: center; }

.form-alert {
  display: flex; align-items: center; gap: 12px;
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: .875rem;
  font-weight: 600;
}
.form-alert.success { background: #eafaf1; color: var(--success); border: 1px solid #a9dfbf; }
.form-alert.error   { background: #fdedeb; color: var(--error);   border: 1px solid #f5c6c0; }
.form-alert i { font-size: 1.2rem; }

/* ════════════════════════════════════
   FOOTER
════════════════════════════════════ */
.footer { background: var(--navy-dark); color: rgba(255,255,255,.8); }
.footer-top { padding: 72px 0 48px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 48px;
}
/*
  FOOTER — Sello circular (logo-anticon-seal.png)
  Contexto: sobre --navy-dark #0f2440, el fondo mas oscuro de la paleta.
  Objetivo: cierre de marca — presencia institucional que remata la pagina.
  Tono: mas contenido que el hero, mas prominente que el navbar.
  Opacidad reducida (0.88) = integrado al footer, no agresivo.
  Ring blanco sutil = sello visible sin competir con el copy del footer.
*/
.footer-logo {
  height: 88px;
  width: 88px;
  object-fit: contain;
  border-radius: 50%;
  margin-bottom: 20px;
  display: block;
  opacity: .88;
  /* Ring blanco sutil + sombra interna de profundidad */
  box-shadow:
    0 0 0 2px rgba(255,255,255,.14),
    0 0 0 5px rgba(46,109,164,.2),
    0 6px 24px rgba(0,0,0,.5);
  filter: brightness(1.08) contrast(1.02);
  transition: opacity .3s ease, box-shadow .3s ease, filter .3s ease;
}
.footer-logo:hover {
  opacity: 1;
  box-shadow:
    0 0 0 2px rgba(255,255,255,.22),
    0 0 0 5px rgba(74,143,193,.35),
    0 0 28px rgba(46,109,164,.35),
    0 8px 28px rgba(0,0,0,.55);
  filter: brightness(1.12) contrast(1.03);
}

/* Línea acento debajo del logo — separa identidad de copy */
.footer-brand::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--steel), var(--steel-lt));
  border-radius: 2px;
  margin-bottom: 16px;
}
.footer-brand p { font-size: .875rem; line-height: 1.7; color: rgba(255,255,255,.6); margin-bottom: 8px; }

.footer-col h5 {
  font-family: var(--font-head);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--silver-lt);
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a {
  font-size: .85rem;
  color: rgba(255,255,255,.55);
  transition: var(--transition);
}
.footer-col ul a:hover { color: var(--white); padding-left: 4px; }

.footer-contact-list { gap: 14px !important; }
.footer-contact-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .82rem; color: rgba(255,255,255,.55); line-height: 1.5;
}
.footer-contact-list i { color: var(--steel-lt); margin-top: 2px; flex-shrink: 0; width: 14px; }
.footer-contact-list a { color: rgba(255,255,255,.55); }
.footer-contact-list a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
  text-align: center;
}
.footer-bottom p { font-size: .78rem; color: rgba(255,255,255,.4); }
.footer-directors { margin-top: 6px; font-size: .72rem !important; }

/* ════════════════════════════════════
   BACK TO TOP
════════════════════════════════════ */
.back-to-top {
  position: fixed; bottom: 32px; right: 32px; z-index: 500;
  width: 44px; height: 44px;
  background: var(--steel);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(46,109,164,.4);
  opacity: 0; pointer-events: none;
  transition: var(--transition);
  font-size: .9rem;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { background: var(--navy); transform: translateY(-3px); }

/* ════════════════════════════════════
   AOS ANIMATIONS
════════════════════════════════════ */
[data-aos] { opacity: 0; transition: opacity .6s ease, transform .6s ease; }
[data-aos="fade-up"]    { transform: translateY(32px); }
[data-aos="fade-right"] { transform: translateX(-32px); }
[data-aos="fade-left"]  { transform: translateX(32px); }
[data-aos].aos-animate  { opacity: 1; transform: none; }

/* ════════════════════════════════════
   RESPONSIVE
════════════════════════════════════ */
@media (max-width: 1100px) {
  .services-grid  { grid-template-columns: repeat(2, 1fr); }
  .ops-grid       { grid-template-columns: repeat(2, 1fr); }
  .footer-grid    { grid-template-columns: repeat(2, 1fr); }
  .clients-logos  { grid-template-columns: repeat(3, 1fr); }
}

/* Logo text: ocultar en pantallas pequeñas para evitar overflow */
@media (max-width: 860px) {
  .nav-logo-text { display: none; }
}

/* Sello circular: escalar en mobile — mantener proporciones cuadradas */
@media (max-width: 480px) {
  .hero-logo-img {
    height: 128px;
    width: 128px;
    /* Ring reducido proporcionalmente */
    box-shadow:
      0 0 0 2px rgba(255,255,255,.12),
      0 0 0 4px rgba(46,109,164,.3),
      0 0 32px rgba(46,109,164,.4),
      0 8px 32px rgba(0,0,0,.5);
  }
  .footer-logo {
    height: 68px;
    width: 68px;
  }
}

@media (max-width: 700px) {
  .clients-logos  { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .about-grid,
  .alliance-content,
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .projects-grid { grid-template-columns: 1fr; }
  .gallery-grid  { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.large { grid-column: span 2; grid-row: span 1; }
  .contact-grid  { grid-template-columns: 1fr; }
  .contact-info  { order: 2; }
  .contact-form-wrapper { order: 1; }
  .alliance-image img { height: 180px; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed; inset: 0; top: 0;
    background: rgba(10,25,47,.98);
    backdrop-filter: blur(12px);
    justify-content: center;
    align-items: center;
    gap: 16px;
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.1rem; padding: 12px 24px; }
  .nav-toggle { display: flex; z-index: 1001; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero-content h1 { font-size: 2rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .stats-bar .container { justify-content: center; gap: 32px; }
  .services-grid { grid-template-columns: 1fr; }
  .ops-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.large { grid-column: span 2; }
  .form-row { grid-template-columns: 1fr; }
  .form-group.full { grid-column: span 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-directors { display: none; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item.large { grid-column: span 1; }
  .ops-grid { grid-template-columns: 1fr; }
  .contact-form-wrapper { padding: 24px; }
  .form-footer { flex-direction: column; align-items: stretch; }
  .btn-submit { width: 100%; }
}
