﻿@charset "UTF-8";

/* ===========================
   משתנים גלובליים
=========================== */
:root {
  --bg: #ffffff;
  --bg-soft: #fff6f8;
  --text: #2a2a2a;
  --muted: #777;
  --brand: #ff2c55;
  --brand-soft: #ffe9ef;
  --accent: #f3b5c0;
  --card: #ffffff;
  --shadow: 0 10px 25px rgba(0,0,0,0.08);
  --radius: 22px;
  --radius-lg: 28px;
  --container: 1100px;
}

/* ===========================
   Reset בסיס
=========================== */
* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Assistant', sans-serif;
  background: var(--bg);
  color: var(--text);
  scroll-behavior: smooth;
}

img, video {
  max-width: 100%;
  display: block;
  border-radius: 10px;
}

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

/* ===========================
   Layout
=========================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

section { padding: 64px 0; }
.section-muted { background: var(--bg-soft); }

h1, h2, h3 {
  font-family: 'Rubik', sans-serif;
  margin: 0 0 12px;
}

h2.section-title {
  font-weight: 800;
  font-size: clamp(1.5rem, 2.2vw, 2.2rem);
  text-align: center;
  color: var(--brand);
  font-family: 'Secular One', 'Rubik', sans-serif;
}

.hero-title {
  font-family: 'Secular One', 'Rubik', sans-serif !important;
}

.section-subtitle {
  margin-top: 8px;
  text-align: center;
  color: var(--muted);
}

/* ===========================
   Header
=========================== */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #eee;
  box-shadow: 0 4px 14px rgba(0,0,0,0.05);
  overflow: visible;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
}

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

.brand img { width: 50px; height: 50px; object-fit: contain; }

.brand span {
  font-family: 'Varela Round', 'Assistant', sans-serif;
  font-weight: 400;
  font-size: 1.25rem;
  font-display: optional;
}

/* מונע FOUT בלוגו – מסתיר את הטקסט עד שהפונט נטען */
.brand span {
  visibility: hidden;
}

.fonts-loaded .brand span {
  visibility: visible;
}

.menu {
  display: flex;
  gap: 20px;
  align-items: center;
}

.menu a {
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 12px;
  transition: 0.3s;
  border: 1px solid transparent;
}

.menu a:hover {
  background: var(--brand-soft);
  color: var(--brand);
  border-color: transparent;
}

/* CTA in header */
.cta {
  display: inline-flex;
  align-items: center;
  background: var(--brand);
  color: #fff;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(255,44,85,0.25);
  transition: transform 0.2s;
}

.cta:hover { transform: translateY(-2px); }

/* Hide hamburger on desktop by default */
.menu-toggle { display: none; }

/* ===========================
   NAV Dropdown: "שירותים"
=========================== */
.nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-link.has-submenu {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 12px;
  font-weight: 600;
}

/* Submenu */
.nav-item--dropdown .submenu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 240px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 16px;
  box-shadow: 0 18px 45px rgba(0,0,0,0.10);
  padding: 10px;
  z-index: 1000;

  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.nav-item--dropdown .submenu a {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  color: #111;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}

/* כותרות קבוצה בתפריט */
.submenu-group-label {
  display: block;
  padding: 6px 12px 4px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #aaa;
  text-transform: uppercase;
  pointer-events: none;
  user-select: none;
}

.submenu-divider {
  height: 1px;
  background: rgba(0,0,0,0.07);
  margin: 6px 8px;
}

/* badge התמחות */
.submenu-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(139,90,60,0.1);
  color: #8B5A3C;
  margin-right: 6px;
  vertical-align: middle;
  line-height: 1.4;
}

.submenu-badge--green {
  background: rgba(107,143,94,0.12);
  color: #6B8F5E;
}

/* צבע ייחודי לכל פריט בתפריט */
.nav-item--dropdown .submenu a[href*="separation-counseling"]:hover {
  background: rgba(124, 92, 191, 0.12);
  color: #7C5CBF;
}

.nav-item--dropdown .submenu a[href*="couples-counseling"]:hover {
  background: rgba(42, 157, 143, 0.12);
  color: #2A9D8F;
}

.nav-item--dropdown .submenu a[href*="sexual-counseling"]:hover {
  background: rgba(224, 122, 154, 0.12);
  color: #E07A9A;
}

