/* Evita desbordes horizontales globales */
html, body {
  width: 100%;
  overflow-x: hidden;
  margin: 0;
}

html {
  scroll-behavior: auto;
  /* sin smooth global */
  overflow-anchor: none;
  /* sin micro-ajustes del navegador */
}

.hero-full {
  overflow-anchor: none;
}

/* por si acaso en el hero */


/* ===== Sección full screen (sin cambios funcionales) ===== */
.hero-full {
  inline-size: 100vw;
  block-size: 100dvh;
  block-size: 100svh;
  block-size: 100vh;
  display: grid;
  place-items: center;
  background: #000;
  position: relative;
  isolation: isolate;

  /* Padding simétrico para barras/notch (evita que “parezca” más arriba o abajo) */
  padding:
    max(2vh, env(safe-area-inset-top)) max(2vw, env(safe-area-inset-right)) max(2vh, env(safe-area-inset-bottom)) max(2vw, env(safe-area-inset-left));
}

/* ===== Logo centrado y responsivo ===== */
.hero-logo {
  /* Mínimo 160px, crece con 28vw, y tope 420px en desktop */
  width: clamp(160px, 28vw, 420px);

  /* Además, no permitir que exceda el 60% del ancho ni el 40% del alto del viewport */
  max-width: 60vw;
  max-height: 40vh;

  height: auto;
  /* respeta proporciones */
  object-fit: contain;
  /* por si usas SVG/PNG con área transparente */
  display: block;
  /* quita baseline gap */
  margin: 0 auto;
  /* por si algún reseteo cambia el grid */
  filter: drop-shadow(0 8px 28px rgba(255, 255, 255, .08));
  user-select: none;
  pointer-events: none;
  opacity: 0;
  /* NUEVO */
  transform: translateY(8px) scale(0.985);
  /* NUEVO */
  transition:
    opacity 1.9s ease 1s,
    /* <-- delay de 1s */
    transform 1.9s ease 1s;
  /* <-- delay de 1s */
}

.hero-logo.is-visible {
  opacity: 1;
  transform: none;
}


/* Ajustes finos en pantallas muy pequeñas */
@media (max-width: 420px) {
  .hero-logo {
    width: clamp(140px, 45vw, 320px);
    max-height: 36vh;
  }
}




/* ===== Sección a pantalla completa ===== */
.screen-hero {
  width: 100%;
  height: 100dvh;
  /* alto real en móviles modernos */
  height: 100svh;
  /* small viewport height (fallback) */
  height: 100vh;
  /* fallback general */
  display: grid;
  align-items: center;
  /* centra vertical */
  justify-items: start;
  /* contenido a la izquierda */
  overflow: hidden;
  position: relative;
  isolation: isolate;
  /* padding seguro considerando notch/barras */
  padding:
    max(2vh, env(safe-area-inset-top)) max(2vw, env(safe-area-inset-right)) max(2vh, env(safe-area-inset-bottom)) max(2vw, env(safe-area-inset-left));
}

/* Fondo cover alineado a la derecha */
.portada-hero {
  background:
    var(--portada-bg) right center / cover no-repeat #000;
  background-attachment: fixed;
}

/* Solución para iPhone/iPad */
@media (hover: none) and (pointer: coarse) {
    .portada-hero {
        background-attachment: scroll !important;
        background-size: cover; /* Asegura que cubra el área */
        background-position: center; /* Centra la imagen */
    }
}

/* Overlay suave para dar contraste al texto (opcional pero recomendado) */
.portada-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .25) 35%, rgba(0, 0, 0, 0) 65%);
  z-index: 0;
}

/* Contenido de texto a la izquierda */
.portada-content {
  z-index: 1;
  /* sobre el overlay */
  max-width: min(920px, 102vw);
  margin-left: clamp(16px, 6vw, 80px);
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .7);
}

/* Tipografía responsiva */
.portada-content h1 {
  font-size: clamp(28px, 5vw, 56px);
  line-height: 1.1;
  font-weight: 800;
  margin: 0 0 .6rem 0;
}

.portada-content p {
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.6;
  margin: 0 0 .9rem 0;
  opacity: .95;
}

.portada-content .tagline {
  font-weight: 700;
  font-size: clamp(18px, 1.6vw, 22px);
}

