:root {
    --primary-color: #ffb655;
    --secondary-color: #51dadf;
    --dark-color: #333;
    --light-color: #f4f4f4;
    --text-color: #555;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

/* === ESTILOS GENERALES === */
body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    background-image: url('BACK.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    margin: 0;
    text-align: justify;
    position: relative;
    color: #333;
}

body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9); /* Fondo translúcido */
    z-index: -1;
}

/* === SECCIÓN DE VALORACIONES === */
section {
    position: relative;
}

section h2, #titulo-seccion {
    font-size: 2.8rem;
    font-weight: 700;
    color: #1f2937;
    text-align: center;
}

section p, #subtitulo {
    text-align: center;
    color: #6b7280;
    margin-bottom: 3rem;
}

/* === BOTÓN PRINCIPAL === */
#btn-nueva-valoracion {
    background: linear-gradient(to right,#facc15, #fb923c);
    color: #fff;
    font-weight: 600;
    padding: 12px 40px;
    border: none;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    margin-top: -20px;
}

#btn-nueva-valoracion:hover {
    transform: scale(1.07);
    box-shadow: 0 6px 14px rgba(0,0,0,0.25);
}

/* === CARRUSEL === */
.relative {
    position: relative;
}

#carousel-container {
  display: flex;
  justify-content: flex-end; /* Alinea hacia la derecha */
  flex-wrap: wrap; /* Permite varias tarjetas por fila */
  gap: 10px; /* Espacio entre tarjetas */
}

#reviews-container {
    display: flex;
    gap: 2rem;
    transition: transform 0.7s ease-in-out;
}

/* === TARJETAS DE RESEÑAS === */
#reviews-container .bg-white {
    background: #fff;
    border-radius: 1.5rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    padding: 1.5rem;
    min-width: 280px;
    max-width: 320px;
    transition: all 0.3s ease;
}

#reviews-container .bg-white:hover {
    transform: translateY(-8px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

#reviews-container img {
    border-radius: 50%;
}

#reviews-container h3 {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 2px;
}

#reviews-container p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #4b5563;
}

/* === BOTONES DE NAVEGACIÓN === */
#btn-anterior,
#btn-siguiente {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    color: #2563eb;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    z-index: 10;
}

#btn-anterior:hover,
#btn-siguiente:hover {
    background-color: #fef08a;
    transform: translateY(-50%) scale(1.1);
}

/* === POSICIONES DE BOTONES === */
#btn-anterior {
    left: -40px;
}

#btn-siguiente {
    right: -40px;
}

/* === RESPONSIVIDAD === */
@media (max-width: 768px) {
    section h2 {
        font-size: 2rem;
    }

    #reviews-container {
        gap: 1rem;
    }

    #reviews-container .bg-white {
        min-width: 260px;
    }

    #btn-anterior, #btn-siguiente {
        display: none;
    }
}

@media (max-width: 480px) {
    #btn-nueva-valoracion {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
}

header {
    background: #fff;
    padding: 0px 2%;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 5px; /* espacio entre el logo y el texto */
}

.logo-img {
    height: 65px; /* tamaño del logo */
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    letter-spacing: 5px;
}

nav .logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary-color);
}

nav ul {
    list-style: none;
    display: flex;
    align-items: center;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 600;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--primary-color);
}

.cta-button, .cta-button-nav {
    background: var(--primary-color);
    color: #fff;
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.cta-button-nav {
    background: var(--secondary-color);
    color: var(--dark-color);
}

.cta-button:hover, .cta-button-nav:hover {
    transform: translateY(-3px);
    background-color: #5cc3c2;
}

.cta-button-nav:hover {
     background-color: #ffda44;
}



#hero {
    background: url('./hero-background.png') no-repeat center center/cover;
    color: #fff;
    height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 1rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #56fff7;
}

section {
    padding: 4rem 5%;
    text-align: center;
}

section h2 {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 2rem;
}

#features {
    background-color: var(--light-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 300px ;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.feature-card img {
    width: 60px;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.4rem;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}
h3 a {
    color: inherit; /* usa el color del h3 */
    text-decoration: none; /* quita el subrayado */
}

#curriculum {
    background-color: #fff;
}

