/* ============================================================
   يمامة فلسطين — الهوية البصرية (أخضر زيتوني + رمل + ترابي)
   يُحمَّل بعد style.css ويعيد تعريف الألوان والخطوط والصفحة الرئيسية
   ============================================================ */
:root {
  --primary: #0E5A3A; --primary-800: #07351F; --primary-700: #0A4A2F; --primary-600: #0E5A3A;
  --primary-500: #13704A; --primary-400: #2F8F66; --primary-300: #6DB896; --primary-200: #B9DCC9;
  --primary-100: #DCEEE4; --primary-50: #EFF7F2;
  --gold: #D98A2B; --gold-light: #F7E2BC; --gold-dark: #9A5A12;
  --gold-300: #F7E2BC; --gold-400: #EDC47E; --gold-500: #E3A44A; --gold-600: #D98A2B; --gold-700: #9A5A12;
  --bg: #F5F2E9; --soft: #F5F2E9; --card: #FFFFFF;
  --ink: #17251D; --text-secondary: #46564C; --text-muted: #6C7A71;
  --border-light: #E2DCC8; --border-accent: #0E5A3A;
  --clay: #B8452D; --sand: #EFE8D2;
  --radius-sm: 8px; --radius: 14px; --radius-lg: 20px; --radius-xl: 26px;
  --shadow-sm: 0 2px 8px rgba(7,53,31,.07); --shadow-md: 0 10px 28px rgba(7,53,31,.10); --shadow-lg: 0 24px 50px rgba(7,53,31,.16);
  --gradient-primary: linear-gradient(135deg, #0E5A3A, #2F8F66);
  --gradient-gold: linear-gradient(135deg, #F7E2BC, #E3A44A 60%, #D98A2B);
  --gradient-gold-strong: linear-gradient(135deg, #E3A44A, #D98A2B 60%, #9A5A12);
  --font-body: 'Tajawal', 'Segoe UI', Tahoma, sans-serif;
  --font-display: 'Reem Kufi', 'Tajawal', sans-serif;
  --font-head: 'Reem Kufi', 'Tajawal', sans-serif;
}
body { background: var(--bg); color: var(--ink); font-size: 17px; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; }
.btn { border-radius: 999px; font-weight: 700; }
.btn-gold { background: var(--gradient-gold-strong); color: #fff; box-shadow: 0 8px 20px rgba(217,138,43,.3); }
.btn-green { background: var(--primary); color: #fff; box-shadow: none; }
.btn-green:hover { background: var(--primary-800); }
.ym-btn-line { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.55); }
.ym-btn-line:hover { background: rgba(255,255,255,.14); }
.ym-btn-dark { background: var(--primary); color: #fff; }
.ym-btn-dark:hover { background: var(--primary-800); color: #fff; }

/* ---------- الشريط العلوي والهيدر ---------- */
.topbar { background: #111; color: #D9D4C0; }
.topbar a { color: var(--gold-400); }
header.main, header.main.scrolled { background: rgba(245,242,233,.94); border-bottom: 0; box-shadow: 0 1px 0 var(--border-light); }
.brand-logo { width: 46px; height: 46px; border-radius: 50%; box-shadow: none; }
.brand-name { color: var(--primary); font-family: var(--font-display); font-size: 22px; }
.brand-name span { color: var(--clay); font-family: var(--font-body); }
nav.main-nav a { border-radius: 999px; font-size: 15px; }
nav.main-nav a:hover, nav.main-nav a.active { color: #fff; background: var(--primary); }
nav.main-nav a::after { display: none; }
.btn-whatsapp-nav { border-radius: 999px; }
@media (min-width: 1021px) and (max-width: 1280px) { nav.main-nav a { font-size: 13.5px; padding: 8px 9px; } .brand-name span { display: none; } }
@media (max-width: 1020px) { nav.main-nav { background: rgba(245,242,233,.99); } nav.main-nav a:hover, nav.main-nav a.active { background: var(--primary); } }
.is-home .cta-band { display: none; }

/* ---------- عناوين الأقسام ---------- */
.ym-head { text-align: center; margin-bottom: 44px; }
.ym-head h2 { font-size: clamp(28px, 4vw, 42px); color: var(--primary); }
.ym-head.light h2 { color: #fff; }
.ym-stitch { display: block; width: 150px; height: 12px; margin: 12px auto 0;
  background: repeating-linear-gradient(90deg, var(--clay) 0 8px, transparent 8px 14px); -webkit-mask: linear-gradient(#000, #000); opacity: .85;
  clip-path: polygon(0 50%, 6px 0, 12px 50%, 6px 100%); }
.ym-stitch { clip-path: none; height: 8px; background:
  conic-gradient(from 45deg at 50% 50%, var(--clay) 25%, transparent 0 50%, var(--clay) 0 75%, transparent 0) 0 0/16px 8px repeat-x; }
.ym-head.light .ym-stitch { background:
  conic-gradient(from 45deg at 50% 50%, var(--gold-400) 25%, transparent 0 50%, var(--gold-400) 0 75%, transparent 0) 0 0/16px 8px repeat-x; }
.ym-section { padding: 84px 0; }
.ym-alt { background: var(--sand); }
.ym-narrow { max-width: 860px; }
.ym-center { text-align: center; margin-top: 34px; }

/* ---------- HERO ---------- */
.ym-hero { position: relative; background: linear-gradient(150deg, var(--primary-800), var(--primary) 60%, #167A50); color: #fff; padding: 70px 0 0; overflow: hidden; }
.ym-hero-bg { position: absolute; inset: 0; background: url('../img/pattern.svg'); opacity: .07; }
.ym-hero-grid { position: relative; display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; align-items: center; padding-bottom: 90px; }
.ym-verse { display: block; color: var(--gold-400); font-size: 19px; margin-bottom: 14px; }
.ym-hero h1 { color: #fff; font-size: clamp(30px, 4.6vw, 54px); line-height: 1.35; margin-bottom: 14px; }
.ym-h1a { color: var(--gold-400); display: block; font-size: clamp(44px, 7vw, 84px); line-height: 1.15; }
.ym-hero-text p { color: #DCEBE2; font-size: 18px; max-width: 560px; margin-bottom: 26px; }
.ym-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.ym-cta .btn { white-space: nowrap; }
.ym-hero-visual { position: relative; display: grid; place-items: center; min-height: 340px; }
.ym-blob { width: min(360px, 80vw); aspect-ratio: 1; border-radius: 62% 38% 55% 45% / 48% 58% 42% 52%; background: rgba(255,255,255,.08); border: 3px solid rgba(233,196,106,.7); display: grid; place-items: center; overflow: hidden; position: relative; z-index: 1; }
.ym-blob .emblem { width: 62%; height: auto; }
.ym-blob.has-img { padding: 0; } .ym-blob.has-img img { width: 100%; height: 100%; object-fit: cover; }
.ym-ring { position: absolute; border: 2px dashed rgba(233,196,106,.5); border-radius: 50%; }
.ym-ring.r1 { width: 420px; height: 420px; } .ym-ring.r2 { width: 500px; height: 500px; opacity: .4; }
.ym-pillars { position: relative; z-index: 2; margin-bottom: -46px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; transform: translateY(0); }
.ym-pillar { display: flex; gap: 14px; align-items: center; background: #fff; color: var(--ink); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow-lg); border-top: 4px solid var(--clay); }
.ym-pnum { flex: 0 0 42px; height: 42px; border-radius: 50%; background: var(--primary-50); color: var(--primary); display: grid; place-items: center; font-family: var(--font-display); font-size: 20px; }
.ym-pillar b { display: block; font-family: var(--font-display); font-size: 19px; color: var(--primary); }
.ym-pillar small { color: var(--text-muted); font-size: 14px; }

/* ---------- INTRO ---------- */
.ym-intro { padding: 130px 0 84px; }
.ym-intro-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: center; }
.ym-intro-img { position: relative; height: 440px; }
.ym-intro-img > img, .ym-intro-ph { width: 100%; height: 100%; object-fit: cover; border-radius: 28px 120px 28px 120px; box-shadow: var(--shadow-lg); }
.ym-intro-ph { display: grid; place-items: center; background: var(--primary-50); } .ym-intro-ph img { width: 40%; }
.ym-intro-img::before { content: ''; position: absolute; inset: 20px 20px -20px -20px; border: 3px solid var(--clay); border-radius: 28px 120px 28px 120px; z-index: -1; }
.ym-kicker { display: inline-block; background: var(--primary-100); color: var(--primary); font-weight: 700; font-size: 14px; padding: 5px 16px; border-radius: 999px; margin-bottom: 14px; }
.ym-intro-text h2 { font-size: clamp(28px, 3.6vw, 40px); color: var(--primary); margin-bottom: 14px; }
.ym-intro-text p { color: var(--text-secondary); line-height: 2; font-size: 17.5px; }
.ym-intro blockquote { margin: 22px 0; padding: 14px 20px; background: #fff; border-inline-start: 5px solid var(--clay); border-radius: 12px; color: var(--primary); font-size: 19px; }
.ym-numbers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ym-numbers div { background: var(--primary); color: #fff; border-radius: 14px; padding: 14px 8px; text-align: center; }
.ym-numbers b { display: block; font-family: var(--font-display); font-size: 28px; color: var(--gold-400); }
.ym-numbers span { font-size: 14px; }

/* ---------- كروت الباقات والفنادق ---------- */
.ym-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 24px; }
.ym-card { display: flex; flex-direction: column; background: #fff; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--border-light); transition: transform .25s, box-shadow .25s; color: inherit; }
.ym-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.ym-card-img { width: 100%; height: 210px; object-fit: cover; }
.ym-card-body { padding: 22px; display: flex; flex-direction: column; flex: 1; position: relative; }
.ym-card:not(.ym-hotel) .ym-card-body::before { content: ''; position: absolute; top: 0; inset-inline: 22px; height: 4px; background: var(--clay); border-radius: 0 0 4px 4px; }
.ym-card h3 { font-size: 22px; color: var(--primary); margin-bottom: 6px; }
.ym-card p { color: var(--text-secondary); font-size: 15px; margin-bottom: 10px; }
.ym-card ul { margin-bottom: 16px; display: grid; gap: 5px; }
.ym-card li { font-size: 14px; color: var(--text-secondary); padding-inline-start: 22px; position: relative; }
.ym-card li::before { content: '✓'; position: absolute; inset-inline-start: 0; color: var(--primary-400); font-weight: 800; }
.ym-badge { align-self: flex-start; font-style: normal; background: var(--clay); color: #fff; font-size: 12px; padding: 3px 12px; border-radius: 999px; margin-bottom: 8px; }
.ym-stars { color: var(--gold); letter-spacing: 3px; font-size: 18px; }
.ym-card-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; border-top: 1px dashed var(--border-light); padding-top: 14px; }
.ym-card-foot b { color: var(--clay); font-size: 17px; }
.ym-card-foot span { width: 34px; height: 34px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; }
.ym-note { margin-top: 32px; background: var(--primary); color: #fff; border-radius: 20px; padding: 24px 28px; display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
.ym-note b { font-family: var(--font-display); font-size: 22px; color: var(--gold-400); }
.ym-note ul { display: flex; flex-wrap: wrap; gap: 8px 22px; flex: 1; }
.ym-note li::before { content: '●'; color: var(--gold-400); margin-inline-end: 8px; font-size: 10px; }

/* ---------- الرحلات ---------- */
.ym-trips { display: grid; gap: 14px; }
.ym-trip { display: grid; grid-template-columns: 84px 120px 1fr auto; gap: 18px; align-items: center; background: #fff; border: 1px solid var(--border-light); border-radius: 18px; padding: 14px 18px 14px 14px; box-shadow: var(--shadow-sm); }
.ym-trip.is-full { opacity: .65; }
.ym-date { background: var(--primary); color: #fff; border-radius: 14px; text-align: center; padding: 10px 4px; }
.ym-date b { display: block; font-family: var(--font-display); font-size: 32px; line-height: 1; color: var(--gold-400); }
.ym-date span { font-size: 13px; }
.ym-trip-main h3 { font-size: 19px; color: var(--ink); margin-bottom: 6px; }
.ym-chips { display: flex; flex-wrap: wrap; gap: 6px 8px; margin-bottom: 8px; }
.ym-chips span { display: inline-flex; align-items: center; gap: 5px; background: var(--primary-50); color: var(--primary); font-size: 13px; padding: 3px 11px; border-radius: 999px; }
.ym-seatbar { height: 6px; background: var(--primary-100); border-radius: 6px; overflow: hidden; }
.ym-seatbar i { display: block; height: 100%; background: var(--clay); border-radius: 6px; }
.ym-trip-act { text-align: center; display: grid; gap: 8px; }
.ym-seat { color: var(--primary); font-weight: 700; font-size: 14px; }
.ym-empty { text-align: center; color: var(--text-muted); }

/* ---------- الأسطول ---------- */
.ym-fleet { background: linear-gradient(150deg, var(--primary-800), var(--primary)); padding: 84px 0; }
.ym-fleet-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.ym-bus { position: relative; display: block; border-radius: 22px; overflow: hidden; min-height: 330px; background: #0a2a1b; }
.ym-bus img { width: 100%; height: 330px; object-fit: cover; transition: transform .6s; }
.ym-bus:hover img { transform: scale(1.05); }
.ym-bus div { position: absolute; inset-inline: 0; bottom: 0; padding: 70px 22px 20px; background: linear-gradient(transparent, rgba(7,35,22,.92)); color: #fff; }
.ym-bus h3 { color: var(--gold-400); font-size: 24px; } .ym-bus p { color: #DCEBE2; }

/* ---------- المحطات ---------- */
.ym-steps { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 18px; }
.ym-steps li { counter-increment: s; background: #fff; border: 1px solid var(--border-light); border-radius: 18px; padding: 56px 18px 20px; position: relative; text-align: center; }
.ym-steps li::before { content: counter(s); position: absolute; top: -22px; inset-inline: 0; margin: 0 auto; width: 52px; height: 52px; border-radius: 50%; background: var(--clay); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-size: 24px; border: 5px solid var(--bg); }
.ym-steps li { margin-top: 22px; }
.ym-steps b { display: block; font-family: var(--font-display); font-size: 20px; color: var(--primary); margin-bottom: 4px; }
.ym-steps span { color: var(--text-secondary); font-size: 14.5px; }

/* ---------- الحجز ---------- */
.ym-book-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 34px; align-items: stretch; }
.ym-book-side { background: var(--primary); color: #fff; border-radius: 24px; padding: 40px 32px; display: flex; flex-direction: column; justify-content: center; background-image: url('../img/pattern.svg'); background-blend-mode: soft-light; }
.ym-book-side h2 { color: var(--gold-400); font-size: 38px; margin-bottom: 10px; }
.ym-book-side p { color: #DCEBE2; margin-bottom: 22px; }
.ym-bigphone { font-family: var(--font-display); font-size: clamp(26px, 3.4vw, 38px); color: #fff; display: block; }
.ym-book-side small { color: var(--gold-300); }
.ym-form, .ym-msg { background: #fff; border: 1px solid var(--border-light); border-radius: 24px; padding: 32px; box-shadow: var(--shadow-md); }
.ym-form .form-control, .ym-msg .form-control { border-radius: 12px; }
.ym-msg h3 { color: var(--primary); font-size: 26px; margin-bottom: 12px; }

/* ---------- الأسئلة ---------- */
.ym-faq .faq-item { background: #fff; border: 1px solid var(--border-light); border-radius: 16px; margin-bottom: 12px; box-shadow: none; }
.ym-faq .faq-q { font-family: var(--font-display); font-size: 18px; color: var(--primary); }

/* ---------- التواصل ---------- */
.ym-contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 28px; align-items: start; }
.ym-contact-cards { display: grid; gap: 12px; }
.ym-cc { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--border-light); border-radius: 16px; padding: 14px 18px; color: inherit; }
a.ym-cc:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.ym-cc > span { flex: 0 0 46px; height: 46px; border-radius: 14px; background: var(--primary); color: #fff; display: grid; place-items: center; }
.ym-cc small { display: block; color: var(--text-muted); font-size: 13px; line-height: 1.4; }
.ym-cc b { color: var(--primary); font-size: 17px; }
.ym-map { margin-top: 26px; border-radius: 20px; overflow: hidden; height: 340px; border: 1px solid var(--border-light); }
.ym-map iframe { width: 100%; height: 100%; border: 0; }

/* ---------- الفوتر ---------- */
footer.main { background: #0B1F15; }
.cta-band { background: linear-gradient(150deg, var(--primary-800), var(--primary)); }
.page-hero { background: linear-gradient(160deg, rgba(7,53,31,.95), rgba(14,90,58,.88)); }

@media (max-width: 960px) {
  .ym-hero-grid, .ym-intro-grid, .ym-book-grid, .ym-contact-grid, .ym-fleet-grid { grid-template-columns: 1fr; }
  .ym-hero-visual { min-height: 260px; order: -1; } .ym-ring { display: none; }
  .ym-pillars { grid-template-columns: 1fr; margin-bottom: -30px; }
  .ym-intro { padding-top: 110px; } .ym-intro-img { height: 320px; }
  .ym-section, .ym-fleet { padding: 60px 0; }
}
@media (max-width: 620px) {
  .ym-trip { grid-template-columns: 64px 1fr; } .ym-trip-act { grid-column: 1 / -1; grid-auto-flow: column; justify-content: space-between; align-items: center; }
  .ym-cta .btn { flex: 1; }
}
/* ---------- الوضع الليلي ---------- */
html.theme-dark body.ym-site { background: #0C1812; color: #E4EDE7; }
html.theme-dark header.main, html.theme-dark header.main.scrolled { background: rgba(12,24,18,.95); box-shadow: 0 1px 0 #1F3328; }
html.theme-dark .ym-alt { background: #10231A; }
html.theme-dark .ym-card, html.theme-dark .ym-trip, html.theme-dark .ym-form, html.theme-dark .ym-msg, html.theme-dark .ym-cc, html.theme-dark .ym-steps li, html.theme-dark .ym-faq .faq-item, html.theme-dark .ym-intro blockquote { background: #16291F; border-color: #24402F; color: #E4EDE7; }
html.theme-dark .ym-head h2, html.theme-dark .ym-card h3, html.theme-dark .ym-intro-text h2, html.theme-dark .ym-cc b, html.theme-dark .ym-steps b, html.theme-dark .ym-msg h3, html.theme-dark .ym-faq .faq-q, html.theme-dark .brand-name { color: var(--gold-400); }
html.theme-dark .ym-card p, html.theme-dark .ym-card li, html.theme-dark .ym-intro-text p, html.theme-dark .ym-steps span, html.theme-dark .ym-trip-main h3 { color: #C5D5CB; }
html.theme-dark .ym-chips span { background: #1F3A2B; color: #CFE5D8; }

.ym-trip-img { width: 120px; height: 90px; object-fit: cover; border-radius: 12px; }
.ym-card .ym-card-img { background: var(--primary-50); }
@media (max-width: 620px) { .ym-trip { grid-template-columns: 64px 1fr; } .ym-trip-img { display: none; } }
