:root {
    --ram-red: #C8102E;
    --ram-red-dark: #a00d25;
    --ram-red-light: #f8d7da;
    --ram-blue: #002D62;
    --ram-blue-dark: #001a3d;
    --ram-blue-light: #e8eef7;
    --ram-gold: #D4A843;
    --text-dark: #1F2937;
    --text-muted: #6B7280;
    --bg-light: #F7F8FA;
    --bg-warm: #FDF8F3;
    --white: #ffffff;
    --border: #E5E7EB;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
    --radius: 12px;
    --radius-lg: 16px;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'DM Sans', 'Segoe UI', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: color 0.25s; }
img { max-width: 100%; display: block; object-fit: cover; }
button { cursor: pointer; border: none; font-family: inherit; }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-light); }
::-webkit-scrollbar-thumb { background: #c1c1c1; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #999; }

/* ── Topbar ── */
.topbar {
    background: var(--ram-red);
    color: rgba(255,255,255,0.8);
    font-size: 0.78rem;
    font-weight: 500;
    padding: 0.45rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    position: relative;
    z-index: 1060;
}
.topbar a { color: rgba(255,255,255,0.8); transition: color 0.2s; }
.topbar a:hover { color: var(--white); }
.topbar-left { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.topbar-item { display: inline-flex; align-items: center; gap: 0.35rem; white-space: nowrap; }
.topbar-item i { font-size: 0.82rem; color: var(--ram-gold); }
.topbar-right { display: flex; align-items: center; gap: 1rem; }
.topbar-divider { width: 1px; height: 14px; background: rgba(255,255,255,0.15); }
.topbar-lang-btn {
    background: none; color: rgba(255,255,255,0.8); font-size: 0.78rem; font-weight: 500;
    padding: 0.15rem 0; border: none; cursor: pointer; display: inline-flex; align-items: center;
    gap: 0.3rem; transition: color 0.2s; font-family: var(--font-body);
}
.topbar-lang-btn:hover { color: var(--white); }
.topbar-lang-btn i { font-size: 0.72rem; }
.topbar-socials { display: flex; align-items: center; gap: 0.5rem; }
.topbar-socials a {
    width: 24px; height: 24px; border-radius: 6px; display: flex; align-items: center;
    justify-content: center; font-size: 0.8rem; transition: all 0.2s;
}
.topbar-socials a:hover { background: rgba(255,255,255,0.12); color: var(--white); }
@media (max-width: 767px) { .topbar { display: none; } }

/* ── Header ── */
.site-header {
    background: rgba(255,255,255,0.97); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 var(--border); position: sticky; top: 0; z-index: 1050; transition: box-shadow 0.3s;
}
.site-header.scrolled { box-shadow: var(--shadow-md); }
.logo-img { height: 50px; width: auto; display: block; }
.logo-img-w { height: 60px; width: auto; display: block; }
.nav-main .nav-link {
    font-weight: 600; font-size: 0.9rem; color: var(--ram-blue);
    padding: 0.5rem 1rem !important; border-radius: 8px; transition: all 0.25s;
}
.nav-main .nav-link:hover { color: var(--ram-red); background: rgba(200,16,46,0.06); }
.nav-main .nav-link.active-link { color: var(--ram-red); background: rgba(200,16,46,0.08); }
.btn-header-login {
    padding: 0.45rem 1.3rem; border: 1.5px solid var(--ram-red); color: var(--ram-red);
    background: transparent; border-radius: 50px; font-weight: 600; font-size: 0.88rem; transition: all 0.25s;
}
.btn-header-login:hover {
    background: var(--ram-red); color: var(--white); transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,45,98,0.25);
}

/* ── Shared Components ── */
.section-label {
    display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.78rem; font-weight: 700;
    color: var(--ram-red); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.75rem;
}
.section-label::before { content: ''; width: 24px; height: 2px; background: var(--ram-red); }
.section-title {
    font-family: var(--font-display); font-size: 2.2rem; font-weight: 800;
    color: var(--ram-blue); margin-bottom: 0.5rem; line-height: 1.2;
}
.section-subtitle { color: var(--text-muted); font-size: 1.05rem; max-width: 600px; }

/* ── Morocco Hero ── */
.morocco-hero {
    position: relative; min-height: 520px; display: flex; align-items: center; overflow: hidden;
    background: var(--ram-blue);
}
.morocco-hero-bg {
    position: absolute; inset: 0;
    background: url('../image/bg-6.jpg') center/cover no-repeat;
    z-index: 0;
}
.morocco-hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgb(0 45 98 / 96%) 0%, rgb(0 30 65 / 85%) 40%, rgba(200, 16, 46, 0.45) 100%);
    z-index: 1;
}
.morocco-hero-decor {
    position: absolute; width: 600px; height: 600px; border-radius: 50%;
    background: radial-gradient(circle, rgba(212,168,67,0.1) 0%, transparent 70%);
    bottom: -200px; right: -150px; z-index: 1;
}
.morocco-hero-decor-2 {
    position: absolute; width: 350px; height: 350px; border-radius: 50%;
    background: radial-gradient(circle, rgba(200,16,46,0.06) 0%, transparent 70%);
    top: -100px; left: 10%; z-index: 1;
}
.morocco-hero-inner { position: relative; z-index: 2; width: 100%; padding: 4.5rem 0; }
.morocco-hero-flag {
    display: inline-flex; align-items: center; gap: 0.6rem;
    background: rgba(212,168,67,0.12); border: 1px solid rgba(212,168,67,0.25);
    color: var(--ram-gold); padding: 0.4rem 1.1rem; border-radius: 50px;
    font-size: 0.82rem; font-weight: 600; margin-bottom: 1.5rem;
}
.morocco-hero-flag .flag-icon {
    width: 22px; height: 15px; background: #c1272d; border-radius: 3px;
    position: relative; display: inline-flex; align-items: center; justify-content: center;
}
.morocco-hero-flag .flag-icon::after {
    content: ''; width: 8px; height: 8px; border: 1.5px solid #006233;
    border-radius: 50%; background: transparent;
}
.morocco-hero-inner h1 {
    font-family: var(--font-display); color: var(--white); font-size: 3.2rem;
    font-weight: 800; line-height: 1.12; margin-bottom: 1rem;
}
.morocco-hero-inner h1 em { font-style: normal; color: var(--ram-gold); }
.morocco-hero-inner p { color: rgba(255,255,255,0.72); font-size: 1.1rem; max-width: 620px; margin-bottom: 2rem; line-height: 1.7; }
.morocco-breadcrumb {
    display: flex; align-items: center; gap: 0.5rem;
    margin-bottom: 1.5rem; font-size: 0.85rem;
}
.morocco-breadcrumb a { color: rgba(255,255,255,0.55); transition: color 0.2s; }
.morocco-breadcrumb a:hover { color: var(--white); }
.morocco-breadcrumb .sep { color: rgba(255,255,255,0.25); }
.morocco-breadcrumb .current { color: var(--ram-gold); font-weight: 600; }

