@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;700&display=swap');

:root {

    --primary-color: #404873;

    --brand-color: #2995D9;

    --accent-color: #1EB7D9;

    --background-color: #F8F9FA;

    --surface-color: #FFFFFF;


    --whatsapp-green: #25D366;


    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Outfit', sans-serif;

    --transition-speed: 0.4s;
    --nav-height: 90px;

    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--background-color);
    color: var(--primary-color);
    line-height: 1.8;

    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
    font-weight: 300;
}


header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background-color: rgba(255, 255, 255, 0.90);

    backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(64, 72, 115, 0.05);

    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1200px;
}

.logo img {
    height: 90px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
    mix-blend-mode: multiply;

}

.logo a:hover img {
    transform: scale(1.05);

}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 0.5px;
    position: relative;
    transition: color var(--transition-speed) ease;
    padding: 5px 0;

}

.nav-links a:focus-visible {
    outline: 2px solid var(--brand-color);
    outline-offset: 4px;
    border-radius: 2px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: var(--brand-color);

    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--brand-color);
}

.nav-links a:hover::after {
    width: 100%;
}

.cta-button {
    padding: 12px 28px !important;
    border: 1px solid var(--primary-color);
    border-radius: 0;
    color: var(--primary-color) !important;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    transition: all 0.4s ease;
    background: transparent;
}

.cta-button:hover {
    background: var(--primary-color);
    color: #fff !important;
    border-color: var(--primary-color);
    box-shadow: none;
    transform: none;
}

.cta-button::after {
    display: none !important;
}


.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    padding: 10px;

    z-index: 1001;

    background: transparent;
    border: none;
}

.bar {
    width: 25px;
    height: 2px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}


.contact-v2-hero {
    position: relative;

    height: 60vh;
    min-height: 450px;
    background-image: url('assets/contacto/vto_oaxaca.jpg') !important;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;

}


.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding-top: var(--nav-height);
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out, transform 6s ease-out;


    transform: scale(1);
}


.phone-group-wrapper {
    display: flex;
    gap: 10px;
    width: 100%;
}

.lada-select {
    width: 30% !important;

    max-width: 120px;
    min-width: 100px;
    padding-right: 5px !important;
    appearance: auto;
    background-color: rgba(255, 255, 255, 0.95) !important;
    flex-shrink: 0;

}


.phone-group-wrapper input[type="tel"] {
    flex: 1;

    width: auto;

}




.hero-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 100%);

}

.hero-slide.active {
    opacity: 1;
    transform: scale(1.05);

    z-index: 2;
}

.hero-slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;

}

.hero-content {
    position: relative;
    z-index: 10;

    padding: 20px;
    animation: fadeInUp 1s ease-out 0.5s backwards;
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
}


body {
    font-family: 'Outfit', sans-serif;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}


.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.2rem;
    font-weight: 300;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}


@media (max-width: 768px) {



    .slider-arrow,
    .testi-arrow,
    .prev-arrow,
    .next-arrow {
        display: none !important;
    }


    .slider-dots {
        display: flex !important;
        bottom: 20px;
    }


    .hero-content {
        padding: 60px 20px;

        display: flex;
        flex-direction: column;
        justify-content: center;
        height: 100%;
    }

    .hero-content h1 {
        font-size: 2.5rem;

    }

    .hero-content p {
        font-size: 1rem;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.prev-arrow {
    left: 40px;
}

.next-arrow {
    right: 40px;
}

.slider-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 20;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.dot.active {
    background: #fff;
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

@media (max-width: 768px) {
    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .prev-arrow {
        left: 10px;
    }

    .next-arrow {
        right: 10px;
    }
}


@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3rem;
        line-height: 1.2;
        padding: 0 20px;
    }

    .hero p {
        font-size: 1.2rem;
        padding: 0 20px;
    }


    .nosotros-title-box h1 {
        font-size: 2.5rem;

        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);

    }

    .nosotros-title-box p {
        font-size: 1.1rem !important;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
        color: #fff;

        opacity: 1 !important;

    }
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.1;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.5rem;
    color: #f0f0f0;
    max-width: 700px;
    margin: 0 auto;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}


section {
    padding: 120px 5%;

    position: relative;
    max-width: 1600px;
    margin: 0 auto;
}

.section-title,
section h2 {
    font-size: 3.5rem;

    text-align: center;
    margin-bottom: 70px;
    position: relative;
    color: var(--primary-color);
    letter-spacing: -0.02em;

    left: 0;
    transform: none;
    display: block;
}


.section-title::after,
section h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--brand-color);
    margin: 25px auto 0;
}

section p {
    font-size: 1.15rem;

    color: #555e8f;

    max-width: 800px;

    margin-left: auto;
    margin-right: auto;
}


.routes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.route-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.route-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.route-image {
    height: 250px;
    overflow: hidden;
    position: relative;

}


.mini-slider .mini-slides {
    width: 100%;
    height: 100%;
    position: relative;
}

.mini-slider .mini-slides img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.5s ease;

    z-index: 1;
}

.mini-slider .mini-slides img.active {
    opacity: 1;
    z-index: 2;
}


.mini-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    backdrop-filter: blur(2px);
    opacity: 0;

    transition: opacity 0.3s ease, background 0.3s ease;
}


.mini-slider:hover .mini-nav {
    opacity: 1;
}

.mini-nav:hover {
    background: rgba(255, 255, 255, 0.4);
}

.mini-nav.prev {
    left: 10px;
}

.mini-nav.next {
    right: 10px;
}

.route-card:hover .mini-slides img.active {
    transform: scale(1.1);
}

.route-info {
    padding: 25px;
}

.route-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.route-info p {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.route-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s ease;
}

.route-link:hover {
    gap: 10px;
}

