/*
Colores rellenas
azul: #171c8f
Rojo: #
Negro plomo: #060e00
Celeste: #cdeefb

*/

@font-face {
  font-family: 'Fraunces';
  src: url('../fonts/Fraunces-VariableFont.ttf') format('truetype');
}
@font-face {
  font-family: 'Urbanist';
  src: url('../fonts/Urbanist-VariableFont_wght.ttf') format('truetype');
}
@font-face {
  font-family: 'FrauncesBlack';
  src: url('../fonts/Fraunces_72pt-Black.ttf') format('truetype');
}
@font-face {
  font-family: 'UrbanistExtraBold';
  src: url('../fonts/Urbanist-ExtraBold.ttf') format('truetype');
}
@font-face {
  font-family: 'UrbanistBold';
  src: url('../fonts/Urbanist-Bold.ttf') format('truetype');
}

/* CONTENEDOR CENTRADO PERSONALIZADO */
.container-custom {
    max-width: 950px;
    margin: 0 auto;
    padding: 0 15px;
}

/* HEADER */
.header {
    background: #171c8f;
    padding: 7px 0;
    color: #ffffff;
    font-family: 'UrbanistBold';
}

.navbar-brand img {
    height: 60px;
}

/* MENÚ */
.navbar-nav .nav-link {
    position: relative;
    margin-left: 20px;
    font-weight: 500;
    transition: all 0.3s ease;
     font-family: 'UrbanistExtraBold';
    color: #fff;
}

/* EFECTO HOVER */
.navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #cdeefb;
    transition: width 0.3s;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

.navbar-nav .nav-link:hover {
    color: #cdeefb;
}

/* fondos secciones  */
.banner img {
    width: 100%;
    height: auto;
    display: block;
}
.galles img {
    width: 100%;
    height: auto;
    display: block;
}
.premios img {
    width: 100%;
    height: auto;
    display: block;
}
.reglas img {
    width: 100%;
    height: auto;
    display: block;
}

/* SECCIÓN CON FONDO */
.seccion-fondo {
    background-image: url('fondo.jpg');
    background-size: contain; /* imagen completa */
    background-repeat: no-repeat;
    background-position: center;
    min-height: 400px;

    display: flex;
    align-items: center;
    justify-content: center;
}

/* CONTENIDO */
.contenido {
    background: rgba(0,0,0,0.5);
    padding: 20px;
    border-radius: 10px;
}

/* FOOTER */
.footer {
    background: #171c8f;
    padding: 20px 0;
    color: #fff;
}

.footer img {
    height: 30px;
    margin-bottom: 10px;
}

/* MENÚ FOOTER */
.menu-footer a {
    margin: 0 10px;
    text-decoration: none;
    color: #fff;
    transition: color 0.3s;
}

.menu-footer a:hover {
    color: #007bff;
}

/* RESPONSIVE AJUSTES */
@media (max-width: 768px) {
    .navbar-nav .nav-link {
        margin-left: 0;
        padding: 10px 0;
    }

    .menu-footer {
        margin-top: 10px;
    }

    .contenido h2 {
        font-size: 1.5rem;
    }

    .contenido p {
        font-size: 0.9rem;
    }
}

/* vale vale vale vale */

/* BOTÓN */
.hero-btn {
    display: inline-block;
    padding: 5px 60px;
  /* original  background: linear-gradient(90deg, #f2c14e, #e0a800); */
    background: linear-gradient(90deg, #a87d39, #ecdaa0);
    color: #0b2a8f;
    font-weight: bold;
    border-radius: 30px;
    border-color: #eab60b 1px solid;
    text-decoration: none;
    transition: 0.3s;
    font-family: 'UrbanistBold';
}

.hero-btn:hover {
    transform: scale(1.05);
}

/* footer val vale */
footer{
background: #171c8f;
color:white;
padding:30px 0;
}

.footer{
display:grid;
grid-template-columns:1fr 1fr 1fr;
}

/* seccion footer ew */

/* FONDO GENERAL */
.seccion-footer-bg {
    background: #171c8f;
    padding-top: 0px;
}

/* BLOQUE NEGRO FULL WIDTH */
.footer-box {
    background: #171c8f;
    padding: 0px; /* era esto padding: 50px 0;*/
    color: #fff;
    width: 100%;
}

/* CONTENIDO INTERNO CENTRADO */
.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

/* GRID */
.footer-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

/* COLUMNAS */
.footer-col-1 { width: 50%; }
.footer-col-2 { width: 30%; }
.footer-col-3 { width: 20%; }

/* LOGO */
.footer-logo img {
    max-width: 180px;
    width: 100%;
}

/* MENu */
.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline !important;
      font-family: 'UrbanistBold';
}

.footer-menu li {
    margin-bottom: 10px;
}

.footer-menu a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
}

.footer-menu a:hover {
    text-decoration: underline;
}

/* REDES */
.footer-social a {
    color: #fff;
    font-size: 20px;
    margin-right: 15px;
    transition: 0.3s;
}

.footer-social a:hover {
    transform: scale(1.2);
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .footer-col-1 { width: 100%; margin-bottom: 30px; }
    .footer-col-2,
    .footer-col-3 { width: 50%; }
}

@media (max-width: 576px) {
    .footer-col-2,
    .footer-col-3 { width: 100%; margin-bottom: 20px; }
}

/* form contacto miercoles */

/* SECCIÓN CON FONDO (AHORA COVER) */
.seccion-form-bg {
    background-image: url('../images/fondoForm1200b.jpg');
    background-size: cover; /* 🔥 cambio clave */
    background-position: center;
    background-repeat: no-repeat;

    min-height: 100vh; 
  /* func ok  min-height: 845px !important;*/

    display: flex;
    align-items: center;
}

/* CENTRADO REAL */
.form-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
}

/* FORM */
.form-container {
    background: #fff;
    padding: 30px;
    margin-bottom: 0px;
    margin-top: 40px;
    border-radius: 16px;
    max-width: 950px;
    width: 100%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* TITULOS */
.form-container h1 {
    margin-bottom: 5px;
    font-family: 'UrbanistExtraBold';
}

.form-container p {
    color: #666;
    margin-bottom: 25px;
    font-family: 'UrbanistBold';
}

/* INPUTS */
.form-container input,
.form-container select {
    width: 100%;
    padding: 14px;
    border-radius: 10px;
    border: 1px solid #ddd;
    margin-bottom: 10px;
    font-family: 'UrbanistBold';
}

/* GRID */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.grid-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 15px;
}

/* CAMPOS */
.field {
    display: flex;
    flex-direction: column;
    font-family: 'UrbanistBold';
}

.field label {
    margin-bottom: 5px;
    margin-top: 10px;
    font-family: 'UrbanistBold';
}

/* CHECKBOX */
.checkbox {
    display: flex;
    align-items: center;
    margin: 15px 0;
    font-family: 'UrbanistBold';
}

.checkbox input {
    width: auto;
    margin-right: 10px;
    font-family: 'UrbanistBold';
}

/* BOTÓN */
.btn-submit {
    width: 100%;
    padding: 16px;
    border-radius: 10px;
    background-color: #8d8fd1;
    color: #fff;
    border: none;
    transition: 0.3s;
    font-family: 'UrbanistExtraBold';
    font-size: 20px;
}

.btn-submit:hover {
    background: #fff;
    color: #8d8fd1;
    border: 1px solid #8d8fd1;
}

/* 📱 RESPONSIVE REAL */
@media (max-width: 992px) {
    .grid-3 {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .form-container {
        padding: 20px;
    }

    .seccion-form-bg {
        padding: 40px 15px;
        min-height: auto;
    }
}