/* ============================================================
   CONTAVLE — Nosotros CSS
   ============================================================ */

.nosotros-hero { padding: 150px 0 60px; }

/* ====== STATS ====== */
.nos-stats {
  background: var(--bg);
  padding: 40px 0 80px;
}
.nos-stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  background: var(--paper);
  border: 1px solid var(--mist);
  border-radius: 20px;
  padding: 36px 28px;
}
.nos-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 12px;
  border-right: 1px solid var(--mist);
}
.nos-stat:last-child { border-right: none; }
.nos-stat strong {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 500;
  letter-spacing: -0.035em;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 8px;
}
.nos-stat span {
  font-size: 12.5px;
  color: var(--slate);
  font-family: var(--font-display);
  font-weight: 500;
}

/* ====== HISTORIA ====== */
.nos-historia {
  background: var(--paper);
  padding: clamp(72px, 8vw, 120px) 0;
}
.nos-historia-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: flex-start;
}
.nos-historia-grid h2 {
  letter-spacing: -0.03em;
  margin-top: 12px;
}
.nos-historia-grid > div:last-child p {
  color: var(--graphite);
  font-size: 16.5px;
  line-height: 1.65;
  margin-bottom: 18px;
}
.nos-historia-grid > div:last-child p:last-child { margin-bottom: 0; }
.nos-historia-grid p em {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--ink);
}
.nos-historia-grid p strong { color: var(--ink); }

/* ====== MISION ====== */
.nos-mission {
  background: var(--bg);
  padding: clamp(64px, 8vw, 100px) 0;
}
.nos-mission-card {
  background: var(--ink);
  color: white;
  border-radius: 24px;
  padding: clamp(48px, 6vw, 80px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.nos-mission-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -10%;
  width: 60%;
  height: 100%;
  background: radial-gradient(circle, rgba(195,231,107,0.15), transparent 60%);
  pointer-events: none;
}
.nos-mission-card::after {
  content: "";
  position: absolute;
  bottom: -50%;
  right: -10%;
  width: 50%;
  height: 100%;
  background: radial-gradient(circle, rgba(195,231,107,0.12), transparent 60%);
  pointer-events: none;
}
.nos-mission-card .eyebrow-light {
  display: inline-flex;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}
.nos-mission-card .eyebrow-light::before { display: none; }
.nos-mission-card h2 {
  font-size: clamp(28px, 3.8vw, 48px);
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
  color: white;
}
.nos-mission-card .italic-serif {
  background: transparent;
  color: var(--lime);
  padding: 0;
}
.nos-mission-card p {
  font-size: 17px;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ====== VALORES ====== */
.nos-values {
  background: var(--paper);
  padding: clamp(80px, 9vw, 130px) 0;
}
.nos-values-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.nos-values-header .eyebrow { display: inline-flex; margin-bottom: 18px; }
.nos-values-header .eyebrow::before { display: none; }
.nos-values-header h2 { letter-spacing: -0.03em; }

.nos-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.nos-value {
  background: var(--bg);
  border: 1px solid var(--mist);
  border-radius: 18px;
  padding: 32px;
  transition: all 0.3s var(--ease);
}
.nos-value:hover {
  border-color: var(--ink);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.nos-value-num {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
}
.nos-value-num::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 110%;
  height: 8px;
  background: var(--lime);
  z-index: -1;
}
.nos-value h3 {
  font-size: 19px;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.nos-value p {
  color: var(--slate);
  font-size: 14.5px;
  line-height: 1.6;
}

/* ====== DIFERENCIA ====== */
.nos-diff {
  background: var(--bg);
  padding: clamp(80px, 9vw, 130px) 0;
}
.nos-diff-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: flex-start;
}
.nos-diff-grid > div:first-child h2 { letter-spacing: -0.03em; margin: 12px 0 18px; }
.nos-diff-grid > div:first-child > p {
  color: var(--graphite);
  font-size: 16.5px;
  line-height: 1.65;
}
.nos-diff-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.nos-diff-card {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 22px;
  padding: 26px 28px;
  background: var(--paper);
  border: 1px solid var(--mist);
  border-radius: 16px;
  transition: all 0.3s var(--ease);
  align-items: flex-start;
}
.nos-diff-card > div:last-child { min-width: 0; }
.nos-diff-card:hover {
  background: var(--bg);
  border-color: var(--ink);
  box-shadow: var(--shadow-md);
}
.ndc-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--lime);
  color: var(--ink);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.nos-diff-card h4 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 6px;
}
.nos-diff-card p {
  font-size: 14.5px;
  color: var(--graphite);
  line-height: 1.55;
}

/* ====== ECOSYSTEM ====== */
.nos-ecosystem {
  background: var(--paper);
  padding: clamp(80px, 9vw, 130px) 0;
}
.nos-eco-content {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.nos-eco-content .eyebrow { display: inline-flex; margin-bottom: 18px; }
.nos-eco-content .eyebrow::before { display: none; }
.nos-eco-content h2 { letter-spacing: -0.03em; margin-bottom: 20px; }
.nos-eco-content > p {
  color: var(--graphite);
  font-size: 16.5px;
  line-height: 1.65;
  margin-bottom: 40px;
}
.nos-eco-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
}
.nos-eco-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg);
  border: 1px solid var(--mist);
  border-radius: 14px;
  padding: 16px 20px;
  text-align: left;
  transition: all 0.3s var(--ease);
}
.nos-eco-card:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.nec-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, #f472b6, #ec4899);
  color: white;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}