.nav-item--dropdown .submenu a[href*="family-counseling"]:hover {
  background: rgba(232, 146, 74, 0.12);
  color: #E8924A;
}

.nav-item--dropdown .submenu a[href*="military-trauma"]:hover {
  background: rgba(139, 90, 60, 0.12);
  color: #8B5A3C;
}

.nav-item--dropdown .submenu a[href*="fertility"]:hover {
  background: rgba(107, 143, 94, 0.12);
  color: #6B8F5E;
}

/* Open on hover/focus */
.nav-item--dropdown:hover .submenu,
.nav-item--dropdown:focus-within .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* Invisible bridge */
.nav-item--dropdown .submenu::before {
  content: "";
  position: absolute;
  top: -12px;
  right: 0;
  left: 0;
  height: 12px;
}

/* Mobile behavior */
@media (max-width: 900px) {
  .nav-item--dropdown { display: block; }

  .nav-item--dropdown .submenu {
    position: static;
    box-shadow: none;
    border: 0;
    padding: 6px 0 0;

    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;

    display: none;
  }

  .nav-item--dropdown.is-open .submenu { display: block; }

  .nav-item--dropdown .submenu a {
    padding: 10px 0;
    border-radius: 0;
  }
}

/* ===========================
   Buttons
=========================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 700;
  cursor: pointer;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 10px 24px rgba(255,44,85,0.25);
}

.btn-primary:hover { background: #ff5477; }

.btn-stroke {
  border: 1px solid #ddd;
  color: var(--text);
}

/* Focus styles */
.btn:focus { outline: none; box-shadow: none; }

.btn:focus-visible {
  outline: 3px solid rgba(255, 44, 85, 0.35);
  outline-offset: 3px;
  box-shadow: none;
}

button.btn { border: 0; }

/* ===========================
   Hero
=========================== */
.hero-section {
  background: linear-gradient(180deg, #fff 0%, #fff6f8 100%);
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
}

.hero-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 32px;
  animation: fadeInUp 1s ease;
}

.hero-card h1 { margin-bottom: 5px; }

.hero-card .sub {
  font-size: 20px;
  margin-top: 0;
  line-height: 1.7;
}

.hero-card .sub-bullet_1,
.hero-card .sub-bullet_2 {
  margin-top: 5px;
  font-weight: 600;
  opacity: 1;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-soft);
  color: var(--brand);
  border-radius: 999px;
  padding: 6px 14px;
  font-weight: 700;
  margin-bottom: 14px;
}

.hero h1 {
  font-family: 'Rubik';
  font-size: clamp(1.9rem, 3.8vw, 2.8rem);
  font-weight: 800;
  line-height: 1.25;
}

.sub {
  color: var(--muted);
  font-size: 1.1rem;
  margin-bottom: 22px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-card .hero-title {
  margin: 0 0 6px;
  font-size: clamp(40px, 3.2vw, 56px);
  line-height: 1.05;
}

.hero-card .hero-role {
  margin: 0 0 14px;
  font-size: clamp(22px, 1.7vw, 28px);
  font-weight: 700;
  opacity: 0.92;
  line-height: 1.25;
}

.hero-card .mobile-br { display: none; }

.sub-bullet_2 {
  display: block;
  margin-top: -4px;
}

/* ===========================
   Cards (שירותים - grid ישן)
=========================== */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 30px;
}

.card {
  height: 500px;
  background: var(--card);
  border: 1px solid #f0f0f0;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.05);
  transition: transform 0.25s, box-shadow 0.25s;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0,0,0,0.1);
}

.card h3 {
  font-family: 'Rubik';
  font-size: 1.1rem;
  margin: 8px 0;
  color: var(--brand);
  text-align: center;
  font-weight: 700;
}

.card p {
  color: var(--muted);
  margin: 0;
  text-align: center;
}