.next-icon {
    font-size: 0.8em;
    font-weight: bold;
}



.whatsapp-float {
    position: fixed;
    bottom: 40px;
    left: 40px;

    right: auto;
    background-color: var(--brand-color);
    color: #fff;
    width: auto;

    padding: 12px 25px;

    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(41, 149, 217, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 900;
}



.music-toggle {
    position: fixed;
    bottom: 100px;

    right: 40px;
    width: 45px;
    height: 45px;
    background-color: rgba(26, 26, 26, 0.8);

    backdrop-filter: blur(5px);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;

    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 899;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}


.go-top-btn {
    position: fixed;
    bottom: 30px;
    right: 40px;
    width: 45px;
    height: 45px;
    background-color: var(--brand-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 900;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.go-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.go-top-btn:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
}

.music-toggle:hover {
    transform: scale(1.1);
    background-color: var(--brand-color);
    border-color: transparent;
}

.music-toggle.playing {
    background-color: var(--brand-color);
    box-shadow: 0 0 15px rgba(41, 149, 217, 0.6);
    animation: pulse-music 2s infinite;
}

@keyframes pulse-music {
    0% {
        box-shadow: 0 0 0 0 rgba(41, 149, 217, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(41, 149, 217, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(41, 149, 217, 0);
    }
}

.whatsapp-float:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 4px;
}

.whatsapp-float:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(41, 149, 217, 0.6);
}

.whatsapp-float span {
    display: inline-block;
}


@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--primary-color);

        display: flex;

        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
        padding-bottom: 80px;



        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;

    }


    .nav-links .cta-button {
        margin-top: 0;
        border: none;
        padding: 0 !important;
        color: #fff !important;
        font-size: 2rem !important;
        letter-spacing: 0.5px;
        text-transform: none;
        font-weight: 500;
    }

    .nav-links .cta-button:hover {
        background: transparent;
        color: var(--accent-color) !important;
        transform: none;
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-links a {
        font-size: 2rem;

        color: #fff;

        opacity: 0;
        transform: translateY(10px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }


    .nav-links.active a {
        opacity: 1;
        transform: translateY(0);
    }

    .nav-links.active li:nth-child(1) a {
        transition-delay: 0.1s;
    }

    .nav-links.active li:nth-child(2) a {
        transition-delay: 0.2s;
    }

    .nav-links.active li:nth-child(3) a {
        transition-delay: 0.3s;
    }

    .nav-links.active li:nth-child(4) a {
        transition-delay: 0.4s;
    }

    .nav-links a:hover {
        color: var(--accent-color);
        text-shadow: none;
    }

    .nav-links a::after {
        display: none;

    }


    .hamburger {
        display: flex;
        z-index: 1002;
    }

    .hamburger.active .bar {
        background-color: #fff;

    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

}


.testimonials-section {
    background-color: var(--primary-color);
    text-align: center;
    position: relative;
    overflow: visiblebox;

    overflow: hidden;
    padding-top: 150px;

}

.testimonials-section h2 {
    color: #fff !important;
}

.testimonials-section h2::after {
    background-color: var(--accent-color);

}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    min-height: 300px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-slide {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    animation: fadeScale 0.8s ease-out;
}

.testimonial-slide.active {
    display: flex;
}

@keyframes fadeScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.quote {
    font-size: 1.5rem;
    font-style: italic;
    color: #fff;
    line-height: 1.4;
    position: relative;
    margin-top: 40px;

}

.quote::before {
    content: '“';
    font-size: 12rem;

    color: var(--accent-color);
    opacity: 0.3;
    position: absolute;
    top: -100px;

    left: 50%;
    transform: translateX(-50%);
    font-family: serif;
    line-height: 1;
}

.author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

.author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;

}

.author span {
    font-weight: 600;
    color: var(--accent-color);
}

.testi-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testi-arrow:hover {
    background: var(--primary-color);
    color: #fff;
}

.prev-testi {
    left: -60px;
}

.next-testi {
    right: -60px;
}

@media (max-width: 768px) {
    .testimonial-slider {
        padding-bottom: 70px;

    }

    .testi-arrow {
        top: auto;

        bottom: 10px;

        transform: none;
    }

    .prev-testi {
        left: calc(50% - 45px);

    }

    .next-testi {
        right: calc(50% - 45px);

    }
}


@media (max-width: 900px) {
    .prev-testi {
        left: 0;
    }

    .next-testi {
        right: 0;
    }
}


.video-section {
    position: relative;
    width: 100%;
    height: 60vh;

    overflow: hidden;
    padding: 0;

    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 1024px) {
    .video-section {
        height: 81vh;

    }
}

.video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.video-overlay {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #ffffff;
    background: transparent;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.video-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.04) 100%);
    mix-blend-mode: multiply;
    z-index: -1;
}

.video-overlay h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    color: #ffffff !important;
}

.play-btn {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid #fff;
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease, background 0.3s ease;
}

.play-btn:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.4);
}


.reservations-section {
    background: linear-gradient(135deg, var(--brand-color), var(--primary-color));
    color: #fff;
    text-align: center;
}

.reservations-container {
    max-width: 800px;
    margin: 0 auto;
}

.reservations-header {
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    margin-right: auto;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.reservations-section h2 {
    color: #ffffff !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    font-size: 3rem;
    margin-bottom: 20px;
}

.reservations-section p {
    color: #f0f0f0 !important;
    font-weight: 400;
}

.booking-form {
    max-width: 1000px;

    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);

    padding: 50px;
    border-radius: 30px;

    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    margin-bottom: 0;

    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 700;

    font-size: 0.95rem;

    color: #ffffff;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);

}


