/* ==========================================================================
   DESIGN TOKENS & RESET
   ========================================================================== */
:root {
    --color-navy: #0A192F;
    --color-navy-light: #172A45;
    --color-navy-dark: #020C1B;
    --color-coral: #FF5A36;
    --color-coral-hover: #E04422;
    --color-turquoise: #00B4D8;
    --color-turquoise-dark: #0077B6;
    --color-text-dark: #1E293B;
    --color-text-muted: #64748B;
    --color-bg-light: #F8FAFC;
    --color-white: #FFFFFF;

    --font-headings: ui-rounded, 'SF Pro Rounded', 'Avenir Next', system-ui, sans-serif;
    --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --radius-lg: 16px;
    --radius-md: 12px;
    --radius-sm: 8px;
    --radius-round: 50%;

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-premium: 0 20px 60px rgba(10, 25, 47, 0.15);

    --transition-fast: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    --transition-normal: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-dark);
    background-color: var(--color-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    width: 100%;
}

/* ==========================================================================
   TYPOGRAPHY & UTILITIES
   ========================================================================== */
h1,
h2,
h3,
h4,
h5 {
    font-family: var(--font-headings);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-navy);
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--color-turquoise-dark);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--color-coral);
}

:focus-visible {
    outline: 3px solid var(--color-turquoise);
    outline-offset: 3px;
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3.5rem auto;
}

.section-header h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

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

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.badge-coral {
    background-color: rgba(255, 90, 54, 0.1);
    color: var(--color-coral);
}

.badge-turquoise {
    background-color: rgba(0, 180, 216, 0.1);
    color: var(--color-turquoise-dark);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 1rem;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
    gap: 0.5rem;
}

.btn-coral {
    background-color: var(--color-coral);
    color: var(--color-white);
    box-shadow: 0 4px 14px rgba(255, 90, 54, 0.4);
}

.btn-coral:hover:not(:disabled) {
    background-color: var(--color-coral-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 90, 54, 0.6);
}

.btn-coral:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--color-coral);
    color: var(--color-coral);
}

.btn-outline:hover {
    background-color: var(--color-coral);
    color: var(--color-white);
}

.btn-outline-light {
    background-color: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: var(--color-white);
}

.btn-outline-light:hover {
    border-color: var(--color-white);
    background-color: rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.header-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(10, 25, 47, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-normal);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    height: 55px;
}

.logo-brand {
    font-family: var(--font-headings);
    font-weight: 800;
    font-size: clamp(1rem, 4.6vw, 1.35rem);
    color: var(--color-white);
    display: flex;
    align-items: center;
    gap: clamp(0.35rem, 1.25vw, 0.5rem);
    min-width: 0;
    white-space: nowrap;
}

.logo-brand span {
    color: var(--color-coral);
}

.logo-icon {
    width: clamp(28px, 5vw, 32px);
    height: clamp(28px, 5vw, 32px);
    object-fit: contain;
    border-radius: 6px;
    flex-shrink: 0;
}

.nav-links {
    display: none;
    /* Mobile first hidden */
}