.curriculum-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.module {
    background: var(--primary-color);
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    min-width: 280px;
}
.bodys {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #aae5ec;
    color: #333;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

#courses {
    width: 100%;
    padding: 20px 0;
    text-align: center;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 15px;
}

h2 {
    font-size: 45px;
    margin-bottom: 0px;
    color: #1a253c;
    line-height: 0;
    padding-top: 20px;
}

h4 {
    font-size: 45px;
    margin-bottom: 0px;
    color: #1a253c;
    line-height: 0;
    margin-bottom: 50px;
}
/* Modal */
.modal-oculto {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-contenido {
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  width: 90%;
  max-width: 450px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  position: relative;
  text-align: center;
  animation: fadeIn 0.4s ease;
}

.cerrar {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  color: #999;
  cursor: pointer;
  transition: color 0.3s ease;
}
.cerrar:hover { color: #e74c3c; }

.titulo-modal {
  font-size: 24px;
  font-weight: 700;
  color: #ff7b00;
  margin-bottom: 20px;
}

#form-valoracion input,
#form-valoracion textarea {
  width: 100%;
  margin: 10px 0;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #ddd;
  font-size: 16px;
}

/* Estrellas */
.estrellas {
  display: flex;
  justify-content: center;
  gap: 6px;
  font-size: 30px;
  color: #ccc;
  cursor: pointer;
  margin: 10px 0 20px;
  transition: color 0.3s ease;
}

.estrellas span:hover,
.estrellas span:hover ~ span {
  color: gold;
}

/* Estrellas seleccionadas */
.estrellas .selected {
  color: gold;
}

/* Mensaje de error */
.mensaje-error {
  color: #e74c3c;
  font-weight: 500;
  margin-top: 10px;
  display: none;
}

textarea#comentario {
  resize: none; /* Desactiva cualquier redimensionamiento */
  width: 100%;
  min-height: 100px;
  max-height: 200px;
  padding: 12px;
  border-radius: 12px;
  border: 2px solid #ffe0b2;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  font-size: 1rem;
  overflow: auto; /* Si se pasa del máximo, muestra scroll */
}
.tarjeta-comentario {
  background: #fff;
  border: 2px solid #ffe0b2;
  border-radius: 15px;
  padding: 20px;
  margin: 10px;
  width: 250px;           /* Ancho fijo */
  height: 280px;          /* Alto igual al ancho = cuadrado */
  text-align: center; /* Centra todo */
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
  font-size: 0.9rem;
  transition: all 0.3s ease;
}
.comentario-usuario {
  color: #444;
  font-size: 1rem;
  line-height: 1.4; /* Ajusta el interlineado */
  text-align: justify;  
}
.tarjeta-comentario:hover {
  box-shadow: 0 8px 18px rgba(0,0,0,0.15);
}

.nombre-usuario {
  color: #ff7b00;
  font-weight: 700;
  margin-bottom: 5px;
}

.curso-usuario {
  font-weight: 500;
  color: #555;
  margin-bottom: 10px;
}

.estrellas-valoracion {
  color: #ffc107; /* Amarillo */
  font-size: 1.1rem;
  margin-bottom: 10px;
}

/* Botón de enviar */
#btn-enviar {
  background: linear-gradient(to right, #ff9d00, #ff6b00);
  color: #fff;
  font-weight: 700;
  border: none;
  padding: 12px 50px;
  border-radius: 30px;
  cursor: pointer;
  box-shadow: 0 6px 15px rgba(255, 140, 0, 0.4);
  transition: all 0.3s ease;
  font-size: 16px;
  margin-top: 10px;
}

#btn-enviar:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 20px rgba(255, 140, 0, 0.5);
  background: linear-gradient(to right, #ffb347, #ff7a00);
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}
.section-subtitle {
    font-size: 25px;
    color: #5a677d;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Estilos del carrusel y tarjetas de curso */
.course-swiper {
    padding: 10px 90px; /* Espacio para los botones de navegación */
}

.course-card {
    text-align: center;
    cursor: pointer;
    
}

.course-card h3 {
    margin-top: 20px;
    font-size: 1.2rem;
    color: #1a253c;
    transition: color 0.3s ease;
}

.course-card:hover h3 {
    color: #ff9100;
}

.course-icon-container {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #ffffff;
}

.course-icon-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-icon-container:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 122, 255, 0.2);
}

