/* ============================================================
   Irsaal — search & answer-engine landing pages
   FAQ, glossary, comparison, locations, solutions.

   Built entirely on the tokens in marketing.css, so both themes
   come for free and nothing here needs a dark-mode override
   beyond the two places that mix a colour by hand.
   ============================================================ */

/* ---------- Screen-reader-only ---------- */
/* Used for table captions and headings that a page's visual design does not
   need but a crawler and a screen reader both do. Clipped rather than
   display:none, which would remove it from the accessibility tree — and, in
   Google's own guidance, from what the text is credited for. */

.ir-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Breadcrumbs ---------- */

.seo-crumbs {
  border-bottom: 1px solid var(--ir-line);
  background: var(--ir-bg-alt);
  padding: 11px 0;
  font-size: .84rem;
}
.seo-crumbs ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  color: var(--ir-muted);
}
.seo-crumbs li { display: inline-flex; align-items: center; gap: 4px; }
.seo-crumbs a { color: var(--ir-muted); text-decoration: none; }
.seo-crumbs a:hover { color: var(--ir-brand); }
.seo-crumbs [aria-current] { color: var(--ir-ink); font-weight: 600; }
.seo-crumbs i { font-size: 1rem; opacity: .5; }

/* ---------- The answer block ---------- */
/* The first thing on a landing page: the question, answered, in one
   paragraph, before anything is sold. It exists because that is the
   shape a retrieval system extracts — and, usefully, also the shape a
   reader who arrived from a search result wants. */

.seo-answer {
  border: 1px solid var(--ir-line);
  border-left: 3px solid var(--ir-brand);
  border-radius: var(--ir-radius);
  background: var(--ir-surface);
  padding: clamp(20px, 3vw, 30px);
  box-shadow: var(--ir-shadow-sm);
  max-width: 820px;
}
.seo-answer__label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--ir-brand);
  margin-bottom: 10px;
}
.seo-answer p { margin: 0 0 12px; font-size: 1.03rem; line-height: 1.7; color: var(--ir-body); }
.seo-answer p:last-child { margin-bottom: 0; }
.seo-answer strong { color: var(--ir-ink); font-weight: 700; }

/* ---------- Proof strip ---------- */

.seo-proof {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(165px, 1fr));
  gap: 16px;
  margin-top: 34px;
}
.seo-proof__item {
  border: 1px solid var(--ir-line);
  border-radius: var(--ir-radius);
  background: var(--ir-surface);
  padding: 20px 18px;
}
.seo-proof__stat {
  display: block;
  font-family: 'Manrope', var(--ir-font);
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--ir-brand);
  margin-bottom: 7px;
}
.seo-proof__label { font-size: .86rem; line-height: 1.55; color: var(--ir-body); }

/* ---------- FAQ ---------- */

.seo-faq-list { max-width: 820px; margin-inline: auto; }
.seo-faq-more {
  max-width: 820px;
  margin: 26px auto 0;
  text-align: center;
  font-size: .9rem;
  color: var(--ir-muted);
}

.seo-faq-group + .seo-faq-group { margin-top: 42px; }
.seo-faq-group__title {
  font-size: 1.12rem;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--ir-line);
}

/* A quick index at the top of the FAQ page. Internal links to anchors on
   the same page help a crawler understand which questions the page is
   actually about, and help a person find theirs. */
.seo-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 44px;
}
.seo-jump a {
  border: 1px solid var(--ir-line);
  border-radius: var(--ir-radius-pill);
  padding: 7px 15px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--ir-body);
  background: var(--ir-surface);
  text-decoration: none;
  transition: all .18s ease;
}
.seo-jump a:hover {
  border-color: var(--ir-brand);
  color: var(--ir-brand);
  transform: translateY(-1px);
}

/* ---------- Comparison table ---------- */

