/* =========================================================================
   GeoHome — main.css
   Single stylesheet. Sections: FONTS · TOKENS · BASE · LAYOUT · COMPONENTS · RTL · MOTION
   Dark industrial geothermal theme. Mobile-first. Bilingual EN(LTR) / HE(RTL).
   Visual system per DesignerUXUI handoff (01_DesignHandoff_WebMasterClean.md).
   Note: the critical subset of this file (tokens + base + header + hero) is also
   inlined in each page <head>; this file is loaded via the preload pattern.
   ========================================================================= */

/* === FONTS ===
   Local .woff2 (Google Fonts CDN forbidden). font-display: swap.
   Inter (Latin) + Heebo (Hebrew companion of Inter) + Bebas Neue (LTR display). */

@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../assets/fonts/inter-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../assets/fonts/inter-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('../assets/fonts/inter-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('../assets/fonts/inter-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('../assets/fonts/inter-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('../assets/fonts/inter-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 800; font-display: swap;
  src: url('../assets/fonts/inter-800-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 800; font-display: swap;
  src: url('../assets/fonts/inter-800-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Heebo'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../assets/fonts/heebo-400-hebrew.woff2') format('woff2');
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: 'Heebo'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../assets/fonts/heebo-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Heebo'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('../assets/fonts/heebo-600-hebrew.woff2') format('woff2');
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: 'Heebo'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('../assets/fonts/heebo-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Heebo'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('../assets/fonts/heebo-700-hebrew.woff2') format('woff2');
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: 'Heebo'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('../assets/fonts/heebo-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Heebo'; font-style: normal; font-weight: 800; font-display: swap;
  src: url('../assets/fonts/heebo-800-hebrew.woff2') format('woff2');
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: 'Heebo'; font-style: normal; font-weight: 800; font-display: swap;
  src: url('../assets/fonts/heebo-800-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Bebas Neue'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../assets/fonts/bebas-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* === TOKENS === */
:root {
  /* Colour: backgrounds / surfaces (Z-planes) */
  --color-bg:            #050505;
  --color-surface:       #0D0D0D;
  --color-surface-hover: #131313;
  --color-elevated:      #141414;

  /* Colour: accents */
  --color-accent:        #E9782F;
  --color-accent-hover:  #FF8B3D;
  --color-accent-active: #C86428;
  --color-accent-blue:   #2D74FF;

  /* Colour: text */
  --color-text:           #F5F5F5;
  --color-text-secondary: #B8B8B8;
  --color-text-muted:     #7A7A7A;  /* decorative / metadata only */
  --color-on-accent:      #0A0A0A;  /* dark text on orange buttons (WCAG fix) */

  /* Borders / hairlines */
  --border-hairline: 1px solid rgba(255,255,255,0.06);
  --border-surface:  1px solid rgba(255,255,255,0.08);
  --border-input:    1px solid rgba(255,255,255,0.16);
  --border-accent:   1px solid rgba(233,120,47,0.35);

  /* Shadows */
  --shadow-elevated: 0 12px 32px rgba(0,0,0,0.35);
  --shadow-floating: 0 8px 24px rgba(0,0,0,0.45);
  --glow-accent:     0 0 0 1px rgba(233,120,47,.35), 0 12px 40px rgba(233,120,47,.12);

  /* Radii */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  /* Fonts */
  --font-body:        'Inter', 'Heebo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display-ltr: 'Bebas Neue', 'Oswald', 'Inter', sans-serif;
  --font-display-rtl: 'Heebo', 'Inter', sans-serif;

  /* Typographic metrics */
  --tracking-heading: -0.03em;
  --tracking-label:    0.12em;
  --leading-body:      1.65;
  --leading-heading:   0.95;

  /* Grid / spacing */
  --container-max: 1440px;
  --container-pad: 20px;                       /* mobile; raised at >=768px */
  --grid-gap: 24px;
  --space-section: clamp(64px, 10vw, 120px);
  --space-card: 24px;
  --space-block: 14px;
  --grid-base: 8px;

  /* Motion */
  --ease-ui: cubic-bezier(0.2, 0.8, 0.2, 1);
  --dur-ui: 180ms;

  /* Focus */
  --color-focus: #E9782F;
  --focus-width: 2px;
  --focus-offset: 2px;

  /* Header height */
  --header-h: 64px;
}

@media (min-width: 768px) {
  :root { --container-pad: 32px; --header-h: 72px; }
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: clamp(16px, 2vw, 18px);
  line-height: var(--leading-body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  margin: 0;
  color: var(--color-text);
  line-height: 1.1;
  text-wrap: balance;
}

h1 {
  font-family: var(--font-display-ltr);
  font-size: clamp(40px, 8vw, 72px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: var(--tracking-heading);
  text-transform: uppercase;
}
h2 {
  font-family: var(--font-display-ltr);
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
h3 {
  font-size: clamp(18px, 3vw, 24px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--color-accent);
}

p { margin: 0; }

a {
  color: var(--color-accent);
  text-decoration: none;
}
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }

ul { margin: 0; padding: 0; list-style: none; }

button { font-family: inherit; }

/* Focus-visible — WCAG 2.4.7 (applies to every interactive element) */
:focus-visible {
  outline: var(--focus-width) solid var(--color-focus);
  outline-offset: var(--focus-offset);
  border-radius: var(--radius-xs);
}
/* Remove default outline only when focus-visible is supported */
:focus:not(:focus-visible) { outline: none; }

::selection { background: var(--color-accent); color: var(--color-on-accent); }

/* Utilities */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* Numbers, phone, email, brand anchors stay LTR even inside RTL text */
.ltr { direction: ltr; unicode-bidi: isolate; }

.skip-link {
  position: absolute;
  inset-block-start: -100%;
  inset-inline-start: 16px;
  z-index: 100;
  background: var(--color-accent);
  color: var(--color-on-accent);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
}
.skip-link:focus { inset-block-start: 12px; }

/* === LAYOUT === */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

main > section,
.section {
  padding-block: var(--space-section);
}

.section--surface { background: var(--color-surface); }

.section-head {
  display: flex;
  flex-direction: column;
  gap: var(--space-block);
  margin-block-end: clamp(32px, 5vw, 48px);
  max-width: 760px;
}

.overline {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--color-accent);
  margin: 0;
}

.lead {
  font-size: clamp(18px, 2.4vw, 22px);
  line-height: 1.5;
  color: var(--color-text);
  max-width: 60ch;
}

.body-text { color: var(--color-text-secondary); max-width: 65ch; }

.grid { display: grid; gap: var(--grid-gap); }

@media (min-width: 768px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .grid--5 { grid-template-columns: repeat(5, 1fr); }
  .grid--cols-services { grid-template-columns: repeat(3, 1fr); }
}

/* === COMPONENTS === */

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding-inline: 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 16px;
  border: 1px solid transparent;
  cursor: pointer;
  position: relative;
  transition: background-color var(--dur-ui) var(--ease-ui),
              border-color var(--dur-ui) var(--ease-ui),
              transform var(--dur-ui) var(--ease-ui);
  text-decoration: none;
}
.btn:hover { text-decoration: none; }

.btn--primary {
  background: var(--color-accent);
  color: var(--color-on-accent);
}
/* glow via ::after + opacity (never animate box-shadow directly) */
.btn--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: var(--glow-accent);
  opacity: 0;
  transition: opacity var(--dur-ui) var(--ease-ui);
  pointer-events: none;
}
.btn--secondary {
  background: transparent;
  border-color: rgba(255,255,255,.14);
  color: var(--color-text);
}

@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover { background: var(--color-accent-hover); transform: translateY(-1px); }
  .btn--primary:hover::after { opacity: 1; }
  .btn--secondary:hover { border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.04); }
}
.btn--primary:active { background: var(--color-accent-active); transform: translateY(0); }
.btn--secondary:active { transform: translateY(1px); filter: brightness(.95); }

.btn[aria-disabled="true"], .btn:disabled { opacity: .42; pointer-events: none; }

.btn--block { width: 100%; }

/* Inline text CTA with arrow */
.cta-inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--color-accent);
}
.cta-inline:hover { text-decoration: none; color: var(--color-accent-hover); }
.cta-inline .arrow { transition: transform var(--dur-ui) var(--ease-ui); }
@media (hover: hover) and (pointer: fine) {
  .cta-inline:hover .arrow { transform: translateX(3px); }
}

/* --- Header --- */
.site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 50;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  background: color-mix(in srgb, var(--color-bg) 86%, transparent);
  backdrop-filter: saturate(140%) blur(8px);
  border-block-end: var(--border-hairline);
  transition: background-color var(--dur-ui) var(--ease-ui), box-shadow var(--dur-ui) var(--ease-ui);
}
.site-header.is-scrolled {
  background: var(--color-elevated);
  box-shadow: var(--shadow-elevated);
}
.site-header .container {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--color-text);
  text-transform: none;
}
.brand:hover { text-decoration: none; }
.brand img { width: 32px; height: 32px; }

