@font-face {
  font-family: "Rubik";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("/assets/fonts/rubik-hebrew.woff2") format("woff2");
  unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+FB1D-FB4F;
}

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

:root {
  --navy: #0f223f;
  --navy-deep: #091629;
  --navy-soft: #142b4b;
  --gold: #e2c18d;
  --gold-light: #f1d39c;
  --gold-dark: #c5a675;
  --cream: #f3f0e8;
  --paper: #fffaf0;
  --ink: #09111f;
  --text-light: rgba(243, 240, 232, 0.86);
  --muted: rgba(243, 240, 232, 0.72);
  --faint: rgba(243, 240, 232, 0.48);
  --border: rgba(226, 193, 141, 0.24);
  --surface: rgba(255, 255, 255, 0.055);
  --surface-strong: rgba(255, 255, 255, 0.09);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
  --radius: 18px;
  --container: 1200px;
  --nav-h: 96px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--cream);
  background: var(--navy-deep);
  font-family: "Rubik", Arial, "Helvetica Neue", sans-serif;
  line-height: 1.75;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--cream); line-height: 1.12; letter-spacing: 0; overflow-wrap: break-word; }
h1 { font-size: clamp(2.45rem, 5.6vw, 5.7rem); margin-bottom: 22px; font-weight: 900; }
h2 { font-size: clamp(1.75rem, 3vw, 3.05rem); margin-bottom: 18px; font-weight: 900; }
h3 { font-size: 1.22rem; line-height: 1.36; font-weight: 900; }
p { color: var(--text-light); }
.gold { color: var(--gold); }
.feature-copy h2 span { color: var(--gold); }

.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }
.narrow { width: min(860px, calc(100% - 40px)); }
.container, .narrow, .hero-copy, .page-hero .container, .sim-card, .sim-step, .sim-result, .sim-secure-page, .sim-secure-main, .sim-secure-wrap, .sim-secure-card, .sim-options, .sim-opt { min-width: 0; }

.skip-link {
  position: fixed;
  top: -60px;
  right: 18px;
  z-index: 10000;
  background: var(--gold);
  color: var(--navy-deep);
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 800;
  text-decoration: none;
}
.skip-link:focus { top: 16px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 8px; }

.motion-reveal {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition:
    opacity 520ms ease,
    transform 520ms ease;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.motion-reveal.reveal-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

html.a11y-font-lg body { font-size: 112.5%; }
html.a11y-font-xl body { font-size: 125%; }
html.a11y-contrast {
  --navy-deep: #000;
  --navy: #050505;
  --navy-soft: #101010;
  --gold: #ffd879;
  --gold-light: #ffe6a6;
  --cream: #fff;
  --text-light: #fff;
  --muted: #f6f6f6;
  --faint: #e7e7e7;
  --border: rgba(255, 216, 121, 0.64);
  --surface: rgba(255, 255, 255, 0.12);
  --surface-strong: rgba(255, 255, 255, 0.18);
}
html.a11y-links a:not(.btn):not(.nav-cta):not(.a11y-toggle) {
  text-decoration: underline !important;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
html.a11y-reduce-motion *,
html.a11y-reduce-motion *::before,
html.a11y-reduce-motion *::after {
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
  scroll-behavior: auto !important;
  transition-duration: 0.01ms !important;
}
html.a11y-reduce-motion .motion-reveal {
  opacity: 1 !important;
  transform: none !important;
}

.a11y-widget {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1200;
  direction: rtl;
}
.a11y-toggle {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(226, 193, 141, 0.42);
  border-radius: 999px;
  background: var(--gold);
  color: var(--navy-deep);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.26);
  cursor: pointer;
}
.a11y-toggle svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.a11y-panel {
  position: absolute;
  right: 0;
  bottom: 58px;
  width: min(292px, calc(100vw - 32px));
  padding: 14px;
  border: 1px solid rgba(226, 193, 141, 0.28);
  border-radius: 16px;
  background: #091629;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(18px);
}
.a11y-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.a11y-panel-head strong {
  color: var(--cream);
  font-size: 1rem;
}
.a11y-close {
  width: 30px;
  height: 30px;
  border: 1px solid rgba(226, 193, 141, 0.24);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--cream);
  cursor: pointer;
  font: inherit;
  line-height: 1;
}
.a11y-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
.a11y-actions button,
.a11y-actions a {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 8px 11px;
  border: 1px solid rgba(226, 193, 141, 0.18);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--text-light);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}