.hero-stat-bar {
    display: flex; gap: 2rem; flex-wrap: wrap; margin-top: 0.5rem;
}
.hero-stat-item {
    display: flex; align-items: center; gap: 0.75rem;
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08);
    padding: 0.75rem 1.25rem; border-radius: var(--radius);
}
.hero-stat-icon {
    width: 40px; height: 40px; border-radius: 10px;
    background: rgba(212,168,67,0.15); display: flex; align-items: center;
    justify-content: center; color: var(--ram-gold); font-size: 1.1rem;
}
.hero-stat-num {
    font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; color: var(--white);
}
.hero-stat-num .gold { color: var(--ram-gold); }
.hero-stat-label { font-size: 0.72rem; color: rgba(255,255,255,0.45); text-transform: uppercase; letter-spacing: 0.06em; }

/* ── Morocco Intro Band ── */
.morocco-intro-band {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 2rem 0;
    position: relative;
    z-index: 5;
    margin-top: -2rem;
}
.intro-cities-row {
    display: flex; gap: 0.75rem; flex-wrap: wrap; justify-content: center;
}
.intro-city-chip {
    display: inline-flex; align-items: center; gap: 0.4rem;
    padding: 0.5rem 1rem; border-radius: 50px;
    background: var(--bg-light); border: 1.5px solid var(--border);
    font-size: 0.85rem; font-weight: 600; color: var(--text-dark);
    transition: all 0.25s; cursor: pointer;
}
.intro-city-chip i { color: var(--ram-red); font-size: 0.7rem; }
.intro-city-chip:hover {
    border-color: var(--ram-red); color: var(--ram-red);
    background: rgba(200,16,46,0.04); transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(200,16,46,0.1);
}

