*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --azul:    #14104B; /* texto principal, headings */
  --gris:    #F5F5F5; /* fondo alterno de secciones */
  --blanco:  #FFFFFF; /* fondo principal */
  --naranja: #FFD0BE; /* acento — fondos, líneas, dots */
  --rosa:    #EDB3D4; /* acento — hover / secundario */

  /* Variantes de --azul para texto secundario y líneas sutiles */
  --azul-70: rgba(20, 16, 75, .7);
  --azul-50: rgba(20, 16, 75, .5);
  --azul-30: rgba(20, 16, 75, .3);
  --azul-15: rgba(20, 16, 75, .15);
  --azul-08: rgba(20, 16, 75, .08);

  --fd: 'Barlow Condensed', sans-serif;
  --fb: 'Barlow', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--blanco);
  color: var(--azul);
  overflow-x: hidden;
  font-family: var(--fd);
}

/* ─────────────────────────────
   NAV
───────────────────────────── */

nav {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 68px;
  background: var(--naranja);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  z-index: 9999;
}

.nav-left {
  display: flex;
  align-items: center;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--azul);
}

.logo-text {
  line-height: .85;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.logo-text .lb {
  display: block;
  font-size: 22px;
  font-weight: 900;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 34px;
}

.nav-links a {
  text-decoration: none;
  color: var(--azul);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: opacity .2s;
}

.nav-links a:hover { opacity: .6; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--azul);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ─────────────────────────────
   HERO + EQUIPO (sección única)
───────────────────────────── */

#main {
  min-height: 100vh;
  background: var(--blanco);
  display: flex;
  flex-direction: column;
  padding-top: 68px;
}

/* — Banda superior del hero — */
.hero-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 50px 80px 0;
}

.hero-label {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--azul);
}

.hero-meta {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--azul-50);
  text-align: right;
}

/* — Tipográfico VN01 — */
.hero-title-wrap {
  padding: 10px 80px 0;
}

.hero-vn {
  font-size: clamp(100px, 20vw, 300px);
  font-weight: 900;
  line-height: .78;
  text-transform: uppercase;
  color: var(--azul);
  letter-spacing: -.02em;
  font-family: var(--fd);
  user-select: none;
}

.hero-vn span { color: var(--naranja); }

/* — Línea separadora — */
.hero-divider {
  height: 4px;
  background: var(--naranja);
  margin: 36px 80px 0;
}

/* — Grid de cards — */
.equipo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
  margin-top: 3px;
  flex: 1;
}

/* — Card individual — */
.member-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  display: block;
  text-decoration: none;
  color: inherit;
}

.member-photo-wrap {
  position: relative;
  overflow: hidden;
}

.member-photo-wrap img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  filter: grayscale(60%);
  transition: filter .4s ease, transform .5s ease;
}

.member-card:hover .member-photo-wrap img {
  filter: grayscale(0%);
  transform: scale(1.04);
}

/* Fallback sin foto */
.member-initials {
  width: 100%;
  aspect-ratio: 3 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gris);
  font-size: clamp(50px, 8vw, 100px);
  font-weight: 900;
  color: var(--azul-30);
  font-family: var(--fd);
  letter-spacing: -.02em;
  user-select: none;
}

.member-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px 24px 20px;
  background: linear-gradient(to top, rgba(0,0,0,.92) 0%, rgba(0,0,0,.28) 55%, transparent 100%);
  transition: background .4s;
}

.member-card:hover .member-overlay {
  background: linear-gradient(to top, rgba(237,179,212,.88) 0%, rgba(0,0,0,.12) 60%, transparent 100%);
}

.member-index {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .22em;
  color: rgba(255,255,255,.3);
  margin-bottom: 10px;
  transition: color .3s;
}

.member-card:hover .member-index { color: rgba(255,255,255,.75); }

.member-name {
  font-size: clamp(22px, 2.6vw, 44px);
  font-weight: 900;
  text-transform: uppercase;
  color: #fff;
  line-height: .88;
  font-family: var(--fd);
}

.member-career {
  margin-top: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  transition: color .3s;
}

.member-card:hover .member-career { color: rgba(255,255,255,.9); }

.member-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .3s, transform .3s;
}

.member-card:hover .member-link {
  opacity: 1;
  transform: translateY(0);
}



/* ─────────────────────────────
   FOOTER / DATOS ACADÉMICOS
───────────────────────────── */

footer {
  background: var(--naranja);
  padding: 56px 80px 48px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  border-bottom: 3px solid var(--azul-30);
  padding-bottom: 40px;
  margin-bottom: 28px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-col + .footer-col {
  padding-left: 48px;
  border-left: 1px solid var(--azul-15);
}

.footer-col-title {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--azul-50);
  margin-bottom: 12px;
}

