/* ===== PERCEIVE TRIPS — SHARED THEME ===== */

:root {
    --primary: #00C49A;
    --primary-dark: #00A67E;
    --secondary: #006B4F;
    --secondary-dark: #004A35;
    --accent: #4ADE80;
    --dark: #1a1a1a;
    --light: #f8f9fa;
    --white: #ffffff;
    --text: #2c3e50;
    --text-light: #7f8c8d;
    --border: #e5e7eb;
    --gradient-primary: linear-gradient(135deg, #00C49A 0%, #00A67E 100%);
    --gradient-secondary: linear-gradient(135deg, #006B4F 0%, #004A35 100%);
    --gradient-hero: linear-gradient(135deg, rgba(0,107,79,0.85) 0%, rgba(0,196,154,0.75) 100%);
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 50px rgba(0,0,0,0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius: 12px;
    --radius-lg: 20px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; max-width: 100vw; overflow-x: hidden; }

body {
    font-family: 'Poppins', sans-serif;
    background: var(--light);
    color: var(--text);
    line-height: 1.6;
    max-width: 100vw;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; height: auto; }

/* Global anti-overflow guards */
section, .container, main, header, footer { max-width: 100%; }
h1, h2, h3, h4, h5, h6, p, span, strong, small, a, li, div {
    overflow-wrap: break-word;
    word-break: break-word;
}
input, select, textarea, button { max-width: 100%; }

/* ===== TOP BAR ===== */
.top-bar {
    background: var(--gradient-primary);
    color: white;
    padding: 0 2rem;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    overflow: hidden;
    white-space: nowrap;
}
.top-bar-content > span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
    flex: 0 1 auto;
}
.top-bar-content > i { flex-shrink: 0; }
.top-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 3s infinite;
}
@keyframes shimmer { 0%{left:-50%;} 100%{left:150%;} }
.top-bar-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    flex-wrap: nowrap;
    max-width: 100%;
    min-width: 0;
}
.top-bar i { animation: pulse 1.8s infinite; color: var(--accent); }
@keyframes pulse { 0%,100%{transform:scale(1);} 50%{transform:scale(1.2);} }
.top-bar strong {
    background: var(--accent);
    color: var(--dark);
    padding: 0.15rem 0.6rem;
    border-radius: 4px;
    font-weight: 800;
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 38px;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: top 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
body:not(.has-topbar) .header { top: 0; }
.header.scrolled {
    box-shadow: var(--shadow-md);
    background: rgba(255,255,255,0.99);
}

.nav {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0.85rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    transition: var(--transition);
    flex-shrink: 0;
}
.logo:hover { transform: scale(1.05); }

.logo-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(0,196,154,0.35);
    overflow: hidden;
    background: white;
    transition: var(--transition);
    border: 2px solid rgba(0,196,154,0.15);
}
.logo-icon img,
.logo-icon svg {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    padding: 5px;
}
.logo-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: white;
    font-weight: 900;
    font-size: 1.6rem;
    font-family: 'Playfair Display', serif;
}
.logo:hover .logo-icon {
    box-shadow: 0 8px 28px rgba(0,196,154,0.5);
    border-color: var(--primary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}
.nav-menu .nav-menu-header { display: none !important; }
.nav-menu > a > i { display: none; }

.nav-menu > a {
    color: var(--text);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.25s ease;
    white-space: nowrap;
}
.nav-menu > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}
.nav-menu > a:hover,
.nav-menu > a.active { color: var(--primary); }
.nav-menu > a:hover::after,
.nav-menu > a.active::after { width: 100%; }

.lang-switcher {
    display: flex;
    gap: 0.3rem;
    align-items: center;
    padding-left: 1rem;
    border-left: 1px solid var(--border);
}
.lang-switcher a {
    padding: 0.3rem 0.5rem;
    border-radius: 8px;
    font-size: 1.1rem;
    opacity: 0.5;
    transition: var(--transition);
    line-height: 1;
}
.lang-switcher a:hover { opacity: 0.85; transform: scale(1.1); }
.lang-switcher a.active {
    opacity: 1;
    background: rgba(0,196,154,0.12);
    box-shadow: 0 2px 6px rgba(0,196,154,0.2);
}

