/* =========================================================
   Digital Hamza - Gulf SEO pages (seo/uae.html, seo/qatar.html)
   Loaded after dh.css + city.css (which holds the shared cards,
   form, FAQ, pricing and process styles).
   Hero identity: slow desert-dune contour lines, a bilingual
   (English / Arabic) search box that types itself, and a side card.
   ========================================================= */

.g-hero { position: relative; padding: 150px 0 110px; overflow: hidden; isolation: isolate; }
.g-hero canvas.dh-dunes { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.g-hero::before {
  content: ''; position: absolute; z-index: 0; left: -10%; bottom: -30%; width: 1000px; height: 800px; border-radius: 50%;
  background: radial-gradient(circle, rgba(5,188,5,.13), transparent 62%); pointer-events: none;
}
.g-hero::after { content: ''; position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; height: 140px; background: linear-gradient(transparent, var(--d1)); pointer-events: none; }
.g-hero > .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; min-width: 0; }
.g-hero .pill { margin-bottom: 30px; }
.g-hero .pill img { width: 20px; height: 14px; border-radius: 3px; object-fit: cover; }
.g-hero h1 { font-size: clamp(44px, 5.3vw, 92px); font-weight: 600; line-height: .95; letter-spacing: -0.055em; margin-bottom: 28px; }
.g-hero h1 .line { display: block; overflow: hidden; padding: 0 .04em .16em; margin-bottom: -.08em; }
.g-hero h1 .line > span { display: inline-block; }
.g-hero h1 em { font-style: normal; color: var(--gt); }
.g-hero .lead { margin-bottom: 38px; }
.g-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.g-badges span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; background: var(--glass); border: 1px solid var(--br); backdrop-filter: blur(8px); }
.g-badges i { color: var(--gt); }

/* hero widgets */
.g-stack { position: relative; display: grid; gap: 16px; }
.g-card { padding: 24px; border-radius: 24px; background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--br2); box-shadow: var(--shadow); }
.g-card .h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--t3); }
.g-card .h b { color: var(--gt); font-weight: 700; }