.icon-wrap {
  width: 72px;
  height: 72px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-wrap img {
  width: 100%;
  height: 100%;
  max-width: 60px;
  max-height: 60px;
  object-fit: contain;
  opacity: 0.9;
}

/* ===========================
   Services Swiper + Photo Cards
=========================== */
.service-link {
  display: block;
  color: inherit;
}

.service-link:focus { outline: none; }

.mySwiperServices {
  position: relative;
  padding: 20px 0 56px;
}

.mySwiperServices .swiper-slide {
  height: auto;
  display: flex;
}

.mySwiperServices .swiper-button-next,
.mySwiperServices .swiper-button-prev {
  top: 45%;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: rgba(255,255,255,0.9);
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
  color: var(--brand);
  transform: scale(0.8);
}

.mySwiperServices .swiper-button-next::after,
.mySwiperServices .swiper-button-prev::after {
  font-size: 22px;
  font-weight: 900;
  color: rgba(255,44,85,0.95);
  text-shadow: 0 10px 22px rgba(0,0,0,0.18);
}

.mySwiperServices .swiper-button-prev { left: 12px; right: auto; }
.mySwiperServices .swiper-button-next { right: 12px; left: auto; }

html[dir="rtl"] .mySwiperServices .swiper-button-next { left: 12px; right: auto; }
html[dir="rtl"] .mySwiperServices .swiper-button-prev { right: 12px; left: auto; }

@media (max-width: 600px) {
  .mySwiperServices .swiper-button-prev { left: 6px; }
  .mySwiperServices .swiper-button-next { right: 6px; }

  html[dir="rtl"] .mySwiperServices .swiper-button-next { left: 6px; right: auto; }
  html[dir="rtl"] .mySwiperServices .swiper-button-prev { right: 6px; left: auto; }
}

.swiper-pagination-bullet {
  background: #ffb7c8;
  opacity: 1;
}

.swiper-pagination-bullet-active { background: var(--brand); }

#services .swiper-wrapper { align-items: stretch; }
#services .swiper-slide { height: auto; display: flex; }

#services .service-link {
  display: flex;
  width: 100%;
  height: 100%;
}

#services .service-card {
  width: 100%;
  height: 100%;
  min-height: 360px;
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(0,0,0,0.12);
}

#services .service-card--photo {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #000;
}

#services .service-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255,44,85,0.12) 0%,
    rgba(255,44,85,0.28) 45%,
    rgba(255,44,85,0.62) 100%
  );
}

#services .service-card__content {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 22px;
  text-align: center;
  color: #fff;
  text-shadow: 0 10px 26px rgba(0,0,0,0.28);
  z-index: 2;
}

#services .service-card__content h3 {
  margin: 0 0 10px;
  font-size: 1.28rem;
  font-weight: 900;
  color: #fff;
}

#services .service-card__content p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.93);
}

@media (hover:hover) and (pointer:fine) {
  #services .service-card { transition: box-shadow 0.25s ease; }
  #services .service-card:hover { box-shadow: 0 28px 70px rgba(0,0,0,0.18); }

  #services .service-card--photo {
    background-size: 105%;
    transition: background-size 0.35s ease;
  }

  #services .service-card:hover.service-card--photo { background-size: 112%; }
}

/* ===========================
   Videos (TikTok-style) - תמונות במקום וידאו
=========================== */
.tiktok-wide {
  max-width: 1600px;
  text-align: center;
}


.tiktok-grid{
  display: flex;
  gap: 18px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 12px 6px 18px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}




.tiktok-grid::-webkit-scrollbar{
  height: 10px;
}
.tiktok-grid::-webkit-scrollbar-thumb{
  background: rgba(0,0,0,0.12);
  border-radius: 999px;
}





@media (max-width: 1200px){
  .tiktok-grid{ grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 992px){
  .tiktok-grid{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px){
  .tiktok-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}
@media (max-width: 600px){
  .tiktok-grid{ grid-template-columns: 1fr; }
}


.tiktok-item{
  width: 100%;
  max-width: 210px;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  margin: 0 auto;

  flex: 0 0 auto;
  width: 210px;            /* אותו max-width שהיה לך */
  scroll-snap-align: start;


}

.tiktok-thumb{
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 18px;
  overflow: hidden;
  background: #000;
  border: 8px solid #fff;
  box-shadow: 0 10px 28px rgba(0,0,0,0.12);
  outline: 1px solid rgba(0,0,0,0.06);
}

.tiktok-thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.01);
  border-radius: 0;
}

.tiktok-thumb::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.15),
    rgba(0,0,0,0.12) 45%,
    rgba(0,0,0,0.25)
  );
  pointer-events: none;
}

