/*
Theme Name: Nazca Lines Operator
Theme URI: https://cuscocreativos.com
Author: Cusco Creativos
Author URI: https://cuscocreativos.com
Description: Tema personalizado para la empresa Nazca Lines Operator. Desarrollado paso a paso con un enfoque en rendimiento, diseño premium y experiencia de usuario.
Version: 1.0.0
Text Domain: nazca-lines-operator
*/

:root {
    /* Nazca Lines Colors - Branding */
    --color-orange: #d35400; /* Naranja del desierto */
    --color-orange-dark: #b84a00;
    --color-sand: #e6daca; /* Arena */
    --color-sand-light: #f5f0eb;
    --color-black: #1a1a1a;
    --color-white: #ffffff;
    --color-text: #333333;
    --color-border: #e0e0e0;
    
    /* Typography */
    --font-primary: 'Outfit', sans-serif;
    --font-secondary: 'Playfair Display', serif;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--font-primary);
    color: var(--color-text);
    background-color: var(--color-white);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: var(--color-orange);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--color-orange-dark);
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

button {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    padding: 0;
}

/* ==========================================================================
   Header Top
   ========================================================================== */
.site-header {
    background-color: var(--color-white);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05); /* Premium shadow */
    position: relative;
    z-index: 1000;
}

.header-top {
    padding: 15px 0;
    border-bottom: 2px solid var(--color-sand-light);
}

.header-top-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo .site-title-text {
    display: inline-block;
    text-transform: uppercase;
    font-weight: 800;
    line-height: 1;
}

.header-logo .nazca {
    font-size: 32px;
    color: var(--color-black);
    letter-spacing: 2px;
}

.header-logo .operator {
    font-size: 18px;
    color: var(--color-orange);
    letter-spacing: 5px;
}

.header-logo img {
    max-height: 60px;
    width: auto;
}

.header-widgets.single-row-widgets {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
}

.header-contact {
    font-weight: 600;
    color: var(--color-black);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s;
}

.header-contact i {
    color: var(--color-orange);
    font-size: 16px;
}

.header-contact:hover {
    color: var(--color-orange);
}

.header-social {
    display: flex;
    gap: 12px;
    margin-left: 10px;
}

.header-social a {
    color: var(--color-black);
    font-size: 16px;
    transition: color 0.3s;
}

.header-social a:hover {
    color: var(--color-orange);
}

.plan-trip-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--color-white);
    font-size: 14px;
    background: linear-gradient(135deg, var(--color-orange), var(--color-orange-dark));
    padding: 10px 24px;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(211, 84, 0, 0.3);
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.plan-trip-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(211, 84, 0, 0.4);
    color: var(--color-white);
}

.plan-trip-btn i {
    font-size: 16px;
    animation: pulseIcon 2s infinite;
}

