/* ============================================================================
   UK ETA Gateway — stylesheet
   Written with CSS logical properties (inline-start/end, not left/right) so the
   Arabic RTL build needs no separate stylesheet. Test both after any change.

   Deliberate design constraint: this must NOT resemble GOV.UK. No black bar, no
   Transport typeface, no crown, no #FFDD00. Looking official would be deceptive
   and is exactly what regulators pursue third-party visa sites for.
   ========================================================================== */

:root {
  --brand: #0f5c68;          /* deep teal — trustworthy, clearly not GOV.UK */
  --brand-dark: #0a424b;
  --brand-light: #e6f2f4;
  --accent: #c2703d;         /* warm amber, for CTAs and highlights */
  --accent-dark: #a35a2c;

  --ink: #16232b;
  --ink-2: #47606d;
  --ink-3: #718996;
  --line: #dde5e9;
  --bg: #ffffff;
  --bg-2: #f6f9fa;
  --bg-3: #eef4f6;

  --ok: #1c7a4f;  --ok-bg: #e8f5ef;
  --warn: #8a5a00; --warn-bg: #fdf3e0;
  --stop: #a52222; --stop-bg: #fdecec;

  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(16,35,43,.06), 0 8px 24px rgba(16,35,43,.06);
  --shadow-lg: 0 2px 4px rgba(16,35,43,.06), 0 16px 48px rgba(16,35,43,.1);

  --wrap: 1140px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-ar: "IBM Plex Sans Arabic", "Noto Sans Arabic", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
body.lang-ar { font-family: var(--font-ar); line-height: 1.9; }

/* Arabic needs a touch more size to match Latin optical weight */
body.lang-ar { font-size: 18px; }

img, svg { max-width: 100%; height: auto; }

h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; color: var(--ink); }
body.lang-ar h1, body.lang-ar h2, body.lang-ar h3 { letter-spacing: 0; line-height: 1.45; }
h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.3vw, 2.1rem); }
h3 { font-size: 1.2rem; }
p  { margin: 0 0 1.1em; }
a  { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-dark); }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }

.skip-link {
  position: absolute; inset-inline-start: -9999px; top: 0; z-index: 999;
  background: var(--ink); color: #fff; padding: .75rem 1.25rem; border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { inset-inline-start: 0; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 3px; }

/* ---------- Government disclaimer bar (sitewide, never hide this) ---------- */
.gov-disclaimer {
  background: var(--warn-bg);
  border-bottom: 1px solid #f0dcb4;
  color: #6b4700;
  font-size: .82rem;
  line-height: 1.5;
  padding: .55rem 0;
}
.gov-disclaimer .wrap { display: flex; gap: .55rem; align-items: flex-start; }
.gov-disclaimer-icon { flex: none; margin-top: .18rem; }
.gov-disclaimer p { margin: 0; }
.gov-disclaimer strong { font-weight: 600; }
.gov-disclaimer a { color: #6b4700; font-weight: 600; }

/* ---------- Header ---------- */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 100; }
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: 68px; }

.logo { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; flex: none; }
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-text strong { font-size: 1.02rem; color: var(--ink); font-weight: 700; letter-spacing: -.02em; }
.logo-text em { font-size: .7rem; font-style: normal; color: var(--ink-2); letter-spacing: .1em; text-transform: uppercase; }
body.lang-ar .logo-text em { letter-spacing: 0; }

.main-nav { display: flex; gap: 1.35rem; margin-inline-start: auto; }
.main-nav a { color: var(--ink-2); text-decoration: none; font-size: .93rem; font-weight: 500; white-space: nowrap; }
.main-nav a:hover, .main-nav a[aria-current] { color: var(--brand); }
.main-nav a[aria-current] { font-weight: 600; }

