/* =========================================================
   מיכל אלדר | בית לתנועה ורגש — עיצוב כללי לאתר
   החום (#200808) מתוך "צבעי מותג" באובסידיאן, הבז' (#EDE0D3) מהלוגו
   ========================================================= */

@font-face {
  font-family: "Heebo";
  src: url("../fonts/Heebo-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Ellinia";
  src: url("../fonts/elliniaclm-light-webfont.woff") format("woff");
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: "Ellinia";
  src: url("../fonts/elliniaclm-lightitalic-webfont.woff") format("woff");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Ellinia";
  src: url("../fonts/elliniaclm-bold-webfont.woff") format("woff");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Dana Yad";
  src: url("../fonts/DanaYadAlefAlefAlef-Normal.woff") format("woff");
  font-display: swap;
}

:root {
  --wine: #200808;
  --wine-soft: #4a2420;
  --nude: #ede0d3;
  --nude-deep: #dcc6b1;
  --cream: #faf6f1;
  --paper: #ffffff;
  --ink: #2c1d1b;
  --muted: #6f5c56;
  --line: #e6d8ca;

  --font-body: "Heebo", "Segoe UI", Arial, sans-serif;
  --font-display: "Ellinia", "Heebo", Georgia, serif;
  --font-hand: "Dana Yad", "Ellinia", cursive;

  --radius: 18px;
  --shadow: 0 10px 30px rgba(66, 18, 18, 0.08);
  --max: 1160px;
  --header-h: 76px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 18px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--wine); }
a:hover { color: var(--wine-soft); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 300;
  color: var(--wine);
  line-height: 1.25;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h3, h2.h3 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); }

p { margin: 0 0 1em; }
strong, b { font-weight: 500; }

.container { width: min(var(--max), 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); margin-inline: auto; }

.section { padding: clamp(56px, 9vw, 110px) 0; }
.section--nude { background: var(--nude); }
.section--paper { background: var(--paper); }
.section--wine { background: var(--wine); color: var(--nude); }
.section--wine h2, .section--wine h3 { color: var(--paper); }
.section--wine a:not(.btn) { color: var(--nude); }

.center { text-align: center; }
.eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.section--wine .eyebrow { color: var(--nude-deep); }
.hand { font-family: var(--font-hand); font-size: 1.75em; color: var(--wine-soft); line-height: 1.3; }
.lead { font-size: 1.2rem; color: var(--muted); }
.fleur { color: var(--nude-deep); font-size: 1.4rem; letter-spacing: 0.4em; }

