﻿/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

/* Variables based on reference image */
:root {
    --bg-main: #0b1120;
    --bg-card: #141d31;
    --bg-card-hover: #1e2943;
    --primary: #3b82f6;
    --primary-hover: #2563eb;
    --primary-gradient: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    --secondary: #6366f1;
    --text-light: #ffffff;
    --text-muted: #9ca3af;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-light: rgba(255, 255, 255, 0.15);
    
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 8px;
    
    --shadow-soft: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px rgba(59, 130, 246, 0.4);
    --shadow-hover: 0 20px 40px -10px rgba(0, 0, 0, 0.7);
    
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-text,
.card,
.card-content,
.promo-content,
.newsletter-text,
.testimonial-card,
.footer-col {
    min-width: 0;
}

.hero-text h1,
.hero-text p,
.section-header h2,
.card-title,
.promo-title,
.newsletter-text h3,
.testimonial-comment,
.footer-col a {
    overflow-wrap: break-word;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
    -webkit-appearance: none;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    -webkit-user-select: none;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.6);
}

.btn-lg {
    padding: 10px 14px;
    font-size: 0.95rem;
    border-radius: var(--radius-md);
    width: fit-content;
    white-space: nowrap;
}

.full-width {
    width: 100%;
}

/* Top Bar */
.top-bar {
    background-color: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid var(--border-color);
    padding: 10px 0;
    font-size: 0.85rem;
    color: var(--text-muted);
    z-index: 1001;
    position: relative;
}

.top-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-contact {
    display: flex;
    gap: 20px;
}

.top-bar-contact a {
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-fast);
}

.top-bar-contact a:hover {
    color: var(--primary);
}

.top-bar-ticker {
    flex: 1;
    text-align: center;
    position: relative;
    height: 20px;
    overflow: hidden;
    color: var(--text-light);
    font-weight: 500;
}

.ticker-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease-in-out;
    white-space: nowrap;
    color: inherit;
}

.ticker-item.active {
    opacity: 1;
    transform: translateY(0);
}

a.ticker-item:hover {
    color: var(--primary);
}

.top-bar-social {
    display: flex;
    gap: 15px;
}

.top-bar-social a:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 45px; /* Height of top bar */
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled, .navbar.solid {
    top: 0;
    background-color: rgba(11, 17, 32, 0.95);
    -webkit-backdrop-filter: blur(10px); /* Safari support */
    backdrop-filter: blur(10px);
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.logo span {
    font-weight: 300;
    color: var(--text-muted);
}

.logo img {
    height: 40px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--text-light);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.theme-toggle {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    background: transparent;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition-fast);
}

.theme-toggle:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-1px);
}

.lang-switch {
    background: transparent;
    color: var(--text-light);
    border: 1px solid var(--border-color);
    padding: 5px 10px;
    border-radius: var(--radius-sm);
    font-family: inherit;
    cursor: pointer;
    outline: none;
}

.lang-switch option {
    background: var(--bg-main);
    color: var(--text-light);
}

.menu-btn {
    display: none;
    background: transparent;
    color: white;
    border: 1px solid var(--border-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
}

/* Hero Section */
.hero {
    position: relative;
    height: auto;
    padding: 100px 0 150px; /* Reduced padding */
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

/* Full screen hero background slider */
.hero-full-bg.slide {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    opacity: 0;
    display: block;
    -webkit-transition: opacity 1.5s ease-in-out, -webkit-transform 6s linear;
    transition: opacity 1.5s ease-in-out, transform 6s linear;
    transform: scale(1);
    -webkit-transform: scale(1);
    will-change: transform, opacity;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-perspective: 1000;
    perspective: 1000;
}

.hero-full-bg.slide.active {
    opacity: 1;
    transform: scale(1.08); /* Premium Ken Burns slow zoom */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(11, 17, 32, 0.95) 0%, rgba(11, 17, 32, 0.6) 40%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    z-index: 3;
    padding-top: 30px;
}

.hero-text {
    max-width: 500px;
    margin-left: auto;
    text-align: right; /* To match the Arabic reference, but we will keep LTR for text direction */
}
/* Reverting to left aligned since we are default EN */
.hero-text {
    margin-left: 0;
    margin-right: auto;
    text-align: left;
    min-height: 280px; /* Stabilize height for different text lengths */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-bottom: 15px;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    border: 1px solid var(--border-color);
}

.hero-text h1 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-light);
    min-height: 2.2em; /* Ensure space for 2 lines of title */
}

.hero-text h1 span {
    color: var(--primary);
}

.hero-text p {
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    color: var(--text-muted);
    margin-bottom: 20px;
}

.hero-side {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.slider-arrows {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.slider-arrow {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.22);
}

.slider-arrow i {
    font-size: 1.1rem;
}

.slider-arrow:hover {
    background: #fff;
    border-color: #fff;
    color: var(--text-dark);
    transform: translateX(4px);
}

.slider-arrow:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.45);
    outline-offset: 4px;
}

/* Booking Box Overlay */
.booking-box {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 1160px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-color);
    z-index: 10;
}

.booking-tabs {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 16px;
}