.mobile-toggle {
    display: none;
    background: rgba(0,196,154,0.08);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    font-size: 1.3rem;
    color: var(--primary);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    position: relative;
    z-index: 1001;
}
.mobile-toggle:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.05);
}
.mobile-toggle:active { transform: scale(0.95); }

/* Animated hamburger icon */
.mobile-toggle i {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
body.nav-open .mobile-toggle i {
    transform: rotate(90deg);
}

/* Mobile menu overlay (backdrop) */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.nav-overlay.active {
    display: block;
    opacity: 1;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 1.8rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-decoration: none;
}
.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(255,107,53,0.35);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255,107,53,0.45);
}
.btn-secondary {
    background: var(--gradient-secondary);
    color: white;
    box-shadow: 0 4px 15px rgba(0,78,137,0.35);
}
.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,78,137,0.45);
}
.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.8);
    backdrop-filter: blur(10px);
}
.btn-outline:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-3px);
}
.btn-ghost {
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
}
.btn-ghost:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

/* ===== CONTAINERS & SECTIONS ===== */
main { min-height: 100vh; }
section { padding: 5rem 0; }

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}
.section-tag {
    display: inline-block;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
}
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 1rem;
    line-height: 1.2;
    display: inline-block;
    position: relative;
}
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    margin: 1rem auto 0;
    border-radius: 2px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.8s ease 0.3s;
}
.section-header.visible .section-title::after { transform: scaleX(1); }
.section-subtitle {
    color: var(--text-light);
    font-size: 1.05rem;
    max-width: 620px;
    margin: 0 auto;
}

/* ===== PAGE HEADER (hero for inner pages) ===== */
.page-header {
    padding-top: 180px;
    padding-bottom: 6rem;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
    z-index: -1;
}
.page-header-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: -2;
    animation: kenBurns 20s ease-in-out infinite alternate;
}
@keyframes kenBurns { 0%{transform:scale(1);} 100%{transform:scale(1.12);} }
.page-header-tag {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.25);
    padding: 0.45rem 1.1rem;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.page-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.25rem;
}
.page-header h1 .accent { color: var(--accent); font-style: italic; }
.page-header p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
    opacity: 0.92;
    line-height: 1.7;
}
.breadcrumb {
    margin-top: 1.5rem;
    font-size: 0.85rem;
    opacity: 0.85;
}
.breadcrumb a { color: var(--accent); }
.breadcrumb i { margin: 0 0.5rem; opacity: 0.6; }

/* ===== CARD BASE ===== */
.card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}
.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

/* ===== CTA (shared) ===== */
.cta-band {
    background:
        linear-gradient(135deg, rgba(0,78,137,0.88), rgba(255,107,53,0.78)),
        url('imagenes/varias/9dc7ae16-bbe7-4f7f-b132-390f05784516.jpg') center/cover no-repeat;
    background-attachment: fixed;
    color: white;
    text-align: center;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}
.cta-band::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,210,63,0.15) 0%, transparent 60%);
    animation: rotateGlow 20s linear infinite;
}
@keyframes rotateGlow { from{transform:rotate(0);} to{transform:rotate(360deg);} }
.cta-band .container { position: relative; z-index: 2; }
.cta-band h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
}
.cta-band p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    opacity: 0.95;
}
.cta-band .cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== FOOTER ===== */
footer {
    background: var(--dark);
    color: rgba(255,255,255,0.75);
    padding: 4rem 0 1.5rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}
.footer-col h4 {
    color: white;
    font-size: 1.05rem;
    margin-bottom: 1.2rem;
    font-weight: 700;
}
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col a {
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
    font-size: 0.92rem;
}
.footer-col a:hover { color: var(--primary); padding-left: 4px; }

.footer-brand { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1rem; }
.footer-brand .logo-icon { width: 45px; height: 45px; }
.footer-brand span { font-size: 1.2rem; font-weight: 800; color: white; }

.footer-social { display: flex; gap: 0.6rem; margin-top: 1rem; }
.footer-social a {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center;
    color: white;
    transition: var(--transition);
}
.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}
.footer-bottom {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    font-size: 0.85rem;
}