.footer-row {
  display: flex;
  align-items: baseline;
  gap: 0;
  margin-bottom: 6px;
}

.footer-key {
  font-size: clamp(11px, 1.1vw, 15px);
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
  color: var(--azul-50);
  min-width: 110px;
}

.footer-val {
  font-size: clamp(11px, 1.1vw, 15px);
  font-weight: 900;
  text-transform: uppercase;
  color: var(--azul);
  line-height: 1.3;
}

.footer-members {
  margin-top: 4px;
}

.footer-members .footer-val {
  font-size: clamp(13px, 1.4vw, 18px);
  line-height: 1.5;
}

.footer-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.footer-uni {
  font-size: clamp(13px, 1.5vw, 19px);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.15;
  font-style: normal;
  color: var(--azul);
}

.footer-tag {
  font-size: clamp(28px, 5vw, 70px);
  font-weight: 900;
  text-transform: uppercase;
  line-height: .82;
  color: var(--azul-15);
  font-family: var(--fd);
  letter-spacing: -.02em;
  white-space: nowrap;
}

.footer-disc {
  display: block;
  margin-top: 0;
  font-size: 10px;
  line-height: 1.7;
  text-transform: uppercase;
  opacity: .5;
  max-width: 480px;
}

/* ═══════════════════════════════════════════════════════
   PLAN DEL PROYECTO — estilos adicionales
   (pegar al final de Gstilos.css, no reemplaza nada existente)
═══════════════════════════════════════════════════════ */
 
/* — Contenedor principal de la página Plan — */
.plan-main {
  min-height: 100vh;
  background: var(--blanco);
  padding-top: 68px;
  padding-bottom: 40px;
}
 
/* — Título de la página (reemplaza al hero-vn gigante del home) — */
.plan-title-wrap {
  padding: 14px 80px 0;
}
 
.plan-title {
  font-size: clamp(48px, 8vw, 110px);
  font-weight: 900;
  line-height: .9;
  text-transform: uppercase;
  color: var(--azul);
  letter-spacing: -.02em;
  font-family: var(--fd);
}
 
.plan-title span { color: var(--naranja); }
 
.plan-subtitulo {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--azul-50);
  font-family: var(--fd);
}
 
/* — Bloques de contenido — */
.plan-bloque {
  padding: 56px 80px;
  border-bottom: 1px solid var(--azul-08);
}
 
.plan-bloque.alt {
  background: var(--gris);
}
 
.plan-bloque-head {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 24px;
}
 
.plan-num {
  font-family: var(--fd);
  font-size: 18px;
  font-weight: 900;
  color: var(--azul);
  letter-spacing: .05em;
}
 
.plan-bloque h2 {
  font-family: var(--fd);
  font-size: clamp(26px, 3.4vw, 44px);
  font-weight: 900;
  text-transform: uppercase;
  color: var(--azul);
  letter-spacing: -.01em;
  line-height: 1;
}
 
.plan-bloque h3 {
  font-family: var(--fd);
  font-size: 19px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--azul);
  letter-spacing: .03em;
  margin-bottom: 10px;
}
 
.plan-bloque h4 {
  font-family: var(--fd);
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--azul);
  letter-spacing: .04em;
  margin-bottom: 6px;
}
 
.plan-texto {
  font-family: var(--fb);
  font-size: 16px;
  line-height: 1.65;
  color: var(--azul-70);
  max-width: 880px;
  margin-bottom: 18px;
}
 
.plan-texto strong,
.plan-texto em {
  color: var(--azul);
}
 
.plan-texto strong { font-weight: 700; }
.plan-texto em { font-style: italic; }
 
.comitente-marco {
  border-left: 3px solid var(--naranja);
  padding-left: 18px;
  color: var(--azul-50);
  font-size: 14px;
}
 
/* — Brief: tres columnas tipo card — */
.tres-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--azul-08);
}
 
.col-card {
  background: var(--blanco);
  padding: 28px;
}
 
.col-card h3 {
  font-size: 14px;
  margin-bottom: 14px;
}
 
.col-card p,
.col-card li {
  font-family: var(--fb);
  font-size: 14px;
  line-height: 1.55;
  color: var(--azul-70);
}
 
.col-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
 
.col-card li {
  padding-left: 16px;
  position: relative;
}
 
.col-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  background: var(--naranja);
}
 
.col-card strong { color: var(--azul); }
 
/* — Comitente: logos / etiquetas — */
.comitente-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
}
 
.comitente-logo-item {
  font-family: var(--fd);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--azul);
  border: 1px solid var(--azul-30);
  padding: 12px 20px;
}
 
.comitente-logo-item.destacado {
  background: var(--naranja);
  color: var(--azul);
  border-color: var(--naranja);
}
 
/* — Benchmarking — */
.benchmark-intro {
  max-width: 760px;
}
 
