/*
Theme Name: Tura Travel
Theme URI: https://cuscocreativos.com
Author: Cusco Creativos
Author URI: https://cuscocreativos.com
Description: Tema personalizado para Tura Travel, con un enfoque en SEO, rendimiento y estándares modernos.
Version: 1.1.6
Text Domain: turatravel
*/

/* ==========================================================================
   1. Typography Imports
   ========================================================================== */
/* Inter for clean, highly legible body text and Montserrat for geometric bold headers */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Montserrat:wght@400;600;700;800;900&display=swap');

/* ==========================================================================
   2. Design Tokens (Variables)
   ========================================================================== */
:root {
	/* Colors - Tura Travel Palette */
	--color-primary-dark: #123032;     /* Dark Teal/Green (Main Logo, Navigation) */
	--color-primary-green: #52A08C;    /* Main Green Background */
	--color-accent-yellow: #F1B711;    /* Bright Yellow Highlights */
	--color-accent-sand: #D1B98F;      /* Beige/Sand (Secondary Logo) */
	
	/* Neutral Colors */
	--color-white: #FFFFFF;
	--color-black: #000000;
	--color-text-main: #1F2937;        /* Dark Gray for readable text */
	--color-text-light: #6B7280;       /* Lighter Gray for secondary text */
	--color-bg-light: #F9FAFB;         /* Very light gray for section backgrounds */

	/* Typography */
	--font-primary: 'Inter', sans-serif;
	--font-heading: 'Montserrat', sans-serif;

	/* Font Sizes (Fluid Modular Scale) */
	--text-xs: 0.75rem;     /* 12px */
	--text-sm: 0.875rem;    /* 14px */
	--text-base: 1rem;      /* 16px */
	--text-lg: 1.125rem;    /* 18px */
	--text-xl: 1.25rem;     /* 20px */
	--text-2xl: 1.5rem;     /* 24px */
	--text-3xl: 1.875rem;   /* 30px */
	--text-4xl: 2.25rem;    /* 36px */
	--text-5xl: 3rem;       /* 48px */
	--text-6xl: 3.75rem;    /* 60px */

	/* Spacing */
	--space-1: 0.25rem;     /* 4px */
	--space-2: 0.5rem;      /* 8px */
	--space-3: 0.75rem;     /* 12px */
	--space-4: 1rem;        /* 16px */
	--space-5: 1.25rem;     /* 20px */
	--space-6: 1.5rem;      /* 24px */
	--space-8: 2rem;        /* 32px */
	--space-10: 2.5rem;     /* 40px */
	--space-12: 3rem;       /* 48px */
	--space-16: 4rem;       /* 64px */
	--space-20: 5rem;       /* 80px */
	--space-24: 6rem;       /* 96px */

	/* Transitions */
	--transition-fast: 150ms ease-in-out;
	--transition-normal: 300ms ease-in-out;

	/* Border Radius */
	--radius-sm: 0.25rem;   /* 4px */
	--radius-md: 0.5rem;    /* 8px */
	--radius-lg: 1rem;      /* 16px */
	--radius-full: 9999px;
}

/* ==========================================================================
   3. CSS Reset & Global Styles
   ========================================================================== */
*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	font-size: 100%;
	scroll-behavior: smooth;
}

body {
	font-family: var(--font-primary);
	color: var(--color-text-main);
	background-color: var(--color-white);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

img,
picture,
video,
canvas,
svg {
	display: block;
	max-width: 100%;
	height: auto;
}

input,
button,
textarea,
select {
	font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
	overflow-wrap: break-word;
}

/* ==========================================================================
   4. Typography Styles
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-heading);
	font-weight: 800; /* Extra bold for headings to match the geometric style */
	line-height: 1.2;
	color: var(--color-text-main);
	margin-bottom: var(--space-4);
	text-transform: uppercase; /* Matching the TURA TRAVEL style */
}

h1 { font-size: var(--text-4xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); }

@media (min-width: 768px) {
	h1 { font-size: var(--text-5xl); }
	h2 { font-size: var(--text-4xl); }
	h3 { font-size: var(--text-3xl); }
}

p {
	margin-bottom: var(--space-4);
	text-transform: none;
}

a {
	color: var(--color-primary-green);
	text-decoration: none;
	transition: color var(--transition-fast);
}

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

/* ==========================================================================
   5. Utility Classes
   ========================================================================== */
/* Text Colors */
.text-primary-dark { color: var(--color-primary-dark); }
.text-primary-green { color: var(--color-primary-green); }
.text-accent-yellow { color: var(--color-accent-yellow); }
.text-accent-sand { color: var(--color-accent-sand); }
.text-white { color: var(--color-white); }

/* Backgrounds */
.bg-primary-dark { background-color: var(--color-primary-dark); }
.bg-primary-green { background-color: var(--color-primary-green); }
.bg-accent-yellow { background-color: var(--color-accent-yellow); }
.bg-accent-sand { background-color: var(--color-accent-sand); }
.bg-light { background-color: var(--color-bg-light); }

/* Specific Highlights */
.highlight-yellow {
	color: var(--color-accent-yellow);
}
.highlight-white {
    color: var(--color-white);
}

/* Container */
.container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 var(--space-5);
}

/* ==========================================================================
   6. Header Styles
   ========================================================================== */
.site-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1030;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    transition: all var(--transition-normal);
}

.site-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-4);
    padding-bottom: var(--space-4);
}

.logo-link {
	display: inline-block;
}

.site-logo {
    max-height: 60px; /* Logo completo TURA TRAVEL — ajustado para mostrar ambas palabras */
    width: auto;
    display: block;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: var(--space-6);
}

.main-navigation a {
    color: var(--color-text-main);
    font-weight: 500;
    font-size: var(--text-sm);
}

.main-navigation a:hover {
    color: var(--color-primary-green);
}

.top-menu-toggle {
    display: none; /* hidden on desktop */
    background: none;
    border: 2px solid #1a3c34;
    border-radius: 8px;
    padding: 8px 10px;
    cursor: pointer;
    color: #1a3c34;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.top-menu-toggle svg {
    display: block;
}

/* Show on mobile, hide Plan Your Trip button */
@media (max-width: 991px) {
    .top-menu-toggle {
        display: flex !important;
    }
    .btn-plan-trip {
        display: none !important;
    }
    .site-header-inner {
        align-items: center;
    }
}


.menu-item-has-children > a {
    display: flex;
    align-items: center;
    gap: var(--space-1);
}

.arrow {
    font-size: 0.7em;
    transition: transform var(--transition-fast);
}

/* Mega Menu Desktop */
.has-mega-menu {
    position: static; /* Vital para que el submenu use ancho completo de la ventana */
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--color-white);
    box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity var(--transition-normal), transform var(--transition-normal), visibility var(--transition-normal);
    border-top: 1px solid var(--color-bg-light);
    z-index: 99;
}

@media (min-width: 992px) {
    .has-mega-menu:hover .mega-menu, 
    .has-mega-menu:focus-within .mega-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .has-mega-menu:hover > a .arrow {
        transform: rotate(180deg);
    }
}

.mega-menu-inner {
    display: flex;
    padding: var(--space-10) var(--space-5);
    gap: var(--space-10);
	flex-wrap: wrap;
}

.mega-menu-columns {
    display: flex;
    flex: 3;
    gap: var(--space-8);
    justify-content: space-between;
}

.mega-menu-title {
    font-size: var(--text-xs);
    color: var(--color-text-light);
    margin-bottom: var(--space-4);
    font-family: var(--font-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.mega-menu-column ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    align-items: flex-start;
}

.mega-menu-column a {
    color: var(--color-text-main);
    font-weight: 400;
    position: relative;
    transition: all var(--transition-fast);
}

.mega-menu-column a:hover {
    color: var(--color-primary-green);
    transform: translateX(3px);
}

.mega-menu-featured {
    flex: 1;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
}

.featured-image-card {
    text-align: center;
    max-width: 240px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mega-menu-img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: transform var(--transition-normal);
    object-fit: cover;
}

.featured-image-card:hover .mega-menu-img {
    transform: translateY(-5px);
}

.featured-image-caption {
    font-size: var(--text-sm);
    font-weight: 500;
    margin-top: var(--space-3);
    color: var(--color-text-main);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-6);
}

