:root {
    --primary: #0b3c46; 
    --primary-dark: #07272e;
    --accent: #e36414;  
    --whatsapp: #25d366;
    --dark: #0f172a;
    --text-muted: #64748b;
    --light-bg: #f8fafc;
    --white: #ffffff;
    --radius: 16px;
}

* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
    font-family: 'Segoe UI', Roboto, -apple-system, sans-serif; 
}

body { 
    background-color: var(--light-bg); 
    color: var(--dark); 
    -webkit-font-smoothing: antialiased; 
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Premium Navigation Header */
.top-nav-bar {
    background: var(--white);
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
}
.nav-flex {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.85rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.brand-logo {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -0.5px;
}
.brand-logo span { color: var(--accent); }
.nav-contacts a {
    color: var(--white);
    background: var(--whatsapp);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.6rem 1.25rem;
    border-radius: 8px;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    box-shadow: 0 4px 10px rgba(37,211,102,0.2);
}
.nav-contacts a:hover {
    background: #20ba5a;
    transform: translateY(-1px);
}

/* Immersive Hero Section */
header { 
    background: linear-gradient(to bottom, rgba(11,60,70,0.85), rgba(15,23,42,0.95)), url('https://images.unsplash.com/photo-1469854523086-cc02fe5d8800?auto=format&fit=crop&w=1200&q=80') center/cover no-repeat; 
    color: white; 
    padding: 5.5rem 1rem 9rem 1rem; 
    text-align: center;
}
header h1 { font-size: 3rem; font-weight: 800; letter-spacing: -0.5px; margin-bottom: 0.5rem; }
header p { font-size: 1.15rem; opacity: 0.85; max-width: 600px; margin: 0.5rem auto 0 auto; line-height: 1.5; }

/* Main Container Alignment */
.container { max-width: 1200px; margin: -3.5rem auto 5rem auto; padding: 0 1.5rem; flex: 1; }
.main-content { max-width: 900px; margin: 2rem auto; padding: 0 1.5rem; }

/* Horizontal Filter Row Layout Section */
.filter-section { 
    background: var(--white); 
    padding: 1.5rem; 
    border-radius: var(--radius); 
    margin-bottom: 3.5rem; 
    box-shadow: 0 20px 40px -15px rgba(11,60,70,0.12);
    display: flex;
    flex-wrap: nowrap;
    gap: 1.25rem; 
    align-items: flex-end;
    border: 1px solid #edf2f7;
}
.filter-group { flex: 2; display: flex; flex-direction: column; gap: 0.5rem; }
.filter-group label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; color: var(--text-muted); letter-spacing: 0.5px; }
.filter-section select { 
    width: 100%;
    padding: 0 1rem; 
    border: 1px solid #e2e8f0; 
    border-radius: 8px; 
    font-size: 0.95rem; 
    background-color: #f8fafc; 
    color: var(--dark);
    outline: none; 
    font-weight: 600;
    height: 50px;
    cursor: pointer;
    transition: all 0.2s;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2364748b' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: calc(100% - 1rem) center;
}
.filter-section select:focus { border-color: var(--primary); background-color: var(--white); }

.action-buttons { flex: 1; display: flex; gap: 0.5rem; height: 50px; }
.filter-btn { 
    background: var(--primary); 
    color: white; 
    border: none; 
    height: 50px;
    border-radius: 8px; 
    font-weight: 700; 
    cursor: pointer; 
    font-size: 0.95rem; 
    flex: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s; 
}
.filter-btn:hover { background: var(--primary-dark); transform: translateY(-1px); }

.reset-btn { 
    background: #e2e8f0; 
    color: #475569; 
    text-decoration: none; 
    height: 50px;
    border-radius: 8px; 
    font-size: 0.95rem; 
    font-weight: 600; 
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    transition: all 0.2s; 
}
.reset-btn:hover { background: #cbd5e1; }

/* Desktop Multi-Column Grid Layout */
.tour-grid { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 2rem; 
    justify-content: center;
    width: 100%;
}

.tour-card { 
    background: var(--white); 
    border-radius: var(--radius); 
    overflow: hidden; 
    box-shadow: 0 10px 30px -10px rgba(15,23,42,0.06);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1); 
    position: relative; 
    display: flex; 
    flex-direction: column; 
    border: 1px solid #f1f5f9;
}
.tour-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px -10px rgba(15,23,42,0.12); }