@keyframes pulseIcon {
    0% { transform: scale(1); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

.icon-action {
    color: var(--color-black);
    font-size: 18px;
    transition: color 0.3s ease;
}

.icon-action:hover {
    color: var(--color-orange);
}

.cart-action {
    position: relative;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background-color: var(--color-orange);
    color: var(--color-white);
    font-size: 10px;
    font-weight: bold;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==========================================================================
   Header Navigation
   ========================================================================== */
.header-navigation {
    background-color: var(--color-black); 
    border-bottom: 4px solid var(--color-orange); 
}

.main-navigation {
    display: block;
    width: 100%;
}

.primary-menu-list {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.primary-menu-list > li {
    position: relative;
}

.primary-menu-list > li > a {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--color-white);
    font-weight: 600;
    font-size: 15px;
    padding: 18px 24px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s, background-color 0.3s;
}

/* Chevron para dropdowns usando CSS */
.primary-menu-list > li.menu-item-has-children > a::after {
    content: '\f0d7';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 11px;
}

.primary-menu-list > li > a:hover {
    color: var(--color-white);
    background-color: var(--color-orange);
}

/* ==========================================================================
   Mega Menu y Descripcion Images
   ========================================================================== */
/* Nivel 1 del sub-menu por defecto (Dropdown simple) */
.primary-menu-list li.menu-item-has-children .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--color-white);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    min-width: 250px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 100;
    border-top: 3px solid var(--color-orange);
}

.primary-menu-list li.menu-item-has-children:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.primary-menu-list .sub-menu li a {
    display: block;
    padding: 12px 20px;
    color: var(--color-text);
    font-size: 14px;
    font-weight: 500;
    border-bottom: 1px solid var(--color-sand-light);
    transition: all 0.2s ease;
}

.primary-menu-list .sub-menu li a:hover {
    color: var(--color-orange);
    padding-left: 25px;
    background-color: var(--color-sand-light);
}

/* Configuracion avanzada para consumirlo como Mega Menu con clase "mega-menu" en WP Nav */
@media (min-width: 1025px) {
    .primary-menu-list li.mega-menu {
        position: static; 
    }
    
    .primary-menu-list li.mega-menu > .sub-menu {
        width: 100%;
        left: 0;
        right: 0;
        display: flex;
        flex-wrap: wrap;
        padding: 30px;
        justify-content: space-between;
    }
    
    .primary-menu-list li.mega-menu > .sub-menu > li {
        flex: 1;
        min-width: 250px;
        padding: 0 15px;
    }
    
    /* Titulos de las columnas */
    .primary-menu-list li.mega-menu > .sub-menu > li > a {
        font-size: 18px;
        font-weight: 700;
        color: var(--color-black);
        border-bottom: 2px solid var(--color-sand);
        margin-bottom: 15px;
        padding: 0 0 10px 0;
        text-transform: none;
    }
    
    .primary-menu-list li.mega-menu > .sub-menu > li > a:hover {
        padding-left: 0;
        background: transparent;
        color: var(--color-orange);
    }

    /* Sub-menu interno (Lista de tours estilo panel 1 del diseño) */
    .primary-menu-list li.mega-menu > .sub-menu > li > .sub-menu {
        position: relative;
        top: auto;
        left: auto;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        border-top: none;
        min-width: auto;
    }
    
    .primary-menu-list li.mega-menu > .sub-menu > li > .sub-menu > li > a {
        padding: 10px 0;
        border-bottom: 1px solid var(--color-sand-light);
        font-weight: 400;
    }
    .primary-menu-list li.mega-menu > .sub-menu > li > .sub-menu > li > a:hover {
        color: var(--color-orange);
        padding-left: 8px;
        background: transparent;
    }
}

/* ==========================================================================
   Mobile Menu Toggle
   ========================================================================== */
.menu-toggle {
    display: none;
    padding: 10px;
    color: var(--color-white);
    font-size: 24px;
}

@media (max-width: 1024px) {
    .header-top-inner {
        flex-direction: column;
        gap: 15px;
    }
    
    .header-widgets.single-row-widgets {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hide-mobile {
        display: none !important;
    }
    
    .nav-container {
        display: flex;
        justify-content: center;
    }
    
    .menu-toggle {
        display: block;
        color: var(--color-white);
        font-size: 24px;
        padding: 10px;
    }
    
    .primary-menu-list {
        display: none;
        flex-direction: column;
        width: 100%;
        background: var(--color-black);
    }
    
    .primary-menu-list.active {
        display: flex;
    }
    
    .primary-menu-list > li > a {
        color: #fff;
        padding: 16px 20px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        justify-content: space-between;
    }
    
    .primary-menu-list li.menu-item-has-children .sub-menu {
        position: relative;
        top: auto;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        display: none;
        transform: none;
    }
    
    /* Javascript toggle needed for mobile dropdowns */
    .primary-menu-list li.menu-item-has-children.open-sub .sub-menu {
        display: block;
    }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background-color: var(--color-black);
    background-size: cover;
    background-position: center;
    color: var(--color-white);
    padding-top: 70px;
    position: relative;
    font-family: var(--font-primary);
}

.footer-top-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding-bottom: 50px;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-title {
    font-size: 16px;
    font-family: var(--font-secondary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 0;
    margin-bottom: 24px;
    padding-bottom: 15px;
    /* Simulated underline with border */
    position: relative;
}

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-contact-list li {
    font-size: 13.5px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 15px;
}

.footer-contact-list li:last-child {
    border-bottom: none;
}

.footer-contact-list i {
    color: var(--color-orange);
    width: 16px;
    font-size: 16px;
    text-align: center;
}

.mt-4 {
    margin-top: 35px;
}

.footer-schedule {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
}

.footer-schedule p {
    margin: 0;
}

.footer-schedule i {
    color: var(--color-orange);
    margin-top: 4px;
    font-size: 16px;
}

/* Cajas de métodos de pago */
.payment-box {
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.payment-box h5 {
    margin: 0 0 12px 0;
    font-size: 16px;
    font-weight: 700;
}

.payment-box p {
    font-size: 13.5px;
    margin: 0 0 8px 0;
    line-height: 1.5;
}

.payment-box small {
    font-size: 11px;
    opacity: 0.8;
}

.orange-box {
    background-color: var(--color-orange); /* Adaptado al branding (Inca era azul) */
    color: var(--color-white);
}

.white-box {
    background-color: var(--color-white);
    color: var(--color-black);
}

.payment-icons {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 28px;
}

.payment-icons .fa-cc-visa { color: #1a1f71; }
.payment-icons .fa-cc-mastercard { color: #eb001b; }
.payment-icons .fa-cc-paypal { color: #00457c; }
.payment-icons .fa-cc-amex { color: #2e77bc; }

/* Menu de Navegación */
.footer-nav-list li a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 14.5px;
    padding: 10px 0;
    transition: all 0.3s ease;
}

.footer-nav-list li a:hover {
    color: var(--color-orange);
    transform: translateX(8px);
}

.footer-nav-list li a i,
.footer-company-data li i {
    color: var(--color-orange);
    font-size: 12px;
}

.reclamaciones-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--color-white);
    font-size: 16px;
    font-weight: 600;
}
.reclamaciones-link i { color: #f1c40f; font-size: 22px;}

/* Social & Circulos redondos */
.footer-social-circles {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-social-circles a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.4);
    color: var(--color-white);
    font-size: 18px;
    transition: all 0.3s ease;
}

.footer-social-circles a:hover {
    background-color: var(--color-orange);
    border-color: var(--color-orange);
    transform: translateY(-3px);
}

.small-circles a {
    width: 40px;
    height: 40px;
    font-size: 16px;
}

/* Datos Empresa */
.footer-company-data {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-company-data li {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
}

.footer-company-data li i {
    margin-top: 4px;
}

/* Bottom Bar */
.footer-bottom-bar {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 20px 0;
    background-color: rgba(0,0,0,0.4); /* Leve oscuridad extra sobre el fondo */
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    flex-wrap: wrap;
    gap: 20px;
}

.lang-switcher {
    background: var(--color-white);
    color: var(--color-black);
    padding: 6px 14px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    cursor: pointer;
}

.copyright {
    color: rgba(255,255,255,0.6);
}

.legal-links a {
    color: rgba(255,255,255,0.6);
    margin-left: 20px;
}

.legal-links a:hover {
    color: var(--color-white);
    text-decoration: underline;
}

.back-to-top button {
    background-color: var(--color-orange-dark); /* Color corporativo */
    color: var(--color-white);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: background-color 0.3s;
}

.back-to-top button:hover {
    background-color: var(--color-orange);
}

/* WhatsApp Flotante Verde */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366; /* Verde oficial WhatsApp */
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
    z-index: 9999;
    transition: transform 0.3s ease;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    color: white;
}

/* Responsividad del Footer */
@media (max-width: 1024px) {
    .footer-top-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .footer-top-container {
        grid-template-columns: 1fr;
    }
    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }
    .legal-links {
        margin-top: 10px;
    }
}

/* ==========================================================================
   Hero Slider Section
   ========================================================================== */
.hero-slider-section {
    position: relative;
    width: 100%;
    height: 85vh; /* Large impactful banner */
    min-height: 600px;
    max-height: 900px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-black);
}

.hero-slider-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.hero-content {
    text-align: center;
    color: var(--color-white);
    max-width: 900px;
    padding: 0 20px;
    z-index: 10;
    transform: translateY(-40px); /* Balance de centrar con buscador abajo */
}

.hero-subtitle {
    display: block;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 25px;
    letter-spacing: 1px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-title {
    font-size: 60px;
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.15;
    margin: 0;
    text-shadow: 0 4px 15px rgba(0,0,0,0.6);
}

/* Slider Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: rgba(0,0,0,0.3);
    border: 2px solid rgba(255,255,255,0.4);
    color: var(--color-white);
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.slider-arrow:hover {
    background: var(--color-orange);
    border-color: var(--color-orange);
    transform: translateY(-50%) scale(1.05);
}

.prev-arrow { left: 40px; }
.next-arrow { right: 40px; }

/* ==========================================================================
   Floating Search Form
   ========================================================================== */
.hero-search-wrapper {
    position: absolute;
    bottom: -45px; /* Overlap sobre la seccion siguiente */
    left: 0;
    width: 100%;
    z-index: 30;
    display: flex;
    justify-content: center;
}

.hero-search-form {
    background-color: var(--color-white);
    border-radius: 100px; /* Pill shape */
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    display: flex;
    align-items: center;
    padding: 12px 12px 12px 30px;
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
}

.search-field {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
    padding: 10px 15px;
}

.field-icon {
    font-size: 22px;
    color: rgba(51, 51, 51, 0.4); /* Íconos sutiles tipo diseño gris claro, no naranjas por defecto */
}

.field-texts {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.field-texts label {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-black);
    margin-bottom: 2px;
}

.field-texts input,
.field-texts select {
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 14px;
    color: var(--color-text);
    outline: none;
    width: 100%;
    padding: 0;
    cursor: pointer;
}

.field-texts select {
    appearance: none;
    background: url('data:image/svg+xml;utf8,<svg fill="%23999999" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/><path d="M0 0h24v24H0z" fill="none"/></svg>') no-repeat right center;
    padding-right: 20px;
}

.field-texts input::placeholder {
    color: #999999;
}

.search-divider {
    width: 1px;
    height: 45px;
    background-color: var(--color-border);
    margin: 0 5px;
}

.search-submit {
    margin-left: auto;
}

.btn-search {
    background-color: var(--color-orange);
    color: var(--color-white);
    font-weight: 600;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 35px;
    border-radius: 100px;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

.btn-search:hover {
    background-color: var(--color-orange-dark);
}

/* Spacer borrado, absorbido por top-destinations-section */

/* Hero Responsivo */
@media (max-width: 1024px) {
    .hero-title { font-size: 46px; }
    .hero-search-form {
        flex-direction: column;
        border-radius: 20px;
        padding: 25px;
    }
    .search-divider {
        width: 100%;
        height: 1px;
        margin: 15px 0;
    }
    .search-submit {
        width: 100%;
        margin-top: 20px;
    }
    .btn-search {
        width: 100%;
        justify-content: center;
        border-radius: 10px; /* Adapta a móvil cuadrado para la caja interior */
    }
    .hero-search-wrapper {
        bottom: -200px;
        padding: 0 15px;
    }
    .top-destinations-section {
        padding-top: 260px; /* 200px solapamiento caja vertical + 60px gap maximo */
    }
    .prev-arrow { left: 15px; }
    .next-arrow { right: 15px; }
    .slider-arrow { width: 45px; height: 45px; }
}
@media (max-width: 768px) {
    .hero-title { font-size: 34px; line-height: 1.2;}
    .hero-subtitle { font-size: 13px; }
    .hero-slider-section { height: 75vh; min-height: 500px; }
}

/* ==========================================================================
   Top Destinations (Bento Grid)
   ========================================================================== */
.top-destinations-section {
    background-color: var(--color-sand-light); /* Fondo crema estilo diseño */
    padding: 105px 0 100px 0; /* 45px solapamiento (overlap) del form + 60px padding maximo */
    text-align: center;
}

.section-title {
    font-size: 42px;
    font-family: var(--font-primary);
    font-weight: 800;
    color: var(--color-black);
    margin: 0 0 10px 0;
}

.section-subtitle {
    font-size: 16px;
    color: #666666;
    margin: 0 0 40px 0;
}

/* Pills de Categorías */
.category-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 50px;
    padding: 0 15px;
}

.filter-btn {
    border: 2px solid var(--color-black);
    background-color: transparent;
    color: var(--color-black);
    padding: 12px 28px;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background-color: rgba(0,0,0,0.05);
}

.filter-btn.active {
    background-color: var(--color-black);
    color: var(--color-white);
}

/* Estructura Bento Box */
.bento-container {
    max-width: 1250px;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 280px); /* Dos filas simétricas */
    gap: 20px;
    padding: 0 15px;
}

/* Cada tarjeta del gril */
.bento-card {
    position: relative;
    border-radius: 24px; /* Bordes suaves */
    overflow: hidden;
    background-color: #ddd;
    display: block;
    box-shadow: 0 10px 20px rgba(0,0,0,0.08); /* Sutil 3D */
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.bento-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.bento-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.bento-card:hover .bento-img {
    transform: scale(1.08); /* Efecto zoom imagen */
}

/* Gradiente para lectura */
.bento-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 40%, rgba(0,0,0,0.85) 100%);
    pointer-events: none;
}

/* Insignia rating */
.bento-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255,255,255,0.95);
    color: var(--color-black);
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 12px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.bento-tag i {
    color: #f1c40f;
}

/* Contenidos internos (títulos) */
.bento-content {
    position: absolute;
    bottom: 25px;
    left: 25px;
    right: 25px;
    text-align: left;
    z-index: 2;
    color: var(--color-white);
}

.bento-content h3 {
    margin: 0 0 5px 0;
    font-size: 24px;
    font-weight: 700;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
    line-height: 1.2;
}

.bento-content p {
    margin: 0;
    font-size: 15px;
    opacity: 0.9;
    font-weight: 400;
}

/* Asignaciones de posiciones en el Layout Bento */
.bento-item-1 { grid-column: 1; grid-row: 1; }
.bento-item-2 { grid-column: 1; grid-row: 2; }
.bento-item-3 { grid-column: 2; grid-row: span 2; } /* Card vertical central */
.bento-item-3 .bento-content h3 { font-size: 30px; } /* Título destado en la principal */
.bento-item-4 { grid-column: 3 / span 2; grid-row: 1; } /* Card horizontal ancha superior derecha */
.bento-item-5 { grid-column: 3; grid-row: 2; }
.bento-item-6 { grid-column: 4; grid-row: 2; }

/* Responsividad Bento */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: auto;
        grid-auto-rows: 250px;
    }
    /* Restructurar posiciones para Tablet */
    .bento-item-1 { grid-column: 1; grid-row: 1; }
    .bento-item-2 { grid-column: 2; grid-row: 1; }
    .bento-item-3 { grid-column: 3; grid-row: 1 / span 2; } 
    .bento-item-4 { grid-column: 1 / span 2; grid-row: 2; }
    .bento-item-5 { grid-column: 1; grid-row: 3; }
    .bento-item-6 { grid-column: 2 / span 2; grid-row: 3; }
}