.primary-nav { display: none; }
.primary-nav ul { display: flex; align-items: center; gap: 4px; }
.primary-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 12px;
  color: var(--color-text-secondary);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-sm);
}
.primary-nav a:hover { color: var(--color-text); text-decoration: none; background: rgba(255,255,255,.04); }
.primary-nav a[aria-current="page"] { color: var(--color-accent); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-inline-start: auto;
}
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  color: var(--color-text-secondary);
  background: transparent;
  border: 0;
  cursor: pointer;
}
.icon-btn:hover { color: var(--color-text); background: rgba(255,255,255,.05); text-decoration: none; }
.icon-btn svg { width: 22px; height: 22px; }

.lang-switch {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 12px;
  border-radius: var(--radius-sm);
  border: var(--border-surface);
  color: var(--color-text);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
}
.lang-switch:hover { border-color: rgba(255,255,255,.2); text-decoration: none; background: rgba(255,255,255,.04); }

.nav-toggle { display: inline-flex; }

@media (min-width: 1024px) {
  .primary-nav { display: block; }
  .nav-toggle { display: none; }
}

/* Mobile nav panel */
.mobile-nav {
  display: none;
  position: fixed;
  inset-block-start: var(--header-h);
  inset-inline: 0;
  inset-block-end: 0;
  z-index: 49;
  background: var(--color-bg);
  padding: 24px var(--container-pad);
  overflow-y: auto;
  flex-direction: column;
  gap: 8px;
}
.mobile-nav.is-open { display: flex; }
.mobile-nav a {
  display: flex;
  align-items: center;
  min-height: 52px;
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text);
  border-block-end: var(--border-hairline);
}
.mobile-nav a:hover { color: var(--color-accent); text-decoration: none; }
@media (min-width: 1024px) { .mobile-nav { display: none !important; } }