.a11y-actions button:hover,
.a11y-actions a:hover,
.a11y-actions button[aria-pressed="true"] {
  border-color: rgba(226, 193, 141, 0.48);
  background: rgba(226, 193, 141, 0.16);
  color: var(--gold-light);
}
.a11y-live {
  min-height: 1px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.consent-banner {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 1100;
  pointer-events: none;
}
.consent-banner[hidden] { display: none; }
.consent-banner-inner {
  width: min(780px, calc(100vw - 36px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid rgba(226, 193, 141, 0.28);
  border-radius: 18px;
  background: rgba(9, 22, 41, 0.96);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.34);
  pointer-events: auto;
}
.consent-banner strong {
  display: block;
  color: var(--gold);
  font-weight: 900;
  margin-bottom: 2px;
}
.consent-banner p {
  margin: 0;
  color: var(--text-light);
  font-size: 0.92rem;
  line-height: 1.55;
}
.consent-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.consent-actions .btn {
  min-height: 42px;
  padding: 9px 16px;
}
.consent-actions a {
  color: var(--gold-light);
  font-weight: 800;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(9, 22, 41, 0.94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(226, 193, 141, 0.16);
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(9, 22, 41, 0.9);
  border-bottom-color: rgba(226, 193, 141, 0.22);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
}

.nav-inner {
  width: min(1320px, calc(100% - 40px));
  position: relative;
  min-height: var(--nav-h);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
}

.brand {
  width: 292px;
  flex: 0 0 auto;
  text-decoration: none;
}
.brand picture,
.footer-logo picture {
  display: block;
}
.brand img { width: 100%; height: auto; }

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.primary-nav > a,
.nav-dropdown-toggle,
.nav-cta {
  position: relative;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 800;
  padding: 10px 6px;
  color: var(--muted);
  white-space: nowrap;
}

.primary-nav > a:hover,
.primary-nav > a.active,
.nav-dropdown-toggle:hover,
.nav-dropdown-toggle.active,
.nav-dropdown.open .nav-dropdown-toggle { color: var(--gold); }

.primary-nav > a.active::after,
.nav-dropdown-toggle.active::after {
  content: "";
  position: absolute;
  right: 50%;
  bottom: -14px;
  width: 28px;
  height: 2px;
  transform: translateX(50%);
  background: var(--gold);
  border-radius: 99px;
}

.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  right: 0;
  width: 258px;
  height: 22px;
  pointer-events: auto;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 0;
  background: transparent;
  font-family: inherit;
  cursor: pointer;
}

.nav-dropdown-toggle svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 180ms ease;
}

.nav-dropdown.open .nav-dropdown-toggle svg {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 18px);
  right: 0;
  z-index: 1010;
  width: 258px;
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 1px solid rgba(226, 193, 141, 0.22);
  border-radius: 16px;
  background: #091629;
  box-shadow: 0 24px 62px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.nav-dropdown-menu::before {
  content: "";
  position: absolute;
  top: -10px;
  right: 24px;
  width: 16px;
  height: 16px;
  border-top: 1px solid rgba(226, 193, 141, 0.22);
  border-right: 1px solid rgba(226, 193, 141, 0.22);
  background: rgba(9, 22, 41, 0.98);
  transform: rotate(-45deg);
}

.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

@media (hover: hover) {
  .nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-dropdown:hover .nav-dropdown-toggle svg {
    transform: rotate(180deg);
  }
}

.nav-dropdown-menu a {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--text-light);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
  white-space: normal;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a.active {
  background: rgba(226, 193, 141, 0.12);
  color: var(--gold-light);
}

.nav-cta {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: 0;
  border-radius: 12px;
  color: var(--navy-deep);
  background: var(--gold);
  box-shadow: 0 16px 36px rgba(226, 193, 141, 0.22);
  font-family: inherit;
  cursor: pointer;
}

.contact-icon {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: var(--surface);
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--cream);
  margin: 0;
  border-radius: 999px;
  transition: transform 180ms ease, opacity 180ms ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

body[data-route="/"] .site-header .brand { display: none; }
body[data-route="/"] .nav-inner { grid-template-columns: 1fr auto; }
body[data-route="/"] .primary-nav { justify-content: flex-start; }

.home-hero {
  position: relative;
  min-height: calc(100svh - var(--nav-h));
  display: grid;
  align-items: start;
  padding: 58px 0 76px;
  overflow: hidden;
  isolation: isolate;
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 9% auto auto -21%;
  width: min(860px, 84vw);
  aspect-ratio: 1;
  border: 1px solid rgba(226, 193, 141, 0.08);
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 0 32%, rgba(226, 193, 141, 0.06) 32.2% 32.5%, transparent 32.8%),
    radial-gradient(circle, transparent 0 57%, rgba(243, 240, 232, 0.06) 57.2% 57.5%, transparent 57.8%),
    radial-gradient(circle, transparent 0 78%, rgba(226, 193, 141, 0.05) 78.2% 78.5%, transparent 78.8%);
  opacity: 0.86;
  pointer-events: none;
  z-index: -1;
}

.hero-center {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  text-align: center;
}

.hero-center > picture {
  display: block;
  width: min(660px, 82vw);
  margin: 0 auto 34px;
}
.hero-logo { width: 100%; height: auto; }

.home-hero h1 {
  max-width: 840px;
  margin-inline: auto;
  font-size: clamp(2.2rem, 3.3vw, 3.45rem);
  line-height: 1.16;
}

.home-hero h1 span,
.page-hero h1 span { color: var(--gold); }

.hero-copy p,
.page-hero p,
.section-title p {
  max-width: 1120px;
  margin-inline: auto;
  color: var(--text-light);
  font-size: clamp(0.96rem, 1.08vw, 1.08rem);
  line-height: 1.78;
}

.hero-copy p + p,
.section-title p + p { margin-top: 14px; }

.actions { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; margin-top: 28px; }
.center-actions { justify-content: center; }

.btn {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 14px 28px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  font: inherit;
}

.btn.primary {
  color: var(--navy-deep);
  background: var(--gold);
  box-shadow: 0 18px 44px rgba(226, 193, 141, 0.24);
}
.btn.ghost { color: var(--gold); border-color: rgba(226, 193, 141, 0.45); background: rgba(255, 255, 255, 0.035); }
.btn.text { color: var(--gold); background: transparent; border-color: transparent; min-height: 44px; }
.btn.block { width: 100%; }
.btn:disabled { opacity: 0.48; cursor: not-allowed; }

.btn-icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.stats-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.hero-stats {
  width: min(900px, 100%);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 28px auto 0;
}

.card,
.stat-card,
.service-card,
.feature-card,
.testimonial-card,
.cta-block,
.sim-card,
.faq-item,
.admin-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18);
}

.stat-card {
  min-height: 145px;
  padding: 18px 22px;
  display: grid;
  justify-items: center;
  align-content: center;
  text-align: center;
  gap: 4px;
}

.icon-badge {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 8px;
  color: var(--gold);
  background: rgba(255, 255, 255, 0.07);
  border-radius: 13px;
  font-weight: 900;
}

.icon-badge::before { font-size: 1.25rem; line-height: 1; }
.icon-home::before { content: "⌂"; }
.icon-shield::before { content: "◖"; }
.icon-star::before { content: "★"; }
.icon-percent::before { content: "%"; }
.icon-wallet::before { content: "₪"; }
.icon-chart::before { content: "↗"; }
.icon-car::before { content: "▰"; }

.stat-card strong {
  display: block;
  color: var(--gold);
  font-size: clamp(1.45rem, 2vw, 2.1rem);
  line-height: 1.05;
  font-weight: 900;
}

