/* --- CHASKY MODERN PREMIUM WEBSITE --- */
:root {
    --bg-base: #F8FAF8;
    --bg-card: #ffffff;
    --bg-nav: #0F172A;
    --bg-glass: rgba(255, 255, 255, 0.92);
    --border-glass: rgba(15, 23, 42, 0.08);
    --border-glow: rgba(255, 107, 43, 0.2);

    --accent-primary:   #FF6B2B;
    --accent-secondary: #0A58CA;
    --accent-gold:      #F59E0B;
    --accent-emerald:   #10B981;
    --accent-purple:    #8B5CF6;
    --accent-rose:      #EF4444;
    --accent-blue:      #0A58CA;
    --accent-blue-light:    #eff6ff;
    --accent-emerald-light: #ecfdf5;
    --accent-purple-light:  #f3e8ff;
    --accent-orange-light:  #fff7ed;

    /* Abancay palette — used for card backgrounds/overlays */
    --ab-purple: #8B5CF6;
    --ab-blue:   #0A58CA;
    --ab-teal:   #06B6D4;
    --ab-green:  #10B981;
    --ab-gold:   #F59E0B;
    --ab-red:    #EF4444;
    --ab-orange: #FF6B2B;

    --text-primary:   #0F172A;
    --text-secondary: #334155;
    --text-muted:     #64748b;

    --shadow-glow:  0 0 25px rgba(255, 107, 43, 0.2);
    --shadow-card:  0 10px 30px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.03);
    --shadow-hover: 0 20px 45px rgba(255, 107, 43, 0.12), 0 1px 5px rgba(15, 23, 42, 0.04);

    --font-app: 'Outfit', sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- RESET & GENERAL --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-app);
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-base);
}

body {
    background-color: var(--bg-base);
    color: var(--text-primary);
    overflow-x: hidden;
    min-height: 100vh;
}

/* --- PERFORMANCE & HARDWARE ACCELERATION --- */
.web-header, .glass-panel, .btn, canvas, #soundwave-canvas {
    will-change: transform, opacity;
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* --- BACKGROUNDS & CANVAS --- */
.bg-gradient-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at 10% 15%, rgba(217, 26, 39, 0.02) 0%, transparent 45%),
                radial-gradient(circle at 85% 85%, rgba(197, 155, 39, 0.015) 0%, transparent 45%),
                #ffffff;
    z-index: -2;
}

.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
}
#particles-canvas {
    width: 100%;
    height: 100%;
}

/* --- CONTAINERS & LAYOUT --- */
.container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
}

.section-padding {
    padding: 90px 0;
}
.section-bg {
    background: #f8fafc;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.section-header-centered {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 55px;
}
.section-header-centered .sub-title {
    color: var(--accent-primary);
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 3px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 14px;
    background: linear-gradient(90deg, #FF6B23, #005BA4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.section-header-centered h2 {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 18px;
    line-height: 1.15;
    letter-spacing: -0.8px;
    color: #002850;
}
@media (min-width: 768px) {
    .section-header-centered h2 {
        font-size: 2.6rem;
    }
}
.section-header-centered p {
    color: #475569;
    font-size: 1rem;
    line-height: 1.65;
}
/* Accent underline for section headers */
.section-header-centered h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #FF6B23, #005BA4);
    border-radius: 2px;
    margin: 16px auto 0;
}

/* --- TOP INFO BAR --- HIDDEN --- */
.top-info-bar {
    display: none !important;
}

.web-layout {
    padding-top: 80px;
}

@media (min-width: 768px) {
    .web-layout {
        padding-top: 80px;
    }
}


/* --- WEB HEADER (NAVBAR) — Premium Navy Glass --- */
.web-header {
    position: fixed;
    top: 0 !important;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(0, 22, 50, 0.97) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 107, 35, 0.2);
    box-shadow: 0 4px 30px rgba(0, 10, 30, 0.4);
    transition: var(--transition-smooth);
}
.web-header.scrolled {
    background: rgba(0, 15, 40, 0.99) !important;
    box-shadow: 0 6px 40px rgba(0, 10, 30, 0.6);
    border-bottom: 1px solid rgba(255, 107, 35, 0.3);
}
.web-header.scrolled .nav-container {
    height: 68px !important;
}

/* Nav links: white, underline-slide on hover */
.web-header .nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 600 !important;
    font-size: 0.88rem !important;
    letter-spacing: 0.2px !important;
    position: relative !important;
    padding-bottom: 4px !important;
}
.web-header .nav-link::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 0 !important;
    height: 2px !important;
    background: #FF6B23 !important;
    border-radius: 1px !important;
    transition: width 0.3s ease !important;
}
.web-header .nav-link:hover {
    color: #ffffff !important;
    text-shadow: none !important;
}
.web-header .nav-link:hover::after,
.web-header .nav-link.active::after {
    width: 100% !important;
}
.web-header .nav-link.active {
    color: #ffffff !important;
    text-shadow: none !important;
}

/* Brand logo */
.web-header .brand h1 {
    color: #ffffff !important;
    background: none;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: initial;
}
.web-header .brand span {
    color: rgba(255, 255, 255, 0.6) !important;
}
.web-header .mobile-menu-toggle {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* CTA Buttons in navbar */

/* "Iniciar Sesión" — white ghost/outline pill */
.web-header .nav-link-login {
    color: rgba(255, 255, 255, 0.9) !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.35) !important;
    border-radius: 8px !important;
    padding: 7px 14px !important;
    font-size: 0.84rem !important;
    font-weight: 700 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    transition: all 0.22s ease !important;
    letter-spacing: 0.2px !important;
}
.web-header .nav-link-login:hover {
    background: rgba(255, 255, 255, 0.18) !important;
    border-color: rgba(255, 255, 255, 0.6) !important;
    color: #ffffff !important;
    transform: none !important;
}
.web-header .nav-link-login::after {
    display: none !important;
}

/* "Solicitar Traslado" — pure solid orange button */
.web-header .btn-primary {
    background: #FF6B2B !important;
    background-color: #FF6B2B !important;
    background-image: none !important;
    border: none !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    border-radius: 50px !important;
    padding: 10px 22px !important;
    font-size: 0.88rem !important;
    box-shadow: none !important;
    letter-spacing: 0.3px !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
}
.web-header .btn-primary:hover {
    background: #E85A1C !important;
    background-color: #E85A1C !important;
    background-image: none !important;
    transform: translateY(-2px) !important;
    box-shadow: none !important;
    color: #ffffff !important;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 78px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 40px;
    gap: 30px;
}
@media (max-width: 768px) {
    .nav-container {
        padding: 0 20px;
        height: 70px;
    }
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo-3d {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #FF6B23, #005BA4);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.25rem;
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 107, 35, 0.25);
}

.brand-text h1 {
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: 0.5px;
    line-height: 1;
    color: #ffffff;
    background: none;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: initial;
}

.brand-text span {
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.desktop-nav {
    display: none;
    align-items: center;
    gap: 22px;
    flex: 1;
    justify-content: flex-end;
}
@media (min-width: 1024px) {
    .desktop-nav {
        display: flex;
    }
}

/* Default nav-link (non-header pages) */
.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: var(--transition-smooth);
    position: relative;
}
.nav-link:hover, .nav-link.active {
    color: var(--accent-primary);
}

.mobile-menu-toggle {
    display: block;
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.9);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    padding: 4px;
}
.mobile-menu-toggle:hover {
    color: #FF6B23;
    transform: scale(1.1);
}
@media (min-width: 1024px) {
    .mobile-menu-toggle {
        display: none;
    }
}

/* Mobile nav: dark navy */
.mobile-nav {
    display: none;
    flex-direction: column;
    background: #001530;
    border-bottom: 2px solid rgba(255, 107, 35, 0.3);
    padding: 16px 20px 20px;
    gap: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}
.mobile-nav a {
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 11px 14px;
    border-radius: 8px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    border-left: 3px solid transparent;
}
.mobile-nav a:hover, .mobile-nav a.active {
    color: #ffffff !important;
    background: rgba(255, 107, 35, 0.12);
    border-left-color: #FF6B23;
}
.mobile-nav.active {
    display: flex;
}

/* --- HERO SECTION --- */
.hero-section {
    padding: 100px 0;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}
@media (min-width: 992px) {
    .hero-grid {
        grid-template-columns: 1.2fr 0.8fr;
        gap: 60px;
    }
}

.welcome-badge {
    background: rgba(0, 242, 254, 0.08);
    border: 1px solid rgba(0, 242, 254, 0.25);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 24px;
}

.hero-text h2 {
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}
@media (min-width: 768px) {
    .hero-text h2 {
        font-size: 3.5rem;
    }
}
.hero-text p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 35px;
    max-width: 600px;
}

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

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.quick-booking-teaser {
    width: 100%;
    max-width: 380px;
    padding: 40px 30px;
    text-align: center;
    background: linear-gradient(135deg, rgba(22, 31, 57, 0.6) 0%, rgba(13, 20, 38, 0.75) 100%);
    border-color: rgba(0, 242, 254, 0.2);
    box-shadow: 0 15px 35px rgba(0, 242, 254, 0.05), var(--shadow-card);
    transform: rotateX(5deg) rotateY(-5deg);
    transition: var(--transition-smooth);
}
.quick-booking-teaser:hover {
    transform: rotateX(0deg) rotateY(0deg) scale(1.02);
    border-color: var(--accent-primary);
}

.teaser-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(0, 242, 254, 0.1);
    color: var(--accent-primary);
    font-size: 1.6rem;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
}
.quick-booking-teaser h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.quick-booking-teaser p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* --- GLASS PANEL --- */
.glass-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    padding: 24px;
    box-shadow: var(--shadow-card);
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}
.text-glow {
    text-shadow: 0 0 10px rgba(0, 242, 254, 0.6);
}

