/* site.css · אסתר ברוש. שפה אחת (קרם, Rubik, השם כסימן) ושני אופיים:
 * ארגונים: נקי ומקצועי. לבן אבן, כחול כהה, קווים דקים, פינות ישרות, מספרים גדולים.
 * נשים: רך וחם. קרם חם, חימר, מרווה, צורות רכות, תמונות גדולות, עדויות כמו מכתבים.
 * האופי נקבע לפי מחלקת העמוד ב-body (page-organizations, page-women, page-circle, page-treatments).
 * עידו 15.10: "גנרי ומלאכותי, אין טאץ' אישי", "לארגונים מקצועי ויפה, לנשים רך ואוהב".
 */

/* ---------- שפה משותפת ---------- */
h1 { font-weight: 300; letter-spacing: -.01em; }
h2 { font-weight: 400; }
h3 { font-weight: 500; }
.brand-name { font-weight: 500; letter-spacing: .02em; }
.brand-tag { letter-spacing: .02em; }
.eyebrow { letter-spacing: .14em; font-weight: 500; }
.site-head { backdrop-filter: saturate(1.2) blur(8px); background: color-mix(in srgb, var(--bg) 88%, transparent); }

/* ---------- ארגונים ---------- */
.page-organizations {
  --bg: #FBFAF8; --bg-2: #F1EEE8; --bg-3: #E8EDF0;
  --radius-lg: 3px; --radius-sm: 2px; --radius-btn: 3px;
  --band: #22303A; --on-band: #FBFAF8;
}
.page-organizations .btn { letter-spacing: .02em; }

/* הירו עורכי: כותרת גדולה, פורטרט בפס צר, קו דק */
.org-hero { padding-block: var(--s-hero) 0; }
.org-hero .grid { display: grid; gap: var(--s-block); align-items: end; }
@media (min-width: 861px) { .org-hero .grid { grid-template-columns: 1.35fr .65fr; } }
.org-hero h1 { font-size: var(--fs-display); line-height: 1.05; }
.org-hero .hero-lead { margin-top: var(--s-text); max-width: 34rem; }
.org-hero .hero-ctas { margin-top: var(--s-block); }
.org-hero .portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; filter: saturate(.92); }
.org-hero .rule { margin-top: var(--s-block); border-top: 1px solid var(--line-strong); }

/* רצועת ארגונים: שמות כמו סימני מסחר, בשורה */
.clients { padding-block: 1.5rem 2rem; }
.clients p { font-size: var(--fs-label); letter-spacing: .14em; color: var(--ink-soft); margin-bottom: .75rem; }
.clients ul { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 2.25rem; align-items: baseline; }
.clients li { font-family: var(--ff-head); font-size: var(--fs-lead); font-weight: 400; color: var(--ink-soft); white-space: nowrap; }

/* כאבים: רשימה ממוספרת בשתי עמודות עם קווים */
.pain-grid { list-style: none; display: grid; gap: 0 var(--s-block); counter-reset: p; }
@media (min-width: 861px) { .pain-grid { grid-template-columns: 1fr 1fr; } }
.pain-grid li { counter-increment: p; display: grid; grid-template-columns: 2.5rem 1fr; gap: .75rem; padding-block: 1.1rem; border-top: 1px solid var(--line-strong); }
.pain-grid li::before { content: counter(p, decimal-leading-zero); font-family: var(--ff-head); color: var(--brand); font-weight: 300; font-size: var(--fs-lead); line-height: 1.4; }

/* הצהרה: כותרת גדולה ודקה על רצועה רחבה */
.statement p { font-family: var(--ff-head); font-weight: 300; font-size: var(--fs-h2); line-height: 1.35; max-width: 30ch; color: var(--ink); }
.statement p b { font-weight: 400; color: var(--brand-ink); }

/* מתודולוגיה: שורה עם קו מחבר */
.method { list-style: none; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 9.5rem), 1fr)); margin-bottom: var(--s-block); counter-reset: m; }
.method li { counter-increment: m; border-top: 2px solid var(--brand); padding-top: .6rem; font-weight: 500; }
.method li::before { content: counter(m, decimal-leading-zero) " "; color: var(--brand); font-weight: 300; }

/* מקרי בוחן */
.case { display: grid; gap: var(--s-text) var(--s-block); padding-block: var(--s-block); border-top: 1px solid var(--line-strong); }
.case:last-child { border-bottom: 1px solid var(--line-strong); }
@media (min-width: 861px) { .case { grid-template-columns: 5rem 1fr 1fr; } }
.case-n { font-family: var(--ff-head); font-weight: 300; font-size: var(--fs-h2); line-height: 1; color: var(--brand); }
.case h3 { margin-bottom: var(--s-tight); }
.case-line { font-family: var(--ff-head); font-weight: 300; font-size: var(--fs-h3); line-height: 1.45; color: var(--brand-ink); border-inline-start: 2px solid var(--brand); padding-inline-start: 1.25rem; margin: 0; }
.case details { grid-column: 1 / -1; }
@media (min-width: 861px) { .case details { grid-column: 2 / -1; } }
.case summary { cursor: pointer; font-weight: 500; color: var(--brand-ink); list-style: none; display: inline-flex; gap: .5rem; }
.case summary::-webkit-details-marker { display: none; }
.case summary::after { content: "+"; transition: transform .2s; }
.case details[open] summary::after { transform: rotate(45deg); }
.case .case-full { display: grid; gap: var(--s-text) var(--s-block); margin-top: var(--s-text); }
@media (min-width: 861px) { .case .case-full { grid-template-columns: 1fr 1fr; } }
.case .case-full h4 { font-family: var(--ff-head); font-weight: 500; font-size: var(--fs-body); margin: 0 0 .35rem; color: var(--brand-ink); }
.case .case-full p { font-size: var(--fs-small); color: var(--ink-soft); margin: 0; }