.login-link {
    color: var(--color-text-main);
    font-weight: 500;
    font-size: var(--text-sm);
}

.btn-primary {
    background-color: var(--color-primary-dark);
    color: var(--color-white);
    padding: var(--space-3) var(--space-6);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: var(--text-sm);
    transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.btn-primary:hover {
    background-color: var(--color-accent-yellow);
    color: var(--color-primary-dark);
    transform: translateY(-2px);
}

/* Mobile Utilities */
.d-lg-none {
    display: none;
}

/* Tablet & Mobile Responsive */
@media (max-width: 991px) {
    .site-header {
        position: sticky !important; /* Keep sticky so it stays visible while scrolling */
        z-index: 1030;
        /* Do NOT use position: static — that removes stacking context but was causing menu z-index issues */
    }

    .d-lg-none {
        display: flex;
    }

    body {
        padding-bottom: 70px; /* Space for bottom nav */
    }

    .main-navigation {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 280px;
        max-width: 85vw;
        height: 100vh !important;
        background-color: #ffffff !important;
        background: #ffffff !important;
        z-index: 999999 !important; /* Maximum z-index to beat Elementor */
        flex-direction: column;
        transform: translateX(-100%);
        transition: transform 0.3s ease !important;
        display: flex !important;
        overflow-y: auto;
        box-shadow: 5px 0 25px rgba(0,0,0,0.2);
        /* NO isolation: isolate — that would trap z-index inside a stacking context */
    }

    .main-navigation.is-active {
        transform: translateX(0) !important;
    }

    /* Off-canvas Header (Profile snippet) */
    .offcanvas-header {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        padding: var(--space-6) var(--space-5);
        border-bottom: 1px solid #f3f4f6;
        background-color: #ffffff;
    }

    .offcanvas-profile {
        display: flex;
        align-items: center;
        gap: var(--space-3);
    }

    .profile-img {
        width: auto;
        max-width: 80px;
        height: 40px;
        object-fit: contain;
        /* Removed border-radius 50% so the logo is not cut off */
    }

    .profile-info {
        display: flex;
        flex-direction: column;
    }

    .profile-name {
        font-weight: 700;
        color: var(--color-text-main);
        font-family: var(--font-heading);
        font-size: var(--text-sm);
    }

    .profile-role {
        font-size: var(--text-xs);
        color: var(--color-text-light);
    }

    .close-offcanvas {
        background: none;
        border: none;
        font-size: var(--text-2xl);
        line-height: 1;
        cursor: pointer;
        color: var(--color-text-light);
        padding: 0;
    }

    .main-navigation ul {
        flex-direction: column;
        align-items: stretch;
        padding: var(--space-4) var(--space-2);
        gap: var(--space-2);
        margin: 0;
        background-color: #ffffff !important;
    }

    .main-navigation li {
        width: 100%;
    }

    .main-navigation a {
        padding: var(--space-3) var(--space-4);
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-radius: var(--radius-lg);
        color: #111827 !important; /* Force dark text color */
        font-weight: 600;
    }

    /* Emulate the active style from image 2 on hover/active */
    .main-navigation a:active,
    .main-navigation li.current-menu-item > a {
        background-color: #6366F1; /* Primary color from reference, or we use --color-primary-green */
        color: var(--color-white);
    }
    
    /* Using TURA's green instead of purple for consistency, but if user wants exact emulation we can adjust */
    .main-navigation a:active,
    .main-navigation li.current-menu-item > a {
        background-color: var(--color-primary-green);
        color: var(--color-white);
    }

    /* Submenu (Mega menu as accordion) */
    .mega-menu {
        position: static;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        padding: 0;
        border-top: none;
        background-color: transparent;
    }

    .has-mega-menu.is-open .mega-menu {
        display: block;
    }
    
    .has-mega-menu.is-open .arrow {
        transform: rotate(180deg);
    }

    .mega-menu-inner {
        flex-direction: column;
        padding: 0 var(--space-4) var(--space-4) var(--space-6);
        gap: var(--space-4);
    }
    
    .mega-menu-columns {
        flex-direction: column;
        gap: var(--space-4);
    }

    .mega-menu-title {
        margin-top: var(--space-3);
    }

    .mega-menu-featured {
        display: none; /* Hide featured image in mobile menu to save space */
    }
    
    .mega-menu-column a {
        padding: var(--space-2) 0;
        font-size: var(--text-sm);
        border-radius: 0;
    }
    
    .mega-menu-column a:active {
        background: transparent;
        color: var(--color-primary-green);
    }

    .header-actions {
        display: flex; /* Keep header-actions visible so hamburger shows */
        align-items: center;
        gap: 0.5rem;
    }
    
    /* Ensure the site-header does NOT become a stacking context (position: static is key) */

    /* Bottom Navigation Bar */
    .mobile-bottom-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.85);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        box-shadow: 0 -5px 20px rgba(0,0,0,0.04);
        display: flex;
        justify-content: space-around;
        align-items: center;
        padding: 12px 10px 20px 10px; /* Extra bottom padding for iOS home indicator */
        z-index: 1040;
        border-top: 1px solid rgba(0,0,0,0.05);
    }

    .mobile-bottom-nav .nav-item {
        color: #9CA3AF;
        padding: 8px 12px;
        display: flex;
        flex-direction: column;
        align-items: center;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        border-radius: 12px;
        position: relative;
    }

    .mobile-bottom-nav .nav-item svg {
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .mobile-bottom-nav .nav-item.active,
    .mobile-bottom-nav .nav-item:active {
        color: var(--color-primary-green);
    }

    .mobile-bottom-nav .nav-item.active svg {
        transform: translateY(-2px);
    }
    
    .mobile-bottom-nav .nav-item.active::after {
        content: '';
        position: absolute;
        bottom: 2px;
        left: 50%;
        transform: translateX(-50%);
        width: 4px;
        height: 4px;
        border-radius: 50%;
        background-color: var(--color-primary-green);
    }

    .mobile-bottom-nav .nav-item span {
        font-size: 10px;
        font-weight: 500;
        margin-top: 3px;
        display: block;
        line-height: 1;
    }

    /* Overlay — DESACTIVADO para mejor usabilidad del menú */
    .offcanvas-overlay,
    .offcanvas-overlay.is-active {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
    }
} /* <--- CRITICAL FIX: Missing closing brace restored */

/* For Desktop - explicitly hide overlay & offcanvas header */
@media (min-width: 992px) {
    .offcanvas-overlay {
        display: none !important;
    }
}

/* ==========================================================================
   7. Hero Section (Home)
   ========================================================================== */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    max-height: 900px;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: -1px; /* seamless connection with sticky header */
}

/* Background Slider */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.slide.slide-active {
    opacity: 1;
}

/* Overlay dark gradient for white text readability */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 60%, rgba(0,0,0,0) 100%);
    z-index: 2;
}

/* Hero Content */
.hero-container {
    position: relative;
    z-index: 10;
}

.hero-content {
    max-width: 700px;
}

.hero-title {
    font-size: var(--text-5xl);
    color: var(--color-white);
    margin-bottom: var(--space-4);
    line-height: 1.1;
    text-transform: uppercase;
    font-weight: 900;
}

.hero-subtitle {
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: var(--space-8);
    max-width: 600px;
    font-weight: 500;
}

/* Glassmorphism Search Box */
.hero-search-box {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: var(--radius-lg);
    padding: var(--space-5) var(--space-6);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.search-form-hero {
    display: flex;
    align-items: center;
    gap: var(--space-6);
    flex-wrap: nowrap;
}

.search-field {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
}

.search-field:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -15px; /* Half of gap */
    top: 15%;
    height: 70%;
    width: 1px;
    background-color: var(--color-bg-light);
}

.search-label {
    font-size: var(--text-xs);
    font-weight: 700;
    color: var(--color-primary-dark);
    margin-bottom: var(--space-2);
}

.input-wrap {
    position: relative;
}

.search-input,
.search-select {
    width: 100%;
    border: none;
    background: transparent;
    font-size: var(--text-sm);
    color: var(--color-text-main);
    padding: var(--space-1) 0;
}

.search-input:focus,
.search-select:focus {
    outline: none;
}

.select-wrap {
    display: flex;
    align-items: center;
}

.search-select {
    appearance: none;
    cursor: pointer;
    padding-right: var(--space-4);
}