.tab {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.tab:hover {
    color: var(--text-light);
    background: rgba(255,255,255,0.05);
}

.tab.active {
    color: white;
    background: var(--primary-gradient);
}

.booking-form {
    display: flex;
    align-items: center;
    gap: 16px;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

.input-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(0, 0, 0, 0.2);
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.input-wrapper:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.input-wrapper i {
    color: var(--primary);
}

.input-wrapper input {
    background: transparent;
    border: none;
    color: var(--text-light);
    font-family: inherit;
    font-size: 0.95rem;
    width: 100%;
    outline: none;
}

.input-wrapper input::placeholder {
    color: var(--text-muted);
}

.input-wrapper input[type="date"]::-webkit-calendar-picker-indicator {
    -webkit-filter: invert(1);
    filter: invert(1);
    cursor: pointer;
}

.booking-date-input {
    direction: ltr;
    text-align: left;
}

.booking-date-input::placeholder {
    text-transform: lowercase;
}

.booking-date-picker {
    position: relative;
}

.booking-date-display {
    display: none;
}

.booking-date-native {
    position: static;
    width: 100%;
    height: auto;
    opacity: 1;
    cursor: pointer;
}

.swap-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-light);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 24px;
    transition: var(--transition);
}

.swap-btn:hover {
    background: var(--primary);
    transform: rotate(180deg);
}

.form-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
    margin-top: 24px;
}

.search-btn {
    height: 48px;
    margin-top: 24px;
    padding: 0 32px;
}

.form-message {
    margin-top: 10px;
    font-size: 0.9rem;
    text-align: center;
}
.form-message.error { color: #ef4444; }
.form-message.success { color: #10b981; }

.booking-form-overlay {
    position: absolute;
    inset: 0;
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 24px;
    text-align: center;
    color: var(--text-light);
    background: rgba(7, 20, 38, 0.82);
    border-radius: inherit;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    animation: scaleInSuccess 0.2s ease-out;
}

.booking-form-overlay strong,
.booking-form-overlay small {
    display: block;
}

.booking-form-overlay strong {
    margin-top: 2px;
    margin-bottom: 4px;
    font-size: 1rem;
}

.booking-form-overlay small {
    color: var(--text-muted);
    line-height: 1.4;
    max-width: 260px;
}

.booking-submit-loader {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.18);
    border-top-color: var(--primary);
    animation: bookingLoaderSpin 0.8s linear infinite;
}

@keyframes bookingLoaderSpin {
    to { transform: rotate(360deg); }
}

.modal-booking-success {
    padding: 24px 4px 6px;
    min-height: 360px;
}

.booking-success-state {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: scaleInSuccess 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes scaleInSuccess {
    from { opacity: 0; transform: scale(0.94); }
    to { opacity: 1; transform: scale(1); }
}

.success-icon-wrapper {
    width: 78px;
    height: 78px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #10b981;
    font-size: 3.2rem;
    margin-bottom: 18px;
    filter: drop-shadow(0 0 20px rgba(16, 185, 129, 0.3));
}

.success-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-light);
}

.success-text {
    max-width: 340px;
    margin: 0 0 18px;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.booking-success-checklist {
    width: 100%;
    max-width: 380px;
    display: grid;
    gap: 10px;
    margin-bottom: 16px;
}

.booking-success-check {
    display: grid;
    grid-template-columns: 28px 1fr;
    align-items: center;
    gap: 10px;
    padding: 12px;
    text-align: start;
    color: var(--text-light);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    font-size: 0.84rem;
    line-height: 1.45;
}

.booking-success-check i {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #052e22;
    background: #10b981;
    font-size: 0.82rem;
}

.success-reply-note {
    max-width: 380px;
    margin: 0;
    padding: 12px 14px;
    color: var(--text-muted);
    background: rgba(233, 196, 106, 0.08);
    border: 1px solid rgba(233, 196, 106, 0.2);
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    line-height: 1.55;
}

/* Destinations / Programs */
.destinations {
    padding: 40px 20px 80px;
    position: relative;
    z-index: 10;
}

@media (min-width: 992px) {
    .destinations {
        margin-top: -170px; /* Lowered by 70px as requested */
    }
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 2rem;
    color: var(--text-light);
    margin-bottom: 8px;
}

.section-header p {
    color: var(--text-muted);
}

.filter-tags {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.filter-tag {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-fast);
}

.filter-tag:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
}

.filter-tag.active {
    background: var(--primary-gradient);
    color: white;
    border-color: transparent;
    box-shadow: var(--shadow-glow);
}

.slider-nav {
    display: flex;
    gap: 12px;
}

.nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
}

.nav-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover), 0 0 15px rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
}

.card-img-container {
    position: relative;
    width: 100%;
    height: 180px; /* Reduced height */
    overflow: hidden;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card:hover .card-img {
    transform: scale(1.05);
}

.card-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.9);
    color: #000;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 3;
}

.card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-light);
}

.card-duration {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.card-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 15px;
    line-height: 1.4;
    /* Truncate text to 2 lines */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.8em; 
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
    margin-top: auto;
}

.card-price-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: block;
    margin-bottom: 2px;
}

.card-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
}

.price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.card-old-price {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

/* Features Section */
.features {
    padding: 40px 20px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 80px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    padding: 0 20px;
}

.icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.25rem;
}

.feature-item h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.feature-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Hotels Page */
.hotels-page-content {
    padding-top: 52px;
    padding-bottom: 90px;
}

.hotel-country-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.hotel-country-filter a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 700;
}

.hotel-country-filter a.active,
.hotel-country-filter a:hover {
    background: var(--primary-gradient);
    border-color: transparent;
    color: #ffffff;
}

