/* =========================================
   ABOUT US - HERO (Versión Segura y Limpia)
========================================= */
.cp-about-hero {
  background: var(--cp-color-bg); /* #faf8f4 */
  padding-top: 104px;
  padding-bottom: 92px;
  overflow: hidden;
}

.cp-about-hero__grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr); /* Esto hace las dos columnas */
  gap: 76px;
  align-items: center;
}

.cp-about-hero__content {
  max-width: 600px;
}

.cp-about-hero__eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--cp-color-teal);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cp-about-hero__title {
  margin-bottom: 24px;
  color: var(--cp-color-ink);
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.cp-text-teal {
  color: var(--cp-color-teal);
}

.cp-about-hero__text {
  max-width: 58ch;
  margin-bottom: 0;
  color: var(--cp-color-text);
  font-size: 1.05rem;
  line-height: 1.84;
}

.cp-about-hero__actions {
  margin-top: 36px;
}

/* La Imagen Limpia */
.cp-about-hero__media {
  position: relative;
}

.cp-about-hero__image-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--cp-radius-lg); /* 30px */
  background: #fff;
  box-shadow: var(--cp-shadow-lg);
  /* Sombra más elegante */
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.08); 
}

.cp-about-hero__image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 4.2; /* Mantiene la proporción elegante */
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s ease;
}

/* Micro-zoom elegante al pasar el mouse */
.cp-about-hero__media:hover .cp-about-hero__image {
  transform: scale(1.03);
}

/* RESPONSIVE */
@media (max-width: 1000px) {
  .cp-about-hero__grid {
    grid-template-columns: 1fr; /* Pasa a 1 columna en tablet/móvil */
    gap: 48px;
  }
}

@media (max-width: 640px) {
  .cp-about-hero {
    padding-top: 76px;
    padding-bottom: 64px;
  }
  .cp-about-hero__title {
    font-size: clamp(2rem, 8vw, 2.6rem);
  }
  .cp-about-hero__image {
    aspect-ratio: 1 / 1.1; /* Más cuadrada en celular */
  }
}

/* ///// seccion 2   */

/* =========================================
   ABOUT US - MANIFIESTO (Diseño Caja Unificada)
========================================= */

.cp-about-manifesto {
  background: var(--cp-color-bg); /* Fondo crema del sitio */
  padding-top: 100px;
  padding-bottom: 100px;
  overflow: hidden;
}

/* =========================================
   ABOUT US - MANIFIESTO (Z-Pattern Seguro y Premium)
========================================= */

.cp-about-manifesto {
  /* Hacemos el corte visual de sección con un fondo blanco puro que contraste con el crema del Hero */
  background: #ffffff; 
  padding-top: 100px;
  padding-bottom: 100px;
  /* Volvemos a poner overflow hidden por seguridad, ya que no empujaremos nada hacia afuera */
  overflow: hidden; 
}

.cp-manifesto__grid {
  display: grid;
  gap: 80px;
  align-items: center;
}


.cp-manifesto__box {
  background: #fff;
  border: 1px solid rgba(38, 122, 125, 0.10);
  border-radius: 24px;
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.06); /* Sombra elegante, sin exagerar */
  overflow: hidden;
  display: grid;
  gap: 0;
}


@media (min-width: 992px) {
  
  .cp-manifesto__grid {
    /* La caja a la izquierda (1.1fr) y el texto a la derecha (0.9fr) */
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr); 
  }

  .cp-manifesto__box {
    order: 1; /* Forzamos la caja a la izquierda */
  }

  .cp-manifesto__intro {
    order: 2; /* Forzamos el texto a la derecha */
    padding-left: 20px; /* Le damos respiro respecto a la caja */
  }
}

/* --- RESPONSIVE MÓVIL --- */
@media (max-width: 991px) {
  .cp-manifesto__grid {
    grid-template-columns: 1fr; /* Una sola columna */
    gap: 48px;
  }
  
  .cp-manifesto__intro {
    order: 1; /* En celular, el título siempre debe ir primero */
  }
  
  .cp-manifesto__box {
    order: 2;
  }
  
  .cp-about-manifesto {
    padding-top: 70px;
    padding-bottom: 70px;
  }
}



.cp-manifesto__intro {
  max-width: 520px;
}