/* --- Hero --- */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: flex;
  align-items: stretch;
  padding-block: clamp(40px, 8vw, 96px);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5,5,5,.55) 0%, rgba(5,5,5,.35) 30%, rgba(5,5,5,.85) 100%),
    linear-gradient(to var(--hero-fade, right), rgba(5,5,5,.85) 0%, rgba(5,5,5,.25) 70%);
}
.hero .container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: clamp(16px, 3vw, 22px);
}
.hero__inner { max-width: 720px; display: flex; flex-direction: column; gap: clamp(14px, 2.5vw, 20px); }
.hero h1 { color: var(--color-text); }
.hero .lead { color: var(--color-text); }
.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-block-start: 8px;
}
@media (min-width: 600px) {
  .hero__actions { flex-direction: row; flex-wrap: wrap; align-items: center; }
}
@media (min-width: 1024px) {
  .hero .container { justify-content: center; }
  /* Hero visual RIGHT: text constrained to the left half */
  .hero__inner { max-width: 60%; }
  .hero__bg img { object-position: right center; }
}

/* --- Tags row --- */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
}
.tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--color-text-secondary);
  border: var(--border-surface);
  border-radius: var(--radius-pill);
  padding: 6px 12px;
}

/* --- Stat anchors --- */
.stats {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-block: 28px;
}
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat__num {
  font-family: var(--font-display-ltr);
  font-size: clamp(34px, 6vw, 48px);
  font-weight: 800;
  line-height: 1;
  color: var(--color-accent);
  order: -1;                 /* number sits above its label even though <dd> follows <dt> */
}
.stat__label { color: var(--color-text-secondary); font-size: 15px; }
@media (min-width: 768px) {
  .stats { flex-direction: row; gap: 40px; }
  .stat { flex: 1; }
}

