@import url('https://fonts.googleapis.com/css2?family=Heebo:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --navy: #0E2A52;
  --navy-dark: #081B38;
  --gold: #8B6914;
  --gold-dark: #9C7B2F;
  --teal: #14857E;
  --light-bg: #F4F7FB;
  --gray-bg: #F8F9FA;
  --border: #E5E9F0;
  --text-dark: #1a1a2e;
  --text-medium: #555;
  --text-light: #646b7d;
  --white: #ffffff;
  --shadow: 0 4px 20px rgba(14,42,82,0.08);
  --shadow-hover: 0 12px 36px rgba(14,42,82,0.15);
  --radius: 12px;
  --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* Sprite container — never visible, always zero-size */
.icon-defs, svg.icon-defs { display: none !important; width: 0 !important; height: 0 !important; position: absolute !important; overflow: hidden !important; }

/* Default icon sizing by viewBox — fail-safe if inline attributes are missing */
svg[viewBox="0 0 48 48"]:not(.icon-defs) { width: 24px; height: 24px; flex-shrink: 0; }
svg[viewBox="0 0 24 24"]:not(.icon-defs) { width: 20px; height: 20px; flex-shrink: 0; }

body {
  font-family: 'Heebo', sans-serif;
  direction: rtl;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
}

body.ltr { direction: ltr; }

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.skip-link {
  position: absolute;
  top: -40px;
  right: 1rem;
  background: var(--navy);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  z-index: 9999;
}
.skip-link:focus { top: 0.5rem; }

/* NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 12px rgba(14,42,82,0.06);
  padding: 0 2rem;
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo img { height: 56px; width: auto; }
.nav-logo-text, .nav-logo .nav-logo-text { display: none !important; }
.nav-logo-text-show { line-height: 1.1; }
.nav-logo-text .name {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy);
  display: block;
}
.nav-logo-text .tagline {
  font-size: 0.72rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.4px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0.3rem;
  align-items: center;
}
.nav-links a {
  display: block;
  padding: 0.6rem 1rem;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: 8px;
  transition: var(--transition);
}
.nav-links a:hover { background: var(--light-bg); color: var(--navy); }
.nav-links a.active { color: var(--navy); font-weight: 700; }
.nav-cta {
  background: var(--navy) !important;
  color: white !important;
  padding: 0.65rem 1.4rem !important;
  font-weight: 700 !important;
}
.nav-cta:hover { background: var(--navy-dark) !important; }

.lang-switcher {
  display: flex;
  gap: 0.4rem;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 600;
}
.lang-switcher a {
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  color: var(--text-medium);
}
.lang-switcher a:hover { background: var(--light-bg); }
.lang-active {
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  background: var(--navy);
  color: white;
}

.hamburger {
  appearance: none;
  -webkit-appearance: none;
  background: none;
  border: none;
  color: inherit;
  font: inherit;
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  width: 26px;
  height: 3px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  font-family: inherit;
}
.btn-primary {
  background: var(--navy);
  color: white;
}
.btn-primary:hover {
  background: var(--navy-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}
.btn-secondary {
  background: white;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-secondary:hover {
  background: var(--navy);
  color: white;
}
.btn-gold {
  background: var(--gold);
  color: white;
}
.btn-gold:hover { background: var(--gold-dark); }

/* HERO */
.hero {
  background:
    linear-gradient(135deg, rgba(14,42,82,0.96) 0%, rgba(8,27,56,0.97) 60%, rgba(5,15,37,0.98) 100%),
    url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=1920&q=80') center/cover;
  color: white;
  padding: 5rem 2rem 6rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 85% 25%, rgba(201,161,74,0.22), transparent 45%),
    radial-gradient(circle at 15% 85%, rgba(20,133,126,0.18), transparent 45%),
    radial-gradient(circle at 50% 50%, rgba(255,255,255,0.03), transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-illustration {
  position: relative;
  animation: floatHero 6s ease-in-out infinite;
}
.hero-illustration img { width: 100%; height: auto; }
@keyframes floatHero {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.hero-badge {
  display: inline-block;
  padding: 0.45rem 1rem;
  background: rgba(201,161,74,0.18);
  border: 1px solid rgba(201,161,74,0.4);
  border-radius: 999px;
  font-size: 0.85rem;
  color: #f5d99a;
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  max-width: 800px;
}
.hero h1 span { color: var(--gold); }
.hero p.lead {
  font-size: 1.2rem;
  max-width: 700px;
  margin-bottom: 2.25rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
}
.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.hero-buttons .btn-secondary {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,0.4);
}
.hero-buttons .btn-secondary:hover {
  background: white;
  color: var(--navy);
}
.hero-stats {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.stat-num {
  display: block;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.stat-label {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.75);
}

/* SECTIONS */
.section { padding: 5rem 2rem; position: relative; }
.section.alt {
  background: var(--light-bg);
  position: relative;
  overflow: hidden;
}
.section.alt::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(201,161,74,0.08), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.section.alt::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(14,42,82,0.06), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.section.alt > * { position: relative; z-index: 1; }

/* SPLIT IMAGE SECTION */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.split-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  position: relative;
}
.split-img img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease;
}
.split-img:hover img { transform: scale(1.05); }
.split-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(14,42,82,0.4));
}
.split-img-badge {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  background: rgba(255,255,255,0.95);
  padding: 0.85rem 1.25rem;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 1;
  box-shadow: var(--shadow);
}
.split-img-badge .badge-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}
.split-img-badge .badge-label {
  font-size: 0.8rem;
  color: var(--navy);
  font-weight: 600;
}