.hotel-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}

.hotel-card {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    padding: 20px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--bg-card);
}

.hotel-card-icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: rgba(59, 130, 246, 0.12);
    color: var(--primary);
    font-size: 1.25rem;
}

.boat-card .hotel-card-icon {
    background: rgba(20, 184, 166, 0.13);
    color: #14b8a6;
}

.hotel-card h2 {
    margin: 6px 0;
    font-size: 1.05rem;
    line-height: 1.35;
}

.hotel-card p,
.hotel-country {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.5;
}

.hotel-country {
    display: block;
    text-transform: uppercase;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.hotel-stars {
    margin-top: 10px;
    color: #fbbf24;
    letter-spacing: 2px;
}

.hotel-website-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    color: var(--primary);
    font-size: 0.86rem;
    font-weight: 800;
    text-decoration: none;
}

.hotel-website-link:hover {
    color: var(--primary-light);
}

.hotels-empty {
    grid-column: 1 / -1;
    padding: 26px;
    border: 1px dashed var(--border-color);
    border-radius: var(--radius-md);
    text-align: center;
    color: var(--text-muted);
}

/* Excursions */
.excursions-page-content {
    padding-top: 70px;
    padding-bottom: 90px;
}

.excursion-country-section + .excursion-country-section {
    margin-top: 64px;
}

.section-heading {
    margin-bottom: 24px;
}

.section-heading h2 {
    margin: 0;
    color: var(--text-light);
    font-size: 2rem;
}

.excursion-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.excursion-card {
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--bg-card);
}

.excursion-card-media {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.06);
}

.excursion-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.excursion-card:hover .excursion-card-media img {
    transform: scale(1.04);
}

.excursion-card-body {
    padding: 22px;
}

.excursion-card-body h3 {
    margin: 8px 0 10px;
    color: var(--text-light);
    font-size: 1.2rem;
}

.excursion-card-body p {
    min-height: 3.2em;
    margin: 0 0 18px;
    color: var(--text-muted);
    line-height: 1.6;
}

.excursion-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
}

.excursion-card-footer strong {
    color: var(--primary);
    font-size: 1rem;
}

.excursion-detail-hero {
    position: relative;
    min-height: 72vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.excursion-detail-hero > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.excursion-detail-hero-overlay {
    position: relative;
    width: 100%;
    padding: 150px 0 80px;
    background: linear-gradient(rgba(11, 17, 32, 0.25), rgba(11, 17, 32, 0.93));
}

.excursion-detail-hero h1 {
    max-width: 880px;
    margin: 12px 0 18px;
    color: #ffffff;
    font-size: clamp(2.4rem, 5vw, 4.8rem);
    line-height: 1.02;
}

.excursion-detail-hero p {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.15rem;
    line-height: 1.7;
}

.excursion-back-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 18px;
}

.excursion-price-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    color: #ffffff;
    background: rgba(37, 99, 235, 0.9);
}

.excursion-price-chip strong {
    font-size: 1.25rem;
}

.excursion-detail-content {
    padding-top: 70px;
    padding-bottom: 90px;
}

.excursion-detail-body {
    max-width: 900px;
    margin: 0 auto;
}

.excursion-detail-body h2 {
    margin-bottom: 22px;
    color: var(--text-light);
    font-size: 2rem;
}

.localized-rich-text {
    white-space: pre-line;
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.9;
}

.excursion-detail-points {
    margin: 28px 0 0;
    padding: 0;
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.9;
}

.excursion-request-panel {
    max-width: 900px;
    margin: 56px auto 0;
    padding: 28px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--bg-card);
}

.excursion-request-form label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: var(--text-light);
    font-weight: 700;
}

.excursion-request-form input,
.excursion-request-form textarea {
    width: 100%;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    padding: 13px 14px;
    font: inherit;
    outline: none;
}

.excursion-request-form input:focus,
.excursion-request-form textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.16);
}

.excursion-request-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.excursion-request-notes {
    grid-column: 1 / -1;
}

.excursion-request-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-top: 22px;
}

@media (max-width: 700px) {
    .excursion-request-grid {
        grid-template-columns: 1fr;
    }
}

.feature-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

/* Promo Banner */
.promo {
    margin-bottom: 80px;
}

.promo-box {
    background: var(--promo-bg, var(--bg-card));
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    display: flex;
    overflow: hidden;
    position: relative;
}

.promo-content {
    padding: 60px;
    flex: 1;
    z-index: 2;
}

