/* pages.css — تكتك مشوار inner marketing pages (shared with Landing via tokens.css) */

/* ---- Shared NAV (injected by site.js) ---- */
#site-nav .nav { position: fixed; top: 0; inset-inline: 0; z-index: 100; transition: background .25s, box-shadow .25s, padding .25s; padding: 16px 0; }
#site-nav .nav.solid { background: rgba(251,244,228,0.94); backdrop-filter: blur(12px); box-shadow: var(--sh-sm); padding: 11px 0; }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nav-logo { display: inline-flex; align-items: baseline; gap: 6px; text-decoration: none; }
.nav-logo .w-tok { font-family: var(--f-display); font-weight: 900; font-size: 25px; color: var(--tk-cream); letter-spacing: -0.5px; }
.nav-logo .w-mishwar { font-family: var(--f-deco); font-weight: 700; font-style: italic; font-size: 20px; color: var(--tk-yellow); }
#site-nav .nav.solid .w-tok { color: var(--tk-petrol); }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { font-family: var(--f-display); font-weight: 700; font-size: 14px; color: rgba(251,244,228,0.85); text-decoration: none; transition: color .15s; }
#site-nav .nav.solid .nav-links a { color: var(--tk-petrol); }
.nav-links a:hover { color: var(--tk-yellow); }
#site-nav .nav.solid .nav-links a:hover { color: var(--tk-clay); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.lang-chip { font-family: var(--f-display); font-weight: 800; font-size: 13px; padding: 7px 12px; border-radius: var(--r-pill); border: 1.5px solid rgba(251,244,228,0.3); color: var(--tk-cream); cursor: pointer; background: transparent; }
#site-nav .nav.solid .lang-chip { border-color: rgba(14,42,51,0.2); color: var(--tk-petrol); }
.nav-burger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 8px; }
.nav-burger span { width: 24px; height: 2.5px; background: var(--tk-cream); border-radius: 2px; }
#site-nav .nav.solid .nav-burger span { background: var(--tk-petrol); }

/* ---- Page hero ---- */
.page-hero { background: linear-gradient(165deg, var(--tk-petrol), var(--tk-petrol-2) 75%, #0A2027); color: var(--tk-cream); padding: 150px 0 70px; position: relative; overflow: hidden; text-align: center; }
.page-hero .mash-layer { position: absolute; inset: 0; color: var(--tk-yellow); opacity: 0.06; }
.page-hero .clay-glow { position: absolute; bottom: -20%; inset-inline-start: -5%; width: 45%; height: 70%; background: radial-gradient(circle, rgba(201,64,45,0.3), transparent 70%); }
.page-hero .wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; position: relative; }
.crumb { font-family: var(--f-display); font-weight: 700; font-size: 13px; color: rgba(251,244,228,0.55); margin-bottom: 12px; }
.crumb a { color: var(--tk-yellow); text-decoration: none; }
.page-hero h1 { font-family: var(--f-display); font-weight: 900; font-size: clamp(30px, 5vw, 48px); margin: 0 0 12px; line-height: 1.15; }
.page-hero h1 .deco { font-family: var(--f-deco); font-style: italic; color: var(--tk-yellow); }
.page-hero p { color: rgba(251,244,228,0.75); font-size: 16px; max-width: 560px; margin: 0 auto; line-height: 1.7; }

/* ---- Page body ---- */
.page-body { max-width: 1100px; margin: 0 auto; padding: 64px 24px 40px; }
.page-narrow { max-width: 780px; }
.eyebrow { font-family: var(--f-display); font-weight: 800; font-size: 13px; letter-spacing: 1.5px; color: var(--tk-clay); }
h2.block-title { font-family: var(--f-display); font-weight: 900; font-size: clamp(24px, 3.5vw, 34px); color: var(--tk-petrol); margin: 8px 0 14px; letter-spacing: -0.5px; }

/* ---- Prose (legal/about) ---- */
.prose { font-size: 15.5px; line-height: 1.9; color: var(--text); }
.prose h3 { font-family: var(--f-display); font-weight: 800; font-size: 19px; color: var(--tk-petrol); margin: 30px 0 10px; }
.prose p { margin: 0 0 14px; }
.prose ul { padding-inline-start: 22px; margin: 0 0 14px; }
.prose li { margin-bottom: 8px; }
.legal-meta { font-size: 13px; color: var(--text-muted); margin-bottom: 24px; }

/* ---- Stat / value cards ---- */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 30px; }
.value-card { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-xl); padding: 26px; box-shadow: var(--sh-sm); }
.value-card .vc-ic { width: 52px; height: 52px; border-radius: var(--r-md); display: grid; place-items: center; font-size: 26px; margin-bottom: 14px; background: rgba(242,192,20,0.16); }
.value-card h3 { font-family: var(--f-display); font-weight: 800; font-size: 18px; color: var(--tk-petrol); margin: 0 0 6px; }
.value-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin: 0; }

