/* ── NOSOTROS NAV ACTIVE ── */
.nav-active {
  color: var(--white) !important;
}
.nav-active::after {
  width: 100% !important;
}

/* ── HERO NOSOTROS ── */
#nos-hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 8rem 5rem 5rem;
  overflow: hidden;
}
#nos-video {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center center;
  opacity: .28;
  filter: brightness(1.4) contrast(1.3);
}
.nos-video-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to bottom, rgba(6,10,18,.75) 0%, rgba(6,10,18,.45) 40%, rgba(6,10,18,.85) 100%),
    linear-gradient(to right,  rgba(6,10,18,.6)  0%, transparent         60%);
}
.nos-hero-inner {
  position: relative; z-index: 3;
  max-width: 900px; text-align: center;
}
.nos-hero-title {
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  font-weight: 900; line-height: 1.05;
  letter-spacing: -.03em;
  margin-bottom: 1.6rem;
}
.nos-grad {
  display: block;
  background: linear-gradient(90deg, var(--blue) 0%, var(--cyan) 60%, #a5f3fc 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nos-hero-sub {
  font-size: 1.1rem; color: var(--muted);
  max-width: 560px; margin: 0 auto;
  line-height: 1.75; font-weight: 300;
}

/* ── INTRO STRIP ── */
.intro-strip {
  background: var(--bg2);
  border-top: 1px solid var(--border2);
  border-bottom: 1px solid var(--border2);
  padding: 3rem 5rem;
}
.intro-strip-inner {
  max-width: 860px; margin: 0 auto; text-align: center;
}
.intro-strip-inner p {
  font-size: 1.15rem; color: var(--muted);
  line-height: 1.8; font-weight: 300;
}
.intro-strip-inner strong { color: var(--white); font-weight: 700; }

/* ── SHARED WRAP ── */
.nos-wrap { max-width: 1200px; margin: 0 auto; }
.nos-section-sub {
  font-size: 1rem; color: var(--muted);
  max-width: 500px; margin: 0 auto;
  line-height: 1.7;
}

/* ── HISTORIA ── */
#nos-historia { background: var(--bg2); padding: 7rem 5rem; }
.nos-historia-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: start;
  margin-top: 3.5rem;
}

/* Timeline */
.nos-tline { display: flex; flex-direction: column; gap: 0; }
.nos-tli { position: relative; padding-bottom: 3rem; }
.nos-tli:last-child { padding-bottom: 0; }
.nos-tli-year {
  font-family: 'DM Mono', monospace;
  font-size: .65rem; color: var(--cyan);
  letter-spacing: .18em; text-transform: uppercase;
  margin-bottom: .8rem;
}
.nos-tli-body {
  display: flex; gap: 1.5rem; align-items: flex-start;
  position: relative;
}
.nos-tli-body::before {
  content: '';
  position: absolute;
  left: 9px; top: 24px;
  width: 1px; height: calc(100% + 3rem);
  background: linear-gradient(to bottom, var(--blue), transparent);
}
.nos-tli:last-child .nos-tli-body::before { display: none; }
.nos-tli-dot {
  width: 20px; height: 20px; min-width: 20px;
  border-radius: 50%;
  border: 2px solid var(--blue);
  background: var(--bg2);
  display: flex; align-items: center; justify-content: center;
  margin-top: 3px;
  position: relative; z-index: 1;
}
.nos-tli-dot::after {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%; background: var(--cyan);
}
.nos-tli-body h4 {
  font-size: 1rem; font-weight: 700;
  margin-bottom: .5rem; color: var(--white);
}
.nos-tli-body p {
  font-size: .88rem; color: var(--muted);
  line-height: 1.75;
}
.nos-tli-body p strong { color: var(--white); }

/* Historia image */
.nos-hist-img {
  position: relative; overflow: hidden;
  border: 1px solid var(--border2); height: 520px;
}
.nos-hist-img img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 30%;
  display: block;
  filter: brightness(.75) saturate(.8) hue-rotate(10deg);
  transition: transform .6s ease;
}
.nos-hist-img:hover img { transform: scale(1.03); }
.nos-hist-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(6,10,18,.5) 0%, rgba(14,165,233,.1) 100%);
}
.nos-hist-img-fade {
  position: absolute; bottom: 0; left: 0; right: 0; height: 120px;
  background: linear-gradient(to bottom, transparent, var(--bg2));
}
.nos-hist-img-label {
  position: absolute; top: 1.5rem; left: 1.5rem;
  font-family: 'DM Mono', monospace; font-size: .62rem;
  color: var(--cyan); letter-spacing: .15em;
  text-transform: uppercase; opacity: .85;
}

/* ── FILOSOFÍA ── */
#nos-filosofia { background: var(--bg); padding: 7rem 5rem; }
.filo-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--border2);
  outline: 1px solid var(--border2);
}
.filo-card {
  background: var(--bg); padding: 3rem 2rem;
  position: relative; overflow: hidden;
  transition: background .3s;
}
.filo-card::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(to right, var(--blue), var(--cyan));
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s ease;
}
.filo-card:hover { background: var(--bg3); }
.filo-card:hover::before { transform: scaleX(1); }
.filo-card:hover .filo-icon { filter: drop-shadow(0 0 14px var(--glow-c)); }
.filo-icon {
  width: 44px; height: 44px; color: var(--cyan);
  margin-bottom: 1.5rem; transition: filter .3s;
}
.filo-icon svg { width: 100%; height: 100%; }
.filo-card h3 {
  font-size: 1rem; font-weight: 700;
  margin-bottom: .75rem; line-height: 1.3;
}
.filo-card p {
  font-size: .85rem; color: var(--muted);
  line-height: 1.7;
}
.filo-num {
  position: absolute; bottom: 1.5rem; right: 1.5rem;
  font-family: 'DM Mono', monospace;
  font-size: .65rem; color: rgba(14,165,233,.25);
  letter-spacing: .15em;
}