/* OFFICE GALLERY */
.gallery {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  grid-template-rows: 220px 220px;
  gap: 1rem;
  max-width: 1100px;
  margin: 0 auto;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14,42,82,0.7) 0%, transparent 50%);
  opacity: 0.5;
  transition: opacity 0.4s ease;
}
.gallery-item:hover::after { opacity: 0.85; }
.gallery-caption {
  position: absolute;
  bottom: 1.25rem;
  right: 1.25rem;
  left: 1.25rem;
  color: white;
  font-weight: 700;
  font-size: 1rem;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.gallery-caption::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
}
.gallery-item:hover .gallery-caption::before { width: 40px; }
body.ltr .gallery-caption { right: auto; left: 1.25rem; }

.gallery-item-large {
  grid-row: 1 / 3;
}
@media (max-width: 800px) {
  .gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 200px 200px 200px;
    height: auto;
  }
  .gallery-item-large { grid-row: 1; grid-column: 1 / 3; }
}

/* OFFICES IMAGE CARDS */
.offices-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.office-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.office-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.office-img {
  height: 220px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.office-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14,42,82,0.6), transparent 60%);
}
.office-img-jerusalem {
  background-image: url('images/office-main.jpg');
}
.office-img-pt {
  background-image: url('images/office-pt-1.jpg');
}
.office-img-ashkelon {
  background-image: linear-gradient(135deg, rgba(14,42,82,0.6), rgba(8,27,56,0.7)), url('https://images.unsplash.com/photo-1577415124269-fc1140a69e91?w=1200&q=80');
}
.office-img-sderot {
  background-image: linear-gradient(135deg, rgba(14,42,82,0.6), rgba(8,27,56,0.7)), url('https://images.unsplash.com/photo-1497366216548-37526070297c?w=1200&q=80');
}
.office-body { padding: 1.75rem; }
.office-body h3 {
  color: var(--navy);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.office-body h3 svg { width: 20px; height: 20px; color: var(--gold); }
.office-body p { color: var(--text-medium); margin-bottom: 0.4rem; font-size: 0.95rem; }
.office-body a { color: var(--gold); font-weight: 600; }

/* TRUST / VALUES STRIP — Hidden. Values are shown in the main values section instead. */
.trust-strip { display: none !important; }
.trust-strip-disabled {
  padding: 3rem 2rem;
  background: linear-gradient(180deg, var(--gray-bg) 0%, #ffffff 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
}
.trust-strip::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.trust-strip-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
}
.trust-label {
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  text-align: center;
}
.trust-items {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  width: 100%;
}
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  color: var(--navy);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.5rem 2.25rem;
  position: relative;
  flex: 1 1 auto;
  min-width: 140px;
  text-align: center;
  transition: var(--transition);
}
.trust-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 25%;
  bottom: 25%;
  left: 0;
  width: 1px;
  background: var(--border);
}
.trust-item:hover { transform: translateY(-2px); }
.trust-item:hover svg { color: var(--navy); transform: scale(1.1); }
.trust-item svg {
  width: 36px !important;
  height: 36px !important;
  color: var(--gold);
  transition: var(--transition);
  flex-shrink: 0;
}
body.ltr .trust-item:not(:last-child)::after { left: auto; right: 0; }
@media (max-width: 700px) {
  .trust-items { gap: 0.5rem 0; }
  .trust-item { flex: 1 1 40%; min-width: 130px; padding: 0.75rem 0.5rem; font-size: 0.9rem; }
  .trust-item:not(:last-child)::after { display: none; }
}
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem;
}
.section-label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 0.75rem;
}
.section h2 {
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 1rem;
}
.section h2 + p {
  font-size: 1.1rem;
  color: var(--text-medium);
}

/* SERVICES GRID */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
/* Stretched-link pattern — clicking anywhere on the card follows the link.
   The ::before pseudo-element MUST resolve its containing block to the CARD
   (.service-card has position:relative). The link itself must NOT have
   position:relative — otherwise the ::before's containing block becomes the
   link's own (small) box. */
.service-card .card-stretched-link::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}
/* Make sure other inline content inside the card (h3, p, icon) stays clickable
   for text selection while the stretched link captures whole-card clicks. */
