﻿/* ════════════════════════════════════════════════════════════
   NOSOTROS · Rediseño 2025 — "Editorial Wellness"
   Cargado DESPUÉS de shared.css; solo afecta a nosotros.html.

   ÍNDICE
     1. Variables (:root)
     2. Hero (degradado + glow + curvas topográficas + tabs)
     3. Sección/Paneles (animación de entrada)
     4. Quiénes somos / Servicios (imagen + tarjeta navy)
     5. Directores
     6. Misión y Visión
     7. Valores
     8. Responsive
     9. Movimiento reducido (accesibilidad)

   NOTAS DE RENDIMIENTO
     · Solo se animan 'opacity' y 'transform' (corren en el compositor,
       sin repintar). Se evita animar 'filter' y 'backdrop-filter'.
     · Los efectos glass usan fondos translúcidos sólidos en lugar de
       backdrop-filter para no re-muestrear el fondo en cada frame.
     · Las imágenes de los paneles ocultos cargan con loading="lazy".
   ════════════════════════════════════════════════════════════ */

:root {
  --nos-blue: #004fb0;
  --nos-pink: #f10075;
  --nos-purple: #7c3aed;
  --nos-navy: #06224d;
  --nos-ink: #1e293b;
  --nos-muted: #5b6b86;
  --nos-surface: #ffffff;
  --nos-radius: 28px;
  --nos-ease: cubic-bezier(.22, .61, .36, 1);
}

/* ══════════════ HERO (NUEVO DISEÑO DE DOBLE COLUMNA) ══════════════ */
.nos-hero {
  position: relative;
  overflow: hidden;
  padding: 130px 24px 100px;
  background-color: #1a2a54;
  background-image: url('../../../images/nosotros/our-background.webp');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  isolation: isolate;
}

/* Velo de legibilidad muy sutil: solo oscurece el lado izquierdo (donde va
   el texto) para no tapar las decoraciones del fondo (ola, puntos, hoja). */
.nos-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(90deg, rgba(12, 26, 58, .55) 0%, rgba(12, 26, 58, .28) 34%, rgba(12, 26, 58, 0) 58%);
}

/* Media luna inferior de transición */
.nos-hero::after {
  content: "";
  position: absolute;
  left: -5%;
  right: -5%;
  bottom: -42px;
  height: 84px;
  background: #fbfcff;
  border-radius: 50% 50% 0 0 / 72% 72% 0 0;
  z-index: 3;
}

.nos-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 48px;
}

@media (min-width: 992px) {
  .nos-hero-inner {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    text-align: left;
    align-items: center;
    gap: 60px;
  }
}

.nos-hero-content {
  width: 100%;
  animation: nosUp .8s var(--nos-ease) both .1s;
}
@media (min-width: 992px) {
  .nos-hero-content {
    max-width: 580px;
  }
}

.nos-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 10px;
}
.nos-eyebrow-icon {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  color: #f10075;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}
/* Filo rosa corto bajo el eyebrow */
.nos-eyebrow-rule {
  width: 54px;
  height: 3px;
  border-radius: 999px;
  background: #f10075;
  margin: 0 auto 22px;
}
@media (min-width: 992px) {
  .nos-eyebrow-rule { margin-left: 0; }
}

.nos-hero-title {
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(2.6rem, 5.5vw, 4.6rem);
  line-height: 1.05;
  letter-spacing: -1.5px;
  color: #fff;
  margin: 0 0 8px;
}
.nos-hero-title em {
  font-style: normal;
  font-weight: 800;
  color: #f10075;
}
/* Filo rosa debajo del título (como la referencia) */
.nos-title-rule {
  width: 88px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #f10075, #ff5fa8);
  margin: 0 auto 20px;
}
@media (min-width: 992px) {
  .nos-title-rule { margin-left: 2px; }
}

.nos-hero-desc {
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, .85);
  margin: 0 auto 36px;
  max-width: 540px;
}
@media (min-width: 992px) {
  .nos-hero-desc {
    margin-left: 0;
    margin-right: 0;
  }
}

/* Botones de acción del Hero */
.nos-hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
@media (min-width: 992px) {
  .nos-hero-actions {
    justify-content: flex-start;
  }
}

.nos-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--nos-pink);
  color: #fff !important;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px rgba(241, 0, 117, 0.3);
  border: 1px solid transparent;
}
.nos-btn-primary:hover {
  transform: translateY(-2px);
  background-color: #d10065;
  box-shadow: 0 10px 28px rgba(241, 0, 117, 0.4);
}
.nos-btn-primary svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s ease;
}
.nos-btn-primary:hover svg {
  transform: translateX(4px);
}

.nos-btn-outline {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  color: #fff !important;
  background: transparent;
}
.nos-btn-outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* ── Tres pilares bajo los botones (Enfoque Humano / Ciencia / Compromiso) ── */
.nos-hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 22px 28px;
  margin-top: 40px;
  justify-content: center;
}
@media (min-width: 992px) {
  .nos-hero-features {
    flex-wrap: nowrap;
    justify-content: flex-start;
  }
  .nos-feature { flex: 1 1 0; min-width: 0; }
}
.nos-feature {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  max-width: 220px;
  position: relative;
}
/* Separador vertical entre pilares (solo en escritorio) */
@media (min-width: 620px) {
  .nos-feature:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -15px;
    top: 2px;
    bottom: 2px;
    width: 1px;
    background: rgba(255, 255, 255, .16);
  }
}
.nos-feature-icon {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  margin-top: 2px;
  color: #f10075;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.nos-feature-text { display: flex; flex-direction: column; gap: 3px; }
.nos-feature-text strong {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}
.nos-feature-text span {
  font-size: 12.5px;
  line-height: 1.45;
  color: rgba(255, 255, 255, .72);
}

/* Columna Visual / Collage */
.nos-hero-visual {
  width: 100%;
  display: flex;
  justify-content: center;
  position: relative;
  animation: nosUp .8s var(--nos-ease) both .25s;
}

.nos-collage-container {
  position: relative;
  width: 100%;
  max-width: 440px;
  padding: 20px;
  z-index: 2;
}

.nos-collage-main {
  width: 100%;
  border-radius: var(--nos-radius);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  border: 4px solid rgba(255, 255, 255, 0.08);
  background: rgba(4, 18, 45, 0.5);
  aspect-ratio: 4 / 3;
}
.nos-collage-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Tarjetas flotantes estadísticas */
.nos-floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  padding: 12px 18px;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(6, 34, 77, 0.12);
  border: 1px solid #e6ebf6;
  z-index: 10;
  animation: nosFloat 6s ease-in-out infinite;
}
.nos-floating-card--professionals {
  top: -10px;
  left: -20px;
  animation-delay: 0s;
}
.nos-floating-card--experience {
  bottom: 10px;
  right: -25px;
  animation-delay: 3s;
}

