/* ==========================================================================
   Tierra Milenaria - Estilos Globales y Sistema de Diseño (Vanilla CSS)
   ========================================================================== */

:root {
    /* Paleta de Colores Curada */
    --primary: #0D9488;          /* Verde Selva/Naturaleza */
    --primary-hover: #0F766E;
    --primary-light: #F0FDFA;
    
    --secondary: #EA580C;        /* Naranja Aventura (CTA) */
    --secondary-hover: #C2410C;
    
    --accent: #D97706;           /* Dorado Cultural (Estrellas / Detalles) */
    
    --dark: #1E293B;             /* Azul Grisáceo Profundo (Textos principales) */
    --dark-muted: #64748B;       /* Texto secundario */
    --light: #F8FAFC;            /* Fondo General */
    --white: #FFFFFF;
    
    --glass: rgba(255, 255, 255, 0.85);
    --border: rgba(226, 232, 240, 0.8);
    
    /* Fuentes */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Sombras y Radios */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.06), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 20px 40px -10px rgba(13, 148, 136, 0.1);
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    
    /* Transiciones */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --max-width: 1200px;
}

/* ==========================================================================
   Reset y Reglas Generales
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--dark);
    line-height: 1.25;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

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

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================================================
   Efectos y Utilidades
   ========================================================================== */
.section-padding {
    padding: 80px 0;
}

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

.section-title {
    font-size: 36px;
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 10px auto 0;
    border-radius: var(--radius-full);
}

.section-subtitle {
    color: var(--dark-muted);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto 50px;
}

/* Botones Premium */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 16px;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(13, 148, 136, 0.3);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--white);
}

.btn-secondary:hover {
    background: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(234, 88, 12, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary-light);
    color: var(--primary-hover);
}

/* ==========================================================================
   Header y Navegación (Glassmorphism)
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
    padding: 10px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    transition: var(--transition);
}

.logo img {
    height: 55px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 15px;
    color: var(--dark);
    position: relative;
    padding: 8px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--primary);
}

.burger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    padding: 10px;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--dark);
    margin: 5px;
    transition: var(--transition);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    height: 90vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    position: relative;
    color: var(--white);
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.8) 0%, rgba(15, 118, 110, 0.4) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
}

.hero h1 {
    font-size: 56px;
    color: var(--white);
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 35px;
    opacity: 0.95;
    font-weight: 300;
}

.hero-btns {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* ==========================================================================
   Destinos Populares (Grids)
   ========================================================================== */
.destinations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.destination-card {
    position: relative;
    height: 300px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    cursor: pointer;
}

.destination-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.destination-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(30, 41, 59, 0.9) 0%, rgba(30, 41, 59, 0.1) 70%);
    z-index: 1;
    transition: var(--transition);
}

.destination-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    z-index: 2;
    color: var(--white);
}

.destination-card-content h3 {
    font-size: 24px;
    color: var(--white);
    margin-bottom: 8px;
}

.destination-card-content p {
    font-size: 14px;
    opacity: 0.85;
    line-height: 1.4;
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition);
}

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

.destination-card:hover::before {
    background: linear-gradient(to top, rgba(13, 148, 136, 0.9) 0%, rgba(30, 41, 59, 0.2) 100%);
}

.destination-card:hover .destination-card-content p {
    transform: translateY(0);
    opacity: 1;
}

/* ==========================================================================
   Tarjetas Modernas de Paquetes
   ========================================================================== */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
}

.package-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.package-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: rgba(13, 148, 136, 0.2);
}

.package-card-img {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.package-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.package-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--secondary);
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    z-index: 2;
    text-transform: uppercase;
}

.package-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.package-meta {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: var(--dark-muted);
    margin-bottom: 12px;
}

.package-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.package-card-body h3 {
    font-size: 20px;
    margin-bottom: 12px;
    line-height: 1.3;
}

.package-card-body p.desc {
    font-size: 14px;
    color: var(--dark-muted);
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.package-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #F1F5F9;
}

.price-box {
    display: flex;
    flex-direction: column;
}