.stat-card .icon-badge {
  width: 40px;
  height: 40px;
  margin-bottom: 2px;
  border-radius: 12px;
}

.stat-prefix {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.stat-card span:not(.icon-badge):not(.stat-prefix) {
  display: block;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.28;
}

.stat-card small {
  display: block;
  color: var(--gold);
  font-weight: 900;
  line-height: 1.25;
}

.section { padding: 84px 0; }
.section.alt { background: rgba(255, 255, 255, 0.035); border-block: 1px solid rgba(255, 255, 255, 0.05); }
.section-title { text-align: center; max-width: 980px; margin: 0 auto 42px; }
.section-title h1,
.section-title h2,
.feature-copy h1 { font-size: clamp(1.75rem, 3vw, 3.05rem); line-height: 1.16; margin-bottom: 18px; }
.eyebrow {
  display: inline-block;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 900;
  margin-bottom: 12px;
}

.page-hero {
  padding: 86px 0 66px;
  text-align: center;
  background: linear-gradient(180deg, rgba(226, 193, 141, 0.08), transparent);
}
.page-hero h1 { margin-inline: auto; max-width: 980px; }
.page-hero p { margin-inline: auto; max-width: 920px; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.service-card {
  min-height: 345px;
  padding: 34px;
  display: grid;
  align-content: start;
  gap: 14px;
}

.service-card .icon-badge,
.feature-card .icon-badge {
  justify-self: start;
}

.service-card h3,
.feature-card h3 { margin-bottom: 0; }

.service-card p,
.feature-card p,
.card p {
  color: var(--muted);
  margin-bottom: 0;
}

.service-link,
.card a {
  align-self: end;
  color: var(--gold);
  font-weight: 900;
  text-decoration: none;
  margin-top: 10px;
}

.fair-section {
  background: rgba(255, 255, 255, 0.032);
  border-block: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-block,
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.92fr);
  gap: clamp(30px, 5vw, 76px);
  align-items: center;
}

.feature-copy p {
  max-width: 640px;
  margin-bottom: 28px;
}

.feature-visual,
.image-frame {
  position: relative;
  border: 1px solid rgba(226, 193, 141, 0.34);
  background: var(--paper);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.feature-visual picture,
.brand-image-frame picture,
.wide-image-frame picture,
.image-frame picture {
  display: block;
}

.feature-visual img,
.brand-image-frame img,
.image-frame img {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.visual-pill {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  color: var(--navy-deep);
  background: var(--gold);
  border-radius: 12px;
  font-weight: 900;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}
.visual-pill-top { top: 20px; right: 20px; }
.visual-pill-bottom { left: 20px; bottom: 20px; }

.feature-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  min-height: 230px;
  padding: 28px;
}

.steps {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  display: grid;
  gap: 16px;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 16px;
  row-gap: 6px;
  align-items: start;
  padding: 20px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  min-width: 0;
}

.steps li::before {
  content: counter(step);
  grid-row: 1 / span 2;
  grid-column: 1;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  color: var(--navy-deep);
  background: var(--gold);
  border-radius: 14px;
  font-weight: 900;
  font-size: 1.08rem;
}

.steps strong,
.steps span {
  grid-column: 2;
  min-width: 0;
}

.steps strong {
  display: block;
  color: var(--cream);
  font-size: 1.08rem;
  line-height: 1.35;
}

.steps span {
  display: block;
  color: var(--muted);
  line-height: 1.7;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.testimonial-card {
  min-height: 285px;
  padding: 26px;
  margin: 0;
  display: grid;
  align-content: space-between;
  gap: 20px;
}

.testimonial-card blockquote {
  position: relative;
  margin: 0;
  color: var(--muted);
  line-height: 1.78;
}

.testimonial-card figcaption {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 0;
}

.avatar-initial {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--navy-deep);
  background: var(--gold);
  font-weight: 900;
}

.testimonial-card figcaption strong,
.testimonial-card figcaption small {
  display: block;
}
.testimonial-card figcaption small { color: var(--faint); }

.cta-section {
  background: linear-gradient(180deg, rgba(226, 193, 141, 0.06), transparent);
}

.cta-block {
  padding: clamp(34px, 5.2vw, 68px);
  text-align: center;
  background: linear-gradient(135deg, rgba(226, 193, 141, 0.16), rgba(255, 255, 255, 0.045));
}

.cta-block p {
  color: var(--muted);
  max-width: 760px;
  margin-inline: auto;
}

.cta-block .actions { justify-content: center; }

.card {
  padding: 28px;
  min-height: 220px;
}

.sim-card { padding: clamp(22px, 4vw, 42px); }
.sim-progress { height: 8px; background: rgba(255, 255, 255, 0.08); border-radius: 999px; overflow: hidden; margin-bottom: 32px; }
.sim-progress span { display: block; height: 100%; width: 0%; background: var(--gold); transition: width 0.25s ease; }
.sim-step, .sim-result, .lead-form { text-align: center; }
.sim-count { color: var(--gold); font-weight: 800; }
.sim-options { display: grid; gap: 12px; margin: 28px 0; }
.sim-opt {
  width: 100%;
  min-height: 58px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
  color: var(--cream);
  border-radius: 14px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.45;
}
.sim-opt:hover { background: rgba(226, 193, 141, 0.14); border-color: var(--gold); }
.sim-opt.selected { background: rgba(226, 193, 141, 0.22); border-color: var(--gold); color: var(--gold); }
.sim-nav { display: flex; justify-content: space-between; gap: 12px; }
.loader { width: 56px; height: 56px; margin: 0 auto 18px; border: 4px solid rgba(255, 255, 255, 0.14); border-top-color: var(--gold); border-radius: 50%; animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.result-icon {
  width: 74px;
  height: 74px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 2rem;
  font-weight: 900;
}
.result-icon.success { background: rgba(74, 222, 128, 0.14); color: #4ade80; }
.result-icon.warning { background: rgba(251, 191, 36, 0.14); color: #fbbf24; }
.lead-form { display: grid; gap: 18px; max-width: 520px; margin-inline: auto; text-align: right; }
.lead-form label, .admin-panel label { display: grid; gap: 8px; font-weight: 800; }
.privacy-microcopy {
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
}
.form-input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  color: var(--cream);
  background: rgba(255, 255, 255, 0.07);
  font: inherit;
}
.form-input option,
.form-input optgroup {
  color: #091629;
  background: #ffffff;
}
.form-input::placeholder { color: var(--faint); }
.ltr { direction: ltr; text-align: left; }
.hp-field { position: absolute; right: -10000px; width: 1px; height: 1px; opacity: 0; }
.consent-row { display: grid !important; grid-template-columns: 22px 1fr; align-items: start; font-weight: 500 !important; color: var(--muted); }
.form-message { padding: 12px 14px; border-radius: 12px; background: rgba(226, 193, 141, 0.13); border: 1px solid var(--border); }
.form-message.error { background: rgba(248, 113, 113, 0.14); border-color: rgba(248, 113, 113, 0.36); }
.form-message.success { background: rgba(74, 222, 128, 0.14); border-color: rgba(74, 222, 128, 0.36); }

.contact-form {
  position: relative;
  display: grid;
  gap: 16px;
  width: 100%;
  text-align: right;
}
.contact-form-inline {
  width: min(760px, 100%);
  margin: 30px auto 0;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(226, 193, 141, 0.22);
  border-radius: 18px;
  background: rgba(9, 22, 41, 0.46);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.contact-form-modal {
  padding: 6px;
}
.contact-form-head {
  text-align: center;
}
.contact-form-head h3 {
  margin-bottom: 0;
  font-size: clamp(1.25rem, 2.3vw, 1.7rem);
}
.contact-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.contact-fields label {
  display: grid;
  gap: 7px;
  color: var(--cream);
  font-weight: 800;
}
.contact-fields .span-2 {
  grid-column: 1 / -1;
}
.contact-fields textarea.form-input {
  min-height: 92px;
  resize: vertical;
}
.contact-modal[hidden] {
  display: none;
}
.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: grid;
  place-items: center;
  padding: 22px;
  direction: rtl;
}
.contact-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 10, 20, 0.74);
  backdrop-filter: blur(12px);
}
.contact-modal-panel {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  max-height: min(88svh, 820px);
  overflow: auto;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(226, 193, 141, 0.28);
  border-radius: 24px;
  background:
    radial-gradient(circle at 16% 14%, rgba(226, 193, 141, 0.13), transparent 34%),
    rgba(12, 29, 52, 0.98);
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.48);
}
.contact-modal-close {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 14px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(226, 193, 141, 0.22);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--cream);
  font: inherit;
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
}
body.contact-modal-open {
  overflow: hidden;
}