/* --- BUTTONS --- */
.btn {
    padding: 12px 24px;
    border-radius: 14px;
    border: none;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
    text-decoration: none;
}
.btn-lg {
    padding: 15px 32px;
    font-size: 1rem;
}
.btn-sm {
    padding: 8px 16px;
    font-size: 0.8rem;
}
.btn-primary {
    background: #FF6B2B !important;
    background-color: #FF6B2B !important;
    background-image: none !important;
    color: #ffffff !important;
}
.btn-primary:hover {
    transform: translateY(-2px);
    background: #E85A1C !important;
    background-color: #E85A1C !important;
    box-shadow: 0 6px 20px rgba(255, 107, 43, 0.35) !important;
}
.btn-secondary {
    background: var(--accent-secondary) !important;
    color: #ffffff !important;
    border: 1px solid var(--accent-secondary) !important;
}
.btn-secondary:hover {
    background: #004b88 !important;
    border-color: #004b88 !important;
    color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(0, 91, 164, 0.25) !important;
}
.btn-success {
    background: linear-gradient(135deg, var(--accent-emerald), #02aab0);
    color: #060913;
}
.btn-success:hover {
    box-shadow: 0 6px 20px rgba(5, 213, 161, 0.4);
    transform: translateY(-2px);
}
.btn-danger {
    background: rgba(255, 42, 95, 0.15);
    color: var(--accent-rose);
    border: 1px solid rgba(255, 42, 95, 0.3);
}
.btn-danger:hover {
    background: rgba(255, 42, 95, 0.25);
}
.btn-outline {
    background: transparent;
    border: 1px solid var(--accent-primary);
    color: var(--accent-primary);
}
.btn-outline:hover {
    background: rgba(0, 242, 254, 0.05);
}
.btn-block {
    display: flex;
    width: 100%;
}
.btn-glow {
    box-shadow: 0 4px 15px rgba(0, 242, 254, 0.2);
}
.btn-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 10px;
}

/* --- SERVICES GRID --- */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
.service-card {
    padding: 45px 32px;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    background: #ffffff;
    border: 1px solid rgba(37, 99, 235, 0.06);
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.03);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    transition: var(--transition-smooth);
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(37, 99, 235, 0.08);
    border-color: rgba(37, 99, 235, 0.15);
}
.service-card:hover::before {
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-gold));
}
.service-card:hover .service-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.2);
}
.service-icon-wrapper {
    width: 68px;
    height: 68px;
    border-radius: 22px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 26px;
    font-size: 1.7rem;
    color: #ffffff;
    transition: var(--transition-smooth);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}
.service-icon-wrapper.secure { 
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%); 
}
.service-icon-wrapper.express { 
    background: linear-gradient(135deg, var(--accent-secondary) 0%, var(--accent-gold) 100%); 
}
.service-icon-wrapper.tourist { 
    background: linear-gradient(135deg, #10b981 0%, var(--accent-gold) 100%); 
}
.service-icon-wrapper.delivery { 
    background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-primary) 100%); 
}

.service-card h3 {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text-primary);
}
.service-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 22px;
}
.service-action {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--accent-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    transition: var(--transition-smooth);
}
.service-card:hover .service-action {
    gap: 10px;
    color: var(--accent-secondary);
}

/* --- ABOUT US DETAILS FEATURE CARD --- */
.nosotros-feature-card {
    background: #ffffff;
    border: 1px solid rgba(37, 99, 235, 0.05);
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.02);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    text-align: left;
}
.nosotros-feature-card:hover {
    border-color: rgba(14, 165, 233, 0.25);
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.05);
}

/* --- SEARCH & FILTER PANEL --- */
.search-filter-panel {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 24px;
    margin-bottom: 45px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.04);
    transition: var(--transition-smooth);
}
.search-filter-panel:hover {
    box-shadow: 0 15px 45px rgba(15, 23, 42, 0.06);
    border-color: rgba(217, 26, 39, 0.15);
}
@media (min-width: 768px) {
    .search-filter-panel {
        flex-direction: row;
        align-items: center;
    }
}
.search-box-wrapper {
    position: relative;
    flex: 1;
}
.search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-primary);
    font-size: 1.15rem;
    transition: var(--transition-smooth);
}
.search-box-wrapper .form-control {
    padding-left: 54px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}
.search-box-wrapper .form-control:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 4px rgba(217, 26, 39, 0.08);
}
.filter-dropdown-wrapper {
    min-width: 240px;
}
.filter-dropdown-wrapper .form-control {
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}
.filter-dropdown-wrapper .form-control:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 4px rgba(217, 26, 39, 0.08);
}

/* --- TOURISM GRID & DETAILED CARD --- */
.places-grid-web {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
}
@media (min-width: 768px) {
    .places-grid-web {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 992px) {
    .places-grid-web {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (min-width: 1200px) {
    .places-grid-web.grid-6 {
        grid-template-columns: repeat(6, 1fr) !important;
        gap: 16px !important;
    }
}

/* --- PROFESSIONAL GALLERY CARD FOR TOURIST PLACES --- */
.place-card-detailed {
    position: relative;
    height: 380px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #0f172a;
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.place-card-detailed .place-img-holder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.place-card-detailed .place-img-holder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

/* Dark gradient overlay covering the image */
.place-card-detailed::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.4) 50%, transparent 100%);
    z-index: 2;
    transition: var(--transition-smooth);
}

/* Hover scales image and darkens overlay */
.place-card-detailed:hover::after {
    background: linear-gradient(to top, rgba(15, 23, 42, 0.98) 0%, rgba(15, 23, 42, 0.6) 60%, rgba(15, 23, 42, 0.1) 100%);
}

.place-card-detailed:hover .place-img-holder img {
    transform: scale(1.08);
}

.place-card-detailed .place-badge-distrito {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(37, 99, 235, 0.85); /* Blue brand theme */
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.5px;
    z-index: 3;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Info container overlay absolute on top of image */
.place-card-detailed .place-info-holder {
    position: relative;
    z-index: 3;
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    width: 100%;
    transform: translateY(20px); /* Hide actions initially */
    transition: var(--transition-smooth);
}

.place-card-detailed:hover .place-info-holder {
    transform: translateY(0); /* Slide up on hover to reveal actions */
}

.place-card-detailed .place-info-holder h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    letter-spacing: -0.2px;
    line-height: 1.2;
}

.place-card-detailed .place-info-holder p {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 0 !important;
    overflow: hidden !important;
}

.place-card-detailed:hover .place-info-holder p {
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    height: auto !important;
    opacity: 1 !important;
    margin-top: 6px !important;
    margin-bottom: 4px !important;
}

.place-card-detailed .place-meta-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 15px;
    opacity: 0;
    transition: var(--transition-smooth);
}

.place-card-detailed:hover .place-meta-footer {
    opacity: 1; /* Fade in buttons on hover */
}

.place-card-detailed .place-meta-footer .btn {
    border-radius: 6px;
    font-size: 0.72rem;
    padding: 8px 14px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
}

.place-card-detailed .place-meta-footer .btn-secondary {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
}

.place-card-detailed .place-meta-footer .btn-secondary:hover {
    background: #ffffff !important;
    color: #0f172a !important;
}

.place-card-detailed .place-meta-footer .btn-primary {
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-emerald) 100%) !important;
    border: none !important;
    color: #ffffff !important;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.2) !important;
}

.place-card-detailed .place-meta-footer .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(5, 150, 105, 0.3) !important;
}

/* Specific styling overrides for 6-column grid in desktop */
@media (min-width: 1200px) {
    .places-grid-web.grid-6 {
        grid-template-columns: repeat(6, 1fr) !important;
        gap: 16px !important;
    }
    
    .places-grid-web.grid-6 .place-card-detailed {
        height: 330px !important;
        border-radius: 12px !important;
    }
    
    .places-grid-web.grid-6 .place-card-detailed .place-badge-distrito {
        font-size: 0.75rem !important;
        padding: 4px 8px !important;
        top: 10px !important;
        left: 10px !important;
        border-radius: 4px !important;
    }
    
    .places-grid-web.grid-6 .place-card-detailed .place-info-holder {
        padding: 15px 12px !important;
        transform: translateY(20px) !important;
    }
    
    .places-grid-web.grid-6 .place-card-detailed:hover .place-info-holder {
        transform: translateY(0) !important;
    }
    
    .places-grid-web.grid-6 .place-card-detailed .place-info-holder h3 {
        font-size: 1.05rem !important;
        margin-bottom: 5px !important;
    }
    
    .places-grid-web.grid-6 .place-card-detailed .place-info-holder p {
        font-size: 0.85rem !important;
        line-height: 1.45 !important;
        margin-bottom: 12px !important;
        -webkit-line-clamp: 2 !important;
    }
    
    .places-grid-web.grid-6 .place-card-detailed .place-meta-footer {
        padding-top: 10px !important;
        gap: 4px !important;
    }
    
    .places-grid-web.grid-6 .place-card-detailed .place-meta-footer .btn {
        padding: 6px 8px !important;
        font-size: 0.65rem !important;
        border-radius: 4px !important;
        gap: 3px !important;
        flex: 1;
        justify-content: center;
    }
}

/* Expanded Place Meta Specs */
.place-specs {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 15px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.spec-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    line-height: 1.4;
}
.spec-row span {
    color: var(--text-muted);
    font-weight: 600;
}
.spec-row strong {
    color: var(--text-primary);
    text-align: right;
    max-width: 60%;
}

.place-meta-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-glass);
    padding-top: 16px;
    margin-top: auto;
}
.place-price-info span {
    font-size: 0.65rem;
    color: var(--text-muted);
    display: block;
    text-transform: uppercase;
    font-weight: 700;
}
.place-price-info strong {
    font-size: 1.15rem;
    color: var(--accent-emerald);
    text-shadow: 0 0 10px rgba(5, 213, 161, 0.2);
}

/* --- DRIVERS SECTION --- */
.drivers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 24px;
}
.driver-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    padding: 24px;
    text-align: center;
    transition: var(--transition-smooth);
}
.driver-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}
.driver-avatar-wrapper {
    position: relative;
    width: 90px;
    height: 90px;
    margin: 0 auto 16px;
}
.driver-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-primary);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.25);
}
.driver-status-dot {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent-emerald);
    border: 2px solid #0f172a;
    box-shadow: 0 0 8px var(--accent-emerald);
}
.driver-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
}
.driver-rating {
    color: var(--accent-gold);
    font-size: 0.8rem;
    margin-bottom: 12px;
}
.driver-rating i {
    margin-right: 2px;
}
.driver-vehicle {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 8px 12px;
    margin-bottom: 18px;
    font-size: 0.75rem;
    color: var(--text-secondary);
}
.driver-vehicle span {
    font-weight: 700;
    color: #fff;
    margin-left: 5px;
}

