/* ============ جدولها — نظام التصميم ============ */
@font-face{font-family:"Plex";src:url(/fonts/plex-regular.woff) format("woff");font-weight:400;font-display:swap}
@font-face{font-family:"Plex";src:url(/fonts/plex-medium.woff) format("woff");font-weight:500;font-display:swap}
@font-face{font-family:"Plex";src:url(/fonts/plex-semibold.woff) format("woff");font-weight:600;font-display:swap}
@font-face{font-family:"Plex";src:url(/fonts/plex-bold.woff) format("woff");font-weight:700;font-display:swap}

:root{
  /* الهوية: نخيل وكثبان وسدو — أخضر النخل، ذهب الزعفران، رمل النفود، أحمر السدو */
  --green:#0b4d2e; --green-2:#13683f; --green-3:#e6efe5; --green-ink:#08331f;
  --gold:#e8b04b; --gold-2:#c98f22; --gold-3:#fbf0d9;
  --sand:#f7f1e5; --dune:#ecdfc6; --paper:#fffdf8; --ink:#1d2a22; --muted:#66705f; --line:#e6dcc8;
  --sadu:#9e2b25; --clay:#b4562f;
  --red:#a8261d; --red-bg:#fbe9e5; --amber:#7d5200; --amber-bg:#fdf1d6; --ok:#0b4d2e; --ok-bg:#e6f1e6;
  --r:16px; --r-sm:10px; --shadow:0 1px 2px rgba(29,42,34,.05),0 8px 24px rgba(80,60,20,.07);
  --max:1120px;
  --display:"Plex",system-ui,Tahoma,sans-serif;
}
*{box-sizing:border-box}
[hidden]{display:none!important}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;font-family:"Plex",system-ui,-apple-system,"Segoe UI",Tahoma,sans-serif;background:var(--sand);color:var(--ink);line-height:1.75;font-size:16px}
img{max-width:100%;height:auto;display:block}
a{color:var(--green);text-decoration:none}
a:hover{text-decoration:underline}
h1,h2,h3,h4{line-height:1.4;margin:0 0 .5em;color:var(--green-ink);text-wrap:balance}
h1,h2{font-family:var(--display);font-weight:700}
.brand,.price,.stat,.rv-avg,.day-num,.kpi strong,.total-box strong{font-family:var(--display)}
h1{font-size:clamp(1.7rem,5.5vw,2.8rem);font-weight:700}
h2{font-size:clamp(1.35rem,4vw,1.9rem);font-weight:700}
h3{font-size:1.12rem;font-weight:600}
p{margin:0 0 1em}
.wrap{max-width:var(--max);margin:0 auto;padding:0 16px}
.section{padding:48px 0}
.section-tight{padding:28px 0}
.eyebrow{display:inline-block;font-size:.82rem;font-weight:600;color:var(--green);background:var(--green-3);padding:4px 12px;border-radius:99px;margin-bottom:12px}
.lead{font-size:1.08rem;color:var(--muted)}
.muted{color:var(--muted)}
.small{font-size:.86rem}
.center{text-align:center}
.grid{display:grid;gap:16px}
@media(min-width:720px){.g2{grid-template-columns:repeat(2,1fr)}.g3{grid-template-columns:repeat(3,1fr)}.g4{grid-template-columns:repeat(4,1fr)}}
@media(min-width:720px) and (max-width:959px){.g4{grid-template-columns:repeat(2,1fr)}}

