/* ================================================
   פורטל פיננסי — Light Modern Theme
   RTL Hebrew | Heebo | WordPress-ready architecture
   ================================================ */

:root {
  /* Base canvas — warm subtle off-white, navy text */
  --bg: #FAFBFD;
  --bg-soft: #F2F5FA;
  --surface: #FFFFFF;
  --surface-2: #F7F9FC;
  --border: #E5E9F0;
  --border-strong: #D5DBE6;
  --text: #0F172A;
  --text-muted: #5B6478;
  --text-soft: #8A93A6;

  /* Brand accent — restrained gold for CTAs, badges */
  --accent: #BC8B2C;
  --accent-soft: #F5EBD0;

  /* Domain palette — light, accessible */
  --insurance: #1B8DCB;
  --insurance-soft: #E4F2FB;
  --insurance-deep: #0A5A8A;

  --loans: #119A77;
  --loans-soft: #E0F4EE;
  --loans-deep: #0A6B52;

  --finance: #D08221;
  --finance-soft: #FBEDD8;
  --finance-deep: #8A5212;

  --banking: #2F4DB8;
  --banking-soft: #E5EAF9;
  --banking-deep: #1E327A;

  --legal: #7A4AA8;
  --legal-soft: #F0E7F8;
  --legal-deep: #4F2D75;

  /* Shadows — soft, never dramatic */
  --shadow-xs: 0 1px 2px rgba(15,23,42,0.04);
  --shadow-sm: 0 2px 6px rgba(15,23,42,0.05), 0 1px 2px rgba(15,23,42,0.04);
  --shadow-md: 0 8px 24px rgba(15,23,42,0.06), 0 2px 6px rgba(15,23,42,0.04);
  --shadow-lg: 0 18px 40px rgba(15,23,42,0.08), 0 6px 12px rgba(15,23,42,0.05);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;

  --maxw: 1200px;
}

[x-cloak]{display:none !important;}
html, body { overflow-x: clip; max-width: 100%; }
.skip-link{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.skip-link:focus{position:fixed;top:.5rem;inset-inline-start:.5rem;width:auto;height:auto;margin:0;clip:auto;overflow:visible;z-index:9999;background:var(--text);color:#fff;padding:.6rem 1rem;border-radius:8px;font-weight:600}
.header-search-wrap{position:relative;display:flex}
.header-search{position:absolute;top:48px;inset-inline-end:0;background:var(--surface);border:1px solid var(--border);border-radius:12px;box-shadow:var(--shadow-lg);padding:.45rem;display:flex;gap:.4rem;z-index:130;min-width:260px}
.header-search input{flex:1;background:var(--bg-soft);border:1.5px solid transparent;border-radius:8px;padding:.6rem .8rem;font-size:.95rem;color:var(--text);outline:none;direction:rtl;text-align:right}
.header-search input:focus{background:var(--surface);border-color:var(--accent);box-shadow:0 0 0 4px rgba(188,139,44,.1)}
.header-search .btn{flex-shrink:0;padding:.55rem .7rem}
* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  font-family: 'Heebo', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  direction: rtl;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font-family: inherit; }

/* =========== HEADER =========== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--border);
}
.site-header__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0 clamp(1rem, 3vw, 2rem);
}
.brand {
  display: flex; align-items: center; gap: 0.6rem;
  font-weight: 900;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}
.brand__mark {
  width: 34px; height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, #1E2740 0%, #0F172A 100%);
  color: var(--accent);
  display: grid; place-items: center;
  font-size: 0.95rem; font-weight: 900;
  letter-spacing: 0.02em;
}
.brand__name { color: var(--text); }
.brand__name span { color: var(--accent); }

.main-nav {
  display: flex; gap: 0.25rem;
  flex: 1;
  justify-content: center;
}
.main-nav__link {
  position: relative;
  padding: 0.55rem 0.9rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color .18s, background .18s;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 0.45rem;
}
.main-nav__link:hover { color: var(--text); background: var(--bg-soft); }
.main-nav__link.is-active { color: var(--text); background: var(--bg-soft); }
.main-nav__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.header-cta {
  display: flex; align-items: center; gap: 0.75rem;
  flex-shrink: 0;
}
.header-cta__search {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--bg-soft);
  display: grid; place-items: center;
  color: var(--text-muted);
  transition: background .15s, color .15s;
}
.header-cta__search:hover { background: var(--border); color: var(--text); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.7rem 1.25rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform .15s ease, box-shadow .2s ease, background .2s, border-color .2s;
  white-space: nowrap;
}
.btn--primary {
  background: var(--text);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--accent {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(188,139,44,0.28);
}
.btn--accent:hover { transform: translateY(-1px); background: #A57824; }
.btn--ghost {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn--ghost:hover { background: var(--bg-soft); }
.btn--lg { padding: 0.95rem 1.5rem; font-size: 1rem; }
.btn--block { width: 100%; }

/* =========== HERO =========== */
.hero {
  position: relative;
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1rem, 3vw, 2rem) clamp(1.5rem, 3vw, 2.5rem);
  text-align: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(27,141,203,0.08) 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 80% 30%, rgba(188,139,44,0.06) 0%, transparent 60%);
  pointer-events: none;
}
.hero__inner { max-width: 880px; margin: 0 auto; position: relative; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-xs);
}
.hero__eyebrow-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--loans);
  position: relative;
}
.hero__eyebrow-dot::after {
  content: '';
  position: absolute; inset: -3px;
  border-radius: 50%;
  background: var(--loans);
  opacity: 0.3;
  animation: ping 2s ease-out infinite;
}
@keyframes ping {
  0% { transform: scale(1); opacity: 0.3; }
  100% { transform: scale(2.4); opacity: 0; }
}