#videos .tiktok-play-badge{
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  z-index: 2;
}

#videos .tiktok-play-badge::before{
  content: "";
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background: rgba(0,0,0,0.55);
  box-shadow: 0 8px 18px rgba(0,0,0,0.25);
}

#videos .tiktok-play-badge::after{
  content: "";
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 16px solid rgba(255,255,255,0.92);
  transform: translateX(2px);
  position: absolute;
}

@media (hover:hover){
  .tiktok-item:hover .tiktok-thumb img{
    transform: scale(1.04);
    transition: transform 180ms ease;
  }
  .tiktok-item:hover .tiktok-thumb::after{
    background: rgba(0,0,0,0.18);
    transition: background 180ms ease;
  }
  .tiktok-item:hover .tiktok-thumb{
    box-shadow: 0 16px 40px rgba(0,0,0,0.2);
    transition: box-shadow 180ms ease;
  }
}

.tiktok-item:focus-visible .tiktok-thumb{
  outline: 3px solid rgba(255, 0, 70, 0.35);
  outline-offset: 2px;
}

.center-cta {
  margin-top: 22px;
  display: flex;
  justify-content: center;
}

/* ===========================
   Reviews / Recommendations
=========================== */
#recommendations { padding: 64px 0; background: var(--bg-soft); }

@media (max-width: 768px) {
  #recommendations { padding: 40px 0 20px 0; }
}

.reviews-grid {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.review-item {
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 220px;
}

.review-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
}

.review-item:hover {
  transform: rotate(0deg) scale(1.05) !important;
  box-shadow: 0 20px 50px rgba(0,0,0,0.2);
  z-index: 2;
}

.review-item:focus-visible {
  outline: 3px solid rgba(255, 44, 85, 0.35);
  outline-offset: 3px;
}

@media (max-width: 640px) {
  .reviews-grid { gap: 14px; }
  .review-item {
    max-width: 85%;
    transform: rotate(0deg) !important;
  }
}

/* Review Modal */
.review-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.88);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.review-modal.is-open {
  display: flex;
}

.review-modal__backdrop {
  position: absolute;
  inset: 0;
  cursor: pointer;
}

.review-modal__dialog {
  position: relative;
  z-index: 1;
  max-width: 420px;
  width: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.review-modal__dialog img {
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}

.review-modal__close {
  position: absolute;
  top: -40px;
  left: 0;
  background: rgba(255,255,255,0.15);
  border: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  padding: 4px 12px;
  border-radius: 8px;
  z-index: 10;
}

.review-modal__nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.review-modal__btn {
  background: var(--brand);
  color: #fff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}

.review-modal__btn:hover { transform: scale(1.1); }

.review-modal__counter {
  font-weight: 700;
  color: #fff;
  font-size: 0.9rem;
}

@media (max-width: 640px) {
  .review-modal__dialog { max-width: 95%; }
}

/* ===========================
   Podcast Card
=========================== */
#podcast { padding: 64px 0; }

@media (max-width: 768px) {
  #podcast { padding: 30px 0; }
}

.podcast-card {
  display: flex;
  align-items: center;
  gap: 40px;
  background: linear-gradient(135deg, #fff6f8 0%, #fce8ed 50%, #f0ebfa 100%);
  border-radius: 24px;
  padding: 40px;
  max-width: 960px;
  margin: 0 auto;
}
.podcast-card__content { flex: 1; }
.podcast-badge {
  display: inline-block;
  background: #fff;
  color: var(--brand);
  font-weight: 800;
  font-size: 0.85rem;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.podcast-card__title {
  font-family: 'Rubik', sans-serif;
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--text);
  margin: 0 0 6px;
}
.podcast-card__subtitle {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0 0 14px;
  font-weight: 600;
}
.podcast-card__desc {
  color: #555;
  font-size: 1rem;
  line-height: 1.8;
  margin: 0 0 24px;
}
.podcast-btn { font-size: 0.95rem; }
.podcast-btn--spotify {
  background: #1DB954;
  color: #fff;
  box-shadow: 0 6px 18px rgba(29,185,84,0.3);
  margin-right: 10px;
}
.podcast-btn--spotify:hover { background: #1ed760; }
.podcast-card__video {
  flex: 0 0 380px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(0,0,0,0.12);
}
.podcast-thumb {
  display: block;
  position: relative;
}
.podcast-thumb img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
}
.podcast-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  background: rgba(255,0,0,0.85);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: transform 0.3s, background 0.3s;
}
.podcast-thumb:hover .podcast-play {
  transform: translate(-50%, -50%) scale(1.1);
  background: rgba(255,0,0,1);
}
@media (max-width: 768px) {
  .podcast-card { flex-direction: column; padding: 28px 20px; gap: 24px; text-align: center; }
  .podcast-card__video { flex: none; width: 100%; }
}

/* ===========================
   Video Modal (גרסה אחת, תואמת JS: .is-open)
=========================== */
.video-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  z-index: 9999;
}

.video-modal.is-open {
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-modal-dialog {
  background: #000;
  border-radius: 14px;
  max-width: 700px;
  width: 90%;
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

#video-modal-player {
  width: 100%;
  height: auto;
  max-height: 85vh;
  object-fit: contain;
  display: block;
  border-radius: 0;
}

.video-modal-close {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0,0,0,0.5);
  border: none;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
  padding: 0 10px;
  line-height: 1;
  border-radius: 8px;
  z-index: 20;
}

@media (max-width: 600px) {
  .video-modal-dialog {
    max-width: 100%;
    width: 100%;
    margin: 0 12px;
  }
}

/* ===========================
   צור קשר
=========================== */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.contact-form {
  background: var(--card);
  border: 1px solid #eee;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

label { font-weight: 700; }

input, textarea {
  border: 1px solid #ddd;
  border-radius: 14px;
  padding: 12px 14px;
  font: inherit;
}

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

#contact {
  scroll-margin-top: 80px;
}

#contact .contact {
  display: flex;
  justify-content: center;
}