/* ===== WhatsApp Float ===== */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 6px 20px rgba(37,211,102,0.4);
    z-index: 999;
    transition: var(--transition);
    animation: floatBounce 2s ease-in-out infinite;
    text-decoration: none;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(37,211,102,0.55);
}
@keyframes floatBounce { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-8px);} }

/* ===== ANIMATIONS ===== */
.fade-in { opacity: 0; transform: translateY(40px); transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.2, 0.9, 0.3, 1); }
.fade-in.visible { opacity: 1; transform: translateY(0); }

.fade-left { opacity: 0; transform: translateX(-60px); transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.2, 0.9, 0.3, 1); }
.fade-left.visible { opacity: 1; transform: translateX(0); }

.fade-right { opacity: 0; transform: translateX(60px); transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.2, 0.9, 0.3, 1); }
.fade-right.visible { opacity: 1; transform: translateX(0); }

.zoom-in { opacity: 0; transform: scale(0.85); transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.2, 0.9, 0.3, 1); }
.zoom-in.visible { opacity: 1; transform: scale(1); }

.stagger > * { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.9, 0.3, 1); }
.stagger.visible > *:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0.05s; }
.stagger.visible > *:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 0.15s; }
.stagger.visible > *:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 0.25s; }
.stagger.visible > *:nth-child(4) { opacity: 1; transform: translateY(0); transition-delay: 0.35s; }
.stagger.visible > *:nth-child(5) { opacity: 1; transform: translateY(0); transition-delay: 0.45s; }
.stagger.visible > *:nth-child(6) { opacity: 1; transform: translateY(0); transition-delay: 0.55s; }
.stagger.visible > *:nth-child(7) { opacity: 1; transform: translateY(0); transition-delay: 0.65s; }
.stagger.visible > *:nth-child(8) { opacity: 1; transform: translateY(0); transition-delay: 0.75s; }
.stagger.visible > *:nth-child(9) { opacity: 1; transform: translateY(0); transition-delay: 0.85s; }

/* ===== RESPONSIVE ===== */

/* Large desktop */
@media (min-width: 1400px) {
    .container { max-width: 1320px; }
}

/* Tablets & small laptops */
@media (max-width: 1100px) {
    .container { padding: 0 1.5rem; }
    .nav { padding: 1rem 1.5rem; }
    .nav-menu { gap: 1.4rem; }
    .nav-menu > a { font-size: 0.9rem; }
    .hero-container { grid-template-columns: 1fr; max-width: 900px; }
    .hero-card { max-width: 500px; margin: 0 auto; }
    .hero-deco.d1, .hero-deco.d2, .hero-deco.d3 { display: none; }
}

@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    section { padding: 4rem 0; }
    .cta-band { padding: 4.5rem 0; }
    .page-header { padding-top: 160px; padding-bottom: 4.5rem; }
    .tours-grid, .promo-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .hero { padding-top: 120px; }
}