.contact-form-wrapper .form-group label {
    color: var(--brand-color);

    text-shadow: none;
    font-weight: 800;

}

.form-group select,
.form-group input {
    width: 100%;
    padding: 18px 25px;

    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.95);
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: var(--primary-color);
    outline: none;
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9ca3af;

    opacity: 1;

    font-weight: 300;
}

.form-group select:focus,
.form-group input:focus {
    background: #fff;
    box-shadow: 0 0 0 4px rgba(41, 149, 217, 0.3);

    transform: translateY(-2px);
}

.form-row {
    display: flex;
    gap: 30px;

}

.form-row .form-group {
    flex: 1;
}

.booking-form button {
    width: 100%;
    margin-top: 20px;
    padding: 20px;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 15px;
}

@media (max-width: 768px) {
    .booking-form {
        padding: 20px;
    }

    .form-row {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .form-row .form-group {
        width: 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }

    .form-group select,
    .form-group input {
        width: 100%;
        box-sizing: border-box;
    }


    .form-group input[type="date"] {
        min-height: 58px;

        display: block;
        -webkit-appearance: none;
        appearance: none;

        line-height: normal;

    }
}

.cta-button.white {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(5px);
    width: 100%;
    margin-top: 10px;
    display: inline-block;
    transition: all 0.3s ease;
}

.cta-button.white:hover {
    background-color: #fff;
    color: var(--brand-color) !important;
    border-color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}


.newsletter-section {
    background-color: var(--background-color);
    text-align: center;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.newsletter-form input {
    flex: 1;
    min-width: 250px;
    padding: 15px 20px;
    border: 1px solid #ddd;
    border-radius: 50px;
    outline: none;
    font-family: var(--font-main);
}

.newsletter-form input:focus {
    border-color: var(--brand-color);
    box-shadow: 0 0 0 2px rgba(41, 149, 217, 0.1);
}

.newsletter-form button {
    padding: 15px 30px;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s ease;
}

.newsletter-form button:hover {
    background-color: var(--brand-color);
}


footer {
    background-color: var(--primary-color);
    color: #fff;
    padding: 60px 5% 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-col h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: #fff;
    padding-left: 5px;
}

.footer-logo {
    max-width: 150px;
    margin-bottom: 15px;
    mix-blend-mode: screen;

}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: #fff;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.1);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-links a svg {
    width: 20px;
    height: 20px;
    stroke-width: 2px;
}


.social-links a:hover {
    background-color: var(--brand-color);
    border-color: var(--brand-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(41, 149, 217, 0.4);
}


.footer-bottom {
    margin-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    font-size: 0.9rem;
    color: #ccc;
    text-align: left;
}

.subfooter-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.subfooter-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.subfooter-links a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}


.go-top-btn {
    position: fixed;
    bottom: 40px;
    right: 40px;

    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    color: var(--primary-color);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 899;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.go-top-btn.visible {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

.go-top-btn:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        left: 20px;
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .go-top-btn {
        bottom: 90px;

        right: 20px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .subfooter-links {
        justify-content: center;
    }
}


.bitacora-section {
    background-color: var(--surface-color);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}


.blog-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.blog-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-info {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}



.blog-info h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    line-height: 1.3;
    transition: color 0.3s ease;
}

.blog-card:hover .blog-info h3 {
    color: var(--brand-color);
}

.blog-info p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 25px;
    flex-grow: 1;
}

.read-more {
    align-self: flex-start;
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease, color 0.3s ease;
}

.read-more:hover {
    gap: 12px;
    color: var(--accent-color);
}


.instagram-section {
    padding: 80px 5%;
    background-color: var(--background-color);
    text-align: center;
}

.instagram-header {
    margin-bottom: 50px;
}

.instagram-handle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.2rem;
    color: #E1306C;

    font-weight: 600;
    margin-top: -30px;
    margin-bottom: 40px;
}

.masonry-wrapper {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.masonry-grid {
    height: 600px;

    display: flex;
    flex-direction: column;
    flex-wrap: wrap;

    gap: 20px;
    overflow-x: auto;

    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
    align-content: flex-start;
    padding-bottom: 5px;
}

.masonry-grid::-webkit-scrollbar {
    display: none;
}

.masonry-item {
    width: 300px;

    flex-shrink: 0;
    break-inside: avoid;
    margin-bottom: 0;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.insta-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    opacity: 0;

}

.masonry-wrapper:hover .insta-nav-btn {
    opacity: 1;

}


.cookie-banner {
    position: fixed;
    bottom: -100%;

    left: 0;
    width: 100%;
    background-color: var(--primary-color);
    color: #fff;
    padding: 20px 5%;
    z-index: 2000;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    transition: bottom 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.cookie-banner.visible {
    bottom: 0;
}

.cookie-content {
    flex: 1;
    max-width: 900px;
    font-size: 0.95rem;
    line-height: 1.5;
    font-weight: 300;
}

.cookie-content a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
}

.cookie-content a:hover {
    text-decoration: underline;
}

.cookie-btn {
    background-color: var(--brand-color);
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cookie-btn:hover {
    background-color: #fff;
    color: var(--brand-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .cookie-banner {
        flex-direction: column;
        text-align: center;
        padding: 25px;
    }

    .cookie-btn {
        width: 100%;
    }
}

.insta-nav-btn:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.insta-nav-btn.prev {
    left: -15px;
}

.insta-nav-btn.next {
    right: -15px;
}

@media (max-width: 1440px) {
    .insta-nav-btn.prev {
        left: 10px;
    }

    .insta-nav-btn.next {
        right: 10px;
    }
}

@media (max-width: 768px) {
    .masonry-grid {
        height: auto;
        min-height: 250px;
        flex-direction: row;
        flex-wrap: nowrap;

        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;

        padding-bottom: 15px;
        scroll-snap-type: x mandatory;

        gap: 15px;
    }

    .masonry-item {
        width: 85vw;

        max-width: 300px;
        flex-shrink: 0;
        scroll-snap-align: center;
        margin-bottom: 0;
    }

    .insta-nav-btn {
        display: flex;

        width: 35px;
        height: 35px;
        background: rgba(255, 255, 255, 0.9);
        opacity: 1;

    }

    .music-toggle {
        right: 20px;
        bottom: 145px;

    }
}

.masonry-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.masonry-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.masonry-item:hover img {
    transform: scale(1.05);
}

.insta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.masonry-item:hover .insta-overlay {
    opacity: 1;
}

.insta-overlay svg {
    color: #fff;
    width: 40px;
    height: 40px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}




.map-section {
    width: 100%;
    height: 500px;

    padding: 0;
    margin: 0;
    filter: grayscale(100%);

    transition: filter 0.5s ease;
}

.map-section:hover {
    filter: grayscale(0%);

}

.map-section iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}



.nosotros-hero-redesign {
    height: 70vh;
    min-height: 500px;
    background-image: url('./assets/contacto/nosotros.jpg?v=final') !important;

    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: var(--nav-height);
}

.nosotros-hero-redesign::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.nosotros-title-box {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 0 20px;
}

.nosotros-title-box h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 6vw, 5rem);
    line-height: 1;
    margin-bottom: 20px;
    color: #ffffff;

}

