/* ==========================================================================
   המומלצים — עיצוב בסיס
   פלטת צבעים ניטרלית ומכובדת המתאימה לקהל דתי וחילוני כאחד.
   ========================================================================== */

:root {
  --navy: #16324f;
  --navy-light: #1f4a73;
  --navy-dark: #0e2036;
  --gold: #c99a3b;
  --gold-light: #e0b95c;
  --bg: #f7f5f0;
  --card-bg: #ffffff;
  --text: #23262b;
  --text-muted: #5c6570;
  --border: #e5e1d8;
  --success: #2f8f5b;
  --success-bg: #eaf6ef;
  --danger: #c1483c;
  --danger-bg: #fbecea;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 4px 18px rgba(22, 50, 79, 0.08);
  --shadow-hover: 0 10px 30px rgba(22, 50, 79, 0.14);
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

html, body {
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: 'Assistant', 'Segoe UI', Tahoma, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  direction: rtl;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

/* מצב פוקוס ברור למי שמנווט במקלדת, בלי לפגוע בעכבר/מגע */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
.faq-question:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

h1, h2, h3, h4 {
  font-family: 'Rubik', 'Assistant', sans-serif;
  color: var(--navy-dark);
  line-height: 1.3;
  font-weight: 700;
}

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

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

ul {
  list-style: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.icon {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------------- Top bar (disclosure) ---------------- */

.top-bar {
  background: var(--navy-dark);
  color: #cfd9e3;
  font-size: 0.82rem;
  text-align: center;
  padding: 7px 16px;
}

.top-bar a {
  color: var(--gold-light);
  text-decoration: underline;
}

/* ---------------- Header ---------------- */

.site-header {
  background: var(--card-bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Rubik', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy-dark);
}

.logo .logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
}

.logo .logo-mark svg {
  width: 20px;
  height: 20px;
}

.logo span.accent {
  color: var(--gold);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.main-nav ul {
  display: flex;
  gap: 26px;
}

.main-nav a {
  font-weight: 600;
  color: var(--navy);
  font-size: 0.98rem;
  transition: color 0.15s ease;
  position: relative;
}

@media (hover: hover) and (pointer: fine) {
  .main-nav a:hover {
    color: var(--gold);
  }
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  touch-action: manipulation;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--navy-dark);
  display: block;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.header-inner.open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.header-inner.open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.header-inner.open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------------- Buttons ---------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  min-height: 44px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.btn:active {
  transform: translateY(0) scale(0.96);
}

.btn-primary {
  background: var(--gold);
  color: var(--navy-dark);
  box-shadow: 0 6px 16px rgba(201, 154, 59, 0.35);
}

.btn-outline {
  border-color: var(--navy);
  color: var(--navy);
  background: transparent;
}

.btn-small {
  padding: 9px 18px;
  min-height: 38px;
  font-size: 0.88rem;
}

.btn-block {
  width: 100%;
}

/* אפקטי הובר — רק במכשירים שבאמת יש בהם עכבר, כדי שבמגע לא יישאר מצב "תקוע" */
@media (hover: hover) and (pointer: fine) {
  .btn:hover {
    transform: translateY(-2px);
  }

  .btn-primary:hover {
    background: var(--gold-light);
  }

  .btn-outline:hover {
    background: var(--navy);
    color: #fff;
  }

  .hero-visual .mini-card:hover {
    transform: translateX(-4px);
    background: rgba(255, 255, 255, 0.13);
  }

  .category-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
  }

  .review-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
  }
}

/* משוב מגע — לחיצה על כרטיס מגיבה גם במכשירי מגע שאין בהם הובר */
.category-card:active,
.review-card:active {
  transform: scale(0.98);
  box-shadow: var(--shadow-hover);
}

/* ---------------- Motion tokens ---------------- */

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(224, 185, 92, 0.35); }
  50% { box-shadow: 0 0 0 6px rgba(224, 185, 92, 0); }
}

/* ---------------- Hero ---------------- */

.hero {
  background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 55%, var(--navy-light) 100%);
  color: #fff;
  padding: 76px 0 90px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(201, 154, 59, 0.22), transparent 45%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
  position: relative;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  margin-bottom: 20px;
  color: var(--gold-light);
  font-weight: 600;
  opacity: 0;
  animation: fadeInUp 0.7s ease 0.05s forwards, badgePulse 2.6s ease-in-out 1.4s infinite;
}

.hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 2.9rem);
  margin-bottom: 18px;
  opacity: 0;
  animation: fadeInUp 0.7s ease 0.16s forwards;
}

