/* Tour Planner Egypt — "papyrus & lapis" theme */
:root {
  --sand: #f6f1e7;
  --sand-2: #efe6d4;
  --paper: #fffdf8;
  --ink: #1d2433;
  --muted: #5f6675;
  --line: #e2d8c3;
  --lapis: #13294b;
  --lapis-2: #1f3d6d;
  --nile: #0e7c86;
  --nile-soft: #dff1f1;
  --gold: #c8962e;
  --gold-soft: #f7ecd3;
  --terra: #b5482f;
  --terra-soft: #f8e1da;
  --ok: #2f7a4a;
  --ok-soft: #e0f0e5;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(19, 41, 75, .06), 0 6px 20px rgba(19, 41, 75, .07);
  --font-body: "Cairo", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
}
[dir="rtl"] { --font-display: "Cairo", "Segoe UI", system-ui, sans-serif; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--sand); color: var(--ink);
  font-family: var(--font-body); font-size: 16px; line-height: 1.6;
}
a { color: var(--nile); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }
h1, h2, h3 { font-family: var(--font-display); color: var(--lapis); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h2 { font-size: clamp(1.35rem, 2.6vw, 1.8rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; }
.mt { margin-top: 1.5rem; } .mb { margin-bottom: 1.5rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- header ---------- */
.site-header { background: var(--lapis); color: #fff; position: sticky; top: 0; z-index: 1000; }
.site-header .wrap { display: flex; align-items: center; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 1.1rem; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 34px; height: 34px; border-radius: 9px; background: var(--gold); display: grid; place-items: center; color: var(--lapis); font-size: 18px; }
.nav { display: flex; gap: 4px; flex-wrap: wrap; margin-inline-start: auto; align-items: center; }
.nav a, .nav button.linklike { color: #dbe4f3; padding: 8px 10px; border-radius: 8px; font-size: .95rem; }
.nav a:hover, .nav a.active { background: rgba(255,255,255,.1); color: #fff; text-decoration: none; }
.nav form { display: inline; margin: 0; }
.lang-switch { border: 1px solid rgba(255,255,255,.35); }
.menu-toggle { display: none; margin-inline-start: auto; background: none; border: 1px solid rgba(255,255,255,.4); color: #fff; border-radius: 8px; padding: 6px 10px; font-size: 1rem; }
@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .nav { display: none; width: 100%; flex-direction: column; align-items: stretch; padding-bottom: 12px; }
  .nav.open { display: flex; }
}

/* ---------- buttons & forms ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: 10px; border: 1px solid transparent;
  font: inherit; font-weight: 600; cursor: pointer; text-decoration: none !important;
  background: var(--nile); color: #fff; transition: transform .05s, background .15s;
}
.btn:hover { background: #0b6870; }
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--gold); color: var(--lapis); }
.btn-gold:hover { background: #b98825; }
.btn-ghost { background: transparent; color: var(--lapis); border-color: var(--line); }
.btn-ghost:hover { background: var(--sand-2); }
.btn-danger { background: var(--terra); }
.btn-danger:hover { background: #9a3b26; }
.btn-sm { padding: 6px 12px; font-size: .875rem; border-radius: 8px; }
.btn-block { width: 100%; }
button.linklike { background: none; border: 0; font: inherit; cursor: pointer; }

label { display: block; font-weight: 600; margin-bottom: 4px; font-size: .95rem; }
input:not([type]), input[type=text], input[type=email], input[type=password], input[type=number], input[type=date],
input[type=time], input[type=search], select, textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; font: inherit; color: var(--ink);
}
input:focus, select:focus, textarea:focus, .btn:focus-visible { outline: 3px solid rgba(14,124,134,.3); outline-offset: 1px; border-color: var(--nile); }
textarea { min-height: 90px; resize: vertical; }
.field { margin-bottom: 14px; }
.field .error { color: var(--terra); font-size: .85rem; margin-top: 4px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 700px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
.check { display: flex; align-items: center; gap: 8px; font-weight: 400; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-input { position: relative; }
.chip-input input { position: absolute; opacity: 0; inset: 0; }
.chip-input span {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px;
  border: 1px solid var(--line); border-radius: 999px; background: #fff; cursor: pointer; font-weight: 500;
}
.chip-input input:checked + span { background: var(--lapis); color: #fff; border-color: var(--lapis); }
.chip-input input:focus-visible + span { outline: 3px solid rgba(14,124,134,.35); }

/* ---------- surfaces ---------- */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; }
.panel-narrow { max-width: 460px; margin: 40px auto; }
.panel-mid { max-width: 760px; margin: 32px auto; }
.alert { padding: 12px 16px; border-radius: 10px; margin: 12px 0; border: 1px solid; }
.alert-success { background: var(--ok-soft); border-color: #b8dcc4; color: #1f5434; }
.alert-danger { background: var(--terra-soft); border-color: #eebcb0; color: #7d2e1c; }
.alert-info { background: var(--nile-soft); border-color: #b5dfe0; color: #0a5960; }
.alert-warning { background: var(--gold-soft); border-color: #ead4a4; color: #6d5115; }
.badge { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: .78rem; font-weight: 600; background: var(--sand-2); color: var(--lapis); }
.badge-ok { background: var(--ok-soft); color: var(--ok); }
.badge-bad { background: var(--terra-soft); color: var(--terra); }
.badge-gold { background: var(--gold-soft); color: #7a5a14; }
.badge-nile { background: var(--nile-soft); color: var(--nile); }
main { min-height: 60vh; padding-bottom: 48px; }
.page-head { padding: 28px 0 8px; }
.page-head p { color: var(--muted); max-width: 720px; }

/* ---------- hero ---------- */
.hero {
  background:
    radial-gradient(1200px 400px at 85% -10%, rgba(200,150,46,.35), transparent 60%),
    linear-gradient(160deg, var(--lapis) 0%, var(--lapis-2) 60%, #0d4f63 100%);
  color: #fff; padding: 64px 0 76px; position: relative; overflow: hidden;
}
.hero::after { /* stylised dunes */
  content: ""; position: absolute; inset: auto 0 -1px 0; height: 60px;
  background: var(--sand);
  clip-path: polygon(0 70%, 12% 45%, 26% 62%, 41% 30%, 58% 58%, 72% 38%, 86% 60%, 100% 42%, 100% 100%, 0 100%);
}
.hero h1 { color: #fff; font-size: clamp(2rem, 5vw, 3.2rem); max-width: 760px; }
.hero p.lead { font-size: 1.15rem; color: #d7e1f0; max-width: 640px; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.hero-search { display: flex; gap: 8px; max-width: 560px; margin-top: 18px; }
.hero-search input { border: 0; }

/* ---------- attraction cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 18px; }
.poi { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.poi-top { height: 104px; position: relative; display: flex; align-items: flex-end; padding: 12px 14px; color: #fff; }
.poi-top .icon { font-size: 2.2rem; line-height: 1; filter: drop-shadow(0 2px 3px rgba(0,0,0,.25)); }
.poi-top .city { position: absolute; top: 10px; inset-inline-end: 12px; font-size: .78rem; background: rgba(0,0,0,.25); padding: 2px 9px; border-radius: 999px; }
.poi-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.poi-body h3 { font-size: 1.05rem; margin: 0; }
.poi-body h3 a { color: var(--lapis); }
.poi-meta { display: flex; gap: 10px; flex-wrap: wrap; font-size: .85rem; color: var(--muted); }
.poi-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; padding-top: 8px; }
.price { font-weight: 700; color: var(--lapis); }
.stars { color: var(--gold); letter-spacing: 1px; white-space: nowrap; }
.cat-historical { background: linear-gradient(135deg, #a8742a, #d9a54a); }
.cat-museum { background: linear-gradient(135deg, #5a3f8a, #8f6bc4); }
.cat-religious { background: linear-gradient(135deg, #1f6b5a, #3aa088); }
.cat-nile { background: linear-gradient(135deg, #0d5f8a, #2fa0c7); }
.cat-nature { background: linear-gradient(135deg, #3f7a2c, #79b04f); }
.cat-beach { background: linear-gradient(135deg, #0b8a9c, #47c7c9); }
.cat-shopping { background: linear-gradient(135deg, #a3402f, #dc7a54); }
.cat-adventure { background: linear-gradient(135deg, #8f5a1d, #d18a3a); }
.cat-entertainment { background: linear-gradient(135deg, #2a3a7a, #5a6fc4); }

.reasons { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0; }
.reason { font-size: .78rem; background: var(--nile-soft); color: #0a5960; padding: 2px 8px; border-radius: 999px; }
.reason.warn { background: var(--gold-soft); color: #6d5115; }
.scorebar { height: 6px; background: var(--sand-2); border-radius: 999px; overflow: hidden; }
.scorebar span { display: block; height: 100%; background: linear-gradient(90deg, var(--nile), var(--gold)); }

/* ---------- city tiles ---------- */
.cities { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.city-tile { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; color: var(--ink); transition: border-color .15s, transform .15s; }
.city-tile:hover { border-color: var(--gold); transform: translateY(-2px); text-decoration: none; }
.city-tile strong { display: block; color: var(--lapis); font-size: 1.05rem; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; counter-reset: s; }
.step { position: relative; padding-top: 44px; }
.step::before { counter-increment: s; content: counter(s); position: absolute; top: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--gold); color: var(--lapis); display: grid; place-items: center; font-weight: 800; }

/* ---------- layout with sidebar ---------- */
.with-side { display: grid; grid-template-columns: 280px 1fr; gap: 22px; align-items: start; }
@media (max-width: 900px) { .with-side { grid-template-columns: 1fr; } }
.side { position: sticky; top: 80px; }
@media (max-width: 900px) { .side { position: static; } }

/* ---------- detail page ---------- */
.detail-hero { border-radius: var(--radius); padding: 28px; color: #fff; margin-top: 24px; }
.detail-hero h1 { color: #fff; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 16px 0; }
.fact { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.fact b { display: block; color: var(--lapis); font-size: 1.05rem; }
.fact span { font-size: .8rem; color: var(--muted); }
.map { height: 340px; border-radius: var(--radius); border: 1px solid var(--line); z-index: 1; }
.map-lg { height: 460px; }
.star-input { display: flex; gap: 4px; flex-direction: row-reverse; justify-content: flex-end; }
[dir="rtl"] .star-input { justify-content: flex-start; }
.star-input input { display: none; }
.star-input label { font-size: 1.8rem; color: #d6cbb3; cursor: pointer; margin: 0; }
.star-input input:checked ~ label, .star-input label:hover, .star-input label:hover ~ label { color: var(--gold); }
.review { border-top: 1px solid var(--line); padding: 10px 0; }

/* ---------- itinerary timeline ---------- */
.trip-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
.day-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 10px; }
.day-tab { flex: 0 0 auto; border: 1px solid var(--line); background: var(--paper); border-radius: 10px; padding: 8px 14px; cursor: pointer; font: inherit; text-align: start; }
.day-tab small { display: block; color: var(--muted); }
.day-tab[aria-selected="true"] { background: var(--lapis); color: #fff; border-color: var(--lapis); }
.day-tab[aria-selected="true"] small { color: #c9d5ea; }
.day-panel[hidden] { display: none; }
.day-head { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; top: 8px; bottom: 8px; inset-inline-start: 58px; border-inline-start: 2px dashed var(--gold); }
.tl-item { display: grid; grid-template-columns: 50px 18px 1fr; gap: 10px; align-items: start; margin-bottom: 16px; }
.tl-time { font-weight: 700; color: var(--lapis); font-size: .9rem; padding-top: 10px; text-align: end; }
.tl-dot { width: 18px; height: 18px; border-radius: 50%; background: var(--gold); border: 3px solid var(--sand); margin-top: 12px; position: relative; z-index: 1; }
.tl-card { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.tl-card h3 { font-size: 1rem; margin-bottom: 4px; }
.tl-travel { grid-column: 3; font-size: .8rem; color: var(--muted); margin: -8px 0 8px; }
.weather-pill { display: inline-flex; gap: 6px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; font-size: .88rem; }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; background: var(--paper); border-radius: 12px; overflow: hidden; font-size: .93rem; }
table.data th, table.data td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: start; vertical-align: middle; }
table.data th { background: var(--sand-2); color: var(--lapis); font-weight: 700; white-space: nowrap; }
table.data tr:last-child td { border-bottom: 0; }

/* ---------- admin ---------- */
.admin-nav { display: flex; gap: 6px; flex-wrap: wrap; margin: 18px 0; }
.admin-nav a { padding: 8px 14px; border-radius: 10px; background: var(--paper); border: 1px solid var(--line); color: var(--lapis); font-weight: 600; }
.admin-nav a.active { background: var(--lapis); color: #fff; border-color: var(--lapis); }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; }
.kpi { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.kpi b { display: block; font-size: 1.7rem; color: var(--lapis); font-family: var(--font-display); }
.kpi span { color: var(--muted); font-size: .88rem; }
.bar-row { display: grid; grid-template-columns: 120px 1fr 90px; gap: 10px; align-items: center; margin: 8px 0; font-size: .9rem; }
.bar { height: 12px; background: var(--sand-2); border-radius: 999px; overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--nile); }

/* ---------- ticket ---------- */
.ticket { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.ticket-head { background: var(--lapis); color: #fff; padding: 18px 22px; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.ticket-head h2 { color: #fff; margin: 0; }
.ticket-body { padding: 20px 22px; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; }
.ticket-body b { display: block; color: var(--lapis); }
.ticket-ref { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 1.3rem; letter-spacing: 2px; }
.sandbox-note { border: 1px dashed var(--gold); background: var(--gold-soft); border-radius: 10px; padding: 10px 14px; font-size: .88rem; color: #6d5115; }

/* ---------- footer ---------- */
.site-footer { background: var(--lapis); color: #c9d5ea; padding: 26px 0; font-size: .9rem; }
.site-footer a { color: #fff; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; }

@media print {
  .site-header, .site-footer, .no-print { display: none !important; }
  body { background: #fff; }
}


/* =====================================================================
   Tour Planner Egypt — v2: photos, logo, destinations, packages, events
   ===================================================================== */
.brand .logo-svg { flex: 0 0 auto; display: block; filter: drop-shadow(0 1px 2px rgba(0,0,0,.25)); }
.brand-text { letter-spacing: .2px; }
.btn-light { color: #fff !important; border-color: rgba(255,255,255,.55) !important; }
.btn-light:hover { background: rgba(255,255,255,.12) !important; }
.mt-lg { margin-top: 3rem; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.sec-head h2 { margin-bottom: 4px; }
.sec-head p { margin: 0; }
.sec-head > a { font-weight: 600; white-space: nowrap; }
hr.soft { border: 0; border-top: 1px solid var(--line); margin: 14px 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* hero with photo slideshow */
.hero-photo { background: #0d1930; padding: 96px 0 110px; min-height: 560px; }
.hero-slides, .hero-slide { position: absolute; inset: 0; }
.hero-slide { background-size: cover; background-position: center; opacity: 0; animation: heroFade 24s infinite; transform: scale(1.04); }
.hero-photo::before { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(10,22,44,.86) 0%, rgba(10,22,44,.55) 55%, rgba(10,22,44,.25) 100%); }
[dir="rtl"] .hero-photo::before { background: linear-gradient(270deg, rgba(10,22,44,.86) 0%, rgba(10,22,44,.55) 55%, rgba(10,22,44,.25) 100%); }
.hero-photo::after { z-index: 2; }
.hero-inner { position: relative; z-index: 3; }
@keyframes heroFade { 0% { opacity: 0; transform: scale(1.04); } 4% { opacity: 1; } 25% { opacity: 1; } 30% { opacity: 0; transform: scale(1.12); } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .hero-slide { animation: none; } .hero-slide:first-child { opacity: 1; } }
.hero-stats { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 34px; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats b { font-family: var(--font-display); font-size: 2rem; color: var(--gold); line-height: 1; }
.hero-stats span { color: #d7e1f0; font-size: .9rem; }

/* destination photo cards */
.dest-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.dest-card { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--lapis); box-shadow: var(--shadow); color: #fff; }
.dest-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.dest-card:hover { text-decoration: none; }
.dest-card:hover img { transform: scale(1.06); }
.dest-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 16px 18px;
  background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(8,18,36,.85) 100%); }
.dest-overlay strong { font-family: var(--font-display); font-size: 1.45rem; color: #fff; }
.dest-overlay > span { font-size: .88rem; color: #e6ecf5; }
.dest-desc { margin-top: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* attraction cards with photo */
.poi-top.has-img { height: 170px; padding: 0; background: #1d2433; }
.poi-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.poi-top.has-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05) 50%, rgba(0,0,0,.45)); }
.poi-top.has-img .icon { position: absolute; bottom: 10px; inset-inline-start: 12px; z-index: 1; font-size: 1.6rem; }
.poi-top.has-img .city { z-index: 1; background: rgba(0,0,0,.45); }
.poi { transition: transform .15s, box-shadow .15s; }
.poi:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(19,41,75,.14); }

/* attraction detail with photo */
.detail-hero.has-photo { background-size: cover; background-position: center; min-height: 340px; display: flex; flex-direction: column; justify-content: flex-end; padding: 32px; }
.detail-hero.has-photo .small, .detail-hero.has-photo .small a { color: #fff; }

/* itinerary thumbnails */
.tl-card.with-thumb { display: grid; grid-template-columns: 1fr 96px; column-gap: 12px; }
.tl-card.with-thumb > * { grid-column: 1; }
.tl-card.with-thumb > .btn { justify-self: start; }
.tl-card.with-thumb > .tl-thumb { grid-column: 2; grid-row: 1 / span 4; width: 96px; height: 96px; object-fit: cover; border-radius: 10px; }

/* city page banner + climate */
.page-banner { background: linear-gradient(160deg, var(--lapis), #0d4f63); background-size: cover; background-position: center; color: #fff; padding: 110px 0 44px; }
.page-banner h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 8px; }
.page-banner .lead { color: #e6ecf5; max-width: 680px; font-size: 1.1rem; }
.page-banner a { color: #fff; }
.page-banner .cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.climate { display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; align-items: end; height: 220px; padding: 16px 14px 10px; }
.cl-col { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 4px; }
.cl-bar { width: 100%; max-width: 34px; background: #d7c9a8; border-radius: 6px 6px 2px 2px; min-height: 4px; }
.cl-col.good .cl-bar { background: var(--nile); }
.cl-val { font-size: .75rem; color: var(--muted); }
.cl-col.good .cl-val { color: var(--nile); font-weight: 700; }
.cl-m { font-size: .72rem; color: var(--muted); }

/* packages */
.pkg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.pkg { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.pkg-img { position: relative; aspect-ratio: 16 / 9; background: var(--lapis); }
.pkg-img { overflow: hidden; }
.pkg-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.pkg:hover .pkg-img img { transform: scale(1.05); }
.pkg-days { position: absolute; top: 12px; inset-inline-start: 12px; background: var(--gold); color: var(--lapis); font-weight: 800; padding: 3px 12px; border-radius: 999px; font-size: .85rem; }
.pkg-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pkg-body h3 { margin: 0; }
.pkg-body p { margin: 0; }
.pkg-route { color: var(--lapis); font-weight: 600; }
.pkg-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 8px; flex-wrap: wrap; }

/* events */
.event-list { display: grid; gap: 12px; }
.event { display: grid; grid-template-columns: 72px 1fr 150px; gap: 16px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; box-shadow: var(--shadow); }
.event-date { background: var(--lapis); color: #fff; border-radius: 12px; text-align: center; padding: 8px 4px; }
.event-date b { display: block; font-size: 1.6rem; line-height: 1.1; font-family: var(--font-display); color: var(--gold); }
.event-date span { font-size: .8rem; text-transform: uppercase; }
.event-body h3 { margin: 0 0 4px; }
.event-img img { width: 150px; height: 90px; object-fit: cover; border-radius: 10px; display: block; }
@media (max-width: 640px) { .event { grid-template-columns: 64px 1fr; } .event-img { display: none; } }

/* why us */
.why { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.why-item { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.why-ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--gold-soft); font-size: 1.4rem; margin-bottom: 10px; }

/* call-to-action band */
.cta-band { background: var(--lapis); background-size: cover; background-position: center; color: #fff; padding: 64px 0; margin-bottom: -48px; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #dbe4f3; max-width: 560px; }

/* footer */
.site-footer { padding: 40px 0 0; }
.site-footer .footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 24px; }
.site-footer h4 { color: #fff; margin: 4px 0 10px; font-size: 1rem; }
.site-footer .footer-grid a:not(.brand) { display: block; color: #c9d5ea; padding: 3px 0; }
.site-footer .footer-grid a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 28px; padding: 16px; display: block !important; }
@media (max-width: 760px) { .site-footer .footer-grid { grid-template-columns: 1fr 1fr; } }

/* account dropdown */
.nav-menu { position: relative; }
.nav-menu summary { list-style: none; cursor: pointer; color: #dbe4f3; padding: 6px 10px; border-radius: 8px; display: flex; align-items: center; gap: 8px; font-size: .95rem; }
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-menu summary:hover, .nav-menu[open] summary { background: rgba(255,255,255,.1); color: #fff; }
.avatar { width: 26px; height: 26px; border-radius: 50%; background: var(--gold); color: var(--lapis); display: grid; place-items: center; font-weight: 800; font-size: .85rem; }
.nav-menu-list { position: absolute; inset-inline-end: 0; top: calc(100% + 6px); background: #fff; border-radius: 12px; box-shadow: 0 12px 30px rgba(0,0,0,.18); padding: 6px; min-width: 190px; z-index: 1100; display: flex; flex-direction: column; }
.nav-menu-list a, .nav-menu-list button.linklike { color: var(--lapis) !important; padding: 8px 12px; border-radius: 8px; text-align: start; width: 100%; font-size: .95rem; }
.nav-menu-list a:hover, .nav-menu-list button.linklike:hover { background: var(--sand-2); text-decoration: none; }
@media (max-width: 860px) { .nav-menu-list { position: static; box-shadow: none; background: transparent; } .nav-menu-list a, .nav-menu-list button.linklike { color: #dbe4f3 !important; } }