.faq-list { display: grid; gap: 12px; }
.faq-q {
  width: 100%;
  min-height: 62px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  color: var(--cream);
  background: transparent;
  border: 0;
  text-align: right;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}
.faq-q b { color: var(--gold); font-size: 1.3rem; }
.faq-a { padding: 0 22px 22px; color: var(--muted); }
.legal-page p { color: var(--muted); font-size: 1.08rem; }

.site-footer { padding: 64px 0 24px; background: #06101f; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 0.8fr 0.9fr; gap: 36px; }
.footer-logo { width: 260px; margin-bottom: 20px; }
.footer-grid h2 { font-size: 1.05rem; color: var(--gold); margin-bottom: 12px; }
.footer-subtitle { margin-top: 22px; }
.footer-grid a { display: block; color: var(--muted); text-decoration: none; margin: 8px 0; }
.footer-grid p, .contact-list { color: var(--muted); }
.contact-list { padding: 0; list-style: none; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; color: var(--faint); border-top: 1px solid rgba(255, 255, 255, 0.07); margin-top: 34px; padding-top: 20px; font-size: 0.9rem; }
.footer-credit {
  color: rgba(243, 240, 232, 0.42);
  text-decoration: none;
  font-size: 0.82rem;
  white-space: nowrap;
  transition: color 180ms ease;
}
.footer-credit:hover,
.footer-credit:focus-visible {
  color: rgba(226, 193, 141, 0.78);
}

.icon-home::before { content: "⌂"; }
.icon-shield::before { content: "◈"; }
.icon-star::before { content: "★"; }
.icon-wallet::before { content: "₪"; }
.icon-chart::before { content: "↗"; }
.icon-car::before { content: "▰"; }
.icon-bank::before { content: "▦"; }
.icon-signature::before { content: "✎"; }
.icon-key::before { content: "⚿"; }
.icon-handshake::before { content: "◇"; }
.icon-route::before { content: "↬"; }
.icon-mobile::before { content: "▯"; }
.icon-advisor::before { content: "●"; }
.icon-eye::before { content: "◉"; }

.section-title-block { margin-bottom: 46px; }
.hero-note { margin-top: 18px !important; font-size: 0.95rem !important; opacity: 0.78; }
.grid-2x2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3,
.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.approach-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  color: var(--gold);
  background: rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  font-weight: 900;
  font-size: 1.35rem;
}

.card-icon::before { line-height: 1; }
.approach-card {
  min-height: 250px;
  padding: 28px;
}
.approach-card h3,
.card h3,
.feature-card h3 {
  color: var(--gold);
  font-size: 1.05rem;
  margin-bottom: 10px;
}
.centered-card { text-align: center; }
.centered-card .card-icon { margin-inline: auto; }

