/* ========= בסיס ========= */

:root {
  --rachel-bg:         #f5f7fb;
  --rachel-surface:    #ffffff;
  --rachel-primary:    #0d3d91;
  --rachel-accent:     #f6a93b;
  --rachel-text:       #222222;
  --rachel-muted-text: #5b6475;
  --rachel-border:     rgba(15, 35, 52, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  direction: rtl;
  text-align: right;
  font-family: "Heebo", system-ui, sans-serif;
  background:
    radial-gradient(circle at top right, rgba(13, 61, 145, 0.08), transparent 55%),
    radial-gradient(circle at bottom left, rgba(246, 169, 59, 0.07), transparent 55%),
    #f5f7fb;
  color: var(--rachel-text);
  min-height: 100vh;
}

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

/* קונטיינר כללי */

.rachel-container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

/* ========= Header / תפריט עליון ========= */

.rachel-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--rachel-border);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.rachel-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  gap: 20px;
}

/* לוגו / ברנד */

.rachel-brand-link {
  text-decoration: none;
  color: inherit;
}

.rachel-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rachel-brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--rachel-primary), var(--rachel-accent));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 8px 18px rgba(13, 61, 145, 0.4);
  animation: brandFloat 4s ease-in-out infinite;
}

.rachel-brand-text-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.rachel-brand-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--rachel-primary);
}

.rachel-brand-subtitle {
  font-size: 0.8rem;
  color: var(--rachel-muted-text);
}

/* ניווט – דסקטופ */

.rachel-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.92rem;
}

.nav-link {
  position: relative;
  text-decoration: none;
  color: var(--rachel-muted-text);
  padding: 8px 14px;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  right: 16px;
  left: 16px;
  bottom: 5px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--rachel-primary), var(--rachel-accent));
  transform: scaleX(0);
  transform-origin: center;
  opacity: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-link:hover {
  color: var(--rachel-primary);
  background: #eef2ff;
}

.nav-link:hover::after {
  transform: scaleX(1);
  opacity: 1;
}

.nav-link.is-active {
  color: var(--rachel-primary);
  font-weight: 600;
}

.nav-link.is-active::after {
  transform: scaleX(1);
  opacity: 1;
}

/* CTA בתפריט */

.nav-cta {
  margin-right: 6px;
  background: var(--rachel-primary);
  color: #fff !important;
  box-shadow: 0 8px 22px rgba(13, 61, 145, 0.4);
}

.nav-cta::after {
  display: none;
}

.nav-cta:hover {
  background: #143f9f;
}

/* המבורגר */

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(255, 255, 255, 0.96);
  padding: 0;
  margin: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-direction: column;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #111827;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.nav-open {
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.2);
}

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

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

/* רקע מאחורי תפריט במובייל */

.nav-backdrop {
  display: none;
}

.nav-backdrop.nav-open {
  display: block;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.35);
  z-index: 90;
}

/* ========= Hero ========= */

.rachel-hero {
  background: radial-gradient(circle at top right, #f3f6ff 0, #ffffff 45%, #f5f7fb 100%);
  padding: 90px 0 80px;
}

.rachel-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 1fr);
  gap: 40px;
  align-items: center;
}

.rachel-hero-text h1 {
  margin: 6px 0 12px;
  font-size: 2.3rem;
}

.rachel-hero-text p {
  margin: 0;
  max-width: 520px;
  color: var(--rachel-muted-text);
  font-size: 1.02rem;
}

.hero-kicker {
  display: inline-block;
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: #eef2ff;
  color: var(--rachel-primary);
  border: 1px solid rgba(13, 61, 145, 0.18);
}

.rachel-hero-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* תמונה ב־Hero */

.rachel-hero-visual img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 22px;
  border: 1px solid var(--rachel-border);
  box-shadow: 0 14px 36px rgba(15, 35, 52, 0.18);
  animation: heroFloat 6s ease-in-out infinite;
}

/* ========= כפתורים ========= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.2s ease, color 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--rachel-primary), #143f9f);
  color: #ffffff;
  box-shadow: 0 12px 25px rgba(13, 61, 145, 0.45);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 35px rgba(13, 61, 145, 0.55);
}

.btn-ghost {
  background: transparent;
  color: var(--rachel-primary);
  border: 1px solid rgba(13, 61, 145, 0.4);
}

.btn-ghost:hover {
  background: rgba(13, 61, 145, 0.06);
}

.btn-full {
  width: 100%;
}

/* ========= אזורי תוכן ========= */

.section {
  padding: 80px 6%;
  position: relative;
}

/* כל הסקשנים שקופים – הרקע האחיד מגיע מה-body ומהכתמים */
.section-light,
.section-soft,
.section-colored {
  background: transparent;
}

.section h2 {
  font-size: 26px;
  margin-top: 0;
  margin-bottom: 12px;
  text-align: center;
}

.section-subtitle {
  max-width: 620px;
  margin: 0 auto 36px;
  font-size: 15px;
  color: #6b7280;
}