.select-arrow {
    position: absolute;
    right: 0;
    pointer-events: none;
    color: var(--color-text-light);
}

.search-action {
    display: flex;
    align-items: flex-end;
}

.search-submit {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    white-space: nowrap;
}

/* Mobile Hero Adjustments */
@media (max-width: 991px) {
    .hero-section {
        height: auto;
        padding-top: var(--space-16);
        padding-bottom: var(--space-16);
    }
    
    .hero-overlay {
        background: linear-gradient(180deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 100%);
    }

    .hero-title {
        font-size: var(--text-4xl);
    }
    
    .search-form-hero {
        flex-direction: column;
        align-items: stretch;
        gap: var(--space-4);
    }
    
    .search-field:not(:last-child)::after {
        display: none;
    }
    
    .search-field {
        border-bottom: 1px solid var(--color-bg-light);
        padding-bottom: var(--space-3);
    }
    
    .search-action {
        margin-top: var(--space-2);
    }
    
    .search-submit {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================================================
   8. Trip Customization Modal
   ========================================================================== */
.trip-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.trip-modal-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

.trip-modal-box {
    background-color: var(--color-white);
    width: 90%;
    max-width: 550px;
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    position: relative;
    transform: scale(0.95);
    transition: transform var(--transition-normal);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    max-height: 90vh;
    overflow-y: auto;
}

.trip-modal-overlay.is-active .trip-modal-box {
    transform: scale(1);
}

.trip-modal-close {
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    background: none;
    border: none;
    font-size: var(--text-3xl);
    line-height: 1;
    color: var(--color-text-light);
    cursor: pointer;
    transition: color var(--transition-fast);
}

.trip-modal-close:hover {
    color: var(--color-text-main);
}

.trip-modal-title {
    font-size: var(--text-2xl);
    color: var(--color-primary-dark);
    margin-bottom: var(--space-6);
    line-height: 1.3;
    padding-right: var(--space-6);
    font-family: var(--font-heading);
    font-weight: 800;
}

.trip-modal-form .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
}

.trip-modal-form .form-group {
    margin-bottom: 0;
}

.trip-modal-form .form-group.full-width {
    grid-column: 1 / -1;
}

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

.trip-modal-form label {
    display: block;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-text-main);
    margin-bottom: var(--space-2);
}

.trip-modal-form input[type="text"],
.trip-modal-form input[type="email"],
.trip-modal-form input[type="tel"],
.trip-modal-form textarea {
    width: 100%;
    padding: var(--space-3);
    border: 1px solid var(--color-bg-light);
    border-radius: var(--radius-md);
    background-color: #F9FAFB;
    color: var(--color-text-main);
    font-family: inherit;
    font-size: var(--text-sm);
    transition: border-color var(--transition-fast);
}

.trip-modal-form input:focus,
.trip-modal-form textarea:focus {
    outline: none;
    border-color: var(--color-primary-green);
    background-color: var(--color-white);
}

.trip-modal-submit {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-2);
    margin-top: var(--space-2);
    padding: var(--space-4);
    font-size: var(--text-base);
}

/* Intl-tel-input overrides */
.iti {
    width: 100%;
    display: block;
}
.iti__country-list {
    color: var(--color-text-main);
    font-size: var(--text-sm);
    max-width: 320px;
    white-space: normal;
    z-index: 10000;
}
.trip-modal-form .iti__tel-input {
    width: 100% !important;
}
.iti__dropdown-content {
    background-color: var(--color-white);
}

/* Validation Messages */
.validation-msg {
    display: block;
    font-size: var(--text-xs);
    margin-top: var(--space-2);
    font-weight: 500;
}
.valid-msg {
    color: #10B981; /* Success Green */
}
.error-msg {
    color: #EF4444; /* Error Red */
}
.hide {
    display: none;
}

/* ==========================================================================
   9. Popular Tours Section (Bento Grid)
   ========================================================================== */
.section-padding {
    padding: var(--space-20) 0;
}

.bg-gray-50 {
    background-color: var(--color-bg-light); 
}

/* Header Layout */
.popular-tours-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--space-12);
    gap: var(--space-8);
}

.header-titles {
    flex: 0 0 50%;
}

.subheading {
    display: block;
    font-size: var(--text-sm);
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--space-2);
}

.section-title {
    font-size: var(--text-5xl);
    color: var(--color-primary-dark);
    line-height: 1.1;
    font-weight: 800;
    margin: 0;
    font-family: var(--font-heading);
    letter-spacing: -1px;
}

.header-desc {
    flex: 0 0 45%;
    padding-top: var(--space-4);
}

.header-desc p {
    font-size: var(--text-base);
    color: var(--color-text-main);
    line-height: 1.6;
    margin: 0;
}

/* Bento Grid System */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(2, 320px);
    gap: var(--space-4);
    margin-bottom: var(--space-12);
}

.bento-box {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-color: var(--color-primary-dark);
    text-decoration: none;
    display: flex;
    align-items: flex-end;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

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

/* Specific Box Sizings based on 5-column layout */
.box-wide-left {
    grid-column: span 3;
}
.box-narrow-right {
    grid-column: span 2;
}
.box-narrow-left {
    grid-column: span 2;
}
.box-wide-right {
    grid-column: span 3;
}

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

.box-content {
    position: relative;
    z-index: 2;
    padding: var(--space-6);
    width: 100%;
}

.box-subtitle {
    display: block;
    color: rgba(255, 255, 255, 0.85);
    font-size: var(--text-sm);
    margin-bottom: var(--space-1);
    font-weight: 500;
}

.box-title {
    color: var(--color-white);
    font-size: var(--text-2xl);
    font-weight: 700;
    margin: 0;
    font-family: var(--font-heading);
}

/* Tour Slider System */
.tour-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: var(--space-4);
    padding-bottom: var(--space-4);
    scrollbar-width: none; /* Firefox: hide scrollbar */
    -ms-overflow-style: none; /* IE and Edge */
}
.tour-slider::-webkit-scrollbar {
    display: none; /* Chrome/Safari: hide scrollbar */
}

.tour-slide-card {
    flex: 0 0 calc(33.333% - 11px);
    scroll-snap-align: start;
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-color: var(--color-primary-dark);
    text-decoration: none;
    display: flex;
    align-items: flex-end;
    height: 400px;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

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

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

.slide-content {
    position: relative;
    z-index: 2;
    padding: var(--space-6);
    width: 100%;
}

.slide-subtitle {
    display: block;
    color: rgba(255, 255, 255, 0.85);
    font-size: var(--text-sm);
    margin-bottom: var(--space-1);
    font-weight: 500;
}

.slide-title {
    color: var(--color-white);
    font-size: var(--text-2xl);
    font-weight: 700;
    margin: 0;
    font-family: var(--font-heading);
    line-height: 1.2;
}

/* ==========================================================================
   Custom WooCommerce Product Archive Cards
   ========================================================================== */
.woocommerce ul.products li.product.custom-tour-card {
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    margin-bottom: 2.5rem !important;
}

.woocommerce ul.products li.product.custom-tour-card a.tour-card-inner {
    position: relative;
    display: flex;
    align-items: flex-end;
    height: 400px;
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-color: var(--color-primary-dark);
    text-decoration: none;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.woocommerce ul.products li.product.custom-tour-card a.tour-card-inner:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.2);
}

/* Hide WooCommerce default generated markup inside our custom template just in case */
.woocommerce ul.products li.product.custom-tour-card .woocommerce-loop-product__title,
.woocommerce ul.products li.product.custom-tour-card .star-rating,
.woocommerce ul.products li.product.custom-tour-card .price,
.woocommerce ul.products li.product.custom-tour-card .button,
.woocommerce ul.products li.product.custom-tour-card .added_to_cart {
    display: none !important;
}

/* ==========================================================================
   WooCommerce Archive Grid Styles
   ========================================================================== */
.woocommerce .woocommerce-products-header {
    display: none !important; /* Hidden because we use the new Hero Banner */
}
.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering {
    display: none !important; /* Hide "Showing X results" and sorting dropdown for a cleaner look */
}

.woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)) !important;
    gap: 2.5rem !important;
}
.woocommerce ul.products::before,
.woocommerce ul.products::after {
    display: none !important; /* Remove float clears */
}
.woocommerce ul.products li.product.custom-tour-card {
    width: 100% !important; /* Override WooCommerce column width */
    margin: 0 !important;
}