.seo-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--ir-line);
  border-radius: var(--ir-radius-lg);
  background: var(--ir-surface);
  -webkit-overflow-scrolling: touch;
}
.seo-table { width: 100%; border-collapse: collapse; min-width: 780px; font-size: .9rem; }
.seo-table th, .seo-table td { padding: 16px 18px; text-align: left; vertical-align: top; }
.seo-table thead th {
  background: var(--ir-bg-alt);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--ir-muted);
  border-bottom: 1px solid var(--ir-line);
  position: sticky;
  top: 0;
}
.seo-table thead th.is-us { color: var(--ir-brand); }
.seo-table tbody tr + tr { border-top: 1px solid var(--ir-line); }
.seo-table tbody td.is-us {
  background: color-mix(in srgb, var(--ir-brand) 5%, transparent);
  color: var(--ir-ink);
  font-weight: 600;
}
.seo-table__criterion { font-weight: 700; color: var(--ir-ink); display: block; margin-bottom: 5px; }
.seo-table__why { font-size: .84rem; color: var(--ir-muted); line-height: 1.55; }

/* ---------- Glossary ---------- */

.seo-terms { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.seo-term {
  border: 1px solid var(--ir-line);
  border-radius: var(--ir-radius);
  background: var(--ir-surface);
  padding: 22px 22px 20px;
  scroll-margin-top: calc(var(--ir-nav-h) + 20px);
}
.seo-term dt {
  font-family: 'Manrope', var(--ir-font);
  font-weight: 800;
  font-size: 1.02rem;
  color: var(--ir-ink);
  margin-bottom: 8px;
}
.seo-term dd { margin: 0; font-size: .91rem; line-height: 1.68; color: var(--ir-body); }

.seo-alpha {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-bottom: 38px;
}
.seo-alpha a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ir-line);
  border-radius: 9px;
  font-weight: 700;
  font-size: .84rem;
  color: var(--ir-body);
  text-decoration: none;
  background: var(--ir-surface);
}
.seo-alpha a:hover { border-color: var(--ir-brand); color: var(--ir-brand); }

/* ---------- Location & solution cards ---------- */

.seo-cities { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.seo-city {
  display: block;
  border: 1px solid var(--ir-line);
  border-radius: var(--ir-radius);
  background: var(--ir-surface);
  padding: 20px 22px;
  color: inherit;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.seo-city:hover {
  transform: translateY(-3px);
  box-shadow: var(--ir-shadow-lg);
  border-color: color-mix(in srgb, var(--ir-brand) 34%, var(--ir-line));
}
.seo-city__name {
  font-family: 'Manrope', var(--ir-font);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--ir-ink);
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 4px;
}
.seo-city__name i { color: var(--ir-brand); font-size: 1.1rem; }
.seo-city__region { font-size: .83rem; color: var(--ir-muted); }

.seo-solution__icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--ir-brand-soft);
  color: var(--ir-brand);
  font-size: 1.4rem;
  margin-bottom: 15px;
}

/* ---------- Capability list ---------- */

.seo-caps { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.seo-cap { display: flex; gap: 14px; align-items: flex-start; }
.seo-cap__tick {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--ir-ok) 14%, transparent);
  color: var(--ir-ok);
  font-size: 1rem;
  margin-top: 2px;
}
.seo-cap h3 { font-size: .99rem; margin: 0 0 5px; }
.seo-cap p { margin: 0; font-size: .89rem; line-height: 1.62; color: var(--ir-body); }

/* ---------- Related links ---------- */
/* Internal linking is the cheapest ranking work there is: a page with no
   inbound links from its own site reads as unimportant no matter how good
   it is. Every landing page ends in one of these. */

.seo-related { display: flex; flex-wrap: wrap; gap: 9px; }
.seo-related a {
  border: 1px solid var(--ir-line);
  background: var(--ir-surface);
  border-radius: var(--ir-radius-pill);
  padding: 8px 16px;
  font-size: .87rem;
  font-weight: 600;
  color: var(--ir-body);
  text-decoration: none;
  transition: all .18s ease;
}
.seo-related a:hover { border-color: var(--ir-brand); color: var(--ir-brand); }

/* ---------- Footer city strip ---------- */