/* ── Tickets Section ── */
.tickets-section {
    padding: 5rem 0;
    background: var(--bg-light);
    position: relative;
}
.tickets-section::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--ram-red), var(--ram-gold), var(--ram-blue));
}

.tickets-controls {
    display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem;
}
.tickets-search-wrap {
    position: relative; flex: 1; min-width: 260px;
}
.tickets-search-wrap i {
    position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
    color: var(--text-muted); font-size: 0.95rem;
}
.tickets-search {
    width: 100%; padding: 0.72rem 1rem 0.72rem 2.6rem; border: 1.5px solid var(--border);
    border-radius: var(--radius); font-size: 0.9rem; font-family: var(--font-body);
    outline: none; transition: all 0.2s; background: var(--white);
}
.tickets-search:focus {
    border-color: var(--ram-blue); box-shadow: 0 0 0 3px rgba(0,45,98,0.1);
}
.tickets-search::placeholder { color: #b0b0b0; }

.tickets-sort-select {
    padding: 0.72rem 2.2rem 0.72rem 1rem; border: 1.5px solid var(--border);
    border-radius: var(--radius); font-size: 0.88rem; font-family: var(--font-body);
    outline: none; background: var(--white); color: var(--text-dark);
    appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236B7280' d='M6 8.5L1 3.5h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 0.75rem center;
    cursor: pointer; transition: border-color 0.2s;
}
.tickets-sort-select:focus { border-color: var(--ram-blue); }

.tickets-view-toggle {
    display: flex; border: 1.5px solid var(--border); border-radius: var(--radius); overflow: hidden;
}
.view-btn {
    padding: 0.55rem 0.85rem; background: var(--white); color: var(--text-muted);
    font-size: 1rem; transition: all 0.2s; display: flex; align-items: center; justify-content: center;
    border: none;
}
.view-btn:not(:last-child) { border-right: 1.5px solid var(--border); }
.view-btn.active { background: var(--ram-red); color: var(--white); }

/* ── Ticket Cards (List View - Default) ── */
.tickets-list { display: flex; flex-direction: column; gap: 1rem; }

.ticket-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1.5px solid var(--border);
    overflow: hidden;
    transition: all 0.35s;
    position: relative;
}
.ticket-card:hover {
    border-color: transparent;
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}
.ticket-card::before {
    content: '';
    position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
    background: var(--ram-red);
    opacity: 0;
    transition: opacity 0.3s;
}
.ticket-card:hover::before { opacity: 1; }

.ticket-card-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 1.5rem 2rem;
    gap: 2rem;
}

.ticket-route {
    display: flex; align-items: center; gap: 1.5rem;
}
.ticket-airport {
    text-align: center; min-width: 80px;
}
.ticket-airport-code {
    font-family: var(--font-display); font-weight: 800; font-size: 1.5rem;
    color: var(--ram-blue); line-height: 1;
}
.ticket-airport-name {
    font-size: 0.75rem; color: var(--text-muted); margin-top: 0.25rem; font-weight: 500;
}

