@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --travel-blue: #102246;
    --travel-blue-light: #1a3570;
    --travel-blue-dark: #0a1530;
    --travel-gold: #f2bd33;
    --travel-gold-light: #f5cf66;
    --travel-gold-dark: #d4a11e;
    --safe-top: env(safe-area-inset-top, 0px);
    --safe-bottom: env(safe-area-inset-bottom, 0px);
    --safe-left: env(safe-area-inset-left, 0px);
    --safe-right: env(safe-area-inset-right, 0px);
    --nav-height: 64px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #1e293b;
    background: #f8fafc;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { text-decoration: none; color: inherit; }

/* ===== NAVBAR ===== */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 50;
    padding: 1rem 2rem;
    transition: transform 0.25s cubic-bezier(0.4,0,0.2,1), background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
    background: transparent;
}
.navbar.hidden { transform: translateY(-100%); }
.navbar.scrolled {
    background: var(--travel-blue);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    padding: 0.6rem 2rem;
}
.navbar-container {
    max-width: 1280px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
}
.navbar-brand {
    font-size: 1.5rem; font-weight: 800; color: white;
    text-decoration: none; letter-spacing: -0.5px;
}
.navbar-links { display: flex; gap: 2rem; align-items: center; }
.navbar-links a {
    color: rgba(255,255,255,0.85); text-decoration: none;
    font-weight: 500; font-size: 0.9rem;
    transition: color 0.3s;
}
.navbar-links a:hover { color: var(--travel-gold); }
.navbar-cta {
    background: var(--travel-gold); color: var(--travel-blue) !important;
    padding: 0.55rem 1.4rem; border-radius: 50px;
    font-weight: 700 !important; font-size: 0.85rem !important;
    transition: all 0.3s !important;
    display: inline-flex; align-items: center; gap: 0.4rem;
}
.navbar-cta:hover { background: var(--travel-gold-light); transform: scale(1.05); }

/* Hamburger button */
.navbar-toggle {
    display: none;
    flex-direction: column; justify-content: center; align-items: center;
    width: 40px; height: 40px; gap: 5px;
    background: rgba(255,255,255,0.1); border: none; border-radius: 10px;
    cursor: pointer; padding: 0;
    transition: background 0.2s;
    -webkit-user-select: none; user-select: none;
}
.hamburger-line {
    display: block; width: 20px; height: 2px;
    background: white; border-radius: 2px;
    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), opacity 0.3s, width 0.3s;
    transform-origin: center;
}
.navbar-toggle.active .hamburger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar-toggle.active .hamburger-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.navbar-toggle.active .hamburger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

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

/* ===== HERO ===== */
.hero {
    position: relative; min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    background-size: cover; background-position: center; background-attachment: fixed;
    text-align: center; color: white; overflow: hidden;
}
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(16,34,70,0.85) 0%, rgba(10,21,48,0.7) 50%, rgba(16,34,70,0.6) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 800px; padding: 2rem; }
.hero-title {
    font-size: 3.5rem; font-weight: 900; line-height: 1.1;
    margin-bottom: 1.2rem;
    text-shadow: 0 2px 30px rgba(0,0,0,0.3);
}
.hero-subtitle {
    font-size: 1.15rem; font-weight: 300; line-height: 1.7;
    opacity: 0.9; margin-bottom: 2.5rem; max-width: 600px; margin-left: auto; margin-right: auto;
}
.hero-cta {
    background: var(--travel-gold); color: var(--travel-blue);
    padding: 0.9rem 2.2rem; border-radius: 50px; font-weight: 700;
    text-decoration: none; font-size: 0.95rem;
    transition: all 0.3s; border: none; cursor: pointer;
    display: inline-flex; align-items: center; gap: 0.5rem;
}
.hero-cta:hover { background: var(--travel-gold-light); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(242,189,51,0.35); }