#contact .contact-form {
  width: 100%;
  max-width: 520px;
}

/* ===========================
   FAQ
=========================== */
.faq {
  max-width: 900px;
  margin-inline: auto;
}

.accordion {
  display: grid;
  gap: 14px;
}

.acc-item {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  overflow: hidden;
  transition: background 0.3s, box-shadow 0.3s;
}

.acc-item.active {
  background: #fff6f8;
  box-shadow: 0 8px 20px rgba(255, 44, 85, 0.15);
}

.acc-head {
  position: relative;
  font-weight: 700;
  cursor: pointer;
  padding: 16px 18px 16px 50px;
  transition: color 0.3s;
}

.acc-head:hover { color: var(--brand); }

.acc-head::after {
  content: "＋";
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  color: var(--brand);
  transition: transform 0.3s, content 0.3s;
}

.acc-item.active .acc-head::after {
  content: "−";
  transform: translateY(-50%) rotate(180deg);
}

.acc-body {
  max-height: 0;
  overflow: hidden;
  padding: 0 18px;
  transition: max-height 0.35s ease, padding 0.35s ease, margin 0.35s ease;
  margin-top: 0;
}

.acc-item.active .acc-body {
  max-height: 400px;
  padding: 6px 18px 16px;
  margin-top: -4px;
}

.acc-body p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.05rem;
}

/* ===========================
   ABOUT PAGE
=========================== */
.aboutx-hero {
  padding: 100px 0 60px;
  background: linear-gradient(180deg, #fff 0%, #faf6f7 100%);
  text-align: center;
}

.aboutx-hero-photo {
  width: 360px;
  height: 360px;
  margin: 0 auto 40px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 15px 50px rgba(255,44,85,0.18);
  border: 5px solid #fff;
}

.aboutx-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

@media (max-width: 768px) {
  .aboutx-hero-photo {
    width: 250px;
    height: 250px;
  }
}

.aboutx-title {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 20px;
}

.aboutx-lead {
  max-width: 720px;
  margin: 0 auto 30px;
  font-size: 18px;
  line-height: 1.8;
  color: #555;
}

.aboutx-quote {
  max-width: 760px;
  margin: 40px auto;
  padding: 30px;
  border-radius: 20px;
  background: #fbeaec;
  font-weight: 600;
}

.aboutx-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
}

.aboutx-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}