.cp-manifesto__eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--cp-color-gold); /* Usamos el dorado de tu paleta */
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cp-manifesto__title {
  margin-bottom: 18px;
  color: var(--cp-color-ink);
  font-size: clamp(2rem, 3.4vw, 3.1rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.cp-manifesto__text {
  max-width: 54ch;
  margin-bottom: 0;
  color: var(--cp-color-text);
  font-size: 1.05rem;
  line-height: 1.76;
}


.cp-manifesto__box {
  background: #fff;
  border: 1px solid rgba(38, 122, 125, 0.10);
  border-radius: 24px;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.05);
  overflow: hidden; /* Clave para los bordes interiores */
  display: grid;
  gap: 0;
}

.cp-manifesto__item {
  display: grid;
  grid-template-columns: 100px 1fr; /* Columna icono fija, columna texto fluida */
  gap: 0;
  align-items: stretch;
  background: #fff;
  border-bottom: 1px solid rgba(38, 122, 125, 0.08);
  transition: background-color var(--cp-transition-base);
}

.cp-manifesto__item:last-child {
  border-bottom: 0; /* Quitamos el borde inferior al último */
}

.cp-manifesto__item:hover {
  background: rgba(255, 255, 255, 0.9);
}

/* Área de los Iconos */
.cp-manifesto__item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid rgba(38, 122, 125, 0.08);
}

/* Modificadores de color para Icono y Fondo */
.cp-manifesto__item--orange .cp-manifesto__item-icon {
  color: var(--cp-color-orange);
  background: rgba(204, 83, 49, 0.04);
  border-right-color: rgba(204, 83, 49, 0.08);
}

.cp-manifesto__item--teal .cp-manifesto__item-icon {
  color: var(--cp-color-teal);
  background: rgba(38, 122, 125, 0.04);
  border-right-color: rgba(38, 122, 125, 0.08);
}

/* Área de Texto */
.cp-manifesto__item-body {
  position: relative;
  padding: 40px 40px;
}

/* La barrita superior premium (El toque maestro de tu Home) */
.cp-manifesto__item-body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 40px;
  width: 88px;
  height: 4px;
  border-bottom-left-radius: 999px;
  border-bottom-right-radius: 999px;
}

.cp-manifesto__item--orange .cp-manifesto__item-body::before {
  background: var(--cp-color-orange);
}

.cp-manifesto__item--teal .cp-manifesto__item-body::before {
  background: var(--cp-color-teal);
}

.cp-manifesto__item-body h3 {
  margin-bottom: 12px;
  color: var(--cp-color-ink);
  font-size: 1.35rem;
  line-height: 1.3;
}

.cp-manifesto__item-body p {
  margin: 0;
  color: var(--cp-color-muted);
  font-size: 1.02rem;
  line-height: 1.72;
}

/* --- RESPONSIVE --- */
@media (max-width: 1100px) {
  .cp-manifesto__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .cp-manifesto__intro {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .cp-about-manifesto {
    padding-top: 72px;
    padding-bottom: 76px;
  }
  .cp-manifesto__item {
    grid-template-columns: 76px 1fr; /* Reduce columna del icono */
  }
  .cp-manifesto__item-body {
    padding: 30px 24px;
  }
  .cp-manifesto__item-body::before {
    left: 24px;
    width: 60px;
  }
}


/* seccion 3 ----------------------------- */

/* --- IDENTIDAD INSTITUCIONAL --- */
.cp-identidad-institucional {
    overflow: hidden;
}

.cp-bg-crema { background-color: #FAF8F4; }
.cp-bg-white { background-color: #FFFFFF; }

.cp-identidad-block {
    padding: 100px 0;
}

.cp-identidad-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.cp-identidad-grid--reverse .cp-identidad__content { order: 2; }
.cp-identidad-grid--reverse .cp-identidad__media { order: 1; }

.cp-eyebrow {
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--cp-color-teal);
    display: block;
    margin-bottom: 15px;
}

.cp-identidad__content h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--cp-color-ink);
    margin-bottom: 25px;
    line-height: 1.1;
}

.cp-identidad__content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--cp-color-text);
}

.cp-image-wrapper {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.cp-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.cp-image-wrapper:hover img { transform: scale(1.05); }

/* --- VALORES GRID --- */
.cp-valores-section {
    padding: 120px 0;
}

.cp-valores__header {
    text-align: center;
    margin-bottom: 80px;
}

.cp-valores-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.cp-valor-item {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid #F0F0F0;
    transition: all 0.3s ease;
}

.cp-valor-item:hover {
    box-shadow: 0 15px 30px rgba(0,0,0,0.03);
    border-color: var(--cp-color-teal-light);
}

.cp-valor-icon {
    margin-bottom: 20px;
}

.cp-valor-item h4 {
    font-size: 1.25rem;
    color: var(--cp-color-ink);
    margin-bottom: 15px;
}

.cp-valor-item p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--cp-color-muted);
}

