   :root{
      /* Reemplaza estas imágenes por las que prefieras */
      --hero-desktop: url('https://image.edu.ipade.mx/lib/fe2b11747364057e741d77/m/1/8e1027f0-4d7c-4330-aa30-caa77e64a679.png');
      --hero-mobile: url('https://image.edu.ipade.mx/lib/fe2b11747364057e741d77/m/1/8417e882-d9ef-40a7-b1eb-74c0153e30cb.png');
      --teal: #0b7b79;
      --teal-dark: #066b69;
      --ipade-light: ##ededed;
      -p: clamp(0.8rem, 0.657rem + 0.381vw, 1rem);
      --font-signika: "Signika", "DM Sans", Arial, Helvetica, sans-serif;
    }
    body {
    
    font-family: var(--font-signika);
    font-size: 20px;
    font-weight: 400;
   
}
    /* HERO: ahora el hero es un contenedor flex en columna y el contenido se empuja al final */
    .hero {
      background-image: var(--hero-desktop);
      background-size: cover;
      background-position: center center;
      background-repeat: no-repeat;
      
      border-radius: 12px 12px 0 0;
      padding: 2rem 1rem;            /* padding uniforme; no padding-bottom extra */
      margin-top: 1rem;
      margin-bottom: 0;
      color: white;
      position: relative;
      overflow: hidden;
      min-height: 480px;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;     /* clave: empuja el contenido hacia el final (bottom) */
    }

    /* Overlay para contraste */
    .hero::before {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, rgba(0,0,0,0.35), rgba(0,0,0,0.35));
      border-radius: 12px 12px 0 0;
      z-index: 0;
    }

    /* Contenido del hero */
    .hero .hero-content {
      position: relative;
      z-index: 1;
      width: 100%;
      /* no necesitamos height:100% aquí porque el .hero ya empuja hacia abajo */
    }

    /* Aseguramos que la fila interna no añada alineamientos contraproducentes */
    .hero .hero-row {
      width: 100%;
      margin-bottom: 0;
      padding-bottom: 0.5rem; /* pequeño espaciado interno si quieres; pon 0 si quieres pegado al borde */
    }
    .logo {
    height: 82px;
    transition: all 0.3s ease;
    }
    .logo.scrolled {
        height: 50px;
    }
    /* Logo y titulo alineados a la izquierda, ahora en la parte inferior del hero */
    .brand-stack {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: .5rem;
      margin-bottom: 0;
    }

    .brand-stack img {
      max-width: 160px;
      height: auto;
      object-fit: contain;
      border-radius: 6px;
      background: rgba(255,255,255,0.06);
      padding: 4px;
    }

    .hero-title {
      font-weight: 700;
      font-size: 2.25rem;
      margin: 0;
      line-height: 1.05;
    }

    .hero-sub {
      font-size: 1.1rem;
      opacity: .95;
    }

    /* INFO BAR pegada al header (sin espacios) */
    .info-bar {
      background: var(--teal);
      color: white;
      border-radius: 0 0 12px 12px;
      margin-top: 0;
      padding: .9rem 1rem;
    }

    .info-bar .btn {
      background: #0aa39a;
      border: none;
    }
    .info-bar .btn:hover {
      background: var(--teal-dark);
    }

    /* Sección principal con formulario en derecha */
    .lead-section {
      margin-top: 2rem;
    }

    .form-card {
      background: #f7f9f9;
      border-radius: 12px;
      padding: 1.5rem;
      box-shadow: 0 2px 4px rgba(0,0,0,0.03);
    }

    /* Modules section */
    .modules-section {
      margin-top: 2.5rem;
    }

    .module-card {
      border-radius: 10px;
      background: #eefaf9;
      padding: 1.25rem;
    }
    /* Nueva sección: sede + programa */
    .venue-program {
      margin-top: 2.75rem;
      padding: 2rem 0;
    }

    .venue-program .venue-img {
      width: 100%;
      border-radius: 10px;
      object-fit: cover;
      display: block;
    }

    .program-list {
      list-style: none;
      padding-left: 0;
    }
   

    .program-list li {
      margin-bottom: .75rem;
      padding-left: 1.4rem;
      position: relative;
      color: #064f4e;
    }

    .program-list li::before {
      content: "";
      position: absolute;
      left: 0;
      top: .45rem;
      width: 8px;
      height: 8px;
      background: var(--teal);
      border-radius: 50%;
    }

    .mini-photos {
      display: flex;
      gap: 1rem;
      margin-top: 1rem;
    }

    .mini-photos img {
      width: 100%;
      height: 80px;
      object-fit: cover;
      border-radius: 8px;
      flex: 1 1 0;
    }

    /* CTA final */
    .final-cta {
      text-align: center;
      margin: 3rem 0 1.5rem;
    }

    .final-cta h3 {
      color: var(--teal);
      font-weight: 700;
    }

    .final-cta p.lead {
      color: #555;
      margin-bottom: 1rem;
    }

    .btn-cta {
      background: var(--teal);
      color: white;
      border-radius: 40px;
      padding: .6rem 1.4rem;
      border: none;
    }
    .btn-cta:hover {
      background: var(--teal-dark);
      color: #fff;
    }
/* Footer */
.footer {
    padding: clamp(2.3125rem, 1.7791rem + 0.8611vw, 2.8125rem) 0;
}
footer ul li {
    background-color: white;
}
footer ul li a:hover {
    color: var(--ipade-light) !important;
}
footer .p {
    font-size: var(--p);
}
footer .p a {
    text-decoration: none;
}
.footer .d-flex a,
.footer a.color-white {
  color: #ffffff;             /* color de los iconos */
  transition: color .15s ease;
}