.search-box { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 999px; background: var(--d1); border: 1px solid var(--br2); font-size: 16px; font-weight: 500; min-height: 54px; }
.search-box > i { color: var(--t3); }
.search-box .q { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-box .q[dir="rtl"] { text-align: right; font-family: 'Plus Jakarta Sans', Tahoma, 'Segoe UI', sans-serif; }
.search-box .caret { width: 2px; height: 20px; background: var(--g); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.search-box .lang { font-size: 11px; font-weight: 700; padding: 4px 8px; border-radius: 6px; background: var(--gs); color: var(--gt); border: 1px solid var(--gb); }
.serp { margin-top: 14px; display: grid; gap: 8px; }
.serp-row { display: grid; grid-template-columns: 28px 1fr auto; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 14px; border: 1px solid transparent; transition: background .4s, border-color .4s; }
.serp-row .n { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font-size: 12px; font-weight: 700; background: var(--d3); color: var(--t2); }
.serp-row .t { height: 8px; border-radius: 4px; background: var(--d4); }
.serp-row .t.s { width: 70%; }
.serp-row small { font-size: 11px; color: var(--t3); font-weight: 600; }
.serp-row.you { background: var(--gs); border-color: var(--gb); }
.serp-row.you .n { background: var(--g); color: #fff; }
.serp-row.you b { font-size: 14px; font-weight: 600; }
.serp-row.you small { color: var(--gt); }

.cost { display: grid; gap: 14px; }
.cost-row .top { display: flex; justify-content: space-between; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.cost-row .top span { color: var(--t2); }
.cost-row .bar { height: 12px; border-radius: 6px; background: var(--d3); overflow: hidden; }
.cost-row .bar i { display: block; height: 100%; border-radius: 6px; transform-origin: left; }
.cost-row.them .bar i { width: 100%; background: linear-gradient(90deg, #6b6b6b, #9a9a9a); }
.cost-row.us .bar i { width: 18%; background: linear-gradient(90deg, var(--g), var(--gl)); }
.cost-row.us .top span { color: var(--gt); }
.cost-note { margin-top: 6px; font-size: 13px; color: var(--t2); }
.cost-note b { color: var(--t1); }

.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.checks span { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--d1); border: 1px solid var(--br); font-size: 13px; font-weight: 600; }
.checks i { color: var(--gt); }

/* ---------- REASONS (2x2) ---------- */
.reasons { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.rs { display: grid; grid-template-columns: 54px 1fr; gap: 18px; padding: 28px; border-radius: 22px; background: var(--d2); border: 1px solid var(--br); }
.rs .ic { width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; font-size: 21px; background: var(--gs); border: 1px solid var(--gb); color: var(--gt); }
.rs h3 { font-size: 18px; font-weight: 600; margin-bottom: 6px; }
.rs p { font-size: 15px; color: var(--t2); line-height: 1.65; }
.reason-text { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-top: 56px; }
.reason-text p { font-size: 16px; color: var(--t2); line-height: 1.8; }

/* ---------- EMIRATES / REGION TABS ---------- */
.em { display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; align-items: start; }
.em-list { display: grid; gap: 6px; }
.em-tab {
  display: flex; align-items: center; gap: 16px; width: 100%; padding: 18px 20px; border-radius: 18px; border: 1px solid transparent;
  background: none; color: var(--t2); font: inherit; font-size: 19px; font-weight: 600; letter-spacing: -.01em; text-align: left; cursor: pointer;
  transition: background .3s, color .3s, border-color .3s;
}
.em-tab .n { font-size: 12px; font-weight: 700; color: var(--t3); width: 22px; }
.em-tab i { margin-left: auto; font-size: 13px; opacity: 0; transform: translateX(-8px); transition: opacity .3s, transform .3s; }
.em-tab:hover { color: var(--t1); }
.em-tab[aria-selected="true"] { background: var(--d2); color: var(--t1); border-color: var(--gb); }
.em-tab[aria-selected="true"] .n { color: var(--gt); }
.em-tab[aria-selected="true"] i { opacity: 1; transform: none; color: var(--gt); }
.em-panel { position: sticky; top: 110px; padding: 40px; border-radius: 28px; background: var(--d2); border: 1px solid var(--br); min-height: 360px; overflow: hidden; }
.em-panel .big { position: absolute; right: -10px; bottom: -40px; font-size: 180px; font-weight: 700; letter-spacing: -.06em; line-height: 1; color: var(--gs); pointer-events: none; }
.em-panel .tag { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gt); margin-bottom: 14px; }
.em-panel h3 { font-size: 34px; font-weight: 600; letter-spacing: -.03em; margin-bottom: 18px; }
.em-panel p { position: relative; font-size: 17px; color: var(--t2); line-height: 1.8; }
.em-panel .kw { position: relative; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.em-panel .kw span { font-size: 13px; font-weight: 600; padding: 8px 12px; border-radius: 10px; background: var(--d1); border: 1px solid var(--br); }

/* ---------- BILINGUAL ---------- */
.bi { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.bi-card { padding: 30px; border-radius: 22px; background: var(--d2); border: 1px solid var(--br); }
.bi-card h3 { font-size: 18px; font-weight: 600; margin-bottom: 22px; }
.bi-q { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: center; padding: 14px; border-radius: 14px; background: var(--d1); border: 1px solid var(--br); margin-bottom: 10px; font-size: 15px; font-weight: 500; }
.bi-q .lg { font-size: 11px; font-weight: 700; text-align: center; padding: 5px 0; border-radius: 6px; background: var(--gs); color: var(--gt); border: 1px solid var(--gb); }
.bi-q [dir="rtl"] { text-align: right; font-size: 16px; font-family: Tahoma, 'Segoe UI', sans-serif; }
.bi-q.na { color: var(--t3); font-style: italic; }

/* ---------- METRICS ---------- */
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--br); border-bottom: 1px solid var(--br); }
.metric { padding: 44px 30px; border-right: 1px solid var(--br); }
.metric:last-child { border-right: 0; }
.metric strong { display: block; font-size: clamp(52px, 6vw, 88px); font-weight: 600; letter-spacing: -.06em; line-height: 1; color: var(--gt); }
.metric span { display: block; margin-top: 14px; font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--t3); }
.perf-text { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-bottom: 56px; }
.perf-text p { font-size: 17px; color: var(--t2); line-height: 1.8; }

/* ---------- FOUNDER TAGS ---------- */
.f-tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 30px; }
.f-tags span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 12px; font-size: 14px; font-weight: 600; background: var(--d2); border: 1px solid var(--br); }
.f-tags i { color: var(--gt); }

/* ---------- WORKFLOW CASES ---------- */
.flows { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.flow { padding: 34px; border-radius: 24px; background: var(--d2); border: 1px solid var(--br); display: flex; flex-direction: column; }
.flow .tag { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gt); margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.flow h3 { font-size: 22px; font-weight: 600; letter-spacing: -.02em; margin-bottom: 14px; }
.flow p { font-size: 15px; color: var(--t2); line-height: 1.7; margin-bottom: 12px; }
.flow p b { color: var(--t1); font-weight: 600; }
.flow .res { margin-top: auto; padding: 16px 18px; border-radius: 14px; background: var(--gs); border: 1px solid var(--gb); font-size: 15px; font-weight: 500; }
.flow .res i { color: var(--gt); margin-right: 8px; }
.nda-note { display: flex; gap: 14px; align-items: center; margin-top: 24px; padding: 18px 22px; border-radius: 16px; border: 1px dashed var(--br2); font-size: 15px; color: var(--t2); }
.nda-note i { color: var(--gt); font-size: 18px; }
.nda-note a { color: var(--gt); font-weight: 600; }

/* ---------- LOCATION CARDS ---------- */
.locs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.loc { position: relative; height: 260px; border-radius: 22px; overflow: hidden; background: var(--d3); border: 1px solid var(--br); }
.loc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); filter: saturate(.85); }
.loc:hover img { transform: scale(1.07); }
.loc::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(10,10,10,.88)); }
.loc div { position: absolute; z-index: 1; left: 22px; right: 22px; bottom: 20px; color: #fff; }
.loc h3 { font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.loc p { font-size: 13px; color: #05BC05; font-weight: 600; margin-top: 2px; }
.loc.txt { display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; height: auto; min-height: 200px; }
.loc.txt::after { display: none; }
.loc.txt .ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--gs); border: 1px solid var(--gb); color: var(--gt); margin-bottom: auto; font-size: 18px; }
.loc.txt h3 { color: var(--t1); margin-top: 30px; }
.loc.txt p { color: var(--t2); font-weight: 500; font-size: 14px; line-height: 1.6; margin-top: 6px; }

.plans-note { margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--br); font-size: 15px; color: var(--t2); }
.plans-note a { color: var(--gt); font-weight: 600; }
.plan .sub { font-size: 14px; color: var(--t2); margin: -10px 0 20px; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1080px) {
  .g-hero > .wrap { grid-template-columns: 1fr; gap: 60px; }
  .g-stack { max-width: 560px; }
  .reasons, .reason-text, .perf-text, .em { grid-template-columns: 1fr; gap: 24px; }
  .em-panel { position: relative; top: 0; }
  .bi, .locs { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .g-hero { padding: 124px 0 80px; }
  .g-hero .c-actions .btn { flex: 1 1 100%; justify-content: center; }
  .rs { grid-template-columns: 1fr; padding: 24px 20px; }
  .em-tab { font-size: 17px; padding: 14px 16px; }
  .em-panel { padding: 28px 22px; min-height: 0; }
  .em-panel h3 { font-size: 26px; }
  .em-panel .big { font-size: 120px; }
  .bi, .locs, .flows, .metrics, .checks { grid-template-columns: 1fr; }
  .metric { border-right: 0; border-bottom: 1px solid var(--br); padding: 30px 4px; }
  .metric:last-child { border-bottom: 0; }
  .flow { padding: 26px 20px; }
  .search-box { font-size: 14px; padding: 12px 14px; }
}

a.loc { display: block; color: inherit; }

/* hero columns may shrink below their longest unbroken text (the typing search box) */
.g-hero > .wrap > * { min-width: 0; }
.g-stack, .g-card, .search-box { min-width: 0; }
.g-hero h1 .line > span { max-width: 100%; }

/* =========================================================
   CITY PAGES (seo/uae/dubai, abu-dhabi, sharjah, seo/qatar/doha)
   <body class="city">. A different look from the country pages:
   an arch-framed city photo, the city name as a giant outline,
   a mock map pack, the local time and a ticker of districts.
   ========================================================= */
.ct-hero { position: relative; padding: 150px 0 0; overflow: hidden; isolation: isolate; }
.ct-hero::before { content: ''; position: absolute; z-index: -1; right: -12%; top: -8%; width: 900px; height: 900px; border-radius: 50%; background: radial-gradient(circle, rgba(5,188,5,.13), transparent 62%); pointer-events: none; }
.ct-word {
  position: absolute; z-index: 0; left: 50%; top: 92px; transform: translateX(-50%);
  font-size: clamp(110px, 23vw, 360px); font-weight: 800; letter-spacing: -.06em; line-height: .82; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px var(--br2); user-select: none; pointer-events: none;
}
.ct-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding-bottom: 84px; }
.ct-grid > * { min-width: 0; }
.ct-hero .pill { margin-bottom: 28px; }
.ct-hero .pill img { width: 20px; height: 14px; border-radius: 3px; object-fit: cover; }
.ct-hero h1 { font-size: clamp(44px, 5.4vw, 92px); font-weight: 600; line-height: .96; letter-spacing: -0.055em; margin-bottom: 26px; }
.ct-hero h1 .line { display: block; overflow: hidden; padding: 0 .04em .16em; margin-bottom: -.08em; }
.ct-hero h1 .line > span { display: inline-block; max-width: 100%; }
.ct-hero h1 em { font-style: normal; color: var(--gt); }
.ct-hero .lead { margin-bottom: 36px; }
.ct-hero .g-badges { margin-top: 36px; }
.ct-visual { position: relative; max-width: 460px; width: 100%; margin-left: auto; }
.ct-photo { position: relative; aspect-ratio: 4 / 5; border-radius: 230px 230px 30px 30px; overflow: hidden; border: 1px solid var(--br2); background: var(--d3); box-shadow: var(--shadow); }
.ct-photo img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; }
.ct-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,188,5,.10), transparent 40%, rgba(10,10,10,.55)); }
.ct-pack { position: absolute; z-index: 2; left: -14%; bottom: 9%; width: 268px; padding: 16px; border-radius: 20px; background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--br2); box-shadow: var(--shadow); }
.ct-pack .h { display: flex; justify-content: space-between; font-size: 11px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--t3); margin-bottom: 12px; }
.ct-pack .h b { color: var(--gt); }
.ct-row { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: center; padding: 9px 10px; border-radius: 12px; }
.ct-row .p { width: 26px; height: 26px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--d4); display: grid; place-items: center; }
.ct-row .p b { transform: rotate(45deg); font-size: 11px; font-weight: 700; color: var(--t2); }
.ct-row .t { height: 8px; border-radius: 4px; background: var(--d4); }
.ct-row .t.s { width: 62%; }
.ct-row.you { background: var(--gs); border: 1px solid var(--gb); }
.ct-row.you .p { background: var(--g); }
.ct-row.you .p b { color: #fff; }
.ct-row.you strong { display: block; font-size: 14px; font-weight: 600; line-height: 1.2; }
.ct-row.you small { font-size: 11px; color: var(--gt); font-weight: 600; }
.ct-time { position: absolute; z-index: 2; right: -6%; top: 12%; padding: 13px 17px; border-radius: 18px; background: var(--glass); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--br2); box-shadow: var(--shadow); }
.ct-time .t { font-size: 28px; font-weight: 600; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.ct-time .s { display: flex; align-items: center; gap: 8px; margin-top: 7px; font-size: 12px; font-weight: 600; color: var(--t2); }
.ct-time .s i { width: 8px; height: 8px; border-radius: 50%; background: var(--g); box-shadow: 0 0 0 4px var(--gs); animation: pulse 2s infinite; }
.ct-ticker { position: relative; z-index: 2; border-top: 1px solid var(--br); border-bottom: 1px solid var(--br); overflow: hidden; padding: 18px 0; background: var(--d1); }
.ct-track { display: flex; gap: 44px; width: max-content; animation: ct-slide 46s linear infinite; }
.ct-track span { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; color: var(--t2); white-space: nowrap; }
.ct-track span::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--g); }
@keyframes ct-slide { to { transform: translateX(-50%); } }