.center {
  text-align: center;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 32px;
  align-items: center;
  justify-content: space-between;
}

.section-inner.column {
  flex-direction: column;
}

/* טקסט + תמונה */

.section-text p {
  margin-bottom: 12px;
  color: #4b5563;
  font-size: 15px;
}

.section-image {
  flex: 1;
  min-width: 260px;
}

.section-image img {
  border-radius: 24px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.25);
}

/* ========= רשימה ========= */

.bullets {
  list-style: none;
  padding: 0;
  margin: 16px 0;
  font-size: 15px;
  color: #374151;
}

.bullets li {
  margin-bottom: 8px;
}

.bullets strong {
  color: var(--rachel-primary);
}

/* ========= כרטיסים ========= */

.cards {
  max-width: 1100px;
  margin: 30px auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.card {
  background: var(--rachel-surface);
  border-radius: 22px;
  overflow: hidden;
  padding-bottom: 12px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  border: 1px solid var(--rachel-border);
  transform: translateY(10px);
  opacity: 0;
  transition: transform 0.5s ease, box-shadow 0.25s ease, opacity 0.5s ease;
}

.card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.card h3 {
  font-size: 18px;
  margin: 14px 18px 6px;
}

.card p {
  font-size: 14px;
  color: #6b7280;
  margin: 0 18px 12px;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.16);
}

/* ========= גלריה ========= */

.gallery {
  max-width: 1100px;
  margin: 10px auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}

.gallery-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  transform: translateY(10px);
  opacity: 0;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.gallery-item img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at bottom, rgba(0,0,0,0.35), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item:hover::after {
  opacity: 1;
}

/* ========= טופס מודרני רחב ========= */

.contact-form {
  width: 100%;                         /* שיתפוס את כל הרוחב הזמין בקונטיינר */
  max-width: 780px;                    /* במקום 640px – אפשר גם 820 אם תרצה עוד */
  margin: 0 auto;
  padding: 24px 24px 28px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(13, 61, 145, 0.05), transparent 55%),
    radial-gradient(circle at bottom left, rgba(246, 169, 59, 0.06), transparent 55%),
    #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(6px);
}

.form-row {
  display: flex;
  gap: 16px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.field-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field-group.full {
  flex: 1 1 100%;
}

.field-group label {
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6b7280;
}

/* שדות הטופס */

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 11px 12px;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  font-size: 0.95rem;
  outline: none;
  transition:
    border 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease,
    transform 0.08s ease;
  background: #f9fafb;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #9ca3af;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--rachel-primary);
  background: #f7f9ff;
  box-shadow:
    0 0 0 1px rgba(13, 61, 145, 0.35),
    0 14px 30px rgba(15, 23, 42, 0.18);
  transform: translateY(-1px);
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

/* כפתור הטופס */

.contact-form .btn-full {
  margin-top: 8px;
  font-weight: 600;
}

/* טקסט מתחת לטופס */

.contact-note {
  max-width: 600px;
  margin: 16px auto 0;
  font-size: 13px;
  color: #6b7280;
  text-align: center;
}

/* ========= פוטר ========= */

footer {
  text-align: center;
  padding: 18px 10px 26px;
  font-size: 13px;
  color: #9ca3af;
  background: rgba(243,244,246,0.96);
}

/* ========= אנימציות גלילה / reveal ========= */

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

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* כרטיסים וגלריה כשנחשפים */
.card.revealed,
.gallery-item.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ========= אנימציות ========= */

@keyframes heroFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@keyframes brandFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-2px);
  }
}

/* ========= רספונסיביות ========= */