/* ---------- כפתורים ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 999px;
  border: 1px solid var(--wine);
  background: var(--wine);
  color: var(--paper);
  font: 400 1rem/1.2 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.btn:hover { background: var(--wine-soft); color: var(--paper); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--wine); }
.btn--ghost:hover { background: var(--wine); color: var(--paper); }
.btn--light { background: var(--nude); color: var(--wine); border-color: var(--nude); }
.btn--light:hover { background: var(--paper); color: var(--wine); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.center .btn-row { justify-content: center; }

/* ---------- תפריט עליון ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 241, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--wine); }
.brand img { height: 42px; width: auto; }
.brand span { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.1; }
.brand small { display: block; font-family: var(--font-body); font-size: 0.72rem; color: var(--muted); letter-spacing: 0.04em; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a, .nav button {
  font: 400 0.98rem/1 var(--font-body);
  color: var(--ink);
  text-decoration: none;
  background: none;
  border: 0;
  padding: 10px 12px;
  border-radius: 999px;
  cursor: pointer;
}
.nav a:hover, .nav button:hover, .nav a[aria-current="page"] { color: var(--wine); background: var(--nude); }
.nav .btn { padding: 11px 22px; color: var(--paper); background: var(--wine); margin-inline-start: 8px; }
.nav .btn:hover { background: var(--wine-soft); color: var(--paper); }

.dropdown { position: relative; }
.dropdown > button::after { content: "▾"; font-size: 0.7em; margin-inline-start: 6px; }
.dropdown-menu {
  position: absolute;
  inset-inline-start: 0;
  top: calc(100% + 6px);
  min-width: 230px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 8px;
  display: none;
}
.dropdown-menu a { display: block; padding: 10px 14px; border-radius: 10px; line-height: 1.3; }
.dropdown-menu a small { display: block; color: var(--muted); font-size: 0.8rem; margin-top: 2px; }
.dropdown:hover .dropdown-menu, .dropdown:focus-within .dropdown-menu, .dropdown.open .dropdown-menu { display: block; }

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 12px;
  width: 46px;
  height: 46px;
  cursor: pointer;
  color: var(--wine);
  font-size: 1.4rem;
}

@media (max-width: 980px) {
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: calc(100vh - var(--header-h));
    height: calc(100dvh - var(--header-h));
    border-top: 1px solid var(--line);
    background: var(--cream);
    flex-direction: column;
    align-items: stretch;
    padding: 20px 16px 40px;
    overflow-y: auto;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a, .nav button { font-size: 1.15rem; padding: 14px 12px; text-align: start; }
  .dropdown > button { width: 100%; }
  .dropdown-menu { position: static; display: block; box-shadow: none; border: 0; background: transparent; padding: 0 12px 6px; }
  .dropdown:hover .dropdown-menu { display: block; }
  .nav .btn { margin: 16px 0 0; justify-content: center; }
}

/* ---------- פתיח (Hero) ---------- */
.hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--paper);
  overflow: hidden;
  background: var(--wine);
}
.hero-media, .hero-media video, .hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(43, 13, 12, 0.35), rgba(43, 13, 12, 0.6));
}
.hero-content { position: relative; z-index: 2; padding: 80px 16px; max-width: 820px; }
.hero h1 { color: var(--paper); margin-bottom: 0.2em; }
.hero .hero-logo { height: 84px; width: auto; margin: 0 auto 18px; }
.hero p { font-size: 1.25rem; color: var(--nude); }
.hero .hand { color: var(--nude); font-size: 2rem; }

.page-hero {
  position: relative;
  padding: clamp(80px, 14vw, 160px) 0 clamp(60px, 10vw, 110px);
  text-align: center;
  background: var(--wine) center/cover no-repeat;
  color: var(--paper);
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(43, 13, 12, 0.45), rgba(43, 13, 12, 0.7));
}
.page-hero > * { position: relative; z-index: 2; }
.page-hero h1 { color: var(--paper); }
.page-hero p { color: var(--nude); font-size: 1.2rem; max-width: 720px; margin-inline: auto; }
.page-hero .eyebrow { color: var(--nude-deep); }

/* ---------- פריסות ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.split--reverse > :first-child { order: 2; }
.split img { border-radius: var(--radius); width: 100%; height: auto; box-shadow: var(--shadow); }
.split .portrait { aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
}

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ---------- כרטיסים ---------- */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card-body { padding: 24px 24px 28px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-body p { color: var(--muted); font-size: 1rem; }
.card-body .btn { margin-top: auto; align-self: flex-start; }
.card .tag { font-size: 0.8rem; color: var(--muted); letter-spacing: 0.12em; text-transform: uppercase; }
a.card { text-decoration: none; color: inherit; }

.price-card { text-align: center; padding: 32px 24px; }
.price-card .price { font-family: var(--font-display); font-size: 2.6rem; color: var(--wine); line-height: 1; margin: 6px 0 14px; }
.price-card p { font-size: 0.98rem; color: var(--muted); }
.price-card .btn { align-self: center; margin-top: auto; }

/* ---------- רשימות ---------- */
.checks { list-style: none; padding: 0; margin: 0 0 1em; }
.checks li { position: relative; padding-inline-start: 34px; margin-bottom: 12px; }
.checks li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.55em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--nude) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%23200808' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
}
.section--nude .checks li::before { background-color: var(--paper); }

.steps { counter-reset: step; list-style: none; padding: 0; display: grid; gap: 18px; }
.steps li { counter-increment: step; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; padding-inline-start: 78px; position: relative; }
.steps li::before {
  content: counter(step);
  position: absolute;
  inset-inline-start: 22px;
  top: 20px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--wine);
  color: var(--paper);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.timeline { display: grid; gap: 0; border-inline-start: 2px solid var(--nude-deep); padding-inline-start: 26px; }