.ir-foot__cities {
  border-top: 1px solid var(--ir-line);
  padding-top: 26px;
  margin-top: 34px;
}
.ir-foot__cities h4 {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--ir-muted);
  margin-bottom: 14px;
}
.ir-foot__cities ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
}
.ir-foot__cities a {
  font-size: .86rem;
  color: var(--ir-body);
  text-decoration: none;
}
.ir-foot__cities a:hover { color: var(--ir-brand); text-decoration: underline; }

/* Four content columns plus the brand block needs more room than the
   original three-column footer allowed. */
@media (min-width: 981px) {
  .ir-foot__grid { grid-template-columns: 1.5fr repeat(4, 1fr); }
}

/* ---------- The Gulf pages ---------- */

/* A country's flag, as a picture: an emoji flag is two letters on Windows. */
.gulf-flag {
  display: inline-block; flex: none;
  width: 24px; height: 18px; object-fit: cover;
  border-radius: 3px; box-shadow: 0 0 0 1px rgba(11, 21, 36, .12);
}
.gulf-flag--lg { width: 40px; height: 30px; border-radius: 5px; }
.gulf-eyebrow { gap: 9px; }
.gulf-fine { margin: 14px 0 0; font-size: .86rem; color: var(--ir-muted); }

/* One card per country on the hub: its flag, its currency, its pages. */
.gulf-countries { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.gulf-country {
  border: 1px solid var(--ir-line);
  border-radius: var(--ir-radius-lg);
  background: var(--ir-surface);
  padding: 22px 22px 20px;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.gulf-country:hover {
  box-shadow: var(--ir-shadow-lg);
  border-color: color-mix(in srgb, var(--ir-brand) 30%, var(--ir-line));
}
.gulf-country__head { display: flex; align-items: center; gap: 13px; margin-bottom: 14px; }
.gulf-country__head h3 { margin: 0 0 2px; font-size: 1.12rem; }
.gulf-country__head span { font-size: .82rem; color: var(--ir-muted); }
.gulf-country__links { display: grid; gap: 8px; }
.gulf-country__links a {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: .93rem; font-weight: 600; line-height: 1.4;
}
.gulf-country__links i { font-size: 1.05rem; margin-top: 2px; }
.gulf-country__cities { margin-top: 15px; padding-top: 15px; border-top: 1px solid var(--ir-line); }
.gulf-country__cities a { padding: 6px 13px; font-size: .83rem; }

/* What a Gulf business should know before the trial — the page's honesty. */
.gulf-know { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.gulf-know__item {
  border: 1px solid var(--ir-line);
  border-left: 3px solid var(--ir-aqua);
  border-radius: var(--ir-radius);
  background: var(--ir-surface);
  padding: 18px 20px;
}
.gulf-know__item h3 { font-size: .98rem; margin: 0 0 6px; }
.gulf-know__item p { margin: 0; font-size: .89rem; line-height: 1.62; color: var(--ir-body); }

/* The strip on the home page that says the Gulf is open. */
.gulf-band {
  display: flex; align-items: center; justify-content: space-between; gap: 22px 32px; flex-wrap: wrap;
  border: 1px solid var(--ir-line);
  border-radius: var(--ir-radius-lg);
  background: var(--ir-surface);
  padding: clamp(20px, 3vw, 30px);
  box-shadow: var(--ir-shadow-sm);
}
.gulf-band__copy { flex: 1 1 340px; }
.gulf-band__copy h2 { font-size: clamp(1.25rem, 1.05rem + .9vw, 1.7rem); margin-bottom: 8px; }
.gulf-band__copy p { margin: 0; font-size: .95rem; }
.gulf-band__flags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.gulf-band__flags a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 13px 6px 8px;
  border: 1px solid var(--ir-line); border-radius: var(--ir-radius-pill);
  background: var(--ir-bg-alt);
  font-size: .85rem; font-weight: 650; color: var(--ir-ink);
  transition: border-color .18s ease, color .18s ease;
}
.gulf-band__flags a:hover { border-color: var(--ir-brand); color: var(--ir-brand); }

/* ---------- Small screens ---------- */

@media (max-width: 720px) {
  .seo-proof { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
  .seo-terms { grid-template-columns: 1fr; }
  .seo-crumbs { font-size: .78rem; }
}