/* Tour Slider Wrappers and Arrows */
.tour-slider-wrapper {
    position: relative;
    width: 100%;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background-color: var(--color-primary-green);
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    cursor: pointer;
    z-index: 10;
    transition: all var(--transition-fast);
}

.slider-arrow:hover {
    background-color: var(--color-accent-yellow);
    color: var(--color-primary-dark);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.slider-prev {
    left: -24px;
}

.slider-next {
    right: -24px;
}

/* Responsive Rules for Tour Slider */
@media (max-width: 991px) {
    .slider-arrow {
        display: none !important;
    }
    
    .popular-tours-header {
        flex-direction: column;
        gap: var(--space-6);
    }
    
    .header-titles, .header-desc {
        flex: 1 1 100%;
    }
    
    .header-desc {
        padding-top: 0;
    }
    
    .bento-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: var(--space-4);
        margin-bottom: var(--space-8);
    }
    
    .bento-box {
        grid-column: span 1 !important;
        height: 280px; /* fixed height for mobile */
    }
    
    .tour-slide-card {
        flex: 0 0 calc(50% - 8px);
        height: 350px;
    }
}

@media (max-width: 768px) {
    .tour-slider {
        scroll-padding-left: var(--space-4);
        padding: 0 var(--space-4) var(--space-4);
        margin-left: calc(-1 * var(--space-4));
        margin-right: calc(-1 * var(--space-4));
    }
    .tour-slide-card {
        flex: 0 0 80%;
        height: 320px;
    }
}

/* ==========================================================================
   10. Features Banner (Why Choose Us)
   ========================================================================== */
.features-section {
    padding: 0; /* Removed padding to let the banner go full width */
    margin: 4rem 0; /* Add margin instead of padding to keep spacing */
}

.features-banner {
    position: relative;
    border-radius: 0; /* Removed rounded corners for full-width */
    background-size: cover;
    background-position: center;
    background-color: #12AF91; /* Base fallback */
    margin: 0 auto;
    /* Do NOT use overflow:hidden so the llama leaps out */
}

.features-overlay {
    position: absolute;
    inset: 0;
    background: rgba(18, 175, 145, 0.85); /* Exact Teal Match */
    border-radius: 0;
    z-index: 1;
}

.features-grid {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 2.5rem;
    padding: 5rem 4rem;
    padding-right: 380px; /* Robust space reserved strictly for llama */
}

.feature-item {
    color: var(--color-white);
    text-align: center;
    flex: 1 1 33.333%;
}

.feature-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.feature-icon svg {
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
}

.feature-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-white);
    font-family: var(--font-heading);
    line-height: 1.25;
}

.feature-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-white);
    margin: 0;
    font-weight: 400;
}

.llama-img {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 135%; /* Break top and bottom perfectly */
    width: auto;
    max-width: 380px;
    object-fit: contain;
    filter: drop-shadow(0 25px 35px rgba(0,0,0,0.25));
    z-index: 10;
}

@media (max-width: 1100px) {
    .features-grid {
        padding: 3rem 2rem;
        padding-right: 200px;
        gap: 2rem;
    }
    .llama-img {
        height: 120%;
        max-width: 250px;
        right: 0;
    }
}

@media (max-width: 991px) {
    .features-grid {
        flex-direction: column;
        padding: 3rem 1.5rem 260px 1.5rem; /* Increased padding strictly for llama height */
    }
    .feature-item {
        max-width: 90%;
        margin: 0 auto 1.5rem auto;
    }
    .feature-item:last-child {
        margin-bottom: 0;
    }
    .llama-img {
        top: auto;
        bottom: -15px; /* Sit right at the bottom edge */
        transform: translateY(0);
        right: 0;
        left: 0;
        margin: 0 auto;
        height: 250px;
    }
}

/* ==========================================================================
   11. Google Reviews Section
   ========================================================================== */
.reviews-section {
    padding: 5rem 0;
}

.reviews-slider {
    /* Uses the generic .tour-slider layout from above automatically */
}

.reviews-slider .review-card {
    flex: 0 0 calc(33.333% - 11px);
    scroll-snap-align: start;
    height: auto; /* Allow natural height */
    min-width: 0;
    
    background-color: var(--color-white);
    border-radius: 8px; /* Google standard */
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
}

@media (max-width: 991px) {
    .reviews-slider .review-card {
        flex: 0 0 calc(50% - 8px);
    }
}

@media (max-width: 768px) {
    .reviews-slider .review-card {
        flex: 0 0 85%;
    }
}



.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
}

.review-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: white;
    font-weight: 500;
    margin-right: 1rem;
    flex-shrink: 0;
}

.review-author-info {
    display: flex;
    flex-direction: column;
}

.review-author-name {
    font-size: 1rem;
    font-weight: 700;
    color: #202124; /* exact google name color */
    margin: 0 0 2px 0;
    font-family: Arial, sans-serif; /* Google mostly uses basic sans-serif like Roboto/Arial here */
}

.review-author-stats {
    font-size: 0.85rem;
    color: #70757a;
    font-family: Arial, sans-serif;
}

.review-rating-row {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
    gap: 8px;
}

.stars {
    color: #fbbc04; /* Google golden */
    font-size: 1.4rem;
    letter-spacing: 2px;
}

.review-date {
    font-size: 0.85rem;
    color: #70757a;
    font-family: Arial, sans-serif;
}

.review-body {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #3c4043;
    font-family: Arial, sans-serif;
    margin: 0;
}
}

/* ==========================================================================
   12. FAQ Section
   ========================================================================== */
.faq-section {
    background-color: var(--color-white);
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 0.5rem;
}

.faq-question {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-text-dark);
    padding: 1.25rem 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-heading);
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--color-primary);
}