.hero__title {
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text);
}
.hero__title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--accent) 0%, #8A5212 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero__sub {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: var(--text-muted);
  margin-top: 1.25rem;
  max-width: 620px;
  margin-inline: auto;
  text-wrap: pretty;
}
.hero__cta-row {
  margin-top: 2rem;
  display: inline-flex; gap: 0.75rem; flex-wrap: wrap;
  justify-content: center;
}

.hero__trust {
  margin-top: 2rem;
  display: flex; gap: 2rem 2.5rem; flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  color: var(--text-soft);
  font-size: 0.85rem;
  font-weight: 500;
}
.hero__trust-item { display: flex; align-items: center; gap: 0.4rem; }
.hero__trust-num { font-weight: 800; color: var(--text); font-size: 1.05rem; }

/* =========== SECTION BASE =========== */
.section {
  padding: clamp(3rem, 6vw, 5rem) clamp(1rem, 3vw, 2rem);
}
.section__inner {
  max-width: var(--maxw);
  margin: 0 auto;
}
.section--soft { background: var(--bg-soft); }

.section-head {
  text-align: center;
  margin-bottom: 2.5rem;
}
.section-head__eyebrow {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: inline-block;
}
.section-head__title {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.section-head__sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-top: 0.5rem;
  max-width: 580px;
  margin-inline: auto;
}

/* =========== DOMAIN GRID =========== */
.domains {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
  gap: 1.25rem;
}
@media (max-width: 980px) { .domains { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); } }
@media (max-width: 620px) { .domains { grid-template-columns: 1fr 1fr; gap: 0.85rem; } }

.domain-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.25rem 1.5rem;
  cursor: pointer;
  text-align: center;
  transition: transform .28s cubic-bezier(.2,.8,.2,1), box-shadow .28s, border-color .2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  overflow: hidden;
}
.domain-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--domain-color, var(--text));
  opacity: 0;
  transition: opacity .25s;
}
.domain-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.domain-card:hover::before { opacity: 1; }