.hero p.lead {
  color: #d8dfe8;
  font-size: 1.12rem;
  max-width: 520px;
  margin-bottom: 30px;
  opacity: 0;
  animation: fadeInUp 0.7s ease 0.27s forwards;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUp 0.7s ease 0.38s forwards;
}

.hero-stats {
  display: flex;
  gap: 30px;
  margin-top: 40px;
  opacity: 0;
  animation: fadeInUp 0.7s ease 0.49s forwards;
}

.hero-stats div strong {
  display: block;
  font-family: 'Rubik', sans-serif;
  font-size: 1.5rem;
  color: var(--gold-light);
}

.hero-stats div span {
  font-size: 0.85rem;
  color: #b9c3d0;
}

.hero-visual {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 28px;
  backdrop-filter: blur(6px);
  opacity: 0;
  animation: fadeInUp 0.7s ease 0.32s forwards;
}

.hero-visual .mini-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 12px;
  opacity: 0;
  animation: fadeInUp 0.55s ease forwards;
  transition: transform 0.2s ease, background 0.2s ease;
}

.hero-visual .mini-card:nth-child(1) { animation-delay: 0.5s; }
.hero-visual .mini-card:nth-child(2) { animation-delay: 0.62s; }
.hero-visual .mini-card:nth-child(3) { animation-delay: 0.74s; }

.hero-visual .mini-card:last-child {
  margin-bottom: 0;
}

.hero-visual .mini-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-dark);
  flex-shrink: 0;
}

.hero-visual .mini-text strong {
  display: block;
  font-size: 0.95rem;
  color: #fff;
}

.hero-visual .mini-text span {
  font-size: 0.8rem;
  color: #b9c3d0;
}

/* ---------------- Trust badges ---------------- */

.trust-strip {
  background: var(--card-bg);
  border-bottom: 1px solid var(--border);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 34px 0;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: right;
}

.trust-item .icon-wrap {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--success-bg);
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-item strong {
  display: block;
  font-size: 0.95rem;
  color: var(--navy-dark);
}

.trust-item span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ---------------- Sections ---------------- */

.section {
  padding: 70px 0;
}

.section-alt {
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 38px;
  gap: 20px;
  flex-wrap: wrap;
}

.section-head .eyebrow {
  color: var(--gold);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  display: block;
  margin-bottom: 8px;
}

.section-head h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
}

.section-head p {
  color: var(--text-muted);
  margin-top: 8px;
  max-width: 560px;
}

/* ---------------- Category cards ---------------- */

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}

.category-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.category-card .icon-wrap {
  width: 58px;
  height: 58px;
  margin: 0 auto 16px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-card h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.category-card p {
  color: var(--text-muted);
  font-size: 0.86rem;
}

/* ---------------- Review cards ---------------- */

.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 26px;
}

.review-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.review-thumb {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  position: relative;
}

.review-thumb svg {
  width: 52px;
  height: 52px;
  color: rgba(255, 255, 255, 0.85);
}

.review-thumb .badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--gold);
  color: var(--navy-dark);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

.review-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.review-cat {
  font-size: 0.75rem;
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.review-body h3 {
  font-size: 1.08rem;
}

.review-body p {
  color: var(--text-muted);
  font-size: 0.88rem;
  flex: 1;
}

.stars {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--gold);
}

.stars svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  stroke: none;
}

.stars span {
  color: var(--text-muted);
  font-size: 0.82rem;
  margin-right: 4px;
}

.review-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
}

.price-tag {
  font-family: 'Rubik', sans-serif;
  font-weight: 700;
  color: var(--navy-dark);
}

.price-tag span {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 400;
}

/* ---------------- Comparison table ---------------- */

