/* Heebo נטען מ-fonts.css */

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

:root {
  --red: #c90000;
  --red-dark: #980000;
  --navy: #101827;
  --navy-2: #172236;
  --text: #101827;
  --muted: #657084;
  --line: #d8e0ec;
  --soft: #f3f6fa;
  --card: #ffffff;
  --gold: #f7b500;
  --shadow: 0 18px 45px rgba(16, 24, 39, 0.11);
  --radius: 22px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Heebo', Arial, sans-serif;
  color: var(--text);
  background: var(--soft);
  direction: rtl;
  line-height: 1.65;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3 {
  margin-top: 0;
}

img,
svg {
  max-width: 100%;
}

.page-wrap {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: -100px;
  right: 16px;
  z-index: 999;
  background: var(--red);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 10px 10px;
  font-weight: 800;
}

.skip-link:focus {
  top: 0;
}

.top-alert {
  background: var(--navy);
  color: #fff;
  border-bottom: 3px solid var(--gold);
}

.top-alert-inner {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  font-size: 14px;
  font-weight: 800;
}

.top-alert strong {
  background: var(--red);
  color: #fff;
  border-radius: 999px;
  padding: 4px 12px;
  font-weight: 900;
  white-space: nowrap;
}

.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  direction: ltr;
  text-align: left;
}

.brand-text {
  display: grid;
  grid-template-columns: auto auto auto;
  align-items: baseline;
  justify-content: start;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.8px;
  white-space: nowrap;
  direction: ltr;
}

.brand-chat {
  color: var(--red);
  font-size: 30px;
  font-style: italic;
  font-weight: 900;
  letter-spacing: -1.1px;
}

.brand-hot,
.brand-news {
  color: #06152d;
  font-size: 31px;
  font-weight: 900;
  letter-spacing: -1px;
}

.brand-sub {
  grid-column: 1 / -1;
  display: block;
  color: #66738a;
  font-size: 13px;
  letter-spacing: 0;
  margin-top: 8px;
  padding-left: 56px;
  text-align: center;
  direction: rtl;
}

.brand-badge {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: linear-gradient(180deg, #d80000 0%, #b90000 100%);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 21px;
  box-shadow: 0 10px 24px rgba(201, 0, 0, 0.22);
  flex: 0 0 auto;
  border: 1px solid rgba(255,255,255,0.35);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-link,
.header-cta {
  height: 44px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
  white-space: nowrap;
}

.header-link {
  color: #27344a;
  border: 1px solid var(--line);
  background: #fff;
}

.header-cta {
  color: #fff;
  background: var(--red);
  box-shadow: 0 10px 24px rgba(201, 0, 0, 0.22);
}

.header-link:hover,
.header-link:focus-visible {
  border-color: #b9c5d7;
  background: #f8fafc;
}

.header-cta:hover,
.header-cta:focus-visible {
  background: var(--red-dark);
}

.hero {
  background:
    radial-gradient(circle at 18% 12%, rgba(201, 0, 0, 0.12), transparent 31%),
    radial-gradient(circle at 83% 0%, rgba(16, 24, 39, 0.08), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #eef3f9 100%);
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  min-height: 640px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(350px, 0.75fr);
  gap: 34px;
  align-items: center;
  padding: 68px 0;
}

.hero-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.hero-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: #25334a;
  padding: 0 14px;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(16, 24, 39, 0.06);
}

.hero-badges span:first-child {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.eyebrow,
.section-kicker {
  color: var(--red);
  font-size: 14px;
  font-weight: 900;
  margin-bottom: 12px;
}

.hero h1 {
  font-size: clamp(43px, 6vw, 76px);
  line-height: 1.03;
  letter-spacing: -1.8px;
  margin-bottom: 18px;
  color: #07152a;
}

.hero h1 span {
  color: var(--red);
}

.hero-lead {
  max-width: 740px;
  color: #3c485c;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.75;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.btn {
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 900;
  line-height: 1;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 16px 32px rgba(201, 0, 0, 0.25);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--red-dark);
}

.btn-secondary,
.btn-outline {
  background: #fff;
  color: #162238;
  border-color: var(--line);
}

.btn-secondary:hover,
.btn-outline:hover,
.btn-secondary:focus-visible,
.btn-outline:focus-visible {
  border-color: #b8c3d3;
  background: #f8fafc;
}

.btn-xl {
  min-height: 64px;
  padding-inline: 34px;
  font-size: 19px;
}

.btn.big {
  min-height: 60px;
  padding-inline: 34px;
  font-size: 18px;
}

.trust-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-list li {
  color: #314057;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 800;
}

.trust-list li::before {
  content: "✓";
  color: var(--red);
  font-weight: 900;
  margin-left: 7px;
}

.hero-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 14px;
}

.chat-preview {
  border-radius: 22px;
  background: var(--navy);
  padding: 18px;
  color: #fff;
  overflow: hidden;
  position: relative;
}

.chat-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 10%, rgba(255, 255, 255, 0.13), transparent 25%),
    radial-gradient(circle at 85% 25%, rgba(201, 0, 0, 0.25), transparent 28%);
  pointer-events: none;
}