/* --- WIZARD FORM --- */
.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: var(--shadow-card);
}

.wizard-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px 0 25px;
    padding: 0 10px;
}
.step-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
}
.step-dot.active {
    background: var(--accent-primary);
    color: #ffffff;
    border-color: var(--accent-primary);
    box-shadow: 0 0 12px rgba(217, 26, 39, 0.25);
}
.step-line {
    flex: 1;
    height: 2px;
    background: #e2e8f0;
    margin: 0 10px;
}

.form-step {
    display: none;
}
.form-step.active {
    display: block;
    animation: fadeIn 0.4s ease-out;
}

.form-group {
    margin-bottom: 20px;
}
.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.service-select-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 25px;
}
.service-option {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 15px 10px;
    text-align: center;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
}
.service-option i {
    font-size: 1.3rem;
    color: var(--text-secondary);
}
.service-option span {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-primary);
}
.service-option.active {
    border-color: var(--accent-primary);
    background: rgba(217, 26, 39, 0.05);
    box-shadow: 0 4px 15px rgba(217, 26, 39, 0.15);
}
.service-option.active i {
    color: var(--accent-primary);
}
.service-option.active span {
    color: var(--accent-primary);
}

.input-icon-wrapper {
    position: relative;
}
.input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-size: 0.95rem;
}
.form-control, input, select, textarea {
    box-sizing: border-box !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 0.92rem !important;
    line-height: 1.5 !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    height: auto !important;
    min-height: 48px !important;
    vertical-align: middle !important;
}

.form-control {
    width: 100%;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    padding-left: 44px;
    border-radius: 14px;
    color: var(--text-primary);
    transition: var(--transition-smooth);
}
.form-control::placeholder {
    color: var(--text-muted);
}
.form-control:focus {
    background: #ffffff;
    border-color: var(--accent-primary);
    outline: none;
    box-shadow: 0 0 0 4px rgba(217, 26, 39, 0.08);
}
select.form-control, select {
    padding-left: 16px !important;
    padding-right: 36px !important;
    line-height: 1.5 !important;
    height: auto !important;
    min-height: 48px !important;
}

.tariff-preview {
    padding: 16px 20px;
    text-align: center;
    margin: 25px 0;
    border-color: rgba(5, 213, 161, 0.15);
    background: rgba(5, 213, 161, 0.03);
}
.tariff-header {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-bottom: 5px;
}
.tariff-amount {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent-emerald);
}

.summary-box {
    padding: 16px 20px;
    margin-bottom: 25px;
}
.summary-box h4 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 14px;
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 8px;
}
.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.85rem;
}
.summary-item span {
    color: var(--text-secondary);
}
.summary-item strong {
    color: var(--text-primary);
}

/* --- FLOATING TRIP BADGE --- */
.floating-trip-badge {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, rgba(22, 31, 57, 0.85) 0%, rgba(9, 13, 26, 0.95) 100%);
    border: 1px solid var(--accent-emerald);
    padding: 14px 24px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(5, 213, 161, 0.25);
    z-index: 90;
    animation: bounceBadge 2s infinite alternate;
}
.pulse-indicator {
    width: 10px;
    height: 10px;
    background-color: var(--accent-emerald);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-emerald);
    animation: pulseGlow 1.5s infinite;
}
.floating-trip-badge span {
    font-size: 0.85rem;
    font-weight: 700;
}

/* --- TRIP MODAL POPUP --- */
.trip-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(4, 6, 15, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 200;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
}
.trip-modal-overlay.active {
    display: flex;
}
.trip-modal-content {
    width: 100%;
    max-width: 500px;
    background: #080c16;
    border-color: var(--border-glass);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7);
    animation: modalSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.trip-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 12px;
}
.trip-modal-header h3 {
    font-size: 1.25rem;
    font-weight: 800;
}
.modal-close {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1.3rem;
    cursor: pointer;
}

/* --- 3D MAP MOCKUP --- */
.map-view-mock {
    height: 180px;
    background: #080c16;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-glass);
    margin-bottom: 20px;
}
.map-grid {
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background-image: linear-gradient(rgba(0, 242, 254, 0.03) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(0, 242, 254, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
    transform: perspective(150px) rotateX(45deg);
    animation: gridScroll 10s linear infinite;
}
.car-3d-model {
    position: absolute;
    font-size: 1.6rem;
    color: var(--accent-primary);
    top: 50%;
    left: 45%;
    transform: translate(-50%, -50%);
    text-shadow: 0 0 12px var(--accent-primary);
    animation: carBounce 0.4s ease-in-out infinite alternate;
}
.map-marker {
    position: absolute;
    font-size: 1rem;
}
.map-marker.origin { color: var(--accent-secondary); top: 25%; left: 20%; }
.map-marker.destination { color: var(--accent-rose); top: 70%; left: 80%; }

.trip-details label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    display: block;
    margin-bottom: 4px;
}
.trip-details span {
    font-size: 0.95rem;
    font-weight: 700;
}
.detail-col { display: flex; flex-direction: column; }
.detail-row { display: flex; justify-content: space-between; }
.text-right { text-align: right; }
.divider {
    border: none;
    height: 1px;
    background: var(--border-glass);
    margin: 15px 0;
}

.route-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.route-step {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.route-step p {
    font-size: 0.85rem;
    color: var(--text-primary);
    font-weight: 500;
}
.origin-dot { color: var(--accent-secondary); }
.dest-dot { color: var(--accent-rose); }

/* --- TIMELINE --- */
.status-timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 20px;
}
.timeline-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
    z-index: 2;
}
.step-marker {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.7rem;
    color: var(--text-muted);
}
.timeline-step.done .step-marker {
    background: var(--accent-emerald);
    color: #060913;
    border-color: var(--accent-emerald);
    box-shadow: 0 0 8px var(--accent-emerald);
}
.timeline-step span {
    font-size: 0.65rem;
    color: var(--text-muted);
    font-weight: 600;
    text-align: center;
}
.timeline-step.done span {
    color: var(--text-primary);
}
.status-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 25px;
}

/* --- FOOTER --- */
.web-footer {
    border-top: 3px solid #FF6B23 !important; /* Orange accent line */
    padding: 80px 0 40px;
    background: #002850 !important; /* Deep corporate navy blue */
    color: rgba(241, 245, 249, 0.85);
    position: relative;
    overflow: hidden;
}
.web-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    width: 60%;
    height: 120px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, rgba(37, 99, 235, 0) 70%);
    pointer-events: none;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}
@media (min-width: 992px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
        gap: 40px;
    }
}
.footer-col h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.footer-col p {
    font-size: 0.88rem;
    line-height: 1.6;
    color: #cbd5e1;
}
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.88rem;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 6px;
}
.footer-links a:hover {
    color: var(--accent-primary);
    padding-left: 6px;
}
.footer-contact-item {
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 0.88rem;
    color: #cbd5e1;
    margin-bottom: 12px;
}
.footer-contact-item i {
    color: var(--accent-primary);
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    text-align: center;
    font-size: 0.8rem;
    color: #94a3b8;
}

/* --- PACKAGES SYSTEM --- */
.packages-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}
@media (min-width: 992px) {
    .packages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
.package-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}
.package-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}
.package-img {
    height: 220px;
    width: 100%;
    position: relative;
}
.package-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.package-badge-price {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(5, 213, 161, 0.9);
    color: #060913;
    padding: 8px 16px;
    border-radius: 30px;
    font-weight: 800;
    font-size: 1rem;
    box-shadow: 0 5px 15px rgba(5, 213, 161, 0.4);
}
.package-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex: 1;
}
.package-info h3 {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.3px;
}
.package-info p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}
.package-itinerary {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 15px;
}
.package-itinerary h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--accent-primary);
    margin-bottom: 8px;
}
.package-itinerary ol {
    padding-left: 15px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.4;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.package-restaurants {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.4;
}
.package-restaurants span {
    font-weight: 700;
    color: var(--accent-gold);
    display: block;
    margin-bottom: 4px;
}

/* --- ABOUT US (NOSOTROS) SECTION --- */
.nosotros-section {
    background: linear-gradient(135deg, rgba(240, 253, 244, 0.8) 0%, rgba(239, 246, 255, 0.8) 100%);
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}
.nosotros-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    align-items: center;
}
@media (min-width: 992px) {
    .nosotros-grid {
        grid-template-columns: 1.1fr 0.9fr;
        gap: 60px;
    }
}
.nosotros-content-box {
    display: flex;
    flex-direction: column;
    gap: 18px;
    text-align: left;
}
.nosotros-content-box h2 {
    font-size: 2.1rem;
    font-weight: 900;
    line-height: 1.25;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}
@media (min-width: 768px) {
    .nosotros-content-box h2 {
        font-size: 2.6rem;
    }
}
.nosotros-content-box .lead-text {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text-secondary);
    font-weight: 500;
}
.nosotros-content-box .body-text {
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--text-muted);
}
.nosotros-values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 25px;
}
@media (min-width: 576px) {
    .nosotros-values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}
.value-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}
.value-item i {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.15rem;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}
.value-item h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}
.value-item p {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin: 0;
}
.nosotros-visual-box {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}
.visual-wrapper {
    position: relative;
    width: 100%;
    max-width: 420px;
    padding: 10px 10px 10px 0;
}
.main-visual-img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 28px;
    border: 4px solid #ffffff;
    box-shadow: 0 20px 45px rgba(37, 99, 235, 0.08);
    transition: var(--transition-smooth);
}
.visual-wrapper:hover .main-visual-img {
    transform: scale(1.02);
    box-shadow: 0 25px 50px rgba(37, 99, 235, 0.12);
}
.floating-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1.5px solid rgba(255, 255, 255, 0.6);
    border-radius: 16px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    z-index: 5;
    transition: var(--transition-smooth);
}
.floating-badge:hover {
    transform: translateY(-2px);
    background: #ffffff;
}
.floating-badge i {
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.floating-badge span {
    display: block;
    font-size: 0.68rem;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.floating-badge strong {
    display: block;
    font-size: 0.85rem;
    color: var(--text-primary);
    font-weight: 800;
}
.badge-top-left {
    top: 40px;
    left: -25px;
}
.badge-top-left i {
    color: var(--accent-blue);
}
.badge-bottom-right {
    bottom: 40px;
    right: -15px;
}
.badge-bottom-right i {
    color: var(--accent-emerald);
}
.stat-circle {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-emerald) 100%);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 4px solid #ffffff;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.2);
    z-index: 6;
    animation: bounceBadge 2s infinite alternate;
}
.stat-circle .number {
    font-size: 1.3rem;
    font-weight: 900;
    line-height: 1;
}
.stat-circle .label {
    font-size: 0.52rem;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    line-height: 1.1;
    margin-top: 2px;
    padding: 0 8px;
}
@media (max-width: 768px) {
    .badge-top-left {
        left: 10px;
    }
    .badge-bottom-right {
        right: 10px;
    }
    .stat-circle {
        top: -10px;
        right: 10px;
    }
}