.aboutx-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid rgba(255,44,85,0.15);
  color: var(--brand);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 999px;
  box-shadow: 0 4px 15px rgba(255,44,85,0.08);
}

.aboutx-badge::before {
  content: "✦";
  font-size: 0.75rem;
}

.aboutx-section { padding: 80px 0; }
.aboutx-muted { background: #faf6f7; }

.aboutx-h2 {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 40px;
}

.aboutx-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.aboutx-card {
  background: #fff;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.05);
}

.aboutx-list li {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.aboutx-dot {
  width: 8px;
  height: 8px;
  background: #e63950;
  border-radius: 50%;
  margin-top: 8px;
}

.aboutx-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.aboutx-box {
  padding: 30px;
  border-radius: 20px;
}

.aboutx-box--ok { background: #f7fbf8; }
.aboutx-box--no { background: #fff4f4; }

@media (max-width: 768px) {
  .aboutx-grid-2,
  .aboutx-two { grid-template-columns: 1fr; }

  .aboutx-title { font-size: 30px; }

  .aboutx-actions {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .aboutx-actions .btn {
    width: 100%;
    max-width: 280px;
  }

  .aboutx-badges {
    gap: 10px;
  }

  .aboutx-badge {
    font-size: 0.85rem;
    padding: 8px 16px;
  }
}

/* About Contact Section */
.about-contact {
  background: linear-gradient(180deg, #fff 0%, #f9f6f7 100%);
  padding: 100px 20px;
  text-align: center;
}

.about-contact-inner {
  max-width: 600px;
  margin: 0 auto;
}

.about-contact h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #222;
}

.about-contact p {
  font-size: 16px;
  margin-bottom: 40px;
  color: #555;
}

.about-contact-form .field {
  margin-bottom: 20px;
  text-align: right;
}

.about-contact-form label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  color: #555;
}

.about-contact-form input {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid #ddd;
  font-size: 15px;
  transition: 0.2s;
}

.about-contact-form input:focus {
  outline: none;
  border-color: #ff2e55;
}

.about-contact-form .btn {
  margin-top: 10px;
  width: 100%;
}

/* ===========================
   Service page hero image layout
=========================== */
.fc-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  text-align: right;
}

.fc-hero-grid .fc-hero-text { }

.fc-hero-grid .fc-hero-img {
  display: flex;
  align-items: stretch;
}

.fc-hero-grid .fc-hero-img img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

@media (max-width: 900px) {
  .fc-hero-grid {
    grid-template-columns: 1fr;
  }
  .fc-hero-grid .fc-hero-img img {
    height: 280px;
  }
}

/* ===========================
   Related topics section
=========================== */
.related-topics {
  padding: 56px 0;
  background: var(--bg-soft);
}

.related-topics__title {
  text-align: center;
  font-family: 'Rubik', sans-serif;
  font-weight: 900;
  font-size: 1.3rem;
  margin: 0 0 28px;
}

.related-topics__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}

.related-topics__card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 16px;
  padding: 14px 16px;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.4;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.related-topics__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.10);
}

.related-topics__card .rt-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}

@media (max-width: 560px) {
  .related-topics {
    padding: 40px 0;
  }
  .related-topics__title {
    font-size: 1.1rem;
    margin-bottom: 20px;
    padding: 0 16px;
  }
  .related-topics__grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 12px;
    padding: 0 16px 16px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .related-topics__grid::-webkit-scrollbar {
    display: none;
  }
  .related-topics__card {
    flex: 0 0 auto;
    width: 140px;
    flex-direction: column;
    text-align: center;
    padding: 16px 12px;
    scroll-snap-align: start;
    gap: 8px;
  }
  .related-topics__card .rt-icon {
    margin-bottom: 4px;
  }
  .related-topics__card .rt-icon img {
    width: 48px !important;
    height: 48px !important;
  }
  .related-topics__card span:last-child {
    font-size: 0.85rem;
    line-height: 1.3;
  }
}

/* ===========================
   Footer
=========================== */
footer {
  background: #ffe9ef;
  color: #333;
  padding: 32px 0;
  text-align: center;
  font-weight: 600;
  border-top: 2px solid var(--brand);
}

footer a { color: var(--brand); }

.foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.foot-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.foot-logos img {
  height: 56px;
  width: auto;
  object-fit: contain;
  border-radius: 0;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.foot-logos img:hover { opacity: 1; }

/* ===========================
   Animations
=========================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===========================
   Service pages
=========================== */
.service-hero{
  padding: 64px 0;
  background: linear-gradient(180deg, #fff 0%, #fff6f8 100%);
}

.service-hero__grid{
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: start;
}

.service-kicker{
  display: inline-flex;
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 999px;
  margin: 0 0 12px;
}

.service-title{
  font-family: 'Rubik', sans-serif;
  font-weight: 900;
  margin: 0 0 10px;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.15;
}

.service-lead{
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.8;
  margin: 0 0 16px;
  max-width: 60ch;
}

.service-hero__actions{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 10px 0 14px;
}

.service-bullets{
  margin: 0;
  padding: 0 18px 0 0;
  color: #444;
  line-height: 1.9;
}

.service-hero__card{
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 22px;
  box-shadow: 0 18px 45px rgba(0,0,0,0.08);
  padding: 18px;
  position: sticky;
  top: 96px;
}

.service-card-title{
  margin: 0 0 12px;
  font-family: 'Rubik', sans-serif;
  font-weight: 900;
  color: var(--brand);
  font-size: 1.05rem;
}

.service-mini__row{
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.service-mini__row:last-child{ border-bottom: 0; }

.service-card-cta{ width: 100%; justify-content: center; margin-top: 12px; }
.service-card-note{ margin: 10px 0 0; color: var(--muted); font-size: 0.95rem; }

.service-section{ padding: 56px 0; }
.service-muted{ background: var(--bg-soft); }

.service-h2{
  text-align: center;
  font-family: 'Rubik', sans-serif;
  font-weight: 900;
  color: var(--brand);
  margin: 0 0 18px;
  font-size: clamp(20px, 2.2vw, 30px);
}

.service-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 18px;
}

.service-box{
  background: #fff;
  border-radius: 22px;
  padding: 20px;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
}

.service-box h3{
  margin: 0 0 8px;
  color: var(--brand);
  font-family: 'Rubik', sans-serif;
  font-weight: 900;
  font-size: 1.05rem;
}

.service-box p{ margin: 0; color: var(--muted); line-height: 1.7; }

.service-list{
  display: grid;
  gap: 14px;
  max-width: 900px;
  margin: 0 auto;
}

.service-list__item{
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 18px;
  padding: 16px 18px;
}

.service-list__item b{ display: block; margin-bottom: 6px; }
.service-list__item p{ margin: 0; color: var(--muted); line-height: 1.7; }

.service-steps{
  max-width: 900px;
  margin: 0 auto;
  padding: 0 22px 0 0;
  line-height: 2;
}

.service-cta{
  margin-top: 22px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 22px;
  padding: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
}

.service-cta h3{ margin: 0 0 6px; font-family: 'Rubik', sans-serif; font-weight: 900; }
.service-cta p{ margin: 0; color: var(--muted); }

@media (max-width: 900px){
  .service-hero__grid{ grid-template-columns: 1fr; }
  .service-hero__card{ position: static; }
}

@media (max-width: 768px){
  .service-grid{ grid-template-columns: 1fr; }
  .service-cta{ flex-direction: column; align-items: stretch; }
  .service-cta .btn{ justify-content: center; }
}

.services-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 18px;
}

@media (max-width: 768px){
  .services-grid{ grid-template-columns: 1fr; }
}



/* ===========================
   תמונה ראשית של רינת
=========================== */
.hero-media .frame{
  border-radius: 22px;
  overflow: hidden;
  max-height: 520px;          /* משנה משחק, לא נותן "להימתח" */
}

.hero-media .frame img{
  width: 100%;
  height: 520px;              /* תואם ל-max-height */
  object-fit: cover;          /* לא נמתח, נחתך יפה */
  display: block;
}



/* =========================
   Services Grid Hover
========================= */

.services-grid .service-box {
  display: block;
  background: #fff;
  padding: 26px;
  border-radius: 20px;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

/* hover */
.services-grid .service-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.12);
  border-color: rgba(255,44,85,0.25);
}

/* כותרת */
.services-grid .service-box h3 {
  color: var(--text);
  transition: color 0.25s ease;
}