.chat-preview > * {
  position: relative;
}

.chat-preview-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  padding-bottom: 16px;
  margin-bottom: 16px;
}

.chat-preview-head strong {
  display: block;
  font-size: 20px;
}

.chat-preview-head span {
  display: block;
  color: #b7c3d8;
  font-size: 13px;
}

.chat-preview-head em {
  color: #fff;
  background: var(--red);
  border-radius: 999px;
  padding: 5px 10px;
  font-style: normal;
  font-size: 12px;
  font-weight: 900;
}

.room-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.room-list a {
  min-height: 38px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 900;
}

.room-list a:first-child {
  background: var(--red);
  border-color: var(--red);
}

.chat-message {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 16px;
  padding: 14px 16px;
  margin-bottom: 12px;
}

.chat-message-main {
  background: #fff;
  color: var(--text);
}

.chat-message strong {
  display: block;
  margin-bottom: 4px;
}

.chat-message p {
  margin: 0;
  color: inherit;
  opacity: 0.86;
}

.admin-card {
  display: flex;
  gap: 12px;
  padding: 15px;
  border-radius: 18px;
  margin-bottom: 12px;
  background: linear-gradient(135deg, rgba(247, 181, 0, 0.18), rgba(201, 0, 0, 0.18));
  border: 1px solid rgba(247, 181, 0, 0.35);
}

.admin-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.admin-card strong {
  display: block;
  margin-bottom: 3px;
}

.admin-card p {
  margin: 0;
  color: #dce5f5;
  font-size: 14px;
}

.mini-messages {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.mini-messages .chat-message {
  margin-bottom: 0;
}

.preview-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  background: var(--red);
  color: #fff;
  border-radius: 999px;
  font-weight: 900;
  margin-top: 18px;
}

.preview-cta:hover,
.preview-cta:focus-visible {
  background: var(--red-dark);
}

.section {
  padding: 68px 0;
}

.section-light {
  background: #fff;
}

.section-head {
  max-width: 790px;
  margin-bottom: 30px;
}

.section-head.compact {
  max-width: 560px;
}

.section h2 {
  color: #07152a;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.16;
  letter-spacing: -0.8px;
  margin-bottom: 12px;
}

.section-head p,
.rooms-box p,
.bridge-card p,
.faq-grid p,
.free-card p {
  color: var(--muted);
  font-size: 17px;
}

.free-section {
  background: #eef3f9;
  padding-top: 42px;
  padding-bottom: 42px;
}

.free-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 30px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  box-shadow: 0 14px 34px rgba(16, 24, 39, 0.08);
}

.free-number {
  width: 112px;
  height: 112px;
  border-radius: 30px;
  background: var(--red);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
  font-weight: 900;
  box-shadow: 0 14px 30px rgba(201, 0, 0, 0.23);
}

.free-card h2 {
  margin-bottom: 8px;
}

.free-card p {
  margin-bottom: 0;
}

.manager-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.manager-step,
.feature-card,
.faq-grid article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 12px 28px rgba(16, 24, 39, 0.06);
}

.manager-step span {
  width: 42px;
  height: 42px;
  border-radius: 15px;
  background: #f1f5fb;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  margin-bottom: 14px;
}

.manager-step h3,
.feature-card h3,
.faq-grid h3 {
  color: #07152a;
  margin-bottom: 8px;
  font-size: 21px;
}

.manager-step p,
.feature-card p,
.faq-grid p {
  margin-bottom: 0;
}

.featured-step {
  border-color: rgba(201, 0, 0, 0.35);
  background: linear-gradient(180deg, #fff, #fff7f7);
}

.featured-step span {
  background: var(--red);
  color: #fff;
}

.rooms-section {
  background: #eef3f9;
}

.rooms-box {
  background: var(--navy);
  color: #fff;
  border-radius: 30px;
  padding: 38px;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1fr);
  gap: 34px;
  align-items: center;
  box-shadow: var(--shadow);
}

.rooms-box h2 {
  color: #fff;
}

.rooms-box p {
  color: #c5cee0;
  margin-bottom: 0;
}

.topic-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.topic-cloud span {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 900;
}

.topic-cloud span:first-child,
.topic-cloud span:nth-child(2),
.topic-cloud span:nth-child(8) {
  background: var(--red);
  border-color: var(--red);
}

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

.feature-card span {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f1f5fb;
  font-size: 24px;
  margin-bottom: 14px;
}