/* --- DISTRICTS SECTION --- */
.districts-grid-web {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
@media (min-width: 768px) {
    .districts-grid-web {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 992px) {
    .districts-grid-web {
        grid-template-columns: repeat(4, 1fr);
    }
}
.district-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}
.district-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}
.district-img-holder {
    height: 140px;
    width: 100%;
    position: relative;
}
.district-img-holder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.district-province-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(4, 6, 15, 0.9);
    border: 1px solid var(--border-glass);
    padding: 4px 10px;
    border-radius: 10px;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--accent-primary);
}
.district-card-info {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 10px;
}
.district-card-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
}
.district-card-info p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.4;
    flex: 1;
}

/* --- DETAILS SUBPAGES --- */
.detail-container {
    width: 100%;
    max-width: 800px;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(20px);
    margin: 40px auto;
}
.detail-img {
    height: 350px;
    width: 100%;
    position: relative;
}
.detail-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.back-nav {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
}
.detail-body {
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}
.detail-body h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-top: 20px;
    margin-bottom: 15px;
}
.detail-body h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 35px;
    margin-bottom: 15px;
}
.detail-body h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 25px;
    margin-bottom: 10px;
}
.detail-body p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 22px;
}
.detail-body ul, .detail-body ol {
    margin-bottom: 22px;
    padding-left: 20px;
}
.detail-body li {
    margin-bottom: 10px;
    line-height: 1.7;
    color: var(--text-secondary);
}
.detail-body a {
    color: var(--accent-primary);
    text-decoration: underline;
}
.badge-info-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}
.detail-body .badge {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}
.detail-body .badge i {
    color: var(--accent-gold);
    margin-right: 5px;
}
.booking-callout {
    background: rgba(0, 242, 254, 0.03);
    border: 1px solid rgba(0, 242, 254, 0.15);
    padding: 25px;
    border-radius: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}
.route-map-visual {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 20px;
    margin-top: 10px;
}
.route-step {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}
.route-step:last-child {
    margin-bottom: 0;
}
.step-circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--accent-primary);
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.75rem;
}

/* --- HERO FULL SCREEN SLIDER --- */
/* --- HERO FULL SCREEN SLIDER --- */
.hero-slider-section {
    position: relative;
    height: 85vh;
    min-height: 500px;
    width: 100%;
    overflow: hidden;
    background: #0f172a;
}
.slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}
.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    z-index: 1;
    transition: transform 7s ease-out !important;
    transform: scale(1);
}

.hero-slide.active .hero-slide-bg {
    transform: scale(1.08);
}
.hero-slide.active {
    opacity: 1;
    z-index: 2;
}
.slide-content {
    z-index: 3;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 850px;
    margin: 0 auto;
    padding: 60px 24px;
}
@keyframes heroTextIn {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}
.hero-slide.active .slide-content h2 {
    animation: heroTextIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-slide.active .slide-content p {
    animation: heroTextIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.12s forwards;
}
.hero-slide.active .slide-ctas {
    animation: heroTextIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.24s forwards;
}
.slide-content h2 {
    font-size: 2.6rem;
    font-weight: 900;
    margin-bottom: 20px;
    letter-spacing: -1px;
    line-height: 1.15;
    opacity: 0;
    color: #ffffff;
}
@media (min-width: 768px) {
    .slide-content h2 {
        font-size: 4.2rem;
        white-space: nowrap;
    }
}
.slide-content p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 35px;
    max-width: 650px;
    line-height: 1.6;
    opacity: 0;
}
@media (min-width: 768px) {
    .slide-content p {
        font-size: 1.15rem;
    }
}
.slide-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(37, 99, 235, 0.35);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1.5px solid rgba(255, 210, 0, 0.45);
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--accent-gold);
    margin-bottom: 22px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}
.slide-ctas {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
    opacity: 0;
}
.slide-ctas .btn-primary {
    background: linear-gradient(135deg, var(--accent-gold) 0%, #ffa600 100%) !important;
    color: #0f172a !important;
    border: none !important;
    font-weight: 800 !important;
    box-shadow: 0 8px 22px rgba(255, 210, 0, 0.32) !important;
}
.slide-ctas .btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 28px rgba(255, 210, 0, 0.5) !important;
}
.slide-ctas .btn-secondary {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.slide-ctas .btn-secondary:hover {
    background: #ffffff !important;
    color: #0f172a !important;
    border-color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.15) !important;
}
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.45) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    color: #fff;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    z-index: 10;
}
.slider-arrow:hover {
    background: #006AA7 !important;
    border-color: #006AA7 !important;
    color: #fff;
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 8px 20px rgba(0, 106, 167, 0.4);
}
.slider-arrow.prev { left: 20px; }
.slider-arrow.next { right: 20px; }

.slider-dots {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}
.slider-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: all 0.3s ease;
}
.slider-dots .dot.active {
    background: #006AA7 !important;
    width: 32px;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .hero-slider-section {
        height: 85vh;
    }
    .slider-arrow {
        display: none;
    }
    .slider-dots {
        bottom: 140px;
    }
}

/* --- ANIMATIONS --- */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes gridScroll {
    0% { background-position: 0 0; }
    100% { background-position: 0 240px; }
}
@keyframes carBounce {
    from { transform: translate(-50%, -50%) translateY(0); }
    to { transform: translate(-50%, -50%) translateY(-3px); }
}
@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(5, 213, 161, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(5, 213, 161, 0); }
    100% { box-shadow: 0 0 0 0 rgba(5, 213, 161, 0); }
}
@keyframes bounceBadge {
    from { transform: translateY(0); }
    to { transform: translateY(-5px); }
}
@keyframes modalSlideUp {
    from { opacity: 0; transform: translateY(30px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* --- DETAIL MODAL SYSTEM --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(3, 5, 12, 0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}
.modal-content {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 28px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 0;
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.15), 
                0 0 1px rgba(0, 0, 0, 0.1);
    transform: scale(0.95) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}
.modal-overlay.active .modal-content {
    transform: scale(1) translateY(0);
}
.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    color: #111827;
    font-size: 1.25rem;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.25s ease;
}
.modal-close-btn:hover {
    background: rgba(217, 26, 39, 0.1);
    border-color: rgba(217, 26, 39, 0.2);
    color: var(--accent-primary);
    transform: rotate(90deg);
}

/* Modal Internal Layout */
.modal-hero-img-wrapper {
    width: 100%;
    height: 320px;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.modal-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.modal-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 100%);
}
.modal-hero-title {
    position: absolute;
    bottom: 25px;
    left: 30px;
    right: 30px;
    color: #fff;
    font-size: 1.8rem;
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    line-height: 1.2;
}
.modal-body-content {
    padding: 30px;
}
.modal-info-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 25px;
}
.modal-badge {
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.78rem;
    color: var(--text-secondary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.modal-badge i {
    color: var(--accent-primary);
}
.modal-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 30px;
}
.modal-description h2, .modal-description h3, .modal-description h4 {
    color: var(--text-primary);
    font-weight: 800;
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 1.2rem;
}
.modal-description p {
    margin-bottom: 12px;
}
.modal-description ul {
    margin-left: 20px;
    margin-bottom: 15px;
}
.modal-description li {
    margin-bottom: 6px;
}
.modal-route-visual {
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 30px;
}
.modal-route-visual h3 {
    font-size: 0.95rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.5px;
}
.modal-route-visual h3 i {
    color: var(--accent-primary);
}
.modal-route-steps {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.modal-route-step {
    display: flex;
    align-items: center;
    gap: 12px;
}
.modal-step-circle {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: #fff;
    font-weight: 800;
    font-size: 0.8rem;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(217, 26, 39, 0.2);
}
.modal-step-text {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-primary);
}
.modal-action-box {
    background: rgba(217, 26, 39, 0.03);
    border: 1px solid rgba(217, 26, 39, 0.1);
    border-radius: 20px;
    padding: 28px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.modal-action-box h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 4px;
}
.modal-action-box p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    max-width: 500px;
    line-height: 1.5;
}
.modal-action-box .btn {
    margin-top: 8px;
}

/* --- HEADER SIMPLE SEARCH BOX --- */
.header-search-box {
    position: relative;
    display: flex;
    align-items: center;
    width: 270px; /* Wider search box! */
    margin: 0 10px;
}
.header-search-box input {
    width: 100%;
    height: 36px;
    background: rgba(255, 255, 255, 0.18) !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    border-radius: 8px !important;
    padding: 0 10px 0 34px !important;
    font-size: 0.85rem !important;
    color: #ffffff !important;
    transition: var(--transition-smooth) !important;
}
.header-search-box input:focus {
    background: rgba(255, 255, 255, 0.28) !important;
    border-color: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.12) !important;
    outline: none !important;
}
.header-search-box input::placeholder {
    color: rgba(255, 255, 255, 0.8) !important;
}
.header-search-box .search-icon {
    position: absolute;
    left: 12px;
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 0.85rem;
    pointer-events: none;
}
.mobile-search-box {
    width: 100%;
    margin: 0 0 15px 0;
}

/* --- BRAND LOGIN & BUTTON CTAs --- */
.nav-link-login {
    color: #ffffff !important;
    font-weight: 700 !important;
    border: 1.5px solid rgba(255, 255, 255, 0.45) !important;
    padding: 8px 16px !important;
    border-radius: 12px !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-smooth);
    background: transparent;
}
.nav-link-login:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: #ffffff !important;
    color: #ffffff !important;
    transform: translateY(-2px);
}
.nav-link-login.active {
    background: #002850 !important;
    color: #ffffff !important;
    border-color: #002850 !important;
}

