/* RESET GLOBAL BÁSICO */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Mulish', sans-serif;
    color: #000;
    background-color: #ffffff;
}


.cuerpo .carrusel {
  position: relative;
  justify-content: space-around;
  display: flex;
  align-items: center;
}

.cuerpo .carrusel-contenedor {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none; /* Firefox */
}

.cuerpo .carrusel-contenedor::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}

.cuerpo .tarjeta {
  flex: 0 0 auto;
  width: 260px;
  margin: 0 10px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

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

.cuerpo .tarjeta img {
  width: 100%;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.cuerpo .tarjeta h3 {
  font-family: 'Mulish', sans-serif;
  font-size: 1em;
  margin: 15px;
  color: #333;
}

.cuerpo .tarjeta a {
  display: inline-block;
  margin-bottom: 15px;
  color: #007bff;
  font-size: 1.5em;
  text-decoration: none;
}

.cuerpo .btn {
  background: none;
  border: none;
  font-size: 2em;
  cursor: pointer;
  color: #666;
  transition: color 0.2s ease;
}

.cuerpo .btn:hover {
  color: #000;
}

.cuerpo .prev {
  margin-right: 10px;
}

.cuerpo .next {
  margin-left: 10px;
}

.carrusel-container {
    position: relative;
    padding: 40px 0;
    max-width: 1200px;
    margin: auto;
}

.titulo-seccion {
    margin: 0 0 25px 20px;
    font-size: 34px;
    font-weight: 900;
}

.carrusel {
    display: flex;
    gap: 40px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 0 40px;
}
.carrusel::-webkit-scrollbar { display: none; }

.item {
    min-width: 280px;
    background: #fff;
}
.item img {
    width: 100%;
    border-radius: 12px;
    
}
.item h3 {
    margin-top: 10px;
    font-size: 14px;
    font-weight: bold;
}

.item .flecha {
    display: inline-block;
    margin-top: 8px;
    color: #1b80f2;
    font-size: 24px;
    text-decoration: none;
}

.carrusel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #ffffff;
    border: none;
    padding: 12px 16px;
    font-size: 22px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 10px #0002;
}
.prev { left: 0; }
.next { right: 0; }

.carrusel-btn:hover {
    background: #eaeaea;
}

/* ========= SECCIÓN DEMO (IMAGEN + FORM) ========= */

.demo-section {
    display: flex;
    background: #ffffff;
    padding: 40px 0;
    gap: 40px;
    align-items: flex-start;
    max-width: 1000px;
    margin: 0 auto;
}

.demo-img {
    flex: 1;
}

.demo-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.demo-form {
    flex: 1;
}

.demo-form h2 {
    font-size: 30px;
    font-weight: 900;
    color: #1b80f2;
    margin-bottom: 25px;
}

/* Layout general del form */
/* Formulario (columna derecha) */
.tagline {
  margin-top: 10px;
  color: #E0483A;
  font-size: 26px;
  line-height: 30px;
  font-weight: 900;
  text-align: center;
}

.tabla-formulario {
  margin-top: 30px;
  width: 100%;
  font-weight: 400;
  color: #000000;
  font-size: 14px;
}

.tabla-formulario tr {
  height: 24px;
}

.tabla-formulario td {
  padding: 4px 0;
}

.tabla-formulario input {
  width: 100%;
  border: 0;
  border-bottom: 1px solid darkgray;
  color: royalblue;
  height: 24px;
  background-color: #F6F5F5;
  font-family: inherit;
  font-size: 14px;
}

.tabla-formulario input[type="checkbox"] {
  width: 18px;
  height: 18px;
}

.tabla-formulario input[type="submit"] {
  background-color: #1b80f2;
  color: #ffffff;
  border: 0;
  cursor: pointer;
}

.tabla-formulario select {
  color: royalblue;
  width: 100%;
  height: 24px;
  border: 0;
  border-bottom: 1px solid darkgray;
  background-color: #F6F5F5;
  font-family: inherit;
  font-size: 14px;
}

.tabla-formulario a {
  color: #000000;
  font-weight: bold;
  text-decoration: none;
}

/* Botón */
.btn-enviar {
    background: #1b80f2;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    margin-top: 15px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
}

.btn-enviar:hover {
    background: #0f63c4;
}

.btn-enviar input[type="submit"] {
    background: transparent;
	border: none;
	color: #ffffff;
}

/* reCAPTCHA */
.recaptcha img {
    margin-top: 15px;
    width: 230px;
}


/* ========= RESPONSIVE ========= */

/* Tablets */
@media (max-width: 992px) {
    .intro p {
        font-size: 22px;
    }

    .contenido h2 {
        font-size: 24px;
    }

    .cta p {
        font-size: 22px;
    }

    .blue-banner h5 {
        font-size: 30px;
    }

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

    .demo-section {
        gap: 24px;
    }
}

/* Móviles */
@media (max-width: 768px) {

    .intro p {
        font-size: 20px;
    }

    .item {
        grid-template-columns: 40px 1fr 25px;
    }

    .number {
        font-size: 20px;
    }

    .info h3 {
        font-size: 18px;
    }

    .cta p {
        font-size: 20px;
    }

    .logos img {
        height: 45px;
    }

    .demo-section {
        flex-direction: column;
        padding: 30px 0;
    }

    .demo-img,
    .demo-form {
        width: 100%;
        padding: 8px;
    }

    .demo-form form .row {
        flex-direction: column;
        gap: 10px;
    }

    .checkbox-group .check-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .blue-banner {
        padding: 40px 20px;
    }
}

/* Móviles pequeños */
@media (max-width: 480px) {

    .intro p {
        font-size: 18px;
    }

    .item {
        grid-template-columns: 30px 1fr 20px;
    }

    .info h3 {
        font-size: 16px;
    }

    .info p {
        font-size: 14px;
    }

    .cta .btn {
        padding: 10px 30px;
        font-size: 14px;
    }

    .logos img {
        height: 40px;
    }
    
    .logo img {
        height: 25px;
    }

    .blue-banner h5 {
        font-size: 24px;
    }

    .banner-text {
        font-size: 16px;
    }
}


/* ===== TITULO ===== */
.titulo-noticias {
    max-width: 1100px;
    margin: 40px auto 25px;
    padding: 0 20px;
}

.titulo-noticias h1 {
    font-size: 42px;
    font-weight: 900;
}


/* ===== GRID DE TARJETAS ===== */
.noticias-grid {
    max-width: 1100px;
    margin: 0 auto 50px;
    padding: 0 20px;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.noticia-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.12);
    transition: .3s ease;
}

.noticia-card:hover {
    transform: translateY(-6px);
}

.noticia-card img {
    width: 100%;
}

.noticia-card h3 {
    padding: 16px 20px 5px;
    font-size: 18px;
    font-weight: 700;
}

.noticia-card a {
    padding: 10px 20px 20px;
    color: #1b80f2;
    font-size: 22px;
    text-decoration: none;
}


/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .noticias-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .noticias-grid {
        grid-template-columns: 1fr;
    }
}