.ticket-flight-path {
    flex: 1; display: flex; align-items: center; position: relative; min-width: 120px;
}
.flight-path-line {
    flex: 1; height: 2px; background: var(--border); position: relative;
}
.flight-path-line::before {
    content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
    width: 8px; height: 8px; border-radius: 50%; background: var(--ram-blue);
}
.flight-path-line::after {
    content: ''; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
    width: 8px; height: 8px; border-radius: 50%; background: var(--ram-red);
}
.flight-path-plane {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    width: 32px; height: 32px; border-radius: 50%;
    background: var(--ram-blue-light); display: flex; align-items: center;
    justify-content: center; color: var(--ram-blue); font-size: 0.85rem;
    border: 2px solid var(--white); box-shadow: var(--shadow-sm);
}
.flight-path-duration {
    position: absolute; bottom: -18px; left: 50%; transform: translateX(-50%);
    font-size: 0.7rem; color: var(--text-muted); font-weight: 500;
    white-space: nowrap; background: var(--white); padding: 0 0.4rem;
}

.ticket-meta {
    display: flex; align-items: center; gap: 1.5rem; margin-top: 0.25rem;
}
.ticket-meta-item {
    display: flex; align-items: center; gap: 0.35rem;
    font-size: 0.78rem; color: var(--text-muted);
}
.ticket-meta-item i { font-size: 0.82rem; color: var(--ram-gold); }

.ticket-action {
    display: flex; flex-direction: column; align-items: flex-end; gap: 0.5rem;
    min-width: 160px;
}
.ticket-price-block { text-align: right; }
.ticket-price-from {
    font-size: 0.72rem; color: var(--text-muted); font-weight: 500; text-transform: uppercase;
    letter-spacing: 0.04em;
}
.ticket-price {
    font-family: var(--font-display); font-weight: 800; font-size: 1.6rem;
    color: var(--ram-red); line-height: 1.1;
}
.ticket-price-type {
    font-size: 0.72rem; color: var(--text-muted); font-weight: 400;
}

.btn-ticket-book {
    padding: 0.6rem 1.6rem; background: var(--ram-red); color: var(--white);
    font-weight: 700; font-size: 0.88rem; border-radius: 50px; transition: all 0.25s;
    display: inline-flex; align-items: center; gap: 0.4rem; white-space: nowrap;
}
.btn-ticket-book:hover {
    background: var(--ram-red-dark); color: var(--white);
    transform: translateY(-2px); box-shadow: 0 6px 20px rgba(98, 0, 0, 0.3);
}
.btn-ticket-book i { font-size: 0.8rem; transition: transform 0.25s; }
.btn-ticket-book:hover i { transform: translateX(3px); }

.ticket-badge {
    position: absolute; top: 0; right: 0;
    padding: 0.3rem 0.85rem; border-radius: 0 0 0 12px;
    font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
}
.ticket-badge.popular {
    background: var(--ram-gold); color: #1a1a1a;
}
.ticket-badge.direct {
    background: #dcfce7; color: #166534;
}

/* ── Ticket Cards (Grid View) ── */
.tickets-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem;
}
.tickets-grid .ticket-card-inner {
    grid-template-columns: 1fr;
    padding: 1.5rem;
    gap: 1.25rem;
}
.tickets-grid .ticket-action {
    flex-direction: row; align-items: center; justify-content: space-between;
    min-width: auto;
}
.tickets-grid .ticket-price-block { text-align: left; }
.tickets-grid .ticket-route { gap: 1rem; }
.tickets-grid .ticket-airport-code { font-size: 1.25rem; }

/* ── Tickets Pagination ── */
.tickets-footer {
    display: flex; align-items: center; justify-content: space-between;
    padding: 1.25rem 0; margin-top: 1.5rem; flex-wrap: wrap; gap: 0.75rem;
}
.tickets-footer-info { font-size: 0.85rem; color: var(--text-muted); }
.tickets-footer-info strong { color: var(--text-dark); }
.tickets-pagination { display: flex; align-items: center; gap: 0.35rem; }
.page-btn {
    width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center;
    justify-content: center; font-size: 0.85rem; font-weight: 600;
    background: var(--white); border: 1.5px solid var(--border); color: var(--text-muted);
    transition: all 0.2s;
}
.page-btn:hover { border-color: var(--ram-red); color: var(--ram-red); }
.page-btn.active { background: var(--ram-red); border-color: var(--ram-red); color: var(--white); }
.page-btn:disabled { opacity: 0.4; cursor: not-allowed; }