/* Capa de información superpuesta */
.course-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffb655;
    color: #000000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 60%;
}

.course-icon-container:hover .course-overlay {
    opacity: 1;
}

.course-overlay p {
    margin: 0 0 5px 0;
    font-size: 1rem;
    line-height: 1.1;
    font-family: cursive;
}

.btn {
    background-color: #fff;
    color: #354eab;
    padding: 7px 10px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn:hover {
    background-color: #e5e5e5;
}


.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 20px;
    cursor: pointer;
    margin-left: 10px; /* separación respecto al logo */
}

.hamburger span {
    display: block;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: 0.3s;
}

#rating-stars {
  display: flex;
  justify-content: center;  /* Centra las estrellas */
  gap: 10px;                /* Espacio entre ellas */
  margin: 10px 0;
}

#rating-stars span {
  font-size: 2.5rem;       /* Tamaño grande */
  cursor: pointer;
  color: #ccc;             /* Color base gris */
  transition: all 0.3s ease;
  display: inline-block;
}

/* Estrellas activas (hover o seleccionadas) */
#rating-stars span.hovered,
#rating-stars span.selected {
  color: #FFD700;           /* Amarillo dorado */
  transform: scale(1.2);    /* Efecto de agrandar */
  filter: drop-shadow(0 0 2px rgba(0,0,0,0.2));
}

/* Hover: efecto más marcado */
#rating-stars span.hovered {
  transform: scale(1.3);
  filter: drop-shadow(0 2px 6px rgba(255,215,0,0.5));
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        background: white;
        position: absolute;
        top: 70px; /* debajo del header */
        left: 0;
        padding: 1rem 0;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        z-index: 999;
    }
    nav ul li {
        margin: 1rem 0;
        text-align: center;
    }
    nav ul.show {
        display: flex;
    }
}


/* Responsive Design */
@media (max-width: 768px) {
    .header-content h1 {
        font-size: 2.2rem;
    }
    
    .main-header {
        clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
    }

    #courses-section {
        margin-top: -3rem;
    }
}
@media (max-width: 600px) {
    #features h2 {
        font-size: 1.6rem;
        line-height: 2;
    }
    .feature-card {
        padding: 1.5rem 1rem;
    }
    .feature-card img {
        width: 50px;
        height: 50px;
    }
}
@media (max-width: 480px) {
    .courses-container {
        grid-template-columns: 1fr;
    }
    
    .header-content h1 {
        font-size: 1.8rem;
    }
    .header-content p {
        font-size: 1rem;
    }
}

section.bg-gradient-to-br {
  margin-bottom: 20px; /* antes 96px */
  padding-bottom: 40px; /* antes 64px */
}


#cta {
    background-color: var(--light-color);
    
}

#cta h2 {
    color: var(--dark-color);
    line-height: 1.2;
    margin-top: -60px;
}

.cta-content-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    background: #fff;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

@media(min-width: 992px) {
    .cta-content-wrapper {
        grid-template-columns: 1fr 1.5fr;
        padding: 4rem;
        gap: 4rem;
    }
    .cta-info {
        text-align: left;
    }
}

#cta p {
    margin: 1rem auto 0;
    font-size: 1.1rem;
    color: var(--text-color);
    margin-top: -20px;
}

#contact-form {
    margin: 0;
    text-align: left;
}

.form-group {
    margin-bottom: 1.5rem;
}

.input-group {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

@media(min-width: 576px) {
    .input-group {
        grid-template-columns: 1fr 1fr;
    }
}

#contact-form input,
#contact-form select {
    width: 100%;
    padding: 0.9rem 1rem;
    border-radius: 12px;
    border: 1px solid #ddd;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    background-color: #f7f7f7;
    color: var(--text-color);
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

#contact-form input:focus,
#contact-form select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.4);
    background-color: #fff;
}

#contact-form input::placeholder {
    color: #999;
}

/* Style for the placeholder option */
#contact-form select:invalid {
    color: #999;
}

#contact-form button[type="submit"] {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    background: #ffb655;
    color: #fff;
    border-radius: 50px;
    font-weight: 600;
}

#contact-form button[type="submit"]:hover {
    background-color:#5cc3c2;
    transform: translateY(-2px);
}