.nos-floating-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex-shrink: 0;
}
.nos-floating-icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nos-floating-info {
  display: flex;
  flex-direction: column;
}
.nos-floating-info strong {
  font-family: 'Fraunces', serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--nos-navy);
  line-height: 1.1;
}
.nos-floating-info span {
  font-size: 11px;
  font-weight: 500;
  color: var(--nos-muted);
  margin-top: 2px;
}

/* Esferas flotantes decorativas */
.nos-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}
.nos-orb--pink {
  width: 120px;
  height: 120px;
  top: 15%;
  left: 5%;
  background: radial-gradient(circle at 32% 30%, #ff8ec4 0%, #f10075 55%, #a3004f 100%);
  opacity: 0.35;
  filter: blur(1px);
  animation: nosFloat 9s ease-in-out infinite;
}
.nos-orb--blue {
  width: 160px;
  height: 160px;
  bottom: 8%;
  right: 8%;
  background: radial-gradient(circle at 32% 30%, #6ba6ff 0%, #004fb0 60%, #002a63 100%);
  opacity: 0.35;
  filter: blur(1px);
  animation: nosFloat 11s ease-in-out infinite reverse;
}
.nos-orb--glass {
  width: 80px;
  height: 80px;
  right: 44%;
  top: 18%;
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.45) 0%, rgba(214, 230, 255, 0.15) 45%, rgba(160, 195, 245, 0.05) 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 12px 24px rgba(0, 47, 112, 0.08);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: nosFloat 7s ease-in-out infinite;
}

.nos-shape {
  position: absolute;
  width: 220px;
  height: 220px;
  left: -100px;
  bottom: -80px;
  border-radius: 36px;
  transform: rotate(20deg);
  background: linear-gradient(135deg, rgba(0, 79, 176, 0.08), rgba(0, 79, 176, 0.01));
  pointer-events: none;
  z-index: 1;
}

@keyframes nosFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes nosUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

/* ══════════════ PESTAÑAS DE NAVEGACIÓN (REDiseño SOBRE FONDO CLARO) ══════════════ */
.nosotros-tabs-wrapper {
  margin: -45px auto 48px;
  position: relative;
  z-index: 30;
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 0 16px;
}

.nosotros-tabs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  padding: 8px;
  border-radius: 999px;
  box-shadow: 0 16px 40px rgba(6, 34, 77, 0.08);
  border: 1px solid #e2e8f0;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE 10+ */
}
.nosotros-tabs::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.nosotros-tab {
  height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--nos-muted);
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all .3s ease;
  white-space: nowrap;
}
.nosotros-tab:hover {
  color: var(--nos-navy);
  background: #f7fafc;
}

.nosotros-tab-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.nosotros-tab:hover .nosotros-tab-icon {
  transform: scale(1.1);
}

.nosotros-tab-icon svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nosotros-tab.active {
  background: #fff;
  color: var(--nos-pink);
  border-color: rgba(241, 0, 117, 0.15);
  background-color: rgba(241, 0, 117, 0.03);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 4px 12px rgba(241, 0, 117, 0.08);
}

/* Responsive para pantallas móviles: recrea el diseño de cuadrícula con fondo claro */
@media (max-width: 767px) {
  .nosotros-tabs-wrapper {
    margin-top: -30px;
    margin-bottom: 32px;
  }
  .nosotros-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    width: 100%;
    background: transparent;
    padding: 0;
    border-radius: 0;
    border: none;
    box-shadow: none;
    overflow-x: visible;
  }
  .nosotros-tab {
    width: 100%;
    height: 52px;
    justify-content: center;
    background: #fff;
    border: 1.5px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(6, 34, 77, 0.05);
    border-radius: 999px;
    padding: 0 16px;
    font-size: 13.5px;
  }
  .nosotros-tab.active {
    background: #fff;
    color: var(--nos-pink);
    border-color: var(--nos-pink);
    box-shadow: 0 8px 20px rgba(241, 0, 117, 0.15);
  }
  .nosotros-tab:nth-child(1) {
    grid-column: span 2;
  }
  .nosotros-tab:nth-child(2) {
    grid-column: span 1;
  }
  .nosotros-tab:nth-child(3) {
    grid-column: span 1;
  }
  .nosotros-tab:nth-child(4) {
    grid-column: span 2;
  }
}

/* ══════════════ SECCIÓN / PANELES ══════════════ */
.about-section {
  background: transparent;
  padding: 0 0 80px;
  margin-top: -80px;
  position: relative;
  z-index: 10;
}

.about-section .container {
  position: relative;
  z-index: 10;
  margin-top: 0;
}

/* Entrada del panel al cambiar de pestaña.
   PERF: solo opacity + transform (compositor). Antes incluía blur(), que
   obliga a repintar durante la transición. */
.about-panel.active {
  animation: nosPanelIn .5s var(--nos-ease) both;
}
@keyframes nosPanelIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

/* Eyebrows / títulos compartidos */
.about-panel-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--nos-pink);
  background: rgba(241, 0, 117, .12);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