.about-layout { display: grid; gap: var(--grid-gap); }
@media (min-width: 900px) {
  .about-layout { grid-template-columns: 1.2fr 0.8fr; align-items: center; }
}
.about-figure { margin: 0; }
.about-figure img {
  width: 100%;
  border-radius: var(--radius-md);
  border: var(--border-surface);
  /* content image: CENTER */
  margin-inline: auto;
  display: block;
}

/* --- Cards (generic) --- */
.card {
  position: relative;
  background: var(--color-surface);
  border: var(--border-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color var(--dur-ui) var(--ease-ui),
              background-color var(--dur-ui) var(--ease-ui),
              transform var(--dur-ui) var(--ease-ui),
              box-shadow var(--dur-ui) var(--ease-ui);
}
@media (hover: hover) and (pointer: fine) {
  .card.is-interactive:hover {
    border-color: rgba(233,120,47,.35);
    background: var(--color-surface-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-elevated);
  }
}
.card:focus-within { border-color: rgba(233,120,47,.45); }
.card__media {
  aspect-ratio: 16 / 10;
  background: var(--color-elevated);
}
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body {
  padding: var(--space-card);
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.card__title { font-size: 18px; }
.card__desc { color: var(--color-text-secondary); font-size: 15px; }
/* overlay link pattern: whole card clickable, inner links still reachable */
.card__link::after {
  content: "";
  position: absolute;
  inset: 0;
}
.card__icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: var(--radius-sm);
  background: rgba(233,120,47,.12);
  color: var(--color-accent);
  margin-block-end: 4px;
}
.card__icon svg { width: 24px; height: 24px; }

/* Service card without photo uses icon placeholder; uniform pattern */
.service-card .card__title { color: var(--color-text); }

/* --- Geography cards --- */
.geo-card .card__body { gap: 8px; }
.geo-card h3 { color: var(--color-text); }
.geo-card .zones {
  margin-block-start: auto;
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--color-accent);
  font-weight: 600;
}

/* --- Carousel (applications, country, extended team) --- */
.carousel { position: relative; }
.carousel__viewport {
  display: flex;
  gap: var(--grid-gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-block-end: 4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.carousel__viewport::-webkit-scrollbar { display: none; }
.carousel__item {
  flex: 0 0 82%;
  scroll-snap-align: start;
}
@media (min-width: 600px) { .carousel__item { flex-basis: 46%; } }
@media (min-width: 1024px) {
  .carousel__item { flex-basis: calc((100% - 4 * var(--grid-gap)) / 5); }
  .carousel--4 .carousel__item { flex-basis: calc((100% - 3 * var(--grid-gap)) / 4); }
}
.carousel__controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-block-start: 20px;
}
.carousel__dots {
  display: flex;
  gap: 8px;
  flex: 1;
  flex-wrap: wrap;
}
.carousel__dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,.18);
  cursor: pointer;
  padding: 0;
}
.carousel__dot.is-active { background: var(--color-accent); }
.carousel__arrows { display: none; gap: 8px; }
@media (hover: hover) and (pointer: fine) {
  .carousel__arrows { display: flex; }
}
.carousel__arrow {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  border: var(--border-surface);
  background: var(--color-surface);
  color: var(--color-text);
  cursor: pointer;
  display: grid;
  place-items: center;
}
.carousel__arrow:hover { border-color: rgba(255,255,255,.28); background: var(--color-surface-hover); }
.carousel__arrow svg { width: 20px; height: 20px; }