.nosotros-title-box p {
    color: #ffffff;

    opacity: 1;

}



@media (max-width: 480px) {


    .contact-section,
    .routes-container,
    .booking-form,
    .route-expansion.open .expansion-inner,
    .contact-card,
    .contact-info-wrapper {
        padding-left: 20px !important;
        padding-right: 20px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }


    .contact-section,
    .routes-container {
        padding-top: 60px !important;
        padding-bottom: 60px !important;
    }


    input,
    select,
    textarea,
    .form-input,
    .coupon-input,
    .form-group input,
    .form-group select {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        font-size: 16px !important;

    }


    .timeline-item {
        padding-left: 20px !important;

        margin-left: 0 !important;
    }

    .timeline-item::before {
        left: -4px !important;

    }


    .route-content {
        padding: 0 15px 30px 15px !important;
    }


    .form-row,
    .coupon-input-group {
        flex-direction: column !important;
        gap: 15px !important;
        display: flex !important;
    }

    .detail-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }


    .booking-form {
        padding: 25px !important;
        border-radius: 15px !important;
        margin-top: 0 !important;
    }


    #contactForm input,
    #contactForm textarea {
        width: 100% !important;
    }



    body {
        padding-bottom: 0px;
    }


    .logo img {
        height: 50px !important;

    }




    .details-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 40px !important;
        width: 100% !important;
    }


    .route-expansion {
        margin-left: -15px !important;

        margin-right: -15px !important;
        width: calc(100% + 30px) !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        border-top: 1px solid #eee;
        border-bottom: 1px solid #eee;
    }

    .route-expansion.open .expansion-inner {
        padding: 30px 20px !important;

        width: 100% !important;
        box-sizing: border-box !important;
    }


    .quick-form {
        background: #f8f9fa !important;

        border: none !important;
        padding: 25px 20px !important;
        border-radius: 12px !important;
        width: 100% !important;
        box-sizing: border-box !important;
        margin-top: 20px;
    }

    .form-header {
        font-size: 1.3rem !important;
        margin-bottom: 25px !important;
        text-align: center;
        color: var(--primary-color) !important;
    }


    .quick-form .form-group {
        margin-bottom: 20px !important;
        width: 100% !important;
    }

    .quick-form .form-input {
        width: 100% !important;
        height: 50px !important;

        padding: 0 15px !important;
        border-radius: 8px !important;
        font-size: 16px !important;

        border: 1px solid #ddd !important;
        background: #fff !important;
        box-sizing: border-box !important;

    }


    .submit-btn {
        width: 100% !important;
        height: 55px !important;
        border-radius: 8px !important;
        font-size: 1rem !important;
        letter-spacing: 1px !important;
        margin-top: 10px !important;
    }


    .timeline-item {
        padding-left: 25px !important;
        margin-bottom: 25px !important;
    }


    .timeline-desc {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
        width: 100% !important;
        padding-right: 0 !important;
    }
}


.editorial-intro {
    padding: 100px 5%;
    background: #fff;
}

.intro-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.intro-lead {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--primary-color);
    line-height: 1.5;
    margin-bottom: 40px;
}

.intro-body {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
    column-count: 2;
    column-gap: 50px;
    text-align: justify;
}

@media (max-width: 768px) {
    .intro-body {
        column-count: 1;
    }
}


.pillars-section {
    padding: 80px 5%;
    background: #fdfdfd;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.pillar-card {
    background: #fff;
    padding: 40px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.pillar-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.pillar-icon {
    font-size: 2rem;
    color: var(--brand-color);
    margin-bottom: 20px;
    display: block;
}

.pillar-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.pillar-text {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .pillars-grid {
        grid-template-columns: 1fr;
    }
}


.values-strip {
    background: #f8f9fa;

    color: var(--primary-color);
    padding: 100px 5%;
}

.values-container {
    max-width: 1000px;
    margin: 0 auto;
}

.values-header {
    text-align: center;
    margin-bottom: 60px;
}

.values-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--primary-color);
}

.values-header h2::after {
    background-color: var(--primary-color);
}

.values-list {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
}

.value-item {
    flex: 1;
    min-width: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.value-num {
    font-size: 3rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.1);
    margin-bottom: -20px;
    z-index: 0;
}

