/* ════════════════════════════════════════════════════════════
   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 ══════════════ */
.nos-hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 100px 24px 110px;
  background-color: #04122d;
  background-image: url('images/nosotros/ooour-background.webp');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  isolation: isolate;
}



/* Velo de legibilidad: difumina y oscurece suavemente la foto de fondo
   detrás del título para que el texto blanco siempre se lea */
.nos-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(760px 460px at 50% 32%, rgba(4, 18, 45, 0.55) 0%, rgba(4, 18, 45, 0.3) 55%, transparent 100%),
    linear-gradient(180deg, rgba(4, 18, 45, 0.4) 0%, rgba(4, 18, 45, 0.16) 45%, rgba(4, 18, 45, 0.45) 100%);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.nos-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: 0 auto;
}

.nos-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #fff;
  background: rgba(14, 38, 77, 0.6);
  border: 1px solid rgba(255, 255, 255, .15);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  padding: 7px 18px;
  border-radius: 999px;
  margin-bottom: 26px;
  animation: nosUp .7s var(--nos-ease) both .05s;
}

.nos-hero__title {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: clamp(3rem, 8vw, 5.5rem);
  line-height: 1.02;
  letter-spacing: -1.5px;
  color: #fff;
  margin: 0 0 18px;
  animation: nosUp .7s var(--nos-ease) both .15s;
}
.nos-hero__title em {
  font-style: italic;
  font-weight: 500;
  background: linear-gradient(100deg, #ff5fa8, #ff8cb9);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 15px rgba(255, 95, 168, 0.4));
}

.nos-hero__sub {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, .82);
  max-width: 640px;
  margin: 0 auto 40px;
  animation: nosUp .7s var(--nos-ease) both .25s;
}

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

/* 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: 1;
}

/* ══════════════ ACCENT Y TABS (NUEVO DISEÑO) ══════════════ */
.accent {
  width: 55px;
  height: 5px;
  margin: 26px auto 28px;
  border-radius: 10px;
  background: var(--pink-500);
  position: relative;
  z-index: 2;
  animation: nosUp .7s var(--nos-ease) both .35s;
}
.accent::after {
  content: "";
  width: 8px;
  height: 8px;
  position: absolute;
  right: -15px;
  top: -1.5px;
  border-radius: 50%;
  background: var(--pink-500);
}

.tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  z-index: 2;
  position: relative;
  animation: nosUp .7s var(--nos-ease) both .45s;
}
.tab {
  height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(4, 18, 45, 0.6);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  box-shadow: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
  transition: all .3s ease;
}
.tab.active {
  background: #fff;
  color: #f10075;
  border-color: #fff;
  box-shadow: 0 8px 32px rgba(241, 0, 117, 0.35);
}
.tab svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

/* ══════════════ 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%); }
}
.tr-card {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 30, 80, .12);
  transition: transform .25s ease, box-shadow .25s ease;
}
.tr-card:hover { transform: translateY(-6px); box-shadow: 0 20px 44px rgba(0, 30, 80, .18); }
/* 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 .35s ease;
}
.tr-card:hover .tr-photo img { transform: scale(1.04); }
/* Tarjetas flotantes sobre la foto */
.tr-area {
  position: absolute;
  top: 14px;
  right: 14px;
  background: #f10075;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding: 8px 14px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(241, 0, 117, .35);
}
.tr-name {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #0d264c;
  font-size: 13.5px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(0, 20, 60, .2);
}