/* Responsive */
@media (max-width: 991px) {
    .cp-identidad-grid { grid-template-columns: 1fr; gap: 40px; }
    .cp-identidad-grid--reverse .cp-identidad__content,
    .cp-identidad-grid--reverse .cp-identidad__media { order: unset; }
    .cp-valores-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
    .cp-valores-grid { grid-template-columns: 1fr; }
    .cp-identidad-block { padding: 60px 0; }
}

/* seccion 4 ------------------*/

/* --- SECCIÓN EQUIPO FINAL (Con Carrusel Swiper) --- */
.cp-team-final {
  background-color: #fafafa;
  padding: 100px 0;
}

.cp-team-final__header {
  text-align: center;
  margin-bottom: 60px;
}

/* Foto Grupal */
.cp-team-final__hero {
  width: 100%;
  height: 600px;
  border-radius: 30px;
  overflow: hidden;
  margin-bottom: 60px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.cp-team-final__hero img {
  width: 100%;
  height: 100%; /* Ajustado a 100% para evitar comportamientos raros */
  object-fit: cover;
  object-position: center;
}

/* --- CONTENEDOR DEL CARRUSEL SWIPER --- */
.cp-team-swiper {
  width: 100%;
  padding-bottom: 60px; /* Espacio para los puntitos (paginación) */
}

/* Tarjetas (Ahora actúan como slides) */
.cp-staff-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 30px;
  text-align: center;
  border: 1px solid #f0f0f0;
  transition: all 0.3s ease;
  height: 100%; /* Obliga a que todas las tarjetas midan igual en el carrusel */
  display: flex;
  flex-direction: column;
  align-items: center; /* Centra la foto horizontalmente */
}

.cp-staff-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.06);
}

/* --- CONTENEDOR DE FOTO: CÍRCULO PERFECTO --- */
.cp-staff-card__img {
  width: 140px; /* Ancho y alto deben ser iguales para un círculo perfecto */
  height: 140px;
  border-radius: 50%; 
  margin: 0 auto 20px;
  overflow: hidden;
  border: 4px solid #fbfbfa;
  background-color: #f5f5f5; /* Color base mientras carga */
  flex-shrink: 0; /* Evita que el flexbox aplaste la foto */
}

/* --- LA FOTO: CERO ESPACIOS BLANCOS Y ENCUADRE A LA CARA --- */
.cp-staff-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Llena el círculo completo sin deformar */
  object-position: top center; /* CRUCIAL: Enfoca en la cabeza/rostro */
  display: block;
}

/* Información del profesional */
.cp-staff-card__info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-grow: 1; /* Empuja el contenido si hay tarjetas más altas que otras */
}

.cp-staff-card__info h4 {
  font-size: 1.25rem;
  color: var(--cp-color-ink);
  margin-bottom: 8px;
  font-weight: 700;
}

.cp-staff-card__tag {
  font-size: 0.85rem;
  color: var(--cp-color-teal);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --- CONTROLES DEL CARRUSEL --- */
.cp-team-swiper .swiper-pagination-bullet-active {
  background-color: var(--cp-color-teal); /* Usa la variable de tu tema */
}

/* Footer / Próximos (Sin cambios) */
.cp-team-final__footer {
  margin-top: 80px;
  text-align: center;
  padding: 40px;
  background: #fff;
  border-radius: 24px;
}

.cp-team-final__footer h4 {
  color: var(--cp-color-ink);
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.cp-team-final__tags {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  color: var(--cp-color-muted);
  font-weight: 600;
}

/* --- RESPONSIVE --- */
@media (max-width: 640px) {
  /* Eliminé el media query de grid porque ahora Swiper maneja las columnas en JS */
  .cp-team-final__hero { height: 300px; }
  .cp-team-swiper { padding-bottom: 40px; }
}

/* seccion 5 ---------------*/

/* --- CTA EDITORIAL --- */
.cp-cta-editorial {
    padding: 140px 0;
    background-color: #ffffff;
    border-top: 1px solid #f0f0f0;
}

.cp-cta-editorial__grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 100px;
    align-items: center;
}

.cp-cta-editorial__title {
    font-size: clamp(2.8rem, 5vw, 4rem);
    line-height: 1.05;
    color: var(--cp-color-ink);
    margin: 20px 0 30px;
    letter-spacing: -0.04em;
}

.cp-cta-editorial__content p {
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--cp-color-text);
    max-width: 50ch;
    margin-bottom: 40px;
}