.value-name {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 10px;
    z-index: 1;
    color: var(--brand-color);
}



.lang-switcher {
    position: relative;
    display: inline-block;
}

.lang-toggle {
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 5px 10px;
    border-radius: 20px;
    transition: background 0.3s;
}

.lang-toggle:hover {
    background: rgba(0, 0, 0, 0.05);
}

.current-lang-display {
    text-transform: uppercase;
}

.lang-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #fff;
    min-width: 150px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    z-index: 3000;
    overflow: hidden;
    margin-top: 10px;
    border: 1px solid #f0f0f0;
}

.lang-dropdown.show {
    display: block;
    animation: fadeIn 0.2s ease;
}

.lang-dropdown button {
    color: #333;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.2s;
}

.lang-dropdown button:hover {
    background-color: #f5f5f5;
    color: var(--brand-color);
}


@media (max-width: 768px) {


    html,
    body {
        overflow-x: hidden;
        width: 100%;
        position: relative;
    }


    .lang-switcher {
        width: 100%;
        margin: 20px 0;
        text-align: center;
        display: block;
    }

    .lang-toggle {
        width: 100%;
        justify-content: center;
        background-color: #f0f0f0;

        color: var(--text-dark);
        padding: 12px;
        border-radius: 8px;
        margin-bottom: 10px;
    }

    .lang-dropdown {
        position: static;
        width: 100%;
        box-shadow: none;
        border: none;
        background: transparent;
        display: none;
        margin-top: 0;
        text-align: center;
    }

    .lang-dropdown.show {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .lang-dropdown button {
        text-align: center;
        background-color: #ffffff;
        border: 1px solid #eee;
        border-radius: 8px;
        padding: 12px;
        font-weight: 500;
        color: var(--primary-color);
    }


    .booking-form input,
    .booking-form select,
    .booking-form textarea {
        box-sizing: border-box;
        width: 100%;
        max-width: 100%;
    }
}


.testimonials-section {
    padding: 100px 5%;
    background-color: var(--primary-color);
    color: var(--surface-color);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.testimonial-slide {
    display: none;
    animation: fadeIn 0.8s ease;
    padding-bottom: 20px;
    width: 100%;

}

.testimonial-slide.active {
    display: block;
}

.testimonial-slide .quote {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    font-weight: 300;
    font-style: italic;
    margin-bottom: 30px;
    line-height: 1.6;
    color: var(--surface-color);
}

.testimonial-slide .author {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--accent-color);
    margin-bottom: 20px;
    display: block;
    text-align: center;
    width: 100%;
}


@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.testi-bullets {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 10px;

    width: 100%;

}

.testi-dot {
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testi-dot.active,
.testi-dot:hover {
    background-color: var(--accent-color);
    transform: scale(1.2);
}

.testi-arrow {
    display: none;
}

@media (max-width: 768px) {
    .testimonial-slide .quote {
        font-size: 1.2rem;
    }
}


@media (max-width: 768px) {
    .lang-switcher {
        width: 100%;
        margin-top: 10px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: 10px;
        display: flex;
        justify-content: center;
    }

    .lang-toggle {
        color: #fff !important;

    }

    .lang-dropdown {
        position: static;
        box-shadow: none;
        background: transparent;
        border: none;
        color: #fff;
        text-align: center;
    }

    .lang-dropdown button {
        color: rgba(255, 255, 255, 0.8);
        text-align: center;
    }

    .lang-dropdown button:hover {
        background: none;
        color: #fff;
    }
}




.contact-hero {
    height: 50vh;
    min-height: 400px;
    background-image: url('images/hero1.png');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: var(--nav-height);
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);

}

.contact-hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 800px;
    padding: 20px;
    animation: fadeInUp 0.8s ease-out;
}

.contact-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 15px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    font-weight: 800;
}

.contact-hero p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
}

.contact-section {
    padding: 80px 5%;
    background: #f8f9fa;

}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 50px;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);

}


.contact-info-wrapper {
    background: #fff;
    padding: 60px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 15px;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.detail-item:hover {
    background: rgba(41, 149, 217, 0.04);
    transform: translateX(10px);
}

.detail-icon-box {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--brand-color), var(--primary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(41, 149, 217, 0.3);
}

.detail-content h4 {
    margin: 0 0 5px 0;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
    font-weight: 600;
}

.detail-content p,
.detail-content a {
    margin: 0;
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
    line-height: 1.4;
}

.detail-content a:hover {
    color: var(--brand-color);
}


.contact-form-wrapper {
    padding: 60px;
    background: #fcfcfc;
    border-left: 1px solid #f0f0f0;
}

.contact-form-wrapper::before {
    content: '';
    display: none;

}

.contact-form-wrapper h2 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
}

.contact-form-wrapper p {
    color: #666;
    margin-bottom: 30px;
}

.contact-form-wrapper input,
.contact-form-wrapper textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #e0e0e0;
    background: #fff;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s;
    margin-bottom: 15px;

    font-family: inherit;
}

.contact-form-wrapper input:focus,
.contact-form-wrapper textarea:focus {
    background: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(41, 149, 217, 0.1);
}


.map-container {
    width: 100%;
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    margin-top: 10px;
}


.captcha-box {
    background: #f1f5f9;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
    border: 1px solid #e2e8f0;
}