.lang-selector {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.lang-btn {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.lang-btn:hover,
.lang-btn.active {
    color: var(--color-white);
    background-color: rgba(255, 255, 255, 0.15);
}

/* ==========================================================================
   HERO & BOOKING WRAPPER
   ========================================================================== */
.hero-wrapper {
    background-color: var(--color-navy);
    background-image: linear-gradient(180deg, rgba(10, 25, 47, 0.6) 0%, var(--color-navy) 100%), image-set(url('../img/hero-bg.avif') type('image/avif'), url('../img/hero-bg.webp') type('image/webp'));
    background-size: cover;
    background-position: center;
    padding: 5rem 0 5rem 0;
    color: var(--color-white);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: 1rem;
    line-height: 1.15;
}

.hero-content h1 span {
    color: var(--color-turquoise);
}

.hero-content p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.hero-trust-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.hero-trust-item {
    font-size: 0.938rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

/* ==========================================================================
   BOOKING WIDGET
   ========================================================================== */
.booking-widget-card {
    background: rgba(23, 42, 69, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    padding: 1rem;
    box-shadow: var(--shadow-lg);
}

.booking-widget-card h3 {
    color: var(--color-white);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.booking-widget-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.plan-switch {
    display: flex;
    background-color: rgba(10, 25, 47, 0.5);
    border-radius: var(--radius-sm);
    padding: 4px;
    margin-bottom: 1.5rem;
}

.plan-switch-btn {
    flex: 1;
    text-align: center;
    padding: 0.625rem 0;
    font-weight: 700;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    background: none;
    border: none;
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.plan-switch-btn.active {
    background-color: var(--color-coral);
    color: var(--color-white);
}

.pax-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.875rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pax-row:last-of-type {
    border-bottom: none;
    margin-bottom: 1rem;
}

.pax-label {
    font-family: var(--font-headings);
    color: var(--color-white);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
}

.pax-price {
    font-size: 0.85rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    margin-left: 0.35rem;
    display: inline-block !important;
}

.pax-info>span {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.53);
    display: block;
}

.pax-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.pax-btn {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-round);
    border: 1px solid var(--color-coral);
    background: transparent;
    color: var(--color-coral);
    font-size: 1.15rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.pax-btn:hover {
    background-color: var(--color-coral);
    color: var(--color-white);
}

.pax-count {
    width: 20px;
    text-align: center;
    font-weight: 700;
    color: var(--color-white);
}

.input-group {
    margin-bottom: 1.25rem;
}

.input-field {
    width: 100%;
    height: 48px;
    padding: 0 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: rgba(10, 25, 47, 0.3);
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 0.938rem;
    transition: var(--transition-fast);
}

.input-field:focus {
    outline: none;
    border-color: var(--color-turquoise);
    background-color: rgba(10, 25, 47, 0.5);
}

.info-alert {
    background-color: rgba(0, 180, 216, 0.1);
    border-left: 3px solid var(--color-turquoise);
    padding: 0.75rem 1rem;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin-bottom: 1.5rem;
    font-size: 0.813rem;
    color: rgba(255, 255, 255, 0.85);
}

.info-alert strong {
    color: var(--color-white);
}

/* ==========================================================================
   CRAWLABLE ROUTE INFORMATION
   ========================================================================== */
.route-info-wrapper {
    background: var(--color-bg-light);
}

.route-facts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    margin: 0;
}

.route-fact-card {
    background: var(--color-white);
    border: 1px solid #E2E8F0;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 1.25rem;
}

.route-fact-card dt {
    color: var(--color-coral);
    font-family: var(--font-headings);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    margin-bottom: 0.35rem;
    text-transform: uppercase;
}

.route-fact-card dd {
    color: var(--color-navy);
    font-weight: 600;
    line-height: 1.5;
    margin: 0;
}

.route-schedule-note {
    margin: 1.5rem auto 0;
    max-width: 900px;
    text-align: center;
}

.route-schedule-note {
    color: var(--color-text-muted);
}

.route-schedule-cta {
    display: flex;
    justify-content: center;
    margin-top: 1.25rem;
}

.total-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-top: 0.5rem;
}

.total-summary span {
    font-size: 1.125rem;
    font-weight: 600;
}

.total-price {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-coral);
    font-family: var(--font-headings);
}

/* ==========================================================================
   FORMENTERA PLANS
   ========================================================================== */
.plans-wrapper {
    background-color: var(--color-bg-light);
    overflow: hidden;
}

#why-us-section,
#reviews-section {
    overflow: hidden;
}

.plans-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.plan-card {
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition-normal);
}

.plan-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.plan-image-wrapper {
    position: relative;
    height: 220px;
    background-color: var(--color-navy);
}

.plan-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
}

.plan-tag {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    z-index: 10;
    background-color: var(--color-navy);
    color: var(--color-white);
    padding: 0.35rem 0.85rem;
    font-size: 0.688rem;
    font-weight: 700;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.plan-card-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.plan-card-content h3 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}

.plan-card-content p {
    color: var(--color-text-muted);
    font-size: 0.938rem;
}

.plan-card-desc {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 1.5rem;
    line-height: 1.5;
    height: 3em;
}

.plan-highlight {
    background-color: var(--color-bg-light);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    font-size: 0.813rem;
    color: var(--color-navy-light);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

/* ==========================================================================
   WHY BOOK WITH US
   ========================================================================== */
.why-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.why-card {
    padding: 2rem;
    background-color: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid #E2E8F0;
    transition: var(--transition-fast);
}

.why-card:hover {
    border-color: var(--color-turquoise);
    box-shadow: var(--shadow-md);
}

.why-card-icon {
    width: 48px;
    height: 48px;
    background-color: rgba(0, 180, 216, 0.1);
    color: var(--color-turquoise-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    margin-bottom: 1.25rem;
}

.why-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
}

.why-card p {
    color: var(--color-text-muted);
    font-size: 0.875rem;
    margin-bottom: 0;
}

/* ==========================================================================
   HOW IT WORKS (STEPS)
   ========================================================================== */
.steps-wrapper {
    background-color: var(--color-navy);
    color: var(--color-white);
}

.steps-wrapper .section-header h2 {
    color: var(--color-white);
}

.steps-wrapper .section-header p {
    color: rgba(255, 255, 255, 0.7);
}

.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    position: relative;
}