.tickets-no-results {
    text-align: center; padding: 4rem 2rem; background: var(--white);
    border-radius: var(--radius-lg); border: 1.5px solid var(--border);
}
.tickets-no-results i { font-size: 2.5rem; color: #d1d5db; margin-bottom: 0.75rem; }
.tickets-no-results h4 { font-weight: 700; color: var(--text-dark); margin-bottom: 0.25rem; }
.tickets-no-results p { color: var(--text-muted); font-size: 0.9rem; }

/* ── City Highlights ── */
.city-highlights-section {
    padding: 5rem 0;
    background: var(--white);
}
.city-highlight-card {
    background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-sm); transition: all 0.35s; height: 100%;
    border: 1.5px solid var(--border); position: relative;
}
.city-highlight-card:hover {
    box-shadow: var(--shadow-lg); transform: translateY(-5px); border-color: transparent;
}
.city-highlight-img {
    position: relative; overflow: hidden; height: 240px;
}
.city-highlight-img img { width: 100%; height: 100%; transition: transform 0.6s ease; }
.city-highlight-card:hover .city-highlight-img img { transform: scale(1.08); }
.city-highlight-img-overlay {
    position: absolute; bottom: 0; left: 0; right: 0; height: 60%;
    background: linear-gradient(transparent, rgba(0,0,0,0.5));
}
.city-highlight-badge {
    position: absolute; top: 12px; left: 12px;
    background: rgba(0,0,0,0.4); backdrop-filter: blur(6px);
    color: var(--white); padding: 0.3rem 0.8rem; border-radius: 50px;
    font-size: 0.72rem; font-weight: 600;
    display: flex; align-items: center; gap: 0.3rem;
}
.city-highlight-badge i { color: var(--ram-gold); font-size: 0.75rem; }
.city-highlight-name {
    position: absolute; bottom: 14px; left: 16px; right: 16px;
}
.city-highlight-name h3 {
    font-family: var(--font-display); font-weight: 800; font-size: 1.4rem;
    color: var(--white); line-height: 1.2; margin-bottom: 0.15rem;
}
.city-highlight-name span { font-size: 0.78rem; color: rgba(255,255,255,0.7); font-weight: 500; }

.city-highlight-body { padding: 1.5rem; }
.city-highlight-body p {
    font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 1.25rem;
    display: -webkit-box; line-clamp: 3; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.city-highlight-features {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; margin-bottom: 1.25rem;
}
.city-feature {
    display: flex; align-items: center; gap: 0.4rem;
    font-size: 0.78rem; color: var(--text-dark); font-weight: 500;
}
.city-feature i { color: var(--ram-gold); font-size: 0.72rem; }

.city-highlight-footer {
    display: flex; align-items: center; justify-content: space-between;
    padding-top: 1rem; border-top: 1px solid var(--border);
}
.city-price-tag {
    font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; color: var(--ram-blue);
}
.city-price-tag small { font-weight: 400; font-size: 0.72rem; color: var(--text-muted); }
.btn-city-explore {
    padding: 0.5rem 1.3rem; background: var(--ram-red); color: var(--white);
    font-weight: 700; font-size: 0.82rem; border-radius: 50px; transition: all 0.25s;
    display: inline-flex; align-items: center; gap: 0.35rem;
}
.btn-city-explore:hover {
    background: var(--ram-red-dark); color: var(--white);
    transform: translateY(-2px); box-shadow: 0 6px 20px rgba(200,16,46,0.3);
}

/* ── Why Morocco ── */
.why-morocco-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--ram-blue) 0%, #003d82 100%);
    color: var(--white); position: relative; overflow: hidden;
}
.why-morocco-section::before {
    content: ''; position: absolute; top: -20%; right: -10%; width: 500px; height: 500px;
    border-radius: 50%; background: radial-gradient(circle, rgba(212,168,67,0.06) 0%, transparent 70%);
}
.why-morocco-section .section-label { color: var(--ram-gold); }
.why-morocco-section .section-label::before { background: var(--ram-gold); }
.why-morocco-section .section-title { color: var(--white); }
.why-morocco-section .section-subtitle { color: rgba(255,255,255,0.65); }
.why-card {
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-lg); padding: 2rem; transition: all 0.3s;
    height: 100%;
}
.why-card:hover {
    background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.15);
    transform: translateY(-4px);
}
.why-card-icon {
    width: 52px; height: 52px; border-radius: 14px;
    background: rgba(212,168,67,0.12); display: flex; align-items: center;
    justify-content: center; color: var(--ram-gold); font-size: 1.3rem;
    margin-bottom: 1.25rem;
}
.why-card h4 { font-weight: 700; font-size: 1.05rem; margin-bottom: 0.5rem; }
.why-card p { font-size: 0.88rem; color: rgba(255,255,255,0.6); line-height: 1.65; }