.cp-cta-editorial__actions {
    display: flex;
    align-items: center;
    gap: 30px;
}

/* Botón Estilo Firma */
.cp-btn-main {
    background: var(--cp-color-teal);
    color: #fff;
    padding: 20px 40px;
    border-radius: 100px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(38, 122, 125, 0.2);
}

.cp-btn-main:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(38, 122, 125, 0.3);
}

.cp-link-wa {
    color: var(--cp-color-ink);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 2px solid var(--cp-color-orange);
    padding-bottom: 4px;
    transition: all 0.3s ease;
}

.cp-link-wa:hover {
    color: var(--cp-color-orange);
}

/* Imagen con Frame Editorial */
.cp-cta-editorial__image-frame {
    position: relative;
    padding-bottom: 120%; /* Proporción vertical elegante */
    border-radius: 40px;
    overflow: hidden;
    box-shadow: var(--cp-shadow-lg);
}

.cp-cta-editorial__image-frame img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive */
@media (max-width: 991px) {
    .cp-cta-editorial__grid { grid-template-columns: 1fr; gap: 60px; }
    .cp-cta-editorial { padding: 80px 0; }
    .cp-cta-editorial__image-frame { padding-bottom: 60%; }
}





/* Animación base: Deslizar hacia arriba */
.cp-reveal-soft {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: var(--cp-reveal-delay, 0ms);
}

/* Animación variante: Escala */
.cp-reveal-soft--scale {
    transform: scale(0.97) translateY(20px);
}

/* Estado activo (cuando entra en pantalla) */
.is-visible.cp-reveal-soft {
    opacity: 1;
    transform: translateY(0) scale(1) translateX(0);
}


/* =========================================================
   ABOUT PAGE — RESPONSIVE MASTER OVERRIDES
   Pegar al FINAL del CSS actual
========================================================= */

/* Seguridad global */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

