/* ==========================================================================
   مؤسسة مكارم الأوفياء — ورقة الأنماط الأساسية
   Makarem Alawfiyaa Establishment — Core stylesheet
   ========================================================================== */

:root {
  /* ألوان الهوية — مستخرجة من اللوجو */
  --navy:        #1E2B79;
  --navy-deep:   #141C52;
  --navy-soft:   #2A3A96;
  --blue:        #0F62C0;
  --blue-soft:   #E8F0FB;
  --gold:        #C9A227;
  --gold-light:  #E8C766;
  --gold-soft:   #FBF5E4;

  --ink:         #16192B;
  --ink-soft:    #4A506B;
  --line:        #E3E6F0;
  --surface:     #FFFFFF;
  --surface-alt: #F6F7FB;

  --radius:      16px;
  --radius-lg:   24px;
  --shadow-sm:   0 1px 2px rgba(20, 28, 82, .06), 0 2px 8px rgba(20, 28, 82, .05);
  --shadow-md:   0 4px 12px rgba(20, 28, 82, .08), 0 12px 32px rgba(20, 28, 82, .08);
  --shadow-lg:   0 12px 28px rgba(20, 28, 82, .12), 0 28px 64px rgba(20, 28, 82, .14);

  --font-display: "Tajawal", "Segoe UI", system-ui, sans-serif;
  --font-body:    "IBM Plex Sans Arabic", "Tajawal", "Segoe UI", system-ui, sans-serif;

  --header-h: 84px;
}

/* ---------- الأساسيات ---------- */
* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  overflow-x: hidden;
  overflow-x: clip;   /* يمنع التمرير الأفقي دون إنشاء حاوية تمرير */
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}

h1, h2, h3, h4, .display { font-family: var(--font-display); line-height: 1.25; font-weight: 800; }

a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }

/* اللغة الإنجليزية ترجع للاتجاه الطبيعي */
html[dir="ltr"] body { line-height: 1.7; }

/* ---------- عناصر مساعدة ---------- */
.container { width: min(1200px, 100% - 2.5rem); margin-inline: auto; }
.container-wide { width: min(1440px, 100% - 2.5rem); margin-inline: auto; }

.section { padding-block: clamp(3.5rem, 7vw, 6.5rem); }
.section-alt { background: var(--surface-alt); }

/* نمط هندسي إسلامي خفيف للخلفيات */
.pattern-bg {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cpath d='M30 2 58 30 30 58 2 30Z' fill='none' stroke='%231E2B79' stroke-opacity='0.05' stroke-width='1.2'/%3E%3Ccircle cx='30' cy='30' r='4' fill='%23C9A227' fill-opacity='0.05'/%3E%3C/svg%3E");
}
.pattern-bg-dark {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cpath d='M30 2 58 30 30 58 2 30Z' fill='none' stroke='%23C9A227' stroke-opacity='0.14' stroke-width='1.2'/%3E%3Ccircle cx='30' cy='30' r='4' fill='%23C9A227' fill-opacity='0.12'/%3E%3C/svg%3E");
}

/* العنوان الفرعي الذهبي فوق كل قسم */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-display); font-weight: 700; font-size: .95rem;
  letter-spacing: .04em; color: var(--gold);
  text-transform: uppercase;
}
.eyebrow::before {
  content: ""; width: 28px; height: 2px; background: var(--gold); border-radius: 2px;
}

.section-title { font-size: clamp(1.9rem, 3.6vw, 2.9rem); margin: .6rem 0 .9rem; color: var(--navy); }
.section-lead  { font-size: clamp(1rem, 1.4vw, 1.125rem); color: var(--ink-soft); max-width: 62ch; }