.captcha-title {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.captcha-question {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 900px) {
    .contact-container {
        grid-template-columns: 1fr;
    }

    .contact-info-wrapper {
        order: 2;
        padding: 30px;
    }

    .contact-form-wrapper {
        order: 1;
        padding: 30px;
        border-left: none;
    }

    .contact-hero h1 {
        font-size: 2.5rem;
    }
}


.lang-switcher {
    position: relative;
    display: inline-block;
    margin-left: 15px;
}

.lang-toggle {
    background: transparent;
    border: 1px solid rgba(64, 72, 115, 0.2);
    padding: 8px 12px;
    border-radius: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.85rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.lang-toggle:hover {
    background: rgba(64, 72, 115, 0.05);
    border-color: var(--primary-color);
}

.lang-dropdown {
    position: absolute;
    top: 120%;
    right: 0;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 8px 0;
    min-width: 140px;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2000;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.lang-dropdown.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.lang-dropdown button {
    display: block;
    width: 100%;
    text-align: left;
    padding: 10px 16px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: #555;
    transition: background 0.2s, color 0.2s;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.lang-dropdown button:last-child {
    border-bottom: none;
}

.lang-dropdown button:hover {
    background: #f8f9fa;
    color: var(--brand-color);
}


@media (max-width: 768px) {
    .lang-switcher {
        margin: 15px 0;
        width: 100%;
        display: flex;
        justify-content: center;
        margin-left: 0;
    }

    .lang-dropdown {
        top: 110%;
        left: 50%;
        right: auto;
        transform: translateX(-50%) translateY(-10px);
    }

    .lang-dropdown.show {
        transform: translateX(-50%) translateY(0);
    }
}


.breadcrumb-container {
    width: 90%;
    max-width: 1200px;
    margin: 30px auto 10px;

    font-family: var(--font-body);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-color);
    opacity: 0.6;
    display: flex;
    align-items: center;
    gap: 10px;
}

.breadcrumb-container a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    position: relative;
}

.breadcrumb-container a:hover {
    opacity: 1;
    color: var(--brand-color);
}

.breadcrumb-separator {
    font-size: 0.7rem;
    opacity: 0.4;
}


@media (max-width: 768px) {
    .breadcrumb-container {
        padding-left: 0;
        justify-content: center;
        margin-top: 20px;
    }
}




.explore-blog-btn {
    transition: all 0.3s ease;
}

.explore-blog-btn:hover {
    background-color: var(--primary-color) !important;
    color: #ffffff !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 4px 12px rgba(41, 149, 217, 0.3);
}


.form-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%232995D9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px !important;
    cursor: pointer;
}

.lada-select {
    background-position: right 8px center !important;
    padding-right: 25px !important;
    padding-left: 10px !important;
    text-align: center;
}

.phone-group-wrapper {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

.phone-group-wrapper select,
.phone-group-wrapper input {
    height: 100%;
}



.explore-blog-btn {
    display: inline-flex !important;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: var(--primary-color);

    border: 1px solid var(--primary-color);
    transition: all 0.3s ease;
}


.mobile-close-btn {
    display: none;
    width: 100%;
    padding: 12px;
    background: transparent;
    border: 1px solid #ddd;
    color: #666;
    text-transform: uppercase;
    font-weight: 600;
    margin-top: 15px;
    cursor: pointer;
    border-radius: 4px;
    font-family: inherit;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .mobile-close-btn {
        display: block;
    }


    .close-expansion-btn {
        display: none;
    }
}




.contact-v2-hero {
    height: 60vh;
    min-height: 500px;
    background-image: url('images/hero1.png');

    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: var(--nav-height);
}

.contact-v2-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, rgba(64, 72, 115, 0.9) 100%);
}

.contact-v2-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    max-width: 800px;
    padding: 20px;
    margin-bottom: 50px;

    animation: fadeInUp 1s ease-out;
}

.contact-v2-hero-content .hero-subtitle {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 20px;
    color: var(--accent-color);
    font-weight: 600;
}

.contact-v2-hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 6vw, 4.5rem);
    line-height: 1.1;
    font-weight: 700;
    margin: 0;
}


.contact-v2-interface-wrapper {
    position: relative;
    z-index: 10;
    padding: 0 5%;
    margin-top: -100px;

    margin-bottom: 80px;
}

.contact-v2-interface {
    max-width: 1300px;
    margin: 0 auto;
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
    display: flex;
    min-height: 700px;
}


.contact-v2-info-panel {
    width: 40%;
    background: var(--primary-color);
    color: #fff;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.contact-v2-info-panel::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.info-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 15px;
    color: #fff;
}

.info-header p {
    font-size: 1.05rem;
    opacity: 0.8;
    line-height: 1.6;
    max-width: 90%;
}

.v2-details-list {
    display: flex;
    flex-direction: column;
    gap: 35px;
    margin-top: 40px;
}