.step-card {
    text-align: center;
    position: relative;
    z-index: 2;
}

.step-num {
    width: 60px;
    height: 60px;
    background-color: var(--color-coral);
    color: var(--color-white);
    font-family: var(--font-headings);
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-round);
    margin: 0 auto 1.5rem auto;
    box-shadow: 0 4px 10px rgba(255, 90, 54, 0.3);
}

.step-card h3 {
    color: var(--color-white);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.step-card p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.938rem;
    max-width: 300px;
    margin: 0 auto;
}

/* ==========================================================================
   ROUTE MAP
   ========================================================================== */
.map-wrapper {
    background-color: var(--color-white);
}

.map-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.map-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.map-content p {
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

.map-trust-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    background-color: var(--color-bg-light);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    margin-top: 2rem;
}

.map-trust-badge span {
    font-weight: 700;
    color: var(--color-navy);
}

.map-frame {
    width: 100%;
    height: 380px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: none;
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */
.faq-wrapper {
    background-color: var(--color-bg-light);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--color-white);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    border: 1px solid #E2E8F0;
}

.faq-trigger {
    width: 100%;
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    text-align: left;
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--color-navy);
    cursor: pointer;
    transition: var(--transition-fast);
}

.faq-trigger:hover {
    color: var(--color-coral);
}

.faq-icon {
    font-size: 1.25rem;
    font-weight: 400;
    transition: var(--transition-fast);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--color-coral);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-item.active .faq-content {
    max-height: 200px;
}

.faq-content-inner {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: var(--color-text-muted);
    font-size: 0.938rem;
    border-top: 1px solid #F1F5F9;
    padding-top: 1rem;
}

/* ==========================================================================
   REVIEWS & TESTIMONIALS
   ========================================================================== */
.reviews-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.review-card {
    background-color: var(--color-bg-light);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.review-rating {
    color: #FBBF24;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.review-text {
    font-style: italic;
    color: var(--color-text-dark);
    margin-bottom: 1.5rem;
    font-size: 0.938rem;
}

.review-author {
    font-family: var(--font-headings);
    font-weight: 700;
    color: var(--color-navy);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer-wrapper {
    background-color: var(--color-navy-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 4rem 0 2rem 0;
    font-size: 0.875rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    color: var(--color-white);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-links h4 {
    color: var(--color-white);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
}

.footer-links a:hover {
    color: var(--color-white);
}

.footer-link-button {
    min-height: 44px;
    margin: -0.625rem 0;
    padding: 0.625rem 0;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.6);
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: var(--transition-fast);
}

.footer-link-button:hover {
    color: var(--color-white);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

/* ==========================================================================
   THANK-YOU PAGE SPECIFIC STYLES
   ========================================================================== */
.thankyou-wrapper {
    padding: 8rem 0 5rem 0;
    min-height: 70vh;
    display: flex;
    align-items: center;
    background-color: var(--color-bg-light);
}

.thankyou-card {
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    box-shadow: var(--shadow-lg);
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.status-spinner {
    width: 64px;
    height: 64px;
    border: 4px solid rgba(0, 180, 216, 0.15);
    border-top: 4px solid var(--color-turquoise);
    border-radius: var(--radius-round);
    animation: spin 1s linear infinite;
    margin: 0 auto 2rem auto;
}

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

    100% {
        transform: rotate(360deg);
    }
}

.status-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.status-icon-success {
    color: #10B981;
}

.status-icon-error {
    color: #EF4444;
}

.thankyou-details {
    background-color: var(--color-bg-light);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin: 2rem 0;
    text-align: left;
}

.thankyou-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #E2E8F0;
}

.thankyou-row:last-child {
    border-bottom: none;
}

.thankyou-row span:first-child {
    color: var(--color-text-muted);
}

.thankyou-row span:last-child {
    font-weight: 600;
}

/* ==========================================================================
   MOBILE STICKY BAR
   ========================================================================== */
.mobile-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--color-navy);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 999;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.15);
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}

.mobile-sticky-bar.visible {
    transform: translateY(0);
}

.sticky-bar-info {
    display: flex;
    flex-direction: column;
}

.sticky-bar-trip {
    font-size: 0.75rem;
    color: var(--color-turquoise);
    font-weight: 700;
    text-transform: uppercase;
}

.sticky-bar-price {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--color-white);
}

.sticky-bar-price span {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
}