.desktop-nav .btn-primary {
    background: #002850 !important; /* Deep navy */
    color: #ffffff !important;
    border: none !important;
    font-weight: 800 !important;
    padding: 10px 22px !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 15px rgba(0, 40, 80, 0.2) !important;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.desktop-nav .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 40, 80, 0.35) !important;
    background: #001a35 !important;
}

/* --- UNIFIED CHASKY DASHBOARD --- */
#chasky-dashboard {
    background: linear-gradient(135deg, rgba(240, 253, 244, 0.9) 0%, rgba(240, 249, 255, 0.9) 50%, rgba(250, 245, 255, 0.9) 100%),
                radial-gradient(circle at 10% 20%, rgba(5, 150, 105, 0.05) 0%, transparent 40%),
                radial-gradient(circle at 90% 80%, rgba(37, 99, 235, 0.05) 0%, transparent 40%);
    position: relative;
    border-top: 1px solid rgba(15, 23, 42, 0.03);
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}
.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: stretch;
}
@media (min-width: 992px) {
    .dashboard-grid {
        grid-template-columns: 1fr 1.35fr;
        gap: 35px;
    }
}
.dashboard-card {
    background: #ffffff;
    border: 1px solid rgba(37, 99, 235, 0.08);
    border-radius: 16px;
    padding: 35px 30px;
    box-shadow: 0 15px 45px rgba(37, 99, 235, 0.02);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
}
.dashboard-card:hover {
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.05);
    border-color: rgba(37, 99, 235, 0.12);
}
.dashboard-feature-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 25px;
}
.nosotros-feature-card-compact {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: #ffffff;
    border: 1px solid rgba(37, 99, 235, 0.05);
    padding: 16px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.01);
    transition: var(--transition-smooth);
}
.nosotros-feature-card-compact:hover {
    transform: translateY(-2px);
    border-color: rgba(14, 165, 233, 0.2);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.04);
}
.nosotros-feature-card-compact i {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: rgba(37, 99, 235, 0.06);
    color: var(--accent-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.05rem;
    flex-shrink: 0;
}
.nosotros-feature-card-compact h4 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-primary);
}
.nosotros-feature-card-compact p {
    font-size: 0.76rem;
    color: var(--text-muted);
    line-height: 1.35;
    margin: 0;
}

/* Dashboard Service Button Selectors */
.dashboard-services-select-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 22px;
}
.dashboard-service-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 12px;
    background: #ffffff;
    border: 1.5px solid rgba(37, 99, 235, 0.06);
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-align: center;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.01);
}
.dashboard-service-btn i {
    font-size: 1.25rem;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
}
.dashboard-service-btn span {
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-primary);
    transition: var(--transition-smooth);
}
.dashboard-service-btn:hover {
    border-color: rgba(37, 99, 235, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(37, 99, 235, 0.03);
}

/* Service Button Active Specific Styles */
#srv-btn-seguro.active {
    border-color: var(--accent-blue) !important;
    background: var(--accent-blue-light) !important;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.08) !important;
}
#srv-btn-seguro.active i {
    color: var(--accent-blue) !important;
    transform: scale(1.1);
}
#srv-btn-seguro.active span {
    color: var(--accent-blue) !important;
}

#srv-btn-express.active {
    border-color: var(--accent-primary) !important;
    background: var(--accent-purple-light) !important;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.08) !important;
}
#srv-btn-express.active i {
    color: var(--accent-primary) !important;
    transform: scale(1.1);
}
#srv-btn-express.active span {
    color: var(--accent-primary) !important;
}

#srv-btn-turistico.active {
    border-color: var(--accent-emerald) !important;
    background: var(--accent-emerald-light) !important;
    box-shadow: 0 10px 20px rgba(5, 150, 105, 0.08) !important;
}
#srv-btn-turistico.active i {
    color: var(--accent-emerald) !important;
    transform: scale(1.1);
}
#srv-btn-turistico.active span {
    color: var(--accent-emerald) !important;
}

#srv-btn-delivery.active {
    border-color: var(--accent-purple) !important;
    background: var(--accent-purple-light) !important;
    box-shadow: 0 10px 20px rgba(139, 92, 246, 0.12) !important;
}
#srv-btn-delivery.active i {
    color: var(--accent-purple) !important;
    transform: scale(1.1);
}
#srv-btn-delivery.active span {
    color: var(--accent-purple) !important;
}

/* --- PROFESSIONAL BOOKING WIZARD STYLING --- */
.dashboard-col-reservas .form-control {
    background: #f8fafc !important;
    border: 1.5px solid rgba(37, 99, 235, 0.08) !important;
    border-radius: 8px !important;
    padding: 12px 16px !important;
    font-size: 0.85rem !important;
    color: var(--text-primary) !important;
    transition: var(--transition-smooth) !important;
}
.dashboard-col-reservas .form-control:focus {
    background: #ffffff !important;
    border-color: var(--accent-blue) !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12) !important;
}
.dashboard-col-reservas .btn-primary {
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-emerald) 100%) !important;
    border: none !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    font-size: 0.85rem !important;
    border-radius: 8px !important;
    padding: 12px 20px !important;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.15) !important;
    transition: var(--transition-smooth) !important;
}
.dashboard-col-reservas .btn-primary:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(5, 150, 105, 0.28) !important;
    filter: brightness(1.05) !important;
}
.dashboard-col-reservas .btn-secondary {
    background: #ffffff !important;
    border: 1.5px solid rgba(37, 99, 235, 0.12) !important;
    color: var(--accent-primary) !important;
    font-weight: 700 !important;
    font-size: 0.82rem !important;
    border-radius: 8px !important;
    padding: 12px 20px !important;
    transition: var(--transition-smooth) !important;
}
.dashboard-col-reservas .btn-secondary:hover {
    background: rgba(37, 99, 235, 0.03) !important;
    border-color: var(--accent-primary) !important;
}

/* step dots and line overrides */
.dashboard-col-reservas .step-dot {
    background: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
    color: var(--text-muted) !important;
    box-shadow: none !important;
}
.dashboard-col-reservas .step-dot.active {
    background: var(--accent-blue) !important;
    border-color: var(--accent-blue) !important;
    color: #ffffff !important;
    box-shadow: 0 0 10px rgba(37, 99, 235, 0.25) !important;
}
.dashboard-col-reservas .step-dot[data-step="3"].active {
    background: var(--accent-emerald) !important;
    border-color: var(--accent-emerald) !important;
    box-shadow: 0 0 10px rgba(5, 150, 105, 0.25) !important;
}
.dashboard-col-reservas .step-line {
    background: #e2e8f0 !important;
    height: 2.5px !important;
}
.dashboard-col-reservas .step-line.active {
    background: linear-gradient(to right, var(--accent-blue), var(--accent-emerald)) !important;
}

/* --- PREMIUM DETAILS PAGE GRID & COMPONENTS --- */
@media (min-width: 992px) {
    .detail-grid-layout {
        grid-template-columns: 2.2fr 1fr !important;
        gap: 40px !important;
    }
}

.place-detail-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
    margin-top: 20px;
    margin-bottom: 25px;
}

.gallery-item-wrapper {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 130px;
    cursor: pointer;
    border: 1.5px solid rgba(15, 23, 42, 0.05);
    transition: var(--transition-smooth);
}

.gallery-item-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.gallery-item-wrapper:hover {
    transform: translateY(-3px);
    border-color: var(--accent-blue) !important;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.15);
}

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

.gallery-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    font-size: 1.25rem;
    opacity: 0;
    backdrop-filter: blur(2px);
    transition: var(--transition-smooth);
}

.gallery-item-wrapper:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-title-header {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--accent-blue);
    margin-top: 30px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.video-embed-section {
    margin-top: 35px;
    margin-bottom: 20px;
    border-top: 1.5px dashed rgba(15, 23, 42, 0.08);
    padding-top: 30px;
}

.video-embed-section h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--accent-rose);
    margin-top: 0;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.video-responsive-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
}

.video-responsive-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.route-step-card:hover {
    transform: translateY(-2px);
    border-color: rgba(37, 99, 235, 0.15) !important;
    background: #ffffff !important;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.02);
}

/* Lightbox styles */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(15px);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.lightbox-content-wrapper {
    position: relative;
    max-width: 90%;
    max-height: 80vh;
}

.lightbox-img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    object-fit: contain;
}

.lightbox-close-btn {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.lightbox-close-btn:hover {
    color: var(--accent-rose);
    transform: scale(1.1);
}

/* --- PREMIUM TYPOGRAPHY FOR RICH CONTENT (.rich-content) --- */
.rich-content {
    font-size: 1.15rem;
    line-height: 1.9 !important;
    color: #334155 !important; /* Slate 700 - Highly professional reading color */
}

/* Headings Differentiation */
.rich-content h2 {
    font-size: 1.75rem !important;
    font-weight: 800 !important;
    color: #0f172a !important; /* Slate 900 */
    margin-top: 40px !important;
    margin-bottom: 18px !important;
    letter-spacing: -0.5px !important;
    line-height: 1.35 !important;
    border-left: 4px solid var(--accent-blue) !important;
    padding-left: 16px !important;
}

.rich-content h2:first-child {
    margin-top: 0 !important;
}

.rich-content h3 {
    font-size: 1.4rem !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin-top: 35px !important;
    margin-bottom: 16px !important;
    letter-spacing: -0.3px !important;
    line-height: 1.4 !important;
    border-left: 4px solid var(--accent-emerald) !important;
    padding-left: 16px !important;
}

.rich-content h4 {
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    color: var(--accent-primary) !important;
    margin-top: 28px !important;
    margin-bottom: 12px !important;
}

/* Paragraph spacing and styling */
.rich-content p {
    font-size: 1.12rem !important;
    line-height: 1.9 !important;
    color: #334155 !important;
    margin: 0 0 24px 0 !important;
}

/* Lists styling */
.rich-content ul, 
.rich-content ol {
    margin-top: 10px !important;
    margin-bottom: 24px !important;
    padding-left: 24px !important;
}

.rich-content li {
    font-size: 1.12rem !important;
    line-height: 1.8 !important;
    color: #334155 !important;
    margin-bottom: 12px !important;
}

/* Beautiful custom bullets */
.rich-content ul li::marker {
    color: var(--accent-blue) !important;
    font-size: 1.1rem !important;
}

/* Accent icons in text description */
.rich-content i {
    color: var(--accent-blue) !important;
    margin-right: 8px !important;
}

/* --- HERO SPLIT GRID & INTERACTIVE LAYOUT --- */
.hero-split-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
    width: 100%;
    text-align: left;
}
@media (min-width: 992px) {
    .hero-split-grid {
        grid-template-columns: 1.2fr 0.8fr;
        gap: 60px;
    }
}
.hero-split-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.hero-split-left h2 {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1.15;
    color: #ffffff;
}
@media (min-width: 768px) {
    .hero-split-left h2 {
        font-size: 3.8rem;
    }
}
.hero-split-left p {
    font-size: 1.1rem;
    color: #cbd5e1;
    line-height: 1.6;
}
.app-badge-row {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 10px;
}
.app-badge {
    height: 42px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
    border-radius: 8px;
    cursor: pointer;
}
.app-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 143, 0, 0.15);
}
.hero-social-proof {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: #94a3b8;
    margin-top: 5px;
}