.cp-about-hero,
.cp-about-manifesto,
.cp-identidad-institucional,
.cp-team-final,
.cp-cta-editorial {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

@supports not (overflow: clip) {
  .cp-about-hero,
  .cp-about-manifesto,
  .cp-identidad-institucional,
  .cp-team-final,
  .cp-cta-editorial {
    overflow-x: hidden;
  }
}

.cp-about-hero img,
.cp-about-manifesto img,
.cp-identidad-institucional img,
.cp-team-final img,
.cp-cta-editorial img {
  max-width: 100%;
}

/* Contenedor seguro, por si cp-container no está definido globalmente */
.cp-container {
  width: min(1320px, calc(100% - 72px));
  margin-inline: auto;
}

/* Tipografía segura */
.cp-about-hero__title,
.cp-manifesto__title,
.cp-identidad__content h2,
.cp-valores__header h2,
.cp-cta-editorial__title,
.cp-team-final__header h2,
.cp-staff-card__info h4 {
  text-wrap: balance;
  overflow-wrap: break-word;
}

.cp-about-hero__text,
.cp-manifesto__text,
.cp-identidad__content p,
.cp-valor-item p,
.cp-cta-editorial__content p,
.cp-staff-card__tag {
  overflow-wrap: break-word;
}

/* Botones seguros */
.cp-about-hero .cp-btn-main,
.cp-cta-editorial .cp-btn-main,
.cp-link-wa {
  max-width: 100%;
  text-align: center;
  white-space: normal;
}

/* =========================================================
   DESKTOP MEDIANO <= 1200px
========================================================= */

@media (max-width: 1200px) {
  .cp-container {
    width: min(1180px, calc(100% - 56px));
  }

  .cp-about-hero,
  .cp-about-manifesto,
  .cp-identidad-block,
  .cp-valores-section,
  .cp-team-final,
  .cp-cta-editorial {
    padding-top: 88px;
    padding-bottom: 88px;
  }

  .cp-about-hero__grid {
    gap: 60px;
  }

  .cp-manifesto__grid {
    gap: 60px;
  }

  .cp-identidad-grid {
    gap: 60px;
  }

  .cp-valores-grid {
    gap: 28px;
  }

  .cp-cta-editorial__grid {
    gap: 72px;
  }

  .cp-team-final__hero {
    height: clamp(420px, 46vw, 560px);
  }
}

/* =========================================================
   TABLET <= 1024px
========================================================= */

@media (max-width: 1024px) {
  .cp-container {
    width: min(960px, calc(100% - 48px));
  }

  .cp-about-hero__grid,
  .cp-manifesto__grid,
  .cp-identidad-grid,
  .cp-cta-editorial__grid {
    grid-template-columns: 1fr;
  }

  .cp-about-hero__content,
  .cp-manifesto__intro,
  .cp-identidad__content,
  .cp-cta-editorial__content {
    max-width: 760px;
  }

  .cp-about-hero__media,
  .cp-identidad__media,
  .cp-cta-editorial__media {
    max-width: 720px;
  }

  .cp-about-hero__grid,
  .cp-manifesto__grid,
  .cp-identidad-grid,
  .cp-cta-editorial__grid {
    gap: 44px;
  }

  .cp-identidad-grid--reverse .cp-identidad__content,
  .cp-identidad-grid--reverse .cp-identidad__media {
    order: unset;
  }

  .cp-valores-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cp-valores__header {
    margin-bottom: 56px;
  }

  .cp-team-final__header {
    margin-bottom: 44px;
  }

  .cp-team-final__hero {
    height: clamp(380px, 52vw, 500px);
    border-radius: 26px;
    margin-bottom: 48px;
  }

  .cp-cta-editorial__image-frame {
    max-width: 680px;
    padding-bottom: 68%;
    border-radius: 32px;
  }
}

/* =========================================================
   TABLET VERTICAL / MÓVIL GRANDE <= 900px
========================================================= */

@media (max-width: 900px) {
  .cp-about-hero,
  .cp-about-manifesto,
  .cp-identidad-block,
  .cp-valores-section,
  .cp-team-final,
  .cp-cta-editorial {
    padding-top: 76px;
    padding-bottom: 76px;
  }

  .cp-about-hero__title {
    font-size: clamp(2.15rem, 6vw, 3.2rem);
  }

  .cp-manifesto__title,
  .cp-identidad__content h2,
  .cp-valores__header h2 {
    font-size: clamp(2rem, 5.5vw, 2.8rem);
  }

  .cp-cta-editorial__title {
    font-size: clamp(2.25rem, 6vw, 3.3rem);
  }

  .cp-manifesto__box {
    border-radius: 22px;
  }

  .cp-manifesto__item {
    grid-template-columns: 88px minmax(0, 1fr);
  }

  .cp-manifesto__item-body {
    padding: 34px 32px;
  }

  .cp-manifesto__item-body::before {
    left: 32px;
    width: 76px;
  }

  .cp-identidad__content p,
  .cp-manifesto__text,
  .cp-about-hero__text {
    font-size: 1rem;
    line-height: 1.72;
  }

  .cp-valor-item {
    padding: 32px;
  }

  .cp-team-final__footer {
    margin-top: 56px;
    padding: 34px 28px;
  }

  .cp-cta-editorial__actions {
    gap: 20px;
  }
}

/* =========================================================
   MÓVIL / TABLET PEQUEÑA <= 768px
========================================================= */

@media (max-width: 768px) {
  .cp-container {
    width: min(720px, calc(100% - 40px));
  }

  .cp-about-hero__image-wrap,
  .cp-image-wrapper,
  .cp-team-final__hero,
  .cp-cta-editorial__image-frame {
    border-radius: 24px;
  }

  .cp-about-hero__image {
    aspect-ratio: 4 / 3.7;
  }

  .cp-image-wrapper img {
    aspect-ratio: 4 / 3.2;
    object-fit: cover;
  }

  .cp-team-final__hero {
    height: clamp(320px, 58vw, 430px);
  }

  .cp-team-final__hero img {
    object-position: center center;
  }

  .cp-valores-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .cp-valor-item {
    padding: 30px 28px;
  }

  .cp-staff-card {
    padding: 28px 22px;
  }

  .cp-staff-card__img {
    width: 128px;
    height: 128px;
  }

  .cp-cta-editorial__actions {
    flex-wrap: wrap;
  }

  .cp-cta-editorial__image-frame {
    padding-bottom: 78%;
  }

  /* En pantallas táctiles se eliminan micro-zooms que causan saltos */
  .cp-about-hero__media:hover .cp-about-hero__image,
  .cp-image-wrapper:hover img,
  .cp-staff-card:hover,
  .cp-btn-main:hover {
    transform: none;
  }
}

/* =========================================================
   MÓVIL ESTÁNDAR <= 640px
========================================================= */

@media (max-width: 640px) {
  .cp-container {
    width: min(100%, calc(100% - 28px));
  }

  .cp-about-hero,
  .cp-about-manifesto,
  .cp-identidad-block,
  .cp-valores-section,
  .cp-team-final,
  .cp-cta-editorial {
    padding-top: 64px;
    padding-bottom: 68px;
  }

  .cp-about-hero__grid,
  .cp-manifesto__grid,
  .cp-identidad-grid,
  .cp-cta-editorial__grid {
    gap: 32px;
  }

  .cp-about-hero__eyebrow,
  .cp-manifesto__eyebrow,
  .cp-eyebrow {
    font-size: 0.74rem;
    line-height: 1.35;
  }

  .cp-about-hero__title,
  .cp-manifesto__title,
  .cp-identidad__content h2,
  .cp-valores__header h2,
  .cp-team-final__header h2 {
    font-size: clamp(1.85rem, 8.5vw, 2.55rem);
    line-height: 1.08;
  }

  .cp-cta-editorial__title {
    font-size: clamp(2rem, 9vw, 2.75rem);
    line-height: 1.06;
    margin: 16px 0 24px;
  }

  .cp-about-hero__text,
  .cp-manifesto__text,
  .cp-identidad__content p,
  .cp-valor-item p,
  .cp-cta-editorial__content p {
    font-size: 0.96rem;
    line-height: 1.68;
  }

  .cp-about-hero__actions {
    margin-top: 28px;
  }

  .cp-about-hero .cp-btn-main,
  .cp-cta-editorial .cp-btn-main {
    width: 100%;
    min-height: 52px;
    padding: 16px 22px;
    border-radius: 16px;
    font-size: 0.96rem;
  }

  .cp-about-hero__image {
    aspect-ratio: 1 / 1.02;
  }

  .cp-manifesto__item {
    grid-template-columns: 68px minmax(0, 1fr);
  }

  .cp-manifesto__item-icon svg {
    width: 28px;
    height: 28px;
  }

  .cp-manifesto__item-body {
    padding: 28px 22px 24px;
  }

  .cp-manifesto__item-body::before {
    left: 22px;
    width: 62px;
  }

  .cp-manifesto__item-body h3 {
    font-size: 1.12rem;
    line-height: 1.28;
  }

  .cp-manifesto__item-body p {
    font-size: 0.94rem;
    line-height: 1.62;
  }

  .cp-identidad__content h2 {
    margin-bottom: 18px;
  }

  .cp-image-wrapper img {
    aspect-ratio: 1 / 0.9;
  }

  .cp-valores__header {
    margin-bottom: 40px;
  }

  .cp-valor-item {
    padding: 26px 22px;
    border-radius: 18px;
  }

  .cp-valor-icon {
    margin-bottom: 16px;
  }

  .cp-valor-item h4 {
    font-size: 1.12rem;
  }

  .cp-team-final__header {
    margin-bottom: 36px;
  }

  .cp-team-final__hero {
    height: clamp(260px, 64vw, 340px);
    border-radius: 22px;
    margin-bottom: 36px;
  }

  .cp-team-swiper {
    padding-bottom: 42px;
  }

  .cp-staff-card {
    border-radius: 20px;
    padding: 24px 18px;
  }

  .cp-staff-card__img {
    width: 116px;
    height: 116px;
    margin-bottom: 18px;
  }

  .cp-staff-card__info h4 {
    font-size: 1.08rem;
  }

  .cp-staff-card__tag {
    font-size: 0.76rem;
    line-height: 1.45;
  }

  .cp-team-final__footer {
    margin-top: 44px;
    padding: 28px 20px;
    border-radius: 20px;
  }

  .cp-team-final__tags {
    gap: 12px;
    font-size: 0.94rem;
  }

  .cp-cta-editorial__content p {
    margin-bottom: 30px;
  }

  .cp-cta-editorial__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }

  .cp-link-wa {
    display: inline-flex;
    justify-content: center;
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(204, 83, 49, 0.24);
    border-radius: 14px;
    border-bottom-width: 1px;
  }

  .cp-cta-editorial__image-frame {
    padding-bottom: 100%;
    border-radius: 24px;
  }
}

