/* Correcciones Estancia Vigil */

/* Fix para el loader */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #FFFFFF;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader img {
    width: 100px;
    animation: logoLoadAnimation 1s cubic-bezier(0.215, 0.61, 0.355, 1);
}

@keyframes logoLoadAnimation {
    0% { opacity: 0; transform: scale(0.85); }
    50% { opacity: 1; transform: scale(1.05); }
    100% { opacity: 1; transform: scale(1); }
}

/* Fix para el header y solapamiento */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(249, 247, 244, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    height: 80px;
}

/* Fix para el botón Estancia Vigil en hero */
.hero-section {
    position: relative;
    height: 100vh;
    padding-top: 0;
    margin-top: 0;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    text-align: center;
}

.hero-main-button {
    display: inline-block;
    background-color: rgba(155, 148, 117, 0.85);
    color: white;
    font-family: 'Adorn Serif', serif;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding: 15px 15px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    border-radius: 0;
}

.hero-main-button:hover {
    background-color: rgba(132, 111, 89, 0.9);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0,0,0, 0.25);
}

/* Fix para solapamiento en páginas internas */
.page-hero-map {
    margin-top: 0px;
}

.content-section.page-main-content {
    margin-top: 0px;
}

/* Fix para el selector de idiomas */
#langModal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), url('../img/genericas/Capturas Fotos-03.jpg');
    background-size: cover;
    background-position: center;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 10001; /* Mayor que el loader (10000) */
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

#langModal.active {
    visibility: visible;
    opacity: 1;
}

#langModal .card {
    background: white;
    padding: 50px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    max-width: 90%;
    width: 450px;
    transform: scale(0.95) translateY(20px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    z-index: 10002;
    border-top: 5px solid #9B9475;
}

#langModal.active .card {
    transform: scale(1) translateY(0);
}

#langModal h2 {
    margin-bottom: 35px;
    color: #564b38;
    font-size: 1.8rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

#langModal h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #9B9475;
}

#langModal .lang-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    max-width: 280px;
    margin: 0 auto;
}

#langModal button {
    margin: 0;
    min-width: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 25px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

#langModal button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(155, 148, 117, 0.1);
    transition: width 0.3s ease;
    z-index: -1;
}

#langModal button:hover::before {
    width: 100%;
}

#langModal button[data-lang="es"] {
    background-color: #9B9475;
    color: white;
    box-shadow: 0 4px 15px rgba(155, 148, 117, 0.3);
}

#langModal button[data-lang="es"]:hover {
    background-color: #847057;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(155, 148, 117, 0.4);
}

#langModal button[data-lang="en"],
#langModal button[data-lang="pt"] {
    background-color: transparent;
    color: #847057;
    border: 2px solid #9B9475;
}

#langModal button[data-lang="en"]:hover,
#langModal button[data-lang="pt"]:hover {
    background-color: rgba(155, 148, 117, 0.08);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

#langModal button span.flag {
    display: inline-block;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    margin-right: 10px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

#langModal button[data-lang="es"] span.flag {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 3 2'%3E%3Cpath fill='%23c60b1e' d='M0 0h3v2H0z'/%3E%3Cpath fill='%23ffc400' d='M0 0.5h3v1H0z'/%3E%3C/svg%3E");
}

#langModal button[data-lang="en"] span.flag {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 480'%3E%3Cdefs%3E%3CclipPath id='a'%3E%3Cpath fill-opacity='.7' d='M-85.3 0h682.6v512H-85.3z'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg clip-path='url(%23a)' transform='translate(80) scale(.94)'%3E%3Cg stroke-width='1pt'%3E%3Cpath fill='%23006' d='M-256 0H768v512H-256z'/%3E%3Cpath fill='%23fff' d='M-256 0v57.2L653.5 512H768v-57.2L-141.5 0H-256zM768 0v57.2L-141.5 512H-256v-57.2L653.5 0H768z'/%3E%3Cpath fill='%23fff' d='M170.7 0v512h170.6V0H170.7zM-256 170.7v170.6H768V170.7H-256z'/%3E%3Cpath fill='%23c00' d='M-256 204.8v102.4H768V204.8H-256zM204.8 0v512h102.4V0H204.8zM-256 512L85.3 341.3h76.4L-179.7 512H-256zm0-512L85.3 170.7H9L-256 38.2V0zm606.4 170.7L691.7 0H768L426.7 170.7h-76.3zM768 512L426.7 341.3H503l265 132.5V512z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