@media (max-width: 768px) {
    .bento-grid {
        display: flex;
        flex-direction: column;
    }
    .bento-card {
        height: 280px;
        width: 100%;
        margin-bottom: 5px; /* se suma al gap via flex */
    }
    .section-title {
        font-size: 32px;
    }
}

/* ==========================================================================
   Top Tours Section (Airbnb Card Style)
   ========================================================================== */
.top-tours-section {
    padding: 80px 0 100px 0;
    background-color: var(--color-white); /* Contraste respecto a la arena anterior */
}

.section-heading-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.section-heading-row .section-title {
    margin: 0;
    text-align: left;
}

.view-all-link {
    color: var(--color-black);
    font-weight: 600;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: color 0.3s ease;
    border-bottom: 2px solid transparent;
}

.view-all-link:hover {
    color: var(--color-orange);
    border-color: var(--color-orange);
}

.tours-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

/* Tour Card Estructura */
.tour-card {
    background-color: var(--color-white);
    border-radius: 20px;
    /* Sombras como en la imagen, envolvente sin bordes duros */
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    padding: 15px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tour-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.tour-card-image-wrap {
    position: relative;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4/3;
    margin-bottom: 18px;
}

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

.tour-card:hover .tour-card-image-wrap img {
    transform: scale(1.05); /* Zoom sutil a la foto */
}

.tour-wishlist {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 35px;
    height: 35px;
    background-color: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
}

.tour-wishlist:hover {
    color: #ff385c; /* Rojo interactivo */
}

.tour-image-dots {
    position: absolute;
    bottom: 12px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 6px;
    z-index: 10;
}

.tour-image-dots span {
    width: 6px;
    height: 6px;
    background-color: rgba(255,255,255,0.5);
    border-radius: 50%;
}

.tour-image-dots span.active {
    background-color: var(--color-white);
    transform: scale(1.2);
}

.tour-card-image-wrap img {
    /* Forzar siempre cobertura full del bloque de imagen de la tarjeta */
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tour-card-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.tour-card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-black);
    margin: 0 0 12px 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tour-card-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 13px;
    color: #666;
    margin-bottom: 20px;
    flex-wrap: wrap;
    row-gap: 8px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.meta-item i {
    color: #aaaaaa;
}

.tour-card-bottom {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-top: 1px solid #f0f0f0;
    padding-top: 20px;
}

.tour-card-price {
    display: flex;
    flex-direction: column;
}

/* Modificadores nativos para WooCommerce injectado */
.tour-card-price .price-amount,
.tour-card-price .price-amount .amount {
    font-size: 18px;
    font-weight: 800;
    color: var(--color-black);
}

.per-person {
    font-size: 12px;
    font-weight: 400;
    color: #777;
}

.price-inc {
    font-size: 11px;
    color: #aaa;
    margin-top: 4px;
}

.tour-card-btn {
    background-color: #f5f5f5;
    color: var(--color-black);
    font-size: 13px;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 100px; /* Estilo Pill del diseño */
    transition: all 0.3s;
    text-align: center;
    white-space: nowrap;
}

.tour-card-btn:hover {
    background-color: var(--color-orange);
    color: var(--color-white);
}

/* Responsividad general para Tours */
@media (max-width: 1200px) {
    .tours-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .tours-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .tours-grid {
        grid-template-columns: 1fr;
    }
    .section-heading-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}

/* ==========================================================================
   Nazca Tours Slider Section
   ========================================================================== */
.nazca-tours-section {
    padding: 80px 0 100px 0;
    background-color: var(--color-sand-light); /* Para diferenciar del blanco anterior */
}

.nazca-tours-swiper {
    padding-bottom: 50px; /* Espacio para los puntos de paginación */
    position: relative;
    overflow: hidden; /* Swiper lo necesita */
}

.nazca-slider-pagination {
    bottom: 0 !important;
}

.nazca-slider-pagination .swiper-pagination-bullet {
    background-color: #ccc;
    opacity: 1;
    width: 10px;
    height: 10px;
    margin: 0 6px;
    transition: all 0.3s;
}

.nazca-slider-pagination .swiper-pagination-bullet-active {
    background-color: var(--color-orange);
    width: 25px;
    border-radius: 10px;
}

.slider-navigation-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.slider-arrows {
    display: flex;
    gap: 15px;
}

.slider-arrows button {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid var(--color-black);
    background: transparent;
    color: var(--color-black);
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    cursor: pointer;
}

.slider-arrows button:hover {
    background: var(--color-black);
    color: var(--color-white);
}

.slider-arrows button.swiper-button-disabled {
    opacity: 0.3;
    cursor: not-allowed;
    border-color: #ccc;
    color: #ccc;
    background: transparent;
}

/* ==========================================================================
   Reviews Section (TripAdvisor style)
   ========================================================================== */
.reviews-section {
    padding-bottom: 100px;
    background-color: var(--color-white); 
}

.reviews-banner {
    padding: 80px 0 160px 0; /* Padding inferior grande para el solapamiento */
    background-size: cover;
    background-position: center;
}

.reviews-banner .banner-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.reviews-banner .section-title {
    color: var(--color-white);
    margin-bottom: 10px;
}

.reviews-banner .section-subtitle {
    color: rgba(255,255,255,0.7);
    margin: 0;
}

.btn-tripadvisor {
    background-color: #f1c40f; /* Botón Amarillo del diseño */
    color: var(--color-black);
    padding: 14px 28px;
    border-radius: 100px;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s ease;
}

.btn-tripadvisor:hover {
    transform: translateY(-4px);
    color: var(--color-black);
}

.btn-tripadvisor i {
    font-size: 22px;
}

.relative-container {
    position: relative;
    margin-top: -100px; /* Traslape negativo (overlapping) hacia arriba */
    z-index: 10;
}

.reviews-swiper {
    padding-bottom: 50px;
}

.review-card {
    background-color: var(--color-white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.reviewer-info {
    flex: 1;
}

.reviewer-name-stars {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.reviewer-info h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--color-black);
}

.reviewer-info span {
    font-size: 12px;
    color: #888;
}

.review-stars {
    color: #34e0a1; /* Verde oficial TripAdvisor */
    font-size: 12px;
    display: flex;
    gap: 3px;
}

.review-body {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1; 
    font-style: italic;
}

.review-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.review-photos {
    display: flex;
}

.review-photos img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--color-white);
    margin-left: -10px;
}
.review-photos img:first-child { margin-left: 0; }