.header-actions { display: flex; align-items: center; gap: .9rem; flex: none; }
.lang-switch {
  font-size: .86rem; font-weight: 600; text-decoration: none; color: var(--ink-2);
  border: 1px solid var(--line); border-radius: 999px; padding: .3rem .8rem;
}
.lang-switch:hover { border-color: var(--brand); color: var(--brand); }

.nav-toggle { display: none; background: none; border: 0; padding: .6rem; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }
.nav-toggle span + span { margin-top: 5px; }

.mobile-nav { display: none; flex-direction: column; gap: .25rem; padding: 1rem 1.25rem 1.5rem; border-top: 1px solid var(--line); }
.mobile-nav a { padding: .6rem 0; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--bg-3); }
.mobile-nav .btn { margin-top: .75rem; border-bottom: 0; }

@media (max-width: 940px) {
  .main-nav, .header-actions { display: none; }
  .nav-toggle { display: block; margin-inline-start: auto; }
  .mobile-nav:not([hidden]) { display: flex; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.5rem; border-radius: var(--radius-sm); border: 1px solid transparent;
  font: inherit; font-weight: 600; font-size: .98rem; text-decoration: none; cursor: pointer;
  transition: background-color .15s, border-color .15s, transform .05s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-secondary { background: var(--brand); color: #fff; }
.btn-secondary:hover { background: var(--brand-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--brand); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); background: var(--brand-light); }
.btn-sm { padding: .55rem 1rem; font-size: .9rem; }
.btn-lg { padding: 1rem 2rem; font-size: 1.05rem; }
.btn[disabled] { opacity: .5; pointer-events: none; }

/* ---------- Layout primitives ---------- */
.section { padding: clamp(3rem, 6vw, 5rem) 0; }
.section-tight { padding: clamp(2rem, 4vw, 3rem) 0; }
.section-alt { background: var(--bg-2); }
.lede { font-size: 1.15rem; color: var(--ink-2); max-width: 62ch; }
.center { text-align: center; }
.center .lede { margin-inline: auto; }
.stack > * + * { margin-block-start: 1rem; }
.prose { max-width: 70ch; }
.prose h2 { margin-top: 2.5rem; }
.prose h3 { margin-top: 1.75rem; }
.prose ul, .prose ol { padding-inline-start: 1.4rem; }
.prose li { margin-bottom: .5rem; }

.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem; box-shadow: var(--shadow);
}
.card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(170deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff; padding: clamp(3rem, 7vw, 5.5rem) 0;
}
.hero h1 { color: #fff; max-width: 18ch; }
.hero .lede { color: rgba(255,255,255,.85); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; gap: 2rem; } }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 1.75rem; }
.hero-points { list-style: none; padding: 0; margin: 1.75rem 0 0; display: grid; gap: .6rem; }
.hero-points li { padding-inline-start: 1.75rem; position: relative; color: rgba(255,255,255,.9); font-size: .96rem; }
.hero-points li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: .5em;
  width: 10px; height: 6px; border-inline-start: 2px solid var(--accent); border-block-end: 2px solid var(--accent);
  transform: rotate(-45deg);
}