.sticky-bar-btn {
    background-color: var(--color-coral);
    color: var(--color-white);
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 0.875rem;
    border: none;
    cursor: pointer;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (min-width: 768px) {
    .hero-content h1 {
        font-size: 3.5rem;
    }

    .plans-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .steps-grid::after {
        content: '';
        position: absolute;
        top: 30px;
        left: 10%;
        right: 10%;
        height: 2px;
        background-color: rgba(255, 255, 255, 0.1);
        z-index: 1;
    }

    .reviews-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

@media (min-width: 992px) {
    .nav-links {
        display: flex;
        align-items: center;
        gap: 2rem;
    }

    .nav-links a {
        color: rgba(255, 255, 255, 0.7);
        font-weight: 600;
        font-size: 0.938rem;
    }

    .nav-links a:hover {
        color: var(--color-white);
    }

    .hero-grid {
        grid-template-columns: 1.1fr 0.9fr;
        gap: 5rem;
    }

    .map-grid {
        grid-template-columns: 0.9fr 1.1fr;
    }
}

/* ==========================================================================
   CUSTOM DROPDOWN & SWIPER CUSTOMIZATIONS
   ========================================================================== */
.custom-dropdown {
    position: relative;
    display: inline-block;
    flex-shrink: 0;
    z-index: 1010;
}

.dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background-color: rgba(255, 255, 255, 0.1);
    min-height: 44px;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--color-white);
    font-size: 0.875rem;
    font-weight: 600;
    transition: var(--transition-fast);
    cursor: pointer;
}

.dropdown-trigger:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.dropdown-arrow {
    font-size: 0.65rem;
    opacity: 0.7;
    margin-left: 0.25rem;
    transition: var(--transition-fast);
}

@media (max-width: 480px) {
    .dropdown-trigger {
        gap: 0.25rem;
        padding-inline: 0.5rem;
    }

    .dropdown-arrow {
        margin-left: 0;
    }
}

.custom-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background-color: var(--color-navy-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    display: none;
    min-width: 140px;
    z-index: 1001;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -0.5rem;
    left: 0;
    right: 0;
    height: 0.5rem;
    background-color: transparent;
}

.custom-dropdown:hover .dropdown-menu,
.custom-dropdown:focus-within .dropdown-menu,
.custom-dropdown.open .dropdown-menu {
    display: block;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 44px;
    padding: 0.75rem 1rem;
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--transition-fast);
}

.dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--color-white) !important;
}

.flag-emoji {
    font-size: 1.15rem;
    line-height: 1;
}

/* Native, dependency-free horizontal galleries */
.swiper {
    width: 100%;
    padding: 1rem 0 3.5rem 0 !important;
    position: relative;
}

.swiper-wrapper {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: min(82vw, 340px);
    gap: 20px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
    padding: 0 1.5rem 0.5rem;
    margin-inline: -1.5rem;
}

.swiper-wrapper::-webkit-scrollbar {
    display: none;
}

.swiper-slide {
    height: auto !important;
    display: flex;
    justify-content: center;
    scroll-snap-align: center;
}

.swiper-slide>div {
    width: 100%;
    height: 100%;
}

.swiper-button-next,
.swiper-button-prev {
    display: none !important;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 1.15rem !important;
    font-weight: 700;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background-color: var(--color-coral) !important;
    color: var(--color-white) !important;
    border-color: var(--color-coral) !important;
}

.swiper-pagination {
    display: none;
}

@media (min-width: 992px) {
    .swiper-wrapper {
        grid-auto-flow: row;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        overflow: visible;
        padding-inline: 0;
        margin-inline: 0;
        gap: 30px;
    }
}

/* Skip below-the-fold rendering work until each section nears the viewport. */
.route-info-wrapper,
.plans-wrapper,
#why-us-section,
.steps-wrapper,
.map-wrapper,
#reviews-section,
.faq-wrapper,
.footer-wrapper {
    content-visibility: auto;
    contain-intrinsic-size: auto 700px;
}

/* Custom styles for the Book button inside the schedules modal */
.swal-book-btn {
    background-color: var(--color-coral);
    color: var(--color-white);
    border: none;
    border-radius: var(--radius-sm);
    padding: 0.35rem 0.75rem;
    font-family: var(--font-headings);
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-fast);
    box-shadow: 0 2px 6px rgba(255, 90, 54, 0.3);
    outline: none;
    text-transform: uppercase;
}

.swal-book-btn:hover {
    background-color: var(--color-coral-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(255, 90, 54, 0.5);
}

.swal-book-btn:active {
    transform: translateY(0);
}