.promo-label {
    color: var(--promo-accent, var(--primary));
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.promo-title {
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 8px;
}

.promo-title strong {
    font-weight: 700;
    color: var(--promo-accent, var(--primary));
    font-size: 3.5rem;
}

.promo-desc {
    color: var(--text-muted);
    margin-bottom: 32px;
}

.countdown {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
}

.time-box {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    width: 70px;
    height: 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.time-box .num {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.time-box .text {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.promo-image {
    flex: 1;
    position: relative;
    -webkit-clip-path: polygon(10% 0, 100% 0, 100% 100%, 0% 100%);
    clip-path: polygon(10% 0, 100% 0, 100% 100%, 0% 100%);
}

.promo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Reviews */
.testimonials {
    margin-bottom: 80px;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.testimonial-card {
    display: grid;
    gap: 14px;
    padding: 22px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--bg-card);
    box-shadow: var(--shadow-soft);
}

.testimonial-stars,
.rating-stars {
    color: #facc15;
    letter-spacing: 1px;
    font-size: 1rem;
}

.testimonial-comment {
    color: var(--text-light);
    line-height: 1.7;
}

.testimonial-meta {
    display: grid;
    gap: 2px;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
}

.testimonial-meta strong {
    color: var(--text-light);
}

.testimonial-meta a {
    color: var(--primary);
    font-size: 0.9rem;
}

/* Newsletter */
.newsletter {
    margin-bottom: 80px;
}

.newsletter-box {
    background: linear-gradient(to right, rgba(14, 23, 44, 0.8), rgba(20, 30, 56, 0.8));
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 24px;
    justify-content: space-between;
}

.newsletter-icon {
    font-size: 3rem;
    color: var(--primary);
    opacity: 0.8;
}

/* UX Enhancements: Scroll Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* UX Enhancements: Skeleton Loading */
.skeleton {
    background: #2a3449;
    background: linear-gradient(110deg, #1e2943 8%, #2a3449 18%, #1e2943 33%);
    border-radius: 5px;
    background-size: 200% 100%;
    animation: 1.5s shine linear infinite;
}

.skeleton-card {
    height: 400px;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
}

.skeleton-img {
    height: 240px;
    width: 100%;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.skeleton-text {
    height: 15px;
    margin: 10px 20px;
    border-radius: 4px;
}

.skeleton-text.title {
    height: 25px;
    width: 70%;
    margin-top: 20px;
}

@keyframes shine {
    to {
        background-position-x: -200%;
    }
}


.newsletter-text h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.newsletter-text p {
    color: var(--text-muted);
}

.newsletter-form {
    display: flex;
    gap: 12px;
    flex: 1;
    max-width: 500px;
}

.newsletter-form .input-wrapper {
    flex: 1;
    background: rgba(0,0,0,0.3);
}

/* Footer */
.footer {
    background: rgba(6, 9, 18, 0.8);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.brand-col p {
    color: var(--text-muted);
    margin: 16px 0;
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-muted);
}

.social-links a:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: white;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-col a:hover {
    color: var(--primary);
}

.contact-col li {
    display: flex;
    gap: 12px;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.contact-col i {
    color: var(--primary);
    margin-top: 4px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Loading Spinner */
.loading-spinner {
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 40px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Inner Pages specific */
.inner-page .navbar {
    position: relative;
    background: var(--bg-card);
}

.page-header {
    background: linear-gradient(rgba(11, 17, 32, 0.8), rgba(11, 17, 32, 0.8)), url('https://images.unsplash.com/photo-1436491865332-7a61a109cc05?q=80&w=2074&auto=format&fit=crop') center/cover;
    padding: 80px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.page-header p {
    color: var(--text-muted);
    font-size: 1.2rem;
}

.page-kicker,
.section-label {
    display: inline-flex;
    margin-bottom: 10px;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.78rem;
    letter-spacing: 0;
}

.contact-page-header {
    background:
        linear-gradient(rgba(11, 17, 32, 0.72), rgba(11, 17, 32, 0.82)),
        url('https://images.unsplash.com/photo-1488646953014-85cb44e25828?q=80&w=2070&auto=format&fit=crop') center/cover;
}

.contact-page {
    padding: 60px 20px;
}

.photo-gallery-page {
    padding: 42px 20px 96px;
}

.photo-gallery-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.photo-gallery-toolbar div {
    display: grid;
    gap: 3px;
}

.photo-gallery-toolbar span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.photo-gallery-toolbar strong {
    color: var(--text-light);
    font-size: 1.45rem;
    line-height: 1.15;
}

.photo-gallery-toolbar strong span {
    color: inherit;
    font-size: inherit;
}

.photo-gallery-open-first {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 44px;
    padding: 0 16px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-light);
    cursor: pointer;
    font-weight: 800;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.photo-gallery-open-first:hover {
    border-color: var(--primary);
    background: rgba(59, 130, 246, 0.18);
    transform: translateY(-1px);
}

.photo-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-flow: dense;
    gap: 14px;
}

.photo-gallery-item {
    position: relative;
    display: block;
    overflow: hidden;
    min-height: 220px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: #07111f;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
    isolation: isolate;
}

.photo-gallery-item img {
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
    transition: transform 0.35s ease, filter 0.35s ease;
}

.photo-gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 17, 31, 0) 45%, rgba(7, 17, 31, 0.74) 100%);
    opacity: 0.78;
    z-index: 1;
    transition: opacity 0.25s ease;
}

.photo-gallery-item-meta {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #ffffff;
    font-weight: 900;
}

.photo-gallery-item-meta i {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(8px);
}

.photo-gallery-item.is-featured {
    grid-column: span 2;
    grid-row: span 2;
    min-height: 454px;
}

.photo-gallery-item:nth-child(6n + 3),
.photo-gallery-item:nth-child(6n + 5) {
    grid-row: span 2;
    min-height: 454px;
}

.photo-gallery-item:hover img {
    filter: saturate(1.08) contrast(1.04);
    transform: scale(1.055);
}

.photo-gallery-item:hover::after {
    opacity: 1;
}

.photo-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: grid;
    place-items: center;
    width: 100vw;
    min-height: 100vh;
    padding: 30px 88px;
    background: rgba(3, 8, 18, 0.94);
    backdrop-filter: blur(14px);
}

.photo-lightbox[hidden] {
    display: none;
}

.photo-lightbox figure {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 14px;
    margin: 0;
    max-width: min(1100px, 100%);
    max-height: 88vh;
}

.photo-lightbox img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 8px;
    object-fit: contain;
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.56);
}

.photo-lightbox figcaption {
    color: #ffffff;
    text-align: center;
    font-weight: 700;
}

.photo-lightbox-close,
.photo-lightbox-nav {
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(15, 23, 42, 0.78);
    color: #ffffff;
    cursor: pointer;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.photo-lightbox-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    font-size: 32px;
    line-height: 1;
}

.photo-lightbox-nav {
    position: absolute;
    top: 50%;
    display: grid;
    place-items: center;
    width: 58px;
    height: 68px;
    border-radius: 8px;
    transform: translateY(-50%);
    font-size: 24px;
}

.photo-lightbox-prev {
    left: 22px;
}

.photo-lightbox-next {
    right: 22px;
}

.photo-lightbox-close:hover,
.photo-lightbox-nav:hover {
    background: var(--primary);
    color: #07111f;
    border-color: var(--primary);
}

.photo-lightbox-prev:hover {
    transform: translateY(-50%) translateX(-2px);
}

.photo-lightbox-next:hover {
    transform: translateY(-50%) translateX(2px);
}

.photo-gallery-empty {
    margin: 0;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: var(--bg-card);
    color: var(--text-muted);
}

.faq-page {
    max-width: 920px;
    padding: 56px 20px 96px;
}

.faq-accordion {
    display: grid;
    gap: 14px;
}

.faq-item {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.72);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
}

.faq-item summary {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 16px;
    min-height: 74px;
    padding: 18px 20px;
    color: var(--text-light);
    cursor: pointer;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-index {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: rgba(59, 130, 246, 0.16);
    color: var(--primary);
    font-weight: 900;
}

.faq-question {
    font-weight: 900;
    line-height: 1.35;
}

.faq-item summary i {
    color: var(--primary);
    transition: transform 0.2s ease;
}

.faq-item[open] summary i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px 20px 78px;
    color: var(--text-muted);
    line-height: 1.75;
}

.faq-answer p {
    margin: 0;
}

.faq-empty {
    margin: 0;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: var(--bg-card);
    color: var(--text-muted);
}

html.light-mode .faq-item,
html[data-theme="light"] .faq-item,
body.light-mode .faq-item,
body[data-theme="light"] .faq-item {
    border-color: rgba(15, 23, 42, 0.12);
    background: rgba(255, 255, 255, 0.82);
}

html.light-mode .faq-item summary,
html[data-theme="light"] .faq-item summary,
body.light-mode .faq-item summary,
body[data-theme="light"] .faq-item summary {
    color: #0f172a;
}

html.light-mode .photo-gallery-toolbar,
html[data-theme="light"] .photo-gallery-toolbar,
body.light-mode .photo-gallery-toolbar,
body[data-theme="light"] .photo-gallery-toolbar {
    border-bottom-color: rgba(15, 23, 42, 0.12);
}

html.light-mode .photo-gallery-open-first,
html[data-theme="light"] .photo-gallery-open-first,
body.light-mode .photo-gallery-open-first,
body[data-theme="light"] .photo-gallery-open-first {
    border-color: rgba(15, 23, 42, 0.14);
    background: rgba(255, 255, 255, 0.72);
    color: #0f172a;
}

@media (max-width: 640px) {
    .photo-gallery-page {
        padding-top: 28px;
    }

    .photo-gallery-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .photo-gallery-open-first {
        width: 100%;
    }

    .photo-gallery-grid {
        grid-template-columns: 1fr;
    }

    .photo-gallery-item,
    .photo-gallery-item.is-featured,
    .photo-gallery-item:nth-child(6n + 3),
    .photo-gallery-item:nth-child(6n + 5) {
        grid-column: auto;
        grid-row: auto;
        min-height: 270px;
    }

    .photo-lightbox {
        padding: 70px 14px 94px;
    }

    .photo-lightbox-nav {
        top: auto;
        bottom: 18px;
        transform: none;
        width: 56px;
        height: 56px;
    }

    .photo-lightbox-prev {
        left: calc(50% - 68px);
    }

    .photo-lightbox-next {
        right: calc(50% - 68px);
    }

    .photo-lightbox-prev:hover,
    .photo-lightbox-next:hover {
        transform: none;
    }

    .faq-page {
        padding-top: 34px;
    }

    .faq-item summary {
        grid-template-columns: 1fr auto;
        gap: 12px;
        min-height: 66px;
        padding: 16px;
    }

    .faq-index {
        display: none;
    }

    .faq-answer {
        padding: 0 16px 18px;
    }
}

@media (min-width: 641px) and (max-width: 980px) {
    .photo-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.about-page-header {
    background:
        linear-gradient(rgba(11, 17, 32, 0.72), rgba(11, 17, 32, 0.82)),
        url('https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?q=80&w=2070&auto=format&fit=crop') center/cover;
}

.about-page {
    padding: 60px 0 90px;
}

.custom-page-content {
    padding: 60px 20px 90px;
}

.custom-page-content article {
    max-width: 900px;
    margin: 0 auto;
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.85;
    white-space: normal;
}

.custom-page-language-es {
    display: none;
}

html[lang="es"] .custom-page-language-en {
    display: none;
}

html[lang="es"] .custom-page-language-es {
    display: block;
}

.review-page-header {
    background:
        linear-gradient(rgba(11, 17, 32, 0.72), rgba(11, 17, 32, 0.82)),
        url('https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?q=80&w=2070&auto=format&fit=crop') center/cover;
}

.review-public {
    padding: 60px 20px 90px;
}

.review-public-panel {
    max-width: 720px;
    margin: 0 auto;
    padding: 28px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--bg-card);
    box-shadow: var(--shadow-soft);
}

.review-public-panel-wide {
    max-width: 980px;
}

.review-public-panel h2 {
    margin-bottom: 10px;
}

.review-public-panel p,
.review-program-summary small,
.review-program-summary span,
.review-comment span {
    color: var(--text-muted);
}

.review-program-summary {
    display: grid;
    gap: 4px;
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border-color);
}

.review-program-summary strong {
    color: var(--text-light);
    font-size: 1.25rem;
}

.review-form {
    display: grid;
    gap: 20px;
}

.review-stars {
    padding: 0;
    border: 0;
}

.review-stars legend {
    margin-bottom: 10px;
    color: var(--text-light);
    font-weight: 700;
}

.review-star-options {
    display: inline-flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 6px;
}

.review-star-options input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.review-star-options label {
    color: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    font-size: 2.4rem;
    line-height: 1;
    transition: var(--transition-fast);
}

.review-star-options input:checked ~ label,
.review-star-options label:hover,
.review-star-options label:hover ~ label {
    color: #facc15;
}

.review-comment {
    display: grid;
    gap: 8px;
}

.review-kpi-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.review-kpi {
    display: grid;
    gap: 10px;
    padding: 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.04);
}