.portada-content .note {
  font-size: clamp(14px, 1.1vw, 18px);
  opacity: .9;
}

/* Ajuste en pantallas muy pequeñas: menos margen y overlay más fuerte */
@media (max-width: 480px) {
  /* .portada-hero::before {
    background: linear-gradient(90deg, rgba(0, 0, 0, .65) 0%, rgba(0, 0, 0, .35) 45%, rgba(0, 0, 0, 0) 70%);
  } */


  .portada-content {
    margin-left: 5vw;
  }
}


/* ===== Versión responsive (swap de imagen y ajustes de layout) ===== */
@media (max-width: 768px) {
  .portada-hero {
    /* Cambiamos a la imagen recortada que empuja más a la derecha */
    background-image: var(--portada-bg-mobile);
    background-position: right center;
    /* mantenemos foco a la derecha */
  }



  /* Copia con más “aire” a la izquierda y ancho contenido */
  .portada-content {
    margin-left: clamp(12px, 5vw, 28px);
    max-width: min(92vw, 560px);
  }

  /* Tipografías más controladas en móvil */
  .portada-content h1 {
    font-size: clamp(24px, 7vw, 34px);
    line-height: 1.15;
    letter-spacing: 0.2px;
  }

  .portada-content p {
    font-size: clamp(15px, 3.7vw, 17px);
    line-height: 1.55;
  }

  .portada-content .tagline {
    font-size: clamp(16px, 4vw, 18px);
  }

  .portada-content .note {
    font-size: clamp(13px, 3.4vw, 16px);
    opacity: .95;
  }
}

/* Extra pequeño (opcional): apretar un poco más si hace falta */
@media (max-width: 724px) {
  .portada-content {
    padding-right: 20vw !important;
    margin-left: 8vw;
    max-width: 92vw;
  }


}




/* Botón rosa redondeado */
.cta-btn {
  display: inline-block;
  background: var(--pink, #ff2e8a);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  padding: .9rem 1.4rem;
  border-radius: 9999px;
  /* súper redondeado */
  box-shadow: 0 8px 20px rgba(255, 46, 138, .25);
  transition: transform .15s ease, box-shadow .15s ease, background-color .2s ease;
  margin-top: .75rem;
  /* separarlo del párrafo anterior */
}

.cta-btn:hover {
  background: #d12271;
  box-shadow: 0 10px 26px rgba(255, 46, 138, .32);
  transform: translateY(-1px);
}

.cta-btn:active {
  transform: translateY(0);
  box-shadow: 0 6px 14px rgba(255, 46, 138, .25);
}

.cta-btn:focus-visible {
  outline: 3px solid #ffd2e6;
  outline-offset: 2px;
}




/* MOSAICOS TESTIMONIO */

/* ----- Sección ----- */
.ps-section {
  background: #0f0f12;
  /* cámbialo si quieres otra banda de color */
  color: #fff;
  padding: clamp(32px, 6vw, 80px) clamp(16px, 6vw, 80px);
}

.ps-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* ----- Destacado (grid responsive) ----- */
.ps-featured {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(16px, 4vw, 48px);
  align-items: center;
  margin-bottom: clamp(28px, 6vw, 56px);
}

@media (max-width: 900px) {
  .ps-featured {
    grid-template-columns: 1fr;
  }
}

/* Before/After card */
.ba-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
  /* ajusta a 3/4 si prefieres vertical */
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
  background: #111;
}

.ba-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.01);
}

.ba-badge {
  position: absolute;
  left: 14px;
  top: 12px;
  z-index: 2;
  font-size: .85rem;
  background: rgba(0, 0, 0, .55);
  color: #fff;
  padding: .35rem .6rem;
  border-radius: 999px;
  letter-spacing: .3px;
}

/* Flash */
.ba-flash {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: radial-gradient(120% 120% at 50% 50%, rgba(255, 255, 255, .95) 0%, rgba(255, 255, 255, .65) 35%, rgba(255, 255, 255, 0) 70%);
  opacity: 0;
}

.ba-flash.do-flash {
  animation: baFlash .28s ease-out;
}