.mini-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 40px 0; }
.mini-stat { text-align: center; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 22px; box-shadow: var(--sh-sm); }
.mini-stat .ms-num { font-family: var(--f-display); font-weight: 900; font-size: 32px; color: var(--tk-petrol); }
.mini-stat .ms-label { font-size: 13px; color: var(--text-muted); margin-top: 4px; }

/* ---- Team ---- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 24px; }
.team-card { text-align: center; }
.team-av { width: 96px; height: 96px; border-radius: 28px; display: grid; place-items: center; color: #fff; font-family: var(--f-display); font-weight: 900; font-size: 30px; margin: 0 auto 12px; }
.team-card h4 { font-family: var(--f-display); font-weight: 800; font-size: 15px; color: var(--tk-petrol); margin: 0; }
.team-card span { font-size: 13px; color: var(--text-muted); }

/* ---- Contact ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact-channels { display: flex; flex-direction: column; gap: 12px; }
.channel { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: var(--r-lg); text-decoration: none; border: 1px solid var(--line-2); background: var(--surface); transition: transform .15s; }
.channel:hover { transform: translateX(-4px); }
.channel .ch-ic { width: 46px; height: 46px; border-radius: var(--r-md); display: grid; place-items: center; font-size: 22px; color: #fff; flex: 0 0 auto; }
.channel .ch-t { font-family: var(--f-display); font-weight: 800; font-size: 15px; color: var(--tk-petrol); }
.channel .ch-s { font-size: 13px; color: var(--text-muted); }
.contact-form { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-xl); padding: 26px; box-shadow: var(--sh-sm); }
.contact-form .field { margin-bottom: 14px; }

/* ---- Blog ---- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.blog-card { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-sm); transition: transform .18s, box-shadow .18s; cursor: pointer; }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.blog-thumb { height: 160px; position: relative; overflow: hidden; display: grid; place-items: center; }
.blog-thumb .mash-layer { position: absolute; inset: 0; opacity: 0.12; }
.blog-thumb .em { font-size: 52px; position: relative; }
.blog-body { padding: 18px; }
.blog-cat { font-family: var(--f-display); font-weight: 800; font-size: 11px; color: var(--tk-clay); letter-spacing: 1px; }
.blog-card h3 { font-family: var(--f-display); font-weight: 800; font-size: 17px; color: var(--tk-petrol); margin: 6px 0 8px; line-height: 1.3; }
.blog-card p { font-size: 13.5px; color: var(--text-muted); line-height: 1.6; margin: 0 0 12px; }
.blog-meta { font-size: 12px; color: var(--text-muted); display: flex; gap: 10px; }
.blog-featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1.2fr 1fr; gap: 0; }
.blog-featured .blog-thumb { height: 100%; min-height: 260px; }

/* ---- Careers ---- */
.job-list { display: flex; flex-direction: column; gap: 12px; }
.job-card { display: flex; align-items: center; gap: 16px; padding: 20px; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-lg); box-shadow: var(--sh-sm); }
.job-card .job-ic { width: 48px; height: 48px; border-radius: var(--r-md); display: grid; place-items: center; font-size: 22px; background: var(--surface-2); flex: 0 0 auto; }
.job-card h3 { font-family: var(--f-display); font-weight: 800; font-size: 16px; color: var(--tk-petrol); margin: 0 0 4px; }
.job-card .job-meta { font-size: 13px; color: var(--text-muted); display: flex; gap: 10px; flex-wrap: wrap; }