.review-kpi legend {
    color: var(--text-light);
    font-weight: 700;
    line-height: 1.35;
}

.review-kpi-options {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
}

.review-kpi-options input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.review-kpi-options label {
    min-height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition-fast);
}

.review-kpi-options input:checked + label {
    border-color: var(--primary);
    background: var(--primary);
    color: #fff;
}

.review-kpi-options label:hover {
    border-color: var(--primary);
}

.review-comment input,
.review-comment textarea {
    width: 100%;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: rgba(0, 0, 0, 0.22);
    color: var(--text-light);
    padding: 12px;
    outline: none;
    resize: vertical;
    font-family: inherit;
}

.review-comment input:focus,
.review-comment textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.14);
}

.review-success-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    margin-bottom: 16px;
    border-radius: var(--radius-sm);
    background: rgba(16, 185, 129, 0.14);
    color: #10b981;
}

.about-story {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
    gap: 44px;
    align-items: center;
}

.about-media {
    min-height: 420px;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
}

.about-media img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    display: block;
    object-fit: cover;
}

.about-copy h2,
.about-mission-grid h2 {
    margin-bottom: 14px;
}

.about-copy p,
.about-mission-grid p,
.about-value p {
    color: var(--text-muted);
    line-height: 1.75;
}

.about-bullet-list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--text-muted);
    line-height: 1.75;
}