#langModal button[data-lang="pt"] span.flag {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 400'%3E%3Cpath fill='%23009c3b' d='M0 0h600v400H0z'/%3E%3Cpath fill='%23ffdf00' d='M300 35l265 165-265 165-265-165z'/%3E%3Ccircle cx='300' cy='200' r='75' fill='%23002776'/%3E%3Cpath fill='%23fff' d='M186.6 200c0-38.6 23.3-71.8 56.4-86.2a125 125 0 0 0-27.2-3c-69 0-125 56-125 125s56 125 125 125c9.3 0 18.4-1 27.1-3-33-14.4-56.3-47.6-56.3-86.2z'/%3E%3C/svg%3E");
}

@media (max-width: 480px) {
    #langModal .card {
        padding: 35px 25px;
    }
    
    #langModal h2 {
        font-size: 1.5rem;
    }
    
    #langModal button {
        min-width: 200px;
        font-size: 1rem;
    }
}

/* Fix para newsletter section y centrado del botón */
.section-newsletter {
    padding: var(--space-5) 0;
    position: relative;
    background-color: var(--accent);
}

.newsletter-content {
    text-align: center;
}

.newsletter-form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 550px;
    margin: 0 auto;
    gap: var(--space-3);
}

.newsletter-form input[type="email"] {
    flex: 1 1 auto;
    min-width: 250px;
}

.newsletter-form .btn-submit,
#newsForm .btn-submit {
    margin: 0 auto;
    min-width: 160px;
}

@media (max-width: 576px) {
    .newsletter-form {
        flex-direction: column;
        align-items: center;
    }
    
    .newsletter-form input[type="email"] {
        width: 100%;
        margin-bottom: var(--space-3);
    }
    
    .newsletter-form .btn-submit,
    #newsForm .btn-submit {
        width: 80%;
        min-width: 150px;
        display: block;
        margin: 0 auto;
    }
}

/* Media queries para tablets y desktop */
@media (min-width: 768px) {
    header {
        height: 70px;
    }
    
    .page-hero, 
    .page-hero-map,
    .content-section.page-main-content {
        margin-top: 70px;
    }
} 

/* Espaciado para el carrusel */
#main-carousel-section {
    margin: 53px 0;
    padding: 0 16px;
}

.carousel-item {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 15px;
}

.section-hero-image {
    border-radius: 12px;
    overflow: hidden;
}

.carousel-dots {
    margin-top: 20px;
    margin-bottom: 30px;
}

/* Secciones posteriores */
#newsletter {
    margin-top: 40px;
    padding-bottom: 60px;
    padding-top: 60px;
}

/* Mejoras para móvil */
@media (max-width: 767px) {
    html, body {
        font-size: 110%; /* Aumentamos un 10% el tamaño de letra base en móvil */
    }
    
    .footer-logo {
        text-align: center;
        margin: 0 auto 20px;
        display: flex;
        justify-content: center;
    }
    
    .footer-content {
        text-align: center;
    }
    
    .footer-social-icons {
        justify-content: center;
        margin: 15px auto;
    }
    
    .footer-links {
        justify-content: center;
        margin: 15px auto;
    }
}

@media (min-width: 768px) {
    #main-carousel-section {
        padding: 0 24px;
        margin: 50px 0;
    }
} 

/* Estilos para la página estancia-vigil */
.image-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin: 24px 0;
}

.grid-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
}

.feature-image {
    margin: 32px 0;
}

.feature-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.gallery-section {
    margin: 40px 0;
}

