/* =========================================================
   HASHTAG | هاشتاق — inner pages (services, cities, sectors, glossary)
   Builds on css/style.css (same tokens & identity)
   ========================================================= */

/* ---------- hero ---------- */
.p-hero {
  position: relative; min-height: min(86svh, 860px); overflow: hidden;
  display: flex; align-items: flex-end;
  padding: 150px 0 80px;
  background: radial-gradient(ellipse 80% 60% at 50% 30%, #29292c 0%, #18181a 62%, #121213 100%);
}
.p-word {
  position: absolute; inset-inline: 0; top: clamp(78px, 11vh, 120px); z-index: 0;
  text-align: center; white-space: nowrap; pointer-events: none; user-select: none;
  font-family: var(--ff-display); font-size: clamp(90px, 19vw, 360px); line-height: .82; letter-spacing: .01em;
  transform: scaleY(1.25); transform-origin: top center;
  background: var(--grad-v); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(-1.5px -1.5px 0 rgba(255,255,255,.4));
  opacity: .92;
}
.p-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.p-hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 55%; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(18,18,19,.92) 70%); }
.p-hero-inner { position: relative; z-index: 2; width: 100%; max-width: 1300px; margin: 0 auto; padding: 0 var(--pad); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-family: var(--ff-ar); font-size: .86rem; color: var(--muted); margin-bottom: 22px; }
.crumbs a { color: #e7e3df; border-bottom: 1px solid transparent; transition: border-color .3s, color .3s; }
.crumbs a:hover { color: var(--orange); border-color: var(--orange); }
.crumbs i { font-style: normal; opacity: .5; }
.crumbs [aria-current] { color: var(--orange); }
.p-kicker { margin: 0 0 6px; font-family: var(--ff-ar); font-weight: 600; color: var(--orange); font-size: .95rem; letter-spacing: .02em; }
.p-title { margin: 0; font-family: var(--ff-ar); font-weight: 800; font-size: clamp(36px, 5.6vw, 92px); line-height: 1.15; max-width: 1050px; text-shadow: 0 6px 40px rgba(0,0,0,.45); }
.p-en { margin: 8px 0 30px; font-family: var(--ff-display); font-size: clamp(24px, 2.8vw, 44px); letter-spacing: .04em; line-height: 1; color: rgba(255,255,255,.85); text-align: right; }
.p-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-ghost { border: 1.5px solid rgba(255,255,255,.35); color: #fff; background: rgba(255,255,255,.04); }
.btn-ghost:hover { border-color: var(--orange); color: var(--orange); }
.btn-ghost.light { border-color: rgba(255,255,255,.7); }
.btn-ghost.light:hover { color: #fff; border-color: #fff; background: rgba(255,255,255,.12); }

/* ---------- sections ---------- */
.p-sec { position: relative; padding: clamp(70px, 10vh, 110px) var(--pad) 40px; background: linear-gradient(135deg, #2d2d2f 0%, #1f1f21 55%, #2a2a2c 100%); overflow: hidden; }
.p-sec:nth-of-type(odd) { background: linear-gradient(135deg, #252527 0%, #1b1b1d 60%, #232325 100%); }
.p-sec .page-foot.static { margin-top: clamp(50px, 7vh, 80px); padding-inline: 0; }
.p-wrap { position: relative; z-index: 2; max-width: 1300px; margin: 0 auto; }
.p-h2 { margin: 0 0 34px; font-family: var(--ff-ar); font-weight: 800; font-size: clamp(30px, 3.8vw, 60px); line-height: 1.2; }
.p-h2 em { display: inline-block; font-style: normal; color: var(--orange); font-size: .62em; letter-spacing: .03em; vertical-align: middle; }
.p-h3 { margin: 34px 0 14px; font-family: var(--ff-ar); font-weight: 700; font-size: clamp(18px, 1.5vw, 24px); }
.p-h3 a:hover { color: var(--orange); }
.p-lead { max-width: 960px; margin: 0 0 18px; color: #dcd8d3; font-size: clamp(15px, 1.12vw, 18px); line-height: 2; }
.muted { color: var(--muted); }
.p-two { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.p-two .p-h3 { margin-top: 0; }

/* TL;DR — answer-first block (GEO) */
.tldr-sec { padding-top: 0; margin-top: -30px; background: transparent !important; z-index: 3; }
.tldr-sec .p-wrap { z-index: 3; }
.glass { background: var(--glass); border: 1.5px solid rgba(255,255,255,.2); backdrop-filter: blur(22px) saturate(130%); -webkit-backdrop-filter: blur(22px) saturate(130%); box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 40px 80px -40px rgba(0,0,0,.6); }
.tldr { position: relative; border-radius: 40px; padding: clamp(26px, 3.4vw, 50px); background-color: rgba(40,40,44,.72); }
.tldr::before { content: ""; position: absolute; inset: -1.5px; border-radius: inherit; padding: 1.5px; background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.tldr-tag { display: inline-block; padding: 5px 16px; border-radius: 999px; background: var(--grad); font-family: var(--ff-ar); font-weight: 700; font-size: .82rem; margin-bottom: 14px; }
.tldr-text { margin: 0 0 24px; font-size: clamp(16px, 1.25vw, 20px); line-height: 2; color: #f1eeea; }
.tldr-text b { color: #fff; font-family: var(--ff-ar); }
.facts { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.facts > div { padding: 14px 18px; border-radius: 20px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.facts dt { font-size: .76rem; color: var(--muted); margin-bottom: 4px; }
.facts dd { margin: 0; font-family: var(--ff-ar); font-weight: 600; font-size: .95rem; line-height: 1.6; }
.facts a { color: var(--orange); }
.updated { margin: 18px 0 0; font-size: .78rem; color: var(--dim); }

/* bullets */
.p-bullets { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 14px; max-width: 980px; }
.p-bullets li { position: relative; padding: 18px 64px 18px 22px; border-radius: 24px; background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.1); line-height: 1.95; color: #e6e2de; }
.p-bullets li::before { content: "#"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-family: var(--ff-display); font-size: 34px; line-height: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* cards */
.p-cards { display: grid; gap: 16px; }
.p-cards.c3 { grid-template-columns: repeat(3, 1fr); }
.p-cards.c2 { grid-template-columns: repeat(2, 1fr); }
.p-card {
  position: relative; display: block; padding: 28px 28px 30px; border-radius: 32px;
  background: rgba(255,255,255,.05); border: 1.5px solid rgba(255,255,255,.12);
  transition: transform .5s var(--ease), border-color .4s, background .4s;
  overflow: hidden; isolation: isolate;
}
.p-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--grad); opacity: 0; transition: opacity .5s; }
a.p-card:hover { transform: translateY(-6px); border-color: rgba(255,255,255,.35); }
a.p-card:hover::before { opacity: .22; }
.p-card .ic { width: 44px; height: 44px; margin-bottom: 16px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
a.p-card:hover .ic { stroke: var(--orange); }
.p-card h3 { margin: 0 0 8px; font-family: var(--ff-ar); font-weight: 700; font-size: clamp(17px, 1.3vw, 21px); line-height: 1.45; }
.p-card p { margin: 0; color: #cfcbc6; font-size: .93rem; line-height: 1.9; }
.p-card .go { position: absolute; left: 24px; top: 24px; font-size: 1.3rem; color: var(--orange); transition: transform .4s var(--ease); }
a.p-card:hover .go { transform: translateX(-6px); }

/* steps */
.p-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.p-steps li { padding: 4px 4px 0; }
.p-steps .s-num { display: block; font-family: var(--ff-display); font-size: clamp(56px, 6vw, 96px); line-height: 1; color: transparent; -webkit-text-stroke: 1.4px rgba(255,255,255,.75); text-align: right; transition: color .4s; }
.p-steps li:hover .s-num { color: var(--orange); -webkit-text-stroke-color: var(--orange); }
.p-steps h3 { margin: 8px 0 6px; font-family: var(--ff-ar); font-weight: 700; font-size: 1.3rem; }
.p-steps p { margin: 0; color: #cfcbc6; font-size: .93rem; line-height: 1.9; }

/* chips */
.p-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 14px; }
.p-chips span, .p-chips a { padding: 10px 18px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.18); font-family: var(--ff-ar); font-size: .9rem; background: rgba(255,255,255,.03); }
.p-chips a { transition: background .3s, border-color .3s, transform .3s var(--ease); }
.p-chips a:hover { background: var(--grad); border-color: transparent; transform: translateY(-2px); }

/* table */
.p-table { border-radius: 32px; overflow: hidden; padding: 8px; }
.p-table table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.p-table th { text-align: right; padding: 16px 20px; font-family: var(--ff-ar); color: var(--orange); font-weight: 700; border-bottom: 1px solid rgba(255,255,255,.15); }
.p-table td { padding: 16px 20px; border-bottom: 1px solid rgba(255,255,255,.07); color: #e3dfdb; line-height: 1.8; vertical-align: top; }
.p-table tr:last-child td { border-bottom: 0; }
.p-table td:first-child { font-family: var(--ff-ar); font-weight: 600; color: #fff; }

/* FAQ — stacked tab bands (identity) */
.p-faq { display: grid; gap: 0; }
.faq { --l: calc(22% + var(--o) * 3.6%); position: relative; margin-top: -12px; border-radius: 34px 34px 0 0; background: hsl(240 2% var(--l)); box-shadow: 0 -12px 28px -12px rgba(0,0,0,.45); }
.faq:first-child { margin-top: 0; }
.faq:last-child { border-radius: 34px; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 24px clamp(22px, 3vw, 40px) 30px; font-family: var(--ff-ar); font-weight: 600; font-size: clamp(15px, 1.25vw, 19px); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.5); position: relative; transition: transform .4s var(--ease), background .3s; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: #fff; }
.faq summary i::after { transform: rotate(90deg); transition: transform .4s var(--ease); }
.faq[open] { background: linear-gradient(100deg, #5d4a78, #8f5880 50%, #b8664f); }
.faq[open] summary i { transform: rotate(180deg); background: rgba(255,255,255,.15); }
.faq[open] summary i::after { transform: rotate(0deg); }
.faq-a { padding: 0 clamp(22px, 3vw, 40px) 30px; }
.faq-a p { margin: 0; max-width: 900px; line-height: 2; color: #f4f1ee; }

/* related stack */
.p-stack { width: 100%; max-width: none; margin: 10px 0 0; }

/* blocks */
.country-block { margin-bottom: 18px; }
.formula { display: inline-block; margin: 0 0 22px; padding: 18px 28px; border-radius: 24px; font-family: var(--ff-ar); font-weight: 700; font-size: clamp(16px, 1.4vw, 22px); }

/* CTA */
.p-cta { padding: clamp(90px, 13vh, 140px) var(--pad); text-align: center; }
.p-cta .p-wrap { display: grid; justify-items: center; gap: 6px; }
.p-cta .contact-title { font-size: clamp(36px, 5vw, 84px); }
.p-cta .contact-lead { margin: 10px 0 26px; }

/* footer columns */
.ft-cols { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 30px; margin-top: 44px; }
.ft-cols h3 { margin: 0 0 14px; font-family: var(--ff-ar); font-weight: 700; font-size: 1rem; color: var(--orange); }
.ft-list { display: flex; flex-wrap: wrap; gap: 8px 18px; font-family: var(--ff-ar); font-size: .88rem; }
.ft-list a { color: #cfcbc6; transition: color .3s; }
.ft-list a:hover { color: #fff; }

/* responsive */
@media (max-width: 1000px) {
  .p-cards.c3 { grid-template-columns: repeat(2, 1fr); }
  .p-steps { grid-template-columns: repeat(2, 1fr); }
  .ft-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .p-hero { min-height: 92svh; padding-bottom: 60px; }
  .p-word { transform: scaleY(1.7); top: 96px; }
  .p-cards.c3, .p-cards.c2, .p-two { grid-template-columns: 1fr; }
  .p-steps { grid-template-columns: 1fr; }
  .p-bullets li { padding: 16px 54px 16px 16px; }
  .p-table { padding: 0; border-radius: 24px; overflow-x: auto; }
  .p-table table { min-width: 520px; font-size: .88rem; }
  .faq summary { padding: 20px 20px 26px; }
  .ft-cols { grid-template-columns: 1fr; }
  .tldr { border-radius: 30px; }
}
.p-lead a.inline, .p-lead a { color: var(--orange); border-bottom: 1px solid rgba(242,140,40,.4); }