/* the rest of a city page: pill labels, single-column section heads, squarer cards, dotted accent sections */
.city .kicker { display: inline-flex; padding: 8px 15px; border-radius: 999px; border: 1px solid var(--gb); background: var(--gs); color: var(--gt); letter-spacing: 1.6px; margin-bottom: 22px; }
.city .kicker::after { display: none; }
.city .kicker b { color: var(--t1); }
.city .sec-brand .kicker { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.4); color: #fff; }
.city .head-row { grid-template-columns: 1fr; gap: 20px; max-width: 880px; margin-bottom: 56px; }
.city .title { font-size: clamp(32px, 4.3vw, 60px); }
.city .sec-acc { background-image: radial-gradient(var(--br2) 1px, transparent 1px); background-size: 22px 22px; }
.city .rs, .city .pt, .city .s6, .city .st4, .city .flow, .city .bi-card, .city .plan, .city .case-card, .city .em-panel, .city .t3 { border-radius: 14px; }
.city .pt, .city .rs, .city .flow { border-left: 3px solid var(--g); }
.city .st4 .n { border-radius: 12px; }

@media (max-width: 1080px) {
  .ct-grid { grid-template-columns: 1fr; gap: 64px; }
  .ct-visual { margin: 0 auto; max-width: 400px; }
  .ct-pack { left: -4%; }
  .ct-time { right: -2%; }
}
@media (max-width: 720px) {
  .ct-hero { padding-top: 124px; }
  .ct-word { top: 84px; font-size: 30vw; }
  .ct-hero .c-actions .btn { flex: 1 1 100%; justify-content: center; }
  .ct-grid { padding-bottom: 60px; }
  .ct-visual { max-width: 300px; }
  .ct-pack { left: -8%; width: 220px; padding: 12px; bottom: 6%; }
  .ct-time { right: -8%; padding: 10px 13px; }
  .ct-time .t { font-size: 22px; }
  .ct-track { gap: 30px; }
}
/* ---------- comparison table (wrap in .g-table-wrap so it can scroll sideways on phones) ---------- */
.g-table-wrap { overflow-x: auto; border-radius: 18px; border: 1px solid var(--br); background: var(--d2); }
.g-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; }
.g-table th, .g-table td { padding: 16px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--br); line-height: 1.55; }
.g-table tr:last-child td { border-bottom: 0; }
.g-table thead th { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--t3); background: var(--d3); }
.g-table tbody th { font-weight: 600; color: var(--t1); width: 26%; }
.g-table td { color: var(--t2); }
.g-table td.yes { color: var(--t1); background: var(--gs); }