.v2-detail-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.v2-detail-item .icon-circle {
    width: 50px;
    height: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.v2-detail-item:hover .icon-circle {
    background: #fff;
    color: var(--primary-color);
    border-color: #fff;
}

.v2-detail-item .text {
    display: flex;
    flex-direction: column;
}

.v2-detail-item .text label {
    font-family: var(--font-body);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.5;
    margin-bottom: 2px;
}

.v2-detail-item .text a,
.v2-detail-item .text p {
    font-size: 1.1rem;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    margin: 0;
}

.social-connect-box {
    margin-top: auto;
    padding-top: 40px;
}

.social-connect-box span {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 15px;
    opacity: 0.6;
}

.social-icons-row {
    display: flex;
    gap: 15px;
}

.social-icons-row a {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 10px 15px;
    border-radius: 30px;
    transition: all 0.3s;
}

.social-icons-row a:hover {
    background: #fff;
    color: var(--primary-color);
}


.contact-v2-form-panel {
    width: 60%;
    padding: 60px 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.v2-form h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 40px;
}


.v2-input-group {
    position: relative;
    margin-bottom: 35px;
}

.v2-input,
.v2-textarea {
    width: 100%;
    padding: 15px 0;
    border: none;
    border-bottom: 1px solid #ddd;
    background: transparent;
    font-family: var(--font-body);
    font-size: 1.1rem;
    outline: none;
    color: var(--primary-color);
    transition: border-color 0.3s ease;
    border-radius: 0;

}

.v2-textarea {
    resize: none;
    padding-top: 25px;

}

.v2-label {
    position: absolute;
    top: 15px;
    left: 0;
    font-size: 1rem;
    color: #999;
    pointer-events: none;
    transition: all 0.3s ease;
}

.v2-input:focus,
.v2-textarea:focus,
.v2-input:not(:placeholder-shown),
.v2-textarea:not(:placeholder-shown) {
    border-bottom: 2px solid var(--primary-color);
}

.v2-input:focus~.v2-label,
.v2-textarea:focus~.v2-label,
.v2-input:not(:placeholder-shown)~.v2-label,
.v2-textarea:not(:placeholder-shown)~.v2-label {
    top: -10px;
    font-size: 0.8rem;
    color: var(--brand-color);
    font-weight: 600;
}


.v2-captcha {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.captcha-q {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.captcha-a {
    width: 60px;
    padding: 10px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
}


.v2-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 18px 30px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.v2-submit-btn:hover {
    background: var(--brand-color);
    padding-right: 40px;

}

.v2-submit-btn svg {
    transition: transform 0.3s ease;
}

.v2-submit-btn:hover svg {
    transform: translateX(5px) rotate(-45deg);

}


.v2-map-section {
    height: 600px;

    width: 100%;
    max-width: 100%;

    padding: 0;

    margin: 0;

    filter: grayscale(1);
    transition: filter 0.5s;
    margin-bottom: -10px;

}

.v2-map-section:hover {
    filter: grayscale(0);
}

.v2-map-section iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}


@media (max-width: 900px) {
    .contact-v2-interface {
        flex-direction: column;
    }

    .contact-v2-info-panel,
    .contact-v2-form-panel {
        width: 100%;
        padding: 40px 30px;
    }

    .contact-v2-info-panel {
        order: 2;

    }

    .contact-v2-hero {
        height: 50vh;
    }

    .contact-v2-interface-wrapper {
        margin-top: -50px;
    }
}


.editorial-gallery-section {
    padding: 100px 5%;
    background-color: #fff;
    max-width: 1600px;
    margin: 0 auto;
}

.editorial-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 300px;
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;

    border-radius: 2px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.2, 1, 0.3, 1);
    display: block;
}

.gallery-item:hover img {
    transform: scale(1.03);
}


.gallery-feat-large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-feat-tall {
    grid-column: span 1;
    grid-row: span 2;
}

.gallery-feat-wide {
    grid-column: span 2;
    grid-row: span 1;
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
    color: #fff;
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
}

.gallery-item:hover .gallery-caption {
    opacity: 1;
    transform: translateY(0);
}


@media (max-width: 1024px) {
    .editorial-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 250px;
    }


    .gallery-feat-large {
        grid-column: span 2;
        grid-row: span 2;
    }

    .gallery-feat-wide {
        grid-column: span 2;
        grid-row: span 1;
    }

    .gallery-feat-tall {
        grid-column: span 1;
        grid-row: span 2;
    }
}

@media (max-width: 768px) {
    .editorial-gallery-section {
        padding: 60px 20px;
    }

    .editorial-gallery-grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .gallery-item {
        width: 100%;
        height: auto;
        aspect-ratio: 4/3;

    }


    .gallery-feat-large,
    .gallery-feat-tall,
    .gallery-feat-wide {
        grid-column: auto;
        grid-row: auto;
    }
}


.nosotros-video-section {
    width: 100%;
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
    height: 60vh;

    background: #000;
}

@media (min-width: 1024px) {
    .nosotros-video-section {
        height: 80vh;

    }
}

.nosotros-video-section video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover !important;
    z-index: 1;
}


@media (max-width: 768px) {
    .nosotros-video-section {
        height: 50vh;

    }
}



.editorial-hero {
    position: relative;
    width: 100%;
    height: 80vh;
    min-height: 500px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    color: #fff;
    margin-top: 0;
}

body:not(.home) .editorial-hero {
    margin-top: 0;
}

.editorial-hero-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    filter: brightness(0.85);
}

.editorial-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: linear-gradient(to bottom, rgba(64, 64, 64, 0.2) 0%, rgba(10, 10, 10, 0.95) 100%);
    mix-blend-mode: multiply;
    z-index: 1;
}

.editorial-header-content {
    position: relative;
    z-index: 2;
    padding: 0 5% 20px 5%;

    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.breadcrumb-container.white {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.breadcrumb-container.white a {
    color: #fff;
    text-decoration: underline;
}

.breadcrumb-container.white .active {
    color: var(--brand-color);
    font-weight: 600;
}

.entry-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.entry-subtitle {
    font-family: var(--font-body);
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    font-weight: 300;
    opacity: 0.95;
    margin-bottom: 25px;
    max-width: 800px;
}

.entry-meta {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    opacity: 0.8;
}


.editorial-container {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    display: flex;
    gap: 60px;
    position: relative;
}

.share-sidebar {
    width: 60px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    position: sticky;
    top: 100px;
    height: fit-content;
    padding-top: 20px;
}

.share-label {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #999;
    margin-bottom: 10px;
}

.share-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    transition: all 0.3s ease;
    background: #fff;
}

.share-icon:hover {
    background: var(--brand-color);
    color: #fff;
    border-color: var(--brand-color);
    transform: translateY(-3px);
}

.post-content {
    flex: 1;
    max-width: 800px;
    font-size: 1.15rem;
    line-height: 1.8;
    color: #333;
}

.post-content p {
    margin-bottom: 30px;
}

.post-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-top: 50px;
    margin-bottom: 20px;
}