.gallery-section h3 {
    margin-bottom: 24px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.gallery-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.gallery-item img:hover {
    transform: scale(1.02);
}

.img-responsive {
    display: block;
    max-width: 100%;
    height: auto;
}

@media (min-width: 768px) {
    .image-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mejoras para el formulario */
.form-container {
    background-color: #f9f7f4;
    padding: 32px;
    border-radius: 8px;
    margin-top: 40px;
}

.lead-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 600px;
    margin: 24px auto 0;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.btn-submit {
    background-color: #9B9475;
    color: white;
    border: none;
    padding: 12px 24px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
    border-radius: 4px;
    margin: 0 auto;
    display: block;
    min-width: 120px;
}

.btn-submit:hover {
    background-color: #847057;
}

@media (min-width: 768px) {
    .lead-form {
        grid-template-columns: 1fr 1fr;
    }
    
    .form-group:nth-child(3),
    .form-group:nth-child(4) {
        grid-column: span 1;
    }
} 

/* Estilos para la página estancia-vigil */
/* Hero Slider */
.hero-slider-section {
    margin-top: 80px;
    position: relative;
    height: 70vh;
    min-height: 500px;
    margin-bottom: 20px;
}

.hero-swiper, 
.hero-swiper .swiper-wrapper, 
.hero-swiper .swiper-slide {
    height: 100%;
}

.hero-swiper .swiper-slide {
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* Aumentado para mejor contraste */
    z-index: 1;
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 60px 30px;
    color: white;
    text-align: center;
    z-index: 10;
    background: linear-gradient(0deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 80%, rgba(0,0,0,0) 100%);
}

.slide-content h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
    font-weight: 700;
    letter-spacing: 0.5px;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.8);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.swiper-pagination-hero {
    bottom: 20px !important;
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: white;
    opacity: 0.7;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: #9B9475;
}

/* Timeline - Mejorado */
.vigil-timeline {
    position: relative;
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.vigil-timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: #9B9475;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    z-index: 1;
}

.timeline-container {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
    margin-bottom: 40px;
}

.timeline-container::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: white;
    border: 4px solid #9B9475;
    top: 25px;
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 0 4px rgba(155, 148, 117, 0.2);
}

.timeline-container::before {
    content: '';
    position: absolute;
    width: 50px;
    height: 2px;
    background-color: #9B9475;
    top: 32px;
    z-index: 1;
}

.left {
    left: 0;
}

.left::before {
    right: 0;
}

.right {
    left: 50%;
}

.right::before {
    left: 0;
}

.right::after {
    left: -10px;
}