/* --- MINI BOOKING CARD --- */
.mini-booking-card {
    background: rgba(13, 15, 20, 0.75);
    border: 1px solid rgba(255, 143, 0, 0.2);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(255, 143, 0, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    width: 100%;
}
.mini-booking-card h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 8px;
    text-align: center;
}
.mini-booking-card p {
    font-size: 0.82rem;
    color: #94a3b8;
    margin-bottom: 20px;
    text-align: center;
}
.mini-booking-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.mini-booking-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.mini-booking-form label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #94a3b8;
    letter-spacing: 0.5px;
}
.mini-booking-form select,
.mini-booking-form input {
    height: 44px;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 10px !important;
    padding: 0 14px !important;
    color: #ffffff !important;
    font-size: 0.88rem !important;
    transition: var(--transition-smooth) !important;
}
.mini-booking-form select:focus,
.mini-booking-form input:focus {
    border-color: var(--accent-primary) !important;
    background: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 0 0 3px rgba(255, 143, 0, 0.1) !important;
    outline: none !important;
}
.mini-booking-form select option {
    background: #0d0f14;
    color: #ffffff;
}

/* --- STATS COUNTER BAR --- */
.stats-counter-section {
    background: linear-gradient(135deg, #002850 0%, #005BA4 50%, #006AA7 100%);
    border-top: none;
    border-bottom: none;
    padding: 50px 0;
    position: relative;
    overflow: hidden;
}
.stats-counter-section::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255, 107, 35, 0.08);
    pointer-events: none;
}
.stats-counter-section::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -5%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    pointer-events: none;
}
.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
    position: relative;
    z-index: 1;
}
@media (min-width: 576px) {
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (min-width: 992px) {
    .stats-grid {
        grid-template-columns: 1fr 1fr 1fr 1fr;
        gap: 0;
    }
}
.stat-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 20px 30px;
    position: relative;
}
@media (min-width: 992px) {
    .stat-card:not(:last-child)::after {
        content: '';
        position: absolute;
        right: 0;
        top: 20%;
        height: 60%;
        width: 1px;
        background: rgba(255, 255, 255, 0.15);
    }
}
.stat-number {
    font-size: 3rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 1;
    letter-spacing: -1px;
}
.stat-label {
    font-size: 0.82rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.stat-desc {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.55);
}

/* --- FEATURES SECTION --- */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
}
@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (min-width: 992px) {
    .features-grid {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
}
.feature-card-pinos {
    background: var(--bg-card);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    padding: 30px 24px;
    text-align: left;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-card);
}
.feature-card-pinos:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 143, 0, 0.3);
    box-shadow: var(--shadow-hover);
}
.feature-card-pinos .icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(255, 143, 0, 0.08);
    color: var(--accent-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 143, 0, 0.15);
    transition: var(--transition-smooth);
}
.feature-card-pinos:hover .icon-wrapper {
    background: var(--accent-primary);
    color: #ffffff;
    box-shadow: 0 0 15px rgba(255, 143, 0, 0.35);
}
.feature-card-pinos h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 10px;
}
.feature-card-pinos p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* --- HOW IT WORKS (TIMELINE STEPS) --- */
.timeline-steps-pinos {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 50px;
    position: relative;
}
@media (min-width: 992px) {
    .timeline-steps-pinos {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 50px;
    }
    .timeline-steps-pinos::before {
        content: '';
        position: absolute;
        top: 30px;
        left: 15%;
        right: 15%;
        height: 2px;
        background: linear-gradient(90deg, rgba(255, 143, 0, 0.15) 0%, rgba(255, 143, 0, 0.03) 100%);
        z-index: 1;
    }
}
.step-card-pinos {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    z-index: 2;
    background: var(--bg-card);
    border: 1px solid rgba(15, 23, 42, 0.08);
    padding: 30px;
    border-radius: 16px;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-card);
}
.step-card-pinos:hover {
    border-color: rgba(255, 143, 0, 0.2);
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}
.step-number-pinos {
    font-size: 0.85rem;
    font-weight: 900;
    color: var(--accent-primary);
    background: rgba(255, 143, 0, 0.08);
    border: 1px solid rgba(255, 143, 0, 0.15);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.step-card-pinos h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 10px;
}
.step-card-pinos p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* --- BLOG/HISTORY TIMELINE --- */
.history-timeline {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 40px;
}
.history-item {
    display: flex;
    gap: 20px;
    background: var(--bg-card);
    border: 1px solid rgba(15, 23, 42, 0.08);
    padding: 24px;
    border-radius: 16px;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-card);
}
.history-item:hover {
    border-color: rgba(255, 143, 0, 0.2);
    transform: translateX(5px);
    box-shadow: var(--shadow-hover);
}
.history-date {
    font-size: 1rem;
    font-weight: 900;
    color: var(--accent-primary);
    min-width: 80px;
}
.history-info h3 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 6px;
}
.history-info p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* =============================================
   TRUST BAR (replaces old heavy pillar section)
   ============================================= */
.trust-bar-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
@media (min-width: 768px) {
    .trust-bar-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
}
.trust-bar-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #ffffff;
    border: 1px solid rgba(0, 106, 167, 0.08);
    border-radius: 14px;
    padding: 18px 16px;
    box-shadow: 0 4px 20px rgba(0, 106, 167, 0.04);
    transition: all 0.25s ease;
}
.trust-bar-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 106, 167, 0.1);
    border-color: rgba(0, 106, 167, 0.15);
}
.trust-bar-item i {
    font-size: 1.6rem;
    flex-shrink: 0;
    margin-top: 2px;
}
.trust-bar-item strong {
    display: block;
    font-size: 0.88rem;
    font-weight: 800;
    color: #002850;
    margin-bottom: 3px;
}
.trust-bar-item span {
    font-size: 0.78rem;
    color: #64748b;
    line-height: 1.4;
}

/* =============================================
   EDITORIAL DESTINATIONS GRID — Index Homepage
   ============================================= */

/* Mobile-first: single column stack */
/* =============================================
   UNIFIED DESTINATIONS GRID — 10 PLACES, SINGLE COLOR THEME
   ============================================= */

/* =============================================
   MAGAZINE EDITORIAL DESTINATIONS GRID — 10 PLACES
   Single Cohesive Dark Navy + Chasky Orange Palette
   ============================================= */

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

@media (min-width: 992px) {
    .editorial-places-grid {
        grid-template-columns: repeat(12, 1fr);
        gap: 18px;
    }

    /* FILA 1 — TOP HERO DUO (12 Columnas Totales - 400px de altura) */
    .editorial-places-grid .editorial-hero {
        grid-column: 1 / span 7;
        height: 400px !important;
    }

    .editorial-places-grid .editorial-medium {
        grid-column: 8 / span 5;
        height: 400px !important;
    }

    /* FILAS 2 Y 3 — BENTO UNIFORM GRID (4 Tarjetas por Fila - 3 Cols cada una = 12 Cols Totales) */
    .editorial-places-grid .editorial-uniform {
        grid-column: span 3;
        height: 290px !important;
    }
}

@media (min-width: 600px) and (max-width: 991px) {
    .editorial-places-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
    .editorial-places-grid .editorial-hero {
        grid-column: 1 / -1;
        height: 360px !important;
    }
    .editorial-places-grid .editorial-medium {
        grid-column: 1 / -1;
        height: 280px !important;
    }
    .editorial-places-grid .editorial-uniform {
        grid-column: span 1;
        height: 260px !important;
    }
}

@media (max-width: 599px) {
    .editorial-places-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .editorial-places-grid .editorial-hero { height: 340px !important; }
    .editorial-places-grid .editorial-medium { height: 260px !important; }
    .editorial-places-grid .editorial-uniform { height: 250px !important; }
}

/* Base style for all editorial destination cards */
.editorial-places-grid .place-card-detailed {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #0F172A;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

/* SINGLE UNIFIED DARK NAVY OVERLAY ON ALL CARDS (NO MULTICOLORS!) */
.editorial-places-grid .place-card-detailed::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
        rgba(15, 23, 42, 0.96) 0%,
        rgba(15, 23, 42, 0.55) 45%,
        rgba(15, 23, 42, 0.10) 80%,
        transparent 100%) !important;
    z-index: 2;
    transition: var(--transition-smooth);
}

.editorial-places-grid .place-card-detailed:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(255, 107, 43, 0.16);
    border-color: rgba(255, 107, 43, 0.35);
}

.editorial-places-grid .place-card-detailed:hover::after {
    background: linear-gradient(to top,
        rgba(15, 23, 42, 0.98) 0%,
        rgba(15, 23, 42, 0.68) 50%,
        rgba(15, 23, 42, 0.15) 85%,
        transparent 100%) !important;
}