.service-card > *:not(.card-stretched-link) {
  position: relative;
  z-index: 0;
}
.service-card:has(.card-stretched-link) { cursor: pointer; }
.service-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--gold);
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--light-bg), #eaf0fa);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--navy);
  position: relative;
  transition: var(--transition);
}
.service-icon::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--gold), transparent);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s ease;
}
.service-icon svg { width: 32px; height: 32px; }
.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  color: var(--gold);
  transform: rotate(-6deg) scale(1.05);
}
.service-card:hover .service-icon::after { opacity: 0.5; }
.service-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.75rem;
}
.service-card p {
  color: var(--text-medium);
  font-size: 0.95rem;
  line-height: 1.6;
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.9rem;
}
.service-link:hover { color: var(--gold); }

/* VALUES STRIP */
.values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}
.value-item {
  text-align: center;
  padding: 1.5rem;
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.value-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--gold);
}
.value-item .v-icon {
  width: 76px;
  height: 76px;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  color: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 8px 24px rgba(14,42,82,0.18);
}
.value-item .v-icon::before {
  content: '';
  position: absolute;
  inset: -4px;
  border: 2px dashed var(--gold);
  border-radius: 50%;
  opacity: 0.4;
  animation: spinSlow 20s linear infinite;
}
.value-item .v-icon svg { width: 36px; height: 36px; }
@keyframes spinSlow {
  from { transform: rotate(0); }
  to { transform: rotate(360deg); }
}
.value-item h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.value-item p { color: var(--text-medium); font-size: 0.95rem; }

/* TEAM CARDS */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.team-grid.team-grid-2col {
  grid-template-columns: repeat(2, 1fr);
  max-width: 920px;
  margin: 0 auto;
}
.team-grid.team-grid-3col {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}
.team-grid.team-grid-3col .team-card {
  flex: 0 1 calc((100% - 4rem) / 3);
  min-width: 280px;
  max-width: 340px;
}
@media (max-width: 960px) {
  .team-grid.team-grid-3col .team-card { flex: 0 1 calc((100% - 2rem) / 2); }
}
@media (max-width: 720px) {
  .team-grid.team-grid-2col { grid-template-columns: 1fr; }
  .team-grid.team-grid-3col .team-card { flex: 1 1 100%; max-width: 100%; }
}
.team-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}
.team-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}
.team-photo {
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  display: block;
  position: relative;
  overflow: hidden;
  border-bottom: 4px solid var(--gold);
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.5s ease;
}
.team-card:hover .team-photo img { transform: scale(1.04); }
.team-photo-mono::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 20px 20px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}
.team-photo-mono::after {
  content: '';
  position: absolute;
  inset: 16px;
  border: 2px solid rgba(201,161,74,0.25);
  border-radius: 50%;
  background: transparent;
}
.team-photo-mono span {
  position: relative;
  z-index: 2;
  font-family: 'Heebo', sans-serif;
  letter-spacing: -2px;
}
.team-info {
  padding: 1.75rem 1.5rem 1.75rem;
  text-align: center;
}
.team-info h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.4rem;
  line-height: 1.3;
}
.team-role {
  color: var(--gold);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.team-bio {
  color: var(--text-medium);
  font-size: 0.92rem;
  line-height: 1.65;
  text-align: right;
}
body.ltr .team-bio { text-align: left; }

/* DEDICATED BRANCHES PAGE */
.branches-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  padding: 4.5rem 2rem 3rem;
  text-align: center;
  color: white;
}
.branches-hero .badge {
  display: inline-block;
  background: rgba(201,161,74,0.18);
  border: 1px solid rgba(201,161,74,0.4);
  color: #f5d99a;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.branches-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 0.7rem;
}
.branches-hero p {
  font-size: 1.05rem;
  opacity: 0.9;
  max-width: 620px;
  margin: 0 auto;
}

.search-filter-bar {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  margin-bottom: 2rem;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.search-field { position: relative; }
.search-field input {
  width: 100%;
  padding: 0.9rem 3rem 0.9rem 1.2rem;
  border: 2px solid var(--border);
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--navy);
}
body.ltr .search-field input { padding: 0.9rem 1.2rem 0.9rem 3rem; }
.search-field input:focus { outline: none; border-color: var(--gold); }
.search-field .search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.15rem;
  color: var(--text-light);
  pointer-events: none;
}
body.ltr .search-field .search-icon { left: auto; right: 1rem; }

.filter-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.filter-btn {
  padding: 0.5rem 1.1rem;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  background: white;
  color: var(--text-medium);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}
.filter-btn:hover { border-color: var(--gold); color: var(--gold); }
.filter-btn.active { background: var(--navy); border-color: var(--navy); color: white; }

.results-count {
  font-size: 0.9rem;
  color: var(--text-medium);
  margin-bottom: 1.25rem;
  text-align: center;
}
.results-count strong { color: var(--navy); }