.watermark-icon {
    font-size: 35px;
    color: #f0f0f0; 
}

/* Pagination slider */
.reviews-pagination {
    bottom: 0 !important;
}
.reviews-pagination .swiper-pagination-bullet {
    background-color: #ccc;
    opacity: 1;
    width: 10px;
    height: 10px;
    transition: all 0.3s;
}
.reviews-pagination .swiper-pagination-bullet-active {
    background-color: var(--color-orange);
    width: 25px;
    border-radius: 10px;
}

@media (max-width: 768px) {
    .reviews-banner .banner-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-section {
    padding: 100px 0;
    background-color: var(--color-sand-light); 
}

.faq-header {
    text-align: center;
    margin-bottom: 60px;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.accordion-item {
    background: var(--color-white);
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    overflow: hidden;
    border: 1px solid #eaeaea;
}

.accordion-header {
    width: 100%;
    text-align: left;
    padding: 24px 30px;
    background: transparent;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: 600;
    color: var(--color-black);
    cursor: pointer;
    transition: all 0.3s ease;
}

.accordion-header:hover {
    color: var(--color-orange);
}

.accordion-header i {
    transition: transform 0.3s ease;
    color: var(--color-orange);
}

.accordion-item.active .accordion-header i {
    transform: rotate(180deg);
}

.accordion-item.active .accordion-header {
    padding-bottom: 15px;
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.accordion-content {
    padding: 0 30px 24px 30px;
    color: #555;
    line-height: 1.6;
    font-size: 15px;
}

@media (max-width: 900px) {
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* ==========================================================================
   Blog Section
   ========================================================================== */
.blog-section {
    padding: 100px 0;
    background-color: var(--color-white); 
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 por cara en escritorio */
    gap: 30px;
}

.blog-card {
    background: var(--color-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.blog-card-image {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
}

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

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-cat-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--color-orange);
    color: var(--color-white);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 13px;
    font-size: 20px;
    z-index: 100;
}

.blog-card-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-meta {
    display: flex;
    gap: 15px;
    color: #888;
    font-size: 13px;
    margin-bottom: 12px;
}

.blog-card-meta i {
    color: var(--color-orange);
}

.blog-card-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.4;
}

.blog-card-title a {
    color: var(--color-black);
    text-decoration: none;
    transition: color 0.3s;
}

.blog-card-title a:hover {
    color: var(--color-orange);
}

.blog-card-excerpt {
    color: #555;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.blog-read-more {
    color: var(--color-black);
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s;
}

.blog-read-more i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.blog-read-more:hover {
    color: var(--color-orange);
}

.blog-read-more:hover i {
    transform: translateX(4px);
}

@media (max-width: 991px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Single Product (Tour Details - Airbnb Layout)
   ========================================================================== */
.single-tour-main {
    background: #fff;
    /* Quitamos padding top porque el header transparente chocará con el banner */
}

.tour-hero-banner {
    position: relative;
    padding: 180px 0 100px 0; /* Espacio para que el header flote sobre la imagen */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.tour-hero-banner .hero-banner-content {
    position: relative;
    z-index: 2;
}

.banner-title {
    font-size: 46px;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--color-white);
    max-width: 800px;
}

.banner-meta {
    display: flex;
    gap: 25px;
    font-size: 16px;
    color: rgba(255,255,255,0.9);
    font-weight: 600;
}

.banner-meta i {
    color: var(--color-orange);
    margin-right: 6px;
}

.tour-content-section {
    padding-top: 60px;
}

.tour-split-layout {
    display: flex;
    gap: 60px;
    padding-bottom: 80px;
    align-items: flex-start;
}

.tour-left-column {
    flex: 1; /* Ocupa el espacio dinámico disponible */
}

.tour-intro-block h2 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 25px;
    color: var(--color-black);
}

.tour-description-text {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

.tour-divider {
    border: none;
    border-top: 1px solid #eaeaea;
    margin: 40px 0;
}

.tour-quick-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Dos columnas para los 6 iconos */
    gap: 30px;
}

.quick-info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.quick-info-item i {
    font-size: 26px;
    color: var(--color-orange); /* Naranja premium */
    margin-top: 2px;
}

.quick-info-item div {
    display: flex;
    flex-direction: column;
}

.quick-info-item strong {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-black);
    margin-bottom: 5px;
}

.quick-info-item span {
    font-size: 15px;
    color: #666;
}

/* ==========================================================================
   Tour Itinerary Timeline
   ========================================================================== */
.tour-itinerary-block {
    margin-top: 40px;
}

.tour-itinerary-block h2 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 30px;
    color: var(--color-black);
}

.itinerary-timeline {
    position: relative;
    padding-left: 35px; /* Espacio para alojar la franja y botones */
}

/* La gran linea vertical conductora */
.itinerary-timeline::before {
    content: '';
    position: absolute;
    left: 11px; /* Posicionado debajo del centro de las anillas */
    top: 5px;
    bottom: 0;
    width: 2px;
    background-color: var(--color-orange);
    opacity: 0.4;
}

.timeline-item {
    position: relative;
    margin-bottom: 45px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

/* Eliminar la línea vertical excedente debajo del último elemento no es trivial en CSS pseudo-element, 
   pero se camufla bien. O alternativamente limitamos el bottom de la timeline principal o aplicamos un pseudo elemento background 
   en el ultimo item para ocultarla. */

.timeline-item:last-child::after {
    content: '';
    position: absolute;
    left: -25px; /* Cubre sobre la lina conductora principal */
    top: 25px;
    bottom: -50px;
    width: 4px; /* Ancho suficiente para devorar la franja naranja de opacity */
    background: #fff;
    z-index: 1; /* Oculta la parte sobrante de la linea de fondo debajo de sí. Se asume q el fondo grl es blnco. */
}

/* Anilla circular del repetidor */
.timeline-marker {
    position: absolute;
    left: -35px; /* Totalmente alineado en el rail base */
    top: 0px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 5px solid var(--color-orange); /* Color de su imagen (Anilla Gruesa) */
    background-color: var(--color-white);  /* Vacio en el centro simulado como la foto */
    z-index: 2;
    box-shadow: 0 0 0 6px #fff; /* Pequeño gap visual que "recorta" la linea para que no toque */
}

.timeline-content {
    display: flex;
    flex-direction: column;
}

.timeline-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-black);
    margin: 0 0 5px 0;
    line-height: 1.3;
}