.benchmark-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--azul-08);
  margin-top: 10px;
}
 
.benchmark-item {
  background: var(--blanco);
  padding: 22px 18px;
}
 
.benchmark-item h4 {
  color: var(--azul);
  font-size: 14px;
  margin-bottom: 12px;
}
 
.benchmark-item ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
 
.benchmark-item li {
  font-family: var(--fb);
  font-size: 13px;
  line-height: 1.4;
  color: var(--azul-70);
}
 
/* — User Persona — */
.persona-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 1px;
  background: var(--azul-08);
}
 
.persona-datos,
.persona-info {
  background: var(--blanco);
  padding: 28px;
}
 
.persona-datos h3 {
  color: var(--azul);
  font-size: 22px;
  margin-bottom: 16px;
}
 
.persona-datos ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
 
.persona-datos li {
  font-family: var(--fb);
  font-size: 14px;
  color: var(--azul-70);
}
 
.persona-datos strong {
  color: var(--azul);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: .08em;
  display: block;
}
 
.persona-bloque {
  margin-bottom: 24px;
}
 
.persona-bloque:last-child { margin-bottom: 0; }
 
.persona-bloque p,
.persona-bloque li {
  font-family: var(--fb);
  font-size: 14px;
  line-height: 1.55;
  color: var(--azul-70);
}
 
.persona-bloque ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
 
.persona-bloque li {
  padding-left: 16px;
  position: relative;
}
 
.persona-bloque li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background: var(--naranja);
}
 
/* — Research — */
.research-subtitulo {
  font-size: 18px;
  margin-bottom: 14px;
  color: var(--azul);
}
 
.research-target {
  color: var(--azul-50);
  font-size: 14px;
}
 
.research-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--azul-08);
  margin-top: 18px;
}
 
.research-col {
  background: var(--blanco);
  padding: 26px 28px;
}
 
.research-col h4 {
  color: var(--azul);
  font-size: 14px;
  margin-bottom: 18px;
}
 
.research-item {
  margin-bottom: 20px;
}
 
.research-item:last-child { margin-bottom: 0; }
 
.research-item strong {
  display: block;
  font-family: var(--fd);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .02em;
  color: var(--azul);
  margin-bottom: 6px;
}
 
.research-item p {
  font-family: var(--fb);
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--azul-70);
}
 

/* ─────────────────────────────
   RESPONSIVE ≤ 900px
───────────────────────────── */

@media (max-width: 900px) {
  nav { padding: 0 18px; }
  .nav-hamburger { display: flex; }

  .nav-links {
    display: none;
    position: fixed;
    top: 68px; left: 0;
    width: 100%;
    background: var(--naranja);
    flex-direction: column;
    padding: 20px 24px 30px;
    gap: 0;
    z-index: 9998;
    list-style: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { border-bottom: 1px solid var(--azul-15); }
  .nav-links a { display: block; padding: 14px 0; font-size: 20px; }

  .hero-top  { padding: 36px 25px 0; flex-direction: column; align-items: flex-start; gap: 8px; }
  .hero-meta { text-align: left; }
  .hero-title-wrap { padding: 8px 25px 0; }
  .hero-divider { margin: 24px 25px 0; }

  .equipo-grid { grid-template-columns: 1fr 1fr; }
  .member-name { font-size: 7vw; }

  footer { padding: 44px 25px 36px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-col + .footer-col { border-left: none; padding-left: 0; border-top: 1px solid var(--azul-15); padding-top: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-key { min-width: 90px; }
}

@media (max-width: 480px) {
  .equipo-grid { grid-template-columns: 1fr; }
}

/* ─────────────────────────────
   MAPA / FLUJO DE USUARIO
───────────────────────────── */

.map-page {
  padding: 160px 80px 80px !important;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.map-header {
  margin-bottom: 32px;
}

.map-title {
  font-size: clamp(50px, 8vw, 100px);
  font-weight: 900;
  text-transform: uppercase;
  color: var(--azul);
  line-height: .88;
  letter-spacing: -.02em;
  font-family: var(--fd);
}

.map-title span {
  color: var(--naranja);
}

.map-subtitle {
  font-family: var(--fb);
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 400;
  color: var(--azul-50);
  margin-top: 20px;
  letter-spacing: 0.02em;
}

.map-iframe-wrapper {
  width: 100%;
  height: 75vh;
  min-height: 500px;
  border: 1px solid var(--azul-15);
  border-radius: 2px;
  overflow: hidden;
  background: var(--gris);
}

.map-iframe-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ─────────────────────────────
   RESPONSIVE MAPA ≤ 900px
───────────────────────────── */
@media (max-width: 900px) {
  .map-page { 
    padding: 120px 25px 40px; 
  }
  .map-iframe-wrapper { 
    height: 65vh; 
  }
}