/* --- Geo-AI strategic block --- */
.geoai { background: var(--color-surface); position: relative; }
.geoai .section-head .overline { color: var(--color-accent); }
.geoai__tagline {
  font-style: italic;
  color: var(--color-text-secondary);
}
.geoai__sub { margin-block: 28px; }

/* Map figure (5.2) — placeholder map with anchor markers */
.geo-map {
  position: relative;
  margin: 0 0 16px;
  border: var(--border-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-elevated);
}
.geo-map img { width: 100%; display: block; filter: saturate(.85) brightness(.92); }
.geo-map__caption {
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  padding: 12px var(--space-card);
  border-block-start: var(--border-hairline);
}
.map-marker {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(233,120,47,.25), 0 0 0 1px rgba(0,0,0,.4);
  border: 0;
  cursor: pointer;
  padding: 0;
}
.map-marker::after {
  content: attr(data-label);
  position: absolute;
  inset-block-end: calc(100% + 8px);
  inset-inline-start: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--color-text);
  background: var(--color-elevated);
  border: var(--border-surface);
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  opacity: 0;
  transition: opacity var(--dur-ui) var(--ease-ui);
  pointer-events: none;
}
.map-marker:hover, .map-marker:focus-visible { background: var(--color-accent-hover); }
.map-marker:hover::after, .map-marker:focus-visible::after { opacity: 1; }
.map-marker--hub { width: 22px; height: 22px; box-shadow: var(--glow-accent); }

/* Capability cards (5.3) */
.capability-card .card__body { gap: 8px; }
.capability-card h3 { color: var(--color-text); font-size: 17px; }

/* Country cards (5.4) */
.country-card { background: var(--color-elevated); }
.country-card__flag { font-size: 28px; line-height: 1; }
.country-card__head { display: flex; align-items: center; gap: 12px; }
.country-card h3 { color: var(--color-text); font-size: 18px; margin: 0; }
.country-card__city { color: var(--color-text-secondary); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.country-card__lead { color: var(--color-accent); font-weight: 600; }
.country-card ul { display: flex; flex-direction: column; gap: 6px; }
.country-card li {
  position: relative;
  padding-inline-start: 18px;
  color: var(--color-text-secondary);
  font-size: 14px;
}
.country-card li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: 9px;
  width: 6px; height: 6px;
  background: var(--color-accent);
  border-radius: 50%;
}
.country-card--hub { border-color: rgba(233,120,47,.35); }
.country-card .cta-inline { margin-block-start: auto; padding-block-start: 8px; }

.geoai__sticky-cta {
  display: flex;
  justify-content: center;
  margin-block-start: 32px;
  flex-wrap: wrap;
  gap: 12px;
}

/* --- Approach numbered list --- */
.approach-list {
  display: grid;
  gap: 16px;
  counter-reset: approach;
}
@media (min-width: 768px) { .approach-list { grid-template-columns: repeat(2, 1fr); } }
.approach-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  border: var(--border-surface);
  border-radius: var(--radius-md);
  background: var(--color-surface);
}
.approach-item__num {
  font-family: var(--font-display-ltr);
  font-size: 28px;
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
  min-width: 1.5ch;
}
.approach-item h3 { color: var(--color-text); font-size: 17px; margin-block-end: 4px; }
.approach-item p { color: var(--color-text-secondary); font-size: 15px; }