.price-label {
    font-size: 11px;
    color: var(--dark-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-value {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    font-family: var(--font-heading);
}

.price-old {
    font-size: 14px;
    text-decoration: line-line-through;
    color: #94A3B8;
    text-decoration: line-through;
}

/* ==========================================================================
   Beneficios / Por Qué Elegirnos
   ========================================================================== */
.benefits-section {
    background-color: var(--white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-card {
    padding: 40px 30px;
    background: var(--light);
    border-radius: var(--radius-md);
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
}

.benefit-card:hover {
    background: var(--white);
    border-color: var(--border);
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 28px;
    transition: var(--transition);
}

.benefit-card:hover .benefit-icon {
    background: var(--primary);
    color: var(--white);
    transform: rotateY(360deg);
}

.benefit-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.benefit-card p {
    font-size: 14px;
    color: var(--dark-muted);
}

/* ==========================================================================
   Testimonios (Slider / Grid)
   ========================================================================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.testimonial-stars {
    color: var(--accent);
    margin-bottom: 15px;
    font-size: 16px;
}

.testimonial-card p {
    font-size: 15px;
    color: var(--dark-muted);
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author h4 {
    font-size: 16px;
}

/* ==========================================================================
   Formularios y Campos
   ========================================================================== */
.form-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group-full {
    grid-column: span 2;
}

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

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

.form-control {
    width: 100%;
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    border: 1px solid #CBD5E1;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--dark);
    outline: none;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

/* ==========================================================================
   Ficha de Detalle de Paquete
   ========================================================================== */
.package-header {
    background-color: var(--dark);
    color: var(--white);
    padding: 140px 0 60px;
    position: relative;
    overflow: hidden;
}

.package-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.3) 0%, rgba(30, 41, 59, 0.9) 100%);
}

.package-header-content {
    position: relative;
    z-index: 2;
}

.package-header h1 {
    font-size: 44px;
    color: var(--white);
    margin-bottom: 15px;
}

.package-specs-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-md);
    padding: 20px 30px;
    margin-top: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.spec-item {
    display: flex;
    flex-direction: column;
}

.spec-item .label {
    font-size: 11px;
    text-transform: uppercase;
    opacity: 0.7;
    letter-spacing: 1px;
}

.spec-item .val {
    font-size: 16px;
    font-weight: 600;
}

/* Itinerario y Tabs Colapsables (Acordeón) */
.package-detail-layout {
    display: grid;
    grid-template-columns: 1.8fr 1.2fr;
    gap: 40px;
    margin-top: 40px;
}

.accordion-item {
    background: var(--white);
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.accordion-header {
    padding: 20px 24px;
    background: var(--white);
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
    transition: var(--transition);
}

.accordion-header:hover {
    background: var(--primary-light);
}

.accordion-header .icon {
    font-size: 20px;
    transition: var(--transition);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
    padding: 0 24px;
    color: var(--dark-muted);
}

.accordion-item.active .accordion-content {
    max-height: 500px;
    padding: 0 24px 24px;
}

.accordion-item.active .accordion-header {
    border-bottom: 1px solid var(--border);
    color: var(--primary);
}

.accordion-item.active .accordion-header .icon {
    transform: rotate(45deg);
}

/* Inclusiones / Exclusiones Grid */
.inout-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.in-list, .out-list {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.inout-title {
    font-size: 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.inout-title.in { color: var(--primary); }
.inout-title.out { color: var(--secondary); }

.list-items {
    list-style: none;
}

.list-items li {
    font-size: 14px;
    margin-bottom: 12px;
    position: relative;
    padding-left: 24px;
    color: var(--dark-muted);
}

.list-items li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary);
    font-weight: bold;
}

.out-list .list-items li::before {
    content: '✗';
    color: var(--secondary);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background: #0F172A;
    color: #94A3B8;
    padding: 80px 0 30px;
}

.footer h3 {
    color: var(--white);
    font-size: 20px;
    margin-bottom: 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-about img {
    height: 55px;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-contact p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.footer-socials {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    text-align: center;
    font-size: 13px;
}

.payment-methods {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
    filter: grayscale(1) brightness(1.5);
    opacity: 0.6;
}

.payment-methods img {
    height: 25px;
}

/* ==========================================================================
   Botón Flotante de WhatsApp
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    font-size: 32px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    color: white;
}

/* ==========================================================================
   Responsive (Media Queries)
   ========================================================================== */
@media screen and (max-width: 992px) {
    .hero h1 { font-size: 44px; }
    .package-detail-layout {
        grid-template-columns: 1fr;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .form-group-full {
        grid-column: span 1;
    }
}

@media screen and (max-width: 768px) {
    .nav-links {
        position: fixed;
        right: 0;
        height: 100vh;
        top: 80px;
        background: var(--white);
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        box-shadow: -5px 10px 15px rgba(0, 0, 0, 0.05);
        padding-top: 50px;
        gap: 40px;
        z-index: 999;
    }
    
    .nav-links.nav-active {
        transform: translateX(0);
    }
    
    .burger {
        display: block;
    }
    
    .section-title { font-size: 28px; }
    .inout-box {
        grid-template-columns: 1fr;
    }
    .hero {
        text-align: center;
    }
    .hero-btns {
        justify-content: center;
    }
}

/* ==========================================================================
   Language Switcher Styles
   ========================================================================== */
.lang-switcher-li {
    position: relative;
    list-style: none;
    display: flex;
    align-items: center;
}

.lang-switcher-wrapper {
    position: relative;
    display: inline-block;
}

.lang-btn {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid var(--border);
    padding: 6px 14px;
    border-radius: 20px;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 14px;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: var(--transition);
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.8);
    border-color: var(--primary);
    color: var(--primary);
}

.lang-arrow {
    transition: transform 0.3s ease;
    display: inline-block;
}

.lang-btn[aria-expanded="true"] .lang-arrow {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 1001;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    padding: 6px 0;
    width: 140px;
    list-style: none;
    display: none;
    margin: 0;
}

.lang-dropdown.show {
    display: block;
    animation: fadeInDropdown 0.2s ease-out;
}

@keyframes fadeInDropdown {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.lang-dropdown a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    color: var(--dark);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
    width: 100%;
    box-sizing: border-box;
}

.lang-dropdown a:hover {
    background: var(--primary-light);
    color: var(--primary);
    font-weight: 500;
}

/* Ocultar el widget original y el banner de Google Translate */
iframe.goog-te-banner-frame,
.goog-te-banner-frame,
.goog-te-balloon-frame,
#goog-gt-tt,
.goog-te-menu-value {
    display: none !important;
}

body {
    top: 0 !important;
    position: static !important;
}

.skiptranslate, 
.goog-te-spinner-pos {
    display: none !important;
    visibility: hidden !important;
}

iframe[id*="translate"] {
    display: none !important;
}

/* Responsivo para móviles */
@media screen and (max-width: 992px) {
    .lang-switcher-li {
        margin-top: 10px;
        width: 100%;
        justify-content: center;
    }
    .lang-switcher-wrapper {
        width: 80%;
    }
    .lang-btn {
        width: 100%;
        justify-content: center;
        padding: 10px 16px;
        background: var(--white);
        border: 1px solid var(--border);
    }
    .lang-dropdown {
        position: static;
        width: 100%;
        box-shadow: none;
        border: 1px solid var(--border);
        background: rgba(255, 255, 255, 0.5);
        margin-top: 5px;
    }
}

/* ==========================================================================
   Sello de Confianza de Reseñas (TripAdvisor)
   ========================================================================== */
.trust-reviews-badge {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 999;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 30px;
    padding: 8px 18px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.trust-reviews-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.95);
    border-color: #00af87;
}

.trust-reviews-badge a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--dark);
}

.badge-icon-owl {
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-text-info {
    display: flex;
    flex-direction: column;
}

.badge-stars {
    color: #00af87;
    font-size: 14px;
    line-height: 1;
    letter-spacing: 1px;
}

.badge-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--dark-muted);
}