/* ── Popular Routes ── */
.routes-section {
    padding: 5rem 0; position: relative; overflow: hidden;
    background: linear-gradient(135deg, var(--ram-red) 0%, #820042 100%);
    color: var(--white);
}
.routes-section::before {
    content: ''; position: absolute; top: -30%; right: -15%; width: 500px; height: 500px;
    border-radius: 50%; background: radial-gradient(circle, rgba(212,168,67,0.08) 0%, transparent 70%);
}
.routes-section .section-label { color: var(--ram-gold); }
.routes-section .section-label::before { background: var(--ram-gold); }
.routes-section .section-title { color: var(--white); }
.routes-section .section-subtitle { color: rgba(255,255,255,0.7); }
.route-item {
    display: flex; align-items: center; gap: 1rem; padding: 1.15rem 1.5rem;
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius); transition: all 0.25s; margin-bottom: 0.75rem;
}
.route-item:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.15); transform: translateX(4px); }
.route-airport { font-weight: 700; font-size: 1rem; min-width: 60px; }
.route-airport small { display: block; font-weight: 400; font-size: 0.72rem; color: rgba(255,255,255,0.5); }
.route-arrow { flex: 1; display: flex; align-items: center; color: rgba(255,255,255,0.2); }
.route-arrow .line { flex: 1; height: 1.5px; background: currentColor; }
.route-arrow i { font-size: 0.8rem; margin: 0 0.4rem; }
.route-info { text-align: right; }
.route-price { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; color: var(--ram-gold); }
.route-price small { font-weight: 400; font-size: 0.72rem; color: rgba(255,255,255,0.5); }
.route-freq { font-size: 0.75rem; color: rgba(255,255,255,0.5); }

/* ── Travel Info ── */
.travel-info-section {
    padding: 5rem 0;
    background: var(--bg-warm);
}
.info-card {
    background: var(--white); border-radius: var(--radius-lg); padding: 2rem;
    box-shadow: var(--shadow-sm); border: 1.5px solid var(--border);
    transition: all 0.3s; height: 100%;
}
.info-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.info-card-icon {
    width: 48px; height: 48px; border-radius: 12px;
    background: var(--ram-blue-light); display: flex; align-items: center;
    justify-content: center; color: var(--ram-blue); font-size: 1.2rem;
    margin-bottom: 1rem;
}
.info-card h4 { font-weight: 700; font-size: 1rem; color: var(--text-dark); margin-bottom: 0.5rem; }
.info-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 0; }
.info-card ul { list-style: none; padding: 0; margin: 0; }
.info-card ul li {
    font-size: 0.88rem; color: var(--text-muted); padding: 0.35rem 0;
    display: flex; align-items: flex-start; gap: 0.5rem; line-height: 1.5;
}
.info-card ul li i { color: var(--ram-gold); font-size: 0.72rem; margin-top: 0.35rem; flex-shrink: 0; }