/* ===== SECTIONS ===== */
.section { padding: 5rem 2rem; }
.container { max-width: 1280px; margin: 0 auto; }
.section-title {
    font-size: 2.2rem; font-weight: 800; color: var(--travel-blue);
    margin-bottom: 0.8rem; text-align: center;
}
.section-subtitle { color: #64748b; font-size: 1.05rem; max-width: 600px; margin: 0 auto 3rem; text-align: center; }

/* ===== FEATURES ===== */
.features-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
}
.feature-card {
    background: white; border-radius: 16px; padding: 2.5rem 2rem;
    text-align: center; border: 1px solid #e2e8f0;
    transition: all 0.3s;
}
.feature-card:hover { transform: translateY(-5px); box-shadow: 0 12px 40px rgba(16,34,70,0.08); border-color: var(--travel-gold); }
.feature-icon {
    width: 64px; height: 64px; border-radius: 16px;
    background: linear-gradient(135deg, var(--travel-blue), var(--travel-blue-light));
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.2rem; color: var(--travel-gold);
}
.feature-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--travel-blue); margin-bottom: 0.6rem; }
.feature-card p { color: #64748b; font-size: 0.9rem; line-height: 1.6; }

/* ===== PACKAGE CARDS ===== */
.packages-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
}
.package-card {
    background: white; border-radius: 20px; overflow: hidden;
    border: 1px solid #e2e8f0; transition: all 0.4s;
    display: flex; flex-direction: column; text-decoration: none; color: inherit;
}
.package-card:hover { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(16,34,70,0.12); }
.package-image {
    position: relative; height: 220px; overflow: hidden;
}
.package-image img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.5s;
}
.package-card:hover .package-image img { transform: scale(1.08); }
.package-price-badge {
    position: absolute; bottom: 12px; right: 12px;
    background: var(--travel-gold); color: var(--travel-blue);
    padding: 0.4rem 1rem; border-radius: 50px;
    font-weight: 800; font-size: 0.85rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.package-info { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.package-title {
    font-size: 1.15rem; font-weight: 700; color: var(--travel-blue);
    margin-bottom: 0.3rem;
}
.package-hotel {
    font-size: 0.8rem; color: #64748b; margin-bottom: 0.8rem;
    display: flex; align-items: center; gap: 0.3rem;
}
.package-desc {
    font-size: 0.85rem; color: #475569; line-height: 1.6;
    flex: 1; margin-bottom: 1rem;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.package-meta {
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 1rem; border-top: 1px solid #f1f5f9;
}
.package-dates { font-size: 0.78rem; color: #64748b; display: flex; align-items: center; gap: 0.3rem; }
.package-cta {
    color: var(--travel-blue); font-size: 0.85rem; font-weight: 700;
    transition: color 0.3s;
}
.package-card:hover .package-cta { color: var(--travel-gold-dark); }

/* Scroll dots for carousel */
.packages-dots {
    display: none;
    justify-content: center; gap: 6px; margin-top: 1.2rem;
}
.packages-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: #cbd5e1; transition: all 0.3s;
    cursor: pointer;
}
.packages-dot.active {
    background: var(--travel-blue); width: 20px; border-radius: 3px;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, var(--travel-blue), var(--travel-blue-light));
    color: white; text-align: center; padding: 5rem 2rem;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--travel-blue-dark); color: rgba(255,255,255,0.7);
    padding: 4rem 2rem 2rem;
}
.footer-container { max-width: 1280px; margin: 0 auto; }
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem;
}
.footer-brand { font-size: 1.4rem; font-weight: 800; color: white; margin-bottom: 0.8rem; }
.footer-text { font-size: 0.85rem; line-height: 1.7; }
.footer-title { color: var(--travel-gold); font-size: 0.9rem; font-weight: 700; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 1px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.85rem; transition: color 0.3s; }
.footer-links a:hover { color: var(--travel-gold); }
.footer-bottom {
    margin-top: 3rem; padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center; font-size: 0.8rem;
}

/* ===== WHATSAPP BTN ===== */
.whatsapp-float {
    position: fixed; bottom: 24px; right: 24px; z-index: 90;
    width: 60px; height: 60px; border-radius: 50%;
    background: #25d366; color: white;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 20px rgba(37,211,102,0.4);
    transition: all 0.3s; text-decoration: none;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 8px 30px rgba(37,211,102,0.5); }

/* ===== CHATBOT ===== */
.chatbot-toggle {
    position: fixed; bottom: 96px; right: 24px; z-index: 90;
    width: 56px; height: 56px; border-radius: 50%;
    background: var(--travel-gold); color: var(--travel-blue);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 20px rgba(242,189,51,0.4);
    border: none; cursor: pointer; transition: all 0.3s;
    animation: chatPulse 3s ease-in-out infinite;
}
.chatbot-toggle:hover { transform: scale(1.1); animation: none; }
.chatbot-toggle.has-window-open { animation: none; }

@keyframes chatPulse {
    0%, 100% { box-shadow: 0 6px 20px rgba(242,189,51,0.4); }
    50% { box-shadow: 0 6px 30px rgba(242,189,51,0.7), 0 0 0 12px rgba(242,189,51,0.15); }
}