@keyframes baFlash {
  0% {
    opacity: 0;
  }

  35% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

/* Texto y botones */
.ps-copy h3 {
  font-size: clamp(22px, 3.2vw, 36px);
  line-height: 1.15;
  margin: 0 0 .75rem 0;
}

.ps-meta {
  color: rgba(255, 255, 255, .92);
  margin: 0 0 1rem 0;
}

.ps-cta {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
}

/* Botones */
.btn-pink, .btn-outline, .btn-ghost {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  border-radius: 9999px;
  padding: .85rem 1.25rem;
  transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
}

.btn-pink {
  background: #ff2e8a;
  color: #fff;
  box-shadow: 0 10px 24px rgba(255, 46, 138, .25);
}

.btn-pink:hover {
  background: #d12271;
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(255, 46, 138, .32);
}

.btn-outline {
  color: #fff;
  border: 2px solid #fff;
  background: transparent;
}

.btn-outline:hover {
  background: #fff;
  color: #111;
  transform: translateY(-1px);
}

.btn-ghost {
  color: #fff;
  border: 2px solid rgba(255, 255, 255, .25);
  background: transparent;
}

.btn-ghost:hover {
  border-color: #fff;
  transform: translateY(-1px);
}

/* ----- Mosaico ----- */
.ps-mosaic {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

@media (max-width: 1100px) {
  .ps-mosaic {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 700px) {
  .ps-mosaic {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 460px) {
  .ps-mosaic {
    grid-template-columns: repeat(2, 1fr);
  }
}

.ps-tile {
  position: relative;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: transparent;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 3/4;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .35);
}

.ps-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.01);
}

.ps-tag {
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 2;
  font-size: .8rem;
  background: rgba(0, 0, 0, .55);
  color: #fff;
  padding: .25rem .5rem;
  border-radius: 999px;
}

.ps-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(100% 100% at 50% 50%, rgba(255, 255, 255, .9) 0%, rgba(255, 255, 255, .55) 35%, rgba(255, 255, 255, 0) 70%);
}

.ps-tile.flash::after {
  animation: baFlash .24s ease-out;
}


























/* ===== Comunidad / Métrica 1000 ===== */
.comunidad-section {
  position: relative;
  padding: clamp(48px, 8vw, 96px) 0;
  color: #0e0e11;
  /* Fondo: paisaje verde (usa tu imagen) con overlay suave */
  background: linear-gradient(90deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .25) 35%, rgba(0, 0, 0, 0) 65%),
    var(--community-bg) center / cover no-repeat;
}

.comunidad-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(16px, 5vw, 48px);
}

.comunidad-head {
  text-align: center;
  margin-bottom: clamp(28px, 6vw, 56px);
}

.comunidad-head h2 {
  font-size: clamp(22px, 3.2vw, 40px);
  line-height: 1.2;
  letter-spacing: .3px;
  color: #fff;
  margin: 0 0 .6rem 0;
}

.comunidad-head .lead {
  max-width: 860px;
  margin: 0 auto;
  color: #fff;
  font-size: clamp(16px, 1.7vw, 18px);
}

.counter {
  display: inline-block;
  padding: 0 .25em;
  color: #ff6e8a;
  /* rosa marca */
  font-weight: 800;
  text-shadow: 0 1px 0 rgba(0, 0, 0, .5);
}

/* Tarjetas de centros */
.comunidad-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2.5vw, 24px);
}

@media (max-width: 900px) {
  .comunidad-cards {
    grid-template-columns: 1fr;
  }
}

.com-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .12);
  padding: clamp(16px, 2.4vw, 24px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  overflow: hidden;
}

/* Badge superior */
.com-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: .18rem .8rem;
  border-radius: 999px;
  background: rgba(255, 46, 138, .95);
  color: #fff;
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 700;
  z-index: 2;
}

/* Media: foto + icono */
.com-media {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: .3rem;
}

.com-photo {
  width: 100%;
  height: 130px;
  object-fit: cover;
  display: block;
  filter: saturate(1.05);
}

.com-icon {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(255, 46, 138, .4));
}

/* Titular y texto corto */
.com-title {
  font-size: 1.05rem;
  margin: 0;
  color: #101014;
  font-weight: 800;
}

.com-highlight {
  margin: 4px 0 0;
  font-size: .92rem;
  color: #3b3e46;
}

/* Lista corta dentro de la tarjeta */
.com-meta {
  list-style: none;
  padding: 0;
  margin: 6px 0 0;
  font-size: .86rem;
  color: #4a4d55;
}