/* ---------- Price card ---------- */
.price-card { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow-lg); }
.price-card h2 { font-size: 1.05rem; margin-bottom: 1.1rem; color: var(--ink-2); font-weight: 600; }
.price-row { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.price-row:last-of-type { border-bottom: 0; }
.price-row .label { font-size: .93rem; }
.price-row .label small { display: block; color: var(--ink-3); font-size: .8rem; line-height: 1.4; margin-top: .15rem; }
.price-row .amount { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.price-total { border-top: 2px solid var(--ink); margin-top: .5rem; padding-top: .9rem; font-size: 1.15rem; font-weight: 700; }
.price-total .amount { font-size: 1.5rem; color: var(--brand); }

/* ---------- Steps ---------- */
.steps { counter-reset: step; list-style: none; padding: 0; display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.steps li { counter-increment: step; padding-block-start: 3.25rem; position: relative; }
.steps li::before {
  content: counter(step); position: absolute; top: 0; inset-inline-start: 0;
  width: 2.4rem; height: 2.4rem; border-radius: 50%;
  background: var(--brand-light); color: var(--brand);
  display: grid; place-items: center; font-weight: 700; font-size: 1.05rem;
}
.steps h3 { font-size: 1.08rem; }
.steps p { color: var(--ink-2); font-size: .96rem; margin: 0; }

/* ---------- Callouts ---------- */
.callout { border-radius: var(--radius); padding: 1.25rem 1.4rem; border-inline-start: 4px solid; margin: 1.75rem 0; }
.callout p:last-child { margin-bottom: 0; }
.callout h3 { font-size: 1.02rem; margin-bottom: .4rem; }
.callout-info { background: var(--brand-light); border-color: var(--brand); }
.callout-ok { background: var(--ok-bg); border-color: var(--ok); }
.callout-warn { background: var(--warn-bg); border-color: var(--warn); }
.callout-stop { background: var(--stop-bg); border-color: var(--stop); }

/* ---------- Eligibility checker ---------- */
.checker { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow); }
.checker label { display: block; font-weight: 600; margin-bottom: .5rem; }
.checker select, .checker input[type="text"] { width: 100%; }
.checker-result { margin-top: 1.5rem; }
.checker-result:empty { display: none; }

/* ---------- Forms ---------- */
.field { margin-bottom: 1.25rem; }
.field label { display: block; font-weight: 600; margin-bottom: .4rem; font-size: .95rem; }
.field .hint { display: block; color: var(--ink-3); font-size: .85rem; font-weight: 400; margin-top: .15rem; }
input[type="text"], input[type="email"], input[type="tel"], input[type="date"], select, textarea {
  width: 100%; padding: .7rem .85rem; font: inherit; font-size: .97rem;
  border: 1px solid #c3d0d6; border-radius: var(--radius-sm); background: #fff; color: var(--ink);
}
input:focus, select:focus, textarea:focus { border-color: var(--brand); outline: 2px solid var(--brand-light); outline-offset: 0; }
input[aria-invalid="true"], select[aria-invalid="true"] { border-color: var(--stop); background: #fffafa; }
.field-error { color: var(--stop); font-size: .86rem; font-weight: 500; margin-top: .35rem; display: block; }
.field-error:empty { display: none; }
.field-row { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

.choice { display: flex; gap: .65rem; align-items: flex-start; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: .6rem; cursor: pointer; }
.choice:hover { border-color: var(--brand); background: var(--bg-2); }
.choice input { margin-top: .28rem; flex: none; accent-color: var(--brand); }
.choice span { font-size: .95rem; }
.choice small { display: block; color: var(--ink-3); font-size: .84rem; margin-top: .1rem; }
.choice.is-selected { border-color: var(--brand); background: var(--brand-light); }

/* ---------- Multi-step wizard ---------- */
.wizard-progress { display: flex; gap: .4rem; margin-bottom: 2rem; list-style: none; padding: 0; }
.wizard-progress li { flex: 1; font-size: .78rem; color: var(--ink-3); padding-top: .6rem; border-top: 3px solid var(--line); }
.wizard-progress li[data-state="done"] { border-color: var(--ok); color: var(--ok); }
.wizard-progress li[data-state="current"] { border-color: var(--brand); color: var(--brand); font-weight: 600; }
.wizard-step[hidden] { display: none; }
.wizard-nav { display: flex; gap: .75rem; margin-top: 2rem; flex-wrap: wrap; }
.wizard-nav .btn-ghost { margin-inline-end: auto; }

.traveller-block { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; margin-bottom: 1.25rem; background: var(--bg-2); }
.traveller-block h3 { display: flex; justify-content: space-between; align-items: center; font-size: 1rem; }
.traveller-remove { background: none; border: 0; color: var(--stop); font: inherit; font-size: .85rem; cursor: pointer; text-decoration: underline; }

.summary-table { width: 100%; border-collapse: collapse; margin: 1rem 0; }
.summary-table th, .summary-table td { text-align: start; padding: .6rem .5rem; border-bottom: 1px solid var(--line); font-size: .93rem; }
.summary-table th { color: var(--ink-2); font-weight: 500; width: 42%; }

/* The pre-payment acknowledgement. Must be unticked by default and blocking. */
.ack-box { background: var(--warn-bg); border: 1px solid #f0dcb4; border-radius: var(--radius); padding: 1.25rem; margin: 1.5rem 0; }
.ack-box .choice { background: #fff; margin-bottom: 0; }

/* ---------- Country pages & index ---------- */
.country-grid { display: grid; gap: .5rem; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); list-style: none; padding: 0; }
.country-grid a {
  display: flex; align-items: center; gap: .6rem; padding: .7rem .85rem;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  text-decoration: none; color: var(--ink); font-size: .93rem; background: #fff;
}
.country-grid a:hover { border-color: var(--brand); background: var(--brand-light); }
.country-grid .flag { font-size: 1.2rem; line-height: 1; flex: none; }

.region-heading { margin-top: 2.5rem; padding-bottom: .5rem; border-bottom: 2px solid var(--line); }

.fact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.fact-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.fact-list li:last-child { border-bottom: 0; }
.fact-list .k { color: var(--ink-2); }
.fact-list .v { font-weight: 600; text-align: end; }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  cursor: pointer; padding: 1.15rem 0; font-weight: 600; font-size: 1.02rem;
  list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; color: var(--brand); line-height: 1; flex: none; }
.faq-item[open] summary::after { content: "\2013"; }
.faq-item .faq-answer { padding-bottom: 1.25rem; color: var(--ink-2); max-width: 74ch; }
.faq-item .faq-answer p:last-child { margin-bottom: 0; }

/* ---------- Trust strip ---------- */
.trust-strip { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.trust-item h3 { font-size: 1rem; margin-bottom: .3rem; }
.trust-item p { font-size: .92rem; color: var(--ink-2); margin: 0; }
.trust-icon { width: 2.5rem; height: 2.5rem; border-radius: var(--radius-sm); background: var(--brand-light); color: var(--brand); display: grid; place-items: center; margin-bottom: .75rem; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { font-size: .85rem; color: var(--ink-3); padding: 1rem 0 0; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 0; }
.breadcrumbs li + li::before { content: "/"; margin-inline-end: .4rem; color: var(--line); }
.breadcrumbs a { color: var(--ink-2); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--brand); color: #fff; border-radius: var(--radius); padding: clamp(2rem, 4vw, 3rem); text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 55ch; margin-inline: auto; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--line); padding: 3rem 0 2rem; margin-top: 4rem; font-size: .92rem; }
.footer-disclaimer { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; margin-bottom: 2.5rem; }
.footer-disclaimer h2 { font-size: 1rem; margin-bottom: .5rem; }
.footer-disclaimer p { color: var(--ink-2); font-size: .88rem; max-width: 90ch; line-height: 1.65; }
.footer-cols { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.footer-cols h3 { font-size: .82rem; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-3); margin-bottom: .75rem; }
body.lang-ar .footer-cols h3 { letter-spacing: 0; }
.footer-cols ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.footer-cols a { color: var(--ink-2); text-decoration: none; }
.footer-cols a:hover { color: var(--brand); text-decoration: underline; }
.footer-base { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--ink-3); font-size: .84rem; }
.footer-base p { margin: 0 0 .3rem; }
.verified { font-style: italic; }

/* ---------- Utilities ---------- */
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.text-sm { font-size: .9rem; } .text-muted { color: var(--ink-2); }

@media print {
  .gov-disclaimer, .site-header, .site-footer, .btn { display: none !important; }
}

/* ---------- Comparison table ---------- */
/* Wide tables must scroll inside their own container, never push the page sideways. */
.table-scroll { overflow-x: auto; margin-top: 2rem; -webkit-overflow-scrolling: touch; }
.compare { width: 100%; min-width: 640px; border-collapse: collapse; background: #fff; font-size: .93rem; }
.compare th, .compare td { padding: .85rem 1rem; text-align: start; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { background: var(--bg-3); font-weight: 600; font-size: .88rem; color: var(--ink-2); border-bottom: 2px solid var(--line); }
.compare tbody th { font-weight: 600; color: var(--ink); width: 26%; }
.compare .is-us { background: var(--brand-light); }
.compare thead .is-us { background: var(--brand); color: #fff; }
.compare .yes { color: var(--ok); font-weight: 600; }
.compare .no  { color: var(--stop); }
.compare .win { color: var(--ok); font-weight: 600; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }

/* ---------- Key facts block (the quotable summary answer engines lift) ---------- */
.key-facts {
  background: var(--bg-2); border: 1px solid var(--line); border-inline-start: 4px solid var(--brand);
  border-radius: var(--radius); padding: 1.4rem 1.6rem; margin: 1.75rem 0;
}
.key-facts h2 { font-size: 1rem; margin-bottom: .85rem; color: var(--ink-2); text-transform: uppercase; letter-spacing: .06em; }
body.lang-ar .key-facts h2 { letter-spacing: 0; text-transform: none; }
.key-facts ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
/* NOT flex: a flex container makes every inline child (each <strong>) its own
   flex item, so `gap` injects visible space around bold words and before
   punctuation. Absolute-positioned marker keeps the text a single inline flow. */
.key-facts li { position: relative; padding-inline-start: 1.5rem; font-size: .95rem; line-height: 1.55; }
.key-facts li::before {
  content: "\2192"; position: absolute; inset-inline-start: 0; top: 0;
  color: var(--brand); font-weight: 700;
}
body.lang-ar .key-facts li::before { content: "\2190"; }
.key-facts .verified { margin: .9rem 0 0; font-size: .82rem; color: var(--ink-3); font-style: italic; }

/* ============================================================================
   REFINEMENT LAYER
   Appended deliberately so these rules win the cascade over the base styles
   above. Purpose: give the site depth and editorial polish without adding a
   single external asset — everything here is CSS or inline SVG, so the page
   stays fast and self-contained.
   ========================================================================== */

/* ---------- Type: tighter, more confident hierarchy ---------- */
h1 { letter-spacing: -.028em; line-height: 1.08; }
h2 { letter-spacing: -.02em; line-height: 1.18; }
body.lang-ar h1, body.lang-ar h2 { letter-spacing: 0; line-height: 1.4; }

.eyebrow {
  font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-dark); margin: 0 0 .6rem;
}
.eyebrow-light { color: rgba(255,255,255,.78); } /* .62 fell just under 4.5:1 AA at 12px */
body.lang-ar .eyebrow { letter-spacing: 0; text-transform: none; font-size: .88rem; }

.lede { font-size: 1.18rem; line-height: 1.6; }
body.lang-ar .lede { font-size: 1.1rem; line-height: 1.9; }

/* ---------- Hero: layered depth instead of a flat colour block ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 90% at 78% 8%, rgba(194,112,61,.20) 0%, rgba(194,112,61,0) 55%),
    radial-gradient(100% 80% at 8% 100%, rgba(0,0,0,.28) 0%, rgba(0,0,0,0) 60%),
    linear-gradient(165deg, #12707f 0%, var(--brand) 42%, var(--brand-dark) 100%);
}
/* The oversized arch echo. Sits behind content, never intercepts clicks. */
.hero-motif {
  position: absolute; inset-block-start: -8%; inset-inline-end: -6%;
  width: min(58vw, 620px); height: auto; color: rgba(255,255,255,.075);
  pointer-events: none; z-index: 0;
}
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { max-width: 19ch; text-wrap: balance; }
.hero-points li::before { border-color: var(--accent); opacity: .95; }

/* ---------- Trust band: the guarantees, made visible ---------- */
.trust-band { background: #fff; border-block-end: 1px solid var(--line); padding: 2.25rem 0; }
.trust-band ul {
  list-style: none; margin: 0; padding: 0; display: grid; gap: 1.75rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.trust-band li { display: flex; gap: .85rem; align-items: flex-start; }
.trust-band svg {
  flex: none; width: 22px; height: 22px; margin-top: .15rem;
  fill: none; stroke: var(--brand); stroke-width: 1.9;
  stroke-linecap: round; stroke-linejoin: round;
}
.trust-band strong { display: block; font-size: .95rem; margin-bottom: .18rem; color: var(--ink); }
.trust-band span { display: block; font-size: .86rem; color: var(--ink-2); line-height: 1.5; }

/* ---------- Cards: real depth and a considered hover ---------- */
.card {
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(16,35,43,.05), 0 10px 28px -12px rgba(16,35,43,.14);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
a.card:hover, .card-hover:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 4px rgba(16,35,43,.06), 0 20px 44px -16px rgba(16,35,43,.22);
  border-color: #c9d8dd;
}
@media (prefers-reduced-motion: reduce) { a.card:hover, .card-hover:hover { transform: none; } }

/* ---------- Price card: the most-read element on the page ---------- */
.price-card {
  border-radius: 16px; padding: 1.9rem;
  box-shadow: 0 2px 6px rgba(16,35,43,.06), 0 28px 60px -22px rgba(16,35,43,.38);
}
.price-card h2 { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
body.lang-ar .price-card h2 { letter-spacing: 0; text-transform: none; font-size: .95rem; }
.price-total .amount { font-size: 1.75rem; letter-spacing: -.02em; }

/* ---------- Buttons ---------- */
.btn-primary { box-shadow: 0 1px 2px rgba(120,60,20,.18), 0 8px 20px -8px rgba(194,112,61,.55); }
.btn-primary:hover { box-shadow: 0 2px 4px rgba(120,60,20,.2), 0 12px 26px -8px rgba(194,112,61,.6); }
.btn { border-radius: 10px; }

/* ---------- Steps: numbered, connected ---------- */
.steps li::before {
  background: #fff; color: var(--brand); border: 2px solid var(--brand);
  box-shadow: 0 4px 12px -4px rgba(15,92,104,.35);
}

/* ---------- Section rhythm ---------- */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-alt { background: linear-gradient(180deg, var(--bg-2) 0%, #f2f7f8 100%); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: 18px;
  background: linear-gradient(150deg, #12707f 0%, var(--brand) 45%, var(--brand-dark) 100%);
  box-shadow: 0 24px 60px -24px rgba(15,92,104,.55);
}

/* ---------- Country grid ---------- */
.country-grid a { border-radius: 10px; transition: transform .15s ease, border-color .15s ease, background-color .15s ease; }
.country-grid a:hover { transform: translateY(-1px); }

/* ---------- Header polish ---------- */
.site-header { backdrop-filter: saturate(1.4) blur(8px); background: rgba(255,255,255,.92); }

/* ---------- FAQ ---------- */
.faq-item summary:hover { color: var(--brand); }

/* ---------- Focus visibility on dark backgrounds ---------- */
.hero :focus-visible, .cta-band :focus-visible { outline-color: #fff; }

/* ---------- Mobile ---------- */
@media (max-width: 700px) {
  .hero-motif { width: 92vw; inset-inline-end: -30%; inset-block-start: auto; inset-block-end: -12%; opacity: .8; }
  .trust-band { padding: 1.75rem 0; }
  .price-card { padding: 1.5rem; }
}