@media (max-width: 900px) {

  .rachel-header-inner {
    padding-inline: 18px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .rachel-nav {
    position: fixed;
    top: 60px;
    right: 0;
    left: 0;
    margin: 0;
    padding: 10px 18px 16px;
    background: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 18px;
    z-index: 99;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .rachel-nav.nav-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-link {
    width: 100%;
    padding-inline: 10px;
  }

  .nav-cta {
    width: 100%;
    text-align: center;
    margin-right: 0;
  }

  .rachel-hero {
    padding-top: 80px;
  }

  .rachel-hero-inner {
    grid-template-columns: 1fr;
  }

  .section {
    padding-inline: 18px;
  }

  .section-inner {
    flex-direction: column-reverse;
    text-align: center;
  }

  .section-text p {
    text-align: right;
  }

  .form-row {
    flex-direction: column;
  }
}

@media (max-width: 600px) {

  .rachel-hero-visual img {
    height: 220px;
  }

  .rachel-hero-text h1 {
    font-size: 1.8rem;
  }

  .rachel-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ========= SweetAlert התאמה לרחל ========= */

.swal-wide.swal2-popup {
  border-radius: 18px !important;
  padding: 18px 20px !important;
}

/* במובייל – שהמודאל לא יהיה צר מדי */
@media (max-width: 600px) {
  .swal-wide.swal2-popup {
    width: min(94vw, 420px) !important;
    margin: 0 auto !important;
  }
}

/* ========= מפרידי סקשנים עם כתמי פסטל – יושבים "בין" הסקשנים ========= */

.section-divider {
  position: relative;
  width: 100%;
  height: 110px;
  margin: -40px 0;        /* הכתם נכנס טיפה לתוך הסקשן מעל ומתחת */
  overflow: visible;      /* לא לחתוך את הכתמים */
  pointer-events: none;
  background: transparent; /* שלא יסתיר את הרקע הכללי */
  z-index: 0;
}

/* בסיס ל"כתם" */
.section-divider::before,
.section-divider::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(14px);
  opacity: 0.85;
  transform: translate3d(0, 0, 0);
}

/* ===== wave – כחול / טורקיז רך ===== */
.section-divider.wave::before {
  right: 12%;
  top: 20px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle at 30% 30%,
      rgba(13, 61, 145, 0.20),
      rgba(13, 61, 145, 0.02));
  animation: floatBlob1 16s ease-in-out infinite alternate;
}

.section-divider.wave::after {
  left: 15%;
  top: 35px;
  width: 190px;
  height: 190px;
  background: radial-gradient(circle at 70% 30%,
      rgba(76, 194, 203, 0.20),
      rgba(76, 194, 203, 0.03));
  animation: floatBlob2 18s ease-in-out infinite alternate;
}

/* ===== arc – ורוד / סגול פסטל ===== */
.section-divider.arc::before {
  left: 18%;
  top: 22px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle at 40% 40%,
      rgba(186, 104, 200, 0.22),
      rgba(186, 104, 200, 0.03));
  animation: floatBlob3 20s ease-in-out infinite alternate;
}

.section-divider.arc::after {
  right: 16%;
  top: 40px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle at 60% 20%,
      rgba(236, 72, 153, 0.19),
      rgba(236, 72, 153, 0.02));
  animation: floatBlob2 17s ease-in-out infinite alternate;
}

/* ===== brush – זהב / אפרסק עדין ===== */
.section-divider.brush::before {
  left: 10%;
  top: 28px;
  width: 260px;
  height: 200px;
  background: radial-gradient(circle at 20% 30%,
      rgba(246, 169, 59, 0.24),
      rgba(246, 169, 59, 0.04));
  animation: floatBlob1 22s ease-in-out infinite alternate;
}

.section-divider.brush::after {
  right: 20%;
  top: 32px;
  width: 220px;
  height: 190px;
  background: radial-gradient(circle at 70% 60%,
      rgba(251, 191, 36, 0.16),
      rgba(251, 191, 36, 0.02));
  animation: floatBlob3 19s ease-in-out infinite alternate;
}

/* ===== lines – קו עדין + כתם תכלת ===== */
.section-divider.lines {
  height: 100px;
}

.section-divider.lines::before {
  left: 5%;
  right: 5%;
  top: 48px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg,
      rgba(13, 61, 145, 0.45),
      rgba(246, 169, 59, 0.3),
      transparent);
  filter: none;
  opacity: 0.8;
}

.section-divider.lines::after {
  left: 20%;
  top: 18px;
  width: 210px;
  height: 210px;
  border-radius: 999px;
  background: radial-gradient(circle at 40% 40%,
      rgba(59, 130, 246, 0.18),
      rgba(59, 130, 246, 0.02));
  filter: blur(14px);
  opacity: 0.75;
  animation: floatBlob2 21s ease-in-out infinite alternate;
}

/* ========= אנימציות רכות ========= */

@keyframes floatBlob1 {
  0%   { transform: translate3d(0, 0, 0); }
  50%  { transform: translate3d(0, -8px, 0); }
  100% { transform: translate3d(6px, 4px, 0); }
}

@keyframes floatBlob2 {
  0%   { transform: translate3d(0, 0, 0); }
  50%  { transform: translate3d(-6px, -5px, 0); }
  100% { transform: translate3d(4px, 6px, 0); }
}

@keyframes floatBlob3 {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(3px, -6px, 0) scale(1.03); }
  100% { transform: translate3d(-3px, 5px, 0) scale(0.98); }
}

/* מובייל – להקטין טיפה שלא ישתלט */
@media (max-width: 768px) {
  .section-divider {
    height: 90px;
  }

  .section-divider::before,
  .section-divider::after {
    width: 170px !important;
    height: 170px !important;
    filter: blur(12px);
    opacity: 0.8;
  }
}

/* ========= Footer ========= */

.rachel-footer {
  background: rgba(243, 244, 246, 0.96);
  padding: 26px 0 32px;
  font-size: 13px;
  color: #6b7280;
  margin-top: 40px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy {
  margin: 0;
}

.footer-designed {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: #4b5563;
}

.footer-logo {
  height: 22px;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.footer-logo:hover {
  opacity: 1;
}

/* מובייל */
@media (max-width: 600px) {
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}
.footer-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.footer-link:hover .footer-logo {
  opacity: 1;
  transform: translateY(-1px);
}