.form-check-label a.hover_form:hover {
    color: #9f8049 !important;
}
/* === 0. RESET & BASE === */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400..900&family=Onest:wght@100..900&display=swap');

html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* === 1. TIPOGRAFÍAS === */
.font-cinzel {
    font-family: 'Cinzel', serif;
}
.font-onest {
    font-family: 'Onest', sans-serif;
}

/* === 2. UTILIDADES === */
.f-60 { font-size: 60px; }
.f-48 { font-size: 48px; }
.f-32 { font-size: 32px; }
.f-24 { font-size: 24px; }
.f-18 { font-size: 18px; }
.mt-10 { margin-top: 8rem; }
.text-gray { color: #989898; }
.text-gold { color: #9f8049; }

/* === 3. LAYOUT Y SECCIONES === */
section#Cabecera {
    position: relative;
    height: 750px;
    min-height: 750px;
    overflow: hidden;
}
section#Cabecera::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
        url('/src/images/Header_Pacifico.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}
section#Cabecera > .container {
    position: relative;
    z-index: 2;
}

.imagen_cabecera{
    max-height: 120px;
    width: auto;
    margin: 0 auto;
}

section#Proyecto {
    position: relative;
    height: 700px;
    min-height: 700px;
    background-image: url('/src/images/fondoMachaDoradav1.png');
    background-size: contain;
    background-position: right;
    background-repeat: no-repeat;
    overflow: hidden;
}
section#Proyecto::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,0.7);
    z-index: 1;
    pointer-events: none;
}

#carouselExampleIndicators .carousel-item img {
    max-height: 80vh;   /* Ajusta este valor según lo que necesites */
    object-fit: contain;
    width: 100%;
    margin: 0 auto;
    display: block;
}


section#Proyecto > .container {
    position: relative;
    z-index: 2;
}

section#mapa{
    height: 700px;
}
#leafletmap{
    height: 100%;
    width: 100%;
    position: relative;
    z-index: 1;
}

section#Calidades{
    background-color: #9f8049;
    height: 523px;
    width: 100%;
}

section#Contacto {
    height: 620px;
    min-height: 420px;
    background-image: url('/src/images/fondo-contacto.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* === 4. FORMULARIO EMAIL === */
.email__personalizado.bg-transparent {
    border: 1px solid #fff;
    color: #fff;
}
.email__personalizado::placeholder {
    color: #fff !important;
    opacity: 1;
}

/* === 5. MARQUEE === */
.marquee {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    background: transparent;
    position: relative;
}
.marquee ul {
    display: inline-block;
    padding: 0;
    margin: 0;
    animation: marquee-left 15s linear infinite;
}

.marquee-rapida ul {
    animation-duration: 10s; /* Más rápida */
}

.marquee-lenta ul {
    animation-duration: 20s; /* Más lenta */
}

.marquee li {
    display: inline-block;
    margin: 0 2rem;
    font-size: 2rem;
    list-style: none;
}
@keyframes marquee-left {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-50%); }
}

/* === 6. CARRUSEL === */
#carouselUbicacion .carousel-item img {
    width: 500px !important;
    height: 500px !important;
    object-fit: cover;
    margin: 0 auto;
    display: block;
}
#carouselUbicacion .carousel-indicators [data-bs-target] {
    background-color: #fff;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    border: 2px solid #fff;
    margin: 0 6px;
    transition: background 0.3s;
}
#carouselUbicacion .carousel-indicators .active {
    background-color: #9f8049;
    border-color: #9f8049;
}

/* === 7. GALERÍA SWIPER === */
.gallery-img {
  width: 390px;
  height: 280px;
  object-fit: cover;
  border-radius: 8px;
}
.custom-swiper-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #9f8049;
    color: #9f8049;
    width: 32px;
    height: 32px;
    margin-left: 4px;
    border-radius: 0;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.2s;
    user-select: none;
}
.custom-swiper-btn.swiper-button-disabled {
    opacity: 0.5;
}

/* === 8. BOTONES === */
.btn-brochure {
    background-color: #9f8049;
    color: #fff;
    border: none;
    padding: 16px 48px;
    font-size: 1.25rem;
    border-radius: 0;
    font-family: inherit;
    font-weight: 400;
    text-align: center;
    transition: background 0.2s;
    display: inline-block;
}
.btn-brochure:hover,
.btn-brochure:focus {
    background-color: #8a6e3a;
    color: #fff;
    text-decoration: none;
}
.btn-brochure2 {
    background-color: #fff;
    color: #9f8049;
    border: none;
    padding: 16px 48px;
    font-size: 1.25rem;
    border-radius: 0;
    font-family: inherit;
    font-weight: 400;
    text-align: center;
    transition: background 0.2s;
    display: inline-block;
}
.btn-brochure2:hover,
.btn-brochure2:focus {
    background-color: #8a6e3a;
    color: #fff;
    text-decoration: none;
}
.btn-email {
    background-color: #9f8049;
    color: #fff;
    border: none;
    padding: 0 32px;
    font-size: 1rem;
    height: 48px;
    border-radius: 0;
    font-family: inherit;
    font-weight: 400;
    transition: background 0.2s;
    white-space: nowrap;
    display: inline-block;
}
.btn-email:hover,
.btn-email:focus {
    background-color: #8a6e3a;
    color: #fff;
    text-decoration: none;
}

/* === 9. MEDIA QUERIES: VERSIÓN MÓVIL BÁSICA === */
@media (max-width: 768px) {
    .f-60 { font-size: 2rem; }
    .f-48 { font-size: 1.5rem; }
    .f-32 { font-size: 1.2rem; }
    .f-24 { font-size: 1rem; }
    .f-18 { font-size: 0.95rem; }
    .mt-10 { margin-top: 2rem; }

    section#Cabecera,
    section#Proyecto,
    section#mapa,
    section#Calidades,
    section#Contacto {
        height: auto !important;
        min-height: unset !important;
        padding: 2rem 0;
    }
    section#Cabecera::before,
    section#Proyecto::before {
        background-size: cover;
    }
    section#Proyecto {
        background-size: cover;
        background-position: center;
    }
    #carouselUbicacion .carousel-item img {
        width: 100% !important;
        height: 220px !important;
    }
    .gallery-img {
        width: 100%;
        height: 160px;
    }
    .custom-swiper-btn {
        width: 28px;
        height: 28px;
        font-size: 1rem;
    }
    .btn-brochure,
    .btn-brochure2 {
        padding: 12px 24px;
        font-size: 1rem;
    }
    .btn-email {
        padding: 0 16px;
        font-size: 0.95rem;
        height: 40px;
    }
    .marquee li {
        font-size: 1.2rem;
        margin: 0 1rem;
    }
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .row {
        flex-direction: column !important;
    }
    .col-md-6, .col-md-5, .offset-md-2 {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    table.table {
        font-size: 0.9rem;
    }
    /* Ocultar background fijo en móvil */
    section#Contacto {
        background-attachment: scroll;
    }
}