.timeline-step {
    font-size: 14px;
    color: #999;
    margin-bottom: 15px;
    font-weight: 400;
}

.timeline-desc {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
}

.timeline-desc p {
    margin-bottom: 10px;
}
.timeline-desc p:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   Tour Details (Includes, Excludes, Recommendations)
   ========================================================================== */
.tour-details-block {
    margin-bottom: 40px;
}

.tour-details-block h2 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--color-black);
    display: flex;
    align-items: center;
    gap: 10px;
}

.tour-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.details-content-wysiwyg {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
}

.details-content-wysiwyg p {
    margin-bottom: 15px;
}

.details-content-wysiwyg ul {
    list-style: none; /* Quitamos puntos HTML base */
    padding-left: 0;
    margin: 0;
}

.details-content-wysiwyg ul li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
}

/* Base de FontAwesome Injection para custom bullets */
.details-content-wysiwyg ul li::before {
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 16px;
}

/* Included Item (Green Check) */
.tour-details-included .details-content-wysiwyg ul li::before {
    content: '\f00c'; 
    color: #2ecc71; 
}

/* Excluded Item (Red X) */
.tour-details-excluded .details-content-wysiwyg ul li::before {
    content: '\f00d'; 
    color: #e74c3c; 
}

/* Recommendations (Theme Orange Arrow) */
.tour-details-recommendations .details-content-wysiwyg ul li::before {
    content: '\f061'; 
    color: var(--color-orange); 
}