/* Tablets portrait */
@media (max-width: 900px) {
    .header { top: 34px; }
    .top-bar { font-size: 0.78rem; padding: 0 1rem; height: 34px; }
    .top-bar-content { gap: 0.5rem; }
    .top-bar-content strong { padding: 0.1rem 0.45rem; }
    .nav { padding: 0.7rem 1rem; }
    .logo-icon { width: 65px; height: 65px; }

    /* Full-screen mobile menu - above everything */
    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        height: 100dvh;
        background: #ffffff;
        flex-direction: column;
        padding: 1.2rem 1.5rem 2rem;
        gap: 0.3rem;
        box-shadow: none;
        align-items: stretch;
        overflow-y: auto;
        z-index: 9999;
        display: flex;
        transform: translateX(100%);
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        -webkit-overflow-scrolling: touch;
        visibility: hidden;
    }
    .nav-menu.active {
        transform: translateX(0);
        visibility: visible;
    }

    /* Show menu header & icons on mobile */
    .nav-menu .nav-menu-header { display: flex !important; }
    .nav-menu > a > i { display: inline-block; width: 22px; text-align: center; color: var(--primary); font-size: 0.95rem; }

    /* Push first menu item below the fixed header */
    .nav-menu > a:first-of-type { margin-top: 4.5rem; }

    .nav-menu > a {
        font-size: 1rem;
        padding: 0.85rem 1rem;
        border-radius: 10px;
        border: none;
        display: flex;
        align-items: center;
        gap: 0.6rem;
        font-weight: 600;
        color: var(--text);
        position: relative;
        transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
    }
    .nav-menu > a::before {
        content: '';
        width: 3px;
        height: 0;
        background: var(--primary);
        border-radius: 2px;
        transition: height 0.25s ease;
        position: absolute;
        left: 4px;
        top: 50%;
        transform: translateY(-50%);
    }
    .nav-menu > a:hover {
        background: rgba(0,196,154,0.08);
        color: var(--primary);
    }
    .nav-menu > a.active {
        background: rgba(0,196,154,0.12);
        color: var(--primary);
        padding-left: 1.3rem;
    }
    .nav-menu > a.active::before { height: 55%; }
    .nav-menu > a::after { display: none; }

    .lang-switcher {
        padding-left: 0;
        border-left: none;
        padding-top: 1rem;
        margin-top: 1rem;
        border-top: 1px solid var(--border);
        width: 100%;
        justify-content: center;
        gap: 0.4rem;
    }
    .lang-switcher a {
        font-size: 1.3rem;
        padding: 0.5rem 0.75rem;
        border-radius: 10px;
    }
    .mobile-toggle { display: inline-flex; }

    /* Mobile menu close button (X) - shown via :before on .nav-menu */
    .nav-menu-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-bottom: 1px solid var(--border);
        position: fixed;
        top: 0; left: 0; right: 0;
        background: white;
        height: 64px;
        padding: 0 1.5rem;
        z-index: 1;
    }
    .nav-menu-brand {
        font-family: 'Playfair Display', serif;
        font-weight: 700;
        font-size: 1.05rem;
        color: var(--primary);
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }
    .nav-menu-brand i { font-size: 0.9rem; }
    .nav-menu-close {
        background: rgba(0,0,0,0.05);
        border: none;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        color: var(--text);
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
        font-size: 1rem;
    }
    .nav-menu-close:hover {
        background: var(--primary);
        color: white;
        transform: rotate(90deg);
    }

    .page-header { padding-top: 140px; padding-bottom: 3.5rem; }
    .page-header h1 { font-size: clamp(1.8rem, 7vw, 2.4rem); }
    .page-header p { font-size: 0.98rem; }
    .section-title { font-size: clamp(1.6rem, 5vw, 2rem); }
    .section-subtitle { font-size: 0.95rem; }

    .cta-band { padding: 3.5rem 0; background-attachment: scroll; }
    .cta-band h2 { font-size: clamp(1.5rem, 6vw, 2rem); }
    .cta-band p { font-size: 0.98rem; }
    .cta-band .btn { width: 100%; justify-content: center; }
    .cta-band .cta-buttons { flex-direction: column; width: 100%; }

    .about-grid { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-buttons { flex-direction: column; width: 100%; }
    .hero-buttons .btn { width: 100%; justify-content: center; }
    .hero-stats { justify-content: center; }
}