/* ══════════════ QUIÉNES SOMOS · Layout referencia ══════════════ */

/* ── Tarjeta contenedora principal ── */
.quienes-card {
  position: relative;
  background: var(--nos-surface);
  border-radius: 40px;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(6, 34, 77, .06);
}

/* ── Badge de fecha (arriba-izquierda) ── */
.quienes-date-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 24px 8px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(241, 0, 117, .15);
  box-shadow: 0 4px 20px rgba(241, 0, 117, .08);
  margin-bottom: 24px;
}
.quienes-date-badge__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--nos-pink);
  color: #fff;
  flex-shrink: 0;
}
.quienes-date-badge__icon svg {
  width: 18px;
  height: 18px;
}
.quienes-date-badge__day {
  display: block;
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--nos-navy);
  line-height: 1.2;
}
.quienes-date-badge__year {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--nos-muted);
  line-height: 1.3;
}

/* ── Grid 2 columnas: texto izquierda, imagen derecha ── */
.quienes-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: stretch;
}
@media (min-width: 992px) {
  .quienes-grid {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 60px;
  }
}

/* ── Columna de texto ── */
.quienes-text {
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
@media (min-width: 992px) {
  .quienes-text {
    padding-bottom: 70px;
  }
}

/* Eyebrow */
.quienes-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--nos-pink);
  margin-bottom: 12px;
}

/* Título */
.quienes-title {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-size: clamp(32px, 4vw, 42px);
  line-height: 1.15;
  color: var(--nos-navy);
  margin: 0 0 20px;
}
.quienes-title em {
  font-style: italic;
  font-weight: 500;
  color: var(--nos-pink);
}

/* Párrafo */
.quienes-text p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--nos-muted);
  margin-bottom: 32px;
}

/* Botón CTA */
.quienes-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  border-radius: 999px;
  background: var(--nos-navy);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all .3s var(--nos-ease);
}
.quienes-cta:hover {
  background: #0a2a5e;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(6, 34, 77, .2);
}
.quienes-cta svg {
  transition: transform .3s var(--nos-ease);
}
.quienes-cta:hover svg {
  transform: translateX(4px);
}

/* ── Columna de imagen ── */
.quienes-img-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 400px;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(6, 34, 77, .05);
}
@media (min-width: 992px) {
  .quienes-img-wrap {
    min-height: 560px;
    border-radius: 40px; /* Curva uniforme y limpia */
  }
}
.quienes-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ── Barra de estadísticas inferior ── */
.quienes-stats-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: #fff;
  border-radius: 32px;
  padding: 24px 32px;
  margin-top: 40px;
  box-shadow: 0 15px 40px rgba(6, 34, 77, .08);
  border: 1px solid rgba(6, 34, 77, .03);
  flex-wrap: wrap;
  position: relative;
  z-index: 10;
}
@media (min-width: 992px) {
  .quienes-stats-bar {
    position: absolute;
    bottom: 24px;
    left: 40px;
    right: 40px;
    margin: 0;
    border-radius: 999px;
    padding: 24px 48px;
    flex-wrap: nowrap;
  }
}
.quienes-stat {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  min-width: 140px;
}
.quienes-stat__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--nos-pink);
}
.quienes-stat__icon svg {
  width: 32px;
  height: 32px;
  stroke-width: 1.5;
}
.quienes-stat__text {
  display: flex;
  flex-direction: column;
}
.quienes-stat__num {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.1;
  color: var(--nos-pink);
}
.quienes-stat__lbl {
  font-size: 12px;
  font-weight: 500;
  color: var(--nos-muted);
  line-height: 1.3;
  margin-top: 4px;
}



/* Cita con comilla decorativa */
.about-quote-box {
  margin-top: 28px;
  padding: 22px 24px 22px 56px;
  border-left: none;
  position: relative;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 18px;
}
.about-quote-box::before {
  content: '\201C';
  position: absolute;
  left: 16px;
  top: 2px;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 64px;
  line-height: 1;
  color: var(--nos-pink);
  opacity: .85;
}
.quote-text {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .92);
  margin: 0;
}

/* Lista de servicios */
.about-features-list { display: flex; flex-direction: column; gap: 18px; margin-top: 24px; }
.about-features-list li {
  position: relative;
  padding: 16px 16px 16px 52px;
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .9);
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 14px;
  list-style: none;
}
.about-features-list li strong { color: #fff; }
.about-features-list li::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--nos-pink), #ff5fa8);
  box-shadow: 0 0 0 4px rgba(241, 0, 117, .15);
}
.about-features-list li::after {
  content: '\2713';
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

/* ══════════════ DIRECTORES (GLASSMORPHISM) ══════════════ */
#about-directores {
  position: relative;
  z-index: 1;
}
#about-directores::before,
#about-directores::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  z-index: -1;
  pointer-events: none;
}
#about-directores::before {
  top: -20px;
  left: -20px;
  width: 350px;
  height: 350px;
  background: rgba(241, 0, 117, 0.2);
}
#about-directores::after {
  bottom: -20px;
  right: -20px;
  width: 450px;
  height: 450px;
  background: rgba(0, 70, 170, 0.2);
}

.directors-layout { 
  display: grid; 
  grid-template-columns: 1fr; 
  gap: 32px; 
}
@media (min-width: 1024px) {
  .directors-layout {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    width: 100vw;
    max-width: 1250px;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
  }
}
@media (min-width: 1300px) {
  .directors-layout {
    max-width: 1350px;
    gap: 40px;
  }
}

.director-card {
  border-radius: 16px;
  border: 1px solid #e6ebf6;
  box-shadow: 0 10px 30px rgba(6, 34, 77, 0.05);
  background: #fff;
  transition: transform .4s ease, box-shadow .4s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
@media (min-width: 600px) {
  .director-card {
    flex-direction: row;
  }
}
.director-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(6, 34, 77, 0.08);
}