.faq-icon {
    position: relative;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background-color: var(--color-primary);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.faq-icon::before {
    top: 9px;
    left: 2px;
    width: 16px;
    height: 2px;
}

.faq-icon::after {
    top: 2px;
    left: 9px;
    width: 2px;
    height: 16px;
}

.faq-item.is-open .faq-question {
    color: var(--color-primary);
}

.faq-item.is-open .faq-icon::after {
    transform: rotate(90deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-inner {
    padding-bottom: 1.5rem;
    color: var(--color-text);
    font-size: 0.95rem;
    line-height: 1.7;
}

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

/* ==========================================================================
   13. Blog Section
   ========================================================================== */
.blog-section {
    background-color: var(--color-light); /* Enforces the soft 50 contrast */
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

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

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

.blog-card-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
    background-color: var(--color-primary); /* fallback */
}

.blog-card-image-link {
    display: block;
}

.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-card-content {
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-meta {
    font-size: 0.8rem;
    color: var(--color-primary);
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.blog-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    line-height: 1.4;
    font-family: var(--font-heading);
}

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

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

.blog-excerpt {
    font-size: 0.95rem;
    color: var(--color-text);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.blog-excerpt p {
    margin: 0;
}

.blog-read-more {
    font-weight: 700;
    color: var(--color-text-dark);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
    align-self: flex-start;
    border-bottom: 2px solid var(--color-primary);
    padding-bottom: 2px;
}

.blog-read-more:hover {
    color: var(--color-primary);
    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;
        gap: 1.5rem;
    }
}

/* ==========================================================================
   14. Footer
   ========================================================================== */
.custom-footer {
    background-color: #54a08e;
    color: #fff;
    position: relative;
    padding-top: 10px; /* Space inside */
    font-family: 'Product Sans', Arial, sans-serif;
    margin-top: 8vw; /* responsive gap to ensure the image sits freely above */
}

.footer-separator-mask {
    position: absolute;
    bottom: 100%; /* attaches exactly to the top edge of the footer */
    left: 0;
    width: 100%;
    height: 8vw;
    min-height: 50px;
    background-color: #54a08e; /* forces the separator to be the footer's green color */
    -webkit-mask-image: url('/wp-content/uploads/2025/05/footer-5-1.png');
    -webkit-mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-image: url('/wp-content/uploads/2025/05/footer-5-1.png');
    mask-size: 100% 100%;
    mask-repeat: no-repeat;
    z-index: 10;
    pointer-events: none;
    margin-bottom: -1px; /* prevents 1px white line gap */
    transform: scaleY(-1); /* Flips the mask vertically so the solid part is at the bottom and wavy part at the top */
}

.footer-container {
    padding-top: 2rem;
    padding-bottom: 3rem;
    position: relative;
    z-index: 11;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 2rem;
}

.footer-col-logo {
    padding-right: 2rem;
}

.footer-logo {
    margin-bottom: 1.2rem;
}

.footer-logo img {
    max-width: 150px;
    height: auto;
}

.footer-social-icons {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 1.2rem;
}

.footer-social-icons a {
    color: #fff;
    transition: opacity 0.3s ease;
}

.footer-social-icons a:hover {
    opacity: 0.7;
}

.footer-company-info {
    font-size: 0.85rem;
    line-height: 1.6;
    opacity: 0.9;
}

.footer-title {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-family: inherit;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.footer-contact a {
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.25);
    padding: 1.5rem 0;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.8rem;
    opacity: 0.9;
    letter-spacing: 0.5px;
}

.footer-bottom a {
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

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

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-col-logo {
        padding-right: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .footer-social-icons {
        justify-content: center;
    }
    .footer-contact li {
        justify-content: center;
    }
}

/* ==========================================================================
   15. Single Tour Product (Airbnb Style)
   ========================================================================== */
.tour-single-main {
    padding: 3rem 0 6rem 0;
    background-color: #fff;
}

.tour-hero-section {
    margin-bottom: 2.5rem;
}

.tour-single-title {
    font-size: 2.2rem;
    font-family: var(--font-heading);
    margin-bottom: 0.5rem;
}

.tour-single-meta {
    display: flex;
    gap: 1.5rem;
    color: var(--color-text);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.tour-single-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* Airbnb Gallery */
.airbnb-gallery {
    display: flex;
    height: 480px;
    gap: 8px;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}

.gallery-main {
    width: 50%;
    height: 100%;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: filter 0.3s ease;
}

.gallery-main img:hover {
    filter: brightness(0.9);
}

.gallery-grid {
    width: 50%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 8px;
}

.gallery-item {
    width: 100%;
    height: 100%;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: filter 0.3s ease;
}

.gallery-item img:hover {
    filter: brightness(0.9);
}

.disabled-item {
    background-color: solid #e5e7eb;
}

.btn-show-photos {
    position: absolute;
    bottom: 24px;
    right: 24px;
    background: #fff;
    border: 1px solid #111;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.btn-show-photos:hover {
    background: #f8f8f8;
}

/* Layout Grid */
.tour-layout-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

/* Left Content */
.tour-quick-facts-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 2rem;
}

.fact-box {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.fact-box svg {
    color: var(--color-primary);
}

.fact-text {
    display: flex;
    flex-direction: column;
}

.fact-text strong {
    font-size: 0.95rem;
    color: var(--color-text-dark);
}

.fact-text span {
    font-size: 0.9rem;
    color: var(--color-text);
}

.tour-section {
    padding-bottom: 2.5rem;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 2.5rem;
}

.tour-section-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
    color: var(--color-text-dark);
}

.tour-inc-exc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.tour-box {
    padding: 1.8rem;
    border-radius: 12px;
}

.card-inc {
    background-color: #f0fdf4;
    border: 1px solid #bbf7d0;
}

.card-exc {
    background-color: #fef2f2;
    border: 1px solid #fecaca;
}

.format-inc ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    list-style: none;
    color: var(--color-text);
}
.format-inc ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #16a34a;
    font-weight: bold;
}

.format-exc ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    list-style: none;
    color: var(--color-text);
}
.format-exc ul li::before {
    content: "✕";
    position: absolute;
    left: 0;
    color: #dc2626;
    font-weight: bold;
}

/* Accordion Itinerary */
.accordion-item {
    border: 1px solid #e5e7eb;
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    text-align: left;
    padding: 1.5rem;
    background: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-item.is-open .accordion-header {
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
}

.accordion-title-wrap {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.day-badge {
    background: var(--color-primary);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.day-title {
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--color-text-dark);
}

.accordion-icon {
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s;
}

.accordion-item.is-open .accordion-icon {
    transform: rotate(45deg);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    background: #fff;
}

.accordion-inner {
    padding: 1.5rem;
}

/* Table */
.tura-table {
    width: 100%;
    border-collapse: collapse;
}

.tura-table th, .tura-table td {
    padding: 1rem;
    border-bottom: 1px solid #e5e7eb;
    text-align: left;
}

.tura-table th {
    background: #f8fafc;
    font-weight: 600;
    color: var(--color-text-dark);
}

.tura-table td {
    color: var(--color-text);
}

.price-cell {
    color: var(--color-primary) !important;
    font-size: 1.1rem;
}

/* Right Sidebar Sticky Widget */
.tour-col-sidebar {
    position: relative;
}

.booking-widget-sticky {
    position: sticky;
    top: 100px;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    background: #fff;
}

.booking-widget-header {
    margin-bottom: 1.5rem;
}

.lbl-from {
    font-size: 0.9rem;
    color: var(--color-text);
}

.booking-price h3 {
    font-size: 1.8rem;
    color: var(--color-text-dark);
    margin: 0;
    font-family: var(--font-heading);
}

.booking-widget-body {
    margin-bottom: 1.5rem;
}

.widget-action-or {
    text-align: center;
    margin: 1rem 0;
    position: relative;
}
.widget-action-or::before {
    content: "";
    position: absolute;
    top: 50%; left: 0; right: 0;
    height: 1px;
    background: #e5e7eb;
    z-index: 1;
}
.widget-action-or span {
    background: #fff;
    padding: 0 10px;
    position: relative;
    z-index: 2;
    color: #9ca3af;
    font-size: 0.8rem;
    font-weight: 600;
}

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

.booking-guarantees li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--color-text);
    margin-bottom: 0.8rem;
}

@media (max-width: 991px) {
    .tour-layout-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .booking-widget-sticky {
        position: relative;
        top: 0;
    }
    
    .tour-inc-exc-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .airbnb-gallery {
        flex-direction: column;
        height: auto;
    }
    .gallery-main {
        width: 100%;
        height: 300px;
    }
    .gallery-grid {
        display: none;
    }
    .tour-single-title {
        font-size: 1.8rem;
    }
}

/* ==========================================================================
   16. Blog Single Post
   ========================================================================== */

/* Hero Section */
.blog-hero-section {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: flex-end;
    margin-bottom: 4rem;
}

.blog-hero-section.no-hero-image {
    min-height: 220px;
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary-green) 100%);
    align-items: center;
}

.blog-hero-image {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.blog-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blog-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.1) 60%);
}

.blog-hero-content {
    position: relative;
    z-index: 2;
    padding: 3rem 1rem;
    color: #fff;
    max-width: 860px;
}

.post-categories-header {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.category-badge {
    background: var(--color-primary-green);
    color: #fff;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background 0.2s;
}

.category-badge:hover {
    background: var(--color-accent-yellow);
    color: var(--color-primary-dark);
}

.blog-single-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #fff;
}

.blog-hero-section.no-hero-image .blog-single-title {
    color: #fff;
}

.blog-single-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.author-meta-block {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.author-avatar-sm {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.4);
}

.author-meta-text {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    font-size: 0.95rem;
}

.meta-secondary {
    font-size: 0.82rem;
    opacity: 0.8;
}

/* Share Bar */
.blog-share-bar {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.share-label {
    font-size: 0.85rem;
    opacity: 0.8;
}

.share-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.2s, opacity 0.2s;
    opacity: 0.9;
}

.share-btn:hover {
    transform: scale(1.15);
    opacity: 1;
}

.share-fb { background: #1877f2; color: #fff; }
.share-tw { background: #1da1f2; color: #fff; }
.share-wa { background: #25d366; color: #fff; }

/* Blog Layout (Content + Sidebar) */
.blog-single-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 4rem;
    margin-bottom: 5rem;
}

/* Article Content */
.blog-article-content {
    min-width: 0;
}

.post-entry-content {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--color-text-main);
}

.post-entry-content h2,
.post-entry-content h3,
.post-entry-content h4 {
    font-family: var(--font-heading);
    margin: 2rem 0 1rem;
    color: var(--color-primary-dark);
}

.post-entry-content h2 { font-size: 1.7rem; }
.post-entry-content h3 { font-size: 1.35rem; }

.post-entry-content p {
    margin-bottom: 1.5rem;
}

.post-entry-content img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 1.5rem 0;
}

