/* ════════════════════════════════════════════════════════════
   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-portal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 11px 17px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 160ms cubic-bezier(.23, 1, .32, 1), background-color 160ms ease, border-color 160ms ease;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.9) !important;
  background: rgba(255, 255, 255, 0.07);
}
.nos-btn-portal svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.nos-btn-portal:hover {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.13);
  color: #fff !important;
  transform: translateY(-1px);
}
.nos-btn-portal:active {
  transform: scale(.97);
}

/* ── 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: composición editorial con fotografías de grupo sin máscaras ovaladas. */
#about-servicios { padding-top: 32px; }
.community-heading {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  align-items: end;
  gap: 48px;
  max-width: 1120px;
  margin: 0 auto 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid #dce3ed;
}
.community-heading h2 {
  margin: 0;
  color: #09244c;
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(40px, 4.4vw, 64px);
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1.06;
}
.community-heading h2 em { color: #ef0b72; font-weight: inherit; }
.community-heading p {
  max-width: 360px;
  margin: 0 0 4px auto;
  color: #526582;
  font-size: 16px;
  line-height: 1.8;
}
.community-gallery {
  display: grid;
  grid-template-columns: 1.05fr 1fr .95fr;
  align-items: start;
  gap: 24px;
  width: min(100%, 1120px);
  margin: 0 auto 32px;
}
.community-gallery-column { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.community-gallery-column:nth-child(2) { padding-top: 48px; }
.community-gallery-column:nth-child(3) { padding-top: 16px; }
.community-photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 16px;
  background: #eeeae4;
  box-shadow: 0 8px 24px rgba(9,36,76,.08);
}
.community-photo--001 { aspect-ratio: 1 / 1.08; }
.community-photo--002 { aspect-ratio: 4 / 3; }
.community-photo--003 { aspect-ratio: 4 / 3; }
.community-photo--005 { aspect-ratio: 1.1 / 1; }
.community-photo--006 { aspect-ratio: .82 / 1; }
.community-photo--004 { aspect-ratio: 1.5 / 1; }
.community-photo img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.community-photo--002 img,
.community-photo--003 img,
.community-photo--005 img { object-position: center top; }
.community-photo--006 img { object-position: center 22%; }
@media (max-width: 900px) {
  .community-heading { gap: 24px; }
  .community-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .community-gallery-column:last-child { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding-top: 0; align-items: start; }
  .community-photo--006 { aspect-ratio: 1 / 1.1; }
  .community-photo--004 { margin-top: 48px; }
}
@media (max-width: 640px) {
  #about-servicios { padding-top: 24px; }
  .community-heading { grid-template-columns: 1fr; gap: 20px; margin-bottom: 24px; padding-bottom: 24px; }
  .community-heading p { max-width: 36ch; margin: 0; font-size: 14px; line-height: 1.7; }
  .community-gallery { grid-template-columns: 1fr; max-width: 440px; gap: 20px; }
  .community-gallery-column { gap: 20px; }
  .community-gallery-column:nth-child(2), .community-gallery-column:nth-child(3) { padding-top: 0; }
  .community-gallery-column:last-child { display: flex; grid-column: auto; }
  .community-photo--004 { margin-top: 0; }
  .community-photo--001 { aspect-ratio: 1.1 / 1; }
}


/* Referencia Nosotros: cabecera compacta, fotografía y métricas laterales. */
.nos-hero {
  padding: 108px 0 58px;
  background-size: 100% 100%;
  background-position: center;
}
.nos-hero::before {
  background: linear-gradient(90deg, rgba(8,22,51,.46), transparent 75%);
}
.nos-hero::after { bottom: -29px; height: 44px; background: #fbfcff; }
.nos-hero-inner {
  width: 78%; max-width: 1120px;
  display: grid; grid-template-columns: 1.16fr 1fr;
  gap: 42px; text-align: left; align-items: center;
}
.nos-hero-content { max-width: none; animation: none; }
.nos-eyebrow { font-size: 9px; letter-spacing: 1.7px; gap: 10px; margin-bottom: 5px; }
.nos-eyebrow-icon { width: 23px; height: 23px; }
.nos-eyebrow-rule { width: 50px; height: 2px; margin: 0 0 12px; }
.nos-hero-title { font-size: clamp(42px, 4.9vw, 70px); letter-spacing: -.035em; margin-bottom: 12px; }
.nos-hero-title em { font-family: 'Fraunces', Georgia, serif; font-weight: 700; letter-spacing: -.025em; }
.nos-title-rule { display: none; }
.nos-hero-desc { font-size: 14px; line-height: 1.5; max-width: 440px; margin: 0 0 22px; color: #e3e8f4; }
.nos-hero-actions { justify-content: flex-start; gap: 12px; flex-wrap: nowrap; }
.nos-btn-primary { min-height: 42px; padding: 10px 20px; font-size: 12px; gap: 10px; }
.nos-btn-portal { min-height: 42px; padding: 10px 16px; font-size: 11px; border-color: #b9c6e0; background: transparent; }
.nos-hero-features { margin-top: 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.nos-feature { gap: 10px; min-width: 0; }
.nos-feature:not(:last-child)::after { right: -10px; background: rgba(255,255,255,.1); }
.nos-feature-icon { width: 34px; height: 34px; padding: 7px; margin: 0; border-radius: 11px; color: #ff63b1; background: rgba(241,0,117,.22); stroke-width: 1.7; }
.nos-feature:nth-child(2) .nos-feature-icon { color: #8da8ff; background: rgba(85,116,255,.24); }
.nos-feature:nth-child(3) .nos-feature-icon { color: #8ae3cd; background: rgba(36,177,146,.25); }
.nos-feature-text strong { font-size: 10px; line-height: 1.4; }
.nos-feature-text span { font-size: 10px; line-height: 1.4; color: #d4deef; }
.nos-hero-visual { animation: none; }
.nos-collage-container { max-width: none; padding: 0; }
.nos-collage-main { aspect-ratio: 1.4; border-radius: 18px; border: 1px solid rgba(255,255,255,.55); box-shadow: 0 16px 36px rgba(5,20,48,.13); }
.nos-collage-main img { display: block; object-position: 44% center; }
.nos-floating-card { padding: 11px 14px; gap: 10px; border-radius: 14px; animation: none; }
.nos-floating-card--professionals { top: -15px; left: -28px; }
.nos-floating-card--experience { bottom: 20px; right: -50px; }
.nos-floating-icon { width: 32px; height: 32px; }
.nos-floating-info strong { font-family: 'Poppins', sans-serif; font-size: 14px; }
.nos-floating-info span { font-size: 9px; }
.about-section { background: #fbfcff; margin-top: 0; padding: 0 0 64px; }
.about-section > .container { width: 82%; max-width: 1160px; padding: 0; }
.nosotros-tabs-wrapper { width: 100%; margin: 0 auto 20px; padding: 0; transform: translateY(-24px); margin-bottom: -4px; }
.nosotros-tabs { padding: 5px; gap: 3px; border: 0; box-shadow: 0 12px 30px rgba(20,42,79,.1); }
.nosotros-tab { height: 40px; padding: 0 15px; font-size: 10px; gap: 8px; text-decoration: none; }
.nosotros-tab.active { background: #fde7f3; border-color: transparent; box-shadow: none; color: #cd0064; }
.nosotros-tab-icon { width: 28px; height: 28px; }
#about-quienes .about-card {
  width: 100%; min-height: 280px; display: grid;
  grid-template-columns: 32% minmax(0,1fr) 18%; gap: 14px;
  border: 0; border-radius: 24px 16px 16px 24px; overflow: visible;
  background: transparent; box-shadow: none;
}
#about-quienes .copy-panel { padding: 18px 10px 20px 22px; border-radius: 24px 0 0 24px; justify-content: flex-start; }
#about-quienes .copy-panel::after { top: 0; right: -48px; width: 75px; height: 100%; border-radius: 0; transform: none; clip-path: polygon(0 0, 35% 0, 100% 100%, 0 100%); }
#about-quienes .date-pill { height: 38px; width: max-content; gap: 10px; padding: 3px 14px 3px 0; margin-bottom: 16px; border: 0; box-shadow: 0 6px 22px rgba(204,51,127,.04); }
#about-quienes .date-icon { width: 34px; height: 34px; background: #ffe7f3; color: #f10075; }
#about-quienes .date-icon svg { stroke: currentColor; }
#about-quienes .date-pill strong { font-size: 12px; }
#about-quienes .date-pill span { font-size: 9px; }
#about-quienes .eyebrow { font-size: 9px; letter-spacing: 1.3px; margin-bottom: 5px; color: #d60069; }
#about-quienes .copy-panel h2 { font-size: clamp(27px,2.5vw,36px); line-height: 1.02; margin-bottom: 12px; }
#about-quienes .copy-panel h2 em { color: #f10075; }
#about-quienes .copy-panel p { font-size: 11px; line-height: 1.5; font-weight: 400; }
#about-quienes .cta { min-height: 34px; height: auto; width: max-content; max-width: 100%; margin-top: 12px; padding: 7px 15px; border: 1px solid #f10075; color: #d60069; background: #fff; font-size: 9px; }
#about-quienes .cta:hover { background: #fff0f7; }
#about-quienes .image-panel { min-height: 280px; border-radius: 0 16px 16px 0; }
#about-quienes .image-panel img { object-position: center; }
#about-quienes .metrics { position: static; width: 100%; max-width: none; min-height: 0; display: grid; grid-template-columns: 1fr; gap: 5px; align-items: stretch; border-radius: 0; background: none; box-shadow: none; overflow: visible; transform: none; }
#about-quienes .metric { flex-direction: row; justify-content: flex-start; text-align: left; gap: 10px; min-height: 0; padding: 12px; border: 0; border-radius: 15px; background: white; box-shadow: 0 5px 22px rgba(20,42,79,.045); }
#about-quienes .metric svg { width: 33px; height: 33px; padding: 8px; border-radius: 11px; background: #ffedf7; stroke: #ed087a; }
#about-quienes .metric:nth-child(2) svg { background: #f6efff; stroke: #8334d8; }
#about-quienes .metric:nth-child(3) svg { background: #e9faf5; stroke: #10a888; }
#about-quienes .metric:nth-child(4) svg { background: #fff6e5; stroke: #e7a100; }
#about-quienes .metric strong { font-size: 13px; color: #193466; line-height: 1.2; }
#about-quienes .metric span { font-size: 9px; font-weight: 400; line-height: 1.4; color: #5b6b86; }
.nos-hero a:focus-visible { outline: 3px solid white; outline-offset: 4px; }
@media (min-width: 1500px) {
  .nos-hero { padding-top: 125px; padding-bottom: 72px; }
  .nos-hero-desc { font-size: 16px; }
  .nos-feature-text strong { font-size: 12px; }
  .nos-feature-text span { font-size: 11px; }
}
@media (max-width: 991px) {
  .nos-hero-inner { width: 88%; gap: 30px; grid-template-columns: 1.1fr 1fr; }
  .nos-eyebrow { font-size: 8px; letter-spacing: 1px; }
  .nos-hero-title { font-size: 44px; }
  .nos-hero-actions { flex-wrap: wrap; }
  .nos-hero-features { gap: 12px; }
  .nos-feature { flex-direction: column; }
  .nos-feature:not(:last-child)::after { right: -6px; }
  .nos-floating-card--experience { right: -18px; }
  .about-section > .container { width: 90%; }
  #about-quienes .about-card { grid-template-columns: 38% minmax(0,1fr); }
  #about-quienes .metrics { grid-column: 1 / -1; grid-template-columns: repeat(4,1fr); }
}
@media (max-width: 650px) {
  .nos-hero { padding: 98px 0 60px; background-size: auto 100%; background-position: left top; }
  .nos-hero-inner { width: calc(100% - 40px); grid-template-columns: 1fr; gap: 36px; }
  .nos-hero-content { max-width: 480px; margin: auto; }
  .nos-eyebrow { font-size: 8px; letter-spacing: .8px; }
  .nos-hero-title { font-size: clamp(42px, 11vw, 60px); }
  .nos-hero-desc { font-size: 14px; }
  .nos-hero-actions { gap: 10px; }
  .nos-btn-primary { padding: 11px 15px; font-size: 11px; min-height: 44px; }
  .nos-btn-portal { padding: 11px 12px; font-size: 10px; min-height: 44px; }
  .nos-hero-features { margin-top: 24px; gap: 18px; }
  .nos-feature-text strong { font-size: 10px; }
  .nos-feature-text span { font-size: 10px; }
  .nos-collage-container { width: calc(100% - 20px); max-width: 430px; }
  .nos-collage-main { aspect-ratio: 1.45; }
  .nos-floating-card { padding: 10px 12px; }
  .nos-floating-card--professionals { left: -10px; top: -16px; }
  .nos-floating-card--experience { right: -10px; bottom: 14px; }
  .about-section > .container { width: calc(100% - 32px); }
  .nosotros-tabs-wrapper { transform: translateY(-22px); margin-bottom: -2px; }
  .nosotros-tabs { display: grid; grid-template-columns: 1fr 1fr; width: 100%; gap: 3px; padding: 5px; background: #fff; border-radius: 20px; box-shadow: 0 12px 30px rgba(20,42,79,.1); }
  .nosotros-tabs .nosotros-tab { grid-column: auto; height: 44px; padding: 0 8px; font-size: 10px; justify-content: flex-start; border: 0; box-shadow: none; background: transparent; }
  .nosotros-tabs .nosotros-tab.active { background: #fde7f3; }
  .nosotros-tab-icon { width: 25px; height: 25px; }
  #about-quienes .about-card { grid-template-columns: 1fr; gap: 0; border-radius: 22px; }
  #about-quienes .copy-panel { padding: 24px; border-radius: 22px 22px 0 0; }
  #about-quienes .copy-panel::after { display: none; }
  #about-quienes .date-pill { margin-bottom: 20px; }
  #about-quienes .copy-panel h2 { font-size: 34px; }
  #about-quienes .copy-panel p { font-size: 14px; line-height: 1.6; }
  #about-quienes .cta { font-size: 11px; min-height: 44px; margin-top: 18px; }
  #about-quienes .image-panel { min-height: 0; aspect-ratio: 1.4; border-radius: 0 0 18px 18px; }
  #about-quienes .metrics { grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
  #about-quienes .metric { min-height: 76px; padding: 12px; }
  #about-quienes .metric strong { font-size: 14px; }
  #about-quienes .metric span { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .nos-hero *, .about-section * { animation: none !important; transition: none !important; }
}

/* Testimonios · collage glass en los colores de KJA */
.nos-testimonials { position: relative; isolation: isolate; padding: 16px 20px 32px; }
.nos-testimonials::before { content: ''; position: absolute; inset: 120px -35px 30px; z-index: -1; pointer-events: none; background: radial-gradient(ellipse at 18% 28%, rgba(241,0,117,.14), transparent 48%), radial-gradient(ellipse at 85% 65%, rgba(0,79,176,.16), transparent 50%), radial-gradient(ellipse at 55% 80%, rgba(241,0,117,.06), transparent 50%); filter: blur(20px); }
.nos-testimonials-heading { text-align: center; margin: 0 auto 65px; max-width: 760px; }
.nos-testimonials-eyebrow { display: inline-flex; align-items: center; gap: 10px; color: #cf0867; font-size: 10px; letter-spacing: 2px; font-weight: 700; margin-bottom: 18px; }
.nos-testimonials-eyebrow > span { font-size: 19px; }
.nos-testimonials-heading h2 { font-family: 'Fraunces', Georgia, serif; font-size: clamp(32px, 4vw, 49px); line-height: 1.17; letter-spacing: -1.5px; color: var(--nos-navy, #19264e); font-weight: 600; margin: 0 0 18px; }
.nos-testimonials-heading h2 em { font-family: inherit; font-weight: 400; color: #d72b78; }
.nos-testimonials-heading > p { color: var(--nos-muted, #62708a); font-size: 14px; line-height: 1.8; }
.nos-testimonials-board { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); align-items: start; gap: 44px 27px; padding: 0 4px 42px; }
.nos-testimonial { --card-accent: #d72b78; --card-tint: rgba(241,0,117,.09); position: relative; display: flex; flex-direction: column; padding: 29px 26px 17px; min-width: 0; min-height: 270px; background: linear-gradient(135deg, rgba(255,255,255,.86), rgba(255,255,255,.48)); border: 1px solid rgba(255,255,255,.95); border-radius: 29px 48px 32px 16px; box-shadow: 0 14px 40px rgba(24,43,79,.07), inset 0 1px 0 #fff; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); transform: rotate(-2deg); transition: transform .25s ease, box-shadow .25s ease; }
.nos-testimonial::before { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(ellipse at top left, var(--card-tint), transparent 65%); }
.nos-testimonial:nth-child(3n+2) { --card-accent: #004fb0; --card-tint: rgba(0,79,176,.09); transform: translateY(33px) rotate(2deg); border-radius: 45px 21px 39px 27px; }
.nos-testimonial:nth-child(3n) { transform: translateY(-12px) rotate(-1deg); border-radius: 22px 38px 19px 40px; }
.nos-testimonial:nth-child(6n+4) { --card-accent: #004fb0; --card-tint: rgba(0,79,176,.07); transform: rotate(1.5deg); }
.nos-testimonial:nth-child(6n+5) { --card-accent: #d72b78; --card-tint: rgba(241,0,117,.09); transform: translateY(22px) rotate(-1.5deg); }
.nos-testimonial:hover { transform: translateY(-5px) rotate(0); box-shadow: 0 22px 45px rgba(24,43,79,.12); z-index: 1; }
.nos-testimonial-person { display: flex; align-items: center; gap: 13px; position: relative; margin-top: -48px; margin-bottom: 18px; }
.nos-testimonial-avatar { position: relative; overflow: hidden; flex-shrink: 0; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--card-accent); color: white; font-size: 25px; font-weight: 600; border: 3px solid #fff; outline: 2px solid var(--card-accent); box-shadow: 0 5px 12px rgba(25,38,78,.1); }
.nos-testimonial-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nos-testimonial-person h3 { font-size: 13px; font-weight: 700; line-height: 1.4; color: #19264e; margin: 16px 0 3px; overflow-wrap: anywhere; }
.nos-testimonial-source { display: block; font-size: 9px; line-height: 1.6; color: #66738a; }
.nos-testimonial-stars { color: var(--card-accent); font-size: 16px; letter-spacing: 3px; margin-bottom: 14px; position: relative; }
.nos-testimonial blockquote { position: relative; margin: 0; color: #465371; font-size: 12px; line-height: 1.95; overflow-wrap: anywhere; flex: 1; }
.nos-testimonial-footer { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 19px; border-top: 1px solid rgba(25,38,78,.07); padding-top: 11px; }

.nos-testimonial-quote { font: 64px/.65 'Fraunces', Georgia, serif; color: var(--card-accent); transform: translateY(11px); }
.nos-testimonials-bottom { display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; text-align: center; margin-top: 20px; }
.nos-testimonials-bottom p { flex-basis: 100%; color: #68758d; font-size: 10px; }
.nos-testimonials-cta { display: inline-flex; align-items: center; gap: 22px; color: #004fb0; font-size: 12px; font-weight: 600; text-decoration: none; padding: 12px 20px; border: 1px solid rgba(0,79,176,.14); border-radius: 30px; background: rgba(255,255,255,.65); }
.nos-testimonials-cta:hover { background: #004fb0; color: #fff; }
#nos-testimonials-retry { border: 0; background: transparent; color: #004fb0; font: inherit; font-size: 11px; text-decoration: underline; cursor: pointer; }
@media (max-width: 900px) { .nos-testimonials-board { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 45px 24px; } .nos-testimonial:nth-child(n) { transform: rotate(-1deg); } .nos-testimonial:nth-child(even) { transform: translateY(20px) rotate(1.5deg); } }
@media (max-width: 560px) { .nos-testimonials { padding: 5px 8px 25px; } .nos-testimonials-heading { margin-bottom: 53px; } .nos-testimonials-heading h2 { letter-spacing: -.8px; } .nos-testimonials-heading > p { font-size: 12px; } .nos-testimonials-eyebrow { font-size: 8px; letter-spacing: 1.4px; } .nos-testimonials-board { grid-template-columns: minmax(0,1fr); gap: 46px; padding: 0 5px 10px; } .nos-testimonial:nth-child(n) { transform: rotate(-1deg); min-height: 230px; } .nos-testimonial:nth-child(even) { transform: rotate(1deg); } .nos-testimonial blockquote { font-size: 13px; } }
@media (prefers-reduced-motion: reduce) { .nos-testimonial { transition: none; } }

/* Silueta inclinada: el cristal toma la forma irregular sin deformar el texto. */
.nos-testimonial { background: transparent; border-color: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.nos-testimonial::before {
  background: radial-gradient(ellipse at top left, var(--card-tint), transparent 65%), linear-gradient(135deg, rgba(255,255,255,.88), rgba(255,255,255,.5));
  border: 1px solid rgba(255,255,255,.95);
  box-shadow: 0 14px 40px rgba(24,43,79,.07), inset 0 1px 0 #fff;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transform: skewX(-5deg);
}
.nos-testimonial:nth-child(even)::before { transform: skewX(4deg); }
.nos-testimonial:hover { box-shadow: none; }
.nos-testimonial-footer { border-top: 0; padding-top: 0; margin-top: 15px; justify-content: flex-start; }
@media (max-width: 560px) {
  .nos-testimonial::before { transform: skewX(-3deg); }
  .nos-testimonial:nth-child(even)::before { transform: skewX(3deg); }
}

.nos-testimonial-avatar > svg { width: 29px; height: 29px; }
.nos-testimonial-google { color: var(--card-accent); font-size: 10px; font-weight: 600; text-decoration: none; margin-left: auto; }
.nos-testimonial-google:hover { text-decoration: underline; }