.com-meta li+li {
  margin-top: 2px;
}

/* Dirección */
.com-address {
  margin: 8px 0 0;
  color: #3b3e46;
  font-size: .88rem;
}

/* Botones */
.com-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.com-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .55rem 1.1rem;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.com-btn-primary {
  background: linear-gradient(135deg, #ff2e8a, #ff4fb1);
  color: #fff;
  box-shadow: 0 12px 28px rgba(255, 46, 138, .45);
  transition: transform .18s ease-out, box-shadow .18s ease-out, filter .18s ease-out;
}

.com-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(255, 46, 138, .55);
  filter: brightness(1.03);
}

.com-btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 8px 16px rgba(0, 0, 0, .4);
}

.com-btn-secondary {
  background: #fff;
  color: #22242a;
  border: 1px solid rgba(0, 0, 0, .08);
}

/* ===== Modales ===== */

.com-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.com-modal.is-open {
  display: flex;
}

.com-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .55);
}

.com-modal-dialog {
  position: relative;
  z-index: 1;
  max-width: 520px;
  width: 90%;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .45);
  padding: 20px 22px 22px;
  color: #202228;
}

.com-modal-dialog h3 {
  margin-top: 0;
  margin-bottom: .5rem;
}

.com-modal-dialog p {
  margin-top: 0;
  margin-bottom: .6rem;
}

.com-modal-list {
  margin: 0;
  padding-left: 1.1rem;
  font-size: .9rem;
  color: #3a3d44;
}

.com-modal-list li+li {
  margin-top: .25rem;
}

.com-modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: none;
  background: transparent;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  color: #777;
}




















/* ==== SECCIÓN ¿POR QUÉ ZANDY? ==== */

.pqz-section {
  position: relative;
  padding: clamp(72px, 10vw, 104px) 0;
  background-color: #eee;
  color: #f7f7fb;
  overflow: hidden;
  /* para que el overlay no se salga */
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Overlay general para dar contraste a la izquierda */
.pqz-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  /* background: linear-gradient(90deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .25) 35%, rgba(0, 0, 0, 0) 65%); */
  pointer-events: none;
}

/* Todo lo que esté dentro va por encima del overlay */
.pqz-section>* {
  position: relative;
  z-index: 1;
  width: 100%;
}

/* ====== FOTO ZANDY SIEMPRE ARRIBA ====== */

.pqz-photo-card {
  display: flex;
  justify-content: center;
  margin-bottom: clamp(32px, 5vw, 48px);
}

.pqz-photo-inner {
  position: relative;
  max-width: 420px;
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

.pqz-photo {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  transform: scale(1.02);
}

/* Si quieres un ligero degradado sobre la foto */
.pqz-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(0, 0, 0, 0.15) 0%,
      rgba(0, 0, 0, 0.55) 100%);
  pointer-events: none;
}

.pqz-photo-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(255, 46, 138, 0.95);
  color: #fff;
  padding: 0.28rem 0.8rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
}

.pqz-photo-text {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  color: #f7f7fb;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* ====== CONTENIDO TEXTO + BENEFICIOS ====== */

.pqz-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(16px, 5vw, 48px);
}

.pqz-pretitle {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  color: #ff8ac3;
  display: block;
  margin-bottom: 0.5rem;
}

.pqz-title {
  color: #222 !important;
  font-size: clamp(26px, 3.1vw, 36px);
  line-height: 1.2;
  margin: 0 0 0.9rem 0;
}

.pqz-description {
  color: #222;
  font-size: 1rem;
  line-height: 1.6;
  max-width: 720px;
  margin: 0 0 1.75rem 0;
}

/* GRID de beneficios */

.pqz-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.pqz-box {
  color: #222 !important;
  /* background: linear-gradient(145deg,
      rgba(255, 255, 255, 0.06),
      rgba(0, 0, 0, 0.5)); */
  border-radius: 16px;
  padding: 1rem 1.1rem;
  /* box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.06); */
}

.pqz-box h3 {
  font-size: 0.98rem;
  margin: 0 0 0.35rem 0;
  color: #222 !important;
}

.pqz-box p {
  margin: 0;
  font-size: 0.9rem;
  color: #222 !important;
  line-height: 1.5;
}