.post-entry-content ul,
.post-entry-content ol {
    margin: 1rem 0 1.5rem 1.5rem;
}

.post-entry-content li {
    margin-bottom: 0.5rem;
}

.post-entry-content blockquote {
    border-left: 4px solid var(--color-primary-green);
    padding: 1rem 1.5rem;
    margin: 2rem 0;
    background: var(--color-bg-light);
    border-radius: 0 8px 8px 0;
    font-style: italic;
    font-size: 1.1rem;
    color: var(--color-primary-dark);
}

/* Tags */
.post-tags-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem 0;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    margin: 2.5rem 0;
}

.post-tag {
    background: var(--color-bg-light);
    color: var(--color-text-main);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.82rem;
    text-decoration: none;
    border: 1px solid #e5e7eb;
    transition: all 0.2s;
}

.post-tag:hover {
    background: var(--color-primary-green);
    color: #fff;
    border-color: var(--color-primary-green);
}

/* Author Card */
.author-card-block {
    display: flex;
    gap: 1.5rem;
    background: var(--color-bg-light);
    border-radius: 16px;
    padding: 1.8rem;
    margin-bottom: 2.5rem;
    align-items: flex-start;
}

.author-card-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 3px solid var(--color-primary-green);
}

.author-card-label {
    font-size: 0.8rem;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 0.2rem;
}

.author-card-name {
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
    color: var(--color-primary-dark);
}

.author-card-bio {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.6;
    margin: 0;
}

/* Post Navigation */
.post-navigation-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding: 2rem 0;
    border-top: 1px solid #e5e7eb;
}

.post-nav-link {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 1rem;
    border-radius: 12px;
    text-decoration: none;
    color: var(--color-text-main);
    border: 1px solid #e5e7eb;
    transition: all 0.2s;
}

.post-nav-link:hover {
    border-color: var(--color-primary-green);
    background: var(--color-bg-light);
    transform: translateY(-2px);
}

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

.nav-direction {
    font-size: 0.8rem;
    color: var(--color-text-light);
    display: flex;
    align-items: center;
    gap: 4px;
}

.post-nav-next .nav-direction {
    justify-content: flex-end;
}

.post-nav-link strong {
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Sidebar */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-widget {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 1.5rem;
}

.sidebar-widget-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    margin-bottom: 1.2rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid var(--color-primary-green);
}

/* Search Widget */
.sidebar-widget-search {
    border: none;
    padding: 0;
    background: transparent;
}

.sidebar-search-form {
    display: flex;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.sidebar-search-input {
    flex: 1;
    padding: 0.8rem 1rem;
    border: none;
    outline: none;
    font-size: 0.9rem;
    font-family: var(--font-primary);
}

.sidebar-search-btn {
    background: var(--color-primary-green);
    color: #fff;
    border: none;
    padding: 0.8rem 1rem;
    cursor: pointer;
    transition: background 0.2s;
}

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

/* Categories in Sidebar */
.sidebar-categories-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-categories-list li {
    border-bottom: 1px solid #f3f4f6;
    padding: 0.5rem 0;
}

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

.sidebar-categories-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    color: var(--color-text-main);
    font-size: 0.9rem;
    transition: color 0.2s;
}

.sidebar-categories-list a:hover {
    color: var(--color-primary-green);
}

.sidebar-categories-list .children {
    padding-left: 1rem;
}

/* Recent Posts */
.sidebar-recent-posts {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sidebar-recent-link {
    display: flex;
    gap: 0.8rem;
    text-decoration: none;
    color: inherit;
    align-items: center;
}

.sidebar-recent-thumb {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.sidebar-recent-placeholder {
    background: linear-gradient(135deg, var(--color-primary-green) 0%, var(--color-primary-dark) 100%);
}

.sidebar-recent-info strong {
    display: block;
    font-size: 0.9rem;
    line-height: 1.3;
    color: var(--color-text-main);
    margin-bottom: 3px;
    transition: color 0.2s;
}

.sidebar-recent-link:hover .sidebar-recent-info strong {
    color: var(--color-primary-green);
}

.sidebar-recent-info span {
    font-size: 0.78rem;
    color: var(--color-text-light);
}

/* Tag Cloud */
.sidebar-tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.sidebar-tags-cloud a {
    background: var(--color-bg-light);
    color: var(--color-text-main) !important;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.82rem !important;
    text-decoration: none;
    border: 1px solid #e5e7eb;
    transition: all 0.2s;
    display: inline-block;
}

.sidebar-tags-cloud a:hover {
    background: var(--color-primary-green) !important;
    color: #fff !important;
    border-color: var(--color-primary-green);
}

/* CTA Widget */
.sidebar-cta-widget {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary-green) 100%) !important;
    border: none !important;
    color: #fff;
    text-align: center;
}

.sidebar-cta-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
}

.sidebar-cta-inner h3 {
    color: #fff;
    font-size: 1.2rem;
    font-family: var(--font-heading);
}

.sidebar-cta-inner p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

/* Related Posts */
.related-posts-section {
    background: var(--color-bg-light);
    padding: 4rem 0;
    margin-top: 3rem;
}

/* ==========================================================================
   17. Blog Archive Page
   ========================================================================== */

/* Hero Banner */
.archive-hero-section {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, #1a4a48 50%, var(--color-primary-green) 100%);
    padding: 5rem 0 3rem;
    position: relative;
    overflow: hidden;
    margin-bottom: 4rem;
}

.archive-hero-section::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 50px;
    background: #fff;
    clip-path: ellipse(55% 100% at 50% 100%);
}

.archive-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
}

.archive-hero-eyebrow {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    backdrop-filter: blur(4px);
}

.archive-hero-title {
    font-size: 3rem;
    font-family: var(--font-heading);
    font-weight: 800;
    margin-bottom: 1rem;
    color: #fff;
}

.archive-hero-desc {
    font-size: 1.1rem;
    opacity: 0.85;
    max-width: 560px;
    margin: 0 auto 2rem;
}

/* Category Filter Pills */
.archive-category-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 1.5rem;
}

.cat-pill {
    padding: 6px 18px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    background: rgba(255,255,255,0.12);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.25);
    transition: all 0.25s;
    backdrop-filter: blur(4px);
}

.cat-pill:hover,
.cat-pill.is-active {
    background: #fff;
    color: var(--color-primary-dark);
    border-color: #fff;
}

/* Archive Layout */
.archive-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 4rem;
    margin-bottom: 5rem;
}

.archive-posts-col {
    min-width: 0;
}

/* Featured Post Card */
.featured-archive-card {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 0;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    margin-bottom: 3rem;
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
    background: #fff;
    transition: box-shadow 0.3s, transform 0.3s;
}

.featured-archive-card:hover {
    box-shadow: 0 16px 50px rgba(0,0,0,0.1);
    transform: translateY(-4px);
}

.featured-card-image-wrap {
    position: relative;
    display: block;
    overflow: hidden;
    min-height: 340px;
}

.featured-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s;
}

.featured-archive-card:hover .featured-card-image {
    transform: scale(1.05);
}

.featured-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0) 60%, rgba(0,0,0,0.3) 100%);
}

.featured-card-cat {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--color-primary-green);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
}

.featured-card-body {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
}

.featured-card-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
}

.featured-card-title a {
    text-decoration: none;
    color: var(--color-primary-dark);
    transition: color 0.2s;
}

.featured-card-title a:hover {
    color: var(--color-primary-green);
}

.featured-card-excerpt {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

.featured-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5rem;
}

.author-inline {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--color-text-light);
}

.author-avatar-xs {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

/* Blog card footer row */
.blog-card-footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #f3f4f6;
}

/* Blog card No Thumb */
.blog-card-no-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0f0f5, #e5e7eb);
}

/* Pagination */
.archive-pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.archive-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    text-decoration: none;
    font-size: 0.9rem;
    color: var(--color-text-main);
    transition: all 0.2s;
}

.archive-pagination .page-numbers.current,
.archive-pagination .page-numbers:hover {
    background: var(--color-primary-green);
    color: #fff;
    border-color: var(--color-primary-green);
}

.archive-pagination .page-numbers.prev,
.archive-pagination .page-numbers.next {
    width: auto;
    padding: 0 1rem;
}

/* ==========================================================================
   Single Tour Inquiry Form Widget
   ========================================================================== */
