 body {
     font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
     background-color: #f8f9fa;
     margin: 0;
 }

 .hero {
     background: linear-gradient(135deg, #004080, #0066cc);
     color: white;
     text-align: center;
     padding: 70px 20px;
     position: relative;
 }

 .hero h1 {
     font-size: 2.5rem;
     font-weight: 700;
     margin-bottom: 15px;
 }

 .hero p {
     font-size: 1.2rem;
     max-width: 700px;
     margin: 0 auto 30px;
     opacity: 0.95;
 }

 .hero img {
     max-width: 100%;
     max-height: 300px;
     border-radius: 16px;
     box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
     margin-top: 20px;
     object-fit: cover;
 }

 .section-form {
     background-color: #fff;
     padding: 60px 20px;
     box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05);
 }

 .section-form h2 {
     text-align: center;
     margin-bottom: 40px;
     color: #004080;
     font-weight: 600;
 }

 .form-control {
     margin-bottom: 20px;
     border-radius: 10px;
     border: 1px solid #ced4da;
     padding: 12px 16px;
 }

 textarea.form-control {
     resize: vertical;
     min-height: 120px;
 }

 .btn-submit {
     background: linear-gradient(to right, #004080, #0066cc);
     border: none;
     padding: 14px;
     font-size: 1.1rem;
     font-weight: 600;
     border-radius: 10px;
     transition: transform 0.2s, box-shadow 0.2s;
 }

 .btn-submit:hover {
     transform: translateY(-2px);
     box-shadow: 0 6px 15px rgba(0, 64, 128, 0.3);
 }

 footer {
     background-color: #1a1a1a;
     color: #f0f0f0;
     text-align: center;
     padding: 25px 0;
     font-size: 0.95rem;
 }

 footer a {
     color: #4fc3f7;
     text-decoration: none;
     font-weight: 600;
 }

 footer a:hover {
     text-decoration: underline;
     color: #81d4fa;
 }

 .lang-toggle {
     position: absolute;
     top: 15px;
     right: 15px;
     width: 130px;
     z-index: 1000;
 }

 .lang-toggle .form-select {
     border-radius: 8px;
     font-size: 0.9rem;
 }

 @media (max-width: 768px) {
     .hero h1 {
         font-size: 2rem;
     }

     .hero p {
         font-size: 1rem;
     }

     .hero img {
         max-height: 220px;
     }
 }

 /*****cookies*******/


 #cookie-banner {
     position: fixed;
     bottom: 0;
     left: 0;
     width: 100%;
     background: #222;
     color: #fff;
     padding: 15px;
     display: none;
     justify-content: space-between;
     align-items: center;
     gap: 15px;
     z-index: 1000;
     flex-wrap: wrap;
 }

 #cookie-banner p {
     flex: 1;
     margin: 0;
     font-size: 14px;
     line-height: 1.4;
 }

 #cookie-banner a {
     color: #4da6ff;
     text-decoration: underline;
 }

 #accept-cookies {
     background: #4da6ff;
     border: none;
     padding: 8px 16px;
     color: #fff;
     font-weight: bold;
     border-radius: 4px;
     cursor: pointer;
 }

 .footer-logo {
     text-align: center;
     margin-top: 1rem;
     /* separa un poco del texto */
 }

 .footer-logo-encabezado {
     text-align: center;
     margin-top: -40px;
     /* separa un poco del texto */
 }

.footer-logo img,
.footer-logo-encabezado img {
    max-width: 160px;
  
    height: auto;
}

#cta {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    background-color: rgb(254, 204, 58);
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    text-align: center;
    word-break: break-word;
    width: 100%;
    box-sizing: border-box;
}


 /*************input telefono*********/


/* Forzar que el contenedor de intl-tel-input ocupe todo el ancho */
.iti {
    width: 100%;
}

.iti--separate-dial-code .iti__selected-dial-code {
    padding-left: 0.5rem;
    /* opcional, ajusta espacio del código */
}


/***************modal envio whasapp***********/

.thank-you-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 15px;
}

.thank-you-modal-content {
    background: #fff;
    padding: 30px 20px;
    max-width: 400px;
    width: 100%;
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
    position: relative;
    font-family: Arial, sans-serif;
}

.thank-you-modal-content p {
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.4;
    color: #333;
}

.thank-you-modal-content button {
    padding: 10px 20px;
    border: none;
    background: #fecc3a;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
}

.thank-you-modal-content button:hover {
    background: #e6b93c;
}

@media (max-width: 480px) {
    .thank-you-modal-content {
        padding: 20px 15px;
        font-size: 0.9rem;
    }
}







/* Estilo general */
.feria-info {
    display: block;
    width: 90%;
    max-width: 400px;
    text-align: center;
    margin: 15px auto 0 auto;
    font-weight: 600;
    font-size: 1.1rem;
    /* tamaño por defecto en escritorio */
    color: #2c3e50;
    background-color: #fecc3a;
    padding: 8px 15px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: -50px;
}

/* Ajuste para móviles */
@media (max-width: 576px) {
    .feria-info {
        font-size: 0.9rem;
        /* más pequeño en móviles */
        padding: 6px 10px;
        /* menos padding para que se vea más compacto */
    }
}


.hero h1 {
    white-space: pre-line; /* Respeta los saltos de línea \n */
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}



   .modal-img {
       max-width: 45%;
       height: auto;
   }