.table-wrap {
  overflow-x: auto;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

table.compare {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

table.compare th,
table.compare td {
  padding: 16px 18px;
  text-align: right;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
}

table.compare thead th {
  background: var(--navy-dark);
  color: #fff;
  font-family: 'Rubik', sans-serif;
  position: sticky;
  top: 0;
}

table.compare tbody tr:hover {
  background: #faf8f3;
}

table.compare tbody tr:last-child td {
  border-bottom: none;
}

.product-cell {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.pick-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--navy-dark);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap;
}

.check-yes {
  color: var(--success);
}

.check-no {
  color: var(--danger);
}

/* ---------------- CTA banner ---------------- */

.cta-banner {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: var(--radius);
  padding: 46px 40px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.cta-banner h3 {
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.cta-banner p {
  color: #cfd9e3;
  max-width: 420px;
}

/* ---------------- Footer ---------------- */

.site-footer {
  background: var(--navy-dark);
  color: #b9c3d0;
  padding: 56px 0 26px;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.footer-grid ul li {
  margin-bottom: 10px;
}

.footer-grid ul li a {
  color: #b9c3d0;
  font-size: 0.9rem;
}

.footer-grid ul li a:hover {
  color: var(--gold-light);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Rubik', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
}

.footer-logo .logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-dark);
}

.footer-logo .logo-mark svg {
  width: 18px;
  height: 18px;
}

.footer-about p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: #9fabbb;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 22px;
  font-size: 0.82rem;
  color: #8291a3;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------------- Breadcrumb ---------------- */

.breadcrumb {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 20px 0;
}

.breadcrumb a {
  color: var(--navy);
  font-weight: 600;
}

/* ---------------- Article / Review page ---------------- */

.article-head {
  padding: 10px 0 40px;
}

.article-head h1 {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  margin: 14px 0;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.disclosure-box {
  background: #fdf6e8;
  border: 1px solid #ecd9a8;
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 0.85rem;
  color: #7a5c14;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 24px 0;
}

.disclosure-box svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.article-layout {
  display: grid;
  grid-template-columns: 2.1fr 1fr;
  gap: 46px;
  align-items: flex-start;
}

.rating-box {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  margin-bottom: 30px;
}

.rating-score {
  font-family: 'Rubik', sans-serif;
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--navy-dark);
}

.rating-score span {
  font-size: 1.1rem;
  color: var(--text-muted);
}

.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 28px 0;
}

.pc-box {
  border-radius: var(--radius-sm);
  padding: 20px;
}

.pc-box.pros {
  background: var(--success-bg);
}

.pc-box.cons {
  background: var(--danger-bg);
}

.pc-box h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 1rem;
}

.pc-box.pros h4 {
  color: var(--success);
}

.pc-box.cons h4 {
  color: var(--danger);
}

.pc-box li {
  display: flex;
  gap: 8px;
  font-size: 0.9rem;
  margin-bottom: 8px;
  align-items: flex-start;
}

.pc-box li svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 3px;
}

.article-body h2 {
  font-size: 1.4rem;
  margin: 34px 0 14px;
}

.article-body p {
  margin-bottom: 16px;
  color: #3a3f45;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.spec-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.spec-table tr:last-child td {
  border-bottom: none;
}

.spec-table td:first-child {
  color: var(--text-muted);
  width: 40%;
}

.spec-table td:last-child {
  font-weight: 600;
}

/* Sidebar buy box */

.buy-box {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  position: sticky;
  top: 96px;
}

.buy-box h4 {
  font-size: 1rem;
  margin-bottom: 14px;
}

.retailer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.retailer-row:last-of-type {
  border-bottom: none;
}

.retailer-name {
  font-weight: 700;
  font-size: 0.92rem;
}

.retailer-price {
  font-family: 'Rubik', sans-serif;
  font-weight: 700;
  color: var(--navy-dark);
}

.buy-box .btn {
  margin-top: 16px;
}

.affiliate-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 12px;
  text-align: center;
}

/* FAQ accordion */

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  background: var(--card-bg);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: none;
  border: none;
  font-family: 'Rubik', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy-dark);
  cursor: pointer;
  text-align: right;
}

.faq-question svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-item.open .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease, padding 0.25s ease;
  padding: 0 20px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.faq-item.open .faq-answer {
  max-height: 240px;
  padding: 0 20px 18px;
}

/* ---------------- Generic content pages ---------------- */

.page-hero {
  background: linear-gradient(160deg, var(--navy-dark), var(--navy));
  color: #fff;
  padding: 54px 0;
}

.page-hero h1 {
  color: #fff;
}

.page-hero p {
  color: #cfd9e3;
  margin-top: 10px;
  max-width: 600px;
}

.content-block {
  max-width: 780px;
  margin: 0 auto;
}

.content-block h2 {
  margin: 32px 0 14px;
  font-size: 1.35rem;
}

.content-block p {
  margin-bottom: 14px;
  color: #3a3f45;
}

.content-block ul {
  margin: 10px 0 18px;
  padding-right: 20px;
}

.content-block ul li {
  list-style: disc;
  margin-bottom: 8px;
  color: #3a3f45;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 30px 0;
}

.value-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.value-card .icon-wrap {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--success-bg);
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.value-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.value-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Contact form */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 46px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: var(--navy-dark);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.94rem;
  background: #fff;
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 154, 59, 0.15);
}

.contact-info-card {
  background: var(--navy-dark);
  color: #fff;
  border-radius: var(--radius);
  padding: 30px;
}

.contact-info-card h3 {
  color: #fff;
  margin-bottom: 18px;
}

.contact-info-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.92rem;
  color: #d8dfe8;
}

.contact-info-row .icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold-light);
}

/* ---------------- Newsletter ---------------- */

