/* =========================================================
   eshtai.media - צילומי פרופיל מקצועיים ללינקדאין
   ========================================================= */

/* ---------- טוקנים ---------- */
:root {
  --ink: #1C2330;         /* טקסט ראשי */
  --muted: #5B6270;       /* טקסט משני */
  --paper: #FAFAF8;       /* רקע עיקרי */
  --backdrop: #E6E7E3;    /* אפור רקע סטודיו */
  --backdrop-2: #D6D8D2;  /* אפור כהה לפלייסהולדרים של תמונות */
  --accent: #2B4C7E;      /* כחול דיו - כפתורים וקישורים */
  --accent-dark: #1F3960;
  --line: #D3D5D0;
  --ph: #FFF1A8;          /* סימון placeholder */

  --serif: "Frank Ruhl Libre", "David Libre", "Times New Roman", serif;
  --sans: "Assistant", "Arial Hebrew", Arial, sans-serif;

  --wrap: 1120px;
  --gap: clamp(1.25rem, 3vw, 2rem);
}

/* ---------- בסיס ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--accent); }
a:hover { color: var(--accent-dark); }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gap);
}

.measure { max-width: 38rem; }

/* ---------- טיפוגרפיה ---------- */
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 .6em;
}
h1 { font-size: clamp(2.2rem, 5.2vw, 3.6rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 {
  font-family: var(--sans);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: .35em;
}
p { margin: 0 0 1em; }

/* placeholders - לחפש class="ph" ב-HTML כדי למצוא את כולם */
.ph {
  background: var(--ph);
  padding: 0 .25em;
  border-radius: 3px;
}

/* ---------- דילוג לתוכן ---------- */
.skip {
  position: absolute;
  inset-inline-start: 1rem;
  top: -3rem;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: .5rem 1rem;
}
.skip:focus { top: 1rem; }

/* ---------- כותרת עליונה ---------- */
.site-head { padding: 1.25rem 0; }
.site-head .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: .01em;
  color: var(--ink);
  text-decoration: none;
}
.head-cta {
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
}

/* ---------- כפתורים ---------- */
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.15rem;
  padding: .9rem 2.2rem;
  border-radius: 999px;
  transition: background-color .15s ease;
}
.btn:hover { background: var(--accent-dark); color: #fff; }
.btn:focus-visible { outline-offset: 4px; }

/* ---------- Hero ---------- */
.hero { padding: clamp(1.5rem, 5vw, 4.5rem) 0 clamp(3rem, 7vw, 6rem); }
.hero .wrap {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero-lead {
  font-size: clamp(1.15rem, 1.8vw, 1.3rem);
  color: var(--muted);
  max-width: 34rem;
}
.price {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 700;
  margin: 1.4rem 0 1.1rem;
}
.price small {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 400;
  color: var(--muted);
  margin-inline-start: .4rem;
}
.hero-note {
  font-size: 1rem;
  color: var(--muted);
  margin-top: .9rem;
}

/* המסגרת העגולה - כמו תמונת פרופיל בלינקדאין */
.frame {
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 1;
  justify-self: center;
}
.frame::after {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  border: 1px solid var(--line);
  pointer-events: none;
}
.portrait {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  background: radial-gradient(circle at 50% 38%, #F1F2EE 0%, var(--backdrop) 58%, var(--backdrop-2) 100%);
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--muted);
  font-size: 1rem;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- מקטעים ---------- */
section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.tint { background: var(--backdrop); }
.section-intro { color: var(--muted); max-width: 38rem; }

/* מה מקבלים */
.includes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.25rem 3.5rem;
  margin-top: 2.5rem;
}
.includes p { margin: 0; }
.extras {
  max-width: 38rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

/* עבודות לדוגמה */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
.gallery figure {
  margin: 0;
  aspect-ratio: 4 / 5;
  background: var(--backdrop-2);
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: .95rem;
  overflow: hidden;
}
.gallery img { width: 100%; height: 100%; object-fit: cover; }

/* איך זה עובד - רצף אמיתי, לכן ממוספר */
.steps {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  counter-reset: step;
}
.steps li {
  counter-increment: step;
  border-top: 2px solid var(--ink);
  padding-top: 1rem;
}
.steps li::before {
  content: counter(step);
  display: block;
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: .6rem;
  color: var(--accent);
}
.steps p { margin: 0; color: var(--muted); }

/* הכנה לצילום */
.prep {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 3.5rem;
  margin-top: 2.5rem;
}
.prep p { margin: 0; }

/* מחיר */
.pricing { text-align: center; }
.pricing .measure { margin: 0 auto; }
.pricing .big {
  font-family: var(--serif);
  font-size: clamp(3rem, 8vw, 4.8rem);
  font-weight: 700;
  line-height: 1;
  margin: .3rem 0 .4rem;
}
.pricing .vat { color: var(--muted); margin-bottom: 1.5rem; }
.pricing .policy { font-size: 1rem; color: var(--muted); margin-top: 1.1rem; }

/* FAQ */
.faq {
  max-width: 46rem;
  margin-top: 2rem;
  border-top: 1px solid var(--line);
}
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.15rem 0;
  font-weight: 700;
  font-size: 1.15rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  font-family: var(--serif);
  font-size: 1.6rem;
  line-height: 1;
  color: var(--accent);
}
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 1.2rem; color: var(--muted); }

/* הגעה וקשר */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 3.5rem;
  margin-top: 2rem;
}
.contact p { margin: 0 0 .5rem; }

/* ---------- פוטר ---------- */
.site-foot {
  padding: 2.5rem 0 6rem; /* מרווח תחתון עבור הכפתור הצף במובייל */
  border-top: 1px solid var(--line);
  font-size: .95rem;
  color: var(--muted);
}
.site-foot .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem 2rem;
}
.site-foot p { margin: 0; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.site-foot a { color: var(--muted); }

/* ---------- CTA צף - מובייל בלבד ---------- */
.sticky-cta {
  display: none;
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 50;
  padding: .75rem var(--gap) calc(.75rem + env(safe-area-inset-bottom, 0px));
  background: rgba(250, 250, 248, .96);
  border-top: 1px solid var(--line);
}
.sticky-cta .btn {
  display: block;
  text-align: center;
  padding: .8rem 1rem;
}
.sticky-cta[hidden] { display: none !important; }

/* ---------- רספונסיביות ---------- */
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .frame { order: -1; width: min(72%, 300px); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .includes,
  .prep,
  .contact { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .sticky-cta { display: block; }
  .head-cta { display: none; }
}

@media (min-width: 861px) {
  .site-foot { padding-bottom: 2.5rem; }
}

@media (max-width: 480px) {
  .steps { grid-template-columns: 1fr; }
  .btn { width: 100%; text-align: center; }
}

/* ---------- עמודים משפטיים (פרטיות, נגישות, ביטול) ---------- */
.legal { padding: clamp(1.5rem, 4vw, 3rem) 0 clamp(3rem, 6vw, 5rem); }
.legal h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
.legal h2 { font-size: 1.4rem; margin-top: 2.4rem; }
.legal .updated { color: var(--muted); font-size: 1rem; margin-bottom: 2rem; }
.legal ul { padding-inline-start: 1.4rem; margin: 0 0 1em; }
.legal li { margin-bottom: .3em; }
.legal .address { line-height: 1.9; }
.site-foot a[aria-current="page"] { color: var(--ink); text-decoration: none; }
