/* ==========================================================================
   Parandeh Mohajer — Homepage v2
   ========================================================================== */

@font-face {
    font-family: "YekanBakh";
    src: url("../fonts/mgairan/YekanBakhFaNum-VF.woff2") format("woff2");
    font-weight: 100 1000;
    font-display: swap;
}

:root {
    --navy-900: #071536;
    --navy-800: #0b1f4d;
    --navy-700: #12306e;
    --blue-600: #1a56db;
    --blue-500: #2f6bff;
    --blue-100: #e6eeff;
    --blue-50: #f3f7ff;
    --accent: #ff5a1f;
    --accent-600: #e84a10;
    --accent-100: #fff0e9;
    --gold: #ffb020;

    --ink: #0f172a;
    --ink-2: #334155;
    --muted: #64748b;
    --line: #e2e8f0;
    --bg: #ffffff;
    --bg-soft: #f5f8fd;

    --radius-sm: 12px;
    --radius: 20px;
    --radius-lg: 28px;
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, .06);
    --shadow: 0 12px 32px -12px rgba(11, 31, 77, .22);
    --shadow-lg: 0 30px 60px -20px rgba(11, 31, 77, .35);
    --ease: cubic-bezier(.22, .61, .36, 1);
    --container: 1240px;
    --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: "YekanBakh", Tahoma, sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.35; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 3px; border-radius: 8px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }

.skip-link {
    position: absolute; inset-inline-start: 16px; top: -60px; z-index: 100;
    background: var(--navy-800); color: #fff; padding: 10px 18px; border-radius: 10px;
    transition: top .2s;
}
.skip-link:focus { top: 16px; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 50px; padding: 0 26px; border: 0; border-radius: 14px;
    font-weight: 700; font-size: 15px; cursor: pointer; white-space: nowrap;
    transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--blue-600); color: #fff; box-shadow: 0 10px 22px -10px rgba(26, 86, 219, .8); }
.btn-primary:hover { background: var(--blue-500); }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 12px 26px -10px rgba(255, 90, 31, .85); }
.btn-accent:hover { background: var(--accent-600); }
.btn-light { background: #fff; color: var(--navy-800); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 14px; border-radius: 12px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
    position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
    color: #fff;
    transition: background .35s var(--ease), box-shadow .35s var(--ease), color .35s, height .35s;
}
.site-header.is-scrolled {
    --header-h: 66px;
    background: rgba(255, 255, 255, .86);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    backdrop-filter: saturate(180%) blur(16px);
    box-shadow: 0 1px 0 var(--line), 0 10px 30px -18px rgba(11, 31, 77, .3);
    color: var(--ink);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 12px; }

.brand { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.brand img { width: 46px; height: 46px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); }
.brand-text { display: flex; flex-direction: column; line-height: 1.3; }
.brand-text strong { font-size: 14px; font-weight: 900; }
.brand-text small { font-size: 12px; opacity: .75; }

.main-nav { margin-inline-start: auto; }
.main-nav > ul { display: flex; gap: 4px; }
.main-nav li { position: relative; }
.main-nav > ul > li > a {
    display: flex; align-items: center; gap: 6px; padding: 8px 6px; border-radius: 10px;
    font-weight: 600; font-size: 15px; transition: background .2s;
}
.main-nav > ul > li > a i { font-size: 10px; opacity: .7; }
.main-nav > ul > li > a:hover { background: rgba(255, 255, 255, .14); }
.is-scrolled .main-nav > ul > li > a:hover { background: var(--blue-50); color: var(--blue-600); }
.nav-caret { transition: transform .3s var(--ease); }
.has-children.is-open > a { background: rgba(255, 255, 255, .14); }
.is-scrolled .has-children.is-open > a { background: var(--blue-50); color: var(--blue-600); }
.has-children.is-open .nav-caret { transform: rotate(180deg); }