.branches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 1.2rem;
}
.branch-card-page {
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1.35rem 1.5rem;
  box-shadow: 0 2px 8px rgba(14,42,82,0.06);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.branch-card-page:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: var(--gold);
}
.branch-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
}
.branch-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.3;
}
.branch-name small {
  display: block;
  font-weight: 400;
  color: var(--text-medium);
  font-size: 0.78rem;
  margin-bottom: 2px;
}
.branch-region-tag {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.22rem 0.7rem;
  border-radius: 50px;
  white-space: nowrap;
  flex-shrink: 0;
}
.branch-region-tag.jerusalem { background: #fff8e6; color: #8a6000; }
.branch-region-tag.tlv      { background: #eef8f7; color: #0a7a5e; }
.branch-region-tag.center   { background: #eef1fa; color: var(--navy); }
.branch-region-tag.haifa    { background: #f5eeff; color: #6030a0; }
.branch-region-tag.north    { background: #e8f5e9; color: #2e7d32; }
.branch-region-tag.south    { background: #fff0f2; color: #b8283c; }

.branch-detail {
  font-size: 0.9rem;
  color: var(--text-medium);
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  line-height: 1.5;
}
.branch-detail .ico { flex-shrink: 0; margin-top: 1px; font-size: 0.95rem; }
.branch-phone-link {
  color: var(--gold);
  font-weight: 700;
  text-decoration: none;
}
.branch-phone-link:hover { color: var(--gold-dark); text-decoration: underline; }

.branches-info-box {
  background: var(--light-bg);
  border-right: 4px solid var(--gold);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.75rem;
  font-size: 0.92rem;
  color: var(--text-medium);
  line-height: 1.7;
}
body.ltr .branches-info-box { border-right: none; border-left: 4px solid var(--gold); }
.branches-info-box strong { color: var(--navy); }
.branches-info-box a { color: var(--gold); font-weight: 700; }

.no-results {
  text-align: center;
  padding: 3rem 2rem;
  color: var(--text-medium);
  display: none;
}
.no-results .ico { font-size: 3rem; margin-bottom: 0.75rem; display: block; }
.no-results h3 { font-size: 1.2rem; color: var(--navy); margin-bottom: 0.5rem; }

/* SEO LINKS FOOTER (above main footer) */
.seo-footer {
  background: var(--navy-dark);
  padding: 2.5rem 2rem 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.seo-footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.seo-footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.seo-footer-col li {
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.seo-footer-col a {
  display: block;
  padding: 0.7rem 0;
  color: rgba(255,255,255,0.85);
  font-size: 0.92rem;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  transition: color 0.2s;
}
.seo-footer-col a:hover { color: var(--gold); }
@media (max-width: 900px) {
  .seo-footer-grid { grid-template-columns: repeat(2, 1fr); gap: 0.5rem 1.5rem; }
}
@media (max-width: 500px) {
  .seo-footer-grid { grid-template-columns: 1fr; }
}

/* FOOTER LEGAL DISCLAIMER */
.footer-disclaimer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.78rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.55);
  text-align: center;
  font-style: italic;
}

/* GLOBAL FOCUS STATES (accessibility) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--gold) !important;
  outline-offset: 2px !important;
  border-radius: 4px;
}
.skip-link:focus-visible {
  outline: 2px solid var(--gold) !important;
  outline-offset: 4px !important;
}

/* SEO BRANCHES SECTION */
.seo-branches {
  background: var(--gray-bg);
  padding: 3.5rem 2rem;
  border-top: 1px solid var(--border);
}
.seo-branches-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  max-width: 1100px;
  margin: 2rem auto 0;
}
.seo-branches-col {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.75rem;
  border-top: 4px solid var(--gold);
}
.seo-branches-col h3 {
  color: var(--navy);
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.seo-branches-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem 1rem;
}
.seo-branches-col li {
  color: var(--text-medium);
  font-size: 0.9rem;
  padding-right: 0.85rem;
  position: relative;
  line-height: 1.4;
}
.seo-branches-col li::before {
  content: '◂';
  position: absolute;
  right: 0;
  color: var(--gold);
  font-size: 0.7rem;
  top: 0.3rem;
}
body.ltr .seo-branches-col li { padding-right: 0; padding-left: 0.85rem; }
body.ltr .seo-branches-col li::before { right: auto; left: 0; content: '▸'; }
@media (max-width: 800px) {
  .seo-branches-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .seo-branches-col ul { grid-template-columns: 1fr; }
}

/* HOMEPAGE: CLIENTS MARQUEE */
.clients-marquee {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 2.5rem 0;
  margin-top: 1.5rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.clients-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  animation: marquee 50s linear infinite;
  align-items: center;
}
.clients-marquee:hover .clients-track { animation-play-state: paused; }
.clients-track img {
  /* uniform white card */
  background: #ffffff;
  padding: 1.25rem 1.75rem;
  border-radius: 14px;
  border: 1px solid rgba(15, 42, 82, 0.08);
  box-shadow: 0 2px 10px rgba(15, 42, 82, 0.05);
  box-sizing: border-box;

  /* uniform size — every logo sits in the same box */
  width: 200px;
  height: 110px;
  max-width: none;

  /* image fit */
  object-fit: contain;

  /* subtle polish */
  filter: saturate(0.9);
  opacity: 0.92;
  transition: var(--transition);
  flex-shrink: 0;
  image-rendering: -webkit-optimize-contrast;
}
.clients-track img:hover {
  filter: saturate(1);
  opacity: 1;
  border-color: rgba(139, 105, 20, 0.35);
  box-shadow: 0 8px 20px rgba(15, 42, 82, 0.12);
  transform: translateY(-3px);
}
/* RTL marquee: track is wider than container; items flow right-to-left.
   Animating translateX(+50%) shifts the track RIGHT so duplicate items
   slide in from the left, replacing originals seamlessly. */
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(50%); }
}
/* LTR marquee: items flow left-to-right; animate LEFT to bring duplicates
   in from the right. */
body.ltr .clients-track { animation-name: marquee-ltr; }
@keyframes marquee-ltr {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (max-width: 700px) {
  .clients-track img {
    width: 150px;
    height: 85px;
    padding: 0.9rem 1.25rem;
    border-radius: 11px;
  }
  .clients-track { gap: 1.25rem; }
  .clients-marquee { padding: 1.5rem 0; }
}

/* HOMEPAGE: ARTICLES PREVIEW */
.articles-preview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

/* HOMEPAGE: PODCAST ROW */
.podcast-row {
  display: flex !important;
  flex-direction: row !important;
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: stretch;
}
.podcast-episode {
  flex: 1 1 0;
  min-width: 0;
  background: white;
  border-radius: var(--radius);
  padding: 0.85rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}
.podcast-episode:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.podcast-episode iframe {
  width: 100% !important;
  max-width: 100%;
  border: 0;
  display: block;
  border-radius: 8px;
}
@media (max-width: 720px) {
  .podcast-row { flex-direction: column !important; max-width: 500px; }
}

/* HOMEPAGE: QUICK FORMS */
.forms-quick {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  max-width: 1100px;
  margin: 0 auto;
}
.form-quick-link {
  background: white;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.25rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: var(--transition);
  color: var(--navy);
}
.form-quick-link:hover {
  border-color: var(--gold);
  transform: translateX(-4px);
  box-shadow: var(--shadow);
}
body.ltr .form-quick-link:hover { transform: translateX(4px); }
.form-quick-link .form-quick-icon {
  width: 40px; height: 40px;
  background: var(--light-bg);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
}
.form-quick-link span { font-weight: 600; font-size: 0.95rem; line-height: 1.35; }

/* MEDIA PAGE */
.media-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}
.video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  background: #000;
}
.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.podcast-wrap {
  background: white;
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.podcast-wrap iframe {
  width: 100%;
  border: 0;
  display: block;
  border-radius: 8px;
}
.media-section-title {
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.media-section-title svg { width: 28px; height: 28px; color: var(--gold); flex-shrink: 0; }
.media-cta-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1rem;
}

/* Team card with clickable bio */
.team-info h3.team-link {
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.team-info h3.team-link:hover { color: var(--gold); }
.team-info h3.team-link::after {
  content: '↗';
  font-size: 0.85rem;
  color: var(--gold);
  transition: var(--transition);
}
.team-info h3.team-link:hover::after { transform: translate(-2px, -2px); }
body.ltr .team-info h3.team-link::after { content: '↗'; }
.team-readmore {
  display: inline-block;
  margin-top: 0.4rem;
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 700;
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  padding: 0;
}
.team-readmore:hover { text-decoration: underline; }

/* BIO MODAL */
.bio-modal {
  position: fixed;
  inset: 0;
  background: rgba(8,15,30,0.75);
  backdrop-filter: blur(4px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.bio-modal[hidden] { display: none !important; }
.bio-modal:not([hidden]) { display: flex; animation: modalFade 0.3s ease; }
@keyframes modalFade { from { opacity: 0; } to { opacity: 1; } }
.bio-modal-content {
  background: white;
  max-width: 820px;
  width: 100%;
  max-height: 90vh;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  display: grid;
  grid-template-columns: 320px 1fr;
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
  animation: modalSlide 0.35s ease;
}
@keyframes modalSlide { from { transform: translateY(20px); } to { transform: translateY(0); } }
.bio-modal-photo {
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  position: relative;
  overflow: hidden;
}
.bio-modal-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.bio-modal-body {
  padding: 2.5rem 2rem;
  overflow-y: auto;
  max-height: 90vh;
}
.bio-modal-body h2 {
  color: var(--navy);
  font-size: 1.75rem;
  margin-bottom: 0.25rem;
  line-height: 1.3;
}
.bio-modal-role {
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  margin-bottom: 1.5rem;
  display: block;
}
.bio-modal-text {
  color: var(--text-medium);
  line-height: 1.75;
}
.bio-modal-text p { margin-bottom: 1rem; }
.bio-modal-text h3 {
  color: var(--navy);
  font-size: 1.1rem;
  margin: 1.5rem 0 0.5rem;
}
.bio-modal-text ul { margin: 0.5rem 0 1rem 1.25rem; padding-right: 1rem; }
.bio-modal-text li { margin-bottom: 0.4rem; }
.bio-modal-text .bio-cta {
  margin-top: 1.75rem;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(135deg, var(--light-bg), #eaf0fa);
  border-right: 4px solid var(--gold);
  border-radius: 10px;
  text-align: center;
}
body.ltr .bio-modal-text .bio-cta { border-right: none; border-left: 4px solid var(--gold); }
.bio-modal-text .bio-cta p { margin-bottom: 0.5rem; color: var(--navy); }
.bio-modal-text .bio-cta a { color: var(--navy); font-weight: 700; text-decoration: none; }
.bio-modal-text .bio-cta a:hover { color: var(--gold); }
.bio-modal-close {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  color: var(--navy);
  border: none;
  font-size: 1.4rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  transition: var(--transition);
  line-height: 1;
}
.bio-modal-close:hover { background: var(--gold); color: white; transform: rotate(90deg); }
body.ltr .bio-modal-close { left: auto; right: 12px; }
@media (max-width: 700px) {
  .bio-modal-content {
    grid-template-columns: 1fr;
    max-height: 95vh;
  }
  .bio-modal-photo { height: 250px; }
  .bio-modal-body { padding: 1.5rem; }
  .bio-modal-body h2 { font-size: 1.4rem; }
}

/* CTA BAND */
.cta-band {
  background:
    linear-gradient(135deg, rgba(14,42,82,0.95), rgba(8,27,56,0.97)),
    url('https://images.unsplash.com/photo-1556761175-b413da4baf72?w=1920&q=80') center/cover;
  color: white;
  padding: 5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(201,161,74,0.18), transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(20,133,126,0.14), transparent 50%);
  pointer-events: none;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: white; font-size: 2rem; margin-bottom: 0.75rem; }
.cta-band p { color: rgba(255,255,255,0.85); margin-bottom: 1.75rem; font-size: 1.1rem; }
.cta-band .btn { background: var(--gold); color: white; }
.cta-band .btn:hover { background: var(--gold-dark); transform: translateY(-2px); }

/* ARTICLES */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.article-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.article-tag {
  display: inline-block;
  background: var(--light-bg);
  color: var(--navy);
  padding: 0.25rem 0.7rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.article-body { padding: 1.75rem; flex: 1; display: flex; flex-direction: column; }
.article-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.6rem;
  line-height: 1.4;
}
.article-body p {
  color: var(--text-medium);
  font-size: 0.92rem;
  line-height: 1.6;
  flex: 1;
  margin-bottom: 1rem;
}
.read-more {
  color: var(--gold);
  font-weight: 700;
  font-size: 0.9rem;
}

/* CONTACT */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.contact-info { display: grid; gap: 1.5rem; }
.contact-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  gap: 1rem;
  transition: var(--transition);
}
.contact-card:hover { box-shadow: var(--shadow-hover); border-color: var(--gold); }
.contact-icon {
  width: 48px;
  height: 48px;
  background: var(--navy);
  color: var(--gold);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.contact-card h3 { color: var(--navy); font-size: 1.05rem; margin-bottom: 0.25rem; }
.contact-card p, .contact-card a {
  color: var(--text-medium);
  font-size: 0.95rem;
  line-height: 1.5;
}
.contact-card a:hover { color: var(--navy); }

.contact-form {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--navy);
  font-size: 0.92rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(14,42,82,0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.contact-form .btn { width: 100%; }

/* FORMS DOWNLOAD LIST */
.downloads-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}
.download-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: var(--transition);
}
.download-item:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow);
  transform: translateX(-4px);
}
.download-icon {
  width: 44px;
  height: 44px;
  background: var(--light-bg);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.download-info { flex: 1; }
.download-info h4 { font-size: 1rem; color: var(--navy); margin-bottom: 0.15rem; }
.download-info p { font-size: 0.85rem; color: var(--text-light); }

/* JOBS */
.jobs-list { display: grid; gap: 1.25rem; }
.job-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  transition: var(--transition);
}
.job-card:hover { box-shadow: var(--shadow-hover); border-color: var(--gold); }
.job-info h3 { color: var(--navy); margin-bottom: 0.4rem; }
.job-meta {
  display: flex;
  gap: 1rem;
  color: var(--text-medium);
  font-size: 0.9rem;
  flex-wrap: wrap;
}
.job-meta span::before {
  content: '•';
  margin-left: 0.6rem;
  color: var(--gold);
}
.job-meta span:first-child::before { content: ''; margin: 0; }

/* FOOTER */
footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.75);
  padding: 4rem 2rem 1.5rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand img { height: 60px; margin-bottom: 1rem; }
.footer-brand h4 { color: white; font-size: 1.2rem; margin-bottom: 0.75rem; }
.footer-brand p { font-size: 0.92rem; line-height: 1.7; }
.footer-col h4 {
  color: var(--gold);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a { font-size: 0.92rem; transition: var(--transition); }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
}

/* PAGE HEADER (non-home pages) */
.page-header {
  background:
    linear-gradient(135deg, rgba(14,42,82,0.92), rgba(8,27,56,0.96)),
    url('https://images.unsplash.com/photo-1554224155-6726b3ff858f?w=1920&q=80') center/cover;
  color: white;
  padding: 5rem 2rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 80% 30%, rgba(201,161,74,0.2), transparent 50%),
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: auto, 40px 40px, 40px 40px;
  pointer-events: none;
}
.page-header > * { position: relative; z-index: 1; }

/* About page background */
.page-header.about-header {
  background:
    linear-gradient(135deg, rgba(14,42,82,0.92), rgba(8,27,56,0.96)),
    url('https://images.unsplash.com/photo-1521737604893-d14cc237f11d?w=1920&q=80') center/cover;
}
.page-header.contact-header {
  background:
    linear-gradient(135deg, rgba(14,42,82,0.92), rgba(8,27,56,0.96)),
    url('https://images.unsplash.com/photo-1486325212027-8081e485255e?w=1920&q=80') center/cover;
}
.page-header.services-header {
  background:
    linear-gradient(135deg, rgba(14,42,82,0.92), rgba(8,27,56,0.96)),
    url('https://images.unsplash.com/photo-1460925895917-afdab827c52f?w=1920&q=80') center/cover;
}
.page-header.articles-header {
  background:
    linear-gradient(135deg, rgba(14,42,82,0.92), rgba(8,27,56,0.96)),
    url('https://images.unsplash.com/photo-1507842217343-583bb7270b66?w=1920&q=80') center/cover;
}
.page-header.jobs-header {
  background:
    linear-gradient(135deg, rgba(14,42,82,0.92), rgba(8,27,56,0.96)),
    url('https://images.unsplash.com/photo-1556761175-5973dc0f32e7?w=1920&q=80') center/cover;
}
.page-header.forms-header {
  background:
    linear-gradient(135deg, rgba(14,42,82,0.92), rgba(8,27,56,0.96)),
    url('https://images.unsplash.com/photo-1450101499163-c8848c66ca85?w=1920&q=80') center/cover;
}
.page-header h1 {
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}
.page-header p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  max-width: 700px;
  margin: 0 auto;
}
.breadcrumb {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 1rem;
}
.breadcrumb a { color: var(--gold); }