.on-dark .section-title { color: #fff; }
.on-dark .section-lead  { color: rgba(255,255,255,.78); }

/* ---------- الأزرار ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem;
  padding: .85rem 1.75rem; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-gold  { background: var(--gold); color: #2A2100; box-shadow: 0 6px 18px rgba(201,162,39,.35); }
.btn-gold:hover { background: var(--gold-light); box-shadow: 0 10px 26px rgba(201,162,39,.45); }

.btn-navy  { background: var(--navy); color: #fff; box-shadow: 0 6px 18px rgba(30,43,121,.28); }
.btn-navy:hover { background: var(--navy-soft); }

.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }

.btn-outline { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-outline:hover { border-color: var(--navy); background: var(--blue-soft); }

.btn-wa { background: #25D366; color: #06331A; box-shadow: 0 6px 18px rgba(37,211,102,.35); }
.btn-wa:hover { background: #3ee07a; }

.btn-sm { padding: .55rem 1.2rem; font-size: .9rem; }

/* ---------- الهيدر ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease, background .25s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); background: rgba(255,255,255,.96); }

.topbar {
  background: var(--navy-deep); color: rgba(255,255,255,.82);
  font-size: .85rem; padding-block: .5rem;
}
.topbar a:hover { color: var(--gold-light); }

.nav-row { display: flex; align-items: center; gap: 1.25rem; height: var(--header-h); }

.brand { display: flex; align-items: center; gap: .75rem; min-width: 0; }
.brand img { height: 52px; width: auto; border-radius: 10px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; color: var(--navy); }
.brand-sub  { font-size: .72rem; color: var(--gold); font-weight: 600; letter-spacing: .02em; }
.brand-name, .brand-sub { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.nav-links { display: flex; align-items: center; gap: .25rem; margin-inline-start: auto; }
.nav-links a {
  font-family: var(--font-display); font-weight: 600; font-size: .98rem;
  padding: .5rem .85rem; border-radius: 10px; color: var(--ink-soft);
  transition: color .18s ease, background .18s ease; position: relative;
}
.nav-links a:hover { color: var(--navy); background: var(--surface-alt); }
.nav-links a.is-active { color: var(--navy); }
.nav-links a.is-active::after {
  content: ""; position: absolute; inset-inline: .85rem; bottom: .15rem;
  height: 3px; background: var(--gold); border-radius: 3px;
}

.nav-actions { display: flex; align-items: center; gap: .6rem; flex-shrink: 0; }

.lang-btn {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--font-display); font-weight: 700; font-size: .88rem;
  padding: .5rem .9rem; border-radius: 999px;
  border: 1.5px solid var(--line); background: #fff; color: var(--navy); cursor: pointer;
  transition: border-color .18s ease, background .18s ease;
}
.lang-btn:hover { border-color: var(--navy); background: var(--blue-soft); }

.burger {
  display: none; width: 46px; height: 46px; border-radius: 12px;
  border: 1.5px solid var(--line); background: #fff; cursor: pointer;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.burger span { display: block; width: 20px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none; border-top: 1px solid var(--line); background: #fff;
  padding: 1rem 0 1.5rem;
}
.mobile-nav.is-open { display: block; }
.mobile-nav a {
  display: block; font-family: var(--font-display); font-weight: 600;
  padding: .8rem .25rem; border-bottom: 1px solid var(--line); color: var(--ink);
}
.mobile-nav a.is-active { color: var(--navy); border-inline-start: 3px solid var(--gold); padding-inline-start: .75rem; }

@media (max-width: 1024px) {
  .nav-links { display: none; }
  .burger { display: flex; }
  .nav-actions { margin-inline-start: auto; }
}

/* الشاشات الصغيرة — تصغير الهوية في الهيدر حتى لا يخرج عن الشاشة */
@media (max-width: 560px) {
  :root { --header-h: 68px; }
  .brand img { height: 40px; }
  .brand-name { font-size: .92rem; }
  .brand-sub { display: none; }
  .nav-row { gap: .6rem; }
  .nav-actions { gap: .4rem; }
  .nav-actions .btn-sm { display: none; }
  .lang-btn { padding: .45rem .7rem; }
  .burger { width: 42px; height: 42px; }
  .topbar { font-size: .78rem; }
  .container, .container-wide { width: min(1200px, 100% - 2rem); }
}

/* ---------- الهيرو ---------- */
.hero { position: relative; min-height: clamp(560px, 82vh, 780px); display: grid; overflow: hidden; overflow: clip; }
.hero-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s ease, transform 7s linear;
  background-size: cover; background-position: center; transform: scale(1.02);
}
.hero-slide.is-active { opacity: 1; transform: scale(1.08); }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to left, rgba(20,28,82,.94) 5%, rgba(20,28,82,.78) 45%, rgba(20,28,82,.45) 100%);
}
html[dir="ltr"] .hero::after {
  background: linear-gradient(to right, rgba(20,28,82,.94) 5%, rgba(20,28,82,.78) 45%, rgba(20,28,82,.45) 100%);
}
.hero-content { position: relative; z-index: 2; align-self: center; padding-block: 4rem; }
.hero h1 {
  color: #fff; font-size: clamp(2.1rem, 5.4vw, 4rem); font-weight: 900;
  margin: 1rem 0; max-width: 20ch;
}
.hero h1 .accent { color: var(--gold-light); }
.hero p { color: rgba(255,255,255,.85); font-size: clamp(1.02rem, 1.7vw, 1.25rem); max-width: 58ch; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; }

.hero-dots { display: flex; gap: .5rem; padding-bottom: 2rem; }
.hero-dots button {
  width: 36px; height: 4px; border: 0; border-radius: 4px; cursor: pointer;
  background: rgba(255,255,255,.35); transition: background .2s ease, width .2s ease;
}
.hero-dots button.is-active { background: var(--gold); width: 56px; }

/* شريط الثقة تحت الهيرو */
.trust-strip {
  background: var(--navy-deep); color: #fff; padding-block: 1.1rem;
  border-top: 3px solid var(--gold);
}
.trust-strip .row { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; align-items: center; justify-content: center; }
.trust-item { display: flex; align-items: center; gap: .6rem; font-size: .95rem; font-weight: 500; }
.trust-item svg { width: 22px; height: 22px; color: var(--gold); flex-shrink: 0; }

/* ---------- الشبكات والكروت ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  display: flex; flex-direction: column; height: 100%;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }

.card-media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--surface-alt); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-media img { transform: scale(1.07); }
.card-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,28,82,.55), transparent 55%);
}

.card-badge {
  position: absolute; top: 1rem; inset-inline-start: 1rem; z-index: 2;
  background: var(--gold); color: #2A2100; font-family: var(--font-display); font-weight: 800;
  font-size: .82rem; padding: .3rem .85rem; border-radius: 999px;
}

.card-body { padding: 1.5rem; display: flex; flex-direction: column; gap: .7rem; flex: 1; }
.card-title { font-size: 1.3rem; color: var(--navy); margin: 0; }
.card-text  { color: var(--ink-soft); font-size: .97rem; margin: 0; flex: 1; }

.card-link {
  font-family: var(--font-display); font-weight: 700; color: var(--blue);
  display: inline-flex; align-items: center; gap: .4rem; font-size: .95rem;
}
.card-link svg { width: 18px; height: 18px; transition: transform .2s ease; }
html[dir="rtl"] .card-link svg { transform: scaleX(-1); }
.card:hover .card-link svg { transform: translateX(-4px) scaleX(-1); }
html[dir="ltr"] .card:hover .card-link svg { transform: translateX(4px); }

/* كارت خدمة كبير (الصفحة الرئيسية) */
.service-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 380px; display: flex; }
.service-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.service-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,28,82,.95) 12%, rgba(20,28,82,.55) 55%, rgba(20,28,82,.15));
  transition: background .3s ease;
}
.service-card:hover img { transform: scale(1.08); }
.service-card:hover::after { background: linear-gradient(to top, rgba(20,28,82,.97) 18%, rgba(20,28,82,.7) 65%, rgba(20,28,82,.3)); }
.service-card .sc-body { position: relative; z-index: 2; margin-top: auto; padding: 1.75rem; color: #fff; }
.service-card .sc-icon {
  width: 52px; height: 52px; border-radius: 14px; background: rgba(201,162,39,.2);
  border: 1px solid rgba(201,162,39,.45); display: grid; place-items: center; margin-bottom: 1rem;
}
.service-card .sc-icon svg { width: 26px; height: 26px; color: var(--gold-light); }
.service-card h3 { font-size: 1.5rem; margin: 0 0 .5rem; }
.service-card p { color: rgba(255,255,255,.8); font-size: .95rem; margin: 0 0 1rem; }
.service-card .sc-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem; }
.service-card .sc-tags span {
  font-size: .78rem; padding: .22rem .7rem; border-radius: 999px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.2);
}