/* ── POR QUÉ ACRUXGO ── */
#nos-porque { background: var(--bg2); padding: 7rem 5rem; }
.pq-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 6rem; align-items: start;
}
.pq-intro {
  color: var(--muted); font-size: .97rem;
  line-height: 1.8; margin-bottom: 2.5rem;
}
.pq-intro strong { color: var(--white); }
.pq-items { display: flex; flex-direction: column; gap: 1.5rem; }
.pq-item {
  display: flex; gap: 1.2rem; align-items: flex-start;
}
.pq-item-dot {
  width: 8px; height: 8px; min-width: 8px;
  background: var(--cyan); border-radius: 50%;
  margin-top: 6px;
  box-shadow: 0 0 10px var(--glow-c);
}
.pq-item strong {
  display: block; font-size: .95rem; font-weight: 700;
  margin-bottom: .3rem; color: var(--white);
}
.pq-item p {
  font-size: .86rem; color: var(--muted); line-height: 1.7;
}

/* Stat grid */
.pq-visual { display: flex; flex-direction: column; gap: 2rem; }
.pq-stat-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1px; background: var(--border2);
  outline: 1px solid var(--border2);
}
.pq-stat {
  background: var(--bg); padding: 2rem;
  text-align: center;
  transition: background .3s;
}
.pq-stat:hover { background: var(--bg3); }
.pq-stat-num {
  display: block;
  font-family: 'DM Mono', monospace; font-size: 2.4rem; font-weight: 500;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; line-height: 1; margin-bottom: .4rem;
}
.pq-stat-label {
  font-size: .72rem; color: var(--muted);
  text-transform: uppercase; letter-spacing: .1em;
}

/* Quote */
.pq-quote {
  padding: 2rem 2.5rem;
  background: rgba(14,165,233,.04);
  border: 1px solid var(--border);
  border-left: 3px solid var(--cyan);
  position: relative;
}
.pq-quote p {
  font-size: 1.1rem; font-style: italic;
  color: var(--white); line-height: 1.6;
  margin-bottom: .8rem;
}
.pq-quote span {
  font-family: 'DM Mono', monospace;
  font-size: .65rem; color: var(--cyan);
  letter-spacing: .12em; text-transform: uppercase;
}

/* ── CTA FINAL ── */
#nos-cta {
  padding: 7rem 5rem;
  background: var(--bg);
  text-align: center;
  position: relative;
  overflow: hidden;
}
#nos-cta::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(14,165,233,.07), transparent);
  pointer-events: none;
}
.nos-cta-inner {
  position: relative; z-index: 1;
  max-width: 700px; margin: 0 auto;
}
.nos-cta-sub {
  font-size: 1rem; color: var(--muted);
  line-height: 1.8; margin: 1rem 0 2.5rem;
}
.nos-cta-actions {
  display: flex; gap: 1rem;
  justify-content: center; flex-wrap: wrap;
}


/* ══════════════════════════════════════════
   RESPONSIVE — NOSOTROS
══════════════════════════════════════════ */
@media (max-width: 1024px) {
  #nos-hero  { padding: 7rem 2rem 4rem; min-height: 70vh; }
  .intro-strip { padding: 2.5rem 2rem; }
  #nos-historia { padding: 5rem 2rem; }
  .nos-historia-grid { grid-template-columns: 1fr; gap: 3rem; }
  .nos-hist-img { height: 320px; }
  #nos-filosofia { padding: 5rem 2rem; }
  .filo-grid { grid-template-columns: 1fr 1fr; }
  #nos-porque { padding: 5rem 2rem; }
  .pq-grid { grid-template-columns: 1fr; gap: 3rem; }
  .pq-stat-grid { grid-template-columns: 1fr 1fr; }
  #nos-cta { padding: 5rem 2rem; }
}

@media (max-width: 768px) {
  #nos-hero { padding: 6rem 1.25rem 4rem; min-height: 80vh; }
  .nos-hero-title { font-size: clamp(1.9rem, 8vw, 3rem); }
  .nos-hero-sub { font-size: .95rem; }
  .intro-strip { padding: 2rem 1.25rem; }
  .intro-strip-inner p { font-size: .97rem; }
  #nos-historia { padding: 4rem 1.25rem; }
  .nos-tline { padding-left: 2rem; }
  .nos-hist-img { height: 220px; }
  #nos-filosofia { padding: 4rem 1.25rem; }
  .filo-grid { grid-template-columns: 1fr; gap: 1px; }
  .filo-card { padding: 2rem 1.5rem; }
  #nos-porque { padding: 4rem 1.25rem; }
  .pq-stat-grid { grid-template-columns: 1fr 1fr; }
  .pq-quote p { font-size: .97rem; }
  #nos-cta { padding: 4rem 1.25rem; }
  .nos-cta-actions { flex-direction: column; align-items: center; }
  .nos-cta-actions .btn-p,
  .nos-cta-actions .btn-g { width: 100%; max-width: 300px; text-align: center; display: block; }
}

@media (max-width: 480px) {
  .nos-hero-title { font-size: clamp(1.7rem, 9vw, 2.4rem); }
  .pq-stat-grid { grid-template-columns: 1fr 1fr; }
  .pq-stat-num { font-size: 1.8rem; }
}