/* =========================================================
   MÓVIL PEQUEÑO <= 480px
========================================================= */

@media (max-width: 480px) {
  .cp-container {
    width: min(100%, calc(100% - 24px));
  }

  .cp-about-hero,
  .cp-about-manifesto,
  .cp-identidad-block,
  .cp-valores-section,
  .cp-team-final,
  .cp-cta-editorial {
    padding-top: 56px;
    padding-bottom: 60px;
  }

  .cp-about-hero__title,
  .cp-manifesto__title,
  .cp-identidad__content h2,
  .cp-valores__header h2,
  .cp-team-final__header h2 {
    font-size: clamp(1.7rem, 9vw, 2.3rem);
  }

  .cp-cta-editorial__title {
    font-size: clamp(1.85rem, 9.5vw, 2.45rem);
  }

  .cp-manifesto__item {
    grid-template-columns: 1fr;
  }

  .cp-manifesto__item-icon {
    justify-content: flex-start;
    padding: 22px 22px 0;
    border-right: 0;
    background: transparent !important;
  }

  .cp-manifesto__item-body {
    padding: 18px 22px 24px;
  }

  .cp-manifesto__item-body::before {
    left: 22px;
    width: 56px;
  }

  .cp-about-hero__image,
  .cp-image-wrapper img,
  .cp-cta-editorial__image-frame {
    aspect-ratio: 1 / 1;
  }

  .cp-team-final__hero {
    height: clamp(230px, 68vw, 300px);
  }

  .cp-staff-card__img {
    width: 104px;
    height: 104px;
  }

  .cp-team-final__tags {
    flex-direction: column;
    align-items: center;
  }
}