/* ── CTA Section ── */
.cta-section {
    padding: 5rem 0; background: var(--bg-warm); border-top: 1px solid var(--border);
}
.cta-card {
    background: linear-gradient(135deg, #620000 0%, #820000 100%);
    border-radius: var(--radius-lg); padding: 3.5rem; position: relative; overflow: hidden;
    text-align: center; color: var(--white);
}
.cta-card::before {
    content: ''; position: absolute; top: -40%; right: -10%; width: 400px; height: 400px;
    border-radius: 50%; background: radial-gradient(circle, rgba(200,16,46,0.15) 0%, transparent 70%);
}
.cta-card::after {
    content: ''; position: absolute; bottom: -30%; left: -5%; width: 300px; height: 300px;
    border-radius: 50%; background: radial-gradient(circle, rgba(212,168,67,0.1) 0%, transparent 70%);
}
.cta-card > * { position: relative; z-index: 1; }
.cta-card h2 { font-family: var(--font-display); font-size: 2rem; font-weight: 800; margin-bottom: 0.75rem; }
.cta-card h2 em { font-style: normal; color: var(--ram-gold); }
.cta-card p { color: rgba(255,255,255,0.7); font-size: 1.05rem; max-width: 550px; margin: 0 auto 2rem; }
.cta-actions { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }
.btn-cta-primary {
    padding: 0.75rem 2rem; background: var(--ram-red); color: var(--white);
    font-weight: 700; font-size: 0.95rem; border-radius: 50px; transition: all 0.25s;
    display: inline-flex; align-items: center; gap: 0.5rem;
}
.btn-cta-primary:hover { background: var(--ram-red-dark); color: var(--white); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(200,16,46,0.35); }
.btn-cta-outline {
    padding: 0.75rem 2rem; background: transparent; color: var(--white); font-weight: 600;
    font-size: 0.95rem; border-radius: 50px; border: 1.5px solid rgba(255,255,255,0.35); transition: all 0.25s;
    display: inline-flex; align-items: center; gap: 0.5rem;
}
.btn-cta-outline:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.6); color: var(--white); }

/* ── Newsletter ── */
.newsletter-section { background: var(--bg-warm); padding: 4rem 0; border-top: 1px solid var(--border); }
.newsletter-card {
    background: var(--white); border-radius: var(--radius-lg); padding: 3rem;
    box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 3rem;
}
.newsletter-text h3 { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; color: var(--ram-blue); margin-bottom: 0.4rem; }
.newsletter-text p { color: var(--text-muted); font-size: 0.92rem; }
.newsletter-form { display: flex; gap: 0.5rem; min-width: 320px; }
.newsletter-form input {
    flex: 1; padding: 0.7rem 1rem; border: 1.5px solid var(--border); border-radius: 10px;
    font-size: 0.9rem; font-family: var(--font-body); outline: none; transition: border-color 0.2s;
}
.newsletter-form input:focus { border-color: var(--ram-blue); }
.btn-newsletter {
    padding: 0.7rem 1.5rem; background: var(--ram-red); color: var(--white);
    font-weight: 700; font-size: 0.9rem; border-radius: 10px; transition: all 0.25s; white-space: nowrap;
}
.btn-newsletter:hover { background: var(--ram-red-dark); color: var(--white); }