/* --- Team --- */
.team-tier-title {
  font-size: 13px;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--color-text-secondary);
  font-weight: 600;
  margin-block: 8px 16px;
}
.team-card { background: var(--color-surface); }
.team-card__photo {
  aspect-ratio: 4 / 5;
  background: var(--color-elevated);
}
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.team-card__photo--placeholder {
  display: grid;
  place-items: center;
  color: var(--color-text-muted);
}
.team-card__photo--placeholder svg { width: 56px; height: 56px; }
.team-card__name { font-size: 18px; color: var(--color-text); text-transform: none; }
.team-card__role { color: var(--color-accent); font-weight: 600; font-size: 14px; }
.team-card__context { color: var(--color-text-secondary); font-size: 14px; }
.team-card__langs {
  margin-block-start: auto;
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--color-text-muted);
  text-transform: uppercase;
}

/* Full résumé disclosure for key team members (native <details>, works without JS) */
.team-resume {
  margin-block-start: 14px;
  border-block-start: var(--border-hairline);
  padding-block-start: 12px;
}
.team-resume > summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  inline-size: 100%;
  padding: 10px 14px;
  border: var(--border-surface);
  border-radius: var(--radius-sm);
  background: var(--color-elevated);
  font-weight: 600;
  font-size: 14px;
  color: var(--color-text);
  transition: border-color var(--dur-ui) var(--ease-ui),
              background-color var(--dur-ui) var(--ease-ui),
              color var(--dur-ui) var(--ease-ui);
}
.team-resume > summary::-webkit-details-marker { display: none; }
.team-resume > summary::after {
  content: "";
  flex: none;
  inline-size: 8px;
  block-size: 8px;
  margin-block-start: -3px;
  border-inline-end: 2px solid var(--color-accent);
  border-block-end: 2px solid var(--color-accent);
  transform: rotate(45deg);
  transition: transform var(--dur-ui) var(--ease-ui);
}
.team-resume[open] > summary {
  border-color: rgba(233, 120, 47, 0.4);
  color: var(--color-accent);
}
.team-resume[open] > summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
@media (hover: hover) and (pointer: fine) {
  .team-resume > summary:hover {
    border-color: rgba(233, 120, 47, 0.4);
    color: var(--color-accent);
  }
}
.team-resume > summary:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 2px;
}
.team-resume__body { margin-block-start: 14px; }
.team-resume__body h4 {
  font-size: 12px;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--color-text-secondary);
  font-weight: 600;
  margin-block: 16px 6px;
}
.team-resume__body h4:first-child { margin-block-start: 0; }
.team-resume__body > p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text-secondary);
  margin-block: 0 8px;
}
.resume-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.resume-timeline li { font-size: 14px; line-height: 1.5; color: var(--color-text-secondary); }
.resume-timeline .resume-period {
  display: block;
  color: var(--color-accent);
  font-weight: 600;
  font-size: 13px;
}
.resume-timeline b { color: var(--color-text); font-weight: 600; }
.resume-list {
  margin: 0;
  padding-inline-start: 18px;
  display: grid;
  gap: 4px;
}
.resume-list li { font-size: 14px; line-height: 1.5; color: var(--color-text-secondary); }
.resume-skills {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text-secondary);
  margin: 0;
}
@media (prefers-reduced-motion: reduce) {
  .team-resume > summary::after { transition: none; }
}