.highlight-card {
  border-color: rgba(201, 0, 0, 0.35);
  background: linear-gradient(180deg, #fff, #fff7f7);
}

.highlight-card span {
  background: var(--red);
}

.news-bridge {
  background: #fff;
}

.bridge-card {
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 38px;
  background:
    linear-gradient(90deg, rgba(201, 0, 0, 0.06), transparent 46%),
    #fff;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  box-shadow: 0 14px 34px rgba(16, 24, 39, 0.08);
}

.bridge-card p {
  margin-bottom: 0;
}

.bridge-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.faq-section {
  background: #f8fafc;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.bottom-cta {
  margin-top: 32px;
  padding: 36px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 30px;
}

.bottom-cta h2 {
  margin-bottom: 10px;
}

.bottom-cta p:not(.section-kicker) {
  color: var(--muted);
  margin-bottom: 18px;
}

.site-footer {
  background: #fff;
  border-top: 1px solid var(--line);
}

.footer-inner {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand {
  font-weight: 900;
  line-height: 1;
}

.footer-brand .brand-chat {
  font-size: 22px;
}

.footer-brand .brand-hot,
.footer-brand .brand-news {
  font-size: 24px;
}

.footer-brand small {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-top: 8px;
  font-weight: 800;
}

.site-footer nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-weight: 800;
  color: #27344a;
}

.site-footer nav a:hover,
.site-footer nav a:focus-visible {
  color: var(--red);
}

.mobile-sticky-cta {
  display: none;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(201, 0, 0, 0.32);
  outline-offset: 3px;
}

@media (max-width: 1040px) {
  .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 48px 0;
  }

  .hero-panel {
    max-width: 680px;
    width: 100%;
  }

  .free-card,
  .rooms-box,
  .bridge-card {
    grid-template-columns: 1fr;
  }

  .bridge-actions {
    justify-content: flex-start;
  }

  .manager-grid,
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .faq-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  body {
    padding-bottom: 78px;
  }

  .page-wrap {
    width: min(100% - 24px, 1180px);
  }

  .top-alert-inner {
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px 0;
    line-height: 1.35;
  }

  .site-header {
    position: static;
  }

  .header-inner {
    min-height: auto;
    padding: 14px 0;
    align-items: flex-start;
  }

  .brand-chat {
    font-size: 24px;
  }

  .brand-hot,
  .brand-news {
    font-size: 25px;
  }

  .brand-sub {
    font-size: 12px;
    padding-left: 48px;
  }

  .brand-badge {
    width: 44px;
    height: 44px;
    border-radius: 13px;
    font-size: 18px;
  }

  .header-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .header-link,
  .header-cta {
    height: 38px;
    padding: 0 13px;
    font-size: 13px;
  }

  .hero-grid {
    padding: 38px 0;
  }

  .hero h1 {
    letter-spacing: -1px;
  }

  .hero-lead {
    font-size: 17px;
  }

  .btn {
    width: 100%;
  }

  .trust-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-list li {
    text-align: center;
  }

  .room-list,
  .mini-messages {
    grid-template-columns: 1fr 1fr;
  }

  .section {
    padding: 46px 0;
  }

  .free-card,
  .rooms-box,
  .bridge-card,
  .bottom-cta {
    padding: 24px;
    border-radius: 22px;
  }

  .free-number {
    width: 92px;
    height: 92px;
    border-radius: 24px;
    font-size: 31px;
  }

  .manager-grid,
  .feature-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .topic-cloud span {
    font-size: 14px;
  }

  .footer-inner {
    min-height: auto;
    padding: 22px 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .mobile-sticky-cta {
    position: fixed;
    right: 12px;
    left: 12px;
    bottom: 12px;
    z-index: 200;
    min-height: 54px;
    border-radius: 999px;
    background: var(--red);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    box-shadow: 0 14px 34px rgba(16, 24, 39, 0.28);
  }
}

@media (max-width: 430px) {
  .header-inner {
    flex-direction: column;
    gap: 12px;
  }

  .header-actions {
    width: 100%;
    flex-direction: row;
  }

  .header-link,
  .header-cta {
    flex: 1;
  }

  .trust-list {
    grid-template-columns: 1fr;
  }

  .chat-preview {
    padding: 14px;
  }

  .chat-preview-head {
    flex-direction: column;
  }

  .hero-badges span {
    width: 100%;
    justify-content: center;
  }

  .room-list,
  .mini-messages {
    grid-template-columns: 1fr;
  }
}

/* ═══ כפתור נגישות ═══ */
#a11y-btn {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 9999;
  background: #fff;
  border: 2px solid #333;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,.3);
  font-family: 'Heebo', Arial, sans-serif;
}
#a11y-btn[aria-pressed="true"] { background: #111; color: #fff; border-color: #111; }
body.a11y-mode * { color: #111 !important; font-weight: 700 !important; font-size: 17px !important; }