.tour-image-wrapper { width: 100%; height: 240px; position: relative; overflow: hidden; background: #e2e8f0; }
.tour-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.tour-card:hover .tour-img { transform: scale(1.06); }

.tag-container {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    right: 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 5;
}
.badge { background: var(--accent); color: white; padding: 0.4rem 0.9rem; border-radius: 30px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.state-tag { background: rgba(15, 23, 42, 0.75); backdrop-filter: blur(4px); color: white; padding: 0.4rem 0.85rem; border-radius: 6px; font-size: 0.75rem; font-weight: 600; }

.save-badge { 
    position: absolute; 
    bottom: 1.25rem; 
    left: 1.25rem; 
    background: #dc2626; 
    color: white; 
    padding: 0.35rem 0.75rem; 
    border-radius: 6px; 
    font-size: 0.75rem; 
    font-weight: 700; 
    z-index: 5; 
    box-shadow: 0 4px 10px rgba(220,38,38,0.3); 
    text-transform: uppercase; 
}

.tour-info { padding: 2rem 1.75rem; display: flex; flex-direction: column; flex-grow: 1; }
.tour-duration { font-size: 0.85rem; color: var(--text-muted); font-weight: 700; margin-bottom: 0.6rem; text-transform: uppercase; letter-spacing: 0.5px; }
.tour-title { font-size: 1.4rem; color: var(--dark); font-weight: 700; line-height: 1.4; margin-bottom: 1.5rem; min-height: 3.8rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.tour-meta-footer { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 1.5rem; border-top: 1px solid #f1f5f9; }
.price-box .price-label { font-size: 0.75rem; color: var(--text-muted); display: block; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }

.price-container { display: flex; align-items: center; gap: 0.5rem; }
.price-amount { font-size: 1.6rem; font-weight: 800; color: var(--primary); }
.price-original { font-size: 0.95rem !important; text-decoration: line-through !important; color: var(--text-muted) !important; font-weight: 500 !important; display: inline-block !important;}

.view-details-btn { background: var(--primary); color: white; text-decoration: none; padding: 0.85rem 1.5rem; border-radius: 8px; font-weight: 700; font-size: 0.9rem; transition: all 0.2s; }
.view-details-btn:hover { background: var(--primary-dark); }

/* Inner Page Details Graphics */
.hero { position: relative; height: 50vh; min-height: 320px; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,23,42,0.95) 10%, rgba(15,23,42,0.4) 60%, transparent); }
.hero-content { position: absolute; bottom: 0; left: 0; right: 0; max-width: 900px; margin: 0 auto; padding: 3rem 2rem; color: white; z-index: 5; }
.hero-meta { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; background: var(--accent); display: inline-block; padding: 0.4rem 1rem; border-radius: 30px; margin-bottom: 0.75rem; box-shadow: 0 4px 10px rgba(227,100,20,0.3); }
.hero-title { font-size: 2.5rem; line-height: 1.2; font-weight: 800; }

.card-block { background: white; padding: 2rem; border-radius: var(--radius); margin-bottom: 2rem; box-shadow: 0 10px 25px -5px rgba(0,0,0,0.03); border: 1px solid #e2e8f0; }
.card-block h3 { margin-bottom: 1.25rem; color: var(--primary); font-size: 1.4rem; font-weight: 800; border-bottom: 2px solid #f1f5f9; padding-bottom: 0.75rem; }

.inc-exc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.list-box h4 { margin-bottom: 0.75rem; font-size: 0.85rem; text-transform: uppercase; font-weight: 700; }
.list-box ul { list-style: none; }
.list-box li { margin-bottom: 0.75rem; font-size: 0.98rem; padding-left: 1.75rem; position: relative; color: #334155; line-height: 1.5; }
.inc-box h4 { color: #16a34a; }
.inc-box li::before { content: "✓"; position: absolute; left: 0; color: #16a34a; font-weight: 900; background: #f0fdf4; width: 20px; height: 20px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 0.75rem; }
.exc-box h4 { color: #dc2626; }
.exc-box li::before { content: "✕"; position: absolute; left: 0; color: #dc2626; font-weight: 900; background: #fef2f2; width: 20px; height: 20px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 0.75rem; }

/* Day Accordions */
.day-row { border: 1px solid #e2e8f0; border-radius: 12px; margin-bottom: 1rem; background: white; overflow: hidden; transition: all 0.3s; }
.day-row.active { border-color: var(--primary); box-shadow: 0 4px 12px rgba(11,60,70,0.05); }
.day-header { padding: 1.25rem; background: #f8fafc; font-weight: 700; color: var(--dark); cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-size: 1.1rem; }
.day-header:hover { background: #f1f5f9; }
.day-icon { font-size: 0.8rem; color: var(--text-muted); transition: transform 0.3s ease; }
.day-row.active .day-icon { transform: rotate(180deg); color: var(--primary); }

.day-body { max-height: 0; overflow: hidden; transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1); background: white; }
.day-row.active .day-body { max-height: 1000px; border-top: 1px solid #e2e8f0; }
.day-content-inner { padding: 1.5rem; line-height: 1.7; font-size: 1rem; color: #334155; }

/* Sticky Footer Dock Controls */
.sticky-action-dock { position: fixed; bottom: 0; left: 0; right: 0; background: rgba(255,255,255,0.9); backdrop-filter: blur(12px); border-top: 1px solid rgba(226, 232, 240, 0.8); padding: 1.25rem 3rem; display: flex; justify-content: center; align-items: center; gap: 4rem; box-shadow: 0 -10px 30px rgba(0,0,0,0.05); z-index: 1000; }
.dock-pricing { display: flex; align-items: baseline; gap: 0.35rem; }
.dock-pricing .starting-tag { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; font-weight: 700; margin-right: 0.5rem; }
.dock-pricing .final-cash { font-size: 2rem; font-weight: 800; color: var(--primary); line-height: 1; }
.dock-pricing .final-duration { font-size: 0.95rem; color: var(--text-muted); font-weight: 600; }

.whatsapp-btn { background: var(--whatsapp); color: white; text-decoration: none; padding: 1rem 2.5rem; border-radius: 12px; font-weight: 700; font-size: 1.05rem; display: inline-flex; align-items: center; gap: 0.75rem; box-shadow: 0 8px 20px rgba(37,211,102,0.25); transition: all 0.2s; }
.whatsapp-btn:hover { background: #20ba5a; transform: translateY(-2px); }
.discount-pill { background: #fef2f2; color: #dc2626; font-size: 0.75rem; padding: 0.15rem 0.5rem; border-radius: 4px; font-weight: 700; border: 1px solid #fee2e2; margin-left: 0.25rem; }

/* Institutional Footer */
footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 4rem 1.5rem 2rem 1.5rem;
    border-top: 4px solid var(--primary);
    margin-top: auto;
}
.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid #334155;
}
.footer-box h3 { color: var(--white); font-size: 1.3rem; font-weight: 800; margin-bottom: 1rem; }
.footer-box h3 span { color: var(--accent); }
.footer-box p { font-size: 0.95rem; line-height: 1.6; max-width: 400px; }
.footer-box h4 { color: var(--white); font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 1.25rem; }
.footer-box ul { list-style: none; }
.footer-box ul li { margin-bottom: 0.75rem; }
.footer-box ul li a { color: #94a3b8; text-decoration: none; font-size: 0.95rem; transition: color 0.2s; }
.footer-box ul li a:hover { color: var(--white); }
.footer-copy { max-width: 1200px; margin: 1.5rem auto 0 auto; text-align: center; font-size: 0.85rem; color: #64748b; }

/* Responsive Media Controls */
@media (max-width: 1024px) {
    .tour-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    header { padding: 4rem 1rem 6rem 1rem; }
    header h1 { font-size: 2.2rem; }
    .container { margin-top: -2.5rem; padding: 0 1rem; }
    
    .filter-section { flex-direction: column; width: 100%; gap: 1rem; padding: 1.25rem; }
    .filter-group { width: 100%; }
    .action-buttons { flex-direction: column; width: 100%; height: auto; gap: 0.5rem; }
    .filter-btn, .reset-btn { width: 100%; height: 50px; }
    
    .tour-grid { 
        grid-template-columns: 1fr; 
        gap: 1.75rem; 
    }
    .hero { height: 40vh; }
    .hero-title { font-size: 1.8rem; }
    .inc-exc-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .sticky-action-dock { padding: 1.25rem 1.5rem; flex-direction: column; gap: 1rem; text-align: center; }
    .dock-pricing { justify-content: center; }
    .whatsapp-btn { width: 100%; justify-content: center; }
}