/* שירותים: שלוש עמודות עם קו עליון, בלי קופסאות */
.services { display: grid; gap: var(--s-block); }
@media (min-width: 861px) { .services { grid-template-columns: repeat(3, 1fr); } }
.service { border-top: 2px solid var(--ink); padding-top: var(--s-text); }
.service h3 { margin-bottom: var(--s-tight); }
.service p { color: var(--ink-soft); }
.service .tags { justify-content: flex-start; margin-top: var(--s-text); }

/* עדויות ארגוניות: ציטוט גדול עם שם ותפקיד */
.org-quotes { display: grid; gap: var(--s-block); }
@media (min-width: 861px) { .org-quotes { grid-template-columns: 1fr 1fr; } }
.org-quote { margin: 0; }
.org-quote blockquote { margin: 0; }
.org-quote p { font-family: var(--ff-head); font-weight: 300; font-size: var(--fs-lead); line-height: 1.6; }
.org-quote p::before { content: "״"; } .org-quote p::after { content: "״"; }
.org-quote figcaption { margin-top: var(--s-text); padding-top: var(--s-tight); border-top: 1px solid var(--line-strong); font-size: var(--fs-small); display: flex; flex-direction: column; }
.org-quote figcaption b { font-weight: 500; }
.org-quote figcaption span { color: var(--ink-soft); }

/* ---------- נשים: מעגל, טיפולים, הכניסה לנשים ---------- */
.page-women, .page-circle, .page-treatments {
  --bg: #FBF6EF; --bg-2: #F5EADF; --bg-3: #EEF0E6;
  --brand: #A65E3E; --brand-ink: #8A4A2F; --accent: #8A4A2F; --a11y: #8A4A2F;
  --band: #EADBC9; --on-band: #4A2E22;
  --radius-lg: 1.75rem; --radius-sm: 1rem;
  --dark: #3F2A20; --on-dark-soft: #E3D3C4; --accent-on-dark: #EBCBA8;
}
.page-women .quick-bar .btn, .page-circle .quick-bar .btn, .page-treatments .quick-bar .btn { background: var(--accent); color: var(--on-accent); }

/* הירו רך: תמונה גדולה בצורת חלוק נחל, כותרת בשורות קצרות */
.soft-hero { padding-block: var(--s-hero); }
.soft-hero .grid { display: grid; gap: var(--s-block); align-items: center; }
@media (min-width: 861px) { .soft-hero .grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) { .soft-hero .pebble { order: -1; } }
.soft-hero h1 { font-size: var(--fs-display); line-height: 1.15; }
.soft-hero h1 span { display: block; }
.soft-hero .hero-lead { margin-top: var(--s-text); max-width: 30rem; }
.soft-hero .hero-ctas { margin-top: var(--s-block); }
.soft-hero .hero-note { margin-top: var(--s-text); }
.pebble img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 25%; border-radius: 46% 54% 44% 56% / 38% 40% 60% 62%; }
@media (max-width: 860px) { .pebble img { aspect-ratio: 1; max-height: 62vh; } }

/* פסקה אישית: טקסט ממורכז ומרווח, כמו מכתב */
.letter { max-width: 38rem; margin-inline: auto; text-align: center; }
.letter p { font-size: var(--fs-lead); line-height: 1.85; margin-inline: auto; }
.letter .question { font-family: var(--ff-head); font-weight: 300; font-size: var(--fs-h2); line-height: 1.4; color: var(--brand-ink); }

/* תחושות: שלושה עיגולים רכים, בלי קופסאות */
.feel { display: grid; gap: var(--s-block); }
@media (min-width: 861px) { .feel { grid-template-columns: repeat(3, 1fr); } }
.feel div { text-align: center; }
.feel h3 { display: inline-block; padding: .4rem 1.1rem; border-radius: 999px; background: var(--card); color: var(--brand-ink); font-weight: 400; margin-bottom: var(--s-tight); }
.feel p { margin-inline: auto; max-width: 22rem; }

/* מרחבים: תמונה גדולה ורכה עם טקסט, לסירוגין */
.space { display: grid; gap: var(--s-block); align-items: center; padding-block: var(--s-block); }
@media (min-width: 861px) { .space { grid-template-columns: 1fr 1fr; } .space:nth-child(even) .space-media { order: 2; } }
.space-media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; object-position: 50% 25%; border-radius: var(--radius-lg); }
.space .eyebrow { color: var(--brand-ink); }
.space h3 { font-size: var(--fs-h2); font-weight: 300; margin-bottom: var(--s-text); }
.space .btn { margin-top: var(--s-text); }