.brand-image-frame,
.wide-image-frame {
  position: relative;
  border: 1px solid rgba(226, 193, 141, 0.34);
  background: var(--paper);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.wide-image-frame {
  margin-top: 42px;
  border-radius: 24px;
}
.wide-image-frame img {
  width: 100%;
  display: block;
}
.image-chip {
  gap: 8px;
  z-index: 2;
}
.image-chip-top-right { top: 20px; right: 20px; }
.image-chip-bottom-left { left: 20px; bottom: 20px; }

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.metric-grid div {
  min-height: 132px;
  display: grid;
  place-content: center;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
}
.metric-grid strong {
  color: var(--gold);
  font-size: clamp(1.85rem, 4vw, 2.35rem);
  line-height: 1;
}
.metric-grid span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.88rem;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.step-card {
  min-height: 240px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.step-num {
  display: inline-grid;
  place-items: center;
  min-width: 54px;
  height: 44px;
  padding-inline: 12px;
  margin-bottom: 18px;
  color: var(--navy-deep);
  background: var(--gold);
  border-radius: 12px;
  font-weight: 900;
}
.step-card h3 {
  color: var(--cream);
  margin-bottom: 12px;
}
.step-card p { color: var(--muted); }

.family-image-section { padding-top: 16px; padding-bottom: 36px; }
.family-image-frame {
  width: min(860px, 100%);
  margin-inline: auto;
}
.family-image-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.holistic-list {
  display: grid;
  gap: 18px;
  width: min(940px, 100%);
  margin-inline: auto;
}
.holistic-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.holistic-num {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  color: var(--navy-deep);
  background: var(--gold);
  border-radius: 14px;
  font-weight: 900;
}
.holistic-content h3 {
  margin-bottom: 8px;
  color: var(--cream);
}
.holistic-content p {
  margin-bottom: 0;
  color: var(--muted);
}

.sim-secure-page {
  min-height: calc(100svh - var(--nav-h));
  background: var(--navy);
  display: flex;
  flex-direction: column;
}
.sim-secure-header {
  width: min(760px, calc(100% - 32px));
  margin: 0 auto;
  padding: 26px 0 14px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
.sim-secure-brand img {
  width: 74px;
  height: 74px;
  object-fit: contain;
  padding: 9px;
  border: 1px solid rgba(226, 193, 141, 0.2);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.16);
}
.sim-secure-status {
  display: flex;
  align-items: center;
  gap: 12px;
}
.security-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  padding: 6px 11px;
  border: 1px solid rgba(226, 193, 141, 0.34);
  border-radius: 999px;
  background: rgba(226, 193, 141, 0.1);
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 800;
}
.security-badge svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sim-secure-status .sim-count {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-size: 0.78rem;
}
.sim-secure-status .sim-count:empty { display: none; }
.sim-secure-main {
  flex: 1;
  display: grid;
  align-content: center;
  padding: 18px 16px 48px;
}
.sim-welcome {
  text-align: center;
  margin-bottom: 28px;
}
.sim-welcome h1 {
  font-size: clamp(2rem, 6vw, 3rem);
  margin-bottom: 8px;
}
.sim-welcome p {
  color: var(--gold);
  font-size: 0.95rem;
}
.sim-secure-wrap {
  width: min(600px, 100%);
  margin-inline: auto;
}
.sim-secure-card {
  min-height: 370px;
  padding: clamp(28px, 5vw, 48px);
  border-radius: 24px;
  backdrop-filter: blur(10px);
}
.sim-secure-card .sim-step h2 {
  text-align: right;
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  margin-bottom: 24px;
}
.sim-secure-card .sim-options {
  margin: 0;
  gap: 12px;
}
.sim-secure-card .sim-opt {
  min-height: 64px;
  padding: 16px 18px;
  text-align: right;
  border-width: 2px;
}
.sim-secure-card .sim-nav {
  margin-top: 32px;
}
.sim-secure-card .lead-form {
  max-width: 100%;
}
.security-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 12px;
  margin-bottom: 20px;
  border: 1px solid rgba(226, 193, 141, 0.22);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(9, 22, 41, 0.38), rgba(226, 193, 141, 0.08));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.security-row span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 38px;
  padding: 7px 9px;
  border: 1px solid rgba(226, 193, 141, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text-light);
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
}
.security-row svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sim-secure-note {
  display: inline-flex;
  justify-content: center;
  margin: 12px auto 18px;
  padding: 8px 12px;
  border: 1px solid rgba(226, 193, 141, 0.18);
  border-radius: 999px;
  color: var(--gold-light);
  background: rgba(226, 193, 141, 0.08);
  font-size: 0.86rem;
  font-weight: 800;
}
.bank-strip {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}
.bank-strip p {
  color: var(--faint);
  font-size: 0.72rem;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.bank-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.bank-logos span {
  width: 95px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px 8px;
  background: #fff;
  border-radius: 8px;
}
.bank-logos img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.admin-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 14% 18%, rgba(226, 193, 141, 0.12), transparent 30%),
    linear-gradient(145deg, var(--navy-deep) 0%, #101f37 52%, #081222 100%);
  color: var(--cream);
}
.admin-body h1,
.admin-body h2,
.admin-body h3 { color: var(--cream); }
.admin-body p { color: rgba(243, 240, 232, 0.74); }
.admin-login { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.admin-panel {
  background: rgba(20, 43, 75, 0.92);
  color: var(--cream);
  border-color: rgba(226, 193, 141, 0.24);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
  padding: 28px;
  backdrop-filter: blur(14px);
  min-width: 0;
  max-width: 100%;
}
.admin-login .admin-panel { width: min(440px, 100%); }
.admin-login img { width: 220px; margin: 0 auto 18px; background: var(--navy-deep); border-radius: 12px; padding: 10px; }
.admin-hint { color: rgba(243, 240, 232, 0.68); font-size: 0.9rem; }
.admin-topbar {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  background: rgba(9, 22, 41, 0.92);
  border-bottom: 1px solid rgba(226, 193, 141, 0.2);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
}
.admin-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; text-decoration: none; color: var(--cream); }
.admin-brand img { width: 38px; height: 38px; }
.admin-topbar nav { display: flex; gap: 10px; flex-wrap: wrap; }
.admin-topbar a {
  color: rgba(243, 240, 232, 0.76);
  text-decoration: none;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
}
.admin-topbar a:hover,
.admin-topbar nav a.active {
  color: var(--navy-deep);
  background: var(--gold);
}
.admin-shell { width: min(1280px, calc(100% - 32px)); margin: 30px auto 18px; display: grid; gap: 18px; }
.admin-list-head, .admin-detail-head { display: flex; justify-content: space-between; gap: 18px; align-items: start; }
.admin-list-head > div,
.admin-detail-head > div,
.admin-tabs,
.admin-table { min-width: 0; max-width: 100%; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.94rem; color: var(--cream); }
.admin-table th, .admin-table td { padding: 14px 10px; border-bottom: 1px solid rgba(226, 193, 141, 0.12); text-align: right; vertical-align: top; }
.admin-table th { color: rgba(243, 240, 232, 0.58); font-size: 0.82rem; }
.admin-table tbody tr:hover { background: rgba(255, 255, 255, 0.035); }
.admin-table a, .back-link { color: var(--gold-light); font-weight: 800; }
.admin-kind-help {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.admin-kind-help span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid rgba(226, 193, 141, 0.18);
  border-radius: 999px;
  background: rgba(9, 22, 41, 0.34);
  color: rgba(243, 240, 232, 0.7);
  font-size: 0.82rem;
}
.admin-kind-help strong { color: var(--gold-light); margin-inline-end: 4px; }
.admin-rejection-summary {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  margin: 8px 0 16px;
  padding: 12px 14px;
  border: 1px solid rgba(248, 113, 113, 0.34);
  border-radius: 12px;
  background: rgba(127, 29, 29, 0.2);
  color: #fecaca;
}
.admin-rejection-summary strong { color: #fff; }
.admin-answer-failed {
  background: rgba(127, 29, 29, 0.24);
  box-shadow: inset 4px 0 0 rgba(248, 113, 113, 0.9);
}
.admin-table tbody tr.admin-answer-failed:hover { background: rgba(127, 29, 29, 0.3); }
.admin-fail-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(248, 113, 113, 0.18);
  color: #fecaca;
  border: 1px solid rgba(248, 113, 113, 0.34);
  font-weight: 900;
  font-size: 0.78rem;
  white-space: nowrap;
}
.admin-muted {
  color: rgba(243, 240, 232, 0.45);
  font-size: 0.82rem;
}
.admin-meta-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.admin-meta-grid div { background: rgba(9, 22, 41, 0.38); border: 1px solid rgba(226, 193, 141, 0.16); border-radius: 12px; padding: 14px; }
.admin-meta-grid span, .admin-meta-grid strong { display: block; }
.admin-meta-grid span { color: rgba(243, 240, 232, 0.55); font-size: 0.82rem; }
.admin-meta-grid strong { color: var(--cream); overflow-wrap: anywhere; }
.status-form { display: flex; gap: 10px; align-items: end; }
.admin-body .form-input { background: rgba(9, 22, 41, 0.52); color: var(--cream); border-color: rgba(226, 193, 141, 0.24); }
.admin-body .form-input::placeholder { color: rgba(243, 240, 232, 0.46); }
.admin-body .btn.ghost { color: var(--cream); border-color: rgba(226, 193, 141, 0.28); background: rgba(255, 255, 255, 0.06); }
.admin-body .btn.primary { background: var(--gold); color: #111827; }
.admin-body .btn.danger { background: #b42318; border-color: #b42318; color: #fff; }
.btn.small { min-height: 36px; padding: 8px 12px; font-size: 0.86rem; }
.btn.block { width: 100%; }
.admin-auth-form,
.admin-note-form { display: grid; gap: 16px; margin-top: 18px; }
.admin-secret-box {
  display: grid;
  gap: 6px;
  padding: 14px;
  margin: 16px 0;
  border: 1px solid rgba(226, 193, 141, 0.24);
  border-radius: 12px;
  background: rgba(9, 22, 41, 0.44);
}
.admin-secret-box span { color: rgba(243, 240, 232, 0.6); font-size: 0.82rem; }
.admin-secret-box strong { color: var(--gold); letter-spacing: 0.04em; overflow-wrap: anywhere; }
.monospace { font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace; direction: ltr; text-align: left; }
.inline-form { display: inline-flex; margin: 0; }
.admin-topbar nav a.active { font-weight: 900; }
.admin-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0;
}
.admin-tabs a {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(226, 193, 141, 0.2);
  border-radius: 12px;
  color: var(--cream);
  background: rgba(9, 22, 41, 0.42);
  text-decoration: none;
  font-weight: 800;
}
.admin-tabs a.active { border-color: var(--gold); background: rgba(226, 193, 141, 0.12); }
.admin-tabs span {
  min-width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--gold);
  color: var(--navy-deep);
  font-size: 0.8rem;
}
.admin-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(226, 193, 141, 0.13);
  color: var(--gold-light);
  font-weight: 800;
  font-size: 0.82rem;
}
.admin-pill.session { background: rgba(74, 222, 128, 0.12); color: #86efac; }
.admin-actions,
.admin-row-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.admin-row-actions form { margin: 0; }
.admin-timeline { display: grid; gap: 12px; margin-top: 18px; }
.admin-timeline article {
  padding: 14px;
  border: 1px solid rgba(226, 193, 141, 0.14);
  border-radius: 12px;
  background: rgba(9, 22, 41, 0.38);
}
.admin-timeline time { display: block; color: rgba(243, 240, 232, 0.52); font-size: 0.82rem; margin-bottom: 6px; }
.admin-event-timeline {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}
.admin-event-timeline article {
  display: grid;
  grid-template-columns: minmax(130px, 190px) minmax(120px, 160px) minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid rgba(226, 193, 141, 0.14);
  border-radius: 12px;
  background: rgba(9, 22, 41, 0.32);
}
.admin-event-timeline strong { color: var(--gold-light); }
.admin-event-timeline span,
.admin-event-timeline small {
  color: rgba(243, 240, 232, 0.62);
  overflow-wrap: anywhere;
}
.danger-zone { border-color: rgba(254, 205, 202, 0.36); background: rgba(180, 35, 24, 0.1); }
.inline-danger-form { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.check-line { display: inline-flex !important; grid-template-columns: auto 1fr; align-items: center; gap: 8px; font-weight: 700 !important; }
.admin-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}
.admin-form-grid .span-2 { grid-column: 1 / -1; }
.admin-blocks-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
  margin: 26px 0 12px;
}
.admin-blocks-head p { color: rgba(243, 240, 232, 0.62); margin: 0; }
.encoding-badge {
  display: inline-flex;
  vertical-align: middle;
  margin-inline-start: 8px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(251, 191, 36, 0.14);
  color: #fbbf24;
  font-size: 0.72rem;
  font-weight: 800;
  white-space: nowrap;
}
.admin-credit {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto 24px;
  color: rgba(243, 240, 232, 0.5);
  font-size: 0.82rem;
  text-align: center;
}
.admin-credit strong { color: var(--gold); }
.article-block-editor { display: grid; gap: 14px; margin-bottom: 20px; }
.article-block-row {
  display: grid;
  grid-template-columns: minmax(130px, 180px) minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.article-card {
  display: grid;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}
.article-thumb {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 16px;
  background: rgba(255,255,255,0.06);
}
.article-thumb img,
.article-cover img,
.article-content figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.article-card time,
.article-page time { color: var(--muted); font-size: 0.9rem; }
.article-card h2 { font-size: clamp(1.25rem, 2vw, 1.65rem); margin: 8px 0; }
.article-card h2 a { color: var(--text); text-decoration: none; }
.article-page { color: var(--text); }
.article-cover { margin-top: -34px; position: relative; z-index: 1; }
.article-cover img { max-height: 480px; border-radius: var(--radius-lg); border: 1px solid var(--border); }
.article-content {
  font-size: 1.08rem;
  line-height: 1.9;
}
.article-content h2 { margin-top: 28px; font-size: clamp(1.55rem, 3vw, 2.2rem); }
.article-content blockquote {
  margin: 28px 0;
  padding: 22px;
  border-inline-start: 4px solid var(--gold);
  background: rgba(226, 193, 141, 0.08);
  border-radius: 14px;
}
.article-content figure { margin: 28px 0; }
.article-content figure img { height: auto; border-radius: 16px; border: 1px solid var(--border); }

@media (max-width: 1320px) {
  .nav-inner {
    width: min(100% - 28px, 1260px);
    gap: 14px;
  }
  .brand { width: 230px; }
  .primary-nav { gap: 6px; }
  .primary-nav a {
    font-size: 0.82rem;
    padding-inline: 4px;
  }
  .nav-cta {
    min-height: 52px;
    padding-inline: 16px;
  }
}

@media (max-width: 1180px) {
  .brand { width: 218px; }
  .brand img { width: 100%; }
  .primary-nav { gap: 9px; }
  .primary-nav a { font-size: 0.84rem; }
  .testimonial-grid,
  .feature-card-grid,
  .grid-3,
  .approach-grid,
  .steps-grid,
  .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  :root { --nav-h: 72px; }
  body:not(.admin-body) {
    padding-top: var(--nav-h);
  }
  .site-header {
    position: fixed;
    inset: 0 0 auto 0;
    width: 100%;
    background: rgba(9, 22, 41, 0.78);
    backdrop-filter: blur(22px) saturate(130%);
  }
  .site-header.is-scrolled {
    background: rgba(9, 22, 41, 0.94);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
  }
  .nav-inner {
    min-height: var(--nav-h);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    direction: rtl;
    gap: 10px 14px;
  }
  .brand,
  body[data-route="/"] .site-header .brand {
    width: 156px;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    order: 1;
  }
  .brand img { width: 100%; }
  .nav-toggle {
    display: inline-flex;
    order: 2;
    width: 52px;
    height: 52px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(226, 193, 141, 0.14);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.075);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  }
  .primary-nav {
    display: none;
    order: 3;
    flex: 0 0 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0 0 12px;
    padding: 8px;
    border: 1px solid rgba(226, 193, 141, 0.18);
    border-radius: 18px;
    background: rgba(13, 31, 55, 0.96);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
    direction: rtl;
  }
  .primary-nav.open { display: flex; }
  .primary-nav > a,
  .nav-dropdown-toggle {
    width: 100%;
    display: flex;
    min-height: 56px;
    align-items: center;
    justify-content: space-between;
    padding: 13px 14px;
    text-align: right;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    color: var(--text-light);
  }
  .primary-nav > a:last-child { border-bottom: 0; }
  .primary-nav > a.active,
  .primary-nav > a:hover,
  .nav-dropdown-toggle.active,
  .nav-dropdown-toggle:hover,
  .nav-dropdown.open .nav-dropdown-toggle {
    background: rgba(226, 193, 141, 0.1);
    color: var(--gold-light);
  }
  .primary-nav > a.active::after,
  .nav-dropdown-toggle.active::after { display: none; }
  .nav-dropdown {
    width: 100%;
    display: grid;
  }
  .nav-dropdown::after { display: none; }
  .nav-dropdown-menu {
    position: static;
    width: 100%;
    display: none;
    margin: 6px 0 4px;
    padding: 8px;
    border-color: rgba(226, 193, 141, 0.14);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.035);
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    transition: none;
  }
  .nav-dropdown.open .nav-dropdown-menu { display: grid; }
  .nav-dropdown-menu::before { display: none; }
  .nav-dropdown-menu a {
    min-height: 46px;
    padding: 10px 14px;
    color: var(--muted);
    font-size: 0.84rem;
  }
  .nav-cta { display: none; }
  body[data-route="/"] .nav-inner { display: flex; }

  .home-hero { min-height: auto; padding: 0 0 54px; }
  .home-hero::before { inset: 2% auto auto -42%; width: 120vw; }
  .hero-center > picture { width: min(470px, 88vw); margin-bottom: 26px; }
  .feature-block,
  .split { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .metric-grid { order: -1; }
  .footer-grid { grid-template-columns: 1fr; }
  .feature-visual { order: -1; }
}