.editorial-places-grid .place-img-holder {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.editorial-places-grid .place-img-holder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.editorial-places-grid .place-card-detailed:hover .place-img-holder img {
    transform: scale(1.06);
}

/* BADGE PILL STYLE WITH DYNAMIC CITY COLORS - EXACT 22px OFFSET FROM TOP & LEFT BORDERS */
.editorial-places-grid .place-badge-distrito {
    position: absolute !important;
    top: 22px !important;
    left: 22px !important;
    z-index: 3;
    color: #ffffff !important;
    font-size: 0.8rem !important;
    font-weight: 800 !important;
    padding: 6px 16px !important;
    border-radius: 20px !important;
    backdrop-filter: blur(8px);
    letter-spacing: 0.3px;
    transition: var(--transition-smooth);
}

/* Info container for Medium, Small, Uniform cards - COMFORTABLE 34px BOTTOM PADDING */
.editorial-places-grid .place-info-holder,
.place-card-detailed .place-info-holder {
    position: relative !important;
    z-index: 3 !important;
    padding: 24px 24px 34px 24px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    align-items: flex-start !important;
    height: auto !important;
    min-height: 0 !important;
    gap: 8px !important;
    box-sizing: border-box !important;
}

.editorial-places-grid .place-info-holder h3,
.place-card-detailed .place-info-holder h3 {
    font-size: 1.3rem !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    line-height: 1.25 !important;
    margin: 0 !important;
    padding: 0 !important;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6) !important;
}

/* Description hidden by default so Title and Explorar link sit together cleanly */
.editorial-places-grid .place-info-holder p,
.place-card-detailed .place-info-holder p {
    display: none !important;
    font-size: 0.88rem !important;
    color: rgba(255, 255, 255, 0.90) !important;
    line-height: 1.45 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* On hover, description expands cleanly between Title and Explorar link */
.editorial-places-grid .place-card-detailed:hover .place-info-holder p,
.place-card-detailed:hover .place-info-holder p {
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-top: 6px !important;
    margin-bottom: 6px !important;
    animation: fadeInPlaceDesc 0.3s ease forwards;
}

@keyframes fadeInPlaceDesc {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

.editorial-places-grid .place-cta-link,
.place-card-detailed .place-cta-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 0.88rem !important;
    font-weight: 800 !important;
    color: var(--accent-gold) !important;
    margin-top: 2px !important;
    padding: 0 !important;
    transition: gap 0.2s ease, color 0.2s ease !important;
}

.editorial-places-grid .place-card-detailed:hover .place-cta-link,
.place-card-detailed:hover .place-cta-link {
    gap: 10px !important;
    color: #ffffff !important;
}

/* HERO Card specific internal layout - UNIFORM 28px PADDING ON ALL SIDES */
.editorial-hero-body {
    position: relative !important;
    z-index: 3 !important;
    padding: 28px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    gap: 8px !important;
    box-sizing: border-box !important;
}

.ed-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--accent-primary);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 30px;
    align-self: flex-start;
    margin-bottom: 4px;
}

.ed-hero-title {
    font-size: 2.1rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 1.15;
    letter-spacing: -0.5px;
    margin: 0 !important;
    text-shadow: 0 3px 15px rgba(0,0,0,0.5);
}

.ed-hero-desc {
    display: none !important;
    font-size: 1.02rem;
    color: rgba(255, 255, 255, 0.90);
    line-height: 1.55;
    margin: 0 !important;
}

.editorial-hero:hover .ed-hero-desc {
    display: -webkit-box !important;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-top: 8px !important;
    animation: fadeInPlaceDesc 0.3s ease forwards;
}

.ed-hero-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 6px !important;
    padding-top: 0 !important;
    border-top: none !important;
    transition: all 0.3s ease;
}

.editorial-hero:hover .ed-hero-footer {
    margin-top: 10px !important;
    padding-top: 12px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.ed-hero-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.ed-loc {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.80);
    font-weight: 600;
}

.ed-cta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--accent-gold);
    transition: gap 0.2s ease;
}

.editorial-hero:hover .ed-cta {
    gap: 10px;
    color: #ffffff;
}

/* Responsive Unified Stats & Trust Horizontal Bar */
@media (max-width: 1024px) {
    .stats-trust-horizontal-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
@media (max-width: 600px) {
    .stats-trust-horizontal-grid {
        grid-template-columns: 1fr !important;
    }
}

/* =============================================
   NOSOTROS.PHP — SMART RESPONSIVE & PREMIUM COLOR SYSTEM
   ============================================= */

.about-hero-section {
    background: radial-gradient(circle at 50% 0%, rgba(255, 107, 43, 0.25) 0%, transparent 65%), linear-gradient(135deg, #001A38 0%, #082854 50%, #0B192E 100%);
    color: #ffffff;
    padding: 75px 0 65px;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 107, 43, 0.25);
}

.about-hero-title {
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.8px;
    margin-bottom: 18px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.about-hero-desc {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.6;
    max-width: 750px;
    margin: 0 auto;
}

/* INTERACTIVE FEATURE BUTTON CHIPS */
.feature-chips-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 25px;
}
.feature-chip {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    border-radius: 50px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.03);
    transition: var(--transition-smooth);
    cursor: default;
}
.feature-chip:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}
.chip-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}
.chip-text {
    font-size: 0.88rem;
    font-weight: 800;
    color: #0F172A;
}

.chip-orange .chip-icon { background: rgba(255, 107, 43, 0.12); color: #FF6B2B; }
.chip-orange:hover { border-color: rgba(255, 107, 43, 0.4); background: rgba(255, 107, 43, 0.02); }

.chip-blue .chip-icon { background: rgba(10, 88, 202, 0.12); color: #0A58CA; }
.chip-blue:hover { border-color: rgba(10, 88, 202, 0.4); background: rgba(10, 88, 202, 0.02); }

.chip-emerald .chip-icon { background: rgba(16, 185, 129, 0.12); color: #10B981; }
.chip-emerald:hover { border-color: rgba(16, 185, 129, 0.4); background: rgba(16, 185, 129, 0.02); }

.chip-purple .chip-icon { background: rgba(139, 92, 246, 0.12); color: #8B5CF6; }
.chip-purple:hover { border-color: rgba(139, 92, 246, 0.4); background: rgba(139, 92, 246, 0.02); }

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

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

.about-photo-card {
    border-radius: 16px;
    overflow: hidden;
    height: 320px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    position: relative;
    border: 1px solid rgba(15, 23, 42, 0.06);
    transition: var(--transition-smooth);
}

.about-photo-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px rgba(255, 107, 43, 0.16);
}

.about-photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-photo-card:hover img {
    transform: scale(1.06);
}

.about-photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.88) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 16px;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 800;
}

.about-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.about-service-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 32px 24px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.04);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.about-service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 35px rgba(255, 107, 43, 0.12);
    border-color: rgba(255, 107, 43, 0.25);
}