/* Highlights (Star) */
.tour-details-highlights .details-content-wysiwyg ul li::before {
    content: '\f005'; 
    color: #f1c40f; 
}

@media (max-width: 768px) {
    .tour-details-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Columna Derecha de Compra (Fixed en scroll) */
.tour-right-column {
    width: 380px;
    position: sticky;
    top: 120px; /* Flota cuando bajas, frenando por el Header */
}

.tour-booking-widget {
    background: #fff;
    border: 1px solid #e1e1e1;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06); /* Sombra elegante */
}

.widget-price {
    font-size: 26px;
    font-weight: 800;
    color: var(--color-black);
    margin-bottom: 25px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.widget-price span.price-label {
    font-size: 16px;
    font-weight: 500;
    color: #666;
}

.widget-price .price-amount {
    color: var(--color-orange);
}

.woocommerce-booking-form-wrapper button[type="submit"] {
    background-color: var(--color-orange) !important;
    color: #fff !important;
    width: 100%;
    padding: 16px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    transition: transform 0.3s;
}

.woocommerce-booking-form-wrapper button[type="submit"]:hover {
    transform: translateY(-3px);
}

@media (max-width: 900px) {
    .tour-split-layout {
        flex-direction: column;
        gap: 40px;
    }
    .tour-right-column {
        width: 100%;
        position: relative;
        top: 0;
    }
    .tour-gallery-grid {
        height: 350px;
    }
    .tour-quick-info-grid {
        grid-template-columns: 1fr; /* Apila los 6 iconos verticalmente en móvil */
    }
}

/* ==========================================================================
   Related Tours Section (Single Product)
   ========================================================================== */
.related-tours-section {
    padding: 80px 0;
    background-color: #fdfdfd;
    border-top: 1px solid #eaeaea;
}

.related-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.related-header h2 {
    font-size: 32px;
    font-weight: 800;
}

.related-nav-buttons {
    display: flex;
    gap: 10px;
}

.related-slide-next, .related-slide-prev {
    cursor: pointer;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--color-white);
    border: 1px solid #eaeaea;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-black);
    transition: all 0.3s ease;
}

.related-slide-next:hover, .related-slide-prev:hover {
    background: var(--color-orange);
    color: white;
    border-color: var(--color-orange);
}

.related-pagination {
    margin-top: 30px;
}

/* ==========================================================================
   Custom Booking Widget (Right Column)
   ========================================================================== */
.custom-booking-widget {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    font-family: inherit;
}

/* Flatpickr Custom Theme Override to match Orange Brand */
.flatpickr-calendar {
    width: auto !important;
    max-width: 310px;
    box-shadow: 0 15px 45px rgba(0,0,0,0.1) !important;
    border: 1px solid #eee !important;
    background: #fff !important;
    border-radius: 15px !important;
    padding: 15px;
}
.flatpickr-innerContainer, 
.flatpickr-rContainer, 
.dayContainer, 
.flatpickr-days {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    justify-content: space-between !important;
}
.flatpickr-day {
    max-width: none !important;
    width: 40px !important;
    height: 40px !important;
    line-height: 40px !important;
    border-radius: 50% !important;
    font-weight: 700;
    color: #444;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: none !important;
    flex-basis: auto !important;
}
.flatpickr-day.selected, 
.flatpickr-day.selected:focus, 
.flatpickr-day.selected:hover {
    background: var(--color-orange) !important;
    border-color: var(--color-orange) !important;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(211, 84, 0, 0.35) !important;
    transform: scale(1.05);
}
.flatpickr-day:hover:not(.selected):not(.flatpickr-disabled) {
    background: rgba(211, 84, 0, 0.1) !important;
    color: var(--color-orange);
}
.flatpickr-current-month {
    font-size: 115%;
    font-weight: 800;
    color: var(--color-black);
    padding-top: 5px;
}
.flatpickr-months .flatpickr-month {
    margin-bottom: 20px;
    height: 45px;
}
.flatpickr-weekdays {
    margin-bottom: 15px;
}
.flatpickr-weekday {
    color: #999;
    font-weight: 700;
    font-size: 90%;
}
.flatpickr-disabled {
    color: #ddd !important;
}

.booking-dates-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
}
.booking-date-field {
    flex: 1;
}
.booking-date-field label {
    display: block;
    font-weight: 800;
    color: var(--color-black);
}