/* ── Footer ── */
.site-footer { background: #0f172a; color: #94a3b8; padding: 4rem 0 0; }
.footer-brand {
    font-family: var(--font-body); font-weight: 800; font-size: 1.15rem; color: var(--white);
    margin-bottom: 1rem; display: flex; align-items: center; gap: 0.5rem;
}
.footer-brand span { color: var(--ram-red); }
.footer-desc { font-size: 0.88rem; line-height: 1.7; margin-bottom: 1.25rem; }
.footer-socials { display: flex; gap: 0.5rem; }
.footer-socials a {
    width: 36px; height: 36px; border-radius: 10px; background: rgba(255,255,255,0.06);
    display: flex; align-items: center; justify-content: center; font-size: 1rem;
    color: #94a3b8; transition: all 0.25s;
}
.footer-socials a:hover { background: var(--ram-red); color: var(--white); transform: translateY(-2px); }
.footer-col h4 { color: var(--white); font-weight: 700; font-size: 0.95rem; margin-bottom: 1.25rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a { font-size: 0.88rem; color: #94a3b8; transition: all 0.2s; }
.footer-col ul li a:hover { color: var(--white); padding-left: 4px; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08); padding: 1.5rem 0; margin-top: 3rem;
    display: flex; justify-content: space-between; align-items: center; font-size: 0.82rem;
}
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { color: #64748b; }
.footer-bottom-links a:hover { color: var(--white); }

/* ── Toast ── */
.toast-custom {
    position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(120px);
    background: #1e293b; color: #fff; padding: 0.85rem 1.5rem; border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.2); transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
    z-index: 9999; font-size: 0.9rem; display: flex; align-items: center; gap: 0.6rem;
    border: 1px solid rgba(255,255,255,0.08);
}
.toast-custom.show { transform: translateX(-50%) translateY(0); }
.toast-custom i { color: #10b981; font-size: 1.1rem; }

/* ── Animations ── */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── Responsive ── */
@media (max-width: 1199px) {
    .tickets-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 991px) {
    .morocco-hero-inner h1 { font-size: 2.4rem; }
    .section-title { font-size: 1.8rem; }
    .tickets-grid { grid-template-columns: 1fr; }
    .ticket-card-inner {
        grid-template-columns: 1fr;
        padding: 1.25rem;
        gap: 1.25rem;
    }
    .ticket-action {
        flex-direction: row; align-items: center; justify-content: space-between;
        min-width: auto; padding-top: 1rem; border-top: 1px solid var(--border);
    }
    .ticket-price-block { text-align: left; }
    .newsletter-card { flex-direction: column; text-align: center; }
    .newsletter-form { min-width: auto; width: 100%; }
    .tickets-controls { flex-direction: column; align-items: stretch; }
    .tickets-search-wrap { min-width: auto; }
}
@media (max-width: 767px) {
    .morocco-hero { min-height: 420px; }
    .morocco-hero-inner h1 { font-size: 1.9rem; }
    .morocco-hero-inner { padding: 3rem 0; }
    .section-title { font-size: 1.6rem; }
    .hero-stat-bar { gap: 0.75rem; }
    .hero-stat-item { padding: 0.6rem 0.9rem; }
    .hero-stat-icon { width: 34px; height: 34px; font-size: 0.95rem; }
    .hero-stat-num { font-size: 1.05rem; }
    .cta-card { padding: 2.5rem 1.5rem; }
    .cta-card h2 { font-size: 1.5rem; }
    .footer-bottom { flex-direction: column; gap: 0.75rem; text-align: center; }
    .ticket-route { gap: 0.75rem; flex-wrap: wrap; }
    .ticket-airport { min-width: 55px; }
    .ticket-airport-code { font-size: 1.15rem; }
    .flight-path-plane { width: 28px; height: 28px; font-size: 0.7rem; }
    .ticket-price { font-size: 1.3rem; }
    .btn-ticket-book { padding: 0.5rem 1.2rem; font-size: 0.82rem; }
    .tickets-footer { flex-direction: column; text-align: center; }
    .city-highlight-features { grid-template-columns: 1fr; }
    .hide-mobile { display: none !important; }
}

.trust-bar {
    background: var(--bg-warm);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}
.trust-item i {
    color: var(--ram-gold);
    font-size: 1.1rem;
}

#thankYouPopup {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
    padding: 20px;
}

#thankYouPopup.show {
    opacity: 1;
    visibility: visible;
}

.thankyou-box {
    background: #fff;
    width: 100%;
    max-width: 420px;
    border-radius: 18px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.18);
    animation: popupUp 0.35s ease;
}

.thankyou-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: #198754;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
}

.thankyou-box h3 {
    margin: 0 0 10px;
    font-size: 28px;
    color: #111;
}

.thankyou-box p {
    margin: 0;
    font-size: 16px;
    color: #666;
    line-height: 1.5;
}

@keyframes popupUp {
    from {
        transform: translateY(20px) scale(0.96);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}