.footer .d-flex a:hover,
.footer a.color-white:hover {
  color: #cfd8e3;             /* color al pasar el cursor */
}

/* Asegúrate que los <i> hereden el color */
.footer .d-flex a i {
  color: inherit;
}
  

    /* Responsivo: mantener la posición al final en tablet/móvil */
    @media (max-width: 991.98px) {
      .hero {
        min-height: 260px;
        padding: 1.75rem 1rem;
        background-position: center top;
      }
       body {
          font-size: 16px;
        }
    }

    @media (max-width: 767.98px) {
      .hero {
        background-image: var(--hero-mobile);
        background-size: contain;      /* muestra la imagen completa */
        background-position: center top; /* ajusta la posición (prueba center center si prefieres) */
        background-repeat: no-repeat;  /* evita repetidos si queda espacio */
        padding: 1.25rem 1rem;
        border-radius: 10px 10px 0 0;
        min-height: 197px;     
      }
      .hero-title {
        font-size: 1.25rem;
      }

      .brand-stack img {
        max-width: 120px;
      }

      .info-bar {
        margin-top: 0;
        border-radius: 0 0 10px 10px;
      }
      body {
          font-size: 16px;
        }
    }
    /* Contenedor que define la altura y comportamiento del iframe (desktop más alto) */
.form-embed {
  width: 100%;
  height: 400px;        /* altura desktop (ajusta si quieres más/menos) */
  max-height: 85vh;     /* no más del 85% del viewport */
  overflow: hidden;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 1px 6px rgba(0,0,0,0.04);
}

/* El iframe ocupa todo el contenedor */
.form-embed .jotform-iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
  

/* Ajustes responsive: menos altura en tablet/móvil */
@media (max-width: 991.98px) {
  /*.form-embed {
    height: 800px;     /* tablet / small desktop */
    max-height: 75vh;
  }
}*/
  @media (min-width: 992px) {
  .info-bar {
    padding: 1.25rem 2rem;       /* más alto y con más margen lateral */
    font-size: 1.05rem;         /* aumenta texto general */
  }

  /* Si quieres aumentar solo el bloque de texto (sin afectar otros elementos) */
  .info-bar .text-start {
    font-size: 1.0625rem;       /* ligeramente mayor que 1rem */
    line-height: 1.4;
  }

  /* Agrandar el botón aunque tenga la clase btn-sm */
  .info-bar .btn {
    padding: 0.55rem 1.15rem;   /* mayor padding */
    font-size: 0.95rem;         /* tamaño de texto del botón */
    border-radius: 0.6rem;
  }
  
}

/* En móvil apilamos en una columna: texto arriba, formulario abajo */
/*@media (max-width: 767.98px) {
  .col-lg-5, .col-lg-7 { flex: 0 0 100%; max-width: 100%; }
  .form-embed {
    height: 720px;     /* altura móvil */
    max-height: none;
  }
}*/
  
 @media (max-width: 767.98px) {
  /* Opcional: si tu fila tiene .row, usar gap es más limpio (evita padding en columnas) */
  .row { display: flex; flex-wrap: wrap; gap: 12px; }

  /* Mantener 2 columnas (50% cada una) en móviles/tablet anchos */
  .col-lg-5, .col-lg-7 {
    /* restamos la mitad del gap para evitar overflow causado por el espacio entre columnas */
    flex: 0 0 calc(50% - 6px);
    max-width: calc(50% - 6px);
    padding: 0; /* usa gap en el contenedor en lugar de padding lateral en columnas */
  }

  /* Contenedor del formulario en móvil */
  .form-embed {
    height: 720px;     /* puedes ajustar si necesitas más/menos altura */
    max-height: none;
    overflow: auto;    /* permite scroll si el contenido es mayor */
  }

  .form-embed .jotform-iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
  }
}

/* En pantallas muy pequeñas, mejor colapsar a 1 columna por usabilidad */
@media (max-width: 480px) {
  .col-lg-5, .col-lg-7 {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 8px; /* opcional: espacio lateral en XS */
  }

  .form-embed {
    height: 900px; /* ajustar según el formulario */
  }
}
/* Asegura que padding no sume al ancho (poner al principio del CSS si aún no lo tienes) */
*, *::before, *::after { box-sizing: border-box; }

/* --- Ajustes exclusivos para la sección "venue-program" --- */
/* Opción 1 (recomendada): aumentar el gutter horizontal de Bootstrap solo en esta sección */
#venue-program .row {
  --bs-gutter-x: 3rem; /* aumenta el espacio horizontal entre columnas (prueba 2rem, 3rem, 4rem) */
}

/* Si quieres aún más separación en pantallas grandes (opcional) */
@media (min-width: 992px) {
  #venue-program .row {
    --bs-gutter-x: 8rem; /* más separación en desktop grande */
  }
}

/* Fallback/alternativa: usar column-gap si no quieres tocar la variable de Bootstrap */
/* (Descomenta sólo si prefieres esta técnica) */
/*
#venue-program .row {
  display: flex;
  flex-wrap: wrap;
  column-gap: 3rem;   / * separación horizontal entre columnas * /
  row-gap: 1rem;      / * separación vertical en caso de wrap * /
}
*/

/* Asegurar que las imágenes no desborden y mantengan buen espaciado */
#venue-program .venue-img,
#venue-program  img {
  max-width: 100%;
  height: auto;
  display: block;
}
.mini-photos img {
  max-width: 80%;
  height: auto;
  display: block;
}
  

/* Si necesitas también aumentar separación vertical entre items de la columna derecha */
#venue-program .program-list li {
  margin-bottom: 2rem; /* antes 0.75rem, ajústalo si quieres más espacio */
}
  