.chatbot-tooltip {
    position: fixed; bottom: 112px; right: 90px; z-index: 89;
    background: white; color: var(--travel-blue);
    padding: 0.7rem 1rem; border-radius: 14px;
    font-size: 0.82rem; font-weight: 500; line-height: 1.4;
    box-shadow: 0 6px 25px rgba(0,0,0,0.12);
    max-width: 210px;
    opacity: 0; transform: translateX(10px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
    border: 1px solid #e2e8f0;
}
.chatbot-tooltip.visible {
    opacity: 1; transform: translateX(0) scale(1);
    pointer-events: auto;
}
.chatbot-tooltip::after {
    content: ''; position: absolute;
    top: 50%; right: -8px; transform: translateY(-50%);
    border: 8px solid transparent;
    border-right: none;
    border-left: 8px solid white;
    filter: drop-shadow(2px 0 1px rgba(0,0,0,0.05));
}
.chatbot-tooltip-close {
    position: absolute; top: 4px; right: 6px;
    background: none; border: none; cursor: pointer;
    color: #94a3b8; font-size: 0.75rem; padding: 2px;
    line-height: 1; transition: color 0.2s;
}
.chatbot-tooltip-close:hover { color: var(--travel-blue); }
.chatbot-toggle.entrance {
    animation: chatEntrance 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards, chatPulse 3s ease-in-out 3s infinite;
}
@keyframes chatEntrance {
    0% { opacity: 0; transform: scale(0) translateY(30px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}
.chatbot-window {
    position: fixed; bottom: 164px; right: 24px; z-index: 100;
    width: 380px; height: 520px;
    background: white; border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    display: none; flex-direction: column; overflow: hidden;
}
.chatbot-window.active { display: flex; animation: slideUp 0.3s ease; }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.chatbot-header {
    background: var(--travel-blue); color: white;
    padding: 1rem 1.2rem; display: flex; align-items: center; justify-content: space-between;
}
.chatbot-header-info { display: flex; align-items: center; gap: 0.7rem; }
.chatbot-avatar {
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--travel-gold); color: var(--travel-blue);
    display: flex; align-items: center; justify-content: center;
}
.chatbot-header-title { font-weight: 700; font-size: 0.9rem; }
.chatbot-header-status { font-size: 0.7rem; opacity: 0.7; }
.chatbot-close { background: none; border: none; color: rgba(255,255,255,0.7); cursor: pointer; padding: 4px; transition: color 0.2s; }
.chatbot-close:hover { color: white; }
.chatbot-messages {
    flex: 1; overflow-y: auto; padding: 1rem;
    display: flex; flex-direction: column; gap: 0.8rem;
    background: #f8fafc;
}
.chatbot-message { display: flex; }
.chatbot-message.assistant { justify-content: flex-start; }
.chatbot-message.user { justify-content: flex-end; }
.chatbot-bubble {
    max-width: 85%; padding: 0.7rem 1rem;
    border-radius: 16px; font-size: 0.85rem; line-height: 1.5;
    animation: fadeIn 0.2s ease;
}
@keyframes fadeIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
.chatbot-message.assistant .chatbot-bubble {
    background: white; color: #334155;
    border-bottom-left-radius: 4px; box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.chatbot-message.user .chatbot-bubble {
    background: var(--travel-blue); color: white;
    border-bottom-right-radius: 4px;
}
.chatbot-bubble.typing { display: flex; gap: 4px; align-items: center; }
.typing-dot {
    width: 8px; height: 8px; background: #94a3b8; border-radius: 50%;
    animation: bounce 1.4s infinite both;
}
.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes bounce { 0%, 80%, 100% { transform: scale(0.6); } 40% { transform: scale(1); } }
.chatbot-input-area {
    padding: 0.8rem; border-top: 1px solid #e2e8f0;
    display: flex; gap: 0.5rem; background: white;
}
.chatbot-input {
    flex: 1; padding: 0.65rem 1rem; border: 2px solid #e2e8f0;
    border-radius: 50px; font-size: 0.85rem; font-family: inherit;
    outline: none; transition: border-color 0.3s;
}
.chatbot-input:focus { border-color: var(--travel-gold); }
.chatbot-send {
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--travel-gold); border: none; cursor: pointer;
    color: var(--travel-blue); display: flex; align-items: center; justify-content: center;
    transition: all 0.3s; flex-shrink: 0;
}
.chatbot-send:hover { background: var(--travel-gold-dark); }
.chatbot-send:disabled { opacity: 0.5; cursor: not-allowed; }

/* ===== DETAIL PAGE ===== */
.detail-hero {
    position: relative; height: 45vh; min-height: 350px;
    background-size: cover; background-position: center;
    display: flex; align-items: flex-end;
}
.detail-hero .hero-overlay {
    background: linear-gradient(to top, rgba(16,34,70,0.95) 0%, rgba(16,34,70,0.3) 50%, transparent 100%);
}
.detail-hero-content { position: relative; z-index: 2; padding: 2rem; width: 100%; max-width: 1280px; margin: 0 auto; }
.detail-back { color: var(--travel-gold); font-size: 0.85rem; font-weight: 600; margin-bottom: 0.5rem; display: inline-block; transition: opacity 0.2s; }
.detail-back:hover { opacity: 0.8; }
.detail-hero-title { font-size: 2.5rem; font-weight: 800; color: white; margin-bottom: 0.3rem; }
.detail-hero-hotel { color: rgba(255,255,255,0.8); font-size: 1rem; display: flex; align-items: center; gap: 0.4rem; }

.detail-grid {
    display: grid; grid-template-columns: 1fr 380px; gap: 2rem;
    align-items: start;
}
.detail-card {
    background: white; border-radius: 16px; padding: 1.5rem;
    border: 1px solid #e2e8f0; margin-bottom: 1.5rem;
}
.detail-card-title { font-size: 1.2rem; font-weight: 700; color: var(--travel-blue); margin-bottom: 1rem; }

.detail-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.detail-info-item {
    display: flex; align-items: flex-start; gap: 0.8rem;
    padding: 0.8rem; background: #f8fafc; border-radius: 12px;
}
.detail-info-item svg { color: var(--travel-gold-dark); flex-shrink: 0; margin-top: 2px; }
.detail-info-item strong { display: block; font-size: 0.75rem; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.5px; }
.detail-info-item span { font-size: 0.9rem; font-weight: 600; color: var(--travel-blue); }

.adicionales-list { display: flex; flex-direction: column; gap: 0.5rem; }
.adicional-item {
    display: flex; justify-content: space-between; align-items: center;
    padding: 0.7rem 1rem; background: #f8fafc; border-radius: 10px;
    border: 1px solid #e2e8f0;
}
.adicional-item span:first-child { font-size: 0.9rem; color: #475569; }
.adicional-precio { font-weight: 700; color: var(--travel-blue); font-size: 0.9rem; }

.pricing-card {
    background: white; border-radius: 20px; overflow: hidden;
    border: 1px solid #e2e8f0; box-shadow: 0 8px 30px rgba(16,34,70,0.08);
    position: sticky; top: 100px;
}
.pricing-header {
    background: var(--travel-blue); color: white; padding: 1.5rem;
    text-align: center;
}
.pricing-from { font-size: 0.8rem; opacity: 0.7; }
.pricing-price { font-size: 2.2rem; font-weight: 900; color: var(--travel-gold); margin: 0.2rem 0; }
.pricing-per { font-size: 0.8rem; opacity: 0.7; }
.pricing-body { padding: 1.2rem 1.5rem; }
.dates-list { display: flex; flex-direction: column; gap: 0.6rem; }
.date-option {
    padding: 0.8rem; border: 2px solid #e2e8f0; border-radius: 12px;
    cursor: pointer; transition: all 0.2s;
}
.date-option:hover, .date-option.active { border-color: var(--travel-gold); background: rgba(242,189,51,0.05); }
.date-info { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.4rem; }
.date-day { font-weight: 700; color: var(--travel-blue); font-size: 0.85rem; }
.date-price { font-weight: 800; color: var(--travel-blue); font-size: 0.95rem; }
.availability-bar { height: 4px; background: #e2e8f0; border-radius: 2px; margin-bottom: 0.3rem; }
.availability-fill { height: 100%; background: var(--travel-gold); border-radius: 2px; transition: width 0.3s; }
.availability-text { font-size: 0.72rem; color: #64748b; }
.availability-text.low { color: #ef4444; font-weight: 600; }
.pricing-footer { padding: 1.2rem 1.5rem; border-top: 1px solid #e2e8f0; }
.pricing-btn {
    display: flex; align-items: center; justify-content: center; gap: 0.5rem;
    width: 100%; padding: 0.9rem; border-radius: 50px;
    background: #25d366; color: white; font-weight: 700; font-size: 0.95rem;
    transition: all 0.3s; text-decoration: none;
}
.pricing-btn:hover { background: #22c55e; transform: translateY(-1px); box-shadow: 0 4px 15px rgba(37,211,102,0.3); }

/* Mobile pricing bottom bar */
.pricing-bar-mobile {
    display: none;
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 80;
    background: white;
    padding: 0.85rem 1.25rem;
    padding-bottom: calc(0.85rem + var(--safe-bottom));
    box-shadow: 0 -4px 24px rgba(16,34,70,0.12);
    border-top: 1px solid #e2e8f0;
    align-items: center; gap: 1rem;
}
.pricing-bar-info { flex: 1; }
.pricing-bar-label { font-size: 0.7rem; color: #94a3b8; font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; }
.pricing-bar-price { font-size: 1.4rem; font-weight: 900; color: var(--travel-blue); line-height: 1.1; }
.pricing-bar-per { font-size: 0.7rem; color: #64748b; }
.pricing-bar-btn {
    background: #25d366; color: white; font-weight: 700; font-size: 0.9rem;
    padding: 0.75rem 1.4rem; border-radius: 50px; white-space: nowrap;
    text-decoration: none; display: flex; align-items: center; gap: 0.4rem;
    transition: all 0.2s; flex-shrink: 0;
}
.pricing-bar-btn:active { transform: scale(0.96); background: #22c55e; }

/* ===== SEAT MAP ===== */
.seat-legend {
    display: flex; justify-content: center; gap: 1.5rem;
    margin-bottom: 1rem; padding: 0.8rem; background: #f8fafc; border-radius: 10px;
}
.seat-legend-item { display: flex; align-items: center; gap: 0.4rem; font-size: 0.8rem; color: #475569; font-weight: 500; }
.seat-legend-color {
    width: 20px; height: 20px; border-radius: 5px; border: 2px solid;
}
.seat-legend-color.seat-libre { background: #dbeafe; border-color: #93c5fd; }
.seat-legend-color.seat-ocupado { background: #fecaca; border-color: #f87171; }
.seat-section-title {
    text-align: center; font-weight: 700; font-size: 0.85rem;
    color: var(--travel-blue); padding: 0.6rem; margin: 1rem 0 0.5rem;
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0); border-radius: 8px;
    border-left: 4px solid var(--travel-blue);
}
.seat-row { display: flex; gap: 4px; justify-content: center; margin-bottom: 4px; }
.seat {
    width: 32px; height: 32px; border-radius: 7px; font-size: 0.6rem;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; transition: all 0.2s; user-select: none;
    border: 2px solid;
}
.seat.seat-libre { background: #dbeafe; color: #3b82f6; border-color: #93c5fd; }
.seat.seat-ocupado { background: #fecaca; color: #dc2626; border-color: #f87171; }
.seat.seat-espacio { background: transparent; border: none; color: #94a3b8; font-size: 0.55rem; }
.seat-stats {
    text-align: center; margin-top: 1rem; padding: 0.8rem;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border-radius: 8px; border: 1px solid #93c5fd;
    font-size: 0.85rem; color: #1e40af;
}
.seat-stats strong { color: var(--travel-blue); }

/* ===== PROMOTIONS ===== */
.package-promo-badge {
    position: absolute; top: 12px; left: 12px;
    background: #ef4444; color: white;
    padding: 0.3rem 0.8rem; border-radius: 50px;
    font-weight: 800; font-size: 0.7rem;
    text-transform: uppercase; letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(239,68,68,0.4);
    animation: promoPulse 2s ease-in-out infinite;
    z-index: 2;
}
@keyframes promoPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}
.price-old {
    text-decoration: line-through; opacity: 0.7;
    font-weight: 400; font-size: 0.75rem; margin-right: 0.3rem;
}
.detail-promo-badge {
    display: inline-block; background: #ef4444; color: white;
    padding: 0.35rem 1rem; border-radius: 50px;
    font-weight: 800; font-size: 0.75rem;
    text-transform: uppercase; letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}
.pricing-promo-label {
    background: #ef4444; color: white;
    padding: 0.3rem 0.8rem; border-radius: 50px;
    font-size: 0.7rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: 0.5px;
    display: inline-block; margin-bottom: 0.5rem;
}
.pricing-price-old {
    font-size: 1.1rem; color: rgba(255,255,255,0.5);
    text-decoration: line-through; font-weight: 400;
}

/* ===== GALLERY ===== */
.gallery-main {
    position: relative; border-radius: 12px; overflow: hidden;
    margin-bottom: 0.8rem; aspect-ratio: 16/10;
}
.gallery-main img {
    width: 100%; height: 100%; object-fit: cover;
    transition: opacity 0.3s;
}
.gallery-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(0,0,0,0.5); color: white; border: none;
    width: 36px; height: 36px; border-radius: 50%;
    font-size: 1rem; cursor: pointer; transition: background 0.2s;
    display: flex; align-items: center; justify-content: center;
}
.gallery-nav:hover { background: rgba(0,0,0,0.7); }
.gallery-prev { left: 10px; }
.gallery-next { right: 10px; }
.gallery-thumbs {
    display: flex; gap: 0.5rem; overflow-x: auto;
    padding-bottom: 0.3rem;
}
.gallery-thumb {
    width: 70px; height: 50px; object-fit: cover;
    border-radius: 8px; cursor: pointer;
    border: 2px solid transparent; opacity: 0.6;
    transition: all 0.2s; flex-shrink: 0;
}
.gallery-thumb:hover { opacity: 0.9; }
.gallery-thumb.active { border-color: var(--travel-gold); opacity: 1; }

/* ===== CONTACT FORM ===== */
.form-row-public {
    display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
    margin-bottom: 0.8rem;
}
.form-group-public label {
    display: block; font-size: 0.8rem; font-weight: 600;
    color: #475569; margin-bottom: 0.3rem;
}
.form-group-public input,
.form-group-public textarea {
    width: 100%; padding: 0.6rem 0.9rem;
    border: 2px solid #e2e8f0; border-radius: 10px;
    font-size: 0.85rem; font-family: inherit;
    transition: border-color 0.2s; background: #f8fafc;
}
.form-group-public input:focus,
.form-group-public textarea:focus {
    outline: none; border-color: var(--travel-gold); background: white;
}
.form-group-public textarea { resize: vertical; min-height: 70px; }
.consulta-submit-btn {
    width: 100%; padding: 0.8rem; margin-top: 0.5rem;
    background: var(--travel-blue); color: white;
    border: none; border-radius: 50px; font-weight: 700;
    font-size: 0.9rem; cursor: pointer; font-family: inherit;
    transition: all 0.3s;
}
.consulta-submit-btn:hover { background: var(--travel-blue-light); transform: translateY(-1px); }
.consulta-submit-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.form-alert {
    padding: 0.7rem 1rem; border-radius: 10px;
    font-size: 0.85rem; margin-bottom: 1rem;
}
.form-alert-success { background: #d1fae5; color: #065f46; border: 1px solid #6ee7b7; }
.form-alert-error { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }

.pricing-btn-secondary {
    display: flex; align-items: center; justify-content: center; gap: 0.5rem;
    width: 100%; padding: 0.8rem; border-radius: 50px;
    background: white; color: var(--travel-blue);
    border: 2px solid var(--travel-blue);
    font-weight: 700; font-size: 0.9rem;
    transition: all 0.3s; text-decoration: none;
}
.pricing-btn-secondary:hover { background: var(--travel-blue); color: white; }

/* ===== ANIMATIONS ===== */
.fade-up {
    opacity: 0; transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(0.4,0,0.2,1), transform 0.6s cubic-bezier(0.4,0,0.2,1);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ===== TABLET ===== */
@media (max-width: 1024px) {
    .packages-grid { grid-template-columns: repeat(2, 1fr); }
    .detail-grid { grid-template-columns: 1fr; }
    .pricing-card { position: static; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {

    /* Global mobile base */
    html { -webkit-overflow-scrolling: touch; }
    body { overscroll-behavior-y: none; }

    /* Remove tap highlight */
    * { -webkit-tap-highlight-color: transparent; }

    /* Inputs don't zoom on iOS (must be 16px+) */
    input, select, textarea { font-size: 16px !important; }

    /* No user select on interactive elements */
    button, .navbar-brand, .navbar-toggle { -webkit-user-select: none; user-select: none; }

    /* Active tap feedback */
    .package-card:active { transform: scale(0.98) !important; transition: transform 0.1s; }
    .hero-cta:active { transform: scale(0.97) !important; }
    .navbar-cta:active { transform: scale(0.97) !important; }
    .pricing-btn:active { transform: scale(0.98) !important; }
    .whatsapp-float:active { transform: scale(0.92) !important; }
    .chatbot-toggle:active { transform: scale(0.92) !important; }
    .date-option:active { background: rgba(242,189,51,0.08) !important; }

    /* ---- NAVBAR ---- */
    .navbar {
        background: var(--travel-blue) !important;
        padding: 0;
        height: calc(56px + var(--safe-top));
        display: flex; align-items: flex-end;
        padding-bottom: 0;
        z-index: 70;
    }
    .navbar-container {
        padding: 0 1.1rem 0.7rem;
        width: 100%;
    }
    .navbar.scrolled {
        padding: 0;
        box-shadow: 0 2px 16px rgba(0,0,0,0.2);
    }
    .navbar-brand { font-size: 1.25rem; }
    .navbar-toggle {
        display: flex;
        position: relative;
    }
    .navbar-toggle:active { background: rgba(255,255,255,0.2); }

    /* Mobile menu slide-in from right */
    .navbar-links {
        display: flex !important;
        position: fixed;
        top: 0; right: 0; bottom: 0;
        width: min(320px, 85vw);
        background: var(--travel-blue-dark);
        flex-direction: column;
        justify-content: center; align-items: flex-start;
        gap: 0; padding: 2rem 1.5rem;
        padding-top: calc(2rem + var(--safe-top));
        padding-bottom: calc(2rem + var(--safe-bottom));
        z-index: 60;
        transform: translateX(100%);
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -8px 0 40px rgba(0,0,0,0.3);
        overflow-y: auto;
    }
    .navbar-links.active { transform: translateX(0); }
    .nav-backdrop { display: block; }

    .navbar-links a {
        color: rgba(255,255,255,0.8);
        font-size: 1.15rem; font-weight: 600;
        padding: 0.9rem 0;
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.06);
        opacity: 0; transform: translateX(20px);
        transition: opacity 0.3s, transform 0.3s, color 0.2s;
    }
    .navbar-links.active a { opacity: 1; transform: translateX(0); }
    .navbar-links.active a:nth-child(1) { transition-delay: 0.07s; }
    .navbar-links.active a:nth-child(2) { transition-delay: 0.12s; }
    .navbar-links.active a:nth-child(3) { transition-delay: 0.17s; }
    .navbar-links.active a:nth-child(4) { transition-delay: 0.22s; }
    .navbar-links.active a:nth-child(5) { transition-delay: 0.27s; }
    .navbar-links a:hover { color: var(--travel-gold); }
    .navbar-links a.navbar-cta {
        margin-top: 1.5rem;
        border-bottom: none;
        border-radius: 50px;
        padding: 0.7rem 1.4rem;
        background: var(--travel-gold);
        color: var(--travel-blue) !important;
        display: inline-flex; width: auto;
        font-size: 0.95rem;
        transform: translateX(20px);
    }
    .navbar-links.active a.navbar-cta { transform: translateX(0); }

    /* ---- HERO ---- */
    .hero {
        min-height: 100svh;
        background-attachment: scroll; /* iOS fix */
    }
    .hero-title { font-size: clamp(1.85rem, 8vw, 2.6rem); }
    .hero-subtitle { font-size: 0.95rem; margin-bottom: 2rem; }
    .hero-content { padding: 1.5rem 1.25rem; }
    .hero-cta { padding: 0.85rem 2rem; font-size: 0.9rem; }

    /* ---- SECTIONS ---- */
    .section { padding: 2.8rem 1.25rem; }
    .section-title { font-size: 1.65rem; margin-bottom: 0.6rem; }
    .section-subtitle { font-size: 0.88rem; margin-bottom: 1.8rem; }

    /* ---- FEATURES ---- */
    .features-grid { grid-template-columns: 1fr; gap: 0.85rem; }
    .feature-card {
        padding: 1.1rem 1.25rem;
        text-align: left;
        display: flex; align-items: center; gap: 1rem;
        border-radius: 14px;
    }
    .feature-card:hover { transform: none; box-shadow: none; border-color: #e2e8f0; }
    .feature-icon { width: 48px; height: 48px; margin: 0; flex-shrink: 0; border-radius: 12px; }
    .feature-icon svg { width: 24px; height: 24px; }
    .feature-card h3 { font-size: 0.95rem; margin-bottom: 0.2rem; }
    .feature-card p { font-size: 0.82rem; line-height: 1.5; }

    /* ---- PACKAGES — horizontal snap carousel ---- */
    .packages-grid {
        display: flex;
        gap: 1rem;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding: 0.25rem 1.25rem 1rem;
        margin: 0 -1.25rem;
        scrollbar-width: none;
        -ms-overflow-style: none;
        overscroll-behavior-x: contain;
    }
    .packages-grid::-webkit-scrollbar { display: none; }
    .package-card {
        min-width: 74vw;
        max-width: 300px;
        flex-shrink: 0;
        scroll-snap-align: start;
        border-radius: 16px;
    }
    .package-card:hover { transform: none; box-shadow: none; }
    .package-image { height: 185px; }
    .package-info { padding: 1.1rem; }
    .package-title { font-size: 1rem; }
    .packages-dots { display: flex; }

    /* ---- CTA SECTION ---- */
    .cta-section { padding: 2.5rem 1.25rem; }
    .cta-section h2 { font-size: 1.55rem !important; }
    .cta-section p { font-size: 0.9rem !important; }

    /* ---- FOOTER ---- */
    .footer { padding: 2.5rem 1.25rem 1.5rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .footer-brand { font-size: 1.2rem; }
    .footer-bottom { margin-top: 1.5rem; padding-top: 1rem; font-size: 0.75rem; }

    /* ---- DETAIL PAGE ---- */
    .detail-hero {
        min-height: 45vh;
        height: auto;
        padding-top: calc(56px + var(--safe-top));
    }
    .detail-hero-title { font-size: 1.5rem; }
    .detail-hero-content { padding: 1.25rem; }
    .detail-back { font-size: 0.8rem; }
    .detail-grid { grid-template-columns: 1fr; gap: 0; }
    .detail-card { border-radius: 12px; margin-bottom: 0.75rem; padding: 1.1rem; }
    .detail-card-title { font-size: 1rem; margin-bottom: 0.75rem; }
    .detail-info-grid { grid-template-columns: 1fr 1fr; gap: 0.6rem; }
    .detail-info-item { padding: 0.6rem; border-radius: 10px; gap: 0.6rem; }
    .detail-info-item strong { font-size: 0.68rem; }
    .detail-info-item span { font-size: 0.82rem; }

    /* Detail section padding-bottom for fixed bar */
    .section.detail-section { padding-bottom: calc(2.8rem + 80px); }

    /* Hide desktop pricing card, show bottom bar */
    .pricing-card { display: none !important; }
    .pricing-bar-mobile {
        display: flex;
        transform: translateY(100%);
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .pricing-bar-mobile.visible { transform: translateY(0); }

    /* ---- CHATBOT — bottom sheet on mobile ---- */
    .chatbot-window {
        width: 100%; right: 0; left: 0;
        bottom: 0;
        height: 72vh;
        border-radius: 20px 20px 0 0;
        padding-bottom: var(--safe-bottom);
    }
    .chatbot-window.active {
        animation: slideUpSheet 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    }
    @keyframes slideUpSheet {
        from { transform: translateY(100%); opacity: 0; }
        to   { transform: translateY(0);    opacity: 1; }
    }
    .chatbot-tooltip { display: none; }

    /* ---- FLOATING BUTTONS ---- */
    .whatsapp-float {
        width: 52px; height: 52px;
        bottom: calc(16px + var(--safe-bottom));
        right: 16px;
    }
    .whatsapp-float svg { width: 24px; height: 24px; }
    .chatbot-toggle {
        width: 48px; height: 48px;
        bottom: calc(80px + var(--safe-bottom));
        right: 16px;
    }
    /* Lift floats when pricing bar is visible (paquete.php) */
    body:has(.pricing-bar-mobile.visible) .whatsapp-float {
        bottom: calc(80px + var(--safe-bottom));
    }
    body:has(.pricing-bar-mobile.visible) .chatbot-toggle {
        bottom: calc(144px + var(--safe-bottom));
    }
    .chatbot-toggle svg { width: 22px; height: 22px; }

    /* ---- MISC ---- */
    .form-row-public { grid-template-columns: 1fr; }
    .gallery-thumb { width: 55px; height: 40px; }
    .seat { width: 26px; height: 26px; font-size: 0.5rem; border-radius: 5px; }
    .seat-legend { flex-wrap: wrap; gap: 0.6rem; justify-content: center; }
    .seat-section-title { font-size: 0.78rem; }
}

/* ===== VERY SMALL SCREENS ===== */
@media (max-width: 380px) {
    .hero-title { font-size: 1.6rem; }
    .package-card { min-width: 83vw; }
    .navbar-brand { font-size: 1.1rem; }
}

/* ===== LANDSCAPE MOBILE ===== */
@media (max-width: 768px) and (orientation: landscape) {
    .hero { min-height: 100vw; }
    .navbar-links { width: min(280px, 70vw); }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.15ms !important;
    }
    .fade-up { opacity: 1; transform: none; }
}
