:root {
  --ink: #071316;
  --deep: #0a2025;
  --mineral: #17c7c9;
  --mineral-soft: #a9ffff;
  --paper: #f3f1ea;
  --white: #ffffff;
  --muted: #a7b9bc;
  --text: #17282b;
  --line: rgba(255, 255, 255, 0.16);
  --line-dark: rgba(7, 19, 22, 0.16);
  --danger: #8c2d2d;
  --success: #166747;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body[dir="rtl"] { font-family: Arial, Tahoma, sans-serif; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.skip-link {
  position: fixed;
  inset-block-start: 10px;
  inset-inline-start: 10px;
  z-index: 1000;
  transform: translateY(-150%);
  padding: 12px 16px;
  background: var(--mineral);
  color: var(--ink);
  font-weight: 800;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 92px;
  padding: 20px clamp(22px, 5vw, 76px);
  border-bottom: 1px solid var(--line);
  background: rgba(7, 19, 22, 0.97);
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--mineral);
  color: var(--mineral);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
}
.brand strong, .brand small { display: block; }
.brand strong { font-size: 14px; letter-spacing: .19em; }
.brand small { margin-top: 4px; color: var(--muted); font-size: 10px; letter-spacing: .08em; }
.header-nav { display: flex; align-items: center; gap: 26px; color: #d5e0e2; font-size: 13px; }
.header-nav a:not(.button):hover { color: var(--mineral-soft); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 52px;
  padding: 13px 24px;
  border: 1px solid var(--mineral);
  border-radius: 0;
  background: var(--mineral);
  color: var(--ink);
  font-weight: 800;
  line-height: 1.2;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.button:hover { background: var(--mineral-soft); transform: translateY(-1px); }
.button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--mineral-soft);
  outline-offset: 3px;
}
.button-dark { border-color: var(--ink); background: var(--ink); color: var(--white); }
.button-dark:hover { background: #12343a; color: var(--white); }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 700px;
  padding: 108px clamp(24px, 8vw, 126px) 58px;
  background:
    radial-gradient(circle at 80% 25%, rgba(23, 199, 201, .19), transparent 28%),
    linear-gradient(135deg, var(--ink), var(--deep));
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 0 55%;
  z-index: -1;
  opacity: .22;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to left, black, transparent);
}
.hero-visual {
  position: absolute;
  inset: 0 0 0 auto;
  z-index: -2;
  width: 49%;
  height: 100%;
  object-fit: cover;
  opacity: .43;
  mask-image: linear-gradient(to right, transparent 0%, black 38%);
}
[dir="rtl"] .hero-visual { inset: 0 auto 0 0; mask-image: linear-gradient(to left, transparent 0%, black 38%); }
[dir="rtl"] .hero::before { inset: 0 55% 0 0; mask-image: linear-gradient(to right, black, transparent); }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--mineral-soft);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--mineral); }
.hero h1, .country-hero h1 {
  max-width: 1040px;
  margin: 32px 0 25px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(52px, 8.2vw, 118px);
  font-weight: 400;
  line-height: .91;
  letter-spacing: -.05em;
}
.hero h1 span { color: var(--mineral); }
.hero-copy { max-width: 720px; color: #bfd0d2; font-size: clamp(18px, 2vw, 23px); line-height: 1.58; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 35px; }
.text-link { border-bottom: 1px solid rgba(255,255,255,.45); padding-bottom: 4px; font-size: 14px; }
.trust-line { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 86px; color: #839699; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.trust-line span::before { content: "•"; margin-inline-end: 9px; color: var(--mineral); }

.section { padding: 104px clamp(24px, 8vw, 126px); }
.section-light { background: var(--paper); color: var(--ink); }
.section-dark { background: #0a1c20; }
.section-kicker { color: #287a7d; font-size: 11px; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.section-title { max-width: 900px; margin: 15px 0 22px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(38px, 5.4vw, 72px); font-weight: 400; line-height: 1; letter-spacing: -.035em; }
.section-lede { max-width: 760px; color: #526164; font-size: 18px; line-height: 1.65; }
.section-dark .section-lede { color: var(--muted); }

.path-list { margin-top: 65px; border-top: 1px solid #b9c2c0; }
.path-row {
  display: grid;
  grid-template-columns: 68px minmax(230px, .85fr) minmax(280px, 1.3fr);
  align-items: center;
  gap: 24px;
  padding: 34px 0;
  border-bottom: 1px solid #b9c2c0;
}
.path-number { color: #377174; font-size: 12px; font-weight: 800; letter-spacing: .16em; }
.path-row h3 { margin: 0; font-family: Georgia, serif; font-size: 28px; font-weight: 400; }
.path-row p { margin: 0; color: #536265; line-height: 1.58; }

.country-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 62px; border-top: 1px solid var(--line); border-inline-start: 1px solid var(--line); }
.country-card { position: relative; min-height: 177px; padding: 32px; border-inline-end: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .2s ease, color .2s ease; }
.country-card:hover { background: var(--mineral); color: var(--ink); }
.country-card strong { display: block; padding-inline-end: 35px; font-size: clamp(25px, 3vw, 37px); font-weight: 500; }
.country-card span { display: block; margin-top: 42px; color: #9cb0b2; font-size: 12px; letter-spacing: .07em; }
.country-card:hover span { color: #183c3e; }
.country-card::after { content: "→"; position: absolute; inset-block-start: 33px; inset-inline-end: 31px; font-size: 22px; }
[dir="rtl"] .country-card::after { content: "←"; }

.country-header { border-color: var(--line-dark); background: var(--paper); color: var(--ink); }
.country-header .brand small { color: #5f7376; }
.back-link { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.country-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 670px;
  padding: 94px clamp(24px, 8vw, 126px);
  background: var(--ink);
}
.country-code { position: absolute; inset-block-start: 52px; inset-inline-end: clamp(24px, 8vw, 126px); z-index: -1; max-width: 75%; overflow: hidden; color: rgba(23, 199, 201, .12); font-size: clamp(90px, 18vw, 260px); font-weight: 700; line-height: .8; white-space: nowrap; }
.country-language { color: var(--mineral); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.country-hero h1 { font-size: clamp(50px, 8vw, 105px); }
.country-prefix { display: block; margin-bottom: 18px; color: var(--mineral); font-family: Arial, Helvetica, sans-serif; font-size: clamp(15px, 1.8vw, 23px); font-weight: 800; letter-spacing: .08em; line-height: 1.25; }
.country-hero h2 { max-width: 980px; margin: 0 0 25px; color: var(--mineral); font-family: Georgia, serif; font-size: clamp(26px, 3.2vw, 47px); font-weight: 400; line-height: 1.12; }
.country-hero .context { max-width: 730px; color: #b8c8ca; font-size: 19px; line-height: 1.65; }
.market-note { max-width: 900px; margin: 44px 0 0; padding: 25px 28px; border-inline-start: 3px solid var(--mineral); background: rgba(255,255,255,.055); color: #d6e2e4; font-size: 16px; line-height: 1.65; }
.country-hero .button { margin-top: 28px; }

.locale-strip { display: flex; flex-wrap: wrap; gap: 8px; padding: 18px clamp(24px, 5vw, 76px); border-bottom: 1px solid var(--line-dark); background: #e9e7e0; color: var(--ink); }
.locale-strip a { padding: 7px 10px; border: 1px solid rgba(7,19,22,.18); font-size: 11px; }
.locale-strip a:hover, .locale-strip a[aria-current="page"] { border-color: #147c7e; background: var(--mineral); }
.breadcrumb { padding: 15px clamp(24px, 5vw, 76px); background: var(--paper); color: #4c6366; font-size: 12px; }
.breadcrumb a { border-bottom: 1px solid #769092; }

.route-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 55px; border-top: 1px solid var(--line-dark); border-inline-start: 1px solid var(--line-dark); }
.route-card { min-height: 290px; padding: 31px; border-inline-end: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.route-card span { color: #27797b; font-size: 12px; font-weight: 800; letter-spacing: .15em; }
.route-card h3 { margin: 38px 0 17px; font-family: Georgia, serif; font-size: 29px; font-weight: 400; line-height: 1.08; }
.route-card p { margin: 0; color: #536265; line-height: 1.62; }

.assessment-section { background: var(--mineral); color: var(--ink); }
.assessment-layout { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(45px, 7vw, 100px); align-items: start; }
.assessment-copy h2 { margin: 13px 0 22px; font-family: Georgia, serif; font-size: clamp(38px, 5vw, 67px); font-weight: 400; line-height: 1; letter-spacing: -.035em; }
.assessment-copy p { color: #164c4e; line-height: 1.65; }
.disclaimer { margin-top: 30px !important; padding-top: 22px; border-top: 1px solid rgba(7,19,22,.25); font-size: 13px; font-weight: 700; }
.lead-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; padding: clamp(25px, 4vw, 42px); background: var(--paper); box-shadow: 0 26px 70px rgba(4,20,22,.18); }
.field { display: grid; gap: 8px; }
.field-full { grid-column: 1 / -1; }
.field label, .consent label { font-size: 12px; font-weight: 800; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; border: 1px solid #9cb1b2; border-radius: 0; background: white; color: var(--ink); padding: 12px 13px; }
.field textarea { min-height: 115px; resize: vertical; }
.consent { grid-column: 1 / -1; display: flex; align-items: flex-start; gap: 10px; color: #31494c; line-height: 1.45; }
.consent input { width: 17px; height: 17px; margin-top: 2px; flex: 0 0 auto; accent-color: #087d80; }
.form-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 15px; }
.form-status { min-height: 24px; margin: 0; font-size: 13px; font-weight: 700; }
.form-status[data-state="success"] { color: var(--success); }
.form-status[data-state="error"] { color: var(--danger); }
.privacy-link { border-bottom: 1px solid currentColor; }
.honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }

.final-cta { padding: 84px clamp(24px, 8vw, 126px); background: var(--ink); text-align: center; }
.not-found { min-height: 100vh; display: grid; place-content: center; }
.final-cta h2 { max-width: 900px; margin: 0 auto 28px; font-family: Georgia, serif; font-size: clamp(36px, 5vw, 67px); font-weight: 400; line-height: 1; }

footer { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 35px; align-items: end; padding: 55px clamp(24px, 5vw, 76px); background: #050d0f; color: #819295; font-size: 11px; line-height: 1.65; }
footer p { margin: 0; }
.footer-brand { color: white; }

@media (max-width: 900px) {
  .header-nav > a:not(.button) { display: none; }
  .hero { min-height: 650px; padding-top: 86px; }
  .hero-visual { width: 100%; opacity: .2; mask-image: linear-gradient(to bottom, black, transparent 90%); }
  .hero::before { inset: 0; opacity: .12; }
  .path-row { grid-template-columns: 48px 1fr; }
  .path-row p { grid-column: 2; }
  .route-grid { grid-template-columns: 1fr; }
  .route-card { min-height: 0; }
  .assessment-layout { grid-template-columns: 1fr; }
  footer { grid-template-columns: 1fr; align-items: start; }
}

@media (max-width: 640px) {
  .site-header { min-height: 78px; padding: 15px 18px; }
  .brand-mark { width: 37px; height: 37px; }
  .brand small { display: none; }
  .header-nav { gap: 10px; }
  .header-nav .button { min-height: 42px; padding: 10px 13px; font-size: 12px; }
  .hero, .country-hero { min-height: 0; padding: 72px 22px 48px; }
  .hero h1, .country-hero h1 { letter-spacing: -.04em; }
  .trust-line { margin-top: 58px; }
  .section { padding: 76px 22px; }
  .country-grid { grid-template-columns: 1fr; }
  .country-card { min-height: 145px; padding: 25px; }
  .country-card span { margin-top: 30px; }
  .path-row { grid-template-columns: 36px 1fr; gap: 15px; }
  .path-row h3 { font-size: 24px; }
  .route-card { padding: 25px; }
  .lead-form { grid-template-columns: 1fr; padding: 23px 18px; }
  .field { grid-column: 1 / -1; }
  .form-actions .button { width: 100%; }
  .locale-strip { padding-inline: 18px; }
  footer { padding: 44px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

@media print {
  .site-header, .locale-strip, .hero-actions, .assessment-section, .final-cta { display: none !important; }
  body, .section, .country-hero { background: white !important; color: black !important; }
  .country-hero h2, .country-language { color: #0b7375 !important; }
  .country-hero .context, .market-note { color: #333 !important; }
}