/* ---------- كرت الباقة / السعر ---------- */
.price-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.75rem; display: flex; flex-direction: column; gap: 1rem; height: 100%;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative; overflow: hidden;
}
.price-card::before {
  content: ""; position: absolute; top: 0; inset-inline: 0; height: 4px;
  background: linear-gradient(to left, var(--gold), var(--navy));
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.price-card.is-featured { border-color: var(--gold); box-shadow: 0 10px 40px rgba(201,162,39,.18); }

.price-card .pc-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.price-card h3 { font-size: 1.35rem; color: var(--navy); margin: 0; }
.price-tag { text-align: center; flex-shrink: 0; }
.price-tag .num { font-family: var(--font-display); font-weight: 900; font-size: 2.4rem; color: var(--gold); line-height: 1; }
.price-tag .cur { font-size: .8rem; color: var(--ink-soft); font-weight: 600; }
.price-tag .was { font-size: .85rem; color: #B4001E; text-decoration: line-through; }

.pc-meta { display: grid; gap: .6rem; margin: 0; padding: 0; list-style: none; }
.pc-meta li { display: flex; align-items: flex-start; gap: .6rem; font-size: .93rem; color: var(--ink-soft); }
.pc-meta svg { width: 18px; height: 18px; color: var(--blue); flex-shrink: 0; margin-top: .25rem; }

.pc-features { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.pc-features li { display: flex; align-items: flex-start; gap: .55rem; font-size: .92rem; }
.pc-features li::before {
  content: "✓"; color: var(--gold); font-weight: 900; flex-shrink: 0;
  font-family: var(--font-display);
}

/* ---------- جدول الأسعار ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table.rates { width: 100%; border-collapse: collapse; min-width: 480px; }
table.rates th, table.rates td { padding: .95rem 1.1rem; text-align: start; border-bottom: 1px solid var(--line); }
table.rates thead th { background: var(--navy); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: .95rem; }
table.rates tbody tr:last-child td { border-bottom: 0; }
table.rates tbody tr:nth-child(even) { background: var(--surface-alt); }
table.rates td.price { font-family: var(--font-display); font-weight: 800; color: var(--gold); font-size: 1.15rem; white-space: nowrap; }

/* ---------- الإحصائيات ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.5rem; }
.stat { text-align: center; padding: 1.5rem 1rem; }
.stat .num { font-family: var(--font-display); font-weight: 900; font-size: clamp(2.2rem, 4vw, 3.2rem); color: var(--gold); line-height: 1; }
.stat .lbl { color: rgba(255,255,255,.78); font-size: .95rem; margin-top: .5rem; }

/* ---------- المزايا ---------- */
.feature { display: flex; gap: 1rem; align-items: flex-start; }
.feature-icon {
  width: 54px; height: 54px; border-radius: 16px; flex-shrink: 0;
  background: var(--blue-soft); color: var(--navy); display: grid; place-items: center;
  transition: background .25s ease, color .25s ease, transform .25s ease;
}
.feature:hover .feature-icon { background: var(--navy); color: var(--gold-light); transform: rotate(-6deg); }
.feature-icon svg { width: 26px; height: 26px; }
.feature h4 { font-size: 1.1rem; color: var(--navy); margin: 0 0 .3rem; }
.feature p { color: var(--ink-soft); font-size: .93rem; margin: 0; }

.on-dark .feature-icon { background: rgba(201,162,39,.16); color: var(--gold-light); border: 1px solid rgba(201,162,39,.3); }
.on-dark .feature h4 { color: #fff; }
.on-dark .feature p { color: rgba(255,255,255,.72); }

/* ---------- البانر الداخلي ---------- */
.page-banner { position: relative; min-height: 340px; display: grid; align-items: center; overflow: hidden; }
.page-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-banner::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to left, rgba(20,28,82,.93), rgba(20,28,82,.7));
}
.page-banner .pb-content { position: relative; z-index: 2; padding-block: 3.5rem; }
.page-banner h1 { color: #fff; font-size: clamp(1.9rem, 4.2vw, 3.1rem); margin: .75rem 0 .6rem; }
.page-banner p { color: rgba(255,255,255,.82); max-width: 60ch; margin: 0; }

.breadcrumb { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; font-size: .9rem; color: rgba(255,255,255,.7); }
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb .sep { opacity: .5; }

/* ---------- الأقسام الداكنة ---------- */
.on-dark { background: var(--navy-deep); color: #fff; }
.on-dark.cta-band { position: relative; overflow: hidden; }
.cta-band .cta-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .18; }
.cta-band .container { position: relative; z-index: 2; }

/* ---------- نموذج التواصل ---------- */
.form-grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.field { display: flex; flex-direction: column; gap: .45rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--font-display); font-weight: 600; font-size: .93rem; color: var(--navy); }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 1rem; padding: .8rem 1rem;
  border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink);
  transition: border-color .18s ease, box-shadow .18s ease; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(30,43,121,.1);
}
.field textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: .85rem; color: var(--ink-soft); }