.domain-card__icon-wrap {
  width: 72px; height: 72px;
  border-radius: 18px;
  background: var(--domain-soft, var(--bg-soft));
  color: var(--domain-color, var(--text));
  display: grid; place-items: center;
  transition: transform .3s;
}
.domain-card:hover .domain-card__icon-wrap { transform: scale(1.06) rotate(-3deg); }
.domain-card__icon-wrap svg { width: 36px; height: 36px; stroke-width: 1.6; }

.domain-card__label {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}
.domain-card__sub {
  font-size: 0.85rem;
  color: var(--text-soft);
  font-weight: 400;
  line-height: 1.35;
}
.domain-card__cta {
  margin-top: 0.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--domain-color, var(--text));
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .25s, transform .25s;
}
.domain-card:hover .domain-card__cta { opacity: 1; transform: translateY(0); }

/* Style variants for cards (Tweak: filled / outline / minimal) */
.domains.style--filled .domain-card { background: var(--surface); }
.domains.style--filled .domain-card .domain-card__icon-wrap {
  background: var(--domain-color, var(--text));
  color: #fff;
}
.domains.style--minimal .domain-card {
  background: transparent;
  border: none;
  box-shadow: none;
}
.domains.style--minimal .domain-card:hover { box-shadow: none; background: var(--surface); }

/* =========== BREADCRUMBS =========== */
.breadcrumbs {
  display: flex; align-items: center; gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--text-soft);
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}
.breadcrumbs a {
  color: var(--text-muted);
  cursor: pointer;
}
.breadcrumbs a:hover { color: var(--text); }
.breadcrumbs__sep { color: var(--text-soft); opacity: 0.5; }
.breadcrumbs__current { color: var(--text); font-weight: 600; }

/* =========== DOMAIN PAGE HEADER =========== */
.domain-banner {
  background: var(--domain-soft);
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1rem, 3vw, 2rem) clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

/* Banner with hero image fading into the domain color (image left, content right in RTL) */
.domain-banner--media { padding: 0; min-height: 300px; }
.domain-banner--media .domain-banner__inner {
  width: 100%;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 0;
  align-items: stretch;
  min-height: 300px;
}
.domain-banner__content {
  padding: clamp(2rem, 4vw, 3rem) clamp(1rem, 3vw, 2rem);
  align-self: center;
  position: relative;
  z-index: 2;
}
.domain-banner__media {
  position: relative;
  min-height: 260px;
  align-self: stretch;
  -webkit-mask-image: linear-gradient(to left, transparent 0%, #000 48%);
  mask-image: linear-gradient(to left, transparent 0%, #000 48%);
}
.domain-banner__media image-slot { display: block; width: 100%; height: 100%; }
@media (max-width: 768px) {
  .domain-banner--media .domain-banner__inner { grid-template-columns: 1fr; min-height: 0; }
  .domain-banner__content { padding: 1.5rem 1rem 1.25rem; }
  .domain-banner__media {
    order: -1;
    min-height: 165px;
    -webkit-mask-image: linear-gradient(to top, transparent 0%, #000 55%);
    mask-image: linear-gradient(to top, transparent 0%, #000 55%);
  }
}
.domain-banner__stats--inline { margin-top: 1.5rem; justify-content: flex-start; }
.domain-banner::before {
  content: '';
  position: absolute;
  top: -120px; left: -80px;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: var(--domain-color);
  opacity: 0.06;
  filter: blur(20px);
}
.domain-banner__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  position: relative;
}
@media (max-width: 768px) { .domain-banner__inner { grid-template-columns: 1fr; } }

.domain-banner__title-wrap { display: flex; align-items: center; gap: 1.25rem; }
.domain-banner__icon {
  width: 72px; height: 72px;
  border-radius: 18px;
  background: var(--surface);
  color: var(--domain-color);
  display: grid; place-items: center;
  box-shadow: var(--shadow-sm);
}
.domain-banner__icon svg { width: 38px; height: 38px; stroke-width: 1.6; }
.domain-banner__title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.domain-banner__sub {
  color: var(--text-muted);
  margin-top: 0.25rem;
  font-size: 1rem;
}
.domain-banner__stats {
  display: flex; gap: 1.5rem;
}
.domain-banner__stat {
  text-align: center;
  padding: 0 0.5rem;
}
.domain-banner__stat-num {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--domain-color);
  line-height: 1;
}
.domain-banner__stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* =========== SUB-DOMAIN GRID =========== */
.subdomains {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

/* =========== ARTICLES =========== */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 900px) { .articles-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .articles-grid { grid-template-columns: 1fr; } }

.article-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  cursor: pointer;
}
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}
.article-card__img {
  aspect-ratio: 16/10;
  background:
    repeating-linear-gradient(
      45deg,
      var(--domain-soft, var(--bg-soft)),
      var(--domain-soft, var(--bg-soft)) 8px,
      rgba(0,0,0,0.02) 8px,
      rgba(0,0,0,0.02) 16px
    );
  display: grid; place-items: center;
  color: var(--text-soft);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.75rem;
  position: relative;
}
.article-card__img.has-img{background-size:cover;background-position:center;}
.article-card__img.has-img::after{content:none;}
.article-card__img::after {
  content: 'תמונת מאמר';
  background: rgba(255,255,255,0.85);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  border: 1px dashed var(--border-strong);
}
.article-card__body {
  padding: 1.25rem 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}
