/* SVO Quality Solutions — site styles
   Logical properties (inline/block) throughout so the Arabic (RTL) pages mirror automatically. */

@font-face {
  font-family: "Passenger Display";
  src: url("../fonts/passenger-display-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Passenger Display";
  src: url("../fonts/passenger-display-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans Arabic";
  src: url("../fonts/plex-arabic-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-089F, U+08A0-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFF;
}
@font-face {
  font-family: "IBM Plex Sans Arabic";
  src: url("../fonts/plex-arabic-600.woff2") format("woff2");
  font-weight: 600 700;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-089F, U+08A0-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFF;
}

:root {
  --ink: #1d2121;
  --slate: #5a6363;
  --accent: #e8533c;
  --accent-strong: #d63b23;
  --accent-soft: #d7766d;
  --blush: #fef6f5;
  --blush-2: #fdeeec;
  --mist: #f5f7f7;
  --grey: #f2f2f2;
  --line: #e1e6e6;
  --map-land: #d6dede;
  --white: #fff;

  --font-display: "Passenger Display", "IBM Plex Sans Arabic", "Helvetica Neue", Arial, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "IBM Plex Sans Arabic", sans-serif;

  --container: 1440px;
  --gutter: clamp(1rem, 4vw, 3rem);
  --section-y: clamp(3.5rem, 7vw, 7rem);
  --radius: 4px;

  --fs-hero: clamp(2.5rem, 1.2rem + 5.4vw, 5.625rem);
  --fs-h1: clamp(2.125rem, 1.4rem + 2.8vw, 3.75rem);
  --fs-h2: clamp(1.875rem, 1.3rem + 2.2vw, 3.75rem);
  --fs-h3: clamp(1.5rem, 1.2rem + 1.4vw, 2.8125rem);
  --fs-lead: clamp(1.25rem, 1rem + 1vw, 1.875rem);
}

/* ---------- Base ---------- */
*, *::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 { transition: none !important; animation: none !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--slate);
  background: var(--white);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
:lang(ar) body, body:lang(ar) { font-family: "IBM Plex Sans Arabic", var(--font-body); line-height: 1.8; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 0.2em; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; color: var(--ink); line-height: 1.1; margin: 0 0 0.5em; letter-spacing: -0.01em; }
:lang(ar) h1, :lang(ar) h2, :lang(ar) h3 { line-height: 1.35; letter-spacing: 0; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; inset-inline-start: 1rem; top: -100px; z-index: 100;
  background: var(--ink); color: var(--white); padding: 0.75rem 1rem; border-radius: var(--radius);
}
.skip-link:focus { top: 1rem; color: var(--white); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }

.section-title { font-size: var(--fs-h2); position: relative; padding-block-end: 0.45em; }
.section-title::after, .page-title::after {
  content: ""; position: absolute; inset-block-end: 0; inset-inline-start: 0;
  width: 60px; height: 3px; background: var(--accent); transition: width 0.5s ease;
}
.section-title:hover::after, .page-title:hover::after { width: 160px; }
.section-title--center { text-align: center; }
.section-title--center::after { inset-inline-start: 50%; transform: translateX(-50%); }
[dir="rtl"] .section-title--center::after { transform: translateX(50%); }
.page-title { font-size: var(--fs-h1); position: relative; padding-block-end: 0.45em; }

.prose p:last-child { margin-bottom: 0; }
.prose ul { list-style: none; margin: 0 0 1em; }
.prose li { position: relative; padding-inline-start: 1.4em; margin-bottom: 0.5em; }
.prose li::before {
  content: ""; position: absolute; inset-inline-start: 0.2em; top: 0.72em;
  width: 0.45em; height: 0.45em; border-radius: 50%; background: var(--accent);
}
.prose strong { color: var(--ink); }
.prose a { color: var(--accent); }

/* "More" links: text with an underline that grows on hover */
.more-link {
  display: inline-block; margin-top: 1.5rem; position: relative;
  font-family: var(--font-display); font-weight: 600; font-size: 1.125rem; color: var(--ink); text-decoration: none;
  padding-block-end: 0.3em;
}
.more-link::after {
  content: ""; position: absolute; inset-inline-start: 0; inset-block-end: 0;
  width: 40px; height: 2px; background: var(--accent); transition: width 0.4s ease;
}
.more-link:hover::after, .more-link:focus-visible::after { width: 100%; }

.button {
  display: inline-block; padding: 0.9em 2.4em; border: 2px solid var(--accent); border-radius: 0;
  font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; line-height: 1.2;
  color: var(--ink); background: transparent; text-decoration: none; cursor: pointer;
  transition: background-color 0.25s, color 0.25s;
}
.button:hover, .button:focus-visible { background: var(--accent); color: var(--white); }
.button--solid { background: var(--accent); color: var(--white); }
.button--solid:hover, .button--solid:focus-visible { background: var(--accent-strong); border-color: var(--accent-strong); }
.button[disabled] { opacity: 0.6; cursor: progress; }

/* Dark circle with a double chevron (the old "our-service-arrow" image), mirrored in RTL */
.circle-arrow {
  flex: none; display: inline-grid; place-items: center;
  width: 3.25rem; height: 3.25rem; border-radius: 50%; background: var(--ink);
  transition: transform 0.3s ease, background-color 0.3s;
}
.circle-arrow::before {
  content: ""; width: 1.1rem; height: 0.8rem; background: var(--white);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 16'%3E%3Cpath d='M2 2l6 6-6 6M12 2l6 6-6 6' fill='none' stroke='black' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 16'%3E%3Cpath d='M2 2l6 6-6 6M12 2l6 6-6 6' fill='none' stroke='black' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
[dir="rtl"] .circle-arrow::before { transform: scaleX(-1); }
.circle-arrow--light { background: var(--white); }
.circle-arrow--light::before { background: var(--accent-soft); }
a:hover > .circle-arrow, a:focus-visible > .circle-arrow { transform: translateX(4px); background: var(--accent); }
[dir="rtl"] a:hover > .circle-arrow, [dir="rtl"] a:focus-visible > .circle-arrow { transform: translateX(-4px); }
a:hover > .circle-arrow--light::before { background: var(--white); }

/* ---------- Header ---------- */
.site-header { position: relative; z-index: 20; background: var(--white); color: var(--ink); border-bottom: 1px solid var(--line); }
.site-header--accent { background: var(--accent-soft); color: var(--white); border-bottom: 0; }
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: 92px; padding-block: 1rem; }
.brand { flex: none; display: block; }
.brand img { width: 140px; height: auto; }

.nav-toggle {
  display: none; margin-inline-start: auto; width: 44px; height: 44px; padding: 0;
  border: 0; background: transparent; color: inherit; cursor: pointer;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 26px; height: 2px; background: currentColor; margin-inline: auto;
  transition: transform 0.25s, opacity 0.25s;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; inset-inline-start: 0; }
.nav-toggle-bars::before { top: -8px; }
.nav-toggle-bars::after { top: 8px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-8px) rotate(-45deg); }

.site-nav { flex: 1; display: flex; align-items: center; gap: 1.5rem; }
.site-nav nav { flex: 1; }
.nav-list { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 0.25rem 0.5rem; }
.nav-list a {
  display: block; padding: 0.55rem 0.85rem; text-decoration: none; font-size: 0.95rem; font-weight: 500;
  color: inherit; border-radius: var(--radius); transition: background-color 0.2s, color 0.2s;
}
.nav-list a:hover { background: var(--grey); color: var(--ink); }
.nav-list a[aria-current="page"] { background: var(--grey); color: var(--slate); }
.site-header--accent .nav-list a:hover,
.site-header--accent .nav-list a[aria-current="page"] { background: #e98172; color: var(--white); }

.header-extras { display: flex; align-items: center; gap: 1.25rem; flex: none; }
.header-phone { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; font-weight: 600; white-space: nowrap; color: inherit; }
.header-phone .icon {
  width: 2.25rem; height: 2.25rem; padding: 0.55rem; border-radius: 50%;
  background: var(--ink); fill: var(--white);
}
.site-header--accent .header-phone .icon { background: var(--white); fill: var(--accent-soft); }
.header-phone:hover { color: inherit; opacity: 0.85; }
.lang-switch {
  display: inline-block; padding: 0.35rem 0.75rem; border: 1px solid currentColor; border-radius: 999px;
  font-size: 0.9rem; line-height: 1.4; text-decoration: none; color: inherit;
}
.lang-switch:lang(ar) { font-family: "IBM Plex Sans Arabic", var(--font-body); }
.lang-switch:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
.site-header--accent .lang-switch:hover { background: var(--white); border-color: var(--white); color: var(--accent-soft); }

@media (max-width: 1100px) {
  .js .nav-toggle { display: block; }
  .js .site-nav {
    position: absolute; inset-inline: 0; top: 100%; display: none; flex-direction: column; align-items: stretch;
    gap: 1rem; padding: 1rem var(--gutter) 1.5rem; background: inherit; color: inherit;
    background-color: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(29, 33, 33, 0.08);
  }
  .js .site-header--accent .site-nav { background-color: var(--accent-soft); border-bottom: 0; }
  .js .site-nav.is-open { display: flex; }
  .js .nav-list { flex-direction: column; }
  .js .nav-list a { padding: 0.75rem 0.5rem; font-size: 1.05rem; }
  .js .header-extras { justify-content: space-between; flex-wrap: wrap; }
  html:not(.js) .header-inner { flex-wrap: wrap; }
  html:not(.js) .site-nav { flex-basis: 100%; flex-wrap: wrap; }
}

/* ---------- Hero ---------- */
.hero { position: relative; display: grid; align-items: center; min-height: clamp(420px, 72vh, 760px); overflow: hidden; background: var(--accent-soft); color: var(--white); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-inner { position: relative; padding-block: clamp(4rem, 10vw, 8rem); }
.hero-title { max-width: 14ch; font-size: var(--fs-hero); font-weight: 400; color: var(--white); line-height: 1.02; margin-bottom: 2.5rem; }
:lang(ar) .hero-title { line-height: 1.3; }
.hero-cta {
  display: inline-flex; align-items: center; gap: 1rem; color: var(--white); text-decoration: none;
  font-family: var(--font-display); font-weight: 600; font-size: clamp(1.25rem, 1rem + 0.8vw, 1.75rem);
}
.hero-cta:hover { color: var(--white); }

/* ---------- Lead ---------- */
.lead { padding-block: clamp(3rem, 6vw, 5.5rem); }
.lead-text {
  max-width: 900px; margin: 0 auto; padding-inline-start: clamp(1rem, 3vw, 2.5rem);
  border-inline-start: 2px solid var(--accent);
  font-family: var(--font-display); font-size: var(--fs-lead); line-height: 1.35; color: var(--ink);
}
.page-products .lead { text-align: center; padding-block-end: 0; }

/* ---------- Offices map ---------- */
.offices { padding-block-start: 0; }
.offices-inner { display: grid; grid-template-columns: minmax(200px, 260px) 1fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.office-list { list-style: none; display: grid; gap: 0.35rem; }
.office {
  display: flex; align-items: center; gap: 0.9rem; width: 100%; padding: 0.4rem 0.5rem;
  border: 0; border-radius: var(--radius); background: transparent; cursor: pointer;
  font: inherit; font-size: 1.125rem; color: var(--ink); text-align: start;
}
.office:hover { background: var(--mist); }
.office-flag { position: relative; flex: none; width: 36px; height: 36px; }
.office-flag img { width: 36px; height: 36px; opacity: 0; transition: opacity 0.4s; }
.office-flag::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px;
  border-radius: 50%; background: var(--accent); transition: opacity 0.3s;
}
.office:hover .office-flag img, .office[aria-pressed="true"] .office-flag img { opacity: 1; }
.office:hover .office-flag::after, .office[aria-pressed="true"] .office-flag::after { opacity: 0; }
.office[aria-pressed="true"] { font-weight: 600; }

.world-map { width: 100%; height: auto; }
.world-map .l, .world-map .n { fill: var(--map-land); }
.world-map .l, .world-map .b { stroke: #fff; stroke-width: 0.1; stroke-miterlimit: 10; }
.world-map .b { fill: none; }
.world-map .e { fill-rule: evenodd; clip-rule: evenodd; }
.world-map .map-country:is(path),
.world-map .map-country :not(.b) { fill: var(--accent); transition: fill 0.35s ease; }
.world-map.has-selection .map-country:not(.is-active):is(path),
.world-map.has-selection .map-country:not(.is-active) :not(.b) { fill: var(--map-land); }
.world-map.has-selection .map-country.is-active:is(path),
.world-map.has-selection .map-country.is-active :not(.b) { fill: var(--accent-strong); }

/* ---------- Steps (home "Our Service") ---------- */
.steps { background: var(--mist); }
.steps-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.steps-text .prose { max-width: 38rem; }
.steps-list {
  list-style: none; display: grid; gap: 1.75rem; padding: clamp(2.5rem, 5vw, 5rem) clamp(1.5rem, 4vw, 4rem);
  background: var(--ink) url("../img/pattern-dark.webp") center / cover;
}
.steps-list a {
  display: inline-flex; align-items: center; gap: 1.25rem; text-decoration: none; color: var(--white);
  font-family: var(--font-display); font-size: clamp(1.375rem, 1rem + 1.2vw, 2rem); font-weight: 400;
}
.steps-list .circle-arrow { background: var(--white); }
.steps-list .circle-arrow::before { background: var(--ink); }
.steps-list a:hover { color: var(--white); }
.steps-list a:hover > .circle-arrow::before { background: var(--white); }

/* ---------- Text block ---------- */
.text-block-inner { max-width: 980px; margin-inline: auto; text-align: center; }
.text-block-inner .prose { text-align: center; }
.text-block-inner .prose ul { text-align: start; }
.text-block--muted .text-block-inner { background: var(--grey); padding: clamp(2rem, 5vw, 4rem) clamp(1.25rem, 5vw, 4rem); max-width: 1180px; }
.text-block + .text-block--muted { padding-top: 0; }

/* ---------- Split (image + text) ---------- */
.split-inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.split--image-end .split-inner { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.split--image-end .split-media { order: 2; }
.split-media img { width: 100%; height: auto; }
.split-media .page-title { margin-bottom: 1.25rem; }
.split--pattern { background: linear-gradient(rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.55)), var(--blush) url("../img/pattern-light.webp") center / cover; }
.subtitle {
  display: inline-block; position: relative; margin: -0.25rem 0 1.5rem; padding-block-end: 0.35em;
  font-family: var(--font-display); font-size: clamp(1.125rem, 1rem + 0.4vw, 1.375rem); font-weight: 600; color: var(--accent);
}
.split-body .section-title + .subtitle { margin-top: 0; }
.note { margin-top: 1rem; font-style: italic; color: var(--slate); }
:lang(ar) .note { font-style: normal; }
.signoff { margin-top: 1.5rem; font-family: var(--font-display); font-weight: 600; font-size: 1.375rem; color: var(--accent); }

/* ---------- Features (service overview) ---------- */
.features { padding-block-start: clamp(2.5rem, 5vw, 4.5rem); }
.features-inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.features-list {
  list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 1.5rem;
  margin-top: clamp(0rem, 6vw, 6.25rem); padding: clamp(2rem, 4vw, 3.25rem) clamp(1rem, 3vw, 2.5rem);
  background: var(--white); box-shadow: 0 20px 50px rgba(29, 33, 33, 0.06);
}
.feature { text-align: center; }
.feature-icon { width: 76px; height: auto; margin: 0 auto 1rem; }
.feature-title { position: relative; font-size: clamp(1.25rem, 1rem + 0.6vw, 1.625rem); margin: 0; }
.feature-title span { display: block; font-family: var(--font-body); font-size: 1rem; font-weight: 400; color: var(--slate); margin-top: 0.35rem; }

/* ---------- Product cards ---------- */
.card-grid { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.4vw, 2rem); }
.card {
  display: flex; flex-direction: column; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 2.75rem 2rem 2rem; text-align: center;
  background: linear-gradient(37.86deg, var(--blush-2) -9.89%, rgba(253, 238, 236, 0.1) 100.94%);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(29, 33, 33, 0.08); }
/* Fixed 4:3 box; large images shrink to fit, small ones stay at native size (no blurry upscaling). */
.card-media { position: relative; width: 100%; height: 0; padding-bottom: 75%; }
.card-media img {
  position: absolute; inset: 0; margin: auto;
  width: auto; height: auto; max-width: 100%; max-height: 100%; mix-blend-mode: multiply;
}
.card-title { font-size: clamp(1.25rem, 1rem + 0.6vw, 1.75rem); margin: 0; }

/* ---------- CTA band ---------- */
.cta { background: var(--blush) url("../img/pattern-light.webp") center / cover; text-align: center; padding-block: clamp(4.5rem, 10vw, 9rem); }
.cta-inner { max-width: 1060px; }
.cta-title { font-size: var(--fs-h3); line-height: 1.25; letter-spacing: -0.01em; margin-bottom: 1.25rem; }
.cta-text { max-width: 760px; margin: 0 auto 2.25rem; font-size: 1.125rem; }
.cta-title + .button { margin-top: 1.25rem; }

/* ---------- Terms ---------- */
.terms-inner { display: grid; grid-template-columns: minmax(220px, 300px) minmax(0, 1fr); gap: 1.5rem clamp(2rem, 5vw, 5rem); }
.terms-header { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 1rem 2rem; }
.terms-header .page-title { margin: 0; }
.badge {
  margin: 0 0 0.6rem; padding: 0.35rem 0.9rem; border-radius: 999px;
  background: var(--blush-2); color: var(--accent-strong); font-size: 0.9rem; font-weight: 600;
}
.terms-toc { position: sticky; top: 1.5rem; align-self: start; padding: 1.5rem; background: var(--mist); }
.terms-toc-title { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; color: var(--ink); margin-bottom: 0.75rem; }
.terms-toc ol { padding-inline-start: 1.2rem; display: grid; gap: 0.5rem; font-size: 0.95rem; line-height: 1.4; }
.terms-toc a { text-decoration: none; }
.terms-toc a:hover { text-decoration: underline; }
.terms-section { padding: clamp(1.5rem, 3vw, 2.5rem) 0; border-top: 1px solid var(--line); scroll-margin-top: 1.5rem; }
.terms-section:first-child { border-top: 0; padding-top: 0; }
.terms-section h2 { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.25rem); }
.notice {
  margin: 1.5rem 0 0; padding: 1rem 1.25rem; border-inline-start: 3px solid var(--accent);
  background: var(--blush); color: var(--ink);
}
.notice a { color: var(--accent-strong); }

/* ---------- Contact ---------- */
.contact-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.contact-details { display: grid; gap: 1.75rem; margin: 2rem 0 0; }
.contact-details dt { font-family: var(--font-display); font-weight: 600; font-size: 1.375rem; color: var(--ink); margin-bottom: 0.25rem; }
.contact-details dd { margin: 0; font-size: 1.125rem; }
.contact-details dd a { display: block; width: fit-content; text-decoration: none; }
.contact-details dd a:hover { text-decoration: underline; }
.contact-form-wrap { background: var(--mist); padding: clamp(1.5rem, 4vw, 3.5rem); }
.contact-form { display: grid; gap: 1.25rem; }
.field label { display: block; margin-bottom: 0.4rem; font-weight: 600; color: var(--ink); }
.field .req { color: var(--accent); }
.field input, .field textarea {
  width: 100%; padding: 0.85rem 1rem; border: 1px solid #cdd5d5; border-radius: var(--radius);
  background: var(--white); font: inherit; color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}
[dir="rtl"] .field input[dir="ltr"] { text-align: right; }
.field textarea { resize: vertical; min-height: 9rem; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(232, 83, 60, 0.2); }
.field.has-error input, .field.has-error textarea { border-color: var(--accent-strong); }
.field-error { margin: 0.35rem 0 0; font-size: 0.9rem; color: var(--accent-strong); }
.field-error:empty { display: none; }
.hp { position: absolute; inset-inline-start: -10000px; width: 1px; height: 1px; overflow: hidden; }
.recaptcha-notice { margin: 0; font-size: 0.8rem; color: var(--slate); }
.recaptcha-notice a { color: inherit; }
.contact-form .button { justify-self: start; }
.form-status { margin: 0; font-weight: 600; }
.form-status:empty { display: none; }
.form-status.is-ok { color: #1d7a46; }
.form-status.is-error { color: var(--accent-strong); }
.grecaptcha-badge { visibility: hidden; } /* Attribution is shown in .recaptcha-notice, as Google requires. */

/* ---------- Error page ---------- */
.error-page { text-align: center; min-height: 50vh; display: grid; align-content: center; }
.error-code { font-family: var(--font-display); font-size: clamp(4rem, 12vw, 8rem); line-height: 1; color: var(--blush-2); margin: 0; }
.error-page .page-title::after { inset-inline-start: 50%; transform: translateX(-50%); }
[dir="rtl"] .error-page .page-title::after { transform: translateX(50%); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #c9d0d0; padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; font-size: 0.95rem; }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; }
.footer-nav { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; }
.footer-nav a { color: var(--white); font-weight: 500; }
.footer-contact { margin-top: 2rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; }
.footer-contact p { margin: 0; }
.footer-contact p:last-child { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; }
.social { list-style: none; display: flex; gap: 0.75rem; margin-top: 2rem; }
.social svg { width: 28px; height: 28px; }
.social circle { fill: var(--white); }
.social path { fill: var(--ink); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem;
  margin-top: 2.25rem; padding-top: 1.75rem; border-top: 1px solid #4b5252; font-size: 0.875rem; color: #9aa4a4;
}
.footer-bottom p { margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .offices-inner, .steps-inner, .split-inner, .split--image-end .split-inner,
  .features-inner, .contact-inner, .terms-inner { grid-template-columns: minmax(0, 1fr); }
  .split--image-end .split-media { order: 0; }
  .split-media img, .features-media img { max-height: 520px; width: auto; margin-inline: auto; }
  .offices-inner { gap: 1.5rem; }
  .office-list { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
  .office-map { order: -1; }
  .features-list { margin-top: 0; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .terms-toc { position: static; }
}
@media (max-width: 560px) {
  body { font-size: 1rem; }
  .card-grid { grid-template-columns: minmax(0, 1fr); }
  .features-list { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.75rem 1rem; }
  .feature-icon { width: 60px; }
  .header-inner { min-height: 72px; }
  .brand img { width: 120px; }
  .button { padding: 0.85em 1.8em; font-size: 1.125rem; }
  .contact-form .button { justify-self: stretch; text-align: center; }
}
@media print {
  .site-header, .site-footer, .cta, .terms-toc, .contact-form-wrap { display: none; }
  body { color: #000; }
}