/* Mega dropdown. padding-top is an invisible bridge so the pointer can travel from the link to the panel. */
.mega {
    position: absolute; top: 100%; left: 50%; padding-top: 14px; z-index: 5;
    opacity: 0; visibility: hidden; pointer-events: none;
    transform: translate(-50%, 12px) scale(.98); transform-origin: top center;
    transition: opacity .22s var(--ease), transform .32s var(--ease), visibility 0s linear .32s;
}
.has-children.is-open > .mega {
    opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0) scale(1);
    transition-delay: 0s;
}
.mega-inner {
    position: relative; width: 460px; display: grid; grid-template-columns: 1fr 190px; gap: 10px; padding: 10px;
    background: #fff; color: var(--ink); border-radius: 22px;
    box-shadow: 0 30px 60px -18px rgba(11, 31, 77, .38), 0 0 0 1px rgba(15, 23, 42, .05);
}
.mega-inner::before {
    content: ""; position: absolute; top: -6px; left: 50%; width: 14px; height: 14px; margin-left: -7px;
    background: #fff; transform: rotate(45deg); border-radius: 3px 0 0 0;
}
.mega-wide .mega-inner { width: 680px; grid-template-columns: 1fr 210px; }
.mega-links { display: grid; gap: 2px; align-content: start; }
.mega-wide .mega-links { grid-template-columns: 1fr 1fr; }
.mega-links li {
    opacity: 0; transform: translateY(6px);
    transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.is-open .mega-links li { opacity: 1; transform: none; transition-delay: calc(var(--i, 0) * 30ms + 60ms); }
.mega-links a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; transition: background .2s; }
.mega-links a:hover, .mega-links a:focus-visible { background: var(--blue-50); }
.mega-icon {
    width: 40px; height: 40px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center;
    background: var(--bg-soft); color: var(--blue-600); font-size: 15px;
    transition: background .25s, color .25s, transform .35s var(--ease);
}
.mega-icon img { width: 22px; height: 22px; object-fit: contain; }
.mega-links a:hover .mega-icon { background: var(--blue-600); color: #fff; transform: rotate(-8deg) scale(1.06); }
.mega-text { display: flex; flex-direction: column; line-height: 1.4; transition: transform .3s var(--ease); }
.mega-text b { font-size: 14px; font-weight: 800; }
.mega-text small { font-size: 11px; color: var(--muted); }
.mega-links a:hover .mega-text { transform: translateX(-4px); }
.mega-links a:hover .mega-text b { color: var(--blue-600); }
.mega-card {
    position: relative; overflow: hidden; isolation: isolate; border-radius: 16px; padding: 18px;
    display: flex; flex-direction: column; gap: 6px; color: #fff;
    background: linear-gradient(160deg, var(--navy-700), var(--navy-900));
}
.mega-card::before {
    content: ""; position: absolute; z-index: -1; width: 180px; height: 180px; border-radius: 50%;
    bottom: -90px; left: -60px; background: radial-gradient(circle, rgba(255, 90, 31, .55), transparent 70%);
    transition: transform .6s var(--ease);
}
.mega-card:hover::before { transform: scale(1.3); }
.mega-card-kicker { font-size: 11px; font-weight: 800; color: var(--gold); }
.mega-card b { font-size: 17px; font-weight: 900; }
.mega-card small { font-size: 12px; color: rgba(255, 255, 255, .72); line-height: 1.7; }
.mega-card-cta {
    margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 12px; border-radius: 10px; background: #fff; color: var(--navy-800); font-size: 12px; font-weight: 800;
}
.mega-card:hover .mega-card-cta i { transform: translateX(-3px); }
.mega-card-cta i { transition: transform .3s; }

.header-actions { display: flex; align-items: center; gap: 12px; }
.header-phone { display: flex; align-items: center; gap: 10px; }
.header-phone-icon {
    width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center;
    background: var(--accent); color: #fff; box-shadow: 0 8px 20px -8px rgba(255, 90, 31, .9);
    animation: ring 3.5s ease-in-out infinite;
}
.header-phone-text { display: flex; flex-direction: column; line-height: 1.25; }
.header-phone-text small { font-size: 12px; opacity: .8; }
.header-phone-text b { font-size: 14px; font-weight: 800; letter-spacing: .5px; }
@keyframes ring {
    0%, 86%, 100% { transform: rotate(0); }
    88% { transform: rotate(-12deg); } 90% { transform: rotate(12deg); }
    92% { transform: rotate(-8deg); } 94% { transform: rotate(8deg); }
}

.menu-toggle {
    display: none; width: 46px; height: 46px; border-radius: 14px; border: 0; cursor: pointer;
    background: rgba(255, 255, 255, .16); flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.is-scrolled .menu-toggle { background: var(--blue-50); }
.menu-toggle span { width: 20px; height: 2px; border-radius: 2px; background: currentColor; }

/* Drawer: always in the DOM; visibility flips after the close animation so it can slide out too */
.drawer {
    position: fixed; inset: 0; z-index: 90; visibility: hidden; pointer-events: none;
    transition: visibility 0s linear .5s;
}
.drawer.is-open { visibility: visible; pointer-events: auto; transition-delay: 0s; }
.drawer-backdrop {
    position: absolute; inset: 0; background: rgba(7, 21, 54, .5); opacity: 0;
    -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
    transition: opacity .45s var(--ease);
}
.drawer.is-open .drawer-backdrop { opacity: 1; }
.drawer-panel {
    position: absolute; inset-block: 0; inset-inline-start: 0;
    width: min(86vw, 340px); background: #fff; padding: 20px; overflow-y: auto;
    display: flex; flex-direction: column; gap: 18px;
    border-start-end-radius: 26px; border-end-end-radius: 26px;
    box-shadow: -30px 0 60px -20px rgba(7, 21, 54, .35);
    transform: translateX(105%); transition: transform .5s cubic-bezier(.32, .72, 0, 1);
}
.drawer.is-open .drawer-panel { transform: none; }
.drawer-head { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.drawer-head img { border-radius: 50%; }
.drawer-close {
    margin-inline-start: auto; width: 40px; height: 40px; border: 0; border-radius: 12px; background: var(--bg-soft); cursor: pointer;
    transition: transform .35s var(--ease), background .2s;
}
.drawer-close:hover { background: var(--accent-100); color: var(--accent); transform: rotate(90deg); }
.drawer-item {
    opacity: 0; transform: translateX(24px);
    transition: opacity .35s var(--ease), transform .45s var(--ease);
}
.drawer.is-open .drawer-item { opacity: 1; transform: none; transition-delay: calc(var(--i, 0) * 45ms + 120ms); }
.drawer-menu > li > a, .drawer-toggle {
    display: flex; align-items: center; justify-content: space-between; width: 100%;
    padding: 12px 14px; border: 0; border-radius: 12px; background: none; cursor: pointer;
    font-weight: 700; font-size: 15px; text-align: start; transition: background .2s, color .2s;
}
.drawer-menu > li > a:hover, .drawer-toggle:hover, .is-expanded > .drawer-toggle { background: var(--blue-50); color: var(--blue-600); }
.drawer-toggle i { font-size: 12px; transition: transform .35s var(--ease); }
.is-expanded > .drawer-toggle i { transform: rotate(180deg); }
/* Smooth height animation via grid rows 0fr -> 1fr */
.drawer-sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.is-expanded > .drawer-sub { grid-template-rows: 1fr; }
.drawer-sub > ul { overflow: hidden; margin-inline-start: 14px; padding-inline-start: 12px; border-inline-start: 2px solid var(--blue-100); }
.drawer-sub a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; font-size: 14px; }
.drawer-sub a i { color: var(--blue-600); font-size: 12px; }
.drawer-sub a:hover { background: var(--bg-soft); }
.drawer-sub .drawer-sub-all { color: var(--accent); font-weight: 800; }
.drawer-sub .drawer-sub-all i { color: inherit; }
body.drawer-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
    position: relative; min-height: min(100svh, 860px); display: flex; align-items: center;
    padding: calc(var(--header-h) + 48px) 0 120px; color: #fff; isolation: isolate;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg); overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -1; background: var(--navy-800); }
.hero-overlay {
    position: absolute; inset: 0;
    background:
        radial-gradient(90% 70% at 85% 30%, rgba(7, 21, 54, .25), transparent 60%),
        linear-gradient(to left, rgba(7, 21, 54, .88) 0%, rgba(7, 21, 54, .62) 45%, rgba(7, 21, 54, .18) 100%),
        linear-gradient(to top, rgba(7, 21, 54, .75), transparent 45%),
        linear-gradient(to bottom, rgba(7, 21, 54, .55), transparent 22%);
}
.hero-content { position: relative; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px;
    background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: 14px; font-weight: 600;
}
.eyebrow i { color: var(--gold); }
.hero h1 {
    margin-top: 22px; max-width: 100%;
    font-size: clamp(34px, 5.6vw, 64px); font-weight: 900; line-height: 1.25; letter-spacing: -.5px;
}
.hero-highlight {
    display: block;
    background: linear-gradient(90deg, #ffd29a, #ffb020 40%, #ff7a3d);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lead { margin-top: 16px; max-width: 100%; font-size: clamp(15px, 1.6vw, 18px); color: rgba(255, 255, 255, .85); }

.search-card {
    margin-top: 36px; max-width: 100%;
    display: grid; grid-template-columns: 1.3fr 1fr 1fr auto; gap: 6px; align-items: stretch;
    padding: 8px; border-radius: 22px; background: #fff; color: var(--ink); box-shadow: var(--shadow-lg);
}
.search-field {
    display: flex; flex-direction: column; justify-content: center; gap: 2px;
    padding: 10px 18px; border-radius: 16px; position: relative; transition: background .2s;
}
.search-field + .search-field::before {
    content: ""; position: absolute; inset-inline-start: -3px; top: 22%; bottom: 22%; width: 1px; background: var(--line);
}
.search-field:hover, .search-field:focus-within { background: var(--bg-soft); }
.search-field label, .search-field .label { font-size: 12px; font-weight: 700; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.search-field label i, .search-field .label i { color: var(--blue-600); }
.search-field select {
    border: 0; background: transparent; padding: 0; font-size: 16px; font-weight: 700; cursor: pointer;
    appearance: none; -webkit-appearance: none; outline: none; width: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2364748b' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: left center; padding-left: 20px;
}
.search-field .value { font-size: 16px; font-weight: 700; }
.search-submit { min-height: 64px; border-radius: 16px; padding: 0 30px; font-size: 16px; }

.quick-chips { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.quick-chips-label { font-size: 14px; color: rgba(255, 255, 255, .75); }
.chip {
    display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
    background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .22); font-size: 14px; font-weight: 600;
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background .2s, transform .2s;
}
.chip:hover { background: rgba(255, 255, 255, .28); transform: translateY(-2px); }
.chip img { border-radius: 3px; object-fit: cover; }

.search-field select:disabled { color: var(--muted); cursor: not-allowed; font-weight: 600; font-size: 14px; }
.search-field.is-updated { animation: field-flash 1s var(--ease); }
@keyframes field-flash { 0% { background: var(--blue-100); } 100% { background: transparent; } }

/* ---------- Highlights ---------- */
.highlights {
    position: relative; z-index: 2; margin-top: -58px;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
    background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 10px;
}
.highlight { display: flex; align-items: center; gap: 14px; padding: 16px 18px; }
.highlight + .highlight { border-inline-start: 1px solid var(--line); }
.highlight-icon {
    width: 52px; height: 52px; flex-shrink: 0; border-radius: 16px; display: grid; place-items: center;
    background: var(--blue-50); color: var(--blue-600); font-size: 20px;
}
.highlight:nth-child(3) .highlight-icon { background: var(--accent-100); color: var(--accent); }
.highlight b { display: block; font-size: 17px; font-weight: 800; }
.highlight small { color: var(--muted); font-size: 13px; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-tinted { background: var(--bg-soft); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.section-head p { max-width: 420px; color: var(--muted); }
.section-head-center { flex-direction: column; align-items: center; text-align: center; }
.section-kicker {
    display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 800; color: var(--accent);
    margin-bottom: 8px;
}
.section-kicker::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: currentColor; }
.kicker-light { color: var(--gold); }
.section h2 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 900; letter-spacing: -.3px; }

/* ---------- Destinations (bento) ---------- */
.destinations {
    display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 250px; gap: 20px;
}
.destination {
    position: relative; overflow: hidden; border-radius: var(--radius); color: #fff;
    box-shadow: var(--shadow); isolation: isolate; display: flex; flex-direction: column; justify-content: space-between;
}
.destination-featured { grid-column: span 2; grid-row: span 2; }
/* Fewer destinations: keep the grid full instead of leaving holes */
.destinations[data-count="1"] { grid-template-columns: 1fr; grid-auto-rows: 440px; }
.destinations[data-count="2"] { grid-template-columns: 1.4fr 1fr; grid-auto-rows: 440px; }
.destinations[data-count="3"] { grid-template-columns: 1.4fr 1fr; grid-auto-rows: 250px; }
.destinations[data-count="1"] .destination-featured,
.destinations[data-count="2"] .destination-featured { grid-column: auto; grid-row: auto; }
.destinations[data-count="3"] .destination-featured { grid-column: auto; grid-row: span 2; }
.destinations[data-count="2"] .destination-cta,
.destinations[data-count="1"] .destination-cta { opacity: 1; transform: none; }
.destination > img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
    transition: transform .8s var(--ease);
}
.destination:hover > img { transform: scale(1.08); }
.destination-shade {
    position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(to top, rgba(7, 21, 54, .9) 0%, rgba(7, 21, 54, .35) 45%, rgba(7, 21, 54, 0) 70%);
}
.destination-top { display: flex; justify-content: space-between; align-items: center; padding: 18px; }
.flag { width: 34px; height: 24px; object-fit: cover; border-radius: 5px; box-shadow: 0 0 0 2px rgba(255, 255, 255, .85); }
.pill {
    padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 700;
    background: rgba(255, 255, 255, .2); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.destination-body { padding: 22px; }
.destination h3 { font-size: 24px; font-weight: 900; }
.destination-featured h3 { font-size: clamp(28px, 3vw, 38px); }
.destination-price { display: block; margin-top: 4px; font-size: 14px; color: rgba(255, 255, 255, .85); }
.destination-price b { font-size: 18px; color: #fff; }
.destination-cta {
    display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 8px 16px; border-radius: 12px;
    background: #fff; color: var(--navy-800); font-size: 14px; font-weight: 800;
    opacity: 0; transform: translateY(10px); transition: .35s var(--ease);
}
.destination:hover .destination-cta, .destination:focus-visible .destination-cta, .destination-featured .destination-cta { opacity: 1; transform: none; }
.destination-cta i { transition: transform .3s; }
.destination:hover .destination-cta i { transform: translateX(-4px); }

/* ---------- Offers carousel ---------- */
.carousel-nav { display: flex; gap: 10px; }
.carousel-nav[hidden] { display: none; }
.round-btn {
    width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer;
    display: grid; place-items: center; color: var(--navy-800); transition: .2s;
}
.round-btn:hover:not(:disabled) { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }
.round-btn:disabled { opacity: .35; cursor: default; }

.offers {
    display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 22px) / 4); gap: 22px;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
    padding: 6px 4px 24px; margin: -6px -4px 0; scrollbar-width: none;
}
.offers::-webkit-scrollbar { display: none; }
.offer {
    scroll-snap-align: start; background: #fff; border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow-sm); border: 1px solid var(--line); display: flex; flex-direction: column;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.offer:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.offer-media { position: relative; aspect-ratio: 16 / 11; overflow: hidden; }
.offer-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.offer:hover .offer-media img { transform: scale(1.06); }
.offer-badges { position: absolute; top: 12px; inset-inline: 12px; display: flex; justify-content: space-between; gap: 8px; }
.badge {
    padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 800;
    background: rgba(255, 255, 255, .95); color: var(--navy-800); box-shadow: var(--shadow-sm);
}
.badge-hot { background: var(--accent); color: #fff; }
.offer-badges .badge:only-child { margin-inline-start: auto; }
.offer-body { padding: 18px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.offer h3 { font-size: 18px; font-weight: 800; }
.offer h3 a:hover { color: var(--blue-600); }
.offer-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--muted); }
.offer-meta i { color: var(--blue-600); margin-inline-end: 4px; }
.offer-dates { display: flex; flex-wrap: wrap; gap: 6px; }
.date-chip {
    padding: 4px 10px; border-radius: 10px; font-size: 13px; font-weight: 700;
    background: var(--blue-50); color: var(--blue-600); transition: .2s;
}
.date-chip:hover { background: var(--blue-600); color: #fff; }
.offer-foot {
    margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line);
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.offer-price { line-height: 1.3; white-space: nowrap; }
.offer-price small { color: var(--muted); font-size: 12px; }
.offer-price b { font-size: 20px; font-weight: 900; color: var(--navy-800); }
.offer-price small:first-child { display: block; }
.offer-price-call { font-size: 16px !important; }

/* ---------- Installment ---------- */
.installment {
    position: relative; overflow: hidden; isolation: isolate;
    display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center;
    padding: 56px; border-radius: var(--radius-lg); color: #fff;
    background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-700) 55%, #1b3f8f 100%);
}
.installment::before, .installment::after {
    content: ""; position: absolute; border-radius: 50%; z-index: -1; filter: blur(10px);
}
.installment::before { width: 420px; height: 420px; top: -180px; inset-inline-end: -120px; background: radial-gradient(circle, rgba(47, 107, 255, .55), transparent 70%); }
.installment::after { width: 360px; height: 360px; bottom: -200px; inset-inline-start: 30%; background: radial-gradient(circle, rgba(255, 90, 31, .35), transparent 70%); }
.installment h2 { color: #fff; }
.installment-copy p { margin-top: 14px; color: rgba(255, 255, 255, .8); max-width: 520px; }
.checklist { margin-top: 24px; display: grid; gap: 12px; }
.checklist li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.checklist i {
    width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 12px;
    background: rgba(255, 176, 32, .18); color: var(--gold);
}

.calculator {
    background: #fff; color: var(--ink); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-lg);
    display: flex; flex-direction: column; gap: 18px;
}
.calculator h3 { font-size: 19px; font-weight: 900; display: flex; align-items: center; gap: 10px; }
.calculator h3 i { color: var(--accent); }
.calc-label { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; color: var(--muted); font-size: 14px; }
.calc-label output { font-size: 20px; font-weight: 900; color: var(--navy-800); }
input[type="range"] {
    -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 8px; cursor: pointer;
    background: linear-gradient(to left, var(--accent) var(--fill, 14%), var(--line) var(--fill, 14%));
}
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff;
    border: 6px solid var(--accent); box-shadow: 0 4px 12px rgba(255, 90, 31, .45);
}
input[type="range"]::-moz-range-thumb {
    width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 6px solid var(--accent);
}
.calc-months { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.calc-months legend { font-size: 14px; font-weight: 700; color: var(--muted); margin-bottom: 8px; }
.calc-months label { cursor: pointer; }
.calc-months input { position: absolute; opacity: 0; pointer-events: none; }
.calc-months span {
    display: block; text-align: center; padding: 10px 0; border-radius: 12px; border: 1.5px solid var(--line);
    font-weight: 700; font-size: 14px; transition: .2s;
}
.calc-months input:checked + span { border-color: var(--accent); background: var(--accent-100); color: var(--accent-600); }
.calc-months input:focus-visible + span { outline: 3px solid var(--blue-500); outline-offset: 2px; }
.calc-result { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.calc-result div { background: var(--bg-soft); border-radius: 14px; padding: 12px 14px; }
.calc-result dt { font-size: 12px; color: var(--muted); font-weight: 700; }
.calc-result dd { margin: 2px 0 0; font-size: 17px; font-weight: 900; color: var(--navy-800); }
.calc-result .calc-main { background: var(--accent-100); }
.calc-result .calc-main dd { color: var(--accent-600); }
.calc-note { font-size: 12px; color: var(--muted); margin-top: -6px; }

/* ---------- Features ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature {
    background: #fff; border-radius: var(--radius); padding: 30px 24px; border: 1px solid var(--line);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.feature-icon {
    width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; font-size: 24px;
    background: linear-gradient(135deg, var(--blue-600), var(--blue-500)); color: #fff;
    box-shadow: 0 12px 24px -10px rgba(26, 86, 219, .8); margin-bottom: 20px;
}
.feature:nth-child(3) .feature-icon { background: linear-gradient(135deg, var(--accent), #ff8a4c); box-shadow: 0 12px 24px -10px rgba(255, 90, 31, .8); }
.feature h3 { font-size: 19px; font-weight: 900; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 15px; }

/* ---------- Instagram ---------- */
.insta {
    position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: 48px 56px; color: #fff;
    display: flex; align-items: center; justify-content: space-between; gap: 32px;
    background: linear-gradient(120deg, #7c3aed 0%, #db2777 50%, #f97316 100%);
}
.insta-icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; font-size: 28px; background: rgba(255, 255, 255, .2); margin-bottom: 16px; }
.insta h2 { color: #fff; font-size: clamp(22px, 2.6vw, 32px); }
.insta p { margin: 10px 0 22px; color: rgba(255, 255, 255, .88); max-width: 520px; }
.insta-img { width: 300px; height: auto; flex-shrink: 0; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .3)); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255, 255, 255, .78); padding-top: 72px; margin-top: 24px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1fr; gap: 40px; padding-bottom: 48px; }
.brand-light { color: #fff; margin-bottom: 16px; }
.footer-about p { font-size: 14px; max-width: 360px; }
.site-footer h3 { color: #fff; font-size: 16px; font-weight: 800; margin-bottom: 18px; }
.footer-links { display: grid; gap: 10px; font-size: 14px; }
.footer-links a:hover, .footer-contact a:hover { color: #fff; }
.footer-contact { display: grid; gap: 12px; font-size: 14px; }
.footer-contact i { color: var(--gold); margin-inline-end: 8px; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a {
    width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
    background: rgba(255, 255, 255, .08); color: #fff; transition: .2s;
}
.socials a:hover { background: var(--accent); transform: translateY(-3px); }
.badges { display: grid; grid-template-columns: repeat(3, 72px); gap: 10px; }
.badges img { width: 72px; height: 78px; object-fit: contain; background: #fff; border-radius: 12px; padding: 6px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 18px 0; font-size: 13px; text-align: center; }

/* ---------- Countries ---------- */
.section-countries {
    background-image: radial-gradient(rgba(26, 86, 219, .09) 1.2px, transparent 1.2px);
    background-size: 22px 22px;
}
.section-head-center p { margin-top: 10px; }
/* Any number of countries: fixed-width cards, centered, wrapping onto new rows */
.countries { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.countries > li { flex: 0 1 214px; }
.country {
    position: relative; overflow: hidden; isolation: isolate; height: 100%;
    display: flex; flex-direction: column; align-items: center; text-align: center;
    padding: 30px 16px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
}
.country::before {
    content: ""; position: absolute; z-index: -1; top: -70px; left: 50%; width: 200px; height: 200px; margin-left: -100px;
    border-radius: 50%; background: radial-gradient(circle, var(--blue-50) 0%, transparent 70%);
    transition: transform .6s var(--ease);
}
.country:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.country:hover::before { transform: scale(1.5); }
/* Flags are whatever the admin set on the tour: round/square PNGs or rectangular SVGs.
   Nothing is cropped; drop-shadow follows the image's own shape (incl. transparent corners). */
.country-flag {
    --flag-h: 64px; height: var(--flag-h); display: grid; place-items: center;
    filter: drop-shadow(0 10px 12px rgba(15, 23, 42, .25));
    transition: transform .5s var(--ease);
}
.country-flag img { height: var(--flag-h); width: auto; max-width: 112px; object-fit: contain; border-radius: 10px; }
.country-flag > i { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-size: 28px; background: var(--blue-50); color: var(--blue-600); } /* tour without a flag */
.country:hover .country-flag { transform: rotate(-5deg) scale(1.08); }
.country-name { margin: 20px 0 16px; font-size: 18px; font-weight: 900; }
.country-cta {
    margin-top: auto; display: inline-flex; align-items: center; gap: 6px;
    padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 800;
    background: var(--blue-50); color: var(--blue-600); transition: background .25s, color .25s;
}
.country:hover .country-cta { background: var(--blue-600); color: #fff; }
.country-cta i { transition: transform .3s; }
.country:hover .country-cta i { transform: translateX(-4px); }

/* ---------- Newsletter ---------- */
.newsletter {
    position: relative; overflow: hidden; isolation: isolate;
    display: flex; align-items: center; justify-content: space-between; gap: 32px;
    padding: 48px 56px; border-radius: var(--radius-lg); color: #fff;
    background: linear-gradient(125deg, #0ea5e9 0%, var(--blue-600) 50%, var(--navy-700) 100%);
}
.newsletter::before, .newsletter::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; }
.newsletter::before { width: 380px; height: 380px; top: -190px; inset-inline-start: -80px; border: 60px solid rgba(255, 255, 255, .06); }
.newsletter::after { width: 240px; height: 240px; bottom: -140px; inset-inline-end: 34%; background: radial-gradient(circle, rgba(255, 176, 32, .35), transparent 70%); }
.newsletter-copy { max-width: 580px; }
.newsletter-icon {
    width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; font-size: 24px;
    background: rgba(255, 255, 255, .18); color: var(--gold); margin-bottom: 16px;
    animation: bell 4s ease-in-out infinite; transform-origin: top center;
}
@keyframes bell {
    0%, 80%, 100% { transform: rotate(0); }
    84% { transform: rotate(14deg); } 88% { transform: rotate(-12deg); } 92% { transform: rotate(8deg); } 96% { transform: rotate(-4deg); }
}
.newsletter h2 { color: #fff; font-size: clamp(22px, 2.6vw, 32px); }
.newsletter-copy > p { margin-top: 10px; color: rgba(255, 255, 255, .85); }
.newsletter-form { margin-top: 24px; }
.newsletter-field {
    display: flex; align-items: center; gap: 8px; padding: 6px; max-width: 520px;
    background: #fff; border-radius: 18px; box-shadow: 0 18px 40px -16px rgba(7, 21, 54, .6);
    transition: box-shadow .25s;
}
.newsletter-field:focus-within { box-shadow: 0 18px 40px -16px rgba(7, 21, 54, .6), 0 0 0 4px rgba(255, 255, 255, .35); }
.newsletter-field.has-error { box-shadow: 0 0 0 3px #f87171; }
.newsletter-field > i { color: var(--muted); font-size: 20px; margin-inline: 12px 2px; }
.newsletter-field input {
    flex: 1; min-width: 0; border: 0; outline: none; background: transparent;
    color: var(--ink); font-size: 18px; font-weight: 800; letter-spacing: 1.5px; text-align: right;
}
.newsletter-field input::placeholder { color: #a3adbf; font-weight: 600; letter-spacing: 1px; }
.newsletter-field .btn { min-height: 52px; border-radius: 14px; }
.newsletter-field .btn:disabled { opacity: .8; cursor: progress; transform: none; }
.newsletter-error { min-height: 26px; margin-top: 8px; font-size: 14px; font-weight: 700; color: #fee2e2; }
.newsletter-note { font-size: 12px; color: rgba(255, 255, 255, .7); }
.newsletter-note i { margin-inline-end: 4px; }
.newsletter-success {
    margin-top: 24px; display: flex; align-items: center; gap: 14px; padding: 16px 18px; max-width: 520px;
    border-radius: 18px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .25);
    animation: pop-in .5s var(--ease);
}
.newsletter-success-icon {
    width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center;
    background: #22c55e; color: #fff; font-size: 18px; box-shadow: 0 0 0 6px rgba(34, 197, 94, .25);
}
@keyframes pop-in { from { opacity: 0; transform: scale(.94) translateY(8px); } }
.link-btn { display: block; margin-top: 2px; padding: 0; border: 0; background: none; color: #fff; opacity: .85; font-size: 13px; text-decoration: underline; cursor: pointer; }
.newsletter-img { width: 290px; height: auto; flex-shrink: 0; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .3)); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ---------- Mobile tab bar ---------- */
.tabbar { display: none; }
.tabbar-item {
    position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 4px;
    padding: 8px 0; border: 0; background: none; cursor: pointer;
    color: var(--muted); font-size: 11px; font-weight: 700; transition: color .3s;
    -webkit-tap-highlight-color: transparent;
}
.tabbar-item i { font-size: 19px; transition: transform .35s var(--ease); }
.tabbar-item.is-active { color: var(--blue-600); }
.tabbar-item.is-active i { transform: translateY(-2px) scale(1.08); }
.tabbar-item:active i { transform: scale(.88); }
.tabbar-indicator {
    position: absolute; top: 0; left: 0; width: 40px; height: 4px; border-radius: 0 0 6px 6px;
    background: var(--blue-600); box-shadow: 0 4px 14px rgba(26, 86, 219, .6);
    transition: transform .5s cubic-bezier(.32, .72, 0, 1);
}
.tabbar-call {
    display: flex; flex-direction: column; align-items: center; gap: 4px; margin-top: -34px;
    font-size: 11px; font-weight: 800; color: var(--ink); -webkit-tap-highlight-color: transparent;
}
.tabbar-call-btn {
    position: relative; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
    background: linear-gradient(135deg, #ff8a4c, var(--accent)); color: #fff; font-size: 22px;
    box-shadow: 0 12px 24px -8px rgba(255, 90, 31, .9), 0 0 0 6px #fff;
    transition: transform .3s var(--ease);
}
.tabbar-call-btn::after {
    content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--accent);
    animation: pulse 2.2s ease-out infinite;
}
.tabbar-call:active .tabbar-call-btn { transform: scale(.92); }
@keyframes pulse { to { transform: scale(1.55); opacity: 0; } }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--delay, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .main-nav, .header-phone-text { display: none; }
    .menu-toggle { display: flex; }
    .header-actions { margin-inline-start: auto; }
    .offers { grid-auto-columns: calc((100% - 2 * 22px) / 3); }
    .features { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .installment { padding: 40px; gap: 32px; }
}
@media (max-width: 900px) {
    .search-card { grid-template-columns: 1fr 1fr; }
    .search-field-static { display: none; }
    .search-field + .search-field::before { display: none; }
    .search-submit { grid-column: 1 / -1; min-height: 56px; }
    .highlights { grid-template-columns: repeat(2, 1fr); }
    .highlight:nth-child(3) { border-inline-start: 0; }
    .highlight:nth-child(n + 3) { border-top: 1px solid var(--line); }
    .destinations, .destinations[data-count] { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 240px; }
    .destinations[data-count="1"] { grid-template-columns: 1fr; }
    .destinations[data-count="3"] .destination-featured { grid-column: span 2; grid-row: auto; }
    .installment { grid-template-columns: 1fr; }
    .offers { grid-auto-columns: calc((100% - 22px) / 2); }
    .insta { flex-direction: column; text-align: center; padding: 40px 28px; }
    .insta p { margin-inline: auto; }
    .insta-icon { margin-inline: auto; }
    .insta-img { width: 240px; }
    .newsletter { flex-direction: column-reverse; text-align: center; padding: 40px 28px; }
    .newsletter-icon { margin-inline: auto; }
    .newsletter-field, .newsletter-success { margin-inline: auto; }
    .newsletter-img { width: 220px; }

    /* Tab bar replaces the header hamburger on small screens */
    .menu-toggle { display: none; }
    body { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
    .tabbar {
        position: fixed; z-index: 60; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
        max-width: 460px; margin-inline: auto; height: 68px;
        display: grid; grid-template-columns: repeat(5, 1fr); align-items: center;
        background: rgba(255, 255, 255, .9); border-radius: 24px;
        -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px);
        box-shadow: 0 20px 40px -14px rgba(11, 31, 77, .4), 0 0 0 1px rgba(15, 23, 42, .06);
        animation: tabbar-in .6s .3s var(--ease) backwards;
    }
    @keyframes tabbar-in { from { transform: translateY(120%); } }
}
@media (max-width: 640px) {
    :root { --header-h: 68px; }
    .container { padding-inline: 16px; }
    .brand-text small { display: none; }
    .brand-text strong { font-size: 16px; }
    .header-phone { display: none; }
    .hero { min-height: auto; padding-bottom: 100px; border-radius: 0 0 22px 22px; }
    .search-card { grid-template-columns: 1fr; padding: 6px; }
    .search-field { padding: 10px 14px; }
    .quick-chips-label { width: 100%; }
    .highlights { grid-template-columns: 1fr 1fr; padding: 4px; }
    .highlight { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; }
    .highlight b { font-size: 15px; }
    .section { padding: 64px 0; }
    .section-head { flex-direction: column; align-items: flex-start; margin-bottom: 28px; }
    .carousel-nav { display: none; }
    .destinations, .destinations[data-count] { grid-template-columns: 1fr; grid-auto-rows: 230px; gap: 14px; }
    .destinations .destination-featured, .destinations[data-count] .destination-featured { grid-column: auto; grid-row: auto; }
    .destination-cta { opacity: 1; transform: none; }
    .offers { grid-auto-columns: 84%; gap: 14px; }
    .features { grid-template-columns: 1fr; gap: 14px; }
    .feature { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; padding: 20px; }
    .feature-icon { grid-row: span 2; margin: 0; width: 52px; height: 52px; font-size: 20px; }
    .installment { padding: 28px 20px; }
    .calculator { padding: 20px; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    /* Countries become a swipeable row */
    .countries {
        display: grid; grid-auto-flow: column; grid-auto-columns: 44%; justify-content: start; gap: 12px;
        overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 2px 18px; margin: -6px -2px 0; scrollbar-width: none;
    }
    .countries::-webkit-scrollbar { display: none; }
    .countries > li { scroll-snap-align: start; }
    .country { padding: 24px 12px 18px; }
    .country-flag { --flag-h: 54px; }
    .newsletter { padding: 32px 18px; }
    .newsletter-field input { font-size: 16px; }
    .newsletter-field .btn { padding: 0 16px; }
}

/* Reduced motion (also the default on many Windows machines): drop big movement and looping animations,
   but keep short fades so menus still open and close softly instead of popping. */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; }
    .js .reveal { opacity: 1; transform: none; transition: none; }
    .drawer-panel { transform: none; opacity: 0; transition: opacity .3s ease; }
    .drawer.is-open .drawer-panel { opacity: 1; }
    .drawer-item, .drawer.is-open .drawer-item { transform: none; transition: opacity .3s ease; }
    .mega, .has-children.is-open > .mega { transform: translate(-50%, 0); }
    .mega-links li, .is-open .mega-links li { transform: none; }
    .tabbar-indicator { transition: transform .2s ease; }
}