/* ==========================================================================
   Widget Flotante de WhatsApp Multicanal
   ========================================================================== */
.whatsapp-widget-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    font-family: var(--font-body);
}

/* Botón Gatillo */
.whatsapp-trigger-btn {
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
}

.whatsapp-trigger-btn:hover {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* Panel de Chat */
.whatsapp-chat-panel {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 340px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
}

.whatsapp-chat-panel.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* Cabecera del chat */
.chat-header {
    background: linear-gradient(135deg, #075E54 0%, #128C7E 100%);
    color: white;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}

.chat-header-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: var(--font-heading);
    font-size: 16px;
    border: 2px solid white;
}

.chat-header-info {
    flex-grow: 1;
}

.chat-header-info h4 {
    color: white;
    margin: 0;
    font-size: 15px;
    font-weight: 600;
}

.chat-header-info p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.online-dot {
    width: 8px;
    height: 8px;
    background-color: #25D366;
    border-radius: 50%;
    display: inline-block;
}

.chat-close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    opacity: 0.8;
    transition: var(--transition);
    padding: 0 5px;
}

.chat-close-btn:hover {
    opacity: 1;
}

/* Cuerpo del chat */
.chat-body {
    padding: 20px;
    background-color: #F4F6F9;
    max-height: 380px;
    overflow-y: auto;
}

.chat-body-intro {
    font-size: 13px;
    color: var(--dark-muted);
    margin-bottom: 15px;
    line-height: 1.4;
}

/* Items de Agentes */
.chat-agent-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--white);
    padding: 12px 15px;
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
    border: 1px solid var(--border);
    transition: var(--transition);
    text-decoration: none;
    color: var(--dark);
}

.chat-agent-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
    border-color: rgba(13, 148, 136, 0.2);
}

.agent-avatar {
    font-size: 24px;
    width: 40px;
    height: 40px;
    background: #F1F5F9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.agent-details {
    flex-grow: 1;
}

.agent-details h5 {
    margin: 0 0 2px 0;
    font-size: 14px;
    color: var(--dark);
    font-weight: 600;
}

.agent-details p {
    margin: 0;
    font-size: 12px;
    color: var(--dark-muted);
}

.agent-status {
    display: inline-block;
    font-size: 10px;
    color: #128C7E;
    font-weight: 600;
    margin-top: 4px;
}

/* ==========================================================================
   Interactive Multi-step Quote Form Wizard
   ========================================================================== */