.timeline > div { position: relative; padding-bottom: 26px; }
.timeline > div::before { content: ""; position: absolute; inset-inline-start: -34px; top: 8px; width: 14px; height: 14px; border-radius: 50%; background: var(--wine); }
.timeline time { font-family: var(--font-display); font-size: 1.4rem; color: var(--wine); }

/* ---------- המלצות ---------- */
.quote {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px 26px;
  position: relative;
  margin: 0;
}
.quote::before {
  content: "”";
  position: absolute;
  top: -6px;
  inset-inline-start: 20px;
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 1;
  color: var(--nude-deep);
}
.quote p { font-size: 1rem; position: relative; }
.quote cite { font-style: normal; font-weight: 500; color: var(--wine); }
.quotes { columns: 3 300px; column-gap: 24px; }
.quotes .quote { break-inside: avoid; margin-bottom: 24px; }

/* ---------- שאלות ותשובות ---------- */
.faq details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 24px;
  margin-bottom: 12px;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 0;
  font-weight: 400;
  color: var(--wine);
  font-size: 1.1rem;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding-bottom: 20px; }

.small-print { font-size: 0.88rem; color: var(--muted); }
.small-print ul { padding-inline-start: 20px; }

/* ---------- גלריה ---------- */
.masonry { columns: 3 260px; column-gap: 14px; }
.masonry figure { margin: 0 0 14px; break-inside: avoid; border-radius: 14px; overflow: hidden; cursor: zoom-in; }
.masonry img { width: 100%; height: auto; transition: transform 0.4s; }
.masonry figure:hover img { transform: scale(1.03); }

.media-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.media-row img, .media-row video { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 14px; background: var(--nude); }

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(20, 8, 8, 0.92);
  display: none;
  place-items: center;
  z-index: 100;
  padding: 24px;
  cursor: zoom-out;
}
.lightbox.open { display: grid; }
.lightbox img { max-height: 90vh; width: auto; border-radius: 10px; }