/* --- Why Bulgaria --- */
.bulgaria-layout { display: grid; gap: var(--grid-gap); }
@media (min-width: 900px) { .bulgaria-layout { grid-template-columns: 1.4fr 0.6fr; align-items: start; } }
.arg-list { display: flex; flex-direction: column; gap: 12px; margin-block: 8px 20px; }
.arg-list li {
  position: relative;
  padding-inline-start: 28px;
  color: var(--color-text-secondary);
}
.arg-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: 10px;
  width: 12px; height: 2px;
  background: var(--color-accent);
}
.objective { font-style: italic; color: var(--color-text); margin-block: 16px; }
.aside-accent {
  background: var(--color-elevated);
  border: var(--border-accent);
  border-radius: var(--radius-md);
  padding: var(--space-card);
}
.aside-accent .zones { color: var(--color-accent); font-weight: 600; letter-spacing: .04em; }

/* --- Contact --- */
.contact-layout { display: grid; gap: var(--grid-gap); }
@media (min-width: 900px) { .contact-layout { grid-template-columns: 0.9fr 1.1fr; align-items: start; } }

.direct-card {
  background: var(--color-elevated);
  border: var(--border-surface);
  border-radius: var(--radius-md);
  padding: var(--space-card);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.direct-card__person { display: flex; align-items: center; gap: 14px; }
.direct-card__photo {
  width: 72px; height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: var(--border-surface);
  flex: 0 0 auto;
}
.direct-card__name { font-size: 18px; color: var(--color-text); text-transform: none; }
.direct-card__role { color: var(--color-accent); font-size: 13px; font-weight: 600; }
.channels { display: flex; flex-direction: column; gap: 8px; }
.channel {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--color-text);
  font-weight: 600;
}
.channel:hover { color: var(--color-accent); text-decoration: none; }
.channel svg { width: 20px; height: 20px; color: var(--color-accent); flex: 0 0 auto; }

/* Form */
.contact-form {
  background: var(--color-surface);
  border: var(--border-surface);
  border-radius: var(--radius-md);
  padding: var(--space-card);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field > label { font-size: 14px; font-weight: 600; color: var(--color-text); }
.field .req { color: var(--color-accent); }
.field input, .field select, .field textarea {
  font-family: inherit;
  font-size: 16px;
  color: var(--color-text);
  background: var(--color-elevated);
  border: var(--border-input);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  min-height: 48px;
  width: 100%;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--color-text-secondary); }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--color-accent);
  outline: var(--focus-width) solid var(--color-focus);
  outline-offset: 1px;
}
.field--error input, .field--error select, .field--error textarea {
  border-color: #ff5a5a;
}
.field__error {
  display: none;
  align-items: center;
  gap: 6px;
  color: #ff8b8b;
  font-size: 13px;
}
.field__error svg { width: 16px; height: 16px; flex: 0 0 auto; }
.field--error .field__error { display: flex; }

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--color-text-secondary);
}
.consent input { width: 20px; height: 20px; margin-block-start: 2px; flex: 0 0 auto; accent-color: var(--color-accent); }

.form-status {
  display: none;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  border: var(--border-accent);
  border-radius: var(--radius-md);
  background: rgba(233,120,47,.06);
}
.form-status.is-visible { display: flex; }
.form-status h3 { color: var(--color-text); }

/* --- Closing strip --- */
.closing-strip {
  text-align: center;
  background: var(--color-bg);
  border-block: var(--border-hairline);
  padding-block: clamp(40px, 7vw, 72px);
}
.closing-strip__promise {
  font-family: var(--font-display-ltr);
  font-size: clamp(24px, 5vw, 44px);
  font-weight: 800;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--color-text);
}
.closing-strip__values, .closing-strip__geo {
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-secondary);
  margin-block-start: 16px;
}
.closing-strip__geo { color: var(--color-accent); }