/* ==========================================================================
   Single Blog Post Styles (Advanced Design)
   ========================================================================== */
.blog-single-main {
    background-color: #fafafa;
    padding-bottom: 80px;
}

.blog-hero {
    position: relative;
    width: 100%;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 80px 20px;
    margin-bottom: 60px;
}

.blog-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.8) 100%);
    z-index: 1;
}

.blog-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.blog-hero-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-orange);
}

.blog-hero-meta i {
    margin-right: 5px;
}

.blog-hero-title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 30px;
    color: #fff;
    text-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.blog-hero-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: 16px;
}

.blog-hero-author .author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--color-orange);
    object-fit: cover;
}

.blog-single-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    margin-bottom: 80px;
}

@media (max-width: 991px) {
    .blog-single-grid {
        grid-template-columns: 1fr;
    }
}

/* Base Editor Styles */
.blog-content-editor {
    background: #fff;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.04);
    font-size: 18px;
    line-height: 1.8;
    color: #444;
}

@media (max-width: 768px) {
    .blog-content-editor {
        padding: 30px 20px;
    }
}

.blog-content-editor p {
    margin-bottom: 25px;
}

.blog-content-editor h2, 
.blog-content-editor h3, 
.blog-content-editor h4 {
    color: var(--color-black);
    font-weight: 800;
    margin-top: 40px;
    margin-bottom: 20px;
}

.blog-content-editor h2 {
    font-size: 32px;
}

.blog-content-editor h3 {
    font-size: 26px;
}

.blog-content-editor img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 30px 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.blog-content-editor blockquote {
    font-size: 24px;
    font-weight: 700;
    font-style: italic;
    color: var(--color-orange);
    line-height: 1.5;
    padding: 40px;
    margin: 40px 0;
    background: rgba(211, 84, 0, 0.05);
    border-left: 5px solid var(--color-orange);
    border-radius: 0 15px 15px 0;
}

.blog-content-editor ul, 
.blog-content-editor ol {
    margin-bottom: 25px;
    padding-left: 20px;
}

.blog-content-editor li {
    margin-bottom: 10px;
}

/* Post Footer & Navigation */
.blog-post-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px 0;
    margin-top: 40px;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

@media (max-width: 768px) {
    .blog-post-footer {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
}

.blog-tags a {
    background: #f0f0f0;
    color: #555;
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    margin-right: 5px;
    transition: all 0.3s;
}

.blog-tags a:hover {
    background: var(--color-orange);
    color: #fff;
}

.blog-share {
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 700;
}

.blog-share a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: var(--color-black);
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s;
    text-decoration: none;
}

.blog-share a:hover {
    background: var(--color-orange);
    color: #fff;
    transform: translateY(-3px);
}

.blog-post-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    gap: 20px;
}

.nav-prev, .nav-next {
    flex: 1;
}

.nav-next {
    text-align: right;
}