.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #000; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- תחתית ---------- */
.site-footer { background: var(--wine); color: var(--nude); padding: 64px 0 28px; font-size: 0.98rem; }
.site-footer a { color: var(--nude); text-decoration: none; }
.site-footer a:hover { color: var(--paper); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-grid h4, .footer-grid .footer-title { color: var(--paper); font-size: 1.2rem; margin-bottom: 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-brand img { height: 56px; width: auto; margin-bottom: 14px; }
.footer-bottom { border-top: 1px solid rgba(237, 224, 211, 0.2); margin-top: 44px; padding-top: 20px; font-size: 0.85rem; text-align: center; color: var(--nude-deep); }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a { width: 42px; height: 42px; border: 1px solid rgba(237, 224, 211, 0.4); border-radius: 50%; display: grid; place-items: center; }
.socials a:hover { background: var(--nude); color: var(--wine); text-decoration: none; }
.socials svg { width: 18px; height: 18px; fill: currentColor; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

.wa-float {
  position: fixed;
  inset-inline-start: 18px;
  bottom: 18px;
  z-index: 60;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s;
}
.wa-float:hover { transform: scale(1.06); color: #fff; }
.wa-float svg { width: 30px; height: 30px; fill: currentColor; }

/* ---------- עזרים ---------- */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-l { margin-top: 48px; }
.stack > * + * { margin-top: 1em; }
.pill { display: inline-block; padding: 6px 16px; border-radius: 999px; background: var(--nude); color: var(--wine); font-size: 0.9rem; margin: 4px; }
.notice { background: var(--paper); border: 1px dashed var(--nude-deep); border-radius: 14px; padding: 18px 22px; color: var(--muted); font-size: 0.95rem; }
.info-box { background: var(--paper); border-radius: var(--radius); padding: 32px; border: 1px solid var(--line); }
.info-box dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; margin: 0; }
.info-box dt { color: var(--muted); }
.info-box dd { margin: 0; color: var(--wine); font-weight: 400; }

.fade-in { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-in.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .fade-in { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

.skip-link { position: absolute; top: -100px; inset-inline-start: 16px; background: var(--wine); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 200; }
.skip-link:focus { top: 10px; }

/* ---------- נגישות ---------- */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 3px solid var(--wine); outline-offset: 3px; border-radius: 4px; }
.section--wine :focus-visible, .site-footer :focus-visible, .hero :focus-visible, .page-hero :focus-visible, .lightbox :focus-visible { outline-color: var(--nude); }
[data-lightbox] img { cursor: zoom-in; }
.lightbox-close { position: absolute; top: 16px; inset-inline-end: 16px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--nude); color: var(--wine); font-size: 1.3rem; cursor: pointer; }
.video-toggle { position: absolute; bottom: 16px; inset-inline-end: 16px; z-index: 3; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.6); background: rgba(32,8,8,0.45); color: #fff; font-size: 0.95rem; line-height: 1; cursor: pointer; }
.video-toggle:hover { background: rgba(32,8,8,0.7); }
.video-wrap { position: relative; }

/* ---------- טופס רכישה ---------- */
.buy-dialog { border: 0; border-radius: var(--radius); padding: 0; width: min(480px, calc(100% - 32px)); max-height: calc(100dvh - 32px); background: var(--cream); color: var(--ink); box-shadow: 0 30px 80px rgba(32, 8, 8, 0.35); }
.buy-dialog::backdrop { background: rgba(32, 8, 8, 0.55); }
.buy-form { position: relative; display: grid; gap: 14px; padding: 36px 28px 26px; }
.buy-form h2 { margin: 0; }
.buy-form .eyebrow { margin: 0; }
.buy-price { margin: -6px 0 4px; font-family: var(--font-display); font-size: 1.6rem; color: var(--wine); }
.buy-price:empty { display: none; }
.buy-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.buy-form label { display: grid; gap: 6px; font-size: 0.95rem; color: var(--muted); }
.buy-form input:not([type=checkbox]) { font: inherit; font-size: 1rem; color: var(--ink); padding: 12px 14px; border: 1px solid var(--nude-deep); border-radius: 10px; background: var(--paper); text-align: right; }
.buy-form input:focus-visible { outline: 2px solid var(--wine); outline-offset: 1px; border-color: var(--wine); }
.buy-form .buy-check { display: flex; align-items: flex-start; gap: 10px; font-size: 0.9rem; color: var(--ink); }
.buy-check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--wine); flex-shrink: 0; }
.buy-error { margin: 0; color: #9b1c1c; font-size: 0.92rem; }
.buy-error:empty { display: none; }
.buy-form .btn { width: 100%; justify-content: center; margin-top: 4px; }
.buy-form .small-print { margin: 0; text-align: center; }
.buy-close { position: absolute; top: 12px; inset-inline-end: 12px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--nude); color: var(--wine); font-size: 1.05rem; cursor: pointer; }
.hp { position: absolute !important; left: -9999px; }
@media (max-width: 480px) { .buy-row { grid-template-columns: 1fr; } .buy-form { padding: 32px 20px 22px; } }

/* ---------- הודעת עוגיות ---------- */
.cookie-bar { position: fixed; bottom: 16px; inset-inline: 16px; z-index: 90; max-width: 720px; margin-inline: auto; display: flex; align-items: center; gap: 18px; padding: 16px 20px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); font-size: 0.93rem; }
.cookie-bar[hidden] { display: none; }
.cookie-bar p { margin: 0; flex: 1; }
.cookie-bar .btn-row { margin: 0; flex-wrap: nowrap; gap: 8px; }
.cookie-bar .btn { padding: 9px 18px; font-size: 0.9rem; }
@media (max-width: 640px) { .cookie-bar { flex-direction: column; align-items: stretch; bottom: 90px; } .cookie-bar .btn-row { justify-content: center; } }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
.buy-form input[aria-invalid="true"] { border-color: #9b1c1c; background: #fff7f7; }