/* --- Footer --- */
.site-footer {
  background: var(--color-surface);
  border-block-start: var(--border-hairline);
  padding-block: clamp(40px, 6vw, 64px);
}
.footer-grid {
  display: grid;
  gap: 28px;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
.footer-brand-line { font-weight: 700; color: var(--color-text); letter-spacing: .02em; }
.footer-geo { color: var(--color-accent); font-weight: 600; letter-spacing: .04em; margin-block-start: 8px; }
.footer h4 {
  font-size: 13px;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-block-end: 12px;
  font-weight: 600;
}
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a, .footer .channel { color: var(--color-text-secondary); font-weight: 500; min-height: 36px; }
.footer-links a:hover { color: var(--color-text); text-decoration: none; }
.footer-bottom {
  margin-block-start: 32px;
  padding-block-start: 20px;
  border-block-start: var(--border-hairline);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: center;
  justify-content: space-between;
  color: var(--color-text-muted);
  font-size: 13px;
}
.footer-tagline { letter-spacing: .04em; text-transform: uppercase; font-weight: 600; }

/* --- Cookie banner --- */
.cookie-banner {
  position: fixed;
  inset-block-end: 16px;
  inset-inline: 16px;
  z-index: 60;
  max-width: 520px;
  margin-inline: auto;
  background: var(--color-elevated);
  border: var(--border-surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-floating);
  padding: 18px 20px;
  display: none;
  flex-direction: column;
  gap: 12px;
}
.cookie-banner.is-visible { display: flex; }
.cookie-banner p { font-size: 14px; color: var(--color-text-secondary); }
.cookie-banner__actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* --- Subpage hero / generic page header --- */
.page-hero {
  padding-block: calc(var(--header-h) / 2 + var(--space-section)) var(--space-section);
  border-block-end: var(--border-hairline);
}
.page-hero .container { display: flex; flex-direction: column; gap: var(--space-block); max-width: 820px; }
.breadcrumb { font-size: 13px; color: var(--color-text-muted); letter-spacing: .04em; }
.breadcrumb a { color: var(--color-text-secondary); }
.prose { max-width: 70ch; }
.prose p { margin-block: 0 16px; color: var(--color-text-secondary); }
.prose h2 { margin-block: 40px 16px; }
.prose h3 { margin-block: 28px 10px; }
.prose ul { display: flex; flex-direction: column; gap: 8px; margin-block: 0 16px; }
.prose ul li { position: relative; padding-inline-start: 20px; color: var(--color-text-secondary); }
.prose ul li::before { content: ""; position: absolute; inset-inline-start: 0; inset-block-start: 11px; width: 8px; height: 2px; background: var(--color-accent); }

/* === RTL === */
[dir="rtl"] .hero { --hero-fade: left; }
[dir="rtl"] .hero__bg img { object-position: left center; }
/* Hebrew display headings use Heebo (no condensed Latin display equivalent) */
html[lang="he"] h1, html[lang="he"] h2 {
  font-family: var(--font-display-rtl);
  font-weight: 800;
  text-transform: none;       /* Hebrew has no letter case */
  letter-spacing: 0;
  line-height: 1.1;
}
html[lang="he"] h3 { text-transform: none; }
/* Hebrew metadata labels: drop Latin uppercase + wide tracking (no case in Hebrew) */
html[lang="he"] .overline,
html[lang="he"] .team-tier-title,
html[lang="he"] .footer h4 { text-transform: none; letter-spacing: .02em; }
html[lang="he"] .closing-strip__promise,
html[lang="he"] .stat__num,
html[lang="he"] .approach-item__num { font-family: var(--font-display-rtl); }
/* In RTL, directional CTA arrows point the other way */
[dir="rtl"] .cta-inline .arrow,
[dir="rtl"] .btn .arrow { transform: scaleX(-1); }
@media (hover: hover) and (pointer: fine) {
  [dir="rtl"] .cta-inline:hover .arrow { transform: scaleX(-1) translateX(3px); }
}

/* === MOTION === */
/* JS-gated reveal: content stays visible if JS never runs */
.js-ready .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease-ui), transform .6s var(--ease-ui); }
.js-ready .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .carousel__viewport { scroll-behavior: auto; }
  .js-ready .reveal { opacity: 1; transform: none; }
}
