
/* ==== BANNER SEMICIRCULAR ==== */
.banner-semicircle {
    display: inline-block;
    color: #0072c6;
    padding: 10px 20px;
    border-width:medium;
    border-color: #0072c6;
    border-style: ridge;
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
    box-shadow: 8px 8px 0 #cad7ff;
    font-weight: bold;
    font-size: 1.4em;
}
@media screen and (max-width: 768px) {
  .banner-semicircle {
    width: 80%;
    display: block;
    margin: 0 auto;
    text-align: center;
  }
}

/* ==== TIMELINE ==== */
.timeline-nuevo {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    padding: 20px;
}

.curso-nuevo {
    position: relative;
    background-image: url("../img/img-sample1.jpg");
    background-size: cover;
    background-position: center;
    padding: 40px;
    overflow: hidden;
}
/* Capa semitransparente encima */
.curso-nuevo::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.6); 
    pointer-events: none; 
}
.curso-nuevo:hover {
    transform: scale(1.1);
    background-image: url("../img/img-sample2.jpg");
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}
/* Estilo general del banner */
.curso-nuevo p {
    color: #fff;
    font-weight: bold;
    padding: 10px 15px;
    border-radius: 8px;
    display: inline-block;
    max-width: 90%;
}

/* Primer y segundo banner */
.timeline-nuevo .curso-nuevo:nth-child(1) p,
.timeline-nuevo .curso-nuevo:nth-child(2) p {
    background: rgba(162, 114, 209, 0.898);
}

/* Tercer y cuarto banner */
.timeline-nuevo .curso-nuevo:nth-child(3) p,
.timeline-nuevo .curso-nuevo:nth-child(4) p {
    background: rgba(0, 126, 244, 0.75); 
}