footer {
    background-color: #2c3e50;
    color: white;
    padding: 25px 0;
    text-align: center;
    width: 100%;
}

.social-media {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px; /* Space between icons */
    margin-bottom: 15px;
}

.social-media a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px; 
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-media a:hover {
    color: #3498db; 
    transform: translateY(-3px); 
}

/* Icon specific styles */
.social-media i {
    font-size: 1.8rem;
}

.footer-text {
    font-size: 0.9rem;
    color: #bdc3c7;
    margin-top: 10px;
}
@media (max-width: 600px) {
    .social-media {
        gap: 15px; /* menos espacio entre íconos */
    }
    .social-media i {
        font-size: 1.3rem; /* íconos más pequeños */
    }
    .footer-text {
        font-size: 0.8rem; /* texto más legible en móvil */
    }
}

@media (max-width: 768px) {
    nav ul {
        display: none; /* Simple responsive behavior for now */
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }
    
    section h2 {
        font-size: 2rem;
    }
}
/* ===== Sección de comentarios ===== */
.seccion-comentarios {
  text-align: center;
  padding: 40px 20px;
  background-color: #fff;
}

/* ===== Carrusel principal ===== */
.comentarios-swiper {
  position: relative;
  padding: 20px 40px;
  width: 100%;
  box-sizing: border-box;
  overflow: visible; 
}

/* ===== Contenedor de tarjetas ===== */
.swiper-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 12px; /* 🔹 Espacio reducido entre tarjetas */
   height: auto !important;
    align-items: stretch !important;
}

/* ===== Tarjetas individuales ===== */
.tarjeta-comentario {
  background: #fff;
  border: 2px solid #ffd18b;
  border-radius: 20px;
  padding: 18px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 260px; /* 🔹 Tamaño ideal para 4 tarjetas por vista */
}

.tarjeta-comentario:hover {
  transform: translateY(-5px);
}

/* ===== Texto dentro de las tarjetas ===== */
.nombre-usuario {
  color: #ff7b00;
  font-weight: bold;
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.curso-usuario {
  font-weight: 600;
  margin-bottom: 10px;
  color: #333;
}

.estrellas-valoracion {
  font-size: 1.2rem;
  color: #ffb400;
  margin-bottom: 10px;
}

.comentario-usuario {
  color: #444;
  font-size: 0.95rem;
  line-height: 1.4;
  text-align: justify;
}

/* ===== Flechas del carrusel ===== */
.swiper-button-prev,
.swiper-button-next {
  position: absolute; /* ✅ Imprescindible para que se posicionen correctamente */
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: #ff7b00;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  z-index: 50;
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease;
}

.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 25px; /* 🔽 Ajusta este valor según el tamaño que quieras */
}


.swiper-button-prev:hover,
.swiper-button-next:hover {
  transform: translateY(-50%) scale(1.1);
  background: #fff5e6;
}

/* ===== Flechas del comentarios ===== */
.comentario-button-prev,
.comentario-button-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;       /* círculo pequeño */
  height: 44px;
  border-radius: 50%;
  background: #ff7b00;
  color: #ffffff;
  font-size: 30px;   /* flecha más grande pero que quepa en el círculo */
  text-align: center;
  line-height: 1;    /* centra verticalmente la flecha */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  z-index: 50;
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease;
  transform: translateY(-50%) translateY(-4px); 
}

.comentario-button-prev:hover,
.comentario-button-next:hover {
  transform: translateY(-50%) scale(1.1);
  background: #fff5e6;
}

.comentario-button-prev {
  left: -45px;  /* más a la izquierda */
}

.comentario-button-next {
  right: -45px; /* más a la derecha */
}


/* ===== Responsivo ===== */
@media (max-width: 1024px) {
  .tarjeta-comentario {
    width: 220px; /* 🔹 Más angostas en pantallas medianas */
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  .comentarios-swiper {
    padding: 10px;
  }

  .swiper-wrapper {
    gap: 8px;
  }

  .tarjeta-comentario {
    width: 90%; /* 🔹 Una por fila en móviles */
    margin: 0 auto;
  }

  .swiper-button-prev,
  .swiper-button-next {
    width: 36px;
    height: 36px;
    top: 45%; /* 🔹 Más arriba en pantallas pequeñas */
  }
}
