/* Custom styles based on the React component's TailwindCSS classes */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #1D2F6F;
    background: linear-gradient(135deg, #1D2F6F 0%, #1D2F6F 100%);
}

/* Header */
.header {
    background: linear-gradient(135deg, #1D2F6F 0%, #1D2F6F 100%);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
    white-space: nowrap;
    margin-right: 3rem;
}

.logo-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid #ffeb3b;
    object-fit: cover;
    background-color: white;
    padding: 3px;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffeb3b;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* Navigation */
.nav {
    flex-grow: 1;
    display: flex;
    justify-content: flex-end;
}

.nav ul {
    list-style: none;
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    padding: 0;
    margin: 0;
}

.nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0.8rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav a:hover {
    background: rgba(255,235,59,0.2);
    transform: translateY(-2px);
    border: 1px solid #ffeb3b;
}

.nav a.active {
    background: #ffeb3b;
    color: #1D2F6F;
    font-weight: 700;
    border: 1px solid #ffeb3b;
    box-shadow: 0 2px 8px rgba(255,235,59,0.4);
}

/* Hamburger menu button */
.hamburger-menu {
    display: none; /* Hidden by default on larger screens */
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 1001; /* Ensure it's above other elements */
}

.hamburger-menu .bar {
    display: block;
    width: 100%;
    height: 3px;
    background-color: white;
    border-radius: 3px;
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}

.hamburger-menu .bar:nth-child(1) { top: 0; }
.hamburger-menu .bar:nth-child(2) { top: 50%; transform: translateY(-50%); }
.hamburger-menu .bar:nth-child(3) { bottom: 0; }

/* Hamburger menu active state (optional animation) */
.hamburger-menu.active .bar:nth-child(1) {
    transform: translateY(10.5px) rotate(45deg);
}

.hamburger-menu.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active .bar:nth-child(3) {
    transform: translateY(-10.5px) rotate(-45deg);
}


/* Main Content */
.main-content {
    min-height: calc(100vh - 120px);
    background: linear-gradient(to bottom, #e3f2fd, #f8f9fa);
}

/* Page Sections */
.page {
    display: none;
}
.page.active {
    display: block;
}

/* Hero */
.hero-index {
    background-image: url('../imagendefondo/fondo2.jpg');
}
/* Imagen del hero para materias especiales */
.hero-especial {
    background-image: url('../imagenes/fondo-especial.jpg');
}
.hero {
        background-image: url('../imagendefondo/fondo2.jpg');

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1rem;
}

.hero-content h2 {
    font-size: clamp(2rem, 6vw, 4rem);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    color: #ffeb3b;
}

.hero-content p {
    font-size: clamp(1.2rem, 3vw, 2rem);
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.cta-button {
    background: linear-gradient(45deg, #ffeb3b, #ffc107);
    color: #1D2F6F;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(255,235,59,0.3);
}

.cta-button:hover {
    background: linear-gradient(45deg, #ffc107, #ff9800);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255,193,7,0.4);
}

/* Carousel */
.carousel-container {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.carousel {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    height: 400px;
}

.carousel-slide {
    display: none;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: absolute;
    transition: opacity 1s ease-in-out;
    opacity: 0;
}

.carousel-slide.active {
    display: block;
    opacity: 1;
}

.carousel-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white;
    padding: 2rem;
    text-align: center;
}

.carousel-content h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #ffeb3b;
}

.carousel-content p {
    font-size: 1.1rem;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.6);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    font-size: 1.8rem;
    color: #1D2F6F;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.carousel-nav:hover {
    background: rgba(255,255,255,0.9);
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav.prev { left: 20px; }
.carousel-nav.next { right: 20px; }

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    height: 12px;
    width: 12px;
    background-color: rgba(255,255,255,0.5);
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border: 1px solid rgba(255,255,255,0.8);
}

.dot.active {
    background-color: #ffeb3b;
    border-color: #ffeb3b;
}

/* About */
.about {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.about h3 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1D2F6F;
    text-shadow: 1px 1px 2px rgba(21,101,192,0.1);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.about-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(30,136,229,0.1);
    transition: transform 0.3s ease;
    border-top: 4px solid #ffeb3b;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(30,136,229,0.15);
}

.about-card h4 {
    color: #1D2F6F;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* Secciones */
.tour-description, .ethnia-day {
    padding: 40px 20px;
    margin: 20px auto;
    max-width: 1000px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.tour-description.visible, .ethnia-day.visible {
    opacity: 1;
    transform: translateY(0);
}

.tour-description h3, .ethnia-day h3 {
    color: #1D2F6F;
    margin-bottom: 20px;
    font-size: 2.5em;
    text-shadow: 1px 1px 2px rgba(21,101,192,0.1);
}

.tour-description p, .ethnia-day p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
    text-align: justify;
}

.image-gallery {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    margin-top: 30px;
    margin-bottom: 50px;
}

.image-gallery img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.image-gallery img:hover {
    transform: scale(1.02);
}

/* Formulario */
.form-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(30,136,229,0.1);
    border-top: 5px solid #ffeb3b;
}

.form-container h2 {
    text-align: center;
    color: #1D2F6F;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e1e1e1;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1D2F6F;
    box-shadow: 0 0 0 3px rgba(30,136,229,0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.submit-btn {
    background: linear-gradient(45deg, #1D2F6F, #1D2F6F);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(30,136,229,0.3);
}

.submit-btn:hover {
    background: linear-gradient(45deg, #1D2F6F, #0d47a1);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30,136,229,0.4);
}

/* Footer */
.footer {
    font-size: 1.1rem; /* Mantenemos este, ya que es el tamaño base del footer */
    background: linear-gradient(135deg, #1D2F6F 0%, #0d47a1 100%);
    color: white;
    padding: 3rem 2rem 1rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.footer-section h4 {
    font-size: 2rem; /* Agrandado de 1.8rem a 2rem */
    margin-bottom: 1rem;
    color: #ffeb3b;
    font-weight: 700;
}

.footer-section p {
    font-size: 1.1rem; /* Agrandado de 0.95rem a 1.1rem */
    margin-bottom: 0.5rem;
}

.footer-section ul { /* Añadido para los ítems de lista en el footer */
    list-style: none; /* Eliminar viñetas si las hubiera */
    padding: 0;
    margin: 0;
}

.footer-section ul li { /* Agrandar las letras de los ítems de lista del horario */
    font-size: 1.05rem; /* Ajusta según necesites */
    margin-bottom: 0.3rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-section a img {
    width: 45px; /* Agrandado de 35px a 45px */
    height: 45px; /* Agrandado de 35px a 45px */
    border-radius: 50%;
    background: #ffeb3b;
    padding: 5px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.footer-section a img:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,235,59,0.3);
    color: #e3f2fd;
    font-size: 1rem; /* Agrandado de 0.9rem a 1rem */
}

/* Responsive */
@media (max-width: 1024px) {
    .header-content, .carousel-container, .about, .form-container, .footer-content {
        padding: 0 1rem;
    }

    .hero-content h2 {
        font-size: clamp(2rem, 8vw, 3.5rem);
    }
    .hero-content p {
        font-size: clamp(1rem, 2.5vw, 1.8rem);
    }

    .carousel {
        height: 350px;
    }

    .about-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    /* Ocultar el nav normal y mostrar hamburguesa en pantallas más pequeñas */
    .nav {
        display: none; /* Ocultar la navegación por defecto en móviles */
    }

    .hamburger-menu {
        display: flex; /* Mostrar el botón de hamburguesa */
        flex-direction: column;
        justify-content: space-between;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: row; /* Mantener en fila el logo y el botón de hamburguesa */
        justify-content: space-between; /* Distribuye el espacio entre logo y hamburguesa */
        align-items: center;
        gap: 0; /* No gap entre logo y hamburguesa */
    }

    .logo {
        margin-bottom: 0;
        margin-right: 0; /* Eliminar margen derecho cuando está en modo móvil */
    }

    .nav {
        /* Estilos para el menú móvil */
        display: flex; /* Se cambia a flex para controlar su visualización */
        position: absolute;
        top: 70px; /* Ajusta según la altura de tu header */
        left: 0;
        width: 100%;
        background: linear-gradient(135deg, #1D2F6F 0%, #1D2F6F 100%); /* Fondo del menú desplegable */
        flex-direction: column;
        align-items: center;
        padding: 1rem 0;
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
        z-index: 999; /* Debajo del botón de hamburguesa */
    }

    .nav.nav-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav ul {
        flex-direction: column;
        width: 100%;
        align-items: center;
        gap: 0.8rem; /* Espacio entre los elementos del menú */
    }

    .nav a {
        width: 90%;
        max-width: 300px;
        text-align: center;
        padding: 0.8rem 1rem; /* Aumentar el padding para hacer clic más fácilmente */
        background: rgba(255,235,59,0.1); /* Ligero fondo para los elementos del menú */
        border-radius: 5px;
    }

    .nav a:hover {
        background: rgba(255,235,59,0.3);
    }

    .hero-content h2 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .carousel {
        height: 300px;
    }

    .carousel-nav {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }

    .carousel-content h3 {
        font-size: 1.5rem;
    }

    .carousel-content p {
        font-size: 0.9rem;
    }

    .about h3, .tour-description h3, .ethnia-day h3 {
        font-size: 2rem;
    }

    .tour-description, .ethnia-day {
        padding: 20px 15px;
    }

    .image-gallery {
        flex-direction: column;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-section h4 {
        font-size: 1.8rem; /* Ajustado para pantallas más pequeñas */
    }

    .footer-section p, .footer-section ul li, .footer-bottom { /* Ajustado para pantallas más pequeñas */
        font-size: 0.95rem;
    }

    .footer-section a img { /* Ajustado para pantallas más pequeñas */
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .header-content {
        padding: 0 1rem;
    }
    .logo h1 {
        font-size: 1.5rem;
    }

    .nav a {
        width: 90%;
    }

    .hero-content h2 {
        font-size: 1.8rem;
    }
    .hero-content p {
        font-size: 0.9rem;
    }
    .cta-button {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }

    .carousel {
        height: 250px;
    }

    .carousel-content h3 {
        font-size: 1.2rem;
    }
    .carousel-content p {
        font-size: 0.8rem;
    }

    .about-card {
        padding: 1.5rem;
    }
    .about-card h4 {
        font-size: 1.1rem;
    }
    .about-card p {
        font-size: 0.9rem;
    }

    .tour-description h3, .ethnia-day h3 {
        font-size: 1.8rem;
    }
    .tour-description p, .ethnia-day p {
        font-size: 0.9rem;
    }

    .form-container {
        padding: 1.5rem;
    }
    .form-container h2 {
        font-size: 1.5rem;
    }
    .form-group input, .form-group select, .form-group textarea {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
    .submit-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .footer-section h4 {
        font-size: 1.6rem; /* Ajustado aún más para pantallas muy pequeñas */
    }

    .footer-section p, .footer-section ul li, .footer-bottom { /* Ajustado aún más para pantallas muy pequeñas */
        font-size: 0.9rem;
    }

    .footer-section a img { /* Ajustado aún más para pantallas muy pequeñas */
        width: 35px;
        height: 35px;
    }
}

/* WhatsApp Floating Button */
.whatsapp-float-button {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4.5rem; /* Agrandado de 3.5rem a 4.5rem */
    height: 4.5rem; /* Agrandado de 3.5rem a 4.5rem */
    background-color: #48bb78; /* bg-green-500 */
    color: #fff;
    border-radius: 9999px; /* rounded-full */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); /* shadow-lg */
    transition: all 150ms ease-in-out;
}

.whatsapp-float-button:hover {
    background-color: #38a169; /* hover:bg-green-600 */
    transform: scale(1.1);
}

/* Ajustes específicos para la imagen de WhatsApp dentro del botón */
.whatsapp-float-button img {
    width: 55px; /* Agrandado de 45px a 55px */
    height: 55px; /* Agrandado de 45px a 55px */
}
/* --- Sección Promoción Prematrícula (mejorada) --- */
.promo {
  background: linear-gradient(135deg, #f6f9ff, #e6efff);
  padding: 3rem 1.5rem;
  border-radius: 15px;
  margin: 2rem auto;
  max-width: 1200px; /* igual al resto */
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.promo-container {
  display: grid;
  grid-template-columns: 1.2fr 1fr; /* texto más ancho que imágenes */
  gap: 2rem;
  align-items: center;
}

.promo-badge {
  display: inline-block;
  background: #ffeb3b;
  color: #1D2F6F;
  font-weight: 800;
  border-radius: 9999px;
  padding: 0.25rem 0.75rem;
  margin-bottom: 0.75rem;
  box-shadow: 0 2px 8px rgba(255,235,59,0.35);
}

.promo-text h2 {
  color: #1D2F6F;
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  margin-bottom: 0.75rem;
}

.promo-text p {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  color: #333;
}

.promo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1rem 0 0.5rem;
}

.cta-secondary {
  display: inline-block;
  padding: 0.85rem 1.2rem;
  border-radius: 9999px;
  text-decoration: none;
  font-weight: 700;
  border: 2px solid #1D2F6F;
  color: #1D2F6F;
  transition: all .2s ease;
}
.cta-secondary:hover { transform: translateY(-2px); background: rgba(29,47,111,.06); }

.cta-whatsapp {
  display: inline-block;
  padding: 0.85rem 1.2rem;
  border-radius: 9999px;
  text-decoration: none;
  font-weight: 700;
  background: #25D366;
  color: #fff;
  transition: transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 6px 16px rgba(37,211,102,0.35);
}
.cta-whatsapp:hover { transform: translateY(-2px); }

.promo-highlights {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  color: #2f3b66;
}
.promo-highlights li { margin: 0.25rem 0; }

.promo-fijo {
  margin: 2rem 0;
  padding: 1rem;
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.promo-fijo .promo-container {
  display: grid;
  grid-template-columns: 1.2fr 1fr; /* texto más ancho que imagen */
  gap: 2rem;
  align-items: center;
}

.promo-fijo .promo-gallery .carousel-cell {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
  min-height: 280px;
}

.promo-fijo .flyer-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 12px;
}

/* --- Carrusel (paginación + navegación) --- */
.flickity-page-dots {
  bottom: -25px;
}

.flickity-page-dots .dot {
  width: 10px;
  height: 10px;
  background: #bbb;
  border-radius: 50%;
  margin: 0 4px;
  opacity: 0.7;
  transition: background 0.3s;
}

.flickity-page-dots .dot.is-selected {
  background: #007bff;
  opacity: 1;
}

.flickity-prev-next-button {
  width: 36px;
  height: 36px;
  background: rgba(0,0,0,0.5);
  border-radius: 50%;
  transition: background 0.3s;
}

.flickity-prev-next-button:hover {
  background: rgba(0,0,0,0.8);
}

.flickity-prev-next-button .arrow {
  fill: white;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .promo-gallery .carousel-cell {
    min-height: 200px; /* 🔹 más compacto en móviles */
  }
  .promo-gallery .carousel-cell img {
    max-height: 320px;
  }
}

/* 🔹 En móviles */
@media (max-width: 768px) {
  .promo-gallery img {
    max-height: 320px;
  }
}


/* 🔹 En móviles, reducimos el alto máximo */
@media (max-width: 768px) {
  .promo-gallery img {
    max-height: 320px;
  }
}

/* Dots de Flickity más visibles sobre fondo claro */
.flickity-page-dots .dot {
  background: rgba(29,47,111,.25);
  border: 1px solid rgba(29,47,111,.35);
}
.flickity-page-dots .dot.is-selected {
  background: #ffeb3b;
  border-color: #ffeb3b;
}

/* Responsive */
@media (max-width: 1024px) {
  .promo-container { grid-template-columns: 1fr; }
  .promo { padding: 2.2rem 1.25rem; }
}
@media (max-width: 480px) {
  .promo-actions a { width: 100%; text-align: center; }
}

/* Contenedor de anuncios (apila varios) */
.ads-section{
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
}
.ads-section .promo{ margin-bottom: 1.5rem; }
.ads-section .promo:last-child{ margin-bottom: 0; }

/* (Reutiliza tu CSS existente de .promo y .promo-container) */
/* Si quieres compactar la altura cuando haya muchos anuncios: */
@media (max-width: 1024px){
  .ads-section .promo{ padding: 2.2rem 1.25rem; }
}
/* 🔹 Celdas del carrusel */
.carousel-cell {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;       /* ocupa todo el ancho disponible */
  min-height: 400px; /* altura mínima para que siempre se vea */
  background: #fff;  /* fondo blanco alrededor */
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
}

/* 🔹 Imágenes dentro del carrusel */
.carousel-cell .flyer-img {
  max-width: 100%;    /* que no se pase del ancho */
  max-height: 100%;   /* que no se pase de la celda */
  object-fit: contain;/* siempre se ve completa */
  object-position: center;
  border-radius: 12px;
}

/* 🔹 En móviles */
@media (max-width: 768px) {
  .carousel-cell {
    min-height: 280px;
  }
}
.promo-fijo {
  margin: 2rem 0;
  padding: 1rem;
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.promo-fijo .promo-text {
  margin-bottom: 1rem;
}

.promo-fijo .promo-actions a {
  margin-right: 0.5rem;
  margin-top: 0.5rem;

/* Parte del video de ig*/
}
/* Contenedor de la sección campestre */
.campestre-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  background: #f0f6ff;
  border-radius: 12px;
  padding: 30px;
}

/* Columna izquierda (texto y botones) */
.campestre-left {
  flex: 1;
  min-width: 280px;
  padding-right: 20px;
}

/* Columna derecha (video de Instagram) */
.campestre-right {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

/* Ajustes del bloque de Instagram */
.campestre-right blockquote.instagram-media {
  max-width: 350px !important;
  margin: auto !important;
  background: #fff;
  border: 0;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  padding: 0;
}
/* Sección principal */
#videos {
  text-align: center;
  padding: 40px;
  background-color: #f9f9f9;
}

#videos h2 {
  color: #222;
  font-size: 1.8em;
  margin-bottom: 25px;
  font-weight: 700;
}

/* Contenedor del carrusel */
.carrusel {
  display: flex;
  overflow-x: hidden;           /* Scroll horizontal */
  scroll-behavior: smooth;    /* Desplazamiento suave */
  gap: 25px;
  padding: 5px;
  justify-content: flex-start;
}

/* Oculta scrollbar en navegadores */
.carrusel::-webkit-scrollbar {
  height: 8px;
}
.carrusel::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 10px;
}
.carrusel::-webkit-scrollbar-thumb:hover {
  background: #888;
}
/* Contenedor principal donde se coloca la imagen */
.video-container {
  width: 200px;  /* Ancho del contenedor más pequeño */
  height: 350px; /* Alto del contenedor más pequeño */
  display: flex;
  justify-content: center;
  align-items: center;
  background: #f6f4f4;  /* Fondo para asegurar que no quede vacío */
  overflow: hidden;  /* Evita que cualquier parte recortada sea visible */
  border-radius: 10px; /* Bordes redondeados */
  margin-bottom: 20px;  /* Espacio entre los contenedores */
}

/* Contenedor interno para controlar la imagen */
.video-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Imagen que se ajusta al contenedor */
.video-vertical {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Asegura que la imagen sea visible completa */
  object-position: center; /* Centra la imagen dentro del contenedor */
  border-radius: 10px; /* Bordes redondeados */
}

/* Ajustes para pantallas pequeñas */
@media (max-width: 600px) {
  .video-container {
    width: 100%;
    height: auto; /* Ajusta la altura automáticamente */
    padding: 10px; /* Espaciado dentro del contenedor */
  }

    .video-vertical {
        width: 120%; /* Hacer que la imagen ocupe un 20% más de lo normal */
        height: auto; /* Mantener la proporción */
        object-fit: contain; /* Asegura que la imagen no se recorte */
  }
}




/* Mensaje del primer video */
.mensaje-video {
  margin-top: 10px;
  font-size: 1em;
  color: #333;
  font-style: italic;
  line-height: 1.5;
}
/* Contenedor de cada tarjeta */
.video-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 90%;                /* se ajusta automáticamente */
    max-width: 320px;          /* tamaño ideal para carruseles verticales */
    margin: 0 auto;
}

/* Imagen dentro del carrusel */
.img-vertical {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
}

/* Texto debajo de la imagen */
.mensaje-video {
    margin-top: 10px;
    padding: 8px 12px;
    font-size: 1rem;
    text-align: center;
    color: #1D2F6F;
    line-height: 1.3;
    width: 100%;
}

/* Responsive para pantallas pequeñas */
@media (max-width: 480px) {
    .video-container {
        max-width: 260px;      /* más compacto para móvil */
    }

    .mensaje-video {
        font-size: 0.9rem;
        padding: 6px 10px;
    }
}

/* --- Sección Veranito Carrusel --- */
#veranito-carrusel {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  padding: 20px;
}

h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.carrusel-container {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.carousel {
  position: relative;
  width: 100%;
  max-width: 900px; /* puedes ajustar */
  overflow: hidden;
}

/* CONTENEDOR QUE SE MUEVE */
.carousel-items {
  display: flex;
  width: 100%;
  transition: transform 0.5s ease-in-out;
}

/* CADA SLIDE */
.carousel-item {
  flex: 0 0 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* IMÁGENES Y VIDEOS */
.carousel-media {
  width: 100%;
  max-height: 500px;
  object-fit: contain; /* CLAVE: no se recorta */
  border-radius: 10px;
}

/* Botones de Navegación */
.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  font-size: 2rem;
  cursor: pointer;
  border-radius: 50%;
  transition: background-color 0.3s;
}

.carousel-button:hover {
  background-color: rgba(0, 0, 0, 0.7);
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

/* Información */
.veranito-info {
  width: 100%;
  padding: 20px;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: left;
}

.veranito-info h3 {
  color: #003366;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.veranito-info h4 {
  color: #003366;
  font-weight: 600;
  margin-bottom: 10px;
}

.veranito-info ul {
  list-style-type: none;
  padding: 0;
}

.veranito-info ul li {
  color: #555555;
  margin-bottom: 8px;
}

.cta-button {
  background-color: #ffdd00;
  color: #003366;
  padding: 12px 20px;
  font-size: 1.1rem;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  margin-top: 20px;
}

.cta-button:hover {
  background-color: #e0c500;
}

/* Responsive */
@media (max-width: 768px) {
  .carrusel-container {
    flex-direction: column;
    align-items: center;
  }

  .carousel {
    width: 100%;
  }

  .veranito-info {
    width: 90%;
    margin-top: 20px;
  }
}