.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.about-cta-banner {
    background: linear-gradient(135deg, #0A58CA 0%, #0F172A 100%);
    border-radius: 24px;
    padding: 55px 40px;
    color: #ffffff;
    text-align: center;
    box-shadow: 0 20px 45px rgba(10, 88, 202, 0.25);
    position: relative;
    overflow: hidden;
}

/* SMART RESPONSIVE BREAKPOINTS FOR NOSOTROS */
@media (max-width: 1024px) {
    .about-story-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    .about-services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .about-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 640px) {
    .feature-chips-container {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .about-hero-section {
        padding: 50px 0 45px;
    }
    .about-hero-title {
        font-size: 2rem;
        margin-bottom: 12px;
    }
    .about-hero-desc {
        font-size: 0.95rem;
    }
    .about-photo-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .about-photo-card {
        height: 240px;
        margin-top: 0 !important;
    }
    .about-services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .about-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .about-cta-banner {
        padding: 35px 20px;
        border-radius: 18px;
    }
    .about-cta-banner h2 {
        font-size: 1.6rem !important;
    }
    .about-cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    .about-cta-buttons .btn {
        width: 100%;
    }
}

/* =============================================
   PAQUETES.PHP — PREMIUM TOURIST PACKAGES SYSTEM
   ============================================= */

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

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

.package-card-premium {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.package-card-premium:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(255, 107, 43, 0.15);
    border-color: rgba(255, 107, 43, 0.3);
}

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

.package-card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.package-card-premium:hover .package-card-img-wrapper img {
    transform: scale(1.06);
}

.package-card-badge-route {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(15, 23, 42, 0.82);
    backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

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

.package-card-title {
    font-size: 1.25rem;
    font-weight: 900;
    color: #0F172A;
    line-height: 1.25;
    margin: 0;
}

.package-card-desc {
    font-size: 0.92rem;
    color: #475569;
    line-height: 1.55;
    margin: 0;
}

.package-route-visual {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    padding: 12px 14px;
}

.package-route-header {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.package-route-steps {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: 0.76rem;
}

.package-step-pill {
    background: #ffffff;
    border: 1px solid #CBD5E1;
    color: #1E293B;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
}

.package-specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    background: #F1F5F9;
    border-radius: 12px;
    padding: 12px;
    font-size: 0.8rem;
}

.package-spec-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.package-spec-label {
    font-size: 0.72rem;
    color: #64748B;
    font-weight: 700;
    text-transform: uppercase;
}

.package-spec-value {
    font-weight: 800;
    color: #0F172A;
}

.package-actions-group {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 10px;
}

.btn-solicitar-paquete {
    width: 100%;
    background: var(--accent-primary) !important;
    background-color: var(--accent-primary) !important;
    color: #ffffff !important;
    font-weight: 900 !important;
    padding: 13px 20px !important;
    border-radius: 50px !important;
    border: none !important;
    text-align: center;
    text-decoration: none;
    font-size: 0.95rem !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 8px 20px rgba(255, 107, 43, 0.25) !important;
    transition: all 0.2s ease;
}

.btn-solicitar-paquete:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(255, 107, 43, 0.35) !important;
}

.btn-detalles-paquete {
    width: 100%;
    background: #F1F5F9 !important;
    color: #0F172A !important;
    font-weight: 800 !important;
    padding: 11px 20px !important;
    border-radius: 50px !important;
    border: 1px solid #CBD5E1 !important;
    text-align: center;
    text-decoration: none;
    font-size: 0.88rem !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.btn-detalles-paquete:hover {
    background: #E2E8F0 !important;
    color: #002850 !important;
}

/* CLEAN MINIMAL PACKAGE CARD STYLES */
.package-card-clean {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.package-card-clean:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(255, 107, 43, 0.14);
    border-color: rgba(255, 107, 43, 0.3);
}

.package-card-clean-img {
    position: relative;
    height: 230px;
    overflow: hidden;
    display: block;
}

.package-card-clean-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.package-card-clean:hover .package-card-clean-img img {
    transform: scale(1.06);
}

.package-route-pill {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

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

.package-card-clean-title {
    font-size: 1.25rem;
    font-weight: 900;
    color: #0F172A;
    line-height: 1.25;
    margin: 0;
}

.package-card-clean-desc {
    font-size: 0.92rem;
    color: #475569;
    line-height: 1.55;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.package-meta-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.meta-chip {
    background: #F1F5F9;
    color: #334155;
    font-size: 0.76rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.package-card-clean-footer {
    margin-top: auto;
    padding-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-solicitar-directo {
    width: 100%;
    background: var(--accent-primary) !important;
    color: #ffffff !important;
    font-weight: 900 !important;
    padding: 13px 20px !important;
    border-radius: 50px !important;
    text-align: center;
    text-decoration: none;
    font-size: 0.95rem !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 8px 20px rgba(255, 107, 43, 0.25) !important;
    transition: all 0.2s ease;
}

.btn-solicitar-directo:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(255, 107, 43, 0.35) !important;
}

.link-ver-detalles {
    text-align: center;
    color: #0A58CA;
    font-size: 0.88rem;
    font-weight: 800;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: gap 0.2s ease;
}

.link-ver-detalles:hover {
    gap: 10px;
    color: var(--accent-primary);
}

/* =============================================
   PREMIUM DRIVERS GRID SYSTEM — Conductores.php
   ============================================= */

.drivers-grid-premium {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px;
}

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

.driver-card-premium {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 24px;
    padding: 28px 24px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.driver-card-premium:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(255, 107, 43, 0.15);
    border-color: rgba(255, 107, 43, 0.3);
}

.driver-card-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.driver-badge-verified {
    background: rgba(16, 185, 129, 0.12);
    color: #059669;
    font-size: 0.76rem;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(16, 185, 129, 0.25);
}

.driver-badge-status {
    background: rgba(10, 88, 202, 0.1);
    color: #0A58CA;
    font-size: 0.76rem;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.driver-avatar-ring {
    width: 110px;
    height: 110px;
    margin: 0 auto 16px;
    position: relative;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(135deg, var(--accent-primary) 0%, #0A58CA 100%);
    box-shadow: 0 8px 25px rgba(255, 107, 43, 0.25);
}

.driver-avatar-ring img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background: #ffffff;
}

.driver-online-dot {
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #10B981;
    border: 3px solid #ffffff;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.6);
}

.driver-card-name {
    font-size: 1.35rem;
    font-weight: 900;
    color: #0F172A;
    text-align: center;
    margin: 0 0 8px 0;
    line-height: 1.25;
}

.driver-card-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
}

.driver-stars-row {
    color: #F59E0B;
    font-size: 0.95rem;
    display: flex;
    gap: 3px;
}

.driver-score-pill {
    background: #FEF3C7;
    color: #92400E;
    font-weight: 800;
    font-size: 0.82rem;
    padding: 3px 10px;
    border-radius: 20px;
}

.driver-specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 14px;
    margin-bottom: 22px;
}

.driver-spec-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
    text-align: left;
}

.driver-spec-label {
    font-size: 0.74rem;
    color: #64748B;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.driver-spec-value {
    font-size: 0.92rem;
    color: #0F172A;
    font-weight: 900;
}

.driver-actions-stack {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-driver-wa {
    width: 100%;
    background: #25D366 !important;
    color: #ffffff !important;
    font-weight: 900 !important;
    padding: 13px 20px !important;
    border-radius: 50px !important;
    text-align: center;
    text-decoration: none;
    font-size: 0.95rem !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.25) !important;
    transition: all 0.2s ease;
}

.btn-driver-wa:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(37, 211, 102, 0.35) !important;
}

.btn-driver-book {
    width: 100%;
    background: #002850 !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    padding: 12px 20px !important;
    border-radius: 50px !important;
    text-align: center;
    text-decoration: none;
    font-size: 0.9rem !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 6px 18px rgba(0, 40, 80, 0.15) !important;
    transition: all 0.2s ease;
}

.btn-driver-book:hover {
    background: var(--accent-primary) !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(255, 107, 43, 0.3) !important;
}

.btn-driver-profile {
    width: 100%;
    background: #002850 !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    padding: 12px 20px !important;
    border-radius: 50px !important;
    text-align: center;
    text-decoration: none;
    font-size: 0.9rem !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 6px 18px rgba(0, 40, 80, 0.15) !important;
    transition: all 0.2s ease;
}

.btn-driver-profile:hover {
    background: var(--accent-primary) !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(255, 107, 43, 0.3) !important;
}

/* Executive Driver Profile Modern CSS */
.driver-detail-hero {
    background: linear-gradient(135deg, #001A35 0%, #002850 50%, #0F172A 100%);
    border-radius: 28px;
    padding: 40px;
    color: #ffffff;
    box-shadow: 0 20px 50px rgba(0, 26, 53, 0.25);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.driver-detail-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 107, 43, 0.18) 0%, transparent 70%);
    pointer-events: none;
}

.driver-avatar-glow {
    position: relative;
    width: 135px;
    height: 135px;
    border-radius: 50%;
    padding: 5px;
    background: linear-gradient(135deg, var(--accent-primary) 0%, #0056B3 100%);
    box-shadow: 0 12px 30px rgba(255, 107, 43, 0.35);
    flex-shrink: 0;
}

.driver-avatar-glow img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #ffffff;
}

.driver-online-pulse {
    position: absolute;
    bottom: 6px;
    right: 6px;
    width: 22px;
    height: 22px;
    background: #10B981;
    border: 3.5px solid #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulseGreen 1.8s infinite;
}

@keyframes pulseGreen {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.interactive-star-bar {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 18px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.interactive-star-bar:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 215, 0, 0.5);
}

.interactive-star {
    font-size: 1.35rem;
    color: #FFD700;
    cursor: pointer;
    transition: transform 0.2s ease, color 0.2s ease;
}

.interactive-star:hover {
    transform: scale(1.3);
}

.spec-card-executive {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 20px;
    padding: 22px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.spec-card-executive:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
    border-color: rgba(37, 99, 235, 0.2);
}

.review-card-premium {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-left: 5px solid var(--accent-primary);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.03);
    transition: all 0.3s ease;
}

.review-card-premium:hover {
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.07);
    transform: translateY(-2px);
}

/* --- MOBILE RESPONSIVE UNIVERSAL SAFEGUARDS & EXECUTIVE ENGINE --- */
html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
}

img, video, iframe, canvas, svg {
    max-width: 100% !important;
    height: auto;
}

/* Scrollbar styling for horizontal tables & maps */
.table-responsive, .overflow-table-wrap {
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
}

@media (max-width: 991.98px) {
    .container, .web-container, .main-container, .header-inner-container, .chasky-footer-container, .nav-container-unified {
        padding-left: 16px !important;
        padding-right: 16px !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Auto-collapse multi-column grids to 1 column on mobile */
    .grid, .grid-2, .grid-3, .grid-4, .grid-6,
    .footer-top-grid, .dashboard-services-select-row,
    .places-grid-web, .hero-grid-split, .features-grid, .packages-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    /* Responsive font scaling for mobile viewports */
    h1 { font-size: 1.75rem !important; line-height: 1.25 !important; }
    h2 { font-size: 1.45rem !important; line-height: 1.3 !important; }
    h3 { font-size: 1.2rem !important; }

    /* Flex wrappers collapse vertically */
    .mobile-flex-column {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    /* Interactive touch target accessibility height */
    .btn, button, input[type="submit"], select, input[type="text"], input[type="number"] {
        min-height: 44px;
        box-sizing: border-box;
    }
/* --- DASHBOARD RESPONSIVE GRIDS (DRIVER & PASSENGER) --- */
.driver-dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 25px;
    width: 100%;
}

.driver-action-buttons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.user-dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 25px;
    width: 100%;
}

.quick-ride-form {
    display: grid;
    grid-template-columns: 1fr 1fr 140px;
    gap: 12px;
    align-items: flex-end;
}

@media (max-width: 991.98px) {
    .driver-dashboard-grid,
    .user-dashboard-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        width: 100% !important;
    }

    .quick-ride-form {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }
}

@media (max-width: 576px) {
    .driver-action-buttons-grid {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }
}

/* --- ESTILOS PREMIUM PARA ENLACES DE CONTENIDO Y ELEMENTOS LI --- */
.post-article-card a {
    color: #0284C7 !important;
    font-weight: 800;
    text-decoration: none !important;
    padding: 2px 8px;
    border-radius: 6px;
    background: rgba(2, 132, 199, 0.08);
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.post-article-card a:hover {
    color: #ffffff !important;
    background: #0284C7 !important;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3);
    transform: translateY(-1px);
}

.post-article-card ul {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 20px 0 !important;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.post-article-card ul li {
    position: relative;
    padding: 12px 18px 12px 46px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    font-size: 1.02rem;
    color: #334155;
    line-height: 1.7;
    font-weight: 600;
    transition: all 0.25s ease;
}
.post-article-card ul li:hover {
    background: #ffffff;
    border-color: #FF6B2B;
    box-shadow: 0 6px 20px rgba(255, 107, 43, 0.12);
    transform: translateX(4px);
}
.post-article-card ul li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #ffffff;
    background: linear-gradient(135deg, #FF6B2B, #FF8800);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    box-shadow: 0 3px 8px rgba(255, 107, 43, 0.35);
}

.post-article-card ol {
    padding-left: 0 !important;
    margin: 20px 0 !important;
    counter-reset: post-counter;
    list-style: none !important;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.post-article-card ol li {
    counter-increment: post-counter;
    position: relative;
    padding: 12px 18px 12px 48px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    font-size: 1.02rem;
    color: #334155;
    line-height: 1.7;
    font-weight: 600;
    transition: all 0.25s ease;
}
.post-article-card ol li:hover {
    background: #ffffff;
    border-color: #0284C7;
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.12);
    transform: translateX(4px);
}
.post-article-card ol li::before {
    content: counter(post-counter);
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #ffffff;
    background: linear-gradient(135deg, #0284C7, #0369A1);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    font-weight: 900;
    box-shadow: 0 3px 8px rgba(2, 132, 199, 0.35);
}