/* BOTÓN PRINCIPAL */

.pqz-main-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.5rem;
  background: linear-gradient(135deg, #ff2e8a, #ff4fb1);
  color: #fff;
  text-decoration: none;
  padding: 0.9rem 2.2rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  box-shadow:
    0 14px 35px rgba(255, 46, 138, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.06);
  transition:
    transform 0.18s ease-out,
    box-shadow 0.18s ease-out,
    filter 0.18s ease-out;
}

.pqz-main-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 18px 45px rgba(255, 46, 138, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.1);
  filter: brightness(1.03);
}

.pqz-main-btn:active {
  transform: translateY(0);
  box-shadow:
    0 8px 18px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.08);
}

/* ====== RESPONSIVE ====== */

@media (max-width: 960px) {
  .pqz-benefits {
    grid-template-columns: 1fr;
  }

  .pqz-photo-inner {
    max-width: 360px;
  }
}








/* ===== Programas / Servicios ===== */

.programas-section {
  position: relative;
  padding: clamp(56px, 9vw, 96px) 0;
  background: radial-gradient(circle at top left, rgba(255, 46, 138, .18), transparent 55%),
    #050508;
  color: #f7f7fb;
}

.programas-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(16px, 5vw, 48px);
}

.programas-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto clamp(32px, 6vw, 52px);
}

.programas-kicker {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .8rem;
  color: #ff8ac3;
  margin-bottom: .4rem;
}

.programas-head h2 {
  font-size: clamp(24px, 3vw, 34px);
  margin: 0 0 .7rem 0;
}

.programas-head p {
  margin: 0;
  color: #d7d7e5;
  font-size: clamp(15px, 1.7vw, 17px);
  line-height: 1.6;
}

/* Grid */

.programas-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 24px);
}

@media (max-width: 980px) {
  .programas-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .programas-grid {
    grid-template-columns: 1fr;
  }
}

/* Cards */

.prog-card {
  position: relative;
  background: radial-gradient(circle at top left, rgba(255, 255, 255, .12), rgba(10, 10, 16, .96));
  border-radius: 24px;
  padding: 18px 18px 22px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, .7);
  border: 1px solid rgba(255, 255, 255, .05);
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}

.prog-card:hover {
  transform: translateY(-3px);
  transition: transform .18s ease-out, box-shadow .18s ease-out;
  box-shadow: 0 26px 60px rgba(0, 0, 0, .85);
}

/* Badge y tag */

.prog-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: .25rem .75rem;
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  background: rgba(0, 0, 0, .7);
  border: 1px solid rgba(255, 255, 255, .16);
}

.prog-badge-online {
  color: #ff9ad3;
}

.prog-badge-presencial {
  color: #9bf2ff;
}

.prog-badge-nutri {
  color: #b8ff9b;
}

.prog-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: .25rem .6rem;
  border-radius: 999px;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  background: linear-gradient(135deg, #ff2e8a, #ff4fb1);
  color: #fff;
  box-shadow: 0 12px 30px rgba(255, 46, 138, .55);
}

/* Media */

.prog-media {
  margin-top: 30px;
  /* deja espacio para el badge */
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: rgba(255, 255, 255, .08);
}

.prog-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.03);
}

/* Texto */

.prog-title {
  font-size: 1.1rem;
  margin: 10px 0 4px;
}

.prog-subtitle {
  margin: 0 0 6px;
  font-size: .95rem;
  color: #e3e3f0;
}

.prog-list {
  list-style: none;
  padding: 0;
  margin: 0 0 8px;
  font-size: .9rem;
  color: #d0d1e0;
}

.prog-list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 4px;
}

.prog-list li::before {
  content: "•";
  position: absolute;
  left: 4px;
  top: 0;
  color: #ff8ac3;
}

.prog-result {
  font-size: .9rem;
  color: #f7f7fb;
  margin-bottom: 10px;
}

/* Botón */

.prog-btn {
  align-self: flex-start;
  background: linear-gradient(135deg, #ff2e8a, #ff4fb1);
  color: #fff;
  text-decoration: none;
  padding: .75rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: .92rem;
  box-shadow: 0 14px 35px rgba(255, 46, 138, .45);
  border: none;
  cursor: pointer;
  transition: transform .16s ease-out, box-shadow .16s ease-out, filter .16s ease-out;
}

.prog-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 48px rgba(255, 46, 138, .65);
  filter: brightness(1.03);
}