.about-bullet-list li {
    position: relative;
    padding-left: 22px;
}

.about-bullet-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.75em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--primary);
}

.about-mission-band {
    margin: 80px 0;
    padding: 58px 0;
    background: rgba(255, 255, 255, 0.03);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.about-mission-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.about-mission-grid article,
.about-value {
    display: grid;
    gap: 12px;
}

.about-values {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.about-value {
    padding: 22px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--bg-card);
}

.contact-info-panel {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 34px;
}

.contact-info-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px;
    align-items: flex-start;
    padding: 20px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--bg-card);
}

.contact-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: var(--radius-sm);
    background: rgba(59, 130, 246, 0.12);
    color: var(--primary);
}

.contact-info-card h2 {
    margin-bottom: 4px;
    font-size: 1.05rem;
}

.contact-info-card a,
.contact-info-card strong {
    color: var(--text-light);
    font-weight: 700;
}

.contact-info-card p {
    margin-top: 4px;
    color: var(--text-muted);
    font-size: 0.92rem;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    gap: 32px;
    align-items: start;
}

.contact-copy {
    padding: 8px 0;
}

.contact-copy h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.05;
    margin-bottom: 12px;
}

.contact-copy p {
    color: var(--text-muted);
    max-width: 520px;
}

.contact-social-block {
    margin-top: 28px;
}

.contact-social-block h3 {
    margin-bottom: 12px;
}

.contact-form {
    display: grid;
    gap: 16px;
    padding: 24px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--bg-card);
    box-shadow: var(--shadow-soft);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.contact-field {
    display: grid;
    gap: 7px;
    color: var(--text-muted);
}

.contact-field span {
    color: var(--text-light);
    font-weight: 700;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
    width: 100%;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: rgba(0, 0, 0, 0.22);
    color: var(--text-light);
    padding: 12px;
    outline: none;
    font-family: inherit;
}

.contact-field select option {
    background: var(--bg-card);
}

.contact-field textarea {
    resize: vertical;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.14);
}

.programs-layout {
    display: flex;
    gap: 40px;
    padding: 60px 20px;
}

.filters-sidebar {
    width: 280px;
    flex-shrink: 0;
    background: var(--bg-card);
    padding: 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    height: fit-content;
}

.filter-group {
    margin-bottom: 24px;
}