.wizard-progress {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    position: relative;
    padding: 0 10px;
}

.wizard-indicator {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #E2E8F0;
    color: var(--dark-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    z-index: 2;
    transition: var(--transition);
}

.wizard-indicator.active {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.2);
}

.wizard-line {
    flex-grow: 1;
    height: 3px;
    background: #E2E8F0;
    margin: 0 -5px;
    z-index: 1;
}

.wizard-indicator.active + .wizard-line {
    background: var(--primary);
}

.wizard-step {
    display: none;
}

.wizard-step.active {
    display: block;
    animation: slideInWizard 0.3s ease-out;
}

@keyframes slideInWizard {
    from {
        opacity: 0;
        transform: translateX(10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Spinner animado para la descarga de PDF */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.spinner-icon {
    animation: spin 1s linear infinite;
}

/* ==========================================================================
   Blog / Travel Guides Engine Layout Styles
   ========================================================================== */
.blog-hero {
    position: relative;
    display: flex;
    align-items: center;
    color: white;
}

.blog-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(15, 23, 42, 0.75), rgba(15, 23, 42, 0.5));
    z-index: 1;
}

.blog-hero .container {
    position: relative;
    z-index: 2;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.blog-card {
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(13, 148, 136, 0.2);
}

.blog-card-img {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.blog-card-date {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(4px);
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 4px;
}

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

.blog-card-content h2, 
.blog-card-content h4 {
    font-size: 19px;
    margin-bottom: 10px;
    line-height: 1.35;
    font-family: var(--font-heading);
}

.blog-card-content h2 a, 
.blog-card-content h4 a {
    color: var(--dark);
}

.blog-card-content h2 a:hover, 
.blog-card-content h4 a:hover {
    color: var(--primary);
}

.blog-card-content p {
    font-size: 14px;
    color: var(--dark-muted);
    margin-bottom: 18px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-readmore {
    font-size: 14px;
    color: var(--primary);
    font-weight: 600;
    margin-top: auto;
    display: inline-flex;
    align-items: center;
}

.blog-readmore:hover {
    color: var(--primary-hover);
}

/* Post Detail layout */
.post-header-section {
    padding: 140px 0 60px;
    background-size: cover;
    background-position: center;
    color: white;
    position: relative;
}

.post-header-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.5) 100%);
    z-index: 1;
}

.post-header-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.post-back-link {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    display: inline-block;
    margin-bottom: 15px;
}

.post-back-link:hover {
    color: white;
}

.post-date {
    font-size: 13px;
    text-transform: uppercase;
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.post-header-content h1 {
    font-size: 40px;
    color: white;
    margin-bottom: 15px;
    line-height: 1.25;
}

.post-summary {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    line-height: 1.5;
}

.post-container-layout {
    display: grid;
    grid-template-columns: 1.8fr 1.2fr;
    gap: 40px;
}

.post-main-content {
    background: var(--white);
}

.post-body-rich-text {
    font-size: 16px;
    color: #334155;
    line-height: 1.8;
}

.post-body-rich-text p {
    margin-bottom: 20px;
}

.post-body-rich-text h2, 
.post-body-rich-text h3 {
    margin: 35px 0 15px;
    color: var(--dark);
    font-family: var(--font-heading);
}

.post-body-rich-text ul, 
.post-body-rich-text ol {
    margin-bottom: 25px;
    padding-left: 20px;
}

.post-body-rich-text li {
    margin-bottom: 8px;
}

.post-footer-box {
    background: #F8FAFC;
    padding: 25px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
}

.post-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
}

.post-author h4 {
    margin: 0 0 4px 0;
    font-size: 16px;
}

.post-author p {
    margin: 0;
    font-size: 13px;
    color: var(--dark-muted);
}

.post-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-card-promo {
    background-size: cover;
    background-position: center;
    color: white;
    padding: 35px 30px;
    border-radius: var(--radius-md);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.sidebar-card-promo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(15, 118, 110, 0.9), rgba(15, 23, 42, 0.85));
    z-index: 1;
}

.sidebar-card-promo * {
    position: relative;
    z-index: 2;
}

.sidebar-card-promo h3 {
    color: white;
    font-size: 22px;
    margin-bottom: 10px;
}

.sidebar-card-promo p {
    font-size: 14px;
    line-height: 1.5;
    opacity: 0.9;
    margin-bottom: 20px;
}

@media screen and (max-width: 768px) {
    .trust-reviews-badge {
        bottom: 20px;
        left: 20px;
        padding: 6px 12px;
    }
    
    .whatsapp-widget-container {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-chat-panel {
        width: 300px;
        bottom: 70px;
    }
    
    .post-container-layout {
        grid-template-columns: 1fr;
    }
    
    .post-header-content h1 {
        font-size: 30px;
    }
}