.newsletter-box {
  background: linear-gradient(120deg, #fdf6e8 0%, #f7f1e0 100%);
  border: 1px solid #ecd9a8;
  border-radius: var(--radius);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.newsletter-box h3 {
  font-size: 1.3rem;
  margin-bottom: 6px;
}

.newsletter-box p {
  color: var(--text-muted);
  max-width: 420px;
  font-size: 0.92rem;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.newsletter-form input[type="email"] {
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.94rem;
  min-width: 240px;
}

.newsletter-form input[type="email"]:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 154, 59, 0.15);
}

.newsletter-note {
  width: 100%;
  font-size: 0.85rem;
  color: var(--navy);
  margin-top: 4px;
  min-height: 1.2em;
}

/* ---------------- Admin (מסך ניהול מקומי) ---------------- */

.admin-banner {
  background: #7a3b12;
  color: #fdf0e4;
  padding: 14px 24px;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
}

.admin-banner strong {
  color: #ffd9a8;
}

.admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-bottom: 30px;
}

.admin-toolbar .actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.file-status {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.file-status .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--danger);
  display: inline-block;
}

.file-status.connected .dot {
  background: var(--success);
}

.hidden {
  display: none !important;
}

.admin-table-wrap {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow-x: auto;
  margin-bottom: 40px;
}

.admin-table-wrap table.admin-table {
  min-width: 720px;
}

table.admin-table {
  width: 100%;
  border-collapse: collapse;
}

table.admin-table th,
table.admin-table td {
  padding: 14px 16px;
  text-align: right;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  vertical-align: middle;
}

table.admin-table thead th {
  background: #faf8f3;
  font-family: 'Rubik', sans-serif;
  color: var(--navy-dark);
}

table.admin-table tbody tr:last-child td {
  border-bottom: none;
}

table.admin-table .row-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.admin-form-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  margin-bottom: 40px;
}

.admin-form-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.admin-form-grid .full {
  grid-column: 1 / -1;
}

.field-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.checkbox-row input {
  width: auto;
}

.admin-form-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

@media (max-width: 900px) {
  .admin-form-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------------- Scroll reveal (קצב חזותי בגלילה) ---------------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ---------------- Scroll CTA (CTA שמתגלה תוך כדי גלילה) ---------------- */

.scroll-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  z-index: 60;
  padding: 0 16px;
  transform: translateY(140%);
  transition: transform 0.35s ease;
  pointer-events: none;
  touch-action: manipulation;
}

.scroll-cta.visible {
  transform: translateY(0);
  pointer-events: auto;
}

.scroll-cta-inner {
  max-width: 640px;
  margin: 0 auto;
  background: var(--navy-dark);
  color: #fff;
  border-radius: 999px;
  padding: 8px 8px 8px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 14px 32px rgba(14, 32, 54, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.scroll-cta-inner span {
  flex: 1;
  font-size: 0.86rem;
  color: #d8dfe8;
}

.scroll-cta-close {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s ease, transform 0.15s ease;
}

.scroll-cta-close:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: scale(1.08);
}

@media (max-width: 560px) {
  .scroll-cta-inner span {
    display: none;
  }
}

/* ---------------- Reduced motion ---------------- */

@media (prefers-reduced-motion: reduce) {
  .hero-eyebrow,
  .hero h1,
  .hero p.lead,
  .hero-actions,
  .hero-stats,
  .hero-visual,
  .hero-visual .mini-card,
  .reveal {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .scroll-cta {
    transition: none;
  }
}

/* ---------------- Responsive ---------------- */

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

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

  .article-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .buy-box {
    position: static;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .main-nav ul {
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: #fff;
    padding: 0 24px;
    gap: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
    transition: max-height 0.3s ease, opacity 0.25s ease, padding 0.3s ease;
  }

  .nav-toggle {
    display: flex;
  }

  .header-inner.open .main-nav ul {
    max-height: 360px;
    opacity: 1;
    padding: 20px 24px;
    gap: 16px;
  }

  .main-nav ul li a {
    display: block;
    padding: 6px 0;
  }

  .trust-grid,
  .value-grid,
  .pros-cons {
    grid-template-columns: 1fr;
  }

  .cta-banner {
    flex-direction: column;
    text-align: center;
  }

  .newsletter-form {
    flex-direction: column;
    align-items: stretch;
  }

  .newsletter-form input[type="email"] {
    min-width: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero {
    padding: 56px 0 64px;
  }

  .hero-stats {
    gap: 18px 26px;
    flex-wrap: wrap;
  }

  .cta-banner,
  .newsletter-box {
    padding: 30px 22px;
  }

  .admin-form-grid {
    grid-template-columns: 1fr;
  }
}