/* =========================================================
   MÓVIL MUY ANGOSTO <= 380px
========================================================= */

@media (max-width: 380px) {
  .cp-container {
    width: min(100%, calc(100% - 20px));
  }

  .cp-about-hero__title,
  .cp-manifesto__title,
  .cp-identidad__content h2,
  .cp-valores__header h2,
  .cp-cta-editorial__title,
  .cp-team-final__header h2 {
    font-size: clamp(1.58rem, 9.8vw, 2.12rem);
  }

  .cp-about-hero__text,
  .cp-manifesto__text,
  .cp-identidad__content p,
  .cp-valor-item p,
  .cp-cta-editorial__content p {
    font-size: 0.92rem;
  }

  .cp-valor-item {
    padding: 24px 18px;
  }

  .cp-team-final__hero {
    height: 220px;
  }

  .cp-staff-card {
    padding: 22px 16px;
  }

  .cp-staff-card__img {
    width: 96px;
    height: 96px;
  }
}

/* =========================================================
   SWIPER — fallback visual responsive
   La cantidad real de slides visibles se controla mejor en JS.
========================================================= */

.cp-team-swiper {
  max-width: 100%;
  overflow: hidden;
}

.cp-team-swiper .swiper-wrapper {
  align-items: stretch;
}

.cp-team-swiper .swiper-slide {
  height: auto;
  display: flex;
}

.cp-team-swiper .swiper-slide > .cp-staff-card {
  width: 100%;
}

@media (max-width: 640px) {
  .cp-team-swiper .swiper-button-next,
  .cp-team-swiper .swiper-button-prev {
    display: none;
  }
}

/* =========================================================
   Táctil / accesibilidad / rendimiento
========================================================= */

@media (hover: none) and (pointer: coarse) {
  .cp-about-hero__media:hover .cp-about-hero__image,
  .cp-image-wrapper:hover img,
  .cp-staff-card:hover,
  .cp-about-hero .cp-btn-main:hover,
  .cp-cta-editorial .cp-btn-main:hover {
    transform: none;
  }

  .cp-about-hero__image,
  .cp-image-wrapper img,
  .cp-staff-card,
  .cp-about-hero .cp-btn-main,
  .cp-cta-editorial .cp-btn-main {
    transition-duration: 0.25s;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cp-reveal-soft,
  .cp-reveal-soft--scale,
  .cp-about-hero__image,
  .cp-image-wrapper img,
  .cp-staff-card,
  .cp-about-hero .cp-btn-main,
  .cp-cta-editorial .cp-btn-main {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }

  .cp-reveal-soft,
  .is-visible.cp-reveal-soft {
    opacity: 1 !important;
    transform: none !important;
  }
}