.nec-logo-dark { background: var(--ink); color: var(--lime); }
.nec-logo-lime { background: var(--lime); color: var(--ink); }
.nec-text { flex: 1; text-align: left; }
.nec-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--ink);
}
.nec-text span {
  font-size: 11.5px;
  color: var(--slate);
}
.nec-arrow {
  font-size: 16px;
  color: var(--slate);
}
.nos-eco-card-self {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}
.nos-eco-card-self .nec-text strong { color: white; }
.nos-eco-card-self .nec-text span { color: var(--lime); }
.nec-here { color: var(--lime); }

.nos-eco-card-parent {
  background: var(--whisper);
  border-color: var(--mist);
  border-width: 2px;
  position: relative;
}
.nos-eco-card-parent::before {
  content: "Holding";
  position: absolute;
  top: -10px;
  right: 14px;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--ink);
  color: var(--lime);
  padding: 4px 10px;
  border-radius: 999px;
  z-index: 2;
}
.nec-parent { color: var(--ink); }

/* ====== CAREERS ====== */
.nos-careers {
  background: var(--bg);
  padding: clamp(72px, 8vw, 120px) 0;
}
.nos-careers-card {
  background: var(--ink);
  color: white;
  border-radius: 24px;
  padding: clamp(48px, 6vw, 72px);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.nos-careers-card::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 100%;
  background: radial-gradient(circle, rgba(195,231,107,0.18), transparent 60%);
  pointer-events: none;
}
.nos-careers-text {
  position: relative;
  z-index: 1;
}
.eyebrow-light {
  color: var(--lime);
  display: inline-flex;
  margin-bottom: 18px;
}
.eyebrow-light::before { background: var(--lime); }
.nos-careers-text h2 {
  font-size: clamp(28px, 3.6vw, 44px);
  letter-spacing: -0.03em;
  margin-bottom: 18px;
  color: white;
}
.nos-careers-text h2 .italic-serif { color: var(--lime); }
.nos-careers-text > p {
  font-size: 16.5px;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
  margin-bottom: 28px;
}
.nos-careers-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.nos-careers-roles {
  position: relative;
  z-index: 1;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 24px;
  backdrop-filter: blur(8px);
}
.ncr-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lime);
  padding: 4px 10px;
  background: rgba(195,231,107,0.1);
  border-radius: 999px;
  margin-bottom: 16px;
}
.ncr-role {
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  margin-bottom: 6px;
  transition: background 0.25s var(--ease);
  display: block;
  text-decoration: none;
}
.ncr-role:hover,
.ncr-role-link:hover {
  background: rgba(195,231,107,0.08);
}
.ncr-role-link {
  position: relative;
  cursor: pointer;
}
.ncr-role-link::after {
  content: "→";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 16px;
  color: rgba(255,255,255,0.4);
  transition: all 0.2s var(--ease);
}
.ncr-role-link:hover::after {
  color: var(--lime);
  transform: translateY(-50%) translateX(3px);
}
.ncr-role strong {
  display: block;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: white;
  margin-bottom: 2px;
}
.ncr-role span {
  font-size: 11.5px;
  color: rgba(255,255,255,0.55);
}
.nos-careers-howto {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  margin-top: 14px;
  font-style: italic;
}
.ncr-count {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  margin-top: 12px;
  padding: 10px 0 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  text-align: center;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 980px) {
  .nos-stats-grid { grid-template-columns: 1fr 1fr 1fr; gap: 24px; }
  .nos-stat:nth-child(3) { border-right: none; }
  .nos-stat:nth-child(4), .nos-stat:nth-child(5) { border-top: 1px solid var(--mist); padding-top: 24px; }
  .nos-historia-grid { grid-template-columns: 1fr; gap: 28px; }
  .nos-values-grid { grid-template-columns: 1fr 1fr; }
  .nos-diff-grid { grid-template-columns: 1fr; gap: 32px; }
  .nos-eco-cards { grid-template-columns: 1fr 1fr; }
  .nos-careers-card { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 700px) {
  .nos-stats-grid { grid-template-columns: 1fr 1fr; padding: 28px 20px; }
  .nos-stat { border-right: none; border-bottom: 1px solid var(--mist); padding-bottom: 16px; }
  .nos-stat:last-child, .nos-stat:nth-last-child(2) { border-bottom: none; padding-bottom: 0; }
  .nos-values-grid { grid-template-columns: 1fr; }
  .nos-eco-cards { grid-template-columns: 1fr; }
  .nos-diff-card { grid-template-columns: 48px 1fr; gap: 16px; padding: 22px; }
  .ndc-icon { width: 48px; height: 48px; }
}