.blog-post-navigation a {
    display: block;
    text-decoration: none;
    color: #aaa;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.3s;
}

.blog-post-navigation a:hover {
    color: var(--color-orange);
}

.blog-post-navigation .nav-title {
    display: block;
    font-size: 18px;
    color: var(--color-black);
    text-transform: none;
    margin-top: 5px;
}

/* Sidebar Styling */
.blog-single-sidebar {
    position: sticky;
    top: 100px;
    align-self: flex-start;
}

.sidebar-widget {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.04);
    margin-bottom: 30px;
}

.sidebar-title {
    font-size: 22px;
    font-weight: 900;
    margin-bottom: 20px;
    color: var(--color-black);
    position: relative;
    padding-bottom: 15px;
}

.sidebar-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--color-orange);
    border-radius: 3px;
}

.sidebar-desc {
    font-size: 15px;
    color: #666;
    margin-bottom: 25px;
}

.sidebar-tour-card a {
    display: block;
    text-decoration: none;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.sidebar-tour-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.sidebar-tour-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.9));
    padding: 20px;
    color: #fff;
}

.sidebar-tour-info h4 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 10px;
    color: #fff;
}

.sidebar-price {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--color-orange);
    margin-bottom: 10px;
}

.sidebar-btn {
    display: inline-block;
    background: var(--color-orange);
    color: #fff;
    padding: 8px 15px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.3s;
}

.sidebar-tour-card a:hover .sidebar-btn {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(211,84,0,0.4);
}

.sidebar-categories {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-categories li {
    padding: 10px 0;
    border-bottom: 1px dashed #eee;
}

.sidebar-categories li:last-child {
    border-bottom: none;
}

.sidebar-categories a {
    color: #555;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
}

.sidebar-categories a:hover {
    color: var(--color-orange);
    padding-left: 5px;
}

/* Related Blogs Section */
.blog-related-section {
    margin-top: 60px;
    padding-top: 60px;
    border-top: 1px solid #ddd;
}

.booking-date-field label {
    display: block;
    font-weight: 800;
    color: var(--color-black);
    margin-bottom: 10px;
    font-size: 14px;
}
.date-display-pill {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 12px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #333;
    font-weight: 700;
    transition: all 0.3s;
    border: 1px solid transparent;
}
.date-display-pill i {
    color: #666;
}
.booking-date-arrow {
    padding: 0 15px;
    color: #888;
    margin-top: 20px;
}

.booking-guest-row {
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
}
.booking-guest-row label {
    font-weight: 800;
    color: var(--color-black);
    margin-bottom: 10px;
    font-size: 14px;
}
.guest-counter {
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
}
.guest-counter button {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    border: none;
    background: rgba(211, 84, 0, 0.08);
    color: var(--color-orange);
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}
.guest-counter button:hover {
    background: rgba(211, 84, 0, 0.15);
}
.guest-counter span {
    font-size: 18px;
    font-weight: 800;
    color: var(--color-black);
    width: 40px;
    text-align: center;
}

.booking-total-row {
    text-align: center;
    margin-bottom: 25px;
    font-size: 18px;
    font-weight: 800;
    color: var(--color-black);
}

.booking-submit-btn {
    width: 100%;
    background: var(--color-orange);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 16px 0;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(211, 84, 0, 0.3);
}
.booking-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(211, 84, 0, 0.4);
}

/* ==========================================================================
   Trip Plan Modal (Popup) & Intl-Tel-Input Overrides
   ========================================================================== */
.trip-modal {
    display: none; 
    position: fixed; 
    z-index: 9999; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0,0,0,0.6); 
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.trip-modal.show {
    opacity: 1;
}

.trip-modal-content {
    background-color: var(--color-white);
    margin: 5% auto; 
    padding: 40px;
    border-radius: 12px;
    width: 90%;
    max-width: 550px;
    position: relative;
    box-shadow: 0 15px 50px rgba(0,0,0,0.2);
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.trip-modal.show .trip-modal-content {
    transform: translateY(0);
}

.trip-close-btn {
    color: #999;
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.trip-close-btn:hover,
.trip-close-btn:focus {
    color: var(--color-orange);
    text-decoration: none;
}

.trip-modal-header h2 {
    color: var(--color-black);
    margin-top: 0;
    margin-bottom: 10px;
}

.trip-modal-header p {
    color: #666;
    font-size: 14px;
    margin-bottom: 25px;
    line-height: 1.5;
}

.trip-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 20px;
}

@media (max-width: 600px) {
    .trip-form-grid {
        grid-template-columns: 1fr;
    }
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
    color: var(--color-black);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    font-family: inherit;
    font-size: 15px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-orange);
    box-shadow: 0 0 0 3px rgba(211,84,0,0.1);
}

/* Validation Styles */
.trip-modal-form.was-validated input:invalid,
.trip-modal-form.was-validated textarea:invalid {
    border-color: #e74c3c;
    animation: shake 0.4s 1;
}

.trip-modal-form.was-validated input:invalid:focus,
.trip-modal-form.was-validated textarea:invalid:focus {
    box-shadow: 0 0 0 3px rgba(231,76,60,0.2);
}

@keyframes shake {
    0%, 100% {transform: translateX(0);}
    25% {transform: translateX(-5px);}
    50% {transform: translateX(5px);}
    75% {transform: translateX(-5px);}
}

.form-group.phone-group .iti {
    width: 100%;
}

.phone-msg {
    display: block;
    font-size: 12px;
    margin-top: 5px;
}

.phone-msg.hide {
    display: none;
}

.phone-msg.valid {
    color: #2ecc71;
}

.phone-msg.error {
    color: #e74c3c;
}

.trip-submit-btn {
    width: 100%;
    background-color: var(--color-orange);
    color: var(--color-white);
    padding: 15px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.trip-submit-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.trip-submit-btn:hover:not(:disabled) {
    background-color: var(--color-orange-dark);
}