.filter-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.filter-select {
    width: 100%;
    background: rgba(0,0,0,0.2);
    border: 1px solid var(--border-color);
    color: white;
    padding: 10px;
    border-radius: var(--radius-sm);
    outline: none;
}

.filter-select option {
    background: var(--bg-card);
}

.filter-range {
    width: 100%;
    accent-color: var(--primary);
}

.price-val {
    display: block;
    margin-top: 8px;
    font-weight: 600;
    color: var(--primary);
}

.programs-main {
    flex: 1;
}

.grid-page {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

/* Details Page */
.details-layout {
    padding: 60px 20px;
}

.details-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.details-gallery img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    margin-bottom: 20px;
}

.details-info h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.details-info .price {
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 20px;
}

.details-desc {
    color: var(--text-muted);
    margin-bottom: 30px;
    line-height: 1.8;
}

.booking-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    position: sticky;
    top: 100px;
}

.whatsapp-btn {
    background: #25D366;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 14px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    margin-bottom: 16px;
    transition: var(--transition);
}

.whatsapp-btn:hover {
    background: #128C7E;
    transform: translateY(-2px);
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--bg-card);
    padding: 40px;
    border-radius: var(--radius-md);
    width: 100%;
    max-width: 500px;
    position: relative;
    border: 1px solid var(--border-color);
    transform: translateY(20px);
    transition: var(--transition);
}

.modal.active .modal-content {
    transform: translateY(0);
}

.close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
}

.close-btn:hover {
    color: white;
}

.booking-form-modal .form-group {
    margin-bottom: 16px;
}

.booking-form-modal input {
    width: 100%;
    background: rgba(0,0,0,0.2);
    border: 1px solid var(--border-color);
    color: white;
    padding: 12px;
    border-radius: var(--radius-sm);
    outline: none;
    font-family: inherit;
}

.booking-form-modal input:focus {
    border-color: var(--primary);
}

/* Scroll to Top Button */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-gradient);
    color: white;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: var(--shadow-glow);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 1000;
}

.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    right: 22px;
    bottom: 96px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #25d366;
    color: #ffffff;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    text-decoration: none;
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.34);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 9999;
}

.floating-whatsapp:hover,
.floating-whatsapp:focus-visible {
    background: #1ebe5d;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgba(37, 211, 102, 0.42);
}

.floating-whatsapp:focus-visible {
    outline: 3px solid rgba(37, 211, 102, 0.28);
    outline-offset: 3px;
}

/* Responsive */
@media (max-width: 1200px) {
    .features { flex-wrap: wrap; gap: 20px; }
    .feature-divider { display: none; }
    .feature-item { min-width: calc(50% - 20px); }
    .cards-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px) {
    .top-bar { display: none; }
    .navbar { top: 0; }
    .nav-links { 
        display: none; 
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-main);
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    }
    .nav-links.active {
        display: flex;
    }
    .menu-btn { display: block; }
    .hero { flex-direction: column; justify-content: center; height: auto; min-height: 100vh; padding-top: 80px; padding-bottom: 30px; }
    .hero-content { flex-direction: column; text-align: center; gap: 20px; padding-top: 0; }
    .hero-text { text-align: center; margin: 0 auto; }
    .hero-overlay { background: radial-gradient(circle at center, rgba(11, 17, 32, 0.85) 0%, rgba(11, 17, 32, 0.4) 60%, transparent 100%); }
    .hero-side { flex-direction: row; }
    .slider-arrows { flex-direction: row; }
    .booking-box { position: relative; bottom: 0; transform: none; left: 0; width: 100%; margin-top: 40px; }
    .booking-form { flex-direction: column; }
    .form-divider { width: 100%; height: 1px; margin: 10px 0; }
    .swap-btn { transform: rotate(90deg); margin: 10px auto; }
    .swap-btn:hover { transform: rotate(270deg); }
    .search-btn { width: 100%; }
    .promo-box { flex-direction: column; }
    .promo-image { height: 300px; clip-path: none; }
    .testimonial-grid { grid-template-columns: 1fr; }
    .newsletter-box { flex-direction: column; text-align: center; }
    .programs-layout { flex-direction: column; }
    .filters-sidebar { width: 100%; }
    .details-grid { grid-template-columns: 1fr; }
    .contact-info-panel,
    .contact-layout,
    .about-story,
    .about-mission-grid,
    .about-values,
    .review-kpi-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .feature-item { min-width: 100%; }
    .footer-grid { grid-template-columns: 1fr; }
    .floating-whatsapp {
        right: 18px;
        bottom: 84px;
        width: 42px;
        height: 42px;
        font-size: 1.25rem;
    }
    .nav-container { padding: 0 20px; }
    .cards-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 2rem; }
    .promo-content { padding: 30px; }
    .countdown { flex-wrap: wrap; justify-content: center; }
    .form-row {
        grid-template-columns: 1fr;
    }
    .contact-form {
        padding: 18px;
    }
}

/* Mobile landing polish and browser fallbacks */
html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

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

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
    .navbar.scrolled,
    .navbar.solid {
        background-color: #0b1120;
    }

    .hero-badge {
        background-color: rgba(20, 29, 49, 0.92);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }

    .hero-full-bg.slide.active {
        transform: none;
        -webkit-transform: none;
    }
}