.article-card__tag {
  display: inline-flex;
  align-items: center;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--domain-color);
  background: var(--domain-soft);
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  align-self: flex-start;
}
.article-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--text);
}
.article-card__excerpt {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  flex: 1;
}
.article-card__meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-soft);
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  margin-top: 0.5rem;
}

/* =========== LEAD FORM =========== */
.lead {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: var(--shadow-md);
  max-width: 540px;
  margin: 0 auto;
  position: relative;
}
.lead__head {
  text-align: center;
  margin-bottom: 1.5rem;
}
.lead__eyebrow {
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.lead__title {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.lead__sub {
  color: var(--text-muted);
  margin-top: 0.4rem;
  font-size: 0.95rem;
}
.lead__form {
  display: flex; flex-direction: column;
  gap: 0.75rem;
}
.field {
  position: relative;
  display: flex; flex-direction: column;
}
.field__label {
  position: absolute;
  top: 14px;
  inset-inline-start: 14px;
  font-size: 0.95rem;
  color: var(--text-soft);
  pointer-events: none;
  transition: all .18s ease;
  background: var(--surface);
  padding: 0 0.3rem;
}
.field__input {
  background: var(--surface);
  border: 1.5px solid var(--border-strong);
  border-radius: 10px;
  padding: 14px 14px;
  font-size: 1rem;
  color: var(--text);
  outline: none;
  direction: rtl;
  text-align: right;
  transition: border-color .15s, box-shadow .15s;
}
.field__input:focus,
.field__input:not(:placeholder-shown) {
  border-color: var(--accent);
}
.field__input:focus { box-shadow: 0 0 0 4px rgba(188,139,44,0.12); }
.field__input::placeholder { color: transparent; }
.field__input:focus + .field__label,
.field__input:not(:placeholder-shown) + .field__label {
  top: -8px;
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 600;
}
.field--select .field__label { top: -8px; font-size: 0.75rem; color: var(--accent); font-weight: 600; }
.field--select .field__input {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%235B6478' stroke-width='1.5' fill='none' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-position: left 14px center;
  padding-inline-start: 36px;
}

.lead__note {
  margin-top: 0.75rem;
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.lead--inline {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  align-items: center;
  max-width: var(--maxw);
  border-radius: var(--radius-xl);
  overflow: hidden;
  padding: 0;
}
@media (max-width: 900px) { .lead--inline { grid-template-columns: 1fr; } }
.lead--inline .lead__pitch {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: linear-gradient(135deg, #0F172A 0%, #1E2740 100%);
  color: #fff;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.lead--inline .lead__pitch h3 {
  font-size: 1.6rem; font-weight: 800; letter-spacing: -0.01em;
}
.lead--inline .lead__pitch p { color: #B8C0D0; margin-top: 0.6rem; }
.lead--inline .lead__pitch ul { margin-top: 1.25rem; display: flex; flex-direction: column; gap: 0.5rem; list-style: none; }
.lead--inline .lead__pitch li {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.9rem; color: #D5DBE6;
}
.lead--inline .lead__pitch li svg { color: var(--accent); flex-shrink: 0; }
.lead--inline .lead__form-side { padding: clamp(1.5rem, 3vw, 2.5rem); }

/* =========== ARTICLE PAGE =========== */
.article-page {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 3rem) clamp(1rem, 3vw, 2rem);
}
.article-page__tag {
  display: inline-flex;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--domain-color);
  background: var(--domain-soft);
  padding: 0.3rem 0.7rem;
  border-radius: 6px;
  margin-bottom: 1rem;
}
.article-page__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.article-page__meta {
  display: flex; gap: 1rem;
  color: var(--text-soft);
  font-size: 0.9rem;
  margin-bottom: 2rem;
  align-items: center;
}
.article-page__meta-author {
  display: flex; align-items: center; gap: 0.5rem;
  color: var(--text);
  font-weight: 600;
}
.article-page__avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--domain-soft);
  color: var(--domain-color);
  display: grid; place-items: center;
  font-weight: 700;
  font-size: 0.85rem;
}
.article-page__hero {
  aspect-ratio: 16/8;
  border-radius: var(--radius-lg);
  margin-bottom: 2rem;
  background:
    repeating-linear-gradient(
      45deg,
      var(--domain-soft, var(--bg-soft)),
      var(--domain-soft, var(--bg-soft)) 12px,
      rgba(0,0,0,0.02) 12px,
      rgba(0,0,0,0.02) 24px
    );
  display: grid; place-items: center;
  color: var(--text-soft);
  font-family: ui-monospace, monospace;
  font-size: 0.85rem;
  position: relative;
}
.article-page__hero::after {
  content: 'תמונת ראש לכתבה — 1600×800';
  background: rgba(255,255,255,0.85);
  padding: 0.3rem 0.8rem;
  border-radius: 6px;
  border: 1px dashed var(--border-strong);
}

.article-body { font-size: 1.05rem; line-height: 1.75; color: var(--text); }
.article-body p { margin-bottom: 1.25rem; }
.article-body h2 {
  font-size: 1.5rem; font-weight: 800; letter-spacing: -0.01em;
  margin: 2rem 0 1rem;
}
.article-body ul { padding-inline-start: 1.5rem; margin-bottom: 1.25rem; }
.article-body li { margin-bottom: 0.4rem; }
.article-body blockquote {
  border-inline-start: 4px solid var(--domain-color);
  padding: 1rem 1.25rem;
  background: var(--domain-soft);
  margin: 1.5rem 0;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text);
}