/* Asegurar que el texto esté por encima */
.curso-nuevo > * {
    position: relative;
    z-index: 1;
}
.year-bubble {
    background-color: #0072c6;
    color: white;
    font-weight: bold;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 10px;
    font-size: 1.2em;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.year-bubble:hover {
    transform: scale(1.1);
    background-color: #ffffff;
}



/* ==== CHALLENGE ==== */
.challenge {
    padding: 20px;
}

.challenge-row {
    display: flex;
    flex-direction: row; 
    justify-content: space-between;
    gap: 20px;
}

/* Columna izquierda: papel cuadriculado */
.note-paper {
    flex: 1;
    background-image: url("../img/papel.jpg?v=2");
    background-size: cover;
    border-left: 5px solid #008ef4;
    color: #ffffff;
    padding: 15px;
    border-radius: 6px;
    transition: transform 0.3s ease;
}
.note-paper:hover {
    transform: scale(1.05);
}

/* Columna derecha: nota azul */
.note-blue {
    flex: 1;
    background-color: rgba(0, 114, 198, 0.1);
    border-left: 5px solid #008ef4;
    padding: 15px;
    border-radius: 6px;
    transition: transform 0.3s ease;
}
.note-blue:hover {
    transform: scale(1.05);
}

.challenge-content {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
}

.challenge-content img {
    width: 48%;
    border-radius: 6px;
}

/* ==== PICKUP ==== */
.pickup {
    padding: 20px;
    background-color: white;
}

.pickup-title {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.pickup-title::before,
.pickup-title::after {
    content: "";
    flex: 1;
    border-bottom: 2px dotted #999;
    margin: 0 10px;
}

.pickup-title span {
    font-weight: bold;
    font-size: 1.3em;
    background-color: white;
    padding: 0 10px;
}

.pickup-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.pickup-item {
    background-color: #f0f8ff;
    padding: 15px;
    flex: 1 1 calc(33% - 20px);
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: center;
}

.pickup-item img {
    margin-top: 10px;
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 6px;
}

 /* ====== LAYOUT 2 COLUMNAS ROBUSTO ====== 
.challenge-pickup{
  display:flex;
  flex-direction:row;
  justify-content:space-between;
  align-items:flex-start;
  gap:20px;
  flex-wrap:nowrap;
  width:100%;
  position:relative;
  isolation:isolate;       
  clear:both;              
  box-sizing:border-box;
}

/* Cols con fondo y “blindadas” 
.challenge-left,
.pickup-right{
  box-sizing:border-box;
  min-width:0;            
  background:#ffffff00;         
  padding:12px;
  border-radius:8px;
}

.challenge-left{  flex:1 1 45%;  max-width:45%; }
.pickup-right{    flex:1 1 55%;  max-width:55%; }

/* ====== RESPONSIVE correcto: solo apilar < 640px ====== 
@media (max-width:640px){
  .challenge-pickup{ flex-direction:column; }
  .challenge-left,
  .pickup-right{
    flex-basis:100%;
    max-width:100%;
  }
}


/* Tarjeta con tu papel
.note-paper{
  background-image:url("../img/papel.jpg?v=2");
  background-size:cover;
  border-left:5px solid #008ef4;
  color:#ffffff00;
  padding:15px;
  border-radius:6px;
  transition:transform .25s ease;
}
.note-paper:hover{ transform:scale(1.02); }

/* Extras anti-conflicto 
.challenge-pickup img{ max-width:100%; height:auto; }
.challenge-pickup h3, .challenge-pickup p{ overflow-wrap:anywhere; }

/* ====== RESPONSIVE ====== 
@media (max-width: 900px) {
  .challenge-pickup {
    flex-direction: column;
    flex-wrap: nowrap; 
  }
  .challenge-left,
  .pickup-right {
    max-width: 100%;
    flex-basis: 100%;
  }
}

.note-paper {
  background-image: url("../img/papel.jpg?v=2");
  background-size: cover;
  border-left: 5px solid #008ef4;
  color: #ffffff;
  padding: 15px;
  border-radius: 6px;
  transition: transform 0.25s ease;
}
.note-paper:hover { transform: scale(1.02); }
/* ====== PICKUP (right) ====== 
.pickup-title {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}
.pickup-title::before,
.pickup-title::after {
  content: "";
  flex: 1;
  border-bottom: 2px dotted #999;
  margin: 0 10px;
}
.pickup-title span {
  font-weight: bold;
  font-size: 1.3em;
  background-color: rgba(255, 255, 255, 0);
  padding: 0 10px;
}

/* ===== CONTENEDOR GENERAL ===== 
.pickup-section {
  padding: 20px;
  box-sizing: border-box;
}

/* Título 
.pickup-title {
  margin-bottom: 20px;
  font-size: 1.2rem;
  font-weight: bold;
  text-align: center;
}

/* Fila de banners 
.pickup-row {
  display: flex;
  gap: 15px;
  justify-content: space-between;
  flex-wrap: wrap; 
}

/* Cada banner 
.pickup-banner {
  flex: 1 1 calc(28% - 10px); 
  display: flex;
  flex-direction: column; 
  align-items: center;
  background: #f0f8ff;
  border-radius: 10px;
  overflow: hidden;
  padding: 10px;
  box-sizing: border-box;
  min-height: 220px;
  text-align: center;
}

/* Texto del banner 
.banner-text {
  width: 100%;
  font-size: 0.95rem;
  line-height: 1.4;
  margin-bottom: 10px;
}

/* Título del banner 
.banner-text h3 {
  margin: 0 0 5px 0;
}

/* Imagen del banner 
.pickup-banner img {
  width: 100%;
  height: 140px;
  object-fit: cover; 
  border-radius: 6px;
}
/* Efecto hover en cada banner 
.pickup-banner {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer; 
}

.pickup-banner:hover {
  transform: scale(1.05); 
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25); 
}
/* Contenedor debajo de la imagen 
.banner-footer {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  margin-top: 8px;
  font-size: 0.75rem; 
}

/* Imagen circular un poco más grande 
.banner-footer .small-circle {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
}
/* ===== RESPONSIVE (móviles) ===== 
@media (max-width: 768px) {
  .pickup-row {
    flex-direction: column;
  }

  .pickup-banner {
    flex: 1 1 100%;
    min-height: auto;
    padding: 8px;
  }

  .banner-text {
    font-size: 0.85rem;
    line-height: 1.2;
    margin-bottom: 8px;
  }

  .banner-text h3 {
    font-size: 0.95rem;
  }

  .pickup-banner img {
    height: auto;
  }
}


/* ==== ILUSTRACIÓN FIJA ==== */
/* ==== Posición y estilo ==== */
.fixed-illustration {
    position: fixed;
    bottom: 10px;
    right: 10px;
    z-index: 1000;
    max-width: 50%;
    width: 200px;
    will-change: transform;
    transition: transform 0.3s ease;
}

/* Imagen responsive */
.fixed-illustration img {
    width: 100%;
    height: auto;
    display: block;
}

/* ==== Hover (zoom suave) ==== */
.fixed-illustration:hover {
    transform: scale(1.1) rotate(3deg);
}


/* Ocultar en móviles */
@media (max-width: 768px) {
    .fixed-illustration {
        display: none;
    }
}
/* Adaptación a móviles */
@media (max-width: 768px) {
    .challenge-row {
        flex-direction: column;
    }
    .challenge-images img {
        width: 100%;
    }
}
/* ===== RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.department {
  display: inline-block;
  margin-top: 5px;
  background-color: #b22222;
  color: #fff;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.9rem;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/*body {
  font-family: "Noto Sans JP", sans-serif;
  background-color: #fafafa;
  /*padding: 20px;
  color: #333;
}*/

.header {
  text-align: center;
  margin-bottom: 30px;
}

.header h1 {
  font-size: 1.8rem;
  color: #b22222;
}

.department {
  display: inline-block;
  margin-top: 5px;
  background-color: #b22222;
  color: #fff;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.9rem;
}

/* INTERVIEW */

.grid-senpai-layout {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
}

/* ===== Columna 1 ===== */
.banner-dotsenpai {
  text-align: center;
  padding: 15px 25px;
  font-size: 1.4rem;
  font-weight: bold;
  color: #fff;
  background: linear-gradient(90deg, #2e8685, #294268);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 30px;

  /* Marco interior punteado */
  outline: 4px dotted #ffffff;
  outline-offset: -10px; 
}

.subtitulo-tororo {
  margin-top: 10px;
  font-size: 0.9em;
  font-weight: bold;
  text-align: center;
  color: #1a605f;
}

.imagen-entrevistado {
  text-align: center;
  margin: 20px 0;
}

.img-okonomiyaki {
  max-width: 100%;
  height: auto;
  display: inline-block;
}
.pie-wasabi {
  text-align: center;
  margin-top: 8px;
  font-size: 0.85em;
  color: #444;
}

/* ===== Columna 2 ===== */
.banner-matcha-midori {
  text-align: center;
  padding: 15px 25px;
  border-radius: 25px; 
  font-size: 1.4rem;
  font-weight: bold;
  color: white;
  background-image: url("../img/papel.jpg?v=2");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2); 
}

.texto-midori {
  margin-top: 10px;
  text-align: justify;
  line-height: 1.6;
}

/* ===== Columna 3 ===== */
.texto-yokai {
  text-align: justify;
  line-height: 1.6;
}

.img-mochi {
  max-width: 100%;
  display: block;
  margin: 15px auto;
}
/* ===== Responsive ===== */
@media (max-width: 900px) {
  .grid-senpai-layout {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .banner-dotsenpai {
    font-size: 1.2rem;
    padding: 12px 20px;
  }
.banner-matcha-midori {
    font-size: 0.80rem;
    padding: 12px 20px;
  }
}

@media (max-width: 600px) {
  .grid-senpai-layout {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .banner-dotsenpai {
    font-size: 1.5rem;
    padding: 10px 15px;
  }

  .img-okonomiyaki {
  max-width: 60%;
  height: auto;
  display: inline-block;
  }
 
  .banner-matcha-midori {
    font-size: 0.8rem;
    padding: 10px 15px;
  }

  .subtitulo-tororo,
  .pie-wasabi {
    font-size: 0.80em;
  }

  .texto-midori,
  .texto-yokai {
    font-size: 0.8em;
    line-height: 1.5;
  }
}

/* ===== CONTENEDOR PRINCIPAL ===== */
.seccion-slider {
  display: flex;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  font-family: 'IBM Plex Sans', sans-serif;
}

/* ===== BLOQUE DE IMÁGENES ===== */
.seccion-slider__imagenes {
  position: relative;
  flex: 2;
  height: 100%;
  overflow: hidden;
}

.slider-imagen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: fadeImagenes 56s infinite ease-in-out, zoomImagen 14s infinite ease-in-out;
}

/* Imágenes con rutas */
.imagen1 {
  background-image: url('../img/mobile/hero1.jpg');
  animation-delay: 0s, 0s;
}
.imagen2 {
  background-image: url('../img/mobile/hero2.jpg');
  animation-delay: 14s, 14s;
}
.imagen3 {
  background-image: url('../img/mobile/hero3.jpg');
  animation-delay: 28s, 28s;
}
.imagen4 {
  background-image: url('../img/mobile/hero4.jpg');
  animation-delay: 42s, 42s;
}


/* ===== PANEL DE TEXTO ===== */
.seccion-slider__contenido {
  flex: 1;
  background-color: #a7cacd;
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: -10px 0 20px rgba(0,0,0,0.5);
}

.seccion-slider__titulo {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  background-color: #ffffff;
  /*background: linear-gradient(90deg, #ff7f50, #ff1493, #1e90ff, #32cd32);*/
  background-size: 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradienteTitulo 8s infinite alternate;
}

@keyframes gradienteTitulo {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}


.seccion-slider__texto {
  font-size: 1.3rem;
  margin-bottom: 35px;
  line-height: 1.6;
  color: #ffffff;
  font-weight: bold;
}

/* ===== BOTÓN ANIMADO ===== */
.seccion-slider__boton {
  display: inline-block;
  background: linear-gradient(90deg, #05929c, #ff3300);
  color: white;
  padding: 15px 30px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
  text-align: center;
}
.seccion-slider__boton:hover {
  transform: scale(1.05);
}
.seccion-slider__boton::after {
  content: "";
  position: absolute;
  top: 0; left: -75%;
  width: 50%;
  height: 100%;
  background: rgba(255,255,255,0.4);
  transform: skewX(-25deg);
  transition: left 0.5s ease;
}
.seccion-slider__boton:hover::after {
  left: 130%;
}

/* ===== ANIMACIONES ===== */
@keyframes fadeImagenes {
  0%   { opacity: 1; }
  18%  { opacity: 1; }
  25%  { opacity: 0; }
  93%  { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes zoomImagen {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .seccion-slider {
    flex-direction: column;
    height: auto;
  }

  .seccion-slider__imagenes {
    flex: none;
    height: 50vh;
  }

  .seccion-slider__contenido {
    flex: none;
    height: auto;
    padding: 25px;
    text-align: center;
  }

  .seccion-slider__titulo {
    font-size: 2rem;
  }

  .seccion-slider__texto {
    font-size: 1.1rem;
  }
}

 /* ====== CINTA 1 ====== */
.cinta1-seccion {
  position: relative;
  width: 100%;
  margin: 120px 0;
}

.cinta1-contenido {
  display: flex;
  flex-direction: row;
  align-items: center;
  background-color: #f0831e;
  padding: 30px 60px;
  border-radius: 5px;
  position: relative;
}

.cinta1-texto {
  color: white;
  flex: 1;
  text-align: left;
}

.cinta1-circulo {
  background-color: #fde9d4;
  border-radius: 50%;
  width: 300px;
  height: 300px;
  position: absolute;
  right: 140px;
  top: 50%;
  transform: translateY(-50%);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  z-index: 2;
}
.seccion-cinta1__boton {
  display: inline-block;
  background: linear-gradient(90deg, #ff6600, #ff3300);
  color: white;
  padding: 15px 30px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
  text-align: center;
}
.seccion-cinta1__boton:hover {
  transform: scale(1.05);
}
.seccion-cinta1__boton::after {
  content: "";
  position: absolute;
  top: 0; left: -75%;
  width: 50%;
  height: 100%;
  background: rgba(255,255,255,0.4);
  transform: skewX(-25deg);
  transition: left 0.5s ease;
}
.seccion-cinta1__boton:hover::after {
  left: 130%;
}


/* ====== CINTA 2 (invertida) ====== */
.cinta2-seccion {
  position: relative;
  width: 100%;
  margin: 120px 0;
}

.cinta2-contenido {
  display: flex;
  flex-direction: row;
  align-items: center;
  background-color: #329ad7;
  padding: 30px 60px;
  border-radius: 5px;
  position: relative;
}

.cinta2-texto {
  color: white;
  flex: 1;
  text-align: right;
}
/* Contenido reducido dentro del círculo */
.contenido-circulo-mini {
  width: 85%;
  max-width: 200px;
  margin: auto;
  text-align: center;
}

/* Banner */
.cinta2-banner {
  background: linear-gradient(135deg, #ff4081, #ff9800);
  color: white;
  padding: 5px 10px;
  border-radius: 15px;
  font-size: 0.9rem;
  font-weight: bold;
  margin-bottom: 10px;
}

/* Cada fila subtítulo */
.subtitulo-fila {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  margin-bottom: 6px;
}

.subtitulo-fila img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.subtitulo-fila p {
  font-size: 18px;
  font-weight: 800;
  margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .contenido-circulo-mini {
    max-width: 150px;
  }

  .subtitulo-fila img {
    width: 20px;
    height: 20px;
  }

  .cinta2-banner {
    font-size: 0.6rem;
    padding: 4px 8px;
  }

  .subtitulo-fila p {
    font-size: 0.65rem;
  }
}

.cinta2-circulo {
  background-color: #e5eff9;
  border-radius: 50%;
  width: 300px;
  height: 300px;
  position: absolute;
  left: 140px;
  top: 50%;
  transform: translateY(-50%);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  z-index: 2;
}
.seccion-cinta2__boton {
  display: inline-block;
  background: linear-gradient(90deg, #0084ff, #7700ff);
  color: white;
  padding: 15px 30px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
  text-align: center;
}
.seccion-cinta2__boton:hover {
  transform: scale(1.05);
}
.seccion-cinta2__boton::after {
  content: "";
  position: absolute;
  top: 0; left: -75%;
  width: 50%;
  height: 100%;
  background: rgba(255,255,255,0.4);
  transform: skewX(-25deg);
  transition: left 0.5s ease;
}
.seccion-cinta2__boton:hover::after {
  left: 130%;
}


/* ====== RESPONSIVE ====== */
@media (max-width: 1024px) {
  .cinta1-circulo,
  .cinta2-circulo {
    width: 280px;
    height: 280px;
  }
}

@media (max-width: 768px) {
  .cinta1-contenido,
  .cinta2-contenido {
    flex-direction: column;
    padding: 20px;
  }

  .cinta1-texto,
  .cinta2-texto {
    text-align: center;
    margin-bottom: 20px;
  }

  .cinta1-circulo,
  .cinta2-circulo {
    position: static;
    transform: none;
    margin: 0 auto;
    width: 200px;
    height: 200px;
  }
}

@media (max-width: 480px) {
  .cinta1-circulo,
  .cinta2-circulo {
    width: 200px;
    height: 200px;
  }

  .cinta1-texto h2,
  .cinta2-texto h2 {
    font-size: 1.2rem;
  }

  .cinta1-texto p,
  .cinta2-texto p {
    font-size: 0.9rem;
  }
}
/* Hover efecto en el círculo */
.cinta1-circulo:hover,
.cinta2-circulo:hover {
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 12px 30px rgba(0,0,0,0.3);
  transition: all 0.3s ease-in-out;
}

/* Para móviles (evita salto raro en hover táctil) */
@media (max-width: 768px) {
  .cinta1-circulo:hover,
  .cinta2-circulo:hover {
    transform: none;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  }
}

.slideshow-cinta {
  overflow: hidden;
  width: 100%;
  padding: 20px 0;
  background-color: #519197; 
}

.slideshow-track {
  display: flex;
  animation: scroll-slideshow 40s linear infinite;
}

.slideshow-cinta img {
  flex-shrink: 0;
  width: clamp(150px, 25vw, 300px);
  height: auto;
  aspect-ratio: 5 / 3;
  object-fit: cover;
  border-radius: 15px;
  margin: 0 10px;
  border: 4px solid #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  animation: proyector-brillo 3s ease-in-out infinite;
}

/* Efecto hover: agrandar suavemente */
.slideshow-cinta img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.6);
}

/* Animación de desplazamiento infinito */
@keyframes scroll-slideshow {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Ajustes móviles */
@media (max-width: 768px) {
  .slideshow-cinta {
    padding: 10px 0;
  }
  .slideshow-cinta img {
    border: 3px solid #fff;
    border-radius: 10px;
  }
}
/*----nuevas cartas corregidas---*/
.aucss-carousel, .aucss-carousel * { box-sizing: border-box; }
.aucss-carousel img { display: block; }

/* ----- Contenedor general (altura bajita) ----- */
.aucss-carousel{
  position: relative;
  width: 100%;
  height: 40vh;           
  min-height: 260px;
  overflow: hidden;
  --aucss-accent: #f0831e;
}
@media (min-width: 768px){
  .aucss-carousel{ height: 55vh; min-height: 360px; } 
}

/* ----- Ocultar radios ----- */
.aucss-carousel > input[type="radio"]{ display: none; }

/* ----- Ventana y pista ----- */
.aucss-viewport{ width: 100%; height: 100%; overflow: hidden; }
.aucss-track{
  display: flex;
  height: 100%;
  width: 500%; 
  transition: transform .6s cubic-bezier(.22,.61,.36,1);
}

.aucss-panel{
  position: relative;
  height: 100%;
  flex: 0 0 calc(100% / 5); 
}

/* Posiciones para 5 imágenes */
#aucss-s1:checked ~ .aucss-viewport .aucss-track{ transform: translateX(0%); }
#aucss-s2:checked ~ .aucss-viewport .aucss-track{ transform: translateX(-20%); }
#aucss-s3:checked ~ .aucss-viewport .aucss-track{ transform: translateX(-40%); }
#aucss-s4:checked ~ .aucss-viewport .aucss-track{ transform: translateX(-60%); }
#aucss-s5:checked ~ .aucss-viewport .aucss-track{ transform: translateX(-80%); }

/* Flechas visibles solo en el panel activo */
#aucss-s1:checked ~ .aucss-viewport .aucss-panel--1 .aucss-arrow{ display: block; }
#aucss-s2:checked ~ .aucss-viewport .aucss-panel--2 .aucss-arrow{ display: block; }
#aucss-s3:checked ~ .aucss-viewport .aucss-panel--3 .aucss-arrow{ display: block; }
#aucss-s4:checked ~ .aucss-viewport .aucss-panel--4 .aucss-arrow{ display: block; }
#aucss-s5:checked ~ .aucss-viewport .aucss-panel--5 .aucss-arrow{ display: block; }

/* Punto activo */
#aucss-s1:checked ~ .aucss-dots label[for="aucss-s1"],
#aucss-s2:checked ~ .aucss-dots label[for="aucss-s2"],
#aucss-s3:checked ~ .aucss-dots label[for="aucss-s3"],
#aucss-s4:checked ~ .aucss-dots label[for="aucss-s4"],
#aucss-s5:checked ~ .aucss-dots label[for="aucss-s5"]{
  background: var(--aucss-accent);
}
.aucss-panel > img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ----- Banner centrado (z-index para que no quede detrás) ----- */
.aucss-banner{
  position: absolute;
  z-index: 2;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  background: #1a8188be;
  color: #fff;
  padding: 1rem 1.25rem;
  border-radius: 14px;
  max-width: min(92%, 680px);
}
.aucss-banner h2{
  margin: 0 0 .35rem;
  font-size: clamp(1.1rem, 3.8vw, 2.2rem);
  background: linear-gradient(90deg, var(--aucss-accent), #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.aucss-banner p{
  margin: 0 0 .9rem;
  font-size: clamp(.95rem, 2.4vw, 1.1rem);
}
.aucss-btn{
  display: inline-block;
  padding: .55rem 1.1rem;
  border-radius: 28px;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(90deg, var(--aucss-accent), #05929c);
  transition: transform .25s ease, box-shadow .25s ease;
}
.aucss-btn:hover{ transform: scale(1.05); box-shadow: 0 0 12px rgba(255,0,204,.45); }

/* ----- Flechas (solo en panel activo) ----- */
.aucss-arrow{
  position: absolute;
  z-index: 3;
  top: 50%;
  transform: translateY(-50%);
  width: 42px; height: 42px;
  line-height: 42px;
  text-align: center;
  border-radius: 50%;
  background: rgba(0,0,0,.35);
  color: #fff;
  font-size: 26px;
  cursor: pointer;
  user-select: none;
  display: none;            
}
.aucss-prev{ left: 10px; }
.aucss-next{ right: 10px; }
.aucss-arrow:hover{ background: rgba(0,0,0,.6); }

/* Mostrar SOLO las flechas del panel visible */
#aucss-s1:checked ~ .aucss-viewport .aucss-panel--1 .aucss-arrow{ display: block; }
#aucss-s2:checked ~ .aucss-viewport .aucss-panel--2 .aucss-arrow{ display: block; }
#aucss-s3:checked ~ .aucss-viewport .aucss-panel--3 .aucss-arrow{ display: block; }

/* ----- Dots (opcionales) ----- */
.aucss-dots{
  position: absolute;
  bottom: 12px; left: 0; right: 0;
  text-align: center;
}
.aucss-dots label{
  display: inline-block;
  width: 10px; height: 10px;
  margin: 0 5px;
  border-radius: 50%;
  background: rgba(255,255,255,.6);
  cursor: pointer;
}
#aucss-s1:checked ~ .aucss-dots label[for="aucss-s1"],
#aucss-s2:checked ~ .aucss-dots label[for="aucss-s2"],
#aucss-s3:checked ~ .aucss-dots label[for="aucss-s3"]{
  background: var(--aucss-accent);
}
/* Layout de 2 columnas */
.layout-aucss-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.layout-aucss-carousel-column {
  flex: 1 1 60%;
}

.layout-aucss-news-column {
  flex: 1 1 40%;
  background: #f7f7f7;
  padding: 1rem;
  border-radius: 8px;
}

.layout-aucss-news-column h2 {
  margin-bottom: 1rem;
}

.layout-aucss-news-item {
  background: white;
  padding: 0.8rem;
  margin-bottom: 0.8rem;
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

/* Responsive: en móvil se apila */
@media (max-width: 768px) {
  .layout-aucss-carousel-column,
  .layout-aucss-news-column {
    flex: 1 1 100%;
  }
}


/*====================NUEVO CARRUSEL 現代社会======================*/
/* Reset mínimo */
.galaxy-carousel, .galaxy-carousel * { box-sizing: border-box; }
.galaxy-carousel img { display: block; }

/* Contenedor general */
.galaxy-carousel{
  position: relative;
  width: 100%;
  height: 40vh;
  min-height: 260px;
  overflow: hidden;
  --galaxy-accent: #f0831e;
}
@media (min-width: 768px){
  .galaxy-carousel{ height: 55vh; min-height: 360px; }
}

/* Ocultar radios */
.galaxy-carousel > input[type="radio"]{ display: none; }

/* Ventana y pista */
.galaxy-viewport{ width: 100%; height: 100%; overflow: hidden; }
.galaxy-track{
  display: flex;
  height: 100%;
  width: 500%;
  transition: transform .6s cubic-bezier(.22,.61,.36,1);
}

.star-panel{
  position: relative;
  height: 100%;
  flex: 0 0 calc(100% / 5);
}

/* Transform según radio */
#galaxy-s1:checked ~ .galaxy-viewport .galaxy-track{ transform: translateX(0%); }
#galaxy-s2:checked ~ .galaxy-viewport .galaxy-track{ transform: translateX(-20%); }
#galaxy-s3:checked ~ .galaxy-viewport .galaxy-track{ transform: translateX(-40%); }
#galaxy-s4:checked ~ .galaxy-viewport .galaxy-track{ transform: translateX(-60%); }
#galaxy-s5:checked ~ .galaxy-viewport .galaxy-track{ transform: translateX(-80%); }

.star-panel > img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Banner centrado */
.star-banner{
  position: absolute;
  z-index: 2;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  background: #04636ad9;
  color: #fff;
  padding: 1rem 1.25rem;
  border-radius: 14px;
  max-width: min(92%, 680px);
}
.star-banner h2{
  margin: 0 0 .35rem;
  font-size: clamp(1.1rem, 3.8vw, 2.2rem);
  background: linear-gradient(90deg, var(--galaxy-accent), #fde9d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.star-banner p{
  margin: 0 0 .9rem;
  font-size: clamp(.95rem, 2.4vw, 1.1rem);
}
.star-btn{
  display: inline-block;
  padding: .55rem 1.1rem;
  border-radius: 28px;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(90deg, var(--galaxy-accent), #05929c);
  transition: transform .25s ease, box-shadow .25s ease;
}
.star-btn:hover{ transform: scale(1.05); box-shadow: 0 0 12px rgba(255,0,204,.45); }

/* Flechas */
.comet-arrow{
  position: absolute;
  z-index: 3;
  top: 50%;
  transform: translateY(-50%);
  width: 42px; height: 42px;
  line-height: 42px;
  text-align: center;
  border-radius: 50%;
  background: rgba(0,0,0,.35);
  color: #fff;
  font-size: 26px;
  cursor: pointer;
  user-select: none;
  display: none;
}
.comet-prev{ left: 10px; }
.comet-next{ right: 10px; }
.comet-arrow:hover{ background: rgba(0,0,0,.6); }

/* Mostrar flechas panel activo */
#galaxy-s1:checked ~ .galaxy-viewport .star-panel-1 .comet-arrow{ display: block; }
#galaxy-s2:checked ~ .galaxy-viewport .star-panel-2 .comet-arrow{ display: block; }
#galaxy-s3:checked ~ .galaxy-viewport .star-panel-3 .comet-arrow{ display: block; }
#galaxy-s4:checked ~ .galaxy-viewport .star-panel-4 .comet-arrow{ display: block; }
#galaxy-s5:checked ~ .galaxy-viewport .star-panel-5 .comet-arrow{ display: block; }

/* Dots */
.star-dots{
  position: absolute;
  bottom: 12px; left: 0; right: 0;
  text-align: center;
}
.star-dots label{
  display: inline-block;
  width: 10px; height: 10px;
  margin: 0 5px;
  border-radius: 50%;
  background: rgba(255,255,255,.6);
  cursor: pointer;
}
#galaxy-s1:checked ~ .star-dots label[for="galaxy-s1"],
#galaxy-s2:checked ~ .star-dots label[for="galaxy-s2"],
#galaxy-s3:checked ~ .star-dots label[for="galaxy-s3"],
#galaxy-s4:checked ~ .star-dots label[for="galaxy-s4"],
#galaxy-s5:checked ~ .star-dots label[for="galaxy-s5"]{
  background: var(--galaxy-accent);
}

/* Layout */
.galaxy-layout-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.galaxy-carousel-column { flex: 1 1 60%; }
.galaxy-news-column { flex: 1 1 40%; background: #f7f7f7; padding: 1rem; border-radius: 8px; }
.galaxy-news-column h2 { margin-bottom: 1rem; }
.galaxy-news-item { background: white; padding: .8rem; margin-bottom: .8rem; border-radius: 6px; box-shadow: 0 1px 4px rgba(0,0,0,.08); }

/* Responsive */
@media (max-width: 768px) {
  .galaxy-carousel-column,
  .galaxy-news-column { flex: 1 1 100%; }
}




/* CSS renovation  */

/* CSS */
.renv-banner-group {
  display: flex;
  flex-direction: column;
  gap: 15px; /* espacio entre banners */
  width: 100%;
}

.renv-banner {
  display: block;
  text-decoration: none;
  width: 100%;
}

.renv-banner-container {
  background: linear-gradient(
    to bottom,
    #f3dada 0%,
    #f3dada 25%,
    #c8b7b7 25%,
    #c8b7b7 75%,
    #f3dada 75%,
    #f3dada 100%
  );
  text-align: center;
  padding: 40px 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.renv-banner-text {
  color: white;
  font-size: 28px;
  font-weight: bold;
}

/* Efecto hover */
.renv-banner-container:hover {
  transform: scale(1.02);
  opacity: 0.9;
}

/* Responsivo */
@media (max-width: 768px) {
  .renv-banner-container {
    padding: 30px 0;
  }

  .renv-banner-text {
    font-size: 22px;
  }
}

@media (max-width: 480px) {
  .renv-banner-container {
    padding: 20px 0;
  }

  .renv-banner-text {
    font-size: 18px;
  }
}




/*TEACHER CSS*/

.teacher-header {
    text-align: center;
    margin-bottom: 30px;
}

.teacher-title {
    font-size: 2em;
    margin: 0;
}

.teacher-subtitle {
    font-size: 1em;
    color: #555;
    margin: 5px 0 0 0;
}

.teacher-main {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    border-radius: 10px;
}

.teacher-text p {
    margin-bottom: 20px;
    font-size:14px;
}

.teacher-image-left {
    float: left;
    margin-right: 20px;
    width: 150px;
    text-align: center;
}

.teacher-image-left img {
    width: 100%;
    border-radius: 10px;
}

.teacher-caption {
    text-align: center;
}

.teacher-caption-title {
    font-size: 1em;
    margin: 5px 0 0 0;
}

.teacher-caption-subtitle {
    font-size: 0.85em;
    color: #777;
}

.teacher-images-row {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    flex-wrap: wrap;
}

.teacher-image-bottom {
    flex: 1 1 48%; /* dues imatges en una fila amb una mica d’espai */
    margin: 10px 0;
    text-align: center;
}

.teacher-image-bottom img {
    width: 90%;
    border-radius: 10px;
    display: block;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .teacher-image-left {
        float: none;
        margin: 0 auto 20px auto;
        width: 50%;
    }

    .teacher-images-row {
        flex-direction: column;
        align-items: center;
    }

    .teacher-image-bottom {
        flex: 1 1 80%;
        margin: 10px 0;
    }
}