@media (max-width: 992px) {
    .destinations.reveal,
    .destinations .card.reveal {
        opacity: 1;
        transform: none;
    }

    .container {
        width: 100%;
        padding-left: 18px;
        padding-right: 18px;
    }

    .navbar {
        padding: 12px 0;
        background-color: rgba(11, 17, 32, 0.96);
        border-bottom: 1px solid var(--border-color);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
    }

    .nav-container {
        min-height: 48px;
    }

    .logo img {
        height: 34px;
    }

    .nav-links {
        max-height: calc(100vh - 72px);
        max-height: calc(100svh - 72px);
        overflow-y: auto;
        overscroll-behavior: contain;
        border-top: 1px solid var(--border-color);
        border-bottom: 1px solid var(--border-color);
    }

    .nav-links a {
        display: block;
        min-height: 44px;
        padding: 10px 0;
        font-size: 1rem;
    }

    .lang-switch {
        min-height: 38px;
    }

    .menu-btn {
        width: 42px;
        height: 42px;
        border-radius: var(--radius-sm);
    }

    .hero {
        min-height: 100vh;
        min-height: 100svh;
        padding: 92px 0 46px;
        align-items: stretch;
    }

    .hero-content {
        justify-content: center;
        min-height: calc(100vh - 138px);
        min-height: calc(100svh - 138px);
    }

    .hero-text {
        width: 100%;
        min-height: 0;
        align-items: center;
    }

    .hero-text h1 {
        max-width: 680px;
        min-height: 0;
        font-size: 2.35rem;
        line-height: 1.12;
    }

    .hero-text p {
        max-width: 620px;
        font-size: 1rem;
        line-height: 1.65;
    }

    .hero-full-bg.slide {
        object-position: center;
    }

    .hero-overlay {
        background: linear-gradient(
            to bottom,
            rgba(11, 17, 32, 0.34) 0%,
            rgba(11, 17, 32, 0.86) 48%,
            rgba(11, 17, 32, 0.38) 100%
        );
    }

    .btn-lg {
        width: auto;
        max-width: 100%;
        white-space: normal;
    }

    .destinations {
        padding-top: 34px;
        padding-bottom: 58px;
    }

    .filter-tags {
        justify-content: flex-start;
        flex-wrap: nowrap;
        gap: 10px;
        margin-left: -18px;
        margin-right: -18px;
        padding: 0 18px 8px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .filter-tags::-webkit-scrollbar {
        display: none;
    }

    .filter-tag {
        flex: 0 0 auto;
        min-height: 38px;
        white-space: nowrap;
    }

    .cards-grid,
    .testimonial-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .card-img-container {
        height: auto;
        aspect-ratio: 16 / 10;
    }

    .features {
        display: grid;
        gap: 0;
        padding: 22px;
        margin-bottom: 58px;
    }

    .feature-item {
        min-width: 0;
        padding: 16px 0;
    }

    .feature-item + .feature-item {
        border-top: 1px solid var(--border-color);
    }

    .promo,
    .testimonials,
    .newsletter {
        margin-bottom: 58px;
    }

    .promo-content {
        padding: 34px 26px;
    }

    .promo-title {
        font-size: 2rem;
    }

    .promo-title strong {
        display: block;
        font-size: 2.65rem;
    }

    .promo-image {
        min-height: 240px;
        -webkit-clip-path: none;
        clip-path: none;
    }

    .newsletter-form {
        width: 100%;
        max-width: 560px;
        flex-direction: column;
    }

    .newsletter-form .btn {
        width: 100%;
        min-height: 48px;
    }
}

@media (max-width: 640px) {
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .nav-container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .nav-actions {
        gap: 8px;
    }

    .hero {
        padding-top: 84px;
        padding-bottom: 34px;
    }

    .hero-content {
        min-height: calc(100vh - 118px);
        min-height: calc(100svh - 118px);
    }

    .hero-text h1 {
        font-size: 2rem;
        line-height: 1.14;
    }

    .hero-text p {
        font-size: 0.96rem;
    }

    .hero-side {
        gap: 14px;
    }

    .slider-arrow {
        width: 42px;
        height: 42px;
    }

    .section-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
        margin-bottom: 24px;
    }

    .section-header h2 {
        font-size: 1.55rem;
        line-height: 1.25;
    }

    .card-content,
    .testimonial-card {
        padding: 18px;
    }

    .features {
        border-radius: var(--radius-md);
        padding: 14px 18px;
    }

    .feature-item {
        align-items: flex-start;
        padding: 14px 0;
    }

    .promo-content,
    .newsletter-box {
        padding: 26px 18px;
    }

    .promo-title {
        font-size: 1.7rem;
    }

    .promo-title strong {
        font-size: 2.2rem;
    }

    .countdown {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .time-box {
        width: 100%;
        height: 64px;
    }

    .newsletter-icon {
        font-size: 2.4rem;
    }

    .newsletter-text h3 {
        font-size: 1.25rem;
        line-height: 1.3;
    }

    .footer {
        padding-top: 42px;
    }

    .footer-grid {
        gap: 28px;
    }
}

@media (max-width: 380px) {
    .hero-text h1 {
        font-size: 1.75rem;
    }

    .btn {
        width: 100%;
        padding-left: 16px;
        padding-right: 16px;
        white-space: normal;
    }

    .lang-switch {
        max-width: 74px;
    }

    .card-footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }
}

@supports not (aspect-ratio: 1 / 1) {
    @media (max-width: 992px) {
        .card-img-container {
            height: 220px;
        }
    }
}