/* ---------- الشريط العلوي ---------- */
.topbar{background:var(--green-ink);color:#d9eadf;font-size:.8rem;text-align:center;padding:6px 12px}
.topbar b{color:var(--gold)}
.nav{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.94);backdrop-filter:saturate(1.4) blur(10px);border-bottom:1px solid var(--line)}
.nav .wrap{display:flex;align-items:center;justify-content:space-between;height:64px;gap:12px}
.brand{display:flex;align-items:center;gap:10px;font-weight:700;font-size:1.45rem;color:var(--green-ink)}
.brand:hover{text-decoration:none}
.brand img{width:38px;height:38px}
.nav-links{display:none;gap:22px;font-weight:500}
.nav-links a{color:var(--ink)}
.nav-links a.active{color:var(--green);font-weight:600}
.nav-cta{display:flex;gap:8px;align-items:center}
.menu-btn{background:none;border:1px solid var(--line);border-radius:10px;width:42px;height:42px;font-size:1.3rem;cursor:pointer;color:var(--ink)}
.mobile-menu{display:none;border-top:1px solid var(--line);background:#fff}
.mobile-menu.open{display:block}
.mobile-menu a{display:block;padding:14px 16px;border-bottom:1px solid var(--line);color:var(--ink);font-weight:500}
@media(min-width:960px){.nav-links{display:flex}.menu-btn{display:none}.mobile-menu{display:none!important}}

/* ---------- الأزرار ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;font-family:inherit;font-weight:600;font-size:1rem;border-radius:12px;padding:12px 20px;border:2px solid transparent;cursor:pointer;transition:transform .12s,background .12s;min-height:48px;text-decoration:none!important;line-height:1.2}
.btn:active{transform:scale(.98)}
.btn-primary{background:var(--green);color:#fff}
.btn-primary:hover{background:var(--green-2)}
.btn-gold{background:var(--gold);color:var(--green-ink)}
.btn:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,button:focus-visible{outline:3px solid var(--gold);outline-offset:2px}
.btn-gold:hover{background:var(--gold-2)}
.btn-ghost{background:#fff;color:var(--green);border-color:var(--green)}
.btn-sm{padding:8px 14px;min-height:38px;font-size:.9rem;border-radius:10px}
.btn-block{width:100%}
.btn[disabled]{opacity:.6;cursor:not-allowed}

/* ---------- البطاقات ---------- */
.card{background:var(--paper);border:1px solid var(--line);border-radius:var(--r);padding:20px;box-shadow:var(--shadow)}
.card-link{display:block;color:inherit;transition:transform .15s,box-shadow .15s}
.card-link:hover{text-decoration:none;transform:translateY(-2px);box-shadow:0 10px 30px rgba(20,35,27,.1)}
.icon-dot{width:46px;height:46px;border-radius:12px;display:grid;place-items:center;font-size:1.4rem;background:var(--green-3);margin-bottom:12px}

/* ---------- الهيرو ---------- */
.hero{background:linear-gradient(165deg,var(--green-ink) 0%,var(--green) 60%,#17734a 100%);color:#fff;position:relative;overflow:hidden;padding-bottom:22px}
.hero::before{content:"";position:absolute;inset:auto 0 0 0;height:22px;background:var(--najdi) repeat-x bottom/44px 22px;z-index:2}
.hero::after{content:"";position:absolute;inset:-30% auto auto -10%;width:560px;height:560px;background:radial-gradient(circle,rgba(232,176,75,.22),transparent 65%);pointer-events:none}
.hero .wrap{position:relative;z-index:1;padding-top:40px;padding-bottom:40px}
.hero h1{color:#fff}
.hero h1 em{font-style:normal;color:var(--gold)}
.hero .lead{color:#d7e9de}
.hero-grid{display:grid;gap:28px;align-items:center}
@media(min-width:960px){.hero-grid{grid-template-columns:1.05fr .95fr}.hero .wrap{padding-top:64px;padding-bottom:64px}}
.hero-art{border-radius:20px;overflow:hidden;box-shadow:0 20px 50px rgba(0,0,0,.25)}
.trust-row{display:flex;flex-wrap:wrap;gap:8px 18px;margin-top:18px;font-size:.88rem;color:#cfe5d7}
.trust-row span::before{content:"✓ ";color:var(--gold);font-weight:700}

/* ---------- المبدّل ---------- */
.switcher{background:#fff;color:var(--ink);border-radius:18px;padding:16px;box-shadow:0 12px 40px rgba(0,0,0,.18);margin-top:22px}
.switcher label{display:block;font-size:.8rem;font-weight:600;color:var(--muted);margin-bottom:4px}
.sw-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
@media(min-width:720px){.sw-grid{grid-template-columns:1.2fr 1.3fr .7fr 1fr;align-items:end}}
select,input,textarea{font-family:inherit;font-size:16px;width:100%;padding:11px 12px;border:1.5px solid var(--line);border-radius:10px;background:#fff;color:var(--ink)}
select:focus,input:focus,textarea:focus{outline:none;border-color:var(--green);box-shadow:0 0 0 3px rgba(15,81,50,.15)}
.sw-go{grid-column:1/-1}


/* ---------- شرائح الفئات ---------- */
.seg-tabs{display:flex;gap:8px;overflow-x:auto;padding-bottom:4px;scrollbar-width:none}
.seg-tabs::-webkit-scrollbar{display:none}
.seg-tab{flex:0 0 auto;display:flex;align-items:center;gap:6px;padding:10px 16px;border-radius:99px;background:#fff;border:1.5px solid var(--line);font-weight:600;color:var(--ink);font-size:.95rem;white-space:nowrap}
.seg-tab:hover{text-decoration:none;border-color:var(--green)}
.seg-tab.active{background:var(--green);border-color:var(--green);color:#fff}

/* ---------- الوسوم ---------- */
.tags{display:flex;flex-wrap:wrap;gap:6px}
.tag{font-size:.76rem;font-weight:600;padding:3px 10px;border-radius:99px;background:var(--green-3);color:var(--green);white-space:nowrap}
.tag.gold{background:var(--gold-3);color:var(--amber)}
.tag.gray{background:#f0eee8;color:var(--muted)}
.badge-aff{font-size:.72rem;font-weight:600;padding:2px 8px;border-radius:6px;border:1px dashed var(--gold-2);color:var(--amber);background:var(--gold-3)}
.badge-free{font-size:.72rem;font-weight:600;padding:2px 8px;border-radius:6px;border:1px solid var(--green);color:var(--green);background:#fff}

/* ---------- التحذيرات ---------- */
.warn{border-radius:12px;padding:12px 14px;display:flex;gap:10px;align-items:flex-start;font-size:.93rem;margin-bottom:8px;border-inline-start:5px solid}
.warn .w-ico{font-size:1.1rem;line-height:1.5}
.warn b{display:block;font-size:.82rem;margin-bottom:2px}
.warn.red{background:var(--red-bg);border-color:var(--red);color:#5c140e}
.warn.amber{background:var(--amber-bg);border-color:var(--gold-2);color:#5a3b00}
.warn.green{background:var(--ok-bg);border-color:var(--green);color:var(--green-ink)}

/* ---------- صفحة الخطة ---------- */
.plan-head{background:linear-gradient(165deg,var(--green-ink),var(--green));color:#fff;padding:28px 0 44px;position:relative}
.plan-head::after{content:"";position:absolute;inset:auto 0 0 0;height:22px;background:var(--najdi) repeat-x bottom/44px 22px}
.plan-head h1{color:#fff;font-size:clamp(1.5rem,5vw,2.3rem)}
.plan-head .crumbs{font-size:.82rem;color:#bfdccb;margin-bottom:8px}
.plan-head .crumbs a{color:#e8f5ec}
.kpis{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-top:16px}
@media(min-width:720px){.kpis{grid-template-columns:repeat(4,1fr)}}
.kpi{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.18);border-radius:12px;padding:10px 12px}
.kpi small{display:block;color:#bfdccb;font-size:.76rem}
.kpi strong{font-size:1.15rem;color:#fff}
.kpi strong.gold{color:var(--gold)}
.compare-bar{background:var(--gold);font-family:var(--display);color:var(--green-ink);font-weight:600;text-align:center;padding:10px 16px;font-size:.92rem}
.day{background:#fff;border:1px solid var(--line);border-radius:var(--r);margin-bottom:16px;overflow:hidden;box-shadow:var(--shadow)}
.day-head{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:14px 16px;background:var(--green-3);border-bottom:1px solid var(--line)}
.day-head h3{margin:0;font-size:1.05rem}
.day-num{background:var(--green);color:#fff;border-radius:10px;padding:2px 10px;font-weight:700;font-size:.85rem;margin-inline-end:8px}
.day-body{padding:14px 16px}
.slot{display:grid;grid-template-columns:54px 1fr;gap:12px;padding:12px 0;border-bottom:1px dashed var(--line)}
.slot:last-of-type{border-bottom:0}
.slot-time{font-weight:700;color:var(--green);font-size:.92rem;padding-top:2px}
.slot-title{font-weight:600;margin-bottom:2px}
.slot-meta{display:flex;flex-wrap:wrap;gap:4px 14px;font-size:.82rem;color:var(--muted);margin:4px 0 8px}
.place{background:var(--sand);border:1px solid var(--line);border-radius:12px;padding:12px;margin-top:6px}
.place-top{display:flex;justify-content:space-between;gap:8px;align-items:flex-start}
.place-name{font-weight:600}
.rating{font-size:.82rem;color:var(--muted)}
.rating .star{color:var(--gold-2)}
.note{font-size:.86rem;margin:8px 0 0;color:#37483f}
.note::before{content:"💡 "}
.alt{font-size:.86rem;background:#f3f7ff;border:1px solid #d6e2ff;border-radius:10px;padding:8px 12px;margin-top:10px;color:#1e3a8a}
.locked{position:relative}
.locked .blur{filter:blur(6px);pointer-events:none;user-select:none;opacity:.7}
.lock-cta{position:absolute;inset:0;display:flex;justify-content:center;align-items:flex-start;padding:24px 12px}
.lock-box{position:sticky;top:84px}
.lock-box{background:#fff;border:2px solid var(--gold);border-radius:18px;padding:22px;text-align:center;max-width:420px;box-shadow:0 20px 50px rgba(0,0,0,.15)}

/* ---------- الميزانية ---------- */
.budget-row{display:grid;grid-template-columns:1fr auto;gap:8px;padding:10px 0;border-bottom:1px solid var(--line);align-items:center}
.budget-row:last-child{border-bottom:0}
.bar{height:8px;background:#efece4;border-radius:99px;overflow:hidden;grid-column:1/-1}
.bar i{display:block;height:100%;background:var(--green);border-radius:99px}
.total-box{background:var(--green);color:#fff;border-radius:14px;padding:16px;margin-top:12px;display:flex;justify-content:space-between;align-items:center;gap:10px}
.total-box strong{font-size:1.6rem;color:var(--gold)}
.range{-webkit-appearance:none;appearance:none;height:6px;background:#e5e1d6;border-radius:99px;padding:0;border:0}
.range::-webkit-slider-thumb{-webkit-appearance:none;width:24px;height:24px;border-radius:50%;background:var(--green);border:3px solid #fff;box-shadow:0 1px 4px rgba(0,0,0,.3)}
.range::-moz-range-thumb{width:22px;height:22px;border-radius:50%;background:var(--green);border:3px solid #fff}
.stepper{display:flex;align-items:center;border:1.5px solid var(--line);border-radius:10px;overflow:hidden;background:#fff}
.stepper button{width:44px;height:44px;border:0;background:var(--green-3);font-size:1.2rem;font-weight:700;color:var(--green);cursor:pointer}
.stepper output{flex:1;text-align:center;font-weight:700}

/* ---------- الأسعار ---------- */
.price-card{position:relative;display:flex;flex-direction:column}
.price-card.featured{border:2px solid var(--green)}
.price-card .ribbon{position:absolute;top:-12px;inset-inline-start:16px;background:var(--gold);color:var(--green-ink);font-weight:700;font-size:.78rem;padding:3px 12px;border-radius:99px}
.price{font-size:2.2rem;font-weight:700;color:var(--green-ink);line-height:1.1;margin:8px 0}
.price small{font-size:.95rem;color:var(--muted);font-weight:500}
.checks{list-style:none;padding:0;margin:12px 0 18px;flex:1}
.checks li{padding:5px 0;padding-inline-start:26px;position:relative;font-size:.94rem}
.checks li::before{content:"✓";position:absolute;inset-inline-start:0;color:var(--green);font-weight:700}
.checks li.no{color:var(--muted)}
.checks li.no::before{content:"–";color:var(--muted)}

/* ---------- الأسئلة ---------- */
details.faq{background:#fff;border:1px solid var(--line);border-radius:12px;padding:0 16px;margin-bottom:10px}
details.faq summary{cursor:pointer;font-weight:600;padding:14px 0;list-style:none;display:flex;justify-content:space-between;gap:10px}
details.faq summary::-webkit-details-marker{display:none}
details.faq summary::after{content:"+";font-size:1.3rem;color:var(--green);line-height:1}
details.faq[open] summary::after{content:"–"}
details.faq div{padding-bottom:14px;color:#37483f}

/* ---------- الإفصاح والتذييل ---------- */
.disclosure{background:#fff;border:1px dashed var(--gold-2);border-radius:12px;padding:12px 14px;font-size:.86rem;color:#4a4130}
.disclosure::before{content:"🔍 إفصاح: ";font-weight:700;color:var(--amber)}
.updated{font-size:.8rem;color:var(--muted);display:inline-flex;gap:6px;align-items:center}
.updated::before{content:"";width:8px;height:8px;border-radius:50%;background:#22a35a;box-shadow:0 0 0 3px rgba(34,163,90,.2)}
footer.site{background:var(--green-ink);color:#cfe1d6;padding:0 0 90px;margin-top:40px;font-size:.92rem}
footer.site>.sadu{margin-bottom:36px}
footer.site a{color:#e9f5ee}
footer.site h4{color:#fff;font-size:1rem;margin-bottom:10px}
footer.site ul{list-style:none;padding:0;margin:0}
footer.site li{padding:3px 0}
.merchant{border-top:1px solid rgba(255,255,255,.12);margin-top:24px;padding-top:16px;font-size:.82rem;color:#a9c4b4}
.pay-logos{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}
.pay-logos span{background:#fff;color:var(--ink);font-weight:700;font-size:.75rem;padding:4px 10px;border-radius:6px}

/* ---------- شريط الجوال السفلي ---------- */
.mbar{position:fixed;bottom:0;inset-inline:0;z-index:60;background:#fff;border-top:1px solid var(--line);padding:10px 16px calc(10px + env(safe-area-inset-bottom));display:flex;gap:10px;box-shadow:0 -6px 20px rgba(0,0,0,.06)}
.mbar .btn{flex:1;min-height:46px}
@media(min-width:960px){.mbar{display:none}footer.site{padding-bottom:40px}}

/* ---------- عام ---------- */
.prose{max-width:760px}
.prose h2{margin-top:1.6em}
.prose ul,.prose ol{padding-inline-start:22px}
.prose li{margin-bottom:6px}
.table-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:12px;background:#fff}
table{border-collapse:collapse;width:100%;font-size:.92rem}
th,td{padding:10px 12px;border-bottom:1px solid var(--line);text-align:start;white-space:nowrap}
th{background:var(--green-3);color:var(--green-ink);font-weight:600}
.stat{font-size:2rem;font-weight:700;color:var(--green)}
.weekly li{display:grid;grid-template-columns:84px 1fr;gap:10px;padding:10px 0;border-bottom:1px dashed var(--line)}
.weekly li b{color:var(--green)}
.weekly{list-style:none;padding:0;margin:0}
.notice{background:var(--gold-3);border:1px solid #f3dc9a;border-radius:12px;padding:12px 14px;font-size:.92rem}
.form-row{margin-bottom:14px}
.form-row label{display:block;font-weight:600;margin-bottom:4px;font-size:.92rem}
.err{color:var(--red);font-size:.88rem;margin-top:8px}
.toast{position:fixed;bottom:84px;left:50%;transform:translateX(-50%);background:var(--ink);color:#fff;padding:10px 18px;border-radius:99px;font-size:.9rem;z-index:99;opacity:0;transition:opacity .2s}
.toast.show{opacity:1}
.skip{position:absolute;inset-inline-start:8px;top:-80px;background:#fff;padding:8px;z-index:100}
.skip:focus{top:8px}
.dest-card{overflow:hidden;padding:0}
.dest-card .dc-img{aspect-ratio:16/9;background:var(--green-3)}
.dest-card .dc-body{padding:16px}
.soon{position:relative}
.soon::after{content:"قريباً";position:absolute;top:12px;inset-inline-start:12px;background:var(--gold);color:var(--green-ink);font-weight:700;font-size:.75rem;padding:2px 10px;border-radius:99px}

@media print{
  .nav,.topbar,.mbar,footer.site,.no-print,.compare-bar,.lock-cta{display:none!important}
  body{background:#fff;font-size:12px}
  .plan-head{background:#fff;color:#000}
  .plan-head h1,.kpi strong,.kpi small{color:#000!important}
  .day,.card{box-shadow:none;break-inside:avoid}
  .locked .blur{filter:none}
}

.bgrid{display:grid;grid-template-columns:1fr 1fr;gap:10px}

/* ---------- زخارف سعودية ---------- */
:root{
  --najdi:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='22' viewBox='0 0 44 22'%3E%3Cpath d='M2 22V16H5V10H8V4H14V10H17V16H20V22ZM24 22V16H27V10H30V4H36V10H39V16H42V22Z' fill='%23f7f1e5'/%3E%3Crect y='20' width='44' height='2' fill='%23f7f1e5'/%3E%3C/svg%3E");
  --sadu-img:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='14' viewBox='0 0 48 14'%3E%3Crect width='48' height='14' fill='%239e2b25'/%3E%3Crect y='0' width='48' height='2' fill='%2314100c'/%3E%3Crect y='12' width='48' height='2' fill='%2314100c'/%3E%3Cpath d='M0 7L6 3l6 4-6 4z M24 7l6-4 6 4-6 4z' fill='%23f7f1e5'/%3E%3Cpath d='M12 7l6-4 6 4-6 4z M36 7l6-4 6 4-6 4z' fill='%23e8b04b'/%3E%3Cpath d='M4 7l2-1.3 2 1.3-2 1.3z M28 7l2-1.3 2 1.3-2 1.3z' fill='%2314100c'/%3E%3C/svg%3E");
}
.sadu{height:14px;background:var(--sadu-img) repeat-x center/48px 14px}
.sadu-thin{height:8px;background:var(--sadu-img) repeat-x center/28px 8px;border-radius:4px}
.section-title{display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center}
.section-title::after{content:"";width:84px;height:8px;background:var(--sadu-img) repeat-x center/28px 8px;border-radius:4px;margin-top:4px}
.eyebrow{background:var(--gold-3);color:var(--amber)}
.hero .eyebrow{background:rgba(232,176,75,.18);color:#f5d690}
.card{background:var(--paper)}
.lock-box{border:0;outline:2px solid var(--gold);box-shadow:0 20px 50px rgba(80,60,20,.18);background:var(--paper)}
.lock-box::before{content:"";display:block;height:8px;margin:-22px -22px 16px;border-radius:16px 16px 0 0;background:var(--sadu-img) repeat-x center/28px 8px}

/* ---------- تجارب المسافرين ---------- */
.reviews-box{background:var(--paper);border:1px solid var(--line);border-radius:var(--r);padding:20px;box-shadow:var(--shadow)}
.rv-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:10px}
.rv-head h2{margin:0;font-size:clamp(1.25rem,3.6vw,1.6rem)}
.rv-summary{display:flex;align-items:center;gap:8px}
.rv-avg{font-size:2rem;font-weight:700;color:var(--green-ink);line-height:1}
.rv-proof{margin:10px 0 12px}
.stars-sm{color:var(--gold-2);letter-spacing:1px;white-space:nowrap}
.stars-sm i{font-style:normal;color:#d9cfbb}
.rv-list{display:grid;gap:12px;margin:14px 0}
.rv{background:var(--sand);border:1px solid var(--line);border-radius:14px;padding:14px}
.rv-fresh{border-color:var(--green);box-shadow:0 0 0 3px rgba(11,77,46,.12)}
.rv-top{display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:center}
.rv-avatar{width:40px;height:40px;border-radius:50%;background:var(--green);color:var(--gold);display:grid;place-items:center;font-family:var(--display);font-weight:700;font-size:1.1rem}
.rv-badge{font-size:.72rem;font-weight:600;background:var(--ok-bg);color:var(--green);border-radius:99px;padding:1px 8px;white-space:nowrap}
.rv-text{margin:10px 0 6px;white-space:pre-line}
.rv-empty{color:var(--muted);background:var(--sand);border:1px dashed var(--line);border-radius:12px;padding:14px;margin:0;font-size:.95rem}
.rv-cta{background:var(--gold-3);border:1px solid #efd9a8;border-radius:12px;padding:14px;display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between;font-size:.94rem}
.rv-form{border-top:1px solid var(--line);padding-top:16px;margin-top:6px}
.lbl{display:block;font-weight:600;margin-bottom:4px;font-size:.92rem}
.stars-input{display:inline-flex;flex-direction:row-reverse;gap:4px}
.stars-input input{position:absolute;opacity:0;width:1px;height:1px}
.stars-input label{font-size:2rem;line-height:1;color:#d9cfbb;cursor:pointer;padding:2px}
.stars-input input:checked ~ label,.stars-input label:hover,.stars-input label:hover ~ label{color:var(--gold-2)}
.stars-input input:focus-visible + label{outline:3px solid var(--gold);border-radius:6px}
.greviews{margin-top:8px;font-size:.88rem}
.greviews summary{cursor:pointer;font-weight:600;color:var(--green)}
.grv{border-top:1px dashed var(--line);padding:8px 0}
.grv p{margin:4px 0 0}
.grv-top{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
@media (prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

/* ---------- شريط الوجهات والسفارة والتحقق ---------- */
.dest-strip{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
@media(min-width:720px){.dest-strip{grid-template-columns:repeat(5,1fr)}}
.dest-chip{display:flex;flex-direction:column;align-items:center;gap:4px;background:var(--paper);border:1px solid var(--line);border-radius:14px;padding:14px 10px;color:var(--ink);text-align:center;box-shadow:var(--shadow)}
.dest-chip:hover{text-decoration:none;border-color:var(--green)}
.dest-chip:last-child:nth-child(odd){grid-column:1/-1}
@media(min-width:720px){.dest-chip:last-child:nth-child(odd){grid-column:auto}}
.dc-flag{font-size:2rem;line-height:1}
.embassy h3{margin-bottom:8px}
.emb-phones{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}
.emb-emergency{display:flex;flex-wrap:wrap;gap:10px}
.emb-emergency>div{background:var(--red-bg);border-radius:10px;padding:6px 12px;display:flex;flex-direction:column}
.emb-emergency b{color:var(--red);font-size:1.25rem}
.vbadge{display:inline-block;font-size:.76rem;font-weight:600;border-radius:8px;padding:3px 8px;margin:6px 0 2px}
.vbadge.ok{background:var(--ok-bg);color:var(--green)}
.vbadge.warn{background:var(--amber-bg);color:var(--amber)}
.vbadge.bad{background:var(--red-bg);color:var(--red)}
.stepper input{border:0;text-align:center;font-weight:700;padding:8px 2px;min-width:0;border-radius:0;-moz-appearance:textfield}
.stepper input::-webkit-outer-spin-button,.stepper input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.stepper input:focus{box-shadow:none;background:var(--gold-3)}
.grid>*,.wrap>*{min-width:0}
.seg-tabs{min-width:0;max-width:100%}
html,body{overflow-x:clip}

@media(min-width:720px){.g5{grid-template-columns:repeat(3,1fr)}}
@media(min-width:1100px){.g5{grid-template-columns:repeat(5,1fr)}}
.couples-card{border-color:#e9c9a0;background:linear-gradient(180deg,#fffaf2,var(--paper))}
.day-move{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:space-between;background:var(--sand);border:1px dashed var(--line);border-radius:12px;padding:10px 12px;margin:0 0 6px;font-size:.88rem}
.day-move b{color:var(--green-ink)}
.route-rule{background:var(--ok-bg);border-radius:10px;padding:8px 10px}

/* ---------- عروض الطيران ---------- */
.deals-box{background:var(--paper);border:1px solid var(--line);border-radius:var(--r);padding:20px;box-shadow:var(--shadow)}
.deals-grid{display:grid;gap:10px;grid-template-columns:repeat(2,1fr)}
.deals-grid .deal:last-child:nth-child(odd){grid-column:1/-1}
@media(min-width:720px){.deals-grid{grid-template-columns:repeat(5,1fr)}.deals-grid .deal:last-child:nth-child(odd){grid-column:auto}}
.deal{display:flex;flex-direction:column;gap:4px;background:var(--sand);border:1px solid var(--line);border-radius:14px;padding:12px;color:var(--ink)}
.deal:hover{text-decoration:none;border-color:var(--green)}
.deal .dp{font-size:1.35rem;font-weight:700;color:var(--green-ink)}
.chg{font-size:.76rem;font-weight:700;border-radius:99px;padding:1px 8px;align-self:flex-start}
.chg.down{background:var(--ok-bg);color:var(--green)}
.chg.up{background:var(--red-bg);color:var(--red)}
.chg.same{background:#efece4;color:var(--muted)}
.deals-months{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
@media(min-width:720px){.deals-months{grid-template-columns:repeat(6,1fr)}}
.deal-month{background:var(--sand);border:1px solid var(--line);border-radius:12px;padding:10px;text-align:center;color:var(--ink)}
.deal-month:hover{text-decoration:none;border-color:var(--green)}
.deal-month.best{border:2px solid var(--gold-2);background:var(--gold-3)}
.deals-from{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:10px 0 4px}
.deals-from select{width:auto;max-width:100%;min-width:180px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.login-row{display:flex;gap:8px;flex-wrap:wrap}
.login-row input{flex:1;min-width:200px}
.code-input{font-size:1.5rem;letter-spacing:.4em;text-align:center;font-weight:700}
.login-card{border:2px solid var(--green)}

/* ================= واجهة عصرية: المعالج، البحث، الشريط السفلي ================= */
.icon-btn{width:42px;height:42px;border-radius:12px;border:1px solid var(--line);background:#fff;display:inline-grid;place-items:center;font-size:1.05rem;cursor:pointer;color:var(--ink);text-decoration:none!important}
.icon-btn:hover{border-color:var(--green)}
@media(max-width:959px){.hide-m{display:none}}

.wizard{background:#fff;color:var(--ink);border-radius:20px;padding:16px;box-shadow:0 14px 44px rgba(0,0,0,.2);margin-top:20px;scroll-margin-top:80px}
.wz-top{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px}
.wz-steps{display:flex;gap:6px;flex:1;max-width:180px}
.wz-steps i{flex:1;height:6px;border-radius:99px;background:#e9e3d4;transition:background .2s}
.wz-steps i.on{background:var(--green)}
.wz-q{font-size:1.2rem;margin:0 0 12px;color:var(--green-ink)}
.wz-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
@media(min-width:560px){.wz-grid{grid-template-columns:repeat(3,1fr)}}
.wz-who .wz-card:last-child:nth-child(odd){grid-column:1/-1}
@media(min-width:560px){.wz-who .wz-card:last-child:nth-child(odd){grid-column:auto}}
.wz-where .wz-card:last-child:nth-child(odd){grid-column:1/-1}
@media(min-width:560px){.wz-where .wz-card:last-child:nth-child(odd){grid-column:auto}}
.wz-card{display:flex;flex-direction:column;align-items:center;gap:4px;padding:14px 8px;border-radius:16px;border:2px solid var(--line);background:var(--sand);font-family:inherit;font-size:1rem;color:var(--ink);cursor:pointer;transition:transform .12s,border-color .12s,background .12s;min-height:96px;justify-content:center}
.wz-card:hover{border-color:var(--green)}
.wz-card:active{transform:scale(.97)}
.wz-card.on{border-color:var(--green);background:var(--green-3)}
.wz-card small{font-size:.74rem;color:var(--muted)}
.wz-ico{font-size:2rem;line-height:1}
.wz-fields{display:grid;grid-template-columns:1fr;gap:10px}
@media(min-width:560px){.wz-fields{grid-template-columns:1.4fr 1fr}}
.wz-fields label{display:block;font-size:.82rem;font-weight:600;color:var(--muted);margin-bottom:4px}
.wz-level{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}
.chip{border:1.5px solid var(--line);background:#fff;border-radius:99px;padding:8px 14px;font-family:inherit;font-size:.92rem;font-weight:600;color:var(--ink);cursor:pointer}
.chip.on{background:var(--green);border-color:var(--green);color:#fff}
.wz-result{background:var(--gold-3);border:1px solid #efd9a8;border-radius:14px;padding:12px;text-align:center;margin-bottom:12px}
.wz-total{font-size:1.8rem;font-weight:700;color:var(--green-ink);line-height:1.3}
.wz-back{background:none;border:0;color:var(--muted);font-family:inherit;font-size:.9rem;cursor:pointer;margin-top:10px;padding:6px 0}
.wz-back:hover{color:var(--green)}
@media(max-width:959px){.hero-art{display:none}}

.how-steps{list-style:none;padding:0;margin:14px 0 0;display:grid;gap:10px}
@media(min-width:720px){.how-steps{grid-template-columns:repeat(3,1fr)}}
.how-steps li{display:flex;gap:12px;align-items:flex-start;background:var(--paper);border:1px solid var(--line);border-radius:14px;padding:14px}
.how-steps li>span{flex:0 0 36px;height:36px;border-radius:50%;background:var(--green);color:#fff;display:grid;place-items:center;font-weight:700}
.how-steps p{margin:2px 0 0}

/* الشريط السفلي للجوال */
.bnav{position:fixed;bottom:0;inset-inline:0;z-index:60;background:#fff;border-top:1px solid var(--line);display:grid;grid-template-columns:repeat(5,1fr);padding:6px max(6px,env(safe-area-inset-left,0px)) calc(6px + env(safe-area-inset-bottom,0px)) max(6px,env(safe-area-inset-right,0px));box-shadow:0 -6px 20px rgba(0,0,0,.06)}
.bnav a,.bnav button{display:flex;flex-direction:column;align-items:center;gap:2px;font-family:inherit;font-size:.72rem;font-weight:600;color:var(--muted);background:none;border:0;padding:4px 0;cursor:pointer;text-decoration:none!important;border-radius:10px}
.bnav span{font-size:1.25rem;line-height:1.2}
.bnav .on{color:var(--green);background:var(--green-3)}
@media(min-width:960px){.bnav{display:none}}

/* البحث */
.search{position:fixed;inset:0;z-index:100;background:rgba(8,51,31,.45);backdrop-filter:blur(4px);display:flex;justify-content:center;align-items:flex-start;padding:calc(12px + env(safe-area-inset-top,0px)) 12px 12px}
.search-box{background:var(--paper);width:100%;max-width:640px;border-radius:18px;box-shadow:0 20px 60px rgba(0,0,0,.3);padding:14px;max-height:calc(100dvh - 24px);display:flex;flex-direction:column}
.search-head{display:flex;gap:8px}
.search-head input{font-size:1.05rem;padding:13px 14px}
.search-chips{display:flex;gap:6px;overflow-x:auto;padding:10px 0;scrollbar-width:none}
.search-chips .chip{flex:0 0 auto;padding:6px 12px;font-size:.85rem}
.search-results{overflow-y:auto;display:grid;gap:6px;align-content:start}
.sr-item{display:flex;flex-direction:column;gap:2px;padding:10px 12px;border-radius:12px;border:1px solid var(--line);background:#fff;color:var(--ink)}
.sr-item:hover,.sr-item:focus{text-decoration:none;border-color:var(--green);background:var(--green-3)}
.sr-kind{font-size:.7rem;font-weight:700;color:var(--amber);background:var(--gold-3);border-radius:6px;padding:0 6px;align-self:flex-start}

/* صفحة الخطة: التبديل والتنقل بين الأيام */
.switch-box{display:grid;grid-template-columns:auto 1fr;gap:8px 10px;align-items:center}
.sw-label{font-size:.82rem;font-weight:700;color:var(--muted);white-space:nowrap}
.day-nav{position:sticky;top:64px;z-index:40;background:rgba(247,241,229,.96);backdrop-filter:blur(8px);border-bottom:1px solid var(--line);margin-bottom:8px}
.day-nav .wrap{display:flex;gap:6px;overflow-x:auto;padding-block:8px;align-items:center;scrollbar-width:none}
.day-nav .wrap::-webkit-scrollbar{display:none}
.day-nav a{flex:0 0 auto;padding:6px 12px;border-radius:99px;background:#fff;border:1px solid var(--line);font-size:.85rem;font-weight:600;color:var(--ink);white-space:nowrap}
.day-nav a:hover{text-decoration:none;border-color:var(--green)}
.day-nav a.on{background:var(--green);border-color:var(--green);color:#fff}
.day,#budget-box,#embassy,#reviews,#deals{scroll-margin-top:130px}

.to-top{position:fixed;inset-inline-start:calc(14px + env(safe-area-inset-left,0px));bottom:calc(84px + env(safe-area-inset-bottom,0px));z-index:55;width:44px;height:44px;border-radius:50%;border:0;background:var(--green);color:#fff;font-size:1.2rem;box-shadow:0 6px 18px rgba(0,0,0,.2);cursor:pointer}
@media(min-width:960px){.to-top{bottom:24px}}
footer.site{padding-bottom:110px}
@media(min-width:960px){footer.site{padding-bottom:40px}}

/* زر الرجوع */
.backbar{background:var(--sand);border-bottom:1px solid var(--line)}
.backbar .wrap{display:flex;align-items:center;gap:10px;padding-top:8px;padding-bottom:8px}
.backbar a{display:inline-flex;align-items:center;gap:6px;font-weight:700;color:var(--green);text-decoration:none;background:#fff;border:1.5px solid var(--line);border-radius:999px;padding:6px 16px;min-height:40px}
.backbar a:active{background:var(--green-3)}

/* دليل الوصول ومناطق السكن */
.arrival{margin:0 0 24px;border-inline-start:4px solid var(--gold)}
.arr-h{font-size:1rem;margin:14px 0 6px;color:var(--green)}
.arr-list{margin:0;padding-inline-start:20px;line-height:1.9}
.arr-list li{margin-bottom:6px}
.arr-mine{margin-top:12px;background:var(--green-3);border-radius:12px;padding:10px 14px}
.arr-segs{margin:12px 0 0;padding-inline-start:18px;line-height:1.9}
.srcs{margin-top:12px;font-size:.88rem}
.srcs summary{cursor:pointer;color:var(--green);font-weight:700}
.srcs ol{margin:8px 0 0;padding-inline-start:20px}
.srcs a{color:var(--muted,#555);word-break:break-word}
.stay-areas{background:var(--sand);border:1px solid var(--line);border-radius:14px;padding:12px 14px;margin:0 0 14px}
.stay-city ul,.stay-crit ul{margin:4px 0 8px;padding-inline-start:18px;line-height:1.85}
.stay-avoid{background:#fdecea;color:#7a1f1a;border-radius:10px;padding:6px 10px;font-size:.9rem;margin:2px 0 8px}

/* المبيت لكل يوم */
.day-sleep{background:#eef6f1;border-radius:10px;padding:8px 12px;margin:0 0 10px;font-size:.92rem;line-height:1.8}
.day-sleep .src-a{font-size:.8rem;color:var(--muted,#666)}
.day-kind{display:inline-block;font-size:.75rem;background:var(--gold-3,#fbefd5);color:#6b4e12;border-radius:999px;padding:1px 8px;margin-inline-end:6px;vertical-align:middle}
.plan-days-bar{display:flex;flex-wrap:wrap;gap:8px;align-items:center;background:#fff;border:1.5px solid var(--gold);border-radius:14px;padding:10px 12px;margin:0 0 14px}
.plan-days-bar b{color:var(--green)}

.pulse{animation:jdpulse 1.2s ease-in-out infinite}
@keyframes jdpulse{0%,100%{box-shadow:0 0 0 0 rgba(232,176,75,.0)}50%{box-shadow:0 0 0 6px rgba(232,176,75,.45)}}

.ticket{margin-top:6px;font-size:.88rem;background:#fff8e6;border-radius:8px;padding:5px 9px;line-height:1.7}