@media (max-width: 640px) {
  .container, .narrow { width: min(100% - 28px, var(--container)); }
  h1 { font-size: clamp(2.05rem, 10vw, 3rem); }
  h2 { font-size: clamp(1.55rem, 7vw, 2.15rem); }
  .home-hero h1 { font-size: clamp(1.68rem, 7vw, 1.95rem); line-height: 1.18; margin-bottom: 16px; }
  .hero-copy p,
  .page-hero p,
  .section-title p { font-size: 0.91rem; line-height: 1.65; }
  .hero-copy p + p,
  .section-title p + p { margin-top: 9px; }
  .section { padding: 52px 0; }
  .page-hero { padding: 48px 0 40px; }
  .page-hero h1 { font-size: clamp(1.58rem, 7vw, 2.05rem); line-height: 1.22; }
  .page-hero h1 span { display: block; }
  .home-hero .actions { margin-top: 20px; gap: 10px; }
  .home-hero .actions { width: min(100%, 354px); }
  .home-hero .btn { min-height: 58px; }
  .actions,
  .sim-nav,
  .footer-bottom,
  .admin-list-head,
  .admin-detail-head,
  .admin-blocks-head,
  .status-form {
    flex-direction: column;
    align-items: stretch;
  }
  .admin-topbar { align-items: flex-start; gap: 12px; flex-direction: column; padding: 14px 16px; }
  .admin-topbar nav { width: 100%; flex-wrap: nowrap; gap: 8px; overflow-x: auto; padding-bottom: 2px; }
  .admin-topbar nav a { white-space: nowrap; }
  .footer-credit { white-space: normal; }
  .admin-shell,
  .admin-credit { width: min(100% - 24px, 1280px); }
  .admin-panel { padding: 20px 16px; border-radius: 16px; }
  .admin-list-head .btn,
  .admin-detail-head .btn { width: 100%; }
  .admin-tabs,
  .admin-form-grid,
  .article-block-row,
  .contact-fields { grid-template-columns: 1fr; }
  .contact-form-inline {
    padding: 18px 14px;
    margin-top: 22px;
  }
  .contact-modal {
    padding: 12px;
    align-items: end;
  }
  .contact-modal-panel {
    max-height: 92svh;
    padding: 22px 16px 18px;
    border-radius: 20px;
  }
  .admin-tabs a { min-height: 54px; }
  .admin-card-table,
  .admin-card-table tbody,
  .admin-card-table tr,
  .admin-card-table td {
    display: block;
    width: 100%;
    white-space: normal;
  }
  .admin-card-table thead { display: none; }
  .admin-card-table { overflow: visible; }
  .admin-card-table tr {
    padding: 14px;
    margin-bottom: 12px;
    border: 1px solid rgba(226, 193, 141, 0.14);
    border-radius: 14px;
    background: rgba(9, 22, 41, 0.32);
  }
  .admin-card-table td {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(226, 193, 141, 0.08);
  }
  .admin-card-table td:last-child { border-bottom: 0; }
  .admin-card-table td::before {
    content: attr(data-label);
    color: rgba(243, 240, 232, 0.52);
    font-weight: 800;
    font-size: 0.78rem;
  }
  .admin-event-timeline article {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .article-grid { grid-template-columns: 1fr; }
  .inline-danger-form { flex-direction: column; align-items: stretch; }
  .actions .btn,
  .sim-nav .btn { width: 100%; }
  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 28px;
  }
  .stat-card {
    min-height: 154px;
    padding: 18px 12px;
    border-radius: 14px;
  }
  .icon-badge {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    margin-bottom: 4px;
  }
  .stat-card strong { font-size: 1.38rem; }
  .stat-card span:not(.icon-badge):not(.stat-prefix),
  .stat-card small,
  .stat-prefix { font-size: 0.76rem; line-height: 1.38; }
  .service-card,
  .feature-card,
  .testimonial-card {
    min-height: auto;
    padding: 22px;
    border-radius: 16px;
  }
  .testimonial-grid,
  .feature-card-grid,
  .grid-3,
  .approach-grid,
  .steps-grid,
  .metric-grid { grid-template-columns: 1fr; }
  .holistic-item {
    grid-template-columns: 1fr;
    padding: 20px;
  }
  .holistic-num {
    width: 46px;
    height: 46px;
  }
  .sim-secure-header {
    padding-top: 16px;
    align-items: flex-start;
  }
  .sim-secure-brand img {
    width: 58px;
    height: 58px;
    padding: 7px;
    border-radius: 15px;
  }
  .sim-secure-status {
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
  }
  .security-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .security-row span {
    justify-content: center;
    white-space: normal;
  }
  .a11y-widget {
    right: 12px;
    bottom: 12px;
  }
  .a11y-toggle {
    width: 44px;
    height: 44px;
  }
  .a11y-panel {
    bottom: 52px;
    width: min(282px, calc(100vw - 24px));
  }
  .consent-banner {
    left: 12px;
    right: 12px;
    bottom: 64px;
  }
  .consent-banner-inner {
    grid-template-columns: 1fr;
    width: min(100%, calc(100vw - 24px));
    gap: 12px;
    padding: 14px;
    border-radius: 14px;
  }
  .consent-actions {
    flex-wrap: wrap;
    white-space: normal;
  }
  .sim-secure-main { align-content: start; padding-bottom: 36px; }
  .sim-secure-card { min-height: auto; padding: 22px 16px; border-radius: 18px; }
  .bank-logos span { width: 82px; }
  .steps li {
    grid-template-columns: auto minmax(0, 1fr);
    padding: 16px;
  }
  .steps li::before {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }
  .sim-step h2,
  .sim-result h2 {
    font-size: clamp(1.18rem, 5.6vw, 1.48rem);
    line-height: 1.3;
  }
  .sim-card { padding: 22px 16px; }
  .admin-table { display: block; overflow-x: auto; white-space: nowrap; }
  .admin-meta-grid { grid-template-columns: 1fr; }
}

@media (max-width: 380px) {
  .hero-stats { grid-template-columns: 1fr; }
}

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