.toc {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
}
.toc__title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-soft);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.toc__list { list-style: none; display: flex; flex-direction: column; gap: 0.35rem; }
.toc__list a {
  color: var(--text-muted);
  font-size: 0.95rem;
  display: flex;
  gap: 0.6rem;
  align-items: center;
}
.toc__list a:hover { color: var(--domain-color); }
.toc__num {
  color: var(--text-soft);
  font-family: ui-monospace, monospace;
  font-size: 0.8rem;
  min-width: 1.5rem;
}

/* =========== COMPARISON TABLE =========== */
.compare {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.compare__head {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
}
.compare__head > div {
  padding: 1rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  text-align: center;
  border-inline-end: 1px solid var(--border);
}
.compare__head > div:last-child { border-inline-end: none; }
.compare__head > div:first-child { text-align: start; }
.compare__row {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  border-bottom: 1px solid var(--border);
}
.compare__row:last-child { border-bottom: none; }
.compare__row > div {
  padding: 1rem 1.25rem;
  font-size: 0.95rem;
  text-align: center;
  border-inline-end: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}
.compare__row > div:last-child { border-inline-end: none; }
.compare__row > div:first-child {
  text-align: start;
  font-weight: 600;
  justify-content: flex-start;
  color: var(--text);
}
.compare__check { color: var(--loans); }
.compare__cross { color: #C44A4A; opacity: 0.6; }

/* =========== FOOTER =========== */
.site-footer {
  background: #0F172A;
  color: #B8C0D0;
  padding: clamp(2.5rem, 4vw, 4rem) clamp(1rem, 3vw, 2rem) 1.5rem;
  margin-top: 4rem;
}
.site-footer__inner {
  max-width: var(--maxw);
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
.footer-brand .brand__name { color: #fff; }
.footer-brand p {
  font-size: 0.9rem;
  color: #8A93A6;
  margin-top: 1rem;
  max-width: 280px;
  line-height: 1.6;
}
.footer-col h4 {
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col a {
  color: #B8C0D0;
  font-size: 0.9rem;
  transition: color .15s;
  cursor: pointer;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 1.5rem;
  font-size: 0.8rem;
  color: #8A93A6;
  flex-wrap: wrap;
  gap: 1rem;
}

/* =========== FLOATING CTA =========== */
.floating-wrap {
  position: fixed;
  bottom: 1.5rem;
  inset-inline-start: 1.5rem;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
}
.floating-menu {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.4rem;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 220px;
  animation: pageFade .2s ease-out;
}
.floating-menu__item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.75rem;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  transition: background .15s;
}
.floating-menu__item:hover { background: var(--bg-soft); }
.floating-menu__icon {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.floating-cta {
  position: relative;
  background: var(--text);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: var(--shadow-lg);
  transition: transform .15s, box-shadow .2s;
}
.floating-cta:hover { transform: translateY(-2px); }
.floating-cta__icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--accent);
  display: grid; place-items: center;
  font-size: 0.85rem;
  color: #fff;
}

/* =========== PAGE TRANSITIONS =========== */
.page-fade {
  animation: pageFade .35s ease-out;
}
@keyframes pageFade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =========== TWEAKS VARIANTS =========== */
body[data-accent="navy"] { --accent: #2F4DB8; --accent-soft: #E5EAF9; }
body[data-accent="emerald"] { --accent: #119A77; --accent-soft: #E0F4EE; }
body[data-accent="violet"] { --accent: #7A4AA8; --accent-soft: #F0E7F8; }

body[data-bg="cream"] { --bg: #FBF8F1; --bg-soft: #F4EFE3; }

/* =========== TIGHT SECTION =========== */
.section--tight-top { padding-top: clamp(1rem, 2.5vw, 2rem); }

/* =========== NAV DROPDOWN =========== */
.main-nav__item { position: relative; }
.main-nav__chev { opacity: 0.5; transition: transform .2s; }
.main-nav__item:hover .main-nav__chev { transform: rotate(180deg); }
.nav-dd {
  position: absolute;
  top: 100%;
  inset-inline-start: 0;
  padding-top: 8px;
  min-width: 230px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  z-index: 120;
}
.main-nav__item:hover .nav-dd {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dd__card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.nav-dd__link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: background .15s, color .15s;
}
.nav-dd__link:hover { background: var(--bg-soft); color: var(--text); }
.nav-dd__bullet {
  width: 7px; height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
  opacity: 0.85;
}
.nav-dd__all {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.6rem 0.75rem 0.4rem;
  margin-top: 0.25rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
}
.nav-dd__all:hover { color: var(--accent); }

/* =========== LEAD STRIP (one-row lead capture) =========== */
.lead-strip {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 1.1rem 1.4rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.lead-strip__text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.lead-strip__title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
}
.lead-strip__sub {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.lead-strip__row {
  display: flex;
  gap: 0.6rem;
  align-items: stretch;
}
@media (max-width: 720px) { .lead-strip__row { flex-wrap: wrap; } }
.lead-strip__input {
  flex: 1 1 0;
  min-width: 120px;
  background: var(--bg-soft);
  border: 1.5px solid transparent;
  border-radius: 10px;
  padding: 0.7rem 0.9rem;
  font-size: 0.95rem;
  color: var(--text);
  outline: none;
  direction: rtl;
  text-align: right;
  transition: border-color .15s, background .15s, box-shadow .15s;
}
.lead-strip__input::placeholder { text-align: right; }
.lead-strip__input::placeholder { color: var(--text-soft); }
.lead-strip__input:focus {
  background: var(--surface);
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(188,139,44,0.1);
}
.lead-strip__btn { flex-shrink: 0; }
.lead-strip__sent {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--loans);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.7rem 0;
}

/* =========== PROSE BLOCK =========== */
.prose-block h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  margin-bottom: 0.85rem;
}
.prose-block p {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 1rem;
  text-wrap: pretty;
}
.prose-block p:last-child { margin-bottom: 0; }

/* =========== FEATURE CARDS (home about) =========== */
.feature-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 1.75rem;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}
.feature-card__icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.feature-card h3 { font-size: 1.02rem; font-weight: 700; margin-bottom: 3px; }
.feature-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.5; }

/* =========== FAQ =========== */
.faq {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color .2s;
}
.faq details[open] { border-color: var(--border-strong); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 1.25rem;
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  user-select: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--text-soft);
  line-height: 1;
  transition: transform .2s;
  flex-shrink: 0;
}
.faq details[open] summary::after { transform: rotate(45deg); color: var(--domain-color, var(--accent)); }
.faq details[open] summary { color: var(--domain-color, var(--text)); }
.faq__a {
  padding: 0 1.25rem 1.1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* =========== ARTICLE IMAGE SLOTS =========== */
.article-page__hero-slot {
  height: 320px;
  margin-bottom: 1.75rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.article-page__hero-slot image-slot { display: block; width: 100%; height: 100%; }

.article-side-slot {
  float: left;
  width: 270px;
  height: 200px;
  margin: 0.3rem 0 1rem 0;
  margin-inline-start: 1.5rem;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.article-side-slot image-slot { display: block; width: 100%; height: 100%; }
@media (max-width: 620px) {
  .article-side-slot { float: none; width: 100%; margin-inline-start: 0; }
}
body[data-bg="cool"]  { --bg: #F6F9FE; --bg-soft: #EEF3FB; }
body[data-bg="pure"]  { --bg: #FFFFFF; --bg-soft: #F5F6F8; }

/* =========== PRE-FOOTER LEAD STRIP =========== */
.section--prefooter {
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
  padding-bottom: clamp(1.5rem, 3vw, 2.5rem);
}
.lead-strip--prefooter {
  background: linear-gradient(135deg, #0F172A 0%, #1E2740 100%);
  border-color: transparent;
  box-shadow: var(--shadow-md);
}
.lead-strip--prefooter .lead-strip__title { color: #fff; }
.lead-strip--prefooter .lead-strip__sub { color: #B8C0D0; }
.lead-strip--prefooter .lead-strip__input {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border-color: rgba(255,255,255,0.12);
}
.lead-strip--prefooter .lead-strip__input::placeholder { color: #9aa3b6; }
.lead-strip--prefooter .lead-strip__input:focus {
  background: rgba(255,255,255,0.14);
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(188,139,44,0.18);
}
.lead-strip--prefooter .lead-strip__sent { color: #6ee7b7; }

/* =========== HAMBURGER + MOBILE DRAWER =========== */
.hamburger {
  display: none;
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--bg-soft);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 20px; height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform .25s, opacity .2s;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav { position: fixed; inset: 0; z-index: 200; pointer-events: none; }
.mobile-nav.is-open { pointer-events: auto; }
.mobile-nav__backdrop {
  position: absolute; inset: 0;
  background: rgba(15,23,42,0.45);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity .25s;
}
.mobile-nav.is-open .mobile-nav__backdrop { opacity: 1; }
.mobile-nav__panel {
  position: absolute;
  top: 0; bottom: 0;
  right: 0;
  width: min(340px, 86vw);
  background: var(--surface);
  box-shadow: -10px 0 40px rgba(15,23,42,0.18);
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.3,.8,.3,1);
  display: flex;
  flex-direction: column;
  padding: 1rem 1rem 1.25rem;
  overflow-y: auto;
}
.mobile-nav.is-open .mobile-nav__panel { transform: translateX(0); }
.mobile-nav__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0.5rem;
}
.mobile-nav__close {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--bg-soft);
  display: grid; place-items: center;
  color: var(--text-muted);
}
.mobile-nav__list { display: flex; flex-direction: column; flex: 1; }
.mobile-nav__home {
  padding: 0.9rem 0.5rem;
  font-weight: 700;
  font-size: 1.05rem;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
}
.mobile-nav__group { border-bottom: 1px solid var(--border); }
.mobile-nav__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0.5rem;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text);
  cursor: pointer;
}
.mobile-nav__trigger-label { display: flex; align-items: center; gap: 0.6rem; }
.mobile-nav__sub {
  display: flex;
  flex-direction: column;
  padding: 0 0.5rem 0.75rem 1.4rem;
  animation: pageFade .2s ease-out;
}
.mobile-nav__sub a {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 0.4rem;
  font-size: 0.98rem;
  color: var(--text-muted);
  cursor: pointer;
}
.mobile-nav__sub a:hover { color: var(--text); }
.mobile-nav__suball {
  font-weight: 700;
  color: var(--accent) !important;
  font-size: 0.9rem !important;
}
.mobile-nav__cta { margin-top: 1rem; }

/* =========== RESPONSIVE / MOBILE =========== */
@media (max-width: 860px) {
  .site-header__inner { height: 64px; gap: 0.75rem; }
  .hamburger { display: flex; }
  .main-nav { display: none; }
  .header-cta { margin-inline-start: auto; }
  .header-cta__consult { display: none; }
  .brand { margin-inline-end: auto; }
}

@media (max-width: 620px) {
  html, body { font-size: 15px; }
  .section { padding: clamp(2rem, 6vw, 2.75rem) 1rem; }
  .hero { padding: 2.5rem 1rem 1.5rem; }
  .hero__trust { gap: 1rem 1.5rem; margin-top: 1.5rem; }
  .hero__cta-row { width: 100%; }
  .hero__cta-row .btn { width: 100%; }
  .domains { gap: 0.85rem; }
  .domain-card { padding: 1.4rem 0.9rem 1.25rem; gap: 0.75rem; }
  .domain-card__icon-wrap { width: 60px; height: 60px; border-radius: 15px; }
  .domain-card__cta { opacity: 1; transform: none; }
  .domain-banner--media { min-height: 230px; }
  .domain-banner__title-wrap { gap: 0.85rem; }
  .domain-banner__icon { width: 56px; height: 56px; }
  .lead-strip { padding: 1rem 1.1rem 1.15rem; }
  .lead-strip__btn { width: 100%; }
  .article-page__hero-slot { height: 200px; }
  .compare__head > div, .compare__row > div { padding: 0.7rem 0.5rem; font-size: 0.85rem; }
  .compare__head > div:first-child, .compare__row > div:first-child { font-size: 0.8rem; }
  .floating-wrap { bottom: 1rem; inset-inline-start: 1rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
}

@media (max-width: 420px) {
  .domains { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero__title { font-size: clamp(1.9rem, 9vw, 2.4rem); }
}