.form-alert {
  display: none; align-items: center; gap: .6rem; padding: .9rem 1.1rem; border-radius: 12px;
  background: #E8F7EE; border: 1px solid #A8DFC0; color: #10603A; font-size: .93rem;
}
.form-alert.is-visible { display: flex; }

/* ---------- الأسئلة الشائعة ---------- */
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.faq-item + .faq-item { margin-top: .85rem; }
.faq-q {
  width: 100%; text-align: start; background: none; border: 0; cursor: pointer;
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--navy);
  padding: 1.15rem 1.35rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.faq-q .chev { width: 22px; height: 22px; color: var(--gold); transition: transform .25s ease; flex-shrink: 0; }
.faq-item.is-open .faq-q .chev { transform: rotate(180deg); }
.faq-a { display: none; padding: 0 1.35rem 1.25rem; color: var(--ink-soft); font-size: .96rem; }
.faq-item.is-open .faq-a { display: block; }

/* ---------- الفوتر ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.72); padding-block: 4rem 0; }
.footer-grid { display: grid; gap: 2.5rem; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); } }

.site-footer h4 { color: #fff; font-size: 1.05rem; margin: 0 0 1.1rem; }
.site-footer h4::after { content: ""; display: block; width: 32px; height: 3px; background: var(--gold); border-radius: 3px; margin-top: .5rem; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; font-size: .94rem; }
.footer-links a { transition: color .18s ease, padding .18s ease; }
.footer-links a:hover { color: var(--gold-light); padding-inline-start: .35rem; }

.footer-brand img { height: 64px; width: auto; border-radius: 12px; margin-bottom: 1rem; }
.footer-brand p { font-size: .94rem; line-height: 1.8; margin: 0 0 1.2rem; }

.contact-line { display: flex; align-items: flex-start; gap: .65rem; font-size: .94rem; margin-bottom: .75rem; }
.contact-line svg { width: 19px; height: 19px; color: var(--gold); flex-shrink: 0; margin-top: .3rem; }
.contact-line a:hover { color: var(--gold-light); }
.phones { display: grid; gap: .25rem; }
.phones a { direction: ltr; text-align: start; font-variant-numeric: tabular-nums; }

.socials { display: flex; gap: .6rem; margin-top: 1rem; }
.socials a {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
  transition: background .2s ease, transform .2s ease, border-color .2s ease;
}
.socials a:hover { background: var(--gold); color: var(--navy-deep); transform: translateY(-3px); border-color: var(--gold); }
.socials svg { width: 19px; height: 19px; }

.footer-bottom {
  margin-top: 3rem; border-top: 1px solid rgba(255,255,255,.1); padding-block: 1.5rem;
  display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between;
  font-size: .87rem;
}

/* ---------- زر واتساب عائم ---------- */
.wa-float {
  position: fixed; inset-inline-end: 1.25rem; bottom: 1.25rem; z-index: 50;
  width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 8px 26px rgba(37,211,102,.45);
  transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- الظهور عند التمرير ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- أدوات صغيرة ---------- */
.text-gold { color: var(--gold); }
.text-navy { color: var(--navy); }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.center .section-lead { margin-inline: auto; }
.stack { display: grid; gap: 1rem; }
.cluster { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.divider { height: 1px; background: var(--line); border: 0; margin-block: 2rem; }

.note-band {
  background: var(--gold-soft); border: 1px solid #EBD9A6; border-radius: var(--radius);
  padding: 1rem 1.25rem; font-size: .93rem; color: #6B5310;
  display: flex; gap: .75rem; align-items: flex-start;
}
.note-band svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: .25rem; }

/* شارة "نسخة تجريبية" */
.demo-ribbon {
  position: fixed; inset-inline-start: 0; bottom: 0; z-index: 55;
  background: var(--navy); color: #fff; font-size: .75rem; font-weight: 600;
  padding: .35rem .85rem; border-start-end-radius: 10px; opacity: .75;
  font-family: var(--font-display);
}

/* ==========================================================================
   إضافات موقع السياحة — هيدر منسدل، بحث، رحلات، حجز أونلاين
   ========================================================================== */

/* ---------- شريط علوي ---------- */
.topbar-row { display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; align-items: center; justify-content: space-between; }
.topbar-right { display: flex; gap: 1.25rem; align-items: center; }

/* ---------- القائمة المنسدلة في الهيدر ---------- */
.nav-drop { position: relative; }
.nav-drop-btn {
  display: inline-flex; align-items: center; gap: .35rem; cursor: pointer;
  font-family: var(--font-display); font-weight: 600; font-size: .98rem;
  padding: .5rem .85rem; border-radius: 10px; border: 0; background: none;
  color: var(--ink-soft); transition: color .18s ease, background .18s ease;
}
.nav-drop-btn:hover { color: var(--navy); background: var(--surface-alt); }
.nav-drop-btn.is-active { color: var(--navy); }
.nav-drop-btn .chev { display: grid; place-items: center; }
.nav-drop-btn .chev svg { width: 15px; height: 15px; transition: transform .22s ease; }
.nav-drop:hover .chev svg, .nav-drop.is-open .chev svg { transform: rotate(180deg); }

.nav-drop-menu {
  position: absolute; top: calc(100% + .35rem); inset-inline-start: 0; z-index: 70;
  min-width: 236px; padding: .5rem; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.nav-drop:hover .nav-drop-menu, .nav-drop.is-open .nav-drop-menu { opacity: 1; visibility: visible; transform: none; }
.nav-drop-menu a {
  display: flex; align-items: center; gap: .65rem; padding: .6rem .7rem; border-radius: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: .94rem; color: var(--ink-soft);
  transition: background .16s ease, color .16s ease;
}
.nav-drop-menu a:hover, .nav-drop-menu a.is-active { background: var(--blue-soft); color: var(--navy); }
.dm-icon {
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px;
  background: var(--surface-alt); color: var(--navy); flex-shrink: 0;
  transition: background .16s ease, color .16s ease;
}
.dm-icon svg { width: 17px; height: 17px; }
.nav-drop-menu a:hover .dm-icon { background: var(--navy); color: var(--gold-light); }

/* عناوين المجموعات داخل قائمة الموبايل */
.mn-head {
  display: block; font-family: var(--font-display); font-weight: 800; font-size: .82rem;
  color: var(--gold); letter-spacing: .04em; padding: 1.1rem .25rem .4rem;
}
.mobile-nav a.mn-sub { padding-inline-start: 1.1rem; font-size: .95rem; color: var(--ink-soft); }
.mobile-nav a.mn-back { margin-top: .75rem; color: var(--navy); font-weight: 700; border-bottom: 0; }

@media (max-width: 1180px) { .nav-auth { display: none; } }

/* ---------- نموذج البحث داخل الهيرو ---------- */
.hero-search {
  margin-top: 2.25rem; background: rgba(255,255,255,.96); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: .9rem; display: grid; gap: .65rem;
  grid-template-columns: repeat(4, 1fr) auto; align-items: end; max-width: 980px;
}
.hs-field { display: flex; flex-direction: column; gap: .3rem; min-width: 0; }
.hs-field label {
  font-family: var(--font-display); font-weight: 700; font-size: .78rem; color: var(--ink-soft);
  display: flex; align-items: center; gap: .35rem;
}
.hs-field label svg { width: 15px; height: 15px; color: var(--gold); flex-shrink: 0; }
.hs-field input, .hs-field select {
  font-family: var(--font-body); font-size: .95rem; padding: .7rem .85rem; width: 100%;
  border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink);
}
.hs-field input:focus, .hs-field select:focus {
  outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(30,43,121,.1);
}
.hero-search .btn { height: 46px; }
@media (max-width: 980px) { .hero-search { grid-template-columns: repeat(2, 1fr); } .hero-search .btn { grid-column: 1 / -1; } }
@media (max-width: 520px) { .hero-search { grid-template-columns: 1fr; } }

/* ---------- شبكة الخدمات بالأيقونات ---------- */
.svc-tiles { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(168px, 1fr)); }
.svc-tile {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.6rem 1.1rem; text-align: center; display: flex; flex-direction: column;
  align-items: center; gap: .55rem; height: 100%;
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}
.svc-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.svc-tile .ic {
  width: 62px; height: 62px; border-radius: 20px; display: grid; place-items: center;
  background: var(--blue-soft); color: var(--navy); transition: background .24s ease, color .24s ease;
}
.svc-tile:hover .ic { background: var(--navy); color: var(--gold-light); }
.svc-tile .ic svg { width: 28px; height: 28px; }
.svc-tile h3 { font-size: 1.05rem; color: var(--navy); margin: .2rem 0 0; }
.svc-tile p { font-size: .87rem; color: var(--ink-soft); margin: 0; flex: 1; }
.svc-tile .go { color: var(--gold); display: grid; place-items: center; }
.svc-tile .go svg { width: 20px; height: 20px; }
html[dir="rtl"] .svc-tile .go svg { transform: scaleX(-1); }