/* Mobile */
@media (max-width: 640px) {
    .container { padding: 0 1rem; }
    section { padding: 3rem 0; }
    .btn { padding: 0.8rem 1.4rem; font-size: 0.9rem; }
    .section-header { margin-bottom: 2.5rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-social a { width: 38px; height: 38px; }
    .whatsapp-float { width: 52px; height: 52px; font-size: 1.5rem; bottom: 18px; right: 18px; }
    .page-header-tag { font-size: 0.75rem; padding: 0.35rem 0.9rem; }
    .breadcrumb { font-size: 0.78rem; }

    .hero { padding-top: 100px; min-height: auto; padding-bottom: 4rem; }
    .hero-container { padding: 0 1rem; }
    .hero-indicators { bottom: 80px; }
    .scroll-hint { bottom: 70px; right: 20px; }
    .hero-title { font-size: clamp(1.8rem, 8vw, 2.5rem); }
    .hero-description { font-size: 1rem; max-width: 100%; }
    .hero-card { padding: 1.5rem; }
    .form-row { grid-template-columns: 1fr; }

    .tours-grid, .promo-grid, .team-grid { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }

    .tours-filters { gap: 0.5rem; }
    .filter-btn { padding: 0.5rem 1rem; font-size: 0.85rem; }

    .tour-image { height: 180px; }
    .tour-card .btn { padding: 0.6rem 1rem; font-size: 0.85rem; }

    .page-header { padding-top: 120px; padding-bottom: 3rem; }
    .page-header h1 { font-size: clamp(1.6rem, 8vw, 2.2rem); }

    .hero-stat { text-align: center; flex: 1; min-width: 80px; }
    .hero-stats { gap: 1.5rem; }
}

/* Small phones */
@media (max-width: 400px) {
    .header { top: 32px; }
    .nav { padding: 0.75rem 1rem; }
    .logo-icon { width: 42px; height: 42px; }
    .top-bar { font-size: 0.72rem; padding: 0 0.85rem; height: 32px; }
    .top-bar-content { gap: 0.4rem; }
    .top-bar i:first-child,
    .top-bar i:last-child { display: none; }
    .btn { padding: 0.75rem 1.1rem; font-size: 0.85rem; }
    .cta-band { padding: 3rem 0; }
    .section-title { font-size: clamp(1.4rem, 7vw, 1.8rem); }
    .page-header { padding-top: 110px; padding-bottom: 2.5rem; }
    section { padding: 2.5rem 0; }
    .container { padding: 0 0.85rem; }

    .hero { padding-top: 90px; padding-bottom: 3rem; }
    .hero-title { font-size: clamp(1.5rem, 9vw, 2rem); }
    .hero-badge { font-size: 0.75rem; padding: 0.4rem 0.9rem; }
    .hero-card { padding: 1.25rem; }
    .hero-card h3 { font-size: 1.2rem; }

    .tour-image { height: 160px; }
    .tour-card { border-radius: var(--radius); }
    .promo-card { padding: 1.5rem; }
    .promo-icon { font-size: 2rem; }

    .stats-grid { gap: 1rem; }
    .stat-item i { font-size: 1.8rem; }
    .stat-item h3 { font-size: 2rem; }

    .value-card { padding: 1.5rem; }
    .value-icon { width: 60px; height: 60px; font-size: 1.5rem; }

    .team-photo { aspect-ratio: 4/5; }
    .team-info { padding: 1rem; }
    .team-info h4 { font-size: 1.1rem; }
    .team-role { font-size: 0.75rem; }
    .team-info p { font-size: 0.85rem; }

    .footer-col h4 { font-size: 1rem; }
    .footer-col ul li a { font-size: 0.9rem; }
}

/* Very small phones (≤ 360px) */
@media (max-width: 360px) {
    .logo-icon { width: 38px; height: 38px; }
    .page-header h1 { font-size: clamp(1.4rem, 7vw, 1.9rem); line-height: 1.15; }
    .page-header p { font-size: 0.88rem; }
    .whatsapp-float { width: 48px; height: 48px; font-size: 1.3rem; bottom: 14px; right: 14px; }
    .btn { font-size: 0.8rem; padding: 0.7rem 1rem; }

    .hero-title { font-size: clamp(1.4rem, 10vw, 1.8rem); }
    .hero-description { font-size: 0.9rem; }
    .hero-card { padding: 1rem; }
    .hero-card h3 { font-size: 1.1rem; }
    .form-group input, .form-group select { padding: 0.7rem 0.9rem; font-size: 0.9rem; }

    .stats-grid { grid-template-columns: 1fr; }
    .stat-item { padding: 1rem; }

    .footer-social a { width: 34px; height: 34px; font-size: 0.9rem; }
}

/* Prevent horizontal overflow globally */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}
img, svg, canvas, video {
    max-width: 100%;
    height: auto;
}
* {
    box-sizing: border-box;
}

/* Prevent body scroll when mobile menu is open */
body.nav-open { overflow: hidden; }

/* When mobile menu is open, lift header above top-bar so fullscreen menu covers everything */
body.nav-open .header { z-index: 9998; }
body.nav-open .top-bar { z-index: 1; }