/* עדויות כמו מכתבים: נייר, שוליים רחבים, חתימה */
.letters { display: grid; gap: var(--s-block); }
@media (min-width: 861px) { .letters { grid-template-columns: 1.25fr .75fr; align-items: start; } }
.note { margin: 0; background: var(--card); border-radius: .25rem; padding: clamp(1.5rem, 4vw, 2.75rem); box-shadow: 0 1.5rem 3rem -2rem var(--shadow); }
.note:nth-child(2) { transform: rotate(-.6deg); }
.note:nth-child(1) { transform: rotate(.4deg); }
.note blockquote { margin: 0; }
.note p { line-height: 1.9; }
.note figcaption { margin-top: var(--s-text); font-family: var(--ff-head); font-weight: 400; font-size: var(--fs-lead); color: var(--brand-ink); }
.note figcaption::before { content: "· "; }

/* פרטי המעגל: כרטיס רך אחד במקום רצועה */
.details-card { background: var(--card); border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 2.5rem); display: grid; gap: 1.25rem; box-shadow: 0 1.5rem 3rem -2rem var(--shadow); }
@media (min-width: 861px) { .details-card { grid-template-columns: repeat(4, 1fr) auto; align-items: center; } }
.page-circle .quick-bar { background: var(--bg-2); padding-block: var(--s-block); }
.page-circle .quick-bar .wrap { display: block; text-align: start; }
.page-circle .quick-bar .details-card .btn { background: var(--accent); color: var(--on-accent); }
.details-card div { display: flex; flex-direction: column; gap: .2rem; }
.details-card b { font-size: var(--fs-label); letter-spacing: .12em; color: var(--brand-ink); font-weight: 500; }
.details-card span { font-family: var(--ff-head); font-size: var(--fs-lead); }

/* תגיות כלים: עיגולים רכים */
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }
.tags li, .tags > span { border: 1px solid var(--line-strong); border-radius: var(--radius-btn); padding: .3rem .9rem; font-size: var(--fs-small); background: var(--card); }

/* ---------- עמוד הבית: שתי דלתות ברוחב מלא ---------- */
.home-intro { padding-block: var(--s-hero) var(--s-block); text-align: center; }
.home-intro h1 { font-size: var(--fs-display); line-height: 1.08; max-width: 18ch; margin-inline: auto; }
.home-intro .hero-lead { margin: var(--s-text) auto 0; max-width: 34rem; }
.doors2 { display: grid; }
@media (min-width: 861px) { .doors2 { grid-template-columns: 1fr 1fr; } }
.door { position: relative; display: grid; align-content: end; min-height: min(78vh, 40rem); padding: clamp(1.5rem, 4vw, 3.5rem); color: #fff; text-decoration: none; overflow: hidden; isolation: isolate; }
.door img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s ease; }
.door:hover img { transform: scale(1.03); }
.door::after { content: ""; position: absolute; inset: 0; z-index: -1; }
.door-org { background-color: #16303F; }
.door-org img { object-position: 55% 30%; }
.door-org::after { background: linear-gradient(to top, rgba(18, 38, 52, .88) 0%, rgba(18, 38, 52, .35) 45%, transparent 75%); }
.door-women { background-color: #4A2A1C; }
.door-women img { object-position: 50% 20%; }
.door-women::after { background: linear-gradient(to top, rgba(74, 40, 26, .85) 0%, rgba(74, 40, 26, .3) 45%, transparent 75%); }
.door .eyebrow { color: rgba(255,255,255,.85); }
.door h2 { color: #fff; font-weight: 300; font-size: var(--fs-h2); max-width: 16ch; }
.door p { color: rgba(255,255,255,.88); max-width: 30rem; margin-top: var(--s-tight); }
.door .door-go { margin-top: var(--s-text); display: inline-flex; gap: .5rem; font-weight: 500; border-bottom: 1px solid rgba(255,255,255,.6); padding-bottom: .2rem; justify-self: start; }
.door .door-go::after { content: "←"; }

/* מעגל קרוב בעמוד הבית */
.next-circle { display: grid; gap: var(--s-block); align-items: center; }
@media (min-width: 861px) { .next-circle { grid-template-columns: .8fr 1.2fr; } }
.next-circle img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 46% 54% 44% 56% / 38% 40% 60% 62%; }
.next-circle .eyebrow { color: #8A4A2F; }
.next-circle .when { font-family: var(--ff-head); font-size: var(--fs-lead); }

/* ---------- כללי ---------- */
.prose p + p { margin-top: var(--s-text); }
.card-media img { object-position: 50% 15%; }
.about-media img { aspect-ratio: 4 / 5; object-position: 50% 25%; }
.tags-start { justify-content: flex-start; margin-top: var(--s-text); }
.letters-one { grid-template-columns: 1fr; max-width: 46rem; margin-inline: auto; }
.letter .eyebrow { color: var(--brand-ink); }