.timeline-content {
    padding: 25px 30px;
    background-color: white;
    position: relative;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.timeline-content h3 {
    color: #9B9475;
    margin-bottom: 12px;
    font-size: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

.timeline-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: #9B9475;
}

.timeline-content p {
    margin: 0;
    line-height: 1.6;
}

.timeline-year {
    position: absolute;
    top: -10px;
    font-size: 0.9rem;
    background: #9B9475;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 500;
}

.left .timeline-year {
    right: 20px;
}

.right .timeline-year {
    left: 20px;
}

/* Experiencias */
.experiences-section {
    margin: 60px 0;
}

.section-title {
    text-align: center;
    color: #847057;
    font-size: 2rem;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 80px;
    height: 3px;
    background: #9B9475;
    transform: translateX(-50%);
}

.experience-cards {
    padding: 20px 0;
}

.experience-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.experience-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.card-image {
    height: 220px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.experience-card:hover .card-image img {
    transform: scale(1.1);
}

.card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-content h3 {
    color: #847057;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.card-content p {
    margin-bottom: 20px;
    flex-grow: 1;
}

.card-btn {
    display: inline-block;
    background: #9B9475;
    color: white !important;
    padding: 10px 25px;
    border-radius: 30px;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    font-weight: 500;
    align-self: flex-start;
}

.card-btn:hover {
    background: #847057;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Sección Próximamente */
.future-section {
    margin: 60px 0;
    padding: 50px 0;
    background-color: #f9f7f4;
}

.future-section h3 {
    text-align: center;
    margin-bottom: 40px;
    color: #847057;
    font-size: 2rem;
}

.space-item {
    background: white;
    padding: 0;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: all 0.3s ease;
}

.space-item:hover {
    transform: translateY(-7px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.space-image {
    height: 180px;
    overflow: hidden;
    position: relative;
}

.space-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.space-item:hover .space-image img {
    transform: scale(1.05);
}

.space-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
}

.space-content {
    padding: 20px;
}

.space-item h4 {
    color: #847057;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.space-item p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Galería */
.gallery-section {
    margin: 60px 0;
}

.gallery-carousel {
    position: relative;
    padding: 0 20px;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-item {
    height: 350px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Botones de navegación de la galería */
.gallery-nav-buttons {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    pointer-events: none;
}

.gallery-button-next,
.gallery-button-prev {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px !important;
    height: 50px !important;
    background: white;
    border-radius: 50%;
    pointer-events: auto;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
    color: #9B9475 !important;
}

.gallery-button-next::after,
.gallery-button-prev::after {
    font-size: 20px !important;
    font-weight: bold;
}

.gallery-button-next {
    right: -15px;
}

.gallery-button-prev {
    left: -15px;
}

/* Testimonios */
.testimonials-section {
    background-color: #f9f7f4;
    padding: 60px 0;
    margin: 60px 0;
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.quote-icon {
    font-size: 50px;
    color: #9B9475;
    opacity: 0.2;
    position: absolute;
    top: 20px;
    left: 20px;
}

.testimonial-text {
    margin-top: 30px;
    font-style: italic;
    color: #555;
    position: relative;
    z-index: 1;
    flex-grow: 1;
}

.testimonial-author {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.author-name {
    font-weight: bold;
    color: #847057;
}

.author-title {
    color: #999;
    font-size: 0.9rem;
}

/* Formulario */
.form-container {
    background-color: #f9f7f4;
    padding: 40px;
    border-radius: 12px;
    margin: 60px 0;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
}

.form-container h3 {
    text-align: center;
    margin-bottom: 20px;
    color: #847057;
}

.lead-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 600px;
    margin: 24px auto 0;
}

.form-group input {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus {
    border-color: #9B9475;
    box-shadow: 0 0 0 2px rgba(155, 148, 117, 0.2);
    outline: none;
}

.btn-submit {
    background-color: #9B9475;
    color: white;
    border: none;
    padding: 15px 30px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 6px;
    margin: 10px auto 0;
    display: block;
    min-width: 180px;
    text-align: center;
    letter-spacing: 1px;
}

.btn-submit:hover {
    background-color: #847057;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Mejoras generales de legibilidad */
p {
    line-height: 1.7;
    color: #333;
}

h1, h2, h3, h4, h5, h6 {
    color: #564b38;
}

/* Adaptaciones responsive */
@media (max-width: 767px) {
    .hero-slider-section {
        height: 60vh;
        min-height: 400px;
    }
    
    .slide-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .vigil-timeline::after {
        left: 31px;
    }
    
    .timeline-container {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
        left: 0 !important;
    }
    
    .timeline-container::after {
        left: 18px;
    }
    
    .timeline-container::before {
        width: 30px;
    }
    
    .timeline-container.right::after {
        left: 18px;
    }
    
    .left::before, .right::before {
        left: 32px;
    }
    
    .left .timeline-year, .right .timeline-year {
        left: 70px;
        right: auto;
    }
    
    .gallery-carousel {
        padding: 0 30px;
    }
    
    .gallery-item {
        height: 250px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .card-image {
        height: 180px;
    }
    
    .form-container {
        padding: 30px 20px;
    }
    
    .gallery-button-next {
        right: 0;
    }
    
    .gallery-button-prev {
        left: 0;
    }
}

@media (min-width: 768px) {
    #main-carousel-section {
        padding: 0 24px;
        margin: 50px 0;
    }
    
    .slide-content h1 {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .lead-form {
        grid-template-columns: 1fr 1fr;
    }
    
    .form-group:nth-child(3),
    .form-group:nth-child(4) {
        grid-column: span 1;
    }
} 

/* Mejoras para el carrusel infinito */
.carousel-inner {
    display: flex;
    transition: transform 0.5s ease-out;
}

.carousel-item {
    flex: 0 0 100%;
    position: relative;
}

.section-donde-estamos-teaser .container h2 {
    margin-bottom: 24px;
}

.direccion-teaser {
    color: #564b38; /* Mismo color que los títulos para consistencia */
    font-size: 1.1rem;
    margin-top: 16px;
    margin-bottom: 24px;
    text-align: center;
}

@media (max-width: 767px) {
    .direccion-teaser {
        font-size: 1rem;
    }
}

/* Estilos para las nuevas secciones de carrusel en el Home */
.info-section {
    padding: 60px 0;
    text-align: center;
}

.info-section:nth-child(odd) {
    background-color: #fdfbf7; /* Un color de fondo sutil para alternar secciones */
}

.section-title-home {
    font-size: 2.2rem;
    color: #564b38;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.section-title-home::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 3px;
    background-color: #9B9475;
}

.section-description-home {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.mercado-home-swiper,
.experiencias-home-swiper,
.eventos-home-swiper {
    width: 100%;
    padding-bottom: 40px; /* Espacio para la paginación */
}

.mercado-home-swiper .swiper-slide img,
.experiencias-home-swiper .swiper-slide img,
.eventos-home-swiper .swiper-slide img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.swiper-pagination-bullet {
    background-color: #9B9475;
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    opacity: 1;
}

.btn-ver-mas-section {
    display: inline-block;
    margin-top: 30px;
    padding: 12px 30px;
    background-color: #9B9475;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-ver-mas-section:hover {
    background-color: #847057;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

/* Estilos para las nuevas secciones Restaurant y Bodega */
.image-container {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

/* Efecto desactivado para Restaurant y Bodega */
.restaurant-home-section .image-container,
.bodega-home-section .image-container {
    position: relative;
}

.restaurant-home-section .image-container::before,
.bodega-home-section .image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2;
}

/* .restaurant-home-section .image-container img,
.bodega-home-section .image-container img {
    filter: grayscale(100%) brightness(0.7);
    transition: filter 0.3s ease;
} */

.coming-soon-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgb(154 147 117 / 0%);
    color: #ffffffb3;
    padding: 16px 32px;
    font-weight: 600;
    font-size: 1.2rem;
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    z-index: 3;
    text-align: center;
    min-width: 200px;
}

.coming-soon-text {
    font-family: var(--font-display);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Efecto hover para las secciones desactivadas */
.restaurant-home-section .image-container:hover img,
.bodega-home-section .image-container:hover img {
    filter: grayscale(80%) brightness(0.8);
}

.restaurant-home-section .image-container:hover::before,
.bodega-home-section .image-container:hover::before {
    background: rgba(0, 0, 0, 0.4);
}

/* Estilo para imagen única de Alejandro Vigil en sobre.html */
.about-single-image {
    text-align: center;
    margin-bottom: 2rem;
}

.about-single-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
    .about-single-image {
        margin-bottom: 3rem;
    }
    
    .about-single-image img {
        width: 100%;
    }
}

/* Estilos para el carousel de eventos */
.eventos-gallery-swiper {
    margin: 2rem 0;
}

.eventos-gallery-swiper .gallery-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.eventos-gallery-swiper .gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.eventos-gallery-swiper .gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.eventos-gallery-swiper .gallery-item:hover img {
    transform: scale(1.05);
}

.eventos-gallery-pagination {
    margin-top: 2rem !important;
}

.eventos-gallery-swiper .swiper-button-next,
.eventos-gallery-swiper .swiper-button-prev {
    color: var(--primary-color, #9B9475);
}

@media (max-width: 767px) {
    .eventos-gallery-swiper .gallery-item img {
        height: 200px;
    }
}

.page-hero-map.no-background {
    background-image: none !important;
    padding-top: 80px; /* Ajustar al tamaño del header */
    height: auto; /* Permitir que el mapa defina la altura */
}

.map-container.full-width-map {
    width: 100%;
    height: calc(100vh - 80px); /* Ocupa el alto restante menos el header */
    padding: 0;
    margin: 0;
}

.map-container.full-width-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.page-hero-map .page-hero-content {
    display: none; /* Ocultar si había contenido de título */
}