/* PROSE (about, article body) */
.prose {
  max-width: 800px;
  margin: 0 auto;
}
.prose p { margin-bottom: 1.25rem; font-size: 1.05rem; color: var(--text-medium); }
.prose h2 { font-size: 1.8rem; color: var(--navy); margin: 2.5rem 0 1rem; }
.prose h3 { font-size: 1.3rem; color: var(--navy); margin: 1.75rem 0 0.75rem; }
.prose ul, .prose ol { margin: 1rem 0 1.5rem 0; padding-right: 1.5rem; }
.prose li { margin-bottom: 0.5rem; color: var(--text-medium); }

/* FLOAT SOCIAL BUTTONS */
.float-stack {
  position: fixed;
  bottom: 20px;
  left: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}
body.ltr .float-stack { left: auto; right: 20px; }
.whatsapp-float, .facebook-float {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
.whatsapp-float { background: #25D366; box-shadow: 0 4px 16px rgba(37,211,102,0.4); }
.facebook-float { background: #1877F2; box-shadow: 0 4px 16px rgba(24,119,242,0.4); }
.youtube-float { background: #FF0000; box-shadow: 0 4px 16px rgba(255,0,0,0.4); }
.whatsapp-float:hover, .facebook-float:hover, .youtube-float:hover { transform: scale(1.08); }
.youtube-float {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: var(--transition);
}

/* ACCESSIBILITY WIDGET */
.a11y-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  box-shadow: 0 4px 16px rgba(14,42,82,0.4);
  transition: var(--transition);
}
.a11y-toggle:hover { transform: scale(1.08); background: var(--navy-dark); }
.a11y-toggle svg { width: 30px; height: 30px; }
body.ltr .a11y-toggle { right: auto; left: 20px; }
body.ltr .a11y-toggle ~ .float-stack { left: auto; right: 20px; }

.a11y-panel {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 300px;
  max-width: calc(100vw - 40px);
  background: white;
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
  z-index: 1000;
  display: none;
  border: 1px solid var(--border);
}
body.ltr .a11y-panel { right: auto; left: 20px; }
.a11y-panel.open { display: block; animation: a11yFadeIn 0.25s ease; }
@keyframes a11yFadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.a11y-panel h3 {
  color: var(--navy);
  font-size: 1.1rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.a11y-close {
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--text-light);
  cursor: pointer;
  line-height: 1;
  padding: 0;
}
.a11y-options { display: grid; gap: 0.5rem; }
.a11y-options button {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.9rem;
  background: var(--light-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-dark);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  text-align: right;
  transition: var(--transition);
}
body.ltr .a11y-options button { text-align: left; }
.a11y-options button:hover { background: var(--navy); color: white; border-color: var(--navy); }
.a11y-options button.active { background: var(--gold); color: white; border-color: var(--gold); }
.a11y-options .a11y-icon {
  width: 22px; height: 22px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Body-level accessibility modes */
body.a11y-large-text { font-size: 18px; }
body.a11y-larger-text { font-size: 20px; }
body.a11y-high-contrast { background: #000 !important; color: #fff !important; }
body.a11y-high-contrast .navbar, body.a11y-high-contrast .section, body.a11y-high-contrast .section.alt,
body.a11y-high-contrast .trust-strip, body.a11y-high-contrast footer { background: #000 !important; color: #fff !important; }
body.a11y-high-contrast h1, body.a11y-high-contrast h2, body.a11y-high-contrast h3, body.a11y-high-contrast h4 { color: #ffff00 !important; }
body.a11y-high-contrast a { color: #00ffff !important; }
body.a11y-high-contrast .btn-primary, body.a11y-high-contrast .btn-gold { background: #ffff00 !important; color: #000 !important; border-color: #ffff00 !important; }
body.a11y-links a:not(.btn):not(.nav-cta) { text-decoration: underline !important; }
body.a11y-no-animations *, body.a11y-no-animations *::before, body.a11y-no-animations *::after {
  animation-duration: 0s !important; transition: none !important;
}

/* COOKIE / PRIVACY BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--navy);
  color: white;
  padding: 1.25rem 1.5rem;
  z-index: 1500;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
  display: none;
  border-top: 3px solid var(--gold);
}
.cookie-banner.show { display: block; animation: slideUp 0.4s ease; }
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
.cookie-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: nowrap;
}
.cookie-text { flex: 1 1 auto; font-size: 0.93rem; line-height: 1.55; min-width: 0; }
.cookie-text a { color: var(--gold); text-decoration: underline; font-weight: 600; white-space: nowrap; }
.cookie-actions { display: flex; gap: 0.5rem; flex-shrink: 0; }
.cookie-actions .btn {
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
  white-space: nowrap;
}
.cookie-btn-accept { background: var(--gold); color: white; }
.cookie-btn-accept:hover { background: var(--gold-dark); }
.cookie-btn-decline {
  background: transparent;
  color: white;
  border: 1px solid rgba(255,255,255,0.3);
}
.cookie-btn-decline:hover { background: rgba(255,255,255,0.1); }
@media (max-width: 700px) {
  .cookie-banner { padding: 1rem; }
  .cookie-inner { flex-direction: column; gap: 0.85rem; align-items: stretch; }
  .cookie-text { text-align: center; font-size: 0.88rem; }
  .cookie-actions { justify-content: center; }
}

/* When cookie banner is showing, push floating widgets up to avoid overlap */
body:has(.cookie-banner.show) .a11y-toggle,
body:has(.cookie-banner.show) .float-stack { bottom: 110px; }
body:has(.cookie-banner.show) .a11y-panel { bottom: 180px; }
@media (max-width: 700px) {
  body:has(.cookie-banner.show) .a11y-toggle,
  body:has(.cookie-banner.show) .float-stack { bottom: 180px; }
  body:has(.cookie-banner.show) .a11y-panel { bottom: 250px; }
}

/* FOOTER SOCIAL ICONS */
.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  transition: var(--transition);
}
.footer-social a:hover { background: var(--gold); color: var(--navy-dark); transform: translateY(-3px); }
.footer-social svg { width: 20px; height: 20px; }

/* RESPONSIVE */
@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero-illustration { max-width: 480px; margin: 0 auto; order: 2; }
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .offices-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    top: 78px;
    right: 0;
    flex-direction: column;
    background: white;
    width: 280px;
    height: calc(100vh - 78px);
    padding: 2rem 1.5rem;
    box-shadow: -4px 0 16px rgba(0,0,0,0.1);
    transform: translateX(100%);
    transition: var(--transition);
    align-items: stretch;
  }
  .nav-links.open { transform: translateX(0); }
  .hamburger {
  appearance: none;
  -webkit-appearance: none;
  background: none;
  border: none;
  color: inherit;
  font: inherit; display: flex; }
  .hero h1 { font-size: 2.2rem; }
  .hero p.lead { font-size: 1.05rem; }
  .hero-stats { gap: 1.5rem; }
  .stat-num { font-size: 1.8rem; }
  .section { padding: 3.5rem 1.5rem; }
  .section h2 { font-size: 1.8rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .job-card { flex-direction: column; align-items: flex-start; }
  .trust-strip-inner { flex-direction: column; text-align: center; }
  .trust-items { justify-content: center; gap: 1.5rem; }
}
@media (max-width: 600px) {
  .footer-inner { grid-template-columns: 1fr; }
  .hero { padding: 3.5rem 1.5rem 4rem; }
  .hero h1 { font-size: 1.85rem; }
  .page-header h1 { font-size: 2rem; }
}

/* LTR English overrides */
body.ltr .download-item:hover { transform: translateX(4px); }
body.ltr .job-meta span::before { margin-left: 0; margin-right: 0.6rem; }
body.ltr .prose ul, body.ltr .prose ol { padding-right: 0; padding-left: 1.5rem; }
body.ltr .whatsapp-float { left: auto; right: 20px; }