/* ---- Track parcel ---- */
.track-box { max-width: 560px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-2xl); padding: 30px; box-shadow: var(--sh-md); }
.track-input-row { display: flex; gap: 10px; margin: 18px 0; }
.track-input-row input { flex: 1; }
.track-timeline { margin-top: 26px; }
.track-step { display: flex; gap: 14px; padding-bottom: 22px; position: relative; }
.track-step:not(:last-child)::before { content: ''; position: absolute; inset-inline-start: 15px; top: 32px; bottom: 0; width: 2px; background: var(--line); }
.track-step.done:not(:last-child)::before { background: var(--tk-mint); }
.track-dot { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; flex: 0 0 auto; background: var(--surface-2); color: var(--text-muted); font-size: 14px; z-index: 1; }
.track-step.done .track-dot { background: var(--tk-mint); color: #fff; }
.track-step.active .track-dot { background: var(--tk-yellow); color: var(--tk-petrol); }
.track-step h4 { font-family: var(--f-display); font-weight: 800; font-size: 15px; color: var(--tk-petrol); margin: 4px 0 2px; }
.track-step span { font-size: 13px; color: var(--text-muted); }

/* ---- CTA band ---- */
.cta-band { background: var(--tk-petrol); border-radius: var(--r-2xl); padding: 44px; text-align: center; position: relative; overflow: hidden; margin-top: 50px; }
.cta-band .mash-layer { position: absolute; inset: 0; color: var(--tk-yellow); opacity: 0.06; }
.cta-band h2 { color: var(--tk-cream); font-family: var(--f-display); font-weight: 900; font-size: 28px; margin: 0 0 8px; position: relative; }
.cta-band p { color: rgba(251,244,228,0.7); margin: 0 0 22px; position: relative; }

/* ---- Shared FOOTER ---- */
#site-footer footer { background: var(--tk-petrol); color: rgba(251,244,228,0.7); padding: 60px 0 26px; position: relative; overflow: hidden; }
#site-footer .mash-layer { position: absolute; inset: 0; color: var(--tk-yellow); opacity: 0.04; }
.foot-grid { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; position: relative; }
.foot-brand .w-tok { font-family: var(--f-display); font-weight: 900; font-size: 30px; color: var(--tk-cream); }
.foot-brand .w-mishwar { font-family: var(--f-deco); font-style: italic; font-weight: 700; font-size: 24px; color: var(--tk-yellow); }
.foot-brand p { font-size: 13.5px; line-height: 1.7; margin: 14px 0 0; max-width: 240px; }
.foot-social { display: flex; gap: 10px; margin-top: 16px; }
.foot-social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(251,244,228,0.1); display: grid; place-items: center; color: var(--tk-cream); text-decoration: none; }
.foot-social a:hover { background: var(--tk-yellow); color: var(--tk-petrol); }
.foot-col h4 { font-family: var(--f-display); font-weight: 800; font-size: 14px; color: var(--tk-cream); margin: 0 0 14px; }
.foot-col a { display: block; color: rgba(251,244,228,0.65); text-decoration: none; font-size: 13.5px; margin-bottom: 9px; }
.foot-col a:hover { color: var(--tk-yellow); }
.foot-bottom { max-width: 1200px; margin: 40px auto 0; padding: 22px 24px 0; border-top: 1px solid rgba(251,244,228,0.12); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; position: relative; font-size: 13px; }
.made { display: flex; align-items: center; gap: 6px; font-family: var(--f-display); font-weight: 700; color: rgba(251,244,228,0.6); }

@media (max-width: 900px) {
  .value-grid, .blog-grid { grid-template-columns: 1fr 1fr; }
  .team-grid, .mini-stats { grid-template-columns: repeat(2, 1fr); }
  .contact-grid, .blog-featured { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-links { position: fixed; top: 60px; inset-inline: 12px; flex-direction: column; background: var(--tk-cream); border-radius: var(--r-lg); padding: 18px; box-shadow: var(--sh-lg); display: none; align-items: stretch; }
  .nav-links.open { display: flex; }
  .nav-links a { color: var(--tk-petrol) !important; }
  .nav-burger { display: flex; }
  .nav-cta .btn { display: none; }
  .value-grid, .blog-grid, .foot-grid { grid-template-columns: 1fr; }
}

/* ---- Pagination (blog) — brand styling for Laravel's default .pagination markup ---- */
.pagination { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; list-style: none; padding: 0; margin: 0; }
.pagination li a, .pagination li span, .pagination .page-link { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 12px; border-radius: var(--r-md); border: 1.5px solid var(--line); background: var(--surface); color: var(--tk-petrol); font-family: var(--f-display); font-weight: 700; font-size: 14px; text-decoration: none; transition: background .15s, color .15s, border-color .15s; }
.pagination li.active span, .pagination .page-item.active .page-link { background: var(--tk-petrol); color: var(--tk-cream); border-color: var(--tk-petrol); }
.pagination li.disabled span, .pagination .page-item.disabled .page-link { opacity: .45; }
.pagination li a:hover, .pagination .page-link:hover { background: var(--tk-yellow); color: var(--tk-petrol); border-color: var(--tk-yellow); }
.pagination svg { width: 16px; height: 16px; }