.director-img-wrap {
  position: relative;
  overflow: hidden;
  height: 320px;
}
@media (min-width: 600px) {
  .director-img-wrap {
    width: 58%;
    height: auto;
    min-height: 400px;
    flex-shrink: 0;
  }
}
.director-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.director-role {
  position: absolute;
  bottom: 20px;
  left: 20px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11.5px;
  font-weight: 700;
  color: #fff;
  background: var(--nos-pink);
  padding: 12px 18px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(229, 43, 117, 0.3);
  line-height: 1.25;
}
.director-role svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  stroke: #fff;
  stroke-width: 2;
}

.director-info { 
  padding: 36px 36px 40px; 
  flex: 1; 
  display: flex; 
  flex-direction: column; 
}
.director-info h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 800;
  font-size: 26px;
  color: #06193b;
  margin: 0;
}
.director-divider {
  width: 32px;
  height: 2px;
  background: var(--nos-pink);
  margin-top: 14px;
  margin-bottom: 24px;
}
.director-bio { 
  font-size: 14px; 
  color: #5b6b86; 
  line-height: 1.65; 
  margin-bottom: 32px;
}

.director-specialties-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.director-specialties-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  color: #475569;
  font-weight: 700;
}
.director-specialties-list li svg {
  width: 18px;
  height: 18px;
  stroke: var(--nos-pink);
  fill: none;
  flex-shrink: 0;
}

/* ══════════════ MISIÓN Y VISIÓN ══════════════ */
.mv-stacked-rows { display: flex; flex-direction: column; gap: 56px; }
.mv-row-block {
  display: grid;
  gap: 32px;
}
@media (min-width: 1024px) {
  .mv-row-block { grid-template-columns: 1fr 1fr; }
  .mv-row-block--reverse { direction: rtl; }
  .mv-row-block--reverse > * { direction: ltr; }
}
.mv-row-text {
  position: relative;
  border-radius: var(--nos-radius);
  padding: 48px 44px;
  border: 1px solid rgba(6, 34, 77, .05);
  box-shadow: 0 20px 45px rgba(6, 34, 77, .06);
  overflow: visible;
}
.mv-row-text::before { height: 5px; border-radius: var(--nos-radius) var(--nos-radius) 0 0; }

/* Número gigante de fondo */
.mv-row-num {
  position: absolute;
  top: 18px;
  right: 30px;
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-size: 90px;
  line-height: 1;
  color: rgba(0, 79, 176, .07);
  pointer-events: none;
  user-select: none;
}
.mv-row-num--pink { color: rgba(241, 0, 117, .08); }

.mv-icon-box {
  border-radius: 20px;
  background: linear-gradient(140deg, rgba(0, 79, 176, .12), rgba(0, 79, 176, .04));
}
.mv-icon-box--pink {
  background: linear-gradient(140deg, rgba(241, 0, 117, .12), rgba(241, 0, 117, .04));
}
.mv-row-text h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: 30px;
  letter-spacing: -.5px;
  color: var(--nos-navy);
}
.mv-row-text p { font-size: 15.5px; color: var(--nos-muted); }
.mv-row-image {
  border-radius: var(--nos-radius);
  height: 360px;
  border: none;
  box-shadow: 0 26px 55px rgba(6, 34, 77, .14);
  overflow: hidden;
}
.mv-row-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.mv-icon-box {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.mv-icon-img {
  width: 40px;
  height: 40px;
}

/* ══════════════ RESPONSIVE ══════════════ */

/* ── Tablet (≤980px) ── */
@media (max-width: 980px) {
  .nos-hero { padding: 110px 22px 96px; }
  /* Menos superposición que en desktop para no tapar los tabs en tablet. */
  .about-section { margin-top: -60px; }
  .quienes-card { padding: 36px 36px 0; }
  .quienes-stats-bar { margin: 0 -36px; padding: 18px 36px; }
  .about-text-modern { padding: 40px 36px; }
  .mv-row-image { height: 300px; }
  .valores-split-image { min-height: 300px; }
}

/* ── Móvil (≤767px) ── */
@media (max-width: 767px) {
  /* Hero: tipografías fluidas y más compacto */
  .nos-hero { padding: 90px 18px 78px; }
  .nos-eyebrow { font-size: 11px; letter-spacing: 1.6px; padding: 6px 14px; margin-bottom: 18px; }
  .nos-hero__title { font-size: clamp(2.4rem, 11vw, 3.2rem); letter-spacing: -1px; margin-bottom: 14px; }
  .nos-hero__sub { font-size: 1rem; margin-bottom: 26px; }
  .nos-hero__wave svg { height: 46px; }

  /* Tabs: TODAS visibles en una rejilla limpia (sin scroll).
     Patrón simétrico con 4 pestañas: la primera y la última (textos
     largos) ocupan la fila completa; las dos cortas comparten la fila
     del medio → ninguna celda queda vacía ni descuadrada. */
  .nos-hero .tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
  }
  .nos-hero .tab {
    height: 44px;
    justify-content: center;
    gap: 7px;
    padding: 0 10px;
    font-size: 12.5px;
    white-space: nowrap;
  }
  .nos-hero .tab svg { width: 16px; height: 16px; }
  .nos-hero .tab:first-child,
  .nos-hero .tab:last-child { grid-column: 1 / -1; }

  /* Sección y separación entre bloques.
     margin-top reducido (antes heredaba -120px del desktop y la tarjeta
     subía tanto que tapaba el último tab). -44px = superposición sutil. */
  .about-section { margin-top: -44px; padding: 0 0 48px; }
  .about-section .container { margin-top: 0; }
  .about-grid-modern,
  .directors-layout { gap: 26px; }
  .mv-stacked-rows { gap: 30px; }
  .valores-split-container { gap: 26px; }

  /* Quiénes somos */
  .quienes-card { padding: 24px 18px; border-radius: 22px; }
  .quienes-grid { gap: 24px; }
  /* Foto totalmente redondeada + sombra suave (más limpia y profesional). */
  .quienes-img-wrap { min-height: 220px; border-radius: 18px; box-shadow: 0 12px 28px rgba(6, 34, 77, .12); }
  .quienes-title { font-size: 24px; }
  .quienes-date-badge { padding: 8px 16px 8px 10px; gap: 10px; margin-bottom: 22px; }
  .quienes-date-badge__icon { width: 32px; height: 32px; }
  .quienes-date-badge__icon svg { width: 15px; height: 15px; }
  .quienes-date-badge__day { font-size: 13px; }

  /* Stats: panel 2×2 con líneas divisorias tipo cuadrícula ("dashboard"). */
  .quienes-stats-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-top: 24px;
    padding: 4px 6px;
    border-radius: 18px;
  }
  .quienes-stat { gap: 11px; padding: 14px 10px; min-width: 0; }
  .quienes-stat:nth-child(odd) { border-right: 1px solid rgba(6, 34, 77, .08); }
  .quienes-stat:nth-child(1),
  .quienes-stat:nth-child(2) { border-bottom: 1px solid rgba(6, 34, 77, .08); }
  /* Icono dentro de un chip rosa suave → más pulido que el icono "pelado". */
  .quienes-stat__icon { width: 40px; height: 40px; border-radius: 12px; background: rgba(241, 0, 117, .08); flex-shrink: 0; }
  .quienes-stat__icon svg { width: 20px; height: 20px; }
  .quienes-stat__num { font-size: 16px; }
  .quienes-stat__lbl { font-size: 11px; }

  /* Servicios */
  .about-image-modern { min-height: 230px; }
  .about-text-modern { padding: 30px 22px; font-size: 15px; line-height: 1.75; }
  .about-panel-title { font-size: 25px; }
  .about-panel-badge { font-size: 10px; margin-bottom: 14px; }
  .about-features-list { gap: 12px; }
  .about-features-list li { padding: 14px 14px 14px 46px; font-size: 13.5px; }

  /* Misión y Visión */
  .mv-row-text { padding: 30px 22px; }
  .mv-row-num { font-size: 52px; top: 12px; right: 18px; }
  .mv-row-text h3 { font-size: 23px; }
  .mv-row-text p { font-size: 15px; }
  .mv-row-image { height: 230px; }

  /* Valores */
  .valores-split-image { min-height: 230px; }
  .valores-split-overlay { padding: 24px; }
  .valores-split-overlay p { font-size: 16px; }
  .valor-card { padding: 26px 22px; }
  .valor-card h4 { font-size: 19px; }

  /* Directores */
  .director-img-wrap { height: 260px; }
  .director-info { padding: 24px 22px 26px; }
  .director-info h3 { font-size: 23px; }

}