/* שינוי צבע כותרת */
.services-grid .service-box:hover h3 {
  color: var(--brand);
}

/* פסקה */
.services-grid .service-box p {
  color: var(--muted);
  margin: 8px 0 0;
}

/* אפקט לחיץ */
.services-grid .service-box:active {
  transform: translateY(-2px) scale(0.99);
}

/* חיווי מקלדת */
.services-grid .service-box:focus-visible {
  outline: 3px solid rgba(255,44,85,0.35);
  outline-offset: 4px;
}





.service-text-block{
  max-width: 860px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 24px;
  padding: 34px 30px;
  box-shadow: 0 14px 34px rgba(0,0,0,0.05);
}

.service-text-intro{
  margin: 0 auto 24px;
  max-width: 720px;
  text-align: center;
  color: var(--muted);
  line-height: 1.9;
  font-size: 1.05rem;
}

.service-check-list{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 18px;
}

.service-check-list li{
  position: relative;
  padding: 0 30px 0 0;
  line-height: 1.85;
  color: #444;
}

.service-check-list li::before{
  content: "";
  position: absolute;
  top: 10px;
  right: 0;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--brand);
  box-shadow: 0 0 0 6px rgba(255,44,85,0.10);
}

.service-check-list strong{
  display: block;
  margin-bottom: 4px;
  color: var(--text);
  font-weight: 800;
}

.service-check-list span{
  color: var(--muted);
}

@media (max-width: 768px){
  .service-text-block{
    padding: 24px 18px;
    border-radius: 18px;
  }

  .service-check-list li{
    padding-right: 24px;
  }
}

/* ===========================
   Service Category Pages (Topics Grid)
=========================== */
.fc-topics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 36px;
}

.fc-topic-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 22px;
  padding: 32px 22px 26px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  text-decoration: none;
  color: inherit;
  text-align: center;
}

.fc-topic-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.1);
  border-color: rgba(0,0,0,0.12);
}

.fc-topic-icon {
  width: 88px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 2.4rem;
}

.fc-topic-icon img {
  width: 70px;
  height: 70px;
  object-fit: contain;
}

.fc-topic-card h3 {
  font-family: 'Rubik', sans-serif;
  font-weight: 800;
  font-size: 1.08rem;
  color: var(--text);
  margin: 0 0 10px;
  transition: color 0.25s;
}

.fc-topic-card:hover h3 {
  color: var(--page, var(--brand));
}

.fc-topic-card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
  flex: 1;
}

/* Mobile: horizontal cards */
@media (max-width: 560px) {
  .fc-topics-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .fc-topic-card {
    flex-direction: row;
    text-align: right;
    padding: 18px 20px;
    gap: 16px;
    align-items: center;
  }

  .fc-topic-icon {
    width: 64px;
    height: 64px;
    min-width: 64px;
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .fc-topic-icon img {
    width: 40px;
    height: 40px;
  }

  .fc-topic-card h3 {
    font-size: 1rem;
    margin-bottom: 4px;
  }

  .fc-topic-card p {
    font-size: 0.88rem;
    line-height: 1.55;
  }
}

/* ===========================
   Sticky Back-to-Category Kicker
=========================== */
.fc-kicker-sticky {
  position: fixed;
  top: 100px;
  right: calc(50% - 550px);
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  color: var(--page);
  font-weight: 800;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.85rem;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(0,0,0,0.1);
  border: 1px solid rgba(0,0,0,0.06);
  opacity: 0;
  transform: translateX(20px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s, color 0.2s;
}

.fc-kicker-sticky.is-visible {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.fc-kicker-sticky:hover {
  background: var(--page);
  color: #fff;
  box-shadow: 0 6px 24px rgba(0,0,0,0.15);
}

.fc-kicker-sticky::before {
  content: "▶";
  font-size: 0.7rem;
  transition: transform 0.2s;
}

.fc-kicker-sticky:hover::before {
  transform: translateX(3px);
}

@media (max-width: 1200px) {
  .fc-kicker-sticky {
    right: 20px;
  }
}

@media (max-width: 768px) {
  .fc-kicker-sticky {
    top: auto;
    bottom: 20px;
    right: 16px;
    font-size: 0.8rem;
    padding: 8px 14px;
  }
}