/* ---------- كرت الرحلة ---------- */
.trip-card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column; height: 100%;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.trip-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.tc-media { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--surface-alt); }
.tc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.trip-card:hover .tc-media img { transform: scale(1.07); }
.tc-badge {
  position: absolute; top: .9rem; inset-inline-start: .9rem; z-index: 2;
  background: var(--gold); color: #2A2100; font-family: var(--font-display); font-weight: 800;
  font-size: .78rem; padding: .28rem .8rem; border-radius: 999px;
}
.tc-badge.is-demo { background: rgba(20,28,82,.88); color: #fff; inset-inline-start: auto; inset-inline-end: .9rem; }

.tc-body { padding: 1.3rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.tc-body h3 { font-size: 1.18rem; color: var(--navy); margin: 0; }
.tc-meta { display: flex; flex-wrap: wrap; gap: .3rem 1rem; font-size: .86rem; color: var(--ink-soft); }
.tc-meta > span { display: inline-flex; align-items: center; gap: .35rem; }
.tc-meta svg { width: 15px; height: 15px; color: var(--gold); flex-shrink: 0; }
.tc-desc { font-size: .9rem; color: var(--ink-soft); margin: 0; flex: 1; }

.tc-foot {
  display: flex; align-items: flex-end; justify-content: space-between; gap: .75rem;
  border-top: 1px solid var(--line); padding-top: .9rem; margin-top: .2rem; flex-wrap: wrap;
}
.tc-price .lbl { display: block; font-size: .74rem; color: var(--ink-soft); }
.tc-price .num { font-family: var(--font-display); font-weight: 900; font-size: 1.45rem; color: var(--navy); line-height: 1.2; }
.tc-price .num em { font-style: normal; font-size: .8rem; font-weight: 700; color: var(--ink-soft); }
.tc-price .was { font-size: .8rem; color: #B4001E; text-decoration: line-through; margin-inline-start: .35rem; }
.tc-actions { display: flex; align-items: center; gap: .6rem; }
.tc-more { font-family: var(--font-display); font-weight: 700; font-size: .88rem; color: var(--blue); }
.tc-more:hover { text-decoration: underline; }

/* ---------- شرائح الفلترة ---------- */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  font-family: var(--font-display); font-weight: 700; font-size: .9rem; cursor: pointer;
  padding: .55rem 1.15rem; border-radius: 999px; border: 1.5px solid var(--line);
  background: #fff; color: var(--ink-soft); transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.chip:hover { border-color: var(--navy); color: var(--navy); }
.chip.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ---------- صفحة الحجز أونلاين ---------- */
.bk-layout { display: grid; gap: 2rem; grid-template-columns: 1.7fr 1fr; align-items: start; }
@media (max-width: 960px) { .bk-layout { grid-template-columns: 1fr; } }

.bk-steps { display: flex; gap: .5rem; margin-bottom: 2rem; flex-wrap: wrap; }
.bk-step {
  display: flex; align-items: center; gap: .55rem; flex: 1; min-width: 150px;
  padding: .75rem .9rem; border-radius: var(--radius); border: 1.5px solid var(--line);
  background: #fff; font-family: var(--font-display); font-weight: 700; font-size: .9rem;
  color: var(--ink-soft); transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.bk-step .n {
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface-alt); color: var(--ink-soft); font-size: .82rem; flex-shrink: 0;
}
.bk-step.is-active { border-color: var(--navy); color: var(--navy); background: var(--blue-soft); }
.bk-step.is-active .n { background: var(--navy); color: #fff; }
.bk-step.is-done { border-color: var(--gold); color: var(--navy); }
.bk-step.is-done .n { background: var(--gold); color: #2A2100; }

.bk-panel { display: none; }
.bk-panel.is-active { display: block; }
.bk-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 3vw, 2rem);
}
.bk-card h2 { font-size: 1.35rem; color: var(--navy); margin: 0 0 .4rem; }
.bk-card > p.lead { color: var(--ink-soft); font-size: .95rem; margin: 0 0 1.5rem; }
.bk-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

/* طرق الدفع */
.pay-grid { display: grid; gap: .85rem; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.pay-option {
  display: flex; align-items: center; gap: .75rem; cursor: pointer; text-align: start;
  padding: 1rem; border-radius: var(--radius); border: 1.5px solid var(--line); background: #fff;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.pay-option:hover { border-color: var(--navy); }
.pay-option.is-active { border-color: var(--navy); background: var(--blue-soft); box-shadow: 0 0 0 3px rgba(30,43,121,.08); }
.pay-option .pi {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: var(--surface-alt); color: var(--navy); flex-shrink: 0;
}
.pay-option.is-active .pi { background: var(--navy); color: var(--gold-light); }
.pay-option .pi svg { width: 21px; height: 21px; }
.pay-option .pt { font-family: var(--font-display); font-weight: 700; font-size: .95rem; color: var(--navy); }
.pay-option .ps { font-size: .8rem; color: var(--ink-soft); }

#cardFields { display: none; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin-top: 1.5rem; }

/* ملخص الحجز */
.bk-summary {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; position: sticky; top: calc(var(--header-h) + 1.25rem);
}
.bk-summary .sum-media { aspect-ratio: 16/9; background: var(--navy-deep); display: grid; place-items: center; }
.bk-summary .sum-media img { width: 100%; height: 100%; object-fit: cover; }
.bk-summary .sum-body { padding: 1.35rem; }
.bk-summary h3 { font-size: 1.15rem; color: var(--navy); margin: 0 0 .9rem; }
.sum-rows { display: grid; gap: .6rem; margin: 0 0 1rem; padding: 0; list-style: none; }
.sum-rows li { display: flex; justify-content: space-between; gap: 1rem; font-size: .92rem; color: var(--ink-soft); }
.sum-rows li b { color: var(--ink); font-weight: 600; text-align: end; }
.sum-total {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  border-top: 1px solid var(--line); padding-top: 1rem; margin-top: .25rem;
}
.sum-total span { font-family: var(--font-display); font-weight: 700; color: var(--navy); }
.sum-total b { font-family: var(--font-display); font-weight: 900; font-size: 1.6rem; color: var(--gold); }

/* شاشة التأكيد */
.bk-done { text-align: center; padding: clamp(1.5rem, 4vw, 3rem); }
.bk-done .tick {
  width: 78px; height: 78px; border-radius: 50%; margin: 0 auto 1.25rem;
  background: #E8F7EE; color: #10603A; display: grid; place-items: center;
}
.bk-done .tick svg { width: 38px; height: 38px; }
.bk-done h2 { color: var(--navy); margin: 0 0 .5rem; }
.ref-box {
  display: inline-flex; align-items: center; gap: .6rem; margin: 1.25rem 0;
  background: var(--gold-soft); border: 1px dashed var(--gold); border-radius: 12px;
  padding: .75rem 1.25rem; font-family: var(--font-display); font-weight: 800;
  color: var(--navy); direction: ltr;
}
.bk-done .sum-rows { max-width: 380px; margin-inline: auto; text-align: start; }

/* ---------- صفحات الحساب ---------- */
.auth-wrap { display: grid; place-items: center; padding-block: clamp(2.5rem, 6vw, 5rem); }
.auth-card {
  width: min(480px, 100%); background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: clamp(1.5rem, 4vw, 2.5rem);
}
.auth-card .lock {
  width: 54px; height: 54px; border-radius: 16px; background: var(--blue-soft); color: var(--navy);
  display: grid; place-items: center; margin-bottom: 1.1rem;
}
.auth-card .lock svg { width: 26px; height: 26px; }
.auth-card h1 { font-size: 1.6rem; color: var(--navy); margin: 0 0 .4rem; }
.auth-card > p { color: var(--ink-soft); font-size: .94rem; margin: 0 0 1.75rem; }
.auth-foot { margin-top: 1.5rem; text-align: center; font-size: .92rem; color: var(--ink-soft); }
.auth-foot a { color: var(--blue); font-weight: 700; }

/* ---------- شارة قريباً على كروت القطاعات ---------- */
.soon-badge {
  position: absolute; top: 1rem; inset-inline-end: 1rem; z-index: 3;
  background: rgba(255,255,255,.92); color: var(--navy);
  font-family: var(--font-display); font-weight: 800; font-size: .78rem;
  padding: .28rem .85rem; border-radius: 999px;
}
.service-card.is-soon { cursor: default; }
.service-card.is-soon:hover { transform: none; }

@media (min-width: 1180px) { .svc-tiles { grid-template-columns: repeat(7, 1fr); } }
@media (min-width: 760px) and (max-width: 1179px) { .svc-tiles { grid-template-columns: repeat(4, 1fr); } }

@media (min-width: 900px) { .sectors-grid { grid-template-columns: repeat(2, 1fr); } }

/* ==========================================================================
   الإصدار 2 — تبسيط + صفحات رحلات منفصلة + حجز السيارات والفنادق
   ========================================================================== */

/* ---------- شبكات الكروت ---------- */
.cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .cards-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px)  { .cards-3, .cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.section-head { margin-bottom: 2rem; }
.section-head .section-title { margin-bottom: .4rem; }
.page-banner.sm { min-height: 230px; }
.page-banner.sm .pb-content { padding-block: 2.5rem; }

/* ---------- كرت الرحلة (رابط كامل) ---------- */
a.trip-card { color: inherit; }
.tc-foot { align-items: center; }
.tc-go {
  font-family: var(--font-display); font-weight: 700; font-size: .85rem;
  background: var(--navy); color: #fff; padding: .45rem 1rem; border-radius: 999px;
  transition: background .18s ease;
}
.trip-card:hover .tc-go { background: var(--gold); color: #2A2100; }

/* ---------- كرت صغير (قيم / أهداف / تواصل) ---------- */
.mini-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.5rem; display: flex; flex-direction: column; gap: .6rem; height: 100%;
}
.mini-card .feature-icon { width: 50px; height: 50px; }
.mini-card h3 { font-size: 1.1rem; color: var(--navy); margin: 0; }
.mini-card p { font-size: .92rem; color: var(--ink-soft); margin: 0; }
.mini-card a { color: var(--blue); font-weight: 600; }
.on-dark .mini-card { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); }
.on-dark .mini-card h3 { color: #fff; }
.on-dark .mini-card p { color: rgba(255,255,255,.75); }

/* ---------- صفحة الرحلة ---------- */
.td-hero { position: relative; min-height: 360px; display: grid; align-items: end; overflow: hidden; }
.td-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.td-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,28,82,.95), rgba(20,28,82,.25) 75%); }
.td-hero-in { position: relative; z-index: 2; padding-block: 2.5rem; color: #fff; }
.td-hero h1 { font-size: clamp(1.8rem, 4.5vw, 3rem); margin: .6rem 0 1rem; }
.td-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.td-chips > span {
  display: inline-flex; align-items: center; gap: .4rem; font-size: .88rem;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22);
  padding: .35rem .85rem; border-radius: 999px;
}
.td-chips svg { width: 16px; height: 16px; color: var(--gold-light); }

.td-layout { display: grid; gap: 2rem; grid-template-columns: 1.5fr 1fr; align-items: start; }
@media (max-width: 900px) { .td-layout { grid-template-columns: 1fr; } }
.td-block + .td-block { margin-top: 2rem; }
.td-block h2 { font-size: 1.3rem; color: var(--navy); margin: 0 0 .75rem; }
.td-block p { color: var(--ink-soft); margin: 0; font-size: 1.02rem; }
.td-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.td-list li {
  display: flex; align-items: center; gap: .6rem; background: var(--surface-alt);
  border-radius: 12px; padding: .7rem .9rem; font-size: .95rem;
}
.td-list svg { width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; }

/* ---------- صندوق السعر والحجز ---------- */
.quote-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.5rem; box-shadow: var(--shadow-md);
  position: sticky; top: calc(var(--header-h) + 1.25rem);
}
.quote-card h3 { font-size: 1.15rem; color: var(--navy); margin: 0 0 1rem; }
.q-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.q-price span { color: var(--ink-soft); font-size: .9rem; width: 100%; }
.q-price b { font-family: var(--font-display); font-weight: 900; font-size: 2rem; color: var(--navy); line-height: 1; }
.q-price b em { font-style: normal; font-size: .9rem; color: var(--ink-soft); }
.q-price s { color: #B4001E; }
.q-fields { grid-template-columns: 1fr 1fr; margin-bottom: 1.25rem; }
.quote-card .sum-rows { margin-top: .25rem; }
.q-err { display: none; color: #B4001E; font-size: .88rem; font-weight: 600; margin: .75rem 0 0; }
.q-err.shake { animation: shake .35s ease; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.q-actions { display: grid; gap: .65rem; margin-top: 1.25rem; }
.q-actions .btn { width: 100%; }
.q-actions .btn svg { width: 19px; height: 19px; }

/* ---------- كروت الاختيار (سيارات / فنادق) ---------- */
.opt-grid { display: grid; gap: 1rem; }
.opt-card {
  display: flex; flex-direction: column; text-align: start; padding: 0; cursor: pointer;
  background: #fff; border: 2px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  font: inherit; color: inherit; transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.opt-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.opt-card.is-selected { border-color: var(--navy); box-shadow: 0 0 0 4px rgba(30,43,121,.12); }
.oc-media { position: relative; display: block; aspect-ratio: 16/10; background: var(--surface-alt); }
.oc-media img { width: 100%; height: 100%; object-fit: cover; }
.oc-check {
  position: absolute; top: .6rem; inset-inline-end: .6rem; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; background: #fff; color: transparent; border: 2px solid var(--line);
}
.oc-check svg { width: 16px; height: 16px; }
.opt-card.is-selected .oc-check { background: var(--navy); border-color: var(--navy); color: #fff; }
.oc-body { display: flex; flex-direction: column; gap: .3rem; padding: .9rem 1rem 1rem; }
.oc-title { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; color: var(--navy); }
.oc-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; font-size: .84rem; color: var(--ink-soft); }
.oc-meta svg { width: 15px; height: 15px; color: var(--gold); }
.oc-meta .stars { color: var(--gold); letter-spacing: 1px; }
.oc-price { font-size: .84rem; color: var(--ink-soft); }
.oc-price b { font-family: var(--font-display); font-size: 1.15rem; color: var(--navy); }

.step-title { display: flex; align-items: center; gap: .6rem; font-size: 1.2rem; color: var(--navy); margin: 0 0 1rem; }
.step-title .n {
  width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff;
  display: grid; place-items: center; font-size: .9rem; flex-shrink: 0;
}
.form-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.25rem, 3vw, 1.75rem); margin-top: 2rem; }

/* مفتاح بسائق / بدون سائق */
.seg { display: inline-flex; background: var(--surface-alt); border-radius: 999px; padding: .3rem; gap: .25rem; }
.seg button {
  font-family: var(--font-display); font-weight: 700; font-size: .92rem; cursor: pointer;
  border: 0; background: none; color: var(--ink-soft); padding: .55rem 1.2rem; border-radius: 999px;
}
.seg button.is-active { background: var(--navy); color: #fff; }
.seg button:disabled { opacity: .4; cursor: not-allowed; }

/* ---------- صفحة تذاكر الطيران ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.25rem, 4vw, 2.25rem); box-shadow: var(--shadow-md); }
.narrow { max-width: 820px; margin-inline: auto; }

/* ---------- الجوال: كارتين في الصف ---------- */
@media (max-width: 759px) {
  .cards-2, .cards-3, .cards-4, .svc-tiles, .sectors-grid, .opt-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: .75rem;
  }

  /* كرت الرحلة */
  .tc-body { padding: .75rem; gap: .4rem; }
  .tc-body h3 { font-size: .95rem; }
  .tc-meta { font-size: .72rem; gap: .2rem .6rem; }
  .tc-meta svg { width: 12px; height: 12px; }
  .tc-foot { padding-top: .6rem; gap: .4rem; }
  .tc-price .num { font-size: 1.05rem; }
  .tc-price .was { font-size: .7rem; }
  .tc-go { font-size: .72rem; padding: .3rem .7rem; }
  .tc-badge { font-size: .66rem; padding: .2rem .55rem; top: .5rem; inset-inline-start: .5rem; }

  /* بلاطات الخدمات */
  .svc-tile { padding: 1rem .6rem; gap: .4rem; }
  .svc-tile .ic { width: 48px; height: 48px; border-radius: 14px; }
  .svc-tile .ic svg { width: 22px; height: 22px; }
  .svc-tile h3 { font-size: .9rem; }

  /* كروت القطاعات */
  .service-card { min-height: 230px; border-radius: var(--radius); }
  .service-card .sc-body { padding: 1rem; }
  .service-card .sc-icon { width: 38px; height: 38px; border-radius: 10px; margin-bottom: .5rem; }
  .service-card .sc-icon svg { width: 19px; height: 19px; }
  .service-card h3 { font-size: .98rem; }
  .service-card p { font-size: .78rem; margin-bottom: .5rem; }
  .service-card .card-link { font-size: .8rem; }
  .soon-badge { font-size: .66rem; top: .5rem; inset-inline-end: .5rem; padding: .2rem .6rem; }

  /* كروت صغيرة */
  .mini-card { padding: 1rem; gap: .4rem; border-radius: var(--radius); }
  .mini-card .feature-icon { width: 40px; height: 40px; border-radius: 12px; }
  .mini-card .feature-icon svg { width: 20px; height: 20px; }
  .mini-card h3 { font-size: .95rem; }
  .mini-card p { font-size: .8rem; }

  /* كروت الاختيار */
  .oc-body { padding: .6rem .7rem .75rem; }
  .oc-title { font-size: .9rem; }
  .oc-meta, .oc-price { font-size: .72rem; }
  .oc-price b { font-size: .98rem; }
  .oc-check { width: 24px; height: 24px; }

  .q-fields { grid-template-columns: 1fr 1fr; }
  .quote-card { position: static; }
  .td-hero { min-height: 280px; }
}

@media (max-width: 759px) {
  .contact-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
  .contact-cards .mini-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* زر الموقع الرئيسي في هيدر السياحة */
.main-site-btn {
  display: inline-flex; align-items: center; gap: .35rem; flex-shrink: 0;
  font-family: var(--font-display); font-weight: 700; font-size: .82rem;
  padding: .45rem .8rem; border-radius: 999px; border: 1.5px solid var(--gold);
  background: var(--gold-soft); color: var(--navy); transition: background .18s ease;
}
.main-site-btn:hover { background: var(--gold); }
.main-site-btn svg { width: 15px; height: 15px; }
@media (max-width: 560px) { .main-site-btn span { display: none; } .main-site-btn { padding: .5rem; } }