/* ── Móvil pequeño (≤420px) ── */
@media (max-width: 420px) {
  .nos-hero__title { font-size: 2.15rem; }
  .nos-hero__sub { font-size: .95rem; }
  .about-text-modern { padding: 26px 18px; }
  .about-panel-title { font-size: 22px; }
  .mv-row-text { padding: 26px 18px; }
  .mv-row-num { font-size: 46px; }
  .valor-card { padding: 22px 18px; }
}

/* ══════════════ MOVIMIENTO REDUCIDO ══════════════
   Respeta a quienes activan "reducir movimiento" en su sistema:
   se detienen todas las animaciones continuas y de entrada. */
@media (prefers-reduced-motion: reduce) {
  .nos-orb,
  .quienes-date-badge,
  .nos-grid-overlay::after {
    animation: none !important;
  }
  .nos-eyebrow,
  .nos-hero__title,
  .nos-hero__sub,
  .nos-hero .hero-tabs,
  .about-panel.active {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}

/* ══════════════ NUEVO DISEÑO QUIENES SOMOS (CARD) ══════════════ */
:root {
  --pink-500: #ff2f86;
  --pink-400: #ff4d9c;
  --shadow: 0 24px 70px rgba(12, 30, 80, 0.14);
}

.about-card {
  width: min(1460px, 100%);
  min-height: 520px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 410px 1fr;
  border: 1px solid #e0e7f5;
  border-radius: 58px 44px 44px 58px;
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}
.copy-panel {
  padding: 34px 30px 48px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 3;
  background: #fff;
}
.copy-panel::after {
  content: "";
  position: absolute;
  top: -14%;
  right: -70px;
  width: 140px;
  height: 128%;
  background: #fff;
  border-radius: 0 52% 52% 0;
  transform: rotate(-8deg);
  z-index: -1;
}
.date-pill {
  width: max-content;
  height: 48px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 6px 20px 6px 6px;
  border: 1px solid #ffedf5;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 15px 34px rgba(255, 47, 134, 0.05);
  margin-bottom: 34px;
}
.date-icon {
  width: 40px;
  height: 40px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--pink-500);
  color: #fff;
  flex: 0 0 auto;
}
.date-icon svg { 
  width: 20px; 
  height: 20px; 
  stroke: #fff; 
  stroke-width: 2.2; 
  fill: none; 
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  display: block;
}
.date-pill strong,
.date-pill span { display: block; line-height: 1.16; }
.date-pill strong { font-size: 15px; color: #061c47; font-family: 'Fraunces', Georgia, serif; font-weight: 800; margin-bottom: 2px; }
.date-pill span { font-size: 12.5px; color: #768199; font-weight: 500; }
.eyebrow {
  color: var(--pink-500);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.copy-panel h2 {
  margin: 0;
  font-family: 'Fraunces', Georgia, serif;
  color: #061c47;
  font-size: clamp(30px, 3vw, 36px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 22px;
}
.copy-panel h2 em { color: var(--pink-500); font-style: italic; font-weight: 600; }
.pink-rule {
  display: none;
}
.copy-panel p {
  margin: 0;
  max-width: 440px;
  color: #5b6b86;
  font-size: 15px;
  line-height: 1.7;
  font-weight: 500;
}
.cta {
  width: max-content;
  height: 50px;
  margin-top: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  border-radius: 999px;
  padding: 0 28px;
  color: #fff;
  background: #061c47;
  font-size: 14.5px;
  font-weight: 800;
  text-decoration: none;
  transition: all .3s ease;
}
.cta:hover {
  background: var(--pink-500);
  transform: translateY(-2px);
}
.image-panel {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border-radius: 0 42px 42px 0;
}
.image-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.metrics {
  position: absolute;
  right: 20px;
  bottom: 20px;
  width: 100%;
  max-width: 720px;
  min-height: 84px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 20px;
  box-shadow: 0 20px 55px rgba(9, 25, 72, 0.14);
  z-index: 4;
  overflow: hidden;
}
.metric {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 0;
  padding: 12px 14px;
  border-right: 1px solid #e6ebf6;
}
.metric:last-child { border-right: 0; }
.metric svg {
  width: 32px;
  height: 32px;
  stroke: var(--pink-500);
  stroke-width: 2.2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}
.metric strong {
  display: block;
  color: var(--pink-500);
  font-size: 16px;
  line-height: 1;
  font-weight: 900;
  margin-bottom: 3px;
}
.metric span {
  display: block;
  color: #273149;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
}
@media (max-width: 1420px) {
  .metrics {
    grid-template-columns: repeat(2, max-content);
    right: 24px;
    bottom: 24px;
  }
  .metric:nth-child(2) { border-right: 0; }
  .metric:nth-child(-n+2) { border-bottom: 1px solid #e6ebf6; }
}

@media (max-width: 1100px) {
  .about-card {
    grid-template-columns: 390px 1fr;
    border-radius: 40px;
  }
  .copy-panel {
    padding-left: 42px;
    padding-right: 34px;
  }
  .metrics {
    width: calc(100% - 48px);
    left: 24px;
    transform: none;
  }
}
@media (max-width: 860px) {
  .about-card {
    grid-template-columns: 1fr;
    overflow: visible;
    border-radius: 34px;
  }
  .copy-panel {
    padding: 34px 30px 28px;
    border-radius: 34px 34px 0 0;
  }
  .copy-panel::after { display: none; }
  .copy-panel p { max-width: none; }
  .image-panel {
    min-height: 430px;
    border-radius: 0 0 34px 34px;
  }
  .metrics {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    transform: none;
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
    border-radius: 0 0 34px 34px;
  }
  .metric:nth-child(2) { border-right: 0; }
  .metric:nth-child(-n + 2) { border-bottom: 1px solid #e6ebf6; }
}
@media (max-width: 560px) {
  .date-pill, .cta { width: 100%; }
  .copy-panel { padding: 28px 22px; }
  /* Métricas en cuadrícula 2×2 compacta (antes: 4 filas apiladas) */
  .metrics { grid-template-columns: 1fr 1fr; }
  .metric, .metric:nth-child(2) { border-right: 0; border-bottom: 0; }
  .metric { justify-content: flex-start; gap: 9px; padding: 13px 10px 13px 14px; }
  .metric:nth-child(odd) { border-right: 1px solid #e6ebf6; }
  .metric:nth-child(-n + 2) { border-bottom: 1px solid #e6ebf6; }
  .metric svg { width: 25px; height: 25px; }
  .metric strong { font-size: 14.5px; }
  .metric span { font-size: 10.5px; }
}

/* ══════════════ NUEVA MISIÓN Y VISIÓN (LIGHT THEME) ══════════════ */
#about-mision {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 40px;
  padding: 60px 40px;
  position: relative;
  overflow: visible;
  box-shadow: 0 20px 50px rgba(0, 5, 20, 0.04),
              inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}
@media (max-width: 768px) {
  #about-mision { padding: 40px 20px; }
}

.mv-light-wrapper {
  position: relative;
  z-index: 2;
}

/* Decoraciones de fondo */
.mv-deco-ring {
  position: absolute;
  top: 40%;
  left: -5%;
  width: 300px;
  height: 300px;
  border: 15px solid rgba(241, 0, 117, 0.15);
  border-radius: 50%;
  z-index: -1;
  transform: translateY(-50%);
}

/* Layout */
.mv-layout {
  display: grid;
  grid-template-columns: 4.5fr 6.5fr;
  gap: 60px;
  align-items: stretch;
}
@media (max-width: 1024px) {
  .mv-layout { grid-template-columns: 1fr; gap: 50px; }
  .mv-deco-ring { left: -20%; }
}

/* Columna Izquierda: Imagen */
.mv-image-col {
  position: relative;
  border-radius: 30px;
  height: 100%;
}
.mv-image-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center; /* Asegura que el lado izquierdo (donde está el logo) no se recorte */
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
  display: block;
}
.mv-image-badge-light {
  position: absolute;
  bottom: -30px;
  right: 20px;
  background: #ffffff;
  border-radius: 12px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
  border-bottom: 4px solid #f10075;
  width: calc(100% - 40px);
  max-width: 320px;
}
.mv-badge-icon-box {
  background: #f10075;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mv-badge-icon {
  width: 24px;
  height: 24px;
  color: #fff;
}
.mv-image-badge-light p {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 500;
  color: #1e293b;
}

/* Columna Derecha: Contenido */
.mv-badge-wrap { margin-bottom: 16px; }
.about-panel-badge-light {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #f10075;
}
.badge-dot {
  width: 6px;
  height: 6px;
  background: #f10075;
  border-radius: 50%;
}
.mv-new-title-light {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 42px;
  color: #0f172a;
  margin: 0 0 10px 0;
}
.mv-title-underline {
  width: 40px;
  height: 4px;
  background: #f10075;
  border-radius: 2px;
  margin-bottom: 20px;
}
.mv-intro-text-light {
  color: #64748b;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 40px;
}

/* Grid de Tarjetas */
.mv-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 650px) {
  .mv-cards-grid { grid-template-columns: 1fr; }
}
.mv-card {
  border-radius: 20px;
  padding: 32px 24px;
  transition: transform 0.3s ease;
}
.mv-card:hover { transform: translateY(-5px); }

/* Tarjeta Oscura (Misión) */
.mv-card--dark {
  background: #0f1c3f;
  color: #fff;
  box-shadow: 0 20px 40px rgba(15, 28, 63, 0.15);
}
.mv-card--dark h3 { color: #fff; }
.mv-card--dark .mv-card-divider { background: rgba(255,255,255,0.1); }
.mv-card--dark p { color: #cbd5e1; }
.mv-card--dark .mv-list li { color: #e2e8f0; }

/* Tarjeta Clara (Visión) */
.mv-card--light {
  background: #ffffff;
  color: #334155;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08); /* Sombra más pronunciada para separarla del fondo blanco */
  border: 1px solid rgba(0,0,0,0.03);
}
.mv-card--light h3 { color: #0f172a; }
.mv-card--light .mv-card-divider { background: #e2e8f0; }
.mv-card--light p { color: #64748b; }
.mv-card--light .mv-list li { color: #475569; }

/* Elementos comunes de Tarjeta */
.mv-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.mv-card-icon-box {
  width: 48px;
  height: 48px;
  background: rgba(241, 0, 117, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f10075;
}
.mv-icon-light { background: rgba(241, 0, 117, 0.05); }
.mv-card-icon-box svg {
  width: 24px;
  height: 24px;
}
.mv-card h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 20px;
  margin: 0;
}
.mv-card-divider {
  width: 40px;
  height: 2px;
  margin-bottom: 20px;
}
.mv-card p {
  font-size: 13.5px;
  line-height: 1.6;
  margin-bottom: 24px;
}
.mv-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mv-list li {
  font-size: 13px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.mv-list li svg {
  width: 18px;
  height: 18px;
  color: #f10075;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ══════════════ SERVICIOS Y COMUNIDAD (BENTO BOX) ══════════════ */
.bento-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 50px;
}
.bento-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 42px;
  color: var(--nos-navy);
  margin-bottom: 16px;
  line-height: 1.1;
}
.bento-subtitle {
  font-size: 16px;
  color: var(--nos-muted);
  line-height: 1.6;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  grid-auto-rows: minmax(320px, auto);
}

.bento-card {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.bento-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.bento-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 79, 176, 0.9) 0%, rgba(0, 79, 176, 0.4) 50%, transparent 100%);
  z-index: 2;
}

.bento-content {
  position: relative;
  z-index: 3;
  padding: 32px;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: flex-end;
}

.bento-content--row {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}
.bento-text-part { flex: 1; padding-right: 32px; }
.bento-icon-part { flex-shrink: 0; }

.bento-content h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 24px;
  margin-bottom: 12px;
  color: var(--nos-navy);
}
.bento-content p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--nos-muted);
}
/* Después de las reglas generales para ganar en cascada (misma especificidad) */
.bento-content--light h3, .bento-content--light p { color: #ffffff; }

.bento-icon-box {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.bento-icon-box svg { width: 28px; height: 28px; }

.bento-icon-box--pink { background: rgba(241, 0, 117, 0.1); color: var(--nos-pink); }
.bento-icon-box--blue { background: rgba(0, 79, 176, 0.1); color: var(--nos-blue); }
.bento-icon-box--white { background: rgba(255, 255, 255, 0.2); color: #ffffff; }
.bento-icon-box--glass { background: rgba(255, 255, 255, 0.1); color: #ffffff; backdrop-filter: blur(10px); }

.bento-card--large {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 500px;
}
.bento-card--white {
  background: #ffffff;
}
.bento-card--pink {
  background: var(--nos-pink);
}
.bento-card--wide {
  grid-column: span 3;
  background: var(--nos-navy);
  min-height: 200px;
}

@media (max-width: 1024px) {
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-card--large { grid-column: span 2; }
  .bento-card--wide { grid-column: span 2; }
}
@media (max-width: 768px) {
  .bento-grid { grid-template-columns: 1fr; }
  .bento-card--large, .bento-card--wide { grid-column: span 1; }
  .bento-content--row { flex-direction: column; align-items: flex-start; }
  .bento-icon-part { display: none; }
  .bento-title { font-size: 32px; }
}

/* ══════════════ AJUSTES MÓVILES (al final del archivo para ganar
   en cascada a las reglas base de misión/visión y bento) ══════════════ */
@media (max-width: 767px) {
  /* Misión y Visión: imagen contenida y badge compacto de borde a borde */
  .mv-layout { gap: 56px; }
  .mv-image-col { height: auto; }
  .mv-image-col img { height: 280px; }
  .mv-image-badge-light {
    bottom: -26px;
    left: 14px;
    right: 14px;
    width: auto;
    max-width: none;
    padding: 13px 16px;
    gap: 12px;
  }
  .mv-image-badge-light p { font-size: 13px; }
  .mv-badge-icon-box { width: 40px; height: 40px; }
  .mv-badge-icon { width: 20px; height: 20px; }
  .mv-new-title-light { font-size: 32px; }
  .mv-intro-text-light { margin-bottom: 28px; }
  .mv-card { padding: 26px 20px; }

  /* Bento: tarjeta grande más baja y overlay reforzado para que el
     texto blanco sea legible sobre la foto */
  .bento-card--large { min-height: 400px; }
  .bento-overlay {
    background: linear-gradient(to top,
      rgba(0, 60, 145, 0.97) 0%,
      rgba(0, 60, 145, 0.72) 55%,
      rgba(0, 40, 100, 0.25) 100%);
  }
  .bento-content { padding: 24px 20px; }

  /* Directores y equipo: tarjetas compactas, foto más baja y
     especialidades como chips en fila (menos scroll, más pulido) */
  .bento-header { margin-bottom: 32px; padding: 0 8px; }
  .bento-subtitle { font-size: 14.5px; }
  .director-card { border-radius: 20px; }
  /* Foto más alta y recorte anclado arriba: las fotos son retratos 3:4
     y el recorte centrado de antes cortaba las cabezas */
  .director-img-wrap { height: 330px; }
  .director-img-wrap img { object-position: top center; }
  .director-info { padding: 22px 20px 24px; }
  .director-info h3 { font-size: 21px; }
  .director-divider { margin-top: 12px; margin-bottom: 16px; }
  .director-bio { font-size: 13.5px; margin-bottom: 18px; }
  .director-specialties-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }
  .director-specialties-list li {
    border: 1px solid rgba(241, 0, 117, 0.18);
    background: rgba(241, 0, 117, 0.04);
    border-radius: 9999px;
    padding: 7px 13px;
    font-size: 12px;
    gap: 7px;
  }
  .director-specialties-list li svg { width: 14px; height: 14px; }
  .director-role { bottom: 14px; left: 14px; }
}

/* Métricas móviles: fichas 2×2 uniformes con contenido centrado
   (icono arriba, cifra y etiqueta debajo) */
@media (max-width: 560px) {
  .metric,
  .metric:nth-child(2) {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 7px;
    padding: 16px 10px 14px;
    min-height: 104px;
  }
  .metric svg { width: 24px; height: 24px; }
  .metric strong { font-size: 15px; margin-bottom: 2px; }
  .metric span { font-size: 10.5px; line-height: 1.25; }
}

/* ════ COMUNIDAD · Fila del equipo (foto + nombre + área, sin bio) ════ */
.team-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  /* se sale del .container (1200px): una sola fila de 5 que aprovecha
     casi todo el ancho de la pantalla */
  width: min(1900px, 97vw);
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  margin: 50px 0 20px;
}
.tr-card { flex: 1 1 0; min-width: 0; max-width: 380px; }
@media (max-width: 999px) {
  .team-row { flex-wrap: wrap; }
  .tr-card { flex: 0 0 auto; width: min(400px, 100%); }
}
/* ── Tarjeta tipo perfil (foto a sangre + degradado al negro) ── */
.tr-card {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: #17181c;
  border: 1px solid rgba(255, 255, 255, .06);
  box-shadow: 0 18px 42px rgba(8, 20, 45, .28);
  transition: transform .3s ease, box-shadow .3s ease;
}
.tr-card:hover { transform: translateY(-8px); box-shadow: 0 30px 60px rgba(8, 20, 45, .4); }
/* Proporción 5:7 (la de la foto más alta): todas las tarjetas idénticas
   y el recorte de las demás fotos es mínimo */
.tr-photo { position: relative; aspect-ratio: 5 / 7; overflow: hidden; }
.tr-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform .45s ease;
}
.tr-card:hover .tr-photo img { transform: scale(1.05); }
/* ── Blur progresivo en degradado (variable blur estilo iOS) ──
   Se apilan varias capas de backdrop-filter con máscaras de gradiente:
   cada capa desenfoca más y se revela más abajo, así el desenfoque
   crece de forma continua hacia la base de la foto (sin borde duro). */
.tr-blur {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 15%;
  z-index: 1;
  pointer-events: none;
}
.tr-blur > div {
  position: absolute;
  inset: 0;
}
.tr-blur > div:nth-child(1) {
  -webkit-backdrop-filter: blur(0.6px);
  backdrop-filter: blur(0.6px);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 22%, transparent 44%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 22%, transparent 44%);
}
.tr-blur > div:nth-child(2) {
  -webkit-backdrop-filter: blur(1.5px);
  backdrop-filter: blur(1.5px);
  -webkit-mask-image: linear-gradient(to bottom, transparent 8%, #000 30%, #000 48%, transparent 66%);
  mask-image: linear-gradient(to bottom, transparent 8%, #000 30%, #000 48%, transparent 66%);
}
.tr-blur > div:nth-child(3) {
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  -webkit-mask-image: linear-gradient(to bottom, transparent 26%, #000 46%, #000 62%, transparent 80%);
  mask-image: linear-gradient(to bottom, transparent 26%, #000 46%, #000 62%, transparent 80%);
}
.tr-blur > div:nth-child(4) {
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  -webkit-mask-image: linear-gradient(to bottom, transparent 44%, #000 62%, #000 76%, transparent 90%);
  mask-image: linear-gradient(to bottom, transparent 44%, #000 62%, #000 76%, transparent 90%);
}
.tr-blur > div:nth-child(5) {
  -webkit-backdrop-filter: blur(11px);
  backdrop-filter: blur(11px);
  -webkit-mask-image: linear-gradient(to bottom, transparent 60%, #000 78%, #000 90%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 60%, #000 78%, #000 90%, transparent 100%);
}
.tr-blur > div:nth-child(6) {
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  -webkit-mask-image: linear-gradient(to bottom, transparent 76%, #000 92%, #000 100%);
  mask-image: linear-gradient(to bottom, transparent 76%, #000 92%, #000 100%);
}
/* Velo oscuro muy tenue sobre el blur para legibilidad del texto blanco.
   Se funde muy arriba para no dejar una franja visible. */
.tr-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(to top, rgba(8, 10, 18, .52) 0%, rgba(8, 10, 18, .18) 10%, transparent 22%);
}
/* Contenido sobre el blur: área (izq) + nombre (der) en una fila */
.tr-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 13px 13px 15px;
}
/* Área a la izquierda (píldora clara, tipo "Follow") */
.tr-area {
  order: 0;
  background: rgba(255, 255, 255, .94);
  color: #14161b;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .2px;
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .22);
}
/* Nombre a la derecha, con la insignia verificada */
.tr-name {
  order: 1;
  display: flex;
  align-items: center;
  gap: 5px;
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .1px;
  white-space: nowrap;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .45);
}
.tr-verified {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  fill: #0a63d4;
}