.prog-btn:active {
  transform: translateY(0);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .8);
}

.ps-tile.is-active {
  outline: 2px solid rgba(255, 46, 138, .95);
  box-shadow: 0 18px 40px rgba(255, 46, 138, .25);
  transform: translateY(-2px);
}


/* ==== Video IG dentro de PQZ ==== */
.pqz-media {
  margin: 22px 0 18px;
}

.pqz-media-head {
  margin-bottom: 12px;
}

.pqz-media-title {
  margin: 0 0 6px 0;
  font-size: 1.05rem;
  color: #222;
  font-weight: 800;
}

.pqz-media-sub {
  margin: 0;
  color: #222;
  line-height: 1.45;
  font-size: .95rem;
}

/* “Card” glass + shadow acorde a tus cajas */
.pqz-insta-card {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .10);
  background: linear-gradient(145deg, rgba(255, 255, 255, .06), rgba(0, 0, 0, .55));
  box-shadow: 0 18px 45px rgba(0, 0, 0, .35);
  padding: 10px;
  /* marco bonito */
  max-width: 520px;
  /* para que no se vea enorme */
}

/* El embed de IG trae márgenes propios; se los quitamos */
.pqz-insta-card .instagram-media {
  margin: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

/* Responsivo: que no quede chiquito en móvil */
@media (max-width: 768px) {
  .pqz-insta-card {
    max-width: 100%;
  }
}

/* Centrado del bloque de IG */
.pqz-insta-card {
  max-width: 520px;
  margin: 0 auto;
  /* <- centra */
}

/* Si quieres todavía más “pro” (centrar también el contenido interno) */
.pqz-insta-card {
  display: flex;
  justify-content: center;
}

.pqz-insta-card .instagram-media {
  width: 100% !important;
}

.center {
  text-align: center !important;
  margin-left: auto;
  margin-right: auto;
}

/* ===== Videos (antes de sucursales) ===== */
.videos-section {
  position: relative;
  padding: clamp(40px, 7vw, 80px) 0;
  background: transparent;
  /* ya traes fondo verde en la zona */
}

.videos-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(16px, 5vw, 48px);
}

.videos-head {
  text-align: center;
  margin-bottom: clamp(18px, 4vw, 28px);
}

.videos-title {
  margin: 0 0 .35rem 0;
  color: #fff;
  font-weight: 900;
  letter-spacing: .2px;
  font-size: clamp(20px, 2.4vw, 30px);
  text-shadow: 0 1px 0 rgba(0, 0, 0, .35);
}

.videos-sub {
  margin: 0 auto;
  max-width: 760px;
  color: rgba(255, 255, 255, .88);
  font-size: clamp(14px, 1.6vw, 16px);
  line-height: 1.5;
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2.6vw, 24px);
}

@media (max-width: 900px) {
  .videos-grid {
    grid-template-columns: 1fr;
  }
}

.video-card {
  position: relative;
  background: rgba(255, 255, 255, .96);
  border-radius: 22px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .10);
  overflow: hidden;
  transform: translateZ(0);
}

.video-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: #ff2e8a;
  color: #fff;
  font-weight: 800;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .35rem .75rem;
  border-radius: 999px;
  box-shadow: 0 12px 26px rgba(255, 46, 138, .35);
  z-index: 2;
}

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Mejor look del control (sin romper diseño) */
.video-frame video {
  border-bottom: 1px solid rgba(0, 0, 0, .06);
}

.video-body {
  padding: 16px 18px 18px;
}

.video-body h3 {
  margin: 0 0 6px 0;
  color: #101014;
  font-weight: 900;
  font-size: 1.05rem;
}

.video-body p {
  margin: 0 0 12px 0;
  color: #3b3e46;
  line-height: 1.45;
  font-size: .95rem;
}

.video-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ff2e8a, #ff4fb1);
  color: #fff;
  text-decoration: none;
  font-weight: 900;
  border-radius: 999px;
  padding: .7rem 1.1rem;
  box-shadow: 0 14px 30px rgba(255, 46, 138, .28);
  transition: transform .18s ease, filter .18s ease;
}

.video-cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.03);
}
