/* Paleta que compartiste (por si no está en :root) */

:root {
  --cecns-blue: #004080;
  --cecns-gold: #ffc300;
  --cecns-wine: #800020;
  --text-color: #333;
  --bg-light: #f8f9fa;
  --bg-white: #fff;
}

.section {
  padding: clamp(1.4rem, 3vw, 2.2rem) 0;
}
.container {
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 3vw, 1.25rem);
  margin-top: 1rem;
}

.section-title {
  color: var(--cecns-blue);
  font-size: clamp(1.6rem, 3vw, 2rem);
}

.section-title__gob {
  color: var(--bg-light);
  margin-bottom: 1.2rem;
}

.big {
  font-size: clamp(1rem, 1.2vw, 1.08rem);
  color: #1f2937;
}
.muted {
  color: var(--bg-white);
}
.link {
  color: var(--cecns-blue);
  text-decoration: underline;
}
.btn-solid-int,
.btn-outline {
  display: inline-block;
  border-radius: 999px;
  padding: 0.6rem 1rem;
  font-weight: 700;
  text-decoration: none;
}
.btn-solid-int {
  background: var(--cecns-gold);
  color: #111;
}
.btn-solid-int:hover {
  filter: brightness(1.05);
}
.btn-outline-int {
  border: 2px solid var(--cecns-gold);
  color: var(--bg-white);
  color: var(--bg-light);
  display: inline-block;
  border-radius: 999px;
  padding: 0.55rem 1rem;
  font-weight: 700;
  text-decoration: none;
}
.btn-outline-int:hover {
  background: var(--cecns-gold);
  color: var(--cecns-gold);
  background: var(--cecns-gold);
  color: #111;
}
.cta-row {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

/* HERO */
.int-hero {
  position: relative;
  min-height: calc(100svh - var(--header-h, 88px));
  display: grid;
  align-items: end;
}
.int-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.int-hero__bg .slide {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: inherit; /* fixed en desktop (ver regla), scroll en mobile */
  opacity: 0;
  transition: opacity 1200ms ease;
  will-change: opacity;
}
.int-hero__bg .slide.is-on {
  opacity: 1;
}

.int-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgb(14 14 14 / 0%), rgb(45 45 45));
}
.int-hero__inner {
  position: relative;
  z-index: 2;
  color: #fff;
  padding-bottom: clamp(2.2rem, 5vw, 3rem);
}
.int-chips {
  z-index: 3;
}
/*  */
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.9;
}
.int-hero h1 {
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  margin: 0.25rem 0 0.5rem;
}
.int-hero h1 span {
  background: linear-gradient(90deg, #fff 0, #fff 65%),
    linear-gradient(90deg, #ffe98a, var(--cecns-gold));
  background-clip: padding-box, border-box;
  border: 2px solid transparent;
  border-radius: 10px;
  color: #111;
  padding: 0.05rem 0.4rem;
}
.int-hero .lead {
  max-width: 64ch;
  opacity: 0.95;
}
.int-chips {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -26px;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
  width: min(980px, 92%);
  z-index: 2;
}
.chip {
  background: #fff;
  color: #1f2937;
  border: 1px solid #e6ebf1;
  border-radius: 999px;
  padding: 0.55rem 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}
.chip i {
  color: var(--cecns-wine);
}

.poster {

  margin: 1rem 0 0.3rem;
  text-align: center;

}

.poster img {

  width: min(920px, 100%);
  border-radius: 12px;
  border: 1px solid #e6ebf1;

}

.poster figcaption {

  color: #6b7280;
  font-size: 0.9rem;
  margin-top: 0.35rem;

}

.text-color {

  color: var(--text-color);

}

.text-color__gob {

  color: var(--bg-light);
  margin-top: 0.8rem;

}

/* Responsive */
@media (max-width: 980px) {
.int-hero {

    min-height: auto;
  
}


}

@media (max-width: 640px) {
.int-chips {

    position: static;
    transform: none;
    margin: 0.9rem auto 0;
  
}


}

/* Banner de estado */
/* Cambios de color por estado */
/* Mostrar CTAs según estado */
.int-hero {

  position: relative;
  min-height: calc(100svh - var(--header-h, 88px));
  display: grid;
  align-items: end;

}

/* capas claras para evitar sorpresas */
/* Evita el 'background-attachment: fixed' en móviles (suele no renderizar o dar saltos) */
@media (max-width: 768px) {
.int-hero__bg {

    background-attachment: scroll;
  
}


}

/* ====== MOBILE/TABLET POLISH (main) ====== */
/* Tipografías y respiros un poco más compactos */
@media (max-width: 768px) {
.section {

    padding: clamp(1rem, 4vw, 1.4rem) 0;
  
}

.int-hero h1 {

    font-size: clamp(1.8rem, 6vw, 2.4rem);
  
}

.int-hero .lead {

    font-size: 0.98rem;
    line-height: 1.6;
  
}

.cta-row {

    gap: 0.55rem;
  
}


}

/* HERO chips: más compactos en móvil */
@media (max-width: 640px) {
.chip {

    padding: 0.45rem 0.7rem;
    font-size: 0.92rem;
    gap: 0.4rem;
  
}

.chip i {

    font-size: 0.95rem;
  
}


}

/* ABOUT: quitar alto fijo de imagen, usar proporción y permitir crecer */
/* RUTA: columnas y tipografías */
/* BECAS: banner de estado más liviano y flexible */
/* Contenedor de cabecera de becas: respiración menor en móvil */
/* Tracks y actividades: menos padding y radios en móvil */
/* CTAs por estado: mejor distribución y opción a ancho completo en phones */
/* Galería: altura un poco menor en pantallas muy pequeñas */
/* Formulario: 1 columna en teléfonos angostos */
/* Botones: contraste y estados coherentes */
.btn-outline-int {

  border-color: var(--cecns-gold);
  color: var(--bg-light); /* texto claro sobre fondo oscuro (cabecera becas) */

}

.btn-outline-int:hover {

  background: var(--cecns-gold);
  color: #111;

}

/* Accesibilidad: foco visible en enlaces y botones del main */
main a:focus-visible,
main button:focus-visible,
main .btn-solid-int:focus-visible,
main .btn-outline-int:focus-visible {

  outline: 3px solid var(--cecns-gold);
  outline-offset: 2px;

}

.int-hero__bg {

  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;

}