.tour-inquiry-widget {
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    padding: 2.5rem;
    margin-top: 1rem;
    border: 1px solid rgba(0,0,0,0.05);
}

.widget-header {
    text-align: center;
    margin-bottom: 2rem;
}

.widget-header h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--color-primary-dark);
    margin: 0 0 0.5rem 0;
    font-weight: 700;
}

.widget-header p {
    font-size: 0.95rem;
    color: var(--color-text-light);
    margin: 0;
    line-height: 1.5;
}

.tour-inquiry-form .form-group {
    margin-bottom: 1.25rem;
}

.tour-inquiry-form .form-row {
    display: flex;
    gap: 1rem;
}

.tour-inquiry-form .form-row .half {
    flex: 1;
}

.tour-inquiry-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-primary-dark);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tour-inquiry-form input,
.tour-inquiry-form select,
.tour-inquiry-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #E5E7EB;
    border-radius: var(--radius-md);
    background-color: #F9FAFB;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-text);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.tour-inquiry-form input:focus,
.tour-inquiry-form select:focus,
.tour-inquiry-form textarea:focus {
    outline: none;
    border-color: var(--color-primary-green);
    box-shadow: 0 0 0 3px rgba(82, 160, 140, 0.15);
    background-color: var(--color-white);
}

.tour-inquiry-form textarea {
    resize: vertical;
}

/* ----------------------------------------------------
   Premium styling for Native Date Pickers
   ---------------------------------------------------- */
input[type="date"] {
    position: relative;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    min-height: 48px;
    padding-right: 40px !important; /* Space for the calendar icon */
}

/* Custom Calendar Icon Wrapper */
input[type="date"]::-webkit-calendar-picker-indicator {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background-color: transparent;
    opacity: 0.5;
    cursor: pointer;
    transition: opacity var(--transition-fast);
}

input[type="date"]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

/* Format the date placeholder text */
input[type="date"]::-webkit-datetime-edit {
    padding: 0;
    color: var(--color-text-main);
}
input[type="date"]::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
}

.btn-submit-inquiry {
    width: 100%;
    background-color: var(--color-accent-yellow);
    color: var(--color-primary-dark);
    border: none;
    border-radius: var(--radius-md);
    padding: 16px;
    font-size: 1.05rem;
    font-weight: 700;
    font-family: var(--font-heading);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 1rem;
    transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.btn-submit-inquiry:hover {
    background-color: #f59e0b; /* Slightly darker yellow */
    transform: translateY(-2px);
}

.widget-trust-signals {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #E5E7EB;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.trust-item span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text);
}

@media (max-width: 768px) {
    .tour-inquiry-form .form-row {
        flex-direction: column;
        gap: 0;
    }
}

/* Failsafe to hide any default pricing/cart plugins inside the summary */
.woocommerce div.product div.summary .price,
.woocommerce div.product div.summary form.cart,
.woocommerce div.product div.summary .product_meta,
.woocommerce div.product div.summary .yith-ywraq-add-to-quote,
.woocommerce div.product div.summary .yith-wcbk-booking-form {
    display: none !important;
}

/* ==========================================================================
   B2B Peru Travel Mart Popup
   ========================================================================== */
.ptm-b2b-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(5px);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.ptm-b2b-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.ptm-b2b-modal {
    background: var(--color-white);
    width: 90%;
    max-width: 850px;
    border-radius: var(--radius-lg);
    position: relative;
    transform: scale(0.95) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.ptm-b2b-modal-overlay.active .ptm-b2b-modal {
    transform: scale(1) translateY(0);
}

.ptm-close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--color-text-light);
    cursor: pointer;
    z-index: 10;
    transition: color 0.3s ease;
}

.ptm-close-btn:hover {
    color: var(--color-primary-dark);
}

.ptm-modal-content {
    display: flex;
    flex-wrap: wrap;
}

.ptm-image-container {
    flex: 1 1 300px;
    background-color: #f8fafc;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem;
    border-right: 1px solid #e2e8f0;
}

.ptm-logo {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.1));
}

.ptm-text-container {
    flex: 1 1 400px;
    padding: 3.5rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ptm-badge {
    display: inline-block;
    background-color: var(--color-primary-green);
    color: var(--color-white);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 12px;
    border-radius: 50px;
    align-self: flex-start;
    margin-bottom: 1.5rem;
}

.ptm-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--color-primary-dark);
    margin: 0 0 1rem 0;
    line-height: 1.2;
    font-weight: 800;
}

.ptm-description {
    font-size: 1.05rem;
    color: var(--color-text);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.ptm-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.ptm-btn {
    padding: 14px 30px;
    border-radius: 50px;
    background-color: var(--color-accent-yellow);
    color: var(--color-primary-dark);
    font-weight: 700;
    font-family: var(--font-heading);
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.ptm-btn:hover {
    transform: translateY(-2px);
    background-color: #f59e0b;
}

.ptm-btn-secondary {
    background: none;
    border: none;
    color: var(--color-text-light);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.ptm-btn-secondary:hover {
    color: var(--color-primary-dark);
}

@media (max-width: 768px) {
    .ptm-modal-content {
        flex-direction: column;
    }
    .ptm-image-container {
        padding: 2rem;
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
    }
    .ptm-text-container {
        padding: 2.5rem 2rem;
    }
    .ptm-title {
        font-size: 1.8rem;
    }
    .ptm-actions {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
}

/* No Posts */
.archive-no-posts {
    text-align: center;
    padding: 5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.archive-no-posts h3 {
    font-size: 1.5rem;
    color: var(--color-primary-dark);
}

.archive-no-posts p {
    color: var(--color-text-light);
    max-width: 400px;
}

/* Responsive */
@media (max-width: 991px) {
    .blog-single-layout,
    .archive-layout {
        grid-template-columns: 1fr;
    }

    .blog-hero-section {
        min-height: 380px;
    }

    .blog-single-title {
        font-size: 2rem;
    }

    .featured-archive-card {
        grid-template-columns: 1fr;
    }

    .featured-card-image-wrap {
        min-height: 240px;
    }
}

@media (max-width: 768px) {
    .archive-hero-title {
        font-size: 2rem;
    }

    .blog-single-title {
        font-size: 1.7rem;
    }

    .blog-single-meta-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .post-navigation-block {
        grid-template-columns: 1fr;
    }

    .author-card-block {
        flex-direction: column;
    }

    .archive-category-pills {
        gap: 0.4rem;
    }
}

    /* ==========================================================================
   Page Hero Global Styles
   ========================================================================== */
.page-hero {
    position: relative;
    width: 100%;
    min-height: 55vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(18, 30, 26, 0.65); /* var(--color-primary-dark) with opacity */
}

.page-hero-content {
    position: relative;
    z-index: 2;
    padding-top: 80px;
    color: var(--color-white);
    max-width: 800px;
}

.page-hero-eyebrow {
    display: inline-block;
    color: var(--color-accent-yellow);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.page-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--color-white);
}

.page-hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    line-height: 1.6;
    opacity: 0.9;
    font-weight: 300;
}

/* ==========================================================================
   Contact Page Styles
   ========================================================================== */
.contact-hero {
    background-image: url('/wp-content/uploads/2025/08/Sin-titulo-60.jpg');
}

.contact-channels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: -80px;
    position: relative;
    z-index: 10;
}

.contact-channel-card {
    background: var(--color-white);
    padding: 3rem 2rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s ease;
}

.contact-channel-card:hover {
    transform: translateY(-5px);
}

.channel-icon {
    width: 60px;
    height: 60px;
    background: rgba(82, 160, 140, 0.1); /* var(--color-primary-green) with opacity */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--color-primary-green);
}

.channel-icon svg {
    width: 28px;
    height: 28px;
}

.contact-channel-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-primary-dark);
    margin-bottom: 1rem;
}

.contact-channel-card p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.channel-link {
    display: inline-block;
    color: var(--color-primary-green);
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.channel-link:hover {
    color: var(--color-accent-yellow);
}

.contact-main-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: flex-start;
}

.contact-form-wrapper {
    background: var(--color-white);
    padding: 3.5rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px rgba(0,0,0,0.04);
}

.contact-form-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--color-primary-dark);
    margin-bottom: 2rem;
    line-height: 1.2;
}

.tura-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.tura-form-group {
    margin-bottom: 1.5rem;
}

