:root {
  --bg: #050816;
  --bg-alt: #020617;
  --card-bg: #020617;
  --primary: #22c55e;
  --primary-soft: rgba(34, 197, 94, 0.12);
  --accent: #38bdf8;
  --text: #f9fafb;
  --muted: #9ca3af;
  --border: rgba(148, 163, 184, 0.45);
  --radius-lg: 18px;
  --radius-xl: 24px;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.85);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Heebo, Arial, sans-serif;
  background: radial-gradient(circle at top, #0b1120 0, #020617 45%, #000 100%);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: min(1120px, 96vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.6), transparent);
  border-bottom: 1px solid rgba(148, 163, 184, 0.4);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  overflow: hidden;
  background: radial-gradient(circle at 30% 30%, #22c55e, #0ea5e9);
  box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.45);
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-title {
  font-weight: 700;
  font-size: 1rem;
}

.brand-sub {
  font-size: 0.78rem;
  color: var(--muted);
}

.nav-links {
  display: flex;
  gap: 18px;
  font-size: 0.9rem;
  color: var(--muted);
}

.nav-links a {
  position: relative;
  padding-bottom: 2px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: -2px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transform: scaleX(0.6);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.nav-links a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.phone-highlight {
  font-size: 0.82rem;
  color: var(--muted);
  direction: ltr;
}

/* Buttons */

.btn {
  border-radius: 999px;
  border: 0;
  padding: 8px 18px;
  font-size: 0.9rem;
  cursor: pointer;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}

.btn-lg {
  padding-inline: 20px;
  padding-block: 10px;
  font-size: 0.95rem;
}

.btn-primary {
  background: radial-gradient(circle at 0 0, #4ade80, #16a34a);
  color: #022c22;
  box-shadow: 0 10px 25px rgba(34, 197, 94, 0.45);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 36px rgba(34, 197, 94, 0.65);
}

.btn-secondary {
  background: rgba(15, 23, 42, 0.9);
  color: var(--muted);
  border: 1px solid rgba(148, 163, 184, 0.7);
}

.btn-secondary:hover {
  background: rgba(15, 23, 42, 0.98);
  color: #e5e7eb;
}

/* Hero */

.hero {
  padding: 30px 0 32px;
}

.hero.slim {
  padding-top: 24px;
  padding-bottom: 8px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 30px;
  align-items: center;
}

.hero-title {
  font-size: clamp(2.1rem, 3vw, 2.7rem);
  line-height: 1.18;
  margin: 0 0 10px;
}

.hero-title span {
  background: linear-gradient(120deg, #4ade80, #22c55e, #0ea5e9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-title.small {
  font-size: 1.9rem;
}

.hero-sub {
  font-size: 1rem;
  color: var(--muted);
  max-width: 600px;
  margin-bottom: 14px;
}

.hero-benefits {
  list-style: disc;
  padding-right: 18px;
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 8px;
}

.hero-note {
  font-size: 0.84rem;
  color: var(--muted);
  max-width: 460px;
}

.hero-side {
  display: flex;
  justify-content: center;
}

.hero-card {
  border-radius: var(--radius-xl);
  background: radial-gradient(circle at 0 0, rgba(34, 197, 94, 0.12), rgba(15, 23, 42, 0.96));
  border: 1px solid rgba(148, 163, 184, 0.5);
  box-shadow: var(--shadow-soft);
  padding: 18px;
}

.hero-card-title {
  margin: 0 0 10px;
  font-size: 1.05rem;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.metric {
  background: rgba(15, 23, 42, 0.96);
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  padding: 8px 9px;
  font-size: 0.82rem;
}

.metric-label {
  color: var(--muted);
}

.metric-value {
  font-size: 1rem;
  font-weight: 600;
}

.metric-caption {
  color: var(--muted);
  font-size: 0.78rem;
}

.hero-media-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
}

.media-card {
  background: rgba(15, 23, 42, 0.96);
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  padding: 10px;
  font-size: 0.84rem;
}

.media-card h4 {
  margin: 0 0 6px;
}

.media-card.wide {
  grid-column: span 2;
}

/* Image placeholders */

.media-placeholder {
  border-radius: 14px;
  min-height: 120px;
  background-color: #020617;
  border: 1px dashed rgba(148, 163, 184, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.86rem;
  color: rgba(148, 163, 184, 0.9);
  text-align: center;
  padding: 6px;
}

/* תמיכה ב‑png / jpeg: החלף כאן רק שם קובץ, לא HTML */
.picture1 {
  background-image: url("picture1.png");
  background-size: cover;
  background-position: center;
}
.picture2 {
  background-image: url("picture2.png");
  background-size: cover;
  background-position: center;
}
.picture3 {
  background-image: url("picture3.png");
  background-size: cover;
  background-position: center;
}
.picture4 {
  background-image: url("picture4.png");
  background-size: cover;
  background-position: center;
}
/* אם תרצה לעבוד עם JPEG:
.picture1 { background-image: url("picture1.jpeg"); }
וכו'. */

/* Sections */

.section {
  padding: 28px 0 24px;
}

.section.alt {
  background: radial-gradient(circle at top, #020617 0, #020617 48%, #000 100%);
}

.section-header {
  margin-bottom: 16px;
}

.section-kicker {
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.section-title {
  font-size: 1.5rem;
  margin: 0 0 4px;
}

.section-sub {
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 640px;
}

/* Cards */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.card {
  background: rgba(15, 23, 42, 0.97);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  padding: 14px 14px 12px;
  position: relative;
  overflow: hidden;
}

.card-inner {
  position: relative;
  z-index: 1;
}

.card-title {
  font-size: 1rem;
  margin: 0 0 6px;
}

.card-text {
  font-size: 0.9rem;
  color: var(--muted);
}

.mini-list {
  margin: 8px 0 0 16px;
  padding: 0;
  font-size: 0.86rem;
  color: var(--muted);
}

/* Steps */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 10px;
}

.step-card {
  background: rgba(15, 23, 42, 0.96);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 14px;
}

.step-number {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #22c55e, #0ea5e9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.step-title {
  font-size: 0.98rem;
  margin: 0 0 6px;
}

.step-text {
  font-size: 0.9rem;
  color: var(--muted);
}

/* Media row */

.media-row {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 14px;
  margin-top: 18px;
}

/* Flow */

.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.flow-step {
  background: rgba(15, 23, 42, 0.96);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 14px;
  font-size: 0.88rem;
}

.flow-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: #bbf7d0;
  font-size: 0.78rem;
  margin-bottom: 4px;
}

.flow-title {
  font-size: 0.96rem;
  margin: 0 0 6px;
}

.flow-text {
  font-size: 0.86rem;
  color: var(--muted);
}

.flow-placeholder {
  margin-top: 8px;
  min-height: 80px;
  border-radius: 12px;
  border: 1px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
}

/* CTA */

.cta-banner {
  border-radius: var(--radius-xl);
  background: radial-gradient(circle at 0 0, rgba(34, 197, 94, 0.18), rgba(15, 23, 42, 0.96));
  border: 1px solid rgba(148, 163, 184, 0.6);
  box-shadow: var(--shadow-soft);
  padding: 16px 18px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}

.cta-title {
  margin: 0 0 6px;
  font-size: 1.2rem;
}

.cta-text {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 520px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Contact */

.contact-section {
  padding-bottom: 36px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 20px;
}

.contact-items {
  display: grid;
  gap: 6px;
  font-size: 0.9rem;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-label {
  color: var(--muted);
  min-width: 70px;
}

.contact-link {
  color: #e5e7eb;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.contact-form {
  display: grid;
  gap: 10px;
  font-size: 0.86rem;
}

.field-group {
  display: grid;
  gap: 4px;
}

label {
  font-size: 0.82rem;
  color: var(--muted);
}

input,
textarea {
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.55);
  padding: 9px 12px;
  background: rgba(15, 23, 42, 0.96);
  color: #e5e7eb;
  font-family: inherit;
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

textarea {
  border-radius: 16px;
  min-height: 80px;
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.45);
}

.form-note {
  font-size: 0.78rem;
  color: var(--muted);
}

/* Footer */

.site-footer {
  border-top: 1px solid rgba(55, 65, 81, 0.9);
  padding: 10px 0 14px;
  margin-top: auto;
  font-size: 0.78rem;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  align-items: center;
}

/* Responsive */

@media (max-width: 900px) {
  .hero-grid,
  .contact-grid,
  .media-row {
    grid-template-columns: minmax(0, 1fr);
  }
  .nav-links {
    display: none;
  }
  .hero {
    padding-top: 22px;
  }
}

@media (max-width: 768px) {
  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .steps-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .flow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .cards-grid,
  .flow-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-title {
    font-size: 1.9rem;
  }
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.6), transparent);
  border-bottom: 1px solid rgba(148, 163, 184, 0.4);
}

/* קיבוע גובה בסיסי + מרווח אחיד */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  min-height: 64px;      /* גובה מינימלי זהה בכל הדפים */
  box-sizing: border-box;
}

/* לדאוג שהלינקים לא ישברו שורה מוקדם מדי בדסקטופ */
.nav-links a {
  white-space: nowrap;
}

@media (max-width: 900px) {
  .nav {
    align-items: flex-start;
  }

  .nav-cta {
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
  }

  .phone-highlight {
    font-size: 0.78rem;
  }
}
@media (max-width: 768px) {
  .cards-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .media-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 1.8rem;
  }
}
/* לרשימות המיניאטוריות בכרטיסים */
.mini-list {
  margin: 8px 0 0;
  padding: 0;
  padding-right: 18px;       /* מרווח פנימה מהימין */
  list-style-type: disc;
  list-style-position: inside;
  font-size: 0.86rem;
  color: var(--muted);
}

/* לרשימות אחרות בתוך כרטיסים (אם יש) */
.card-text ul {
  margin: 8px 0 0;
  padding: 0;
  padding-right: 18px;
  list-style-type: disc;
  list-style-position: inside;
}

.flow-image {
  margin-top: 16px;
  width: 100%;
  max-width: 320px;        /* קופסה קצת יותר רחבה */
  height: 220px;           /* גובה גבוה יותר, כמו שביקשת */
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;     /* ממרכז את התמונה אנכית */
  justify-content: center; /* ממרכז אופקית */
  background: radial-gradient(circle at top, #101828 0, #020617 60%);
}

.flow-image img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;     /* כמו fit-to-page: לא חותך, משאיר שוליים אם צריך */
  display: block;
}

.flow-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(2, minmax(0, 1fr)); /* שתי קוביות בשורה */
  max-width: 1100px;          /* מרכז את הבלוק ומונע פריסה רחבה מדי */
  margin: 0 auto;
}

.flow-step {
  padding: 24px 24px 28px;
  border-radius: 24px;
  background: radial-gradient(circle at top, #101828 0, #020617 60%);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.7);
}

/* הקופסת תמונה – אפשר להגדיל קצת */
.flow-image {
  margin-top: 20px;
  width: 100%;
  max-width: 420px;
  height: 240px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at top, #101828 0, #020617 60%);
}

.flow-image img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

@media (max-width: 768px) {
  .flow-grid {
    grid-template-columns: 1fr;   /* בטלפונים – קובייה אחת בשורה */
  }

  .flow-image {
    max-width: 100%;
    height: 200px;
  }
}