.editorial-quote {
    border-left: 4px solid var(--brand-color);
    padding-left: 20px;
    margin: 40px 0;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.5rem;
    color: #444;
}

.editorial-quote cite {
    display: block;
    margin-top: 10px;
    font-size: 1rem;
    font-family: var(--font-body);
    font-style: normal;
    color: #888;
}

.drop-cap:first-letter {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    float: left;
    line-height: 0.8;
    margin-right: 15px;
    margin-top: 5px;
    color: var(--brand-color);
}

.post-content ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 30px;
}

.post-content ul li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
}

.post-content ul li::before {
    content: '•';
    color: var(--brand-color);
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -5px;
}


.post-gallery-section {
    max-width: 1400px;
    margin: 0 auto 100px auto;
    padding: 0 5%;
}

.gallery-title {
    font-family: 'Playfair Display', serif;
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--primary-color);
}

.post-gallery-grid-7 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap: 15px;
}

.pg-item {
    position: relative;
    overflow: hidden;
    cursor: zoom-in;
}

.pg-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.pg-item:hover img {
    transform: scale(1.05);
}

.pg-large {
    grid-column: span 2;
    grid-row: span 2;
}

.pg-wide {
    grid-column: span 2;
    grid-row: span 1;
}

@media (max-width: 900px) {
    .editorial-container {
        flex-direction: column;
        gap: 30px;
    }

    .share-sidebar {
        width: 100%;
        flex-direction: row;
        justify-content: flex-start;
        position: static;
        padding-top: 0;
        border-bottom: 1px solid #eee;
        padding-bottom: 20px;
        margin-bottom: 20px;
    }

    .share-label {
        writing-mode: horizontal-tb;
        transform: none;
        margin-bottom: 0;
        margin-right: 15px;
    }

    .post-gallery-grid-7 {
        grid-template-columns: repeat(2, 1fr);
    }

    .pg-large,
    .pg-wide {
        grid-column: span 2;
    }
}

.read-more-cta {
    text-align: center;
    padding: 80px 20px;
    background: #f4f4f4;
}

.cta-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 15px;
}


#backToTopBtn {
    display: none;

    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    font-size: 1.5rem;
    border: none;
    outline: none;
    background-color: var(--brand-color);
    color: white;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    opacity: 0.8;
}

#backToTopBtn:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
    opacity: 1;
}

#backToTopBtn svg {
    width: 30px;
    height: 30px;
    stroke-width: 2.5px;
}


.masonry-item a.insta-overlay {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
}


.testi-nav {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.testi-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);

    color: #ffffff;

    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    opacity: 0.7;
}

.testi-btn:hover {
    background: #ffffff;
    color: var(--primary-color);
    border-color: #ffffff;
    opacity: 1;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.testi-btn:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .testi-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}


.itinerary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
    padding: 10px 20px;
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
    width: 100%;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-decoration: none;
    box-sizing: border-box;
}



.itinerary-btn:hover {
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
}


.route-itinerary-container {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0, 1, 0, 1);
    background-color: #f8f9fa;
    border-radius: 0 0 15px 15px;
}

.route-itinerary-container.active {
    max-height: 1000px;

    transition: max-height 0.8s ease-in-out;
    border-top: 1px solid #eee;
}

.itinerary-content-inner {
    padding: 20px;
    font-size: 0.9rem;
    color: #444;
    text-align: left;
}

.itinerary-row-compact {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: var(--primary-color);
    font-weight: 600;
}

.places-list-compact {
    margin: 10px 0;
    padding-left: 20px;
    list-style-type: disc;
}

.places-list-compact li {
    margin-bottom: 4px;
}

.price-compact {
    display: inline-block;
    background-color: var(--brand-color);
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 700;
    margin-left: 5px;
}

.warning-text-compact {
    font-size: 0.8rem;
    color: #e67e22;
    font-weight: 600;
    margin-top: 10px;
}

.price-highlight-compact {
    margin-top: 15px;
    padding: 10px 15px;
    background-color: rgba(41, 149, 217, 0.1);
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    color: var(--primary-color);
    border: 1px solid rgba(41, 149, 217, 0.2);
}

.price-amount {
    font-size: 1.2rem;
    color: var(--brand-color);
}

/* Fix for phone/lada fields layout */
.phone-group-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.lada-select {
    width: auto !important;
    min-width: 100px;
    flex-shrink: 0;
    height: 56px !important;
    min-height: 56px !important;
    /* Slightly taller to match input visual */
    padding: 0 30px 0 10px !important;
    /* Reduce padding significantly */
    text-align: center;
    text-align-last: center;
    line-height: normal;
}

/* Ensure input matches height and sits nicely */
.phone-group-wrapper input {
    height: 56px !important;
    min-height: 56px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    line-height: normal;
}

.phone-group-wrapper input#phone {
    flex: 1;
    width: auto !important;
    min-width: 0;
    /* Critical for flex shrinking */
    padding-left: 15px !important;
    /* Optimize padding */
    padding-right: 15px !important;
}

@media (max-width: 768px) {
    .phone-group-wrapper {
        display: flex !important;
        flex-direction: column !important;
        /* Stack vertically on mobile */
        align-items: stretch !important;
        /* Full width */
        gap: 10px !important;
    }

    .lada-select {
        width: 100% !important;
        /* Full width */
        max-width: 100% !important;
        flex: none !important;
        margin-bottom: 0 !important;
        padding: 0 15px !important;
        height: 56px !important;
        text-align: left;
        /* Reset text align for better look when full width */
        text-align-last: left;
        font-size: 1rem !important;
    }

    .phone-group-wrapper input#phone {
        width: 100% !important;
        flex: none !important;
        margin-bottom: 0 !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}