.tura-form-group.full-width {
    grid-column: 1 / -1;
}

.tura-form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-primary-dark);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tura-form-group input,
.tura-form-group select,
.tura-form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #E5E7EB;
    border-radius: var(--radius-md);
    background-color: #F9FAFB;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-text);
    transition: all 0.3s ease;
}

.tura-form-group input:focus,
.tura-form-group select:focus,
.tura-form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary-green);
    background-color: var(--color-white);
    box-shadow: 0 0 0 4px rgba(82, 160, 140, 0.1);
}

.tura-contact-submit {
    background-color: var(--color-accent-yellow);
    color: var(--color-primary-dark);
    border: none;
    padding: 18px 32px;
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.tura-contact-submit:hover {
    background-color: #f59e0b;
    transform: translateY(-2px);
}

.contact-info-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.04);
}

.info-card-header {
    position: relative;
    height: 200px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.info-card-header-overlay {
    position: absolute;
    inset: 0;
    background: rgba(18, 30, 26, 0.7);
}

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

.info-logo {
    width: 120px;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

.info-card-header h3 {
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 1.6rem;
    margin: 0;
}

.info-card-body {
    padding: 2.5rem;
}

.why-tura-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2.5rem 0;
}

.why-tura-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 1.5rem;
}

.why-icon {
    background: var(--color-primary-green);
    color: var(--color-white);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
    flex-shrink: 0;
    margin-top: 3px;
}

.why-tura-list strong {
    display: block;
    color: var(--color-primary-dark);
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.why-tura-list p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--color-text-light);
}

.contact-social-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-social-btn svg {
    width: 20px;
    height: 20px;
}

.contact-social-btn.whatsapp {
    background-color: #25D366;
    color: white;
}

.contact-social-btn.whatsapp:hover {
    background-color: #128C7E;
}

.contact-social-btn.email-btn {
    background-color: #f8fafc;
    color: var(--color-primary-dark);
    border: 1px solid #e2e8f0;
}

.contact-social-btn.email-btn:hover {
    background-color: #e2e8f0;
}

/* ==========================================================================
   About Page Styles
   ========================================================================== */
.about-hero {
    background-image: url('/wp-content/uploads/2025/08/Sin-titulo-21.jpg');
}

.about-story-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.about-story-image {
    position: relative;
}

.about-story-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.about-story-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--color-accent-yellow);
    width: 140px;
    height: 140px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(245, 158, 11, 0.3);
    border: 8px solid var(--color-white);
}

.badge-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--color-primary-dark);
    line-height: 1;
}

.badge-label {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    color: var(--color-primary-dark);
    margin-top: 5px;
}

.about-story-content h2 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    color: var(--color-primary-dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.about-story-content p {
    font-size: 1.1rem;
    color: var(--color-text);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.about-stats-row {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.about-stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-primary-green);
    line-height: 1;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-light);
    text-transform: uppercase;
}

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

.value-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 3rem 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-10px);
    background: rgba(255,255,255,0.1);
}

.value-icon {
    width: 64px;
    height: 64px;
    background: var(--color-accent-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--color-primary-dark);
}

.value-icon svg {
    width: 30px;
    height: 30px;
}

.value-card h3 {
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.value-card p {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.about-cta-wrapper {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
    overflow: hidden;
    display: flex;
}

.about-cta-image {
    flex: 1;
    background-size: cover;
    background-position: center;
    min-height: 400px;
}

.about-cta-content {
    flex: 1;
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-cta-content h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--color-primary-dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.about-cta-content p {
    font-size: 1.1rem;
    color: var(--color-text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.about-cta-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

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

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

.about-certifications {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.cert-badge {
    background: #f8fafc;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-primary-green);
    border: 1px solid #e2e8f0;
}

/* ==========================================================================
   Travel Topics Page Styles
   ========================================================================== */
.topics-hero {
    background-image: url('/wp-content/uploads/2025/08/Sin-titulo-60.jpg');
}

.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
}

.topic-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.topic-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.topic-card-image {
    display: block;
    width: 100%;
    height: 240px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.topic-card-category {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--color-accent-yellow);
    color: var(--color-primary-dark);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 50px;
}

.topic-card-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.topic-card-meta {
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-bottom: 1rem;
}

.topic-card-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    line-height: 1.3;
    margin: 0 0 1rem 0;
}

.topic-card-title a {
    color: var(--color-primary-dark);
    text-decoration: none;
    transition: color 0.2s ease;
}

.topic-card-title a:hover {
    color: var(--color-primary-green);
}

.topic-card-excerpt {
    font-size: 0.95rem;
    color: var(--color-text);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.topic-read-more {
    display: inline-block;
    color: var(--color-primary-green);
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: color 0.2s ease;
}

.topic-read-more:hover {
    color: var(--color-primary-dark);
}

/* ==========================================================================
   Legal Default Page Styles
   ========================================================================== */
.legal-layout-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
    align-items: flex-start;
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.legal-sidebar {
    position: sticky;
    top: 100px;
    background: var(--color-white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

.legal-sidebar-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--color-primary-dark);
    margin: 0 0 1.5rem 0;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e2e8f0;
}

.legal-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.legal-nav a {
    display: block;
    color: var(--color-text-light);
    text-decoration: none;
    font-size: 0.95rem;
    line-height: 1.4;
    transition: all 0.2s ease;
    border-left: 2px solid transparent;
    padding-left: 10px;
}

.legal-nav a:hover,
.legal-nav a.active {
    color: var(--color-primary-green);
    border-left-color: var(--color-primary-green);
    font-weight: 600;
}

.default-page .page-content-wrapper {
    background: var(--color-white);
    padding: 3rem 4rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
}

.legal-content .entry-content h1,
.legal-content .entry-content h2,
.legal-content .entry-content h3 {
    font-family: var(--font-heading);
    color: var(--color-primary-dark);
    margin-top: 3rem;
    margin-bottom: 1.2rem;
}

.legal-content .entry-content h2:first-child {
    margin-top: 0;
}

.legal-content .entry-content h2 {
    font-size: 1.8rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.legal-content .entry-content h3 {
    font-size: 1.4rem;
}

.legal-content .entry-content p,
.legal-content .entry-content ul {
    font-size: 1.1rem;
    color: var(--color-text);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.legal-content .entry-content ul {
    padding-left: 1.5rem;
}

.legal-content .entry-content li {
    margin-bottom: 0.5rem;
}

/* Force Elementor content to behave inside our wrapper */
.legal-content .elementor-section.elementor-section-stretched {
    width: 100% !important;
    left: 0 !important;
}

.placeholder-text {
    font-style: italic;
    color: var(--color-text-light);
    text-align: center;
    padding: 3rem 0;
}

/* Responsive Overrides */
@media (max-width: 992px) {
    .legal-layout-grid {
        grid-template-columns: 1fr;
    }
    
    .legal-sidebar {
        position: relative;
        top: 0;
        margin-bottom: 2rem;
    }
    
    .contact-main-grid,
    .about-story-grid {
        grid-template-columns: 1fr;
    }
    
    .about-cta-wrapper {
        flex-direction: column;
    }
    
    .about-cta-image {
        min-height: 300px;
    }
}

@media (max-width: 768px) {
    .tura-form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper,
    .default-page .page-content-wrapper {
        padding: 2rem;
    }
    
    .about-story-badge {
        width: 100px;
        height: 100px;
        bottom: -10px;
        right: -10px;
        border-width: 5px;
    }
    
    .badge-number {
        font-size: 1.8rem;
    }
    
    .badge-label {
        font-size: 0.65rem;
    }
    
    .about-cta-content {
        padding: 2.5rem;
    }
    
    .about-cta-buttons {
        flex-direction: column;
    }
}

/* ==========================================================================
   NUCLEAR Z-INDEX OVERRIDES — Must be last in the file to beat all plugins
   ========================================================================== */
#site-navigation.is-active {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 280px !important;
    max-width: 85vw !important;
    height: 100vh !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
    z-index: 2147483647 !important; /* Maximum possible z-index */
    transform: translateX(0) !important;
    display: flex !important;
    flex-direction: column !important;
    overflow-y: auto !important;
    box-shadow: 5px 0 30px rgba(0,0,0,0.25) !important;
}

#offcanvas-overlay,
#offcanvas-overlay.is-active {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

