/* lawyer: שקט ועיתונאי. נייר חם, פחם, ופטרול אחד כמשטח (הפאנל בגיבור והפוטר).
   Noto Serif Hebrew 300 לשם ולמספרים, IBM Plex Sans Hebrew לגוף. קווים דקים, הרבה אוויר, בלי כרטיסים ובלי צל. */
:root {
  --primary: #163240;
  --accent: #B99A5B;
  --paper: #F7F5F0;
  --paper-2: #F1EFE9;
  --ink: #1C1B19;
  --muted: #5B5F63;
  --line: #D9D6CE;
  --wa: #128C7E;
  --font-display: "Suez One", "David Libre", Georgia, serif;
  --font-body: "Miriam Libre", "Alef", Arial, sans-serif;
  --wrap: 1180px;
  --gutter: 24px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 900px) { :root { --gutter: 56px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration-thickness: 1px; text-underline-offset: 5px; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 4px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.1; margin: 0; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
ul, dl, figure { margin: 0; padding: 0; }
li { list-style: none; }
dd { margin: 0; }
.num { font-variant-numeric: tabular-nums; }
.wrap { width: min(100% - var(--gutter) * 2, var(--wrap)); margin-inline: auto; }
.skip-link { position: absolute; inset-inline-start: 1rem; top: -4rem; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip-link:focus { top: 1rem; }

/* ===== כפתורים וקישורים ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 1.75rem; border: 1px solid var(--ink); border-radius: 0; font: 500 1rem/1 var(--font-body); color: var(--ink); background: transparent; text-decoration: none; cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.btn:hover { background: var(--ink); color: var(--paper); }
.btn-hero { background: var(--ink); color: var(--paper); }
.btn-hero:hover { background: var(--primary); border-color: var(--primary); }
.link-line { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; text-decoration-color: var(--line); transition: text-decoration-color .25s; }
.link-line:hover { text-decoration-color: var(--ink); }

/* ===== header: נייר, קו דק ===== */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; padding: 0 var(--gutter); }
.brand { color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.brand-name { font-family: var(--font-display); font-weight: 400; font-size: 1.25rem; }
.brand-logo { max-height: 44px; width: auto; }
.site-nav { display: none; gap: 2rem; }
.site-nav a { color: var(--ink); text-decoration: none; font-size: .9375rem; padding-block: .6rem; }
.site-nav a:hover { text-decoration: underline; text-underline-offset: 6px; }
.header-call { color: var(--ink); text-decoration: none; font-size: .9375rem; font-weight: 500; display: inline-flex; align-items: center; min-height: 44px; }
.header-call:hover { text-decoration: underline; text-underline-offset: 6px; }
@media (min-width: 900px) { .site-nav { display: flex; } }

/* ===== גיבור: צילום בגובה מסך, השם ב-Suez One בשליש התחתון, כפתור פחם ===== */
.hero { position: relative; isolation: isolate; background: var(--ink); color: var(--paper); min-height: max(640px, calc(100svh - 73px)); display: grid; align-items: end; overflow: hidden; }
.hero-media { position: absolute; inset: -16% 0 0 0; z-index: -2; will-change: transform; }
.hero-img { width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(to top, rgba(22, 27, 30, .88) 0%, rgba(22, 27, 30, .45) 42%, rgba(22, 27, 30, .05) 78%); }
.hero-text { padding: 0 var(--gutter) 3rem; }
.hero-name { font-size: clamp(3rem, 13.5vw, 4.75rem); line-height: 1; letter-spacing: -.02em; margin-bottom: 1.25rem; text-wrap: balance; color: var(--paper); }
.hero-tagline { font-size: 1.125rem; line-height: 1.5; max-width: 34ch; color: rgba(247, 245, 240, .85); margin: 0 0 1.75rem; }
.hero .btn { width: 100%; max-width: 360px; }
.btn-hero { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-hero:hover { background: var(--ink); color: var(--paper); border-color: var(--paper); }
@media (min-width: 900px) {
  .hero { min-height: calc(100vh - 73px); max-height: 920px; }
  .hero-text { padding: 0 var(--gutter) 5.5rem; max-width: 860px; }
  .hero-name { font-size: clamp(5rem, 8vw, 7.5rem); letter-spacing: -.025em; }
  .hero-tagline { font-size: 1.25rem; }
  .hero .btn { width: auto; min-width: 280px; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-img { animation: settle 2.4s var(--ease) both; }
  .hero-text { animation: rise 1.1s var(--ease) .2s both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { transform: scale(1.05); } to { transform: none; } }

/* ===== פס פטרול: פרטי המשרד במספרים גדולים ===== */
.panel { background: var(--primary); color: var(--paper); padding: 2.5rem 0 2.75rem; }
.panel a { color: var(--paper); text-decoration: none; }
.panel a:hover { text-decoration: underline; text-underline-offset: 6px; }
.panel-list { display: grid; }
.panel-row { display: flex; align-items: baseline; justify-content: space-between; gap: 1.5rem; padding: .9rem 0; border-bottom: 1px solid rgba(247, 245, 240, .25); }
.panel-row:first-child { border-top: 1px solid rgba(247, 245, 240, .25); }
.panel-row dt { font-size: 1rem; color: rgba(247, 245, 240, .75); flex: none; }
.panel-row dd { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.2; text-align: end; letter-spacing: -.01em; }
.panel :focus-visible { outline-color: var(--paper); }
@media (min-width: 900px) {
  .panel { padding: 3.5rem 0 4rem; }
  .panel-list { grid-template-columns: 1fr 1fr; column-gap: 5rem; }
  .panel-row { padding: 1.1rem 0; }
  .panel-row:nth-child(2) { border-top: 1px solid rgba(247, 245, 240, .25); }
  .panel-row dd { font-size: 1.875rem; }
}

/* ===== סקשנים ===== */
section { padding-block: 5.5rem; }
.section-title { font-size: 2rem; margin-bottom: 1.5rem; }
@media (min-width: 900px) { section { padding-block: 9rem; } .section-title { font-size: 2.75rem; margin-bottom: 3rem; } }

/* תחומי עיסוק: שורות עם קו דק, המחיר בסריף בקצה */
.services { border-top: 1px solid var(--line); }
.service { display: grid; gap: .5rem; padding: 1.5rem 0; border-top: 1px solid var(--line); }
.service:last-child { border-bottom: 1px solid var(--line); }
.service-title { font-size: 1.625rem; font-weight: 400; }
.service-desc { color: var(--muted); margin: 0; max-width: 52ch; }
.service-price { font-family: var(--font-display); font-weight: 400; font-size: 1.625rem; margin: .5rem 0 0; }
.service-price .num { display: inline-block; min-width: 2ch; }
@media (min-width: 900px) {
  .service { grid-template-columns: 4fr 8fr; gap: 3rem; padding: 2rem 0; }
  .service-body { display: grid; grid-template-columns: 1fr auto; gap: 3rem; align-items: start; }
  .service-price { margin: 0; font-size: 1.75rem; white-space: nowrap; }
}

/* על המשרד: הפסקה הראשונה בסריף גדול, תמונה לידה */
.about { background: var(--paper-2); }
.about-inner { display: grid; gap: 2.5rem; }
.about-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.about-text { max-width: 44ch; }
.about-text p:first-of-type { font-family: var(--font-display); font-weight: 400; font-size: 1.625rem; line-height: 1.35; }
.about-text p:last-of-type { margin-bottom: 1.5rem; }
@media (min-width: 900px) {
  .about-inner { grid-template-columns: 5fr 7fr; gap: 5rem; align-items: start; }
  .about-photo { grid-column: 1; grid-row: 1; }
  .about-text { grid-column: 2; grid-row: 1; }
  .about-text p:first-of-type { font-size: 2rem; }
}

/* תמונה ברוחב מלא בתוך המרווח */
.band { padding: 0 var(--gutter) 5.5rem; display: grid; gap: 1.5rem; background: var(--paper-2); }
.band-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.band-photo figcaption { font-size: 1rem; color: var(--muted); margin-top: .75rem; }
@media (min-width: 900px) { .band { padding-bottom: 9rem; grid-template-columns: 1fr 1fr; gap: 2rem; width: min(100% - var(--gutter) * 2, var(--wrap)); margin-inline: auto; padding-inline: 0; } }

/* יצירת קשר */
.contact-grid { display: grid; gap: 2.5rem; }
.contact-lead { max-width: 40ch; color: var(--muted); }
.contact-lines li { margin-bottom: .5rem; }
.contact-lines a { font-family: var(--font-display); font-weight: 400; font-size: 1.75rem; color: var(--ink); text-decoration: none; }
.contact-lines a:hover { text-decoration: underline; }
.contact-address { margin: 1rem 0 0; }
.social { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: .75rem; }
.field { margin-bottom: 1.5rem; }
.field label { display: block; font-size: .9375rem; color: var(--muted); margin-bottom: .2rem; }
.field input, .field textarea { width: 100%; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; background: transparent; padding: .6rem 0; font: inherit; color: var(--ink); min-height: 48px; }
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-bottom: 2px solid var(--primary); }
.form-error { color: #9B1C1C; font-weight: 500; }
.form-actions { display: grid; gap: .75rem; }
.form-actions .btn { width: 100%; }
.form-note { color: var(--muted); font-size: .9375rem; margin: 1.25rem 0 0; }
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 5fr 6fr; gap: 6rem; }
  .form-actions { grid-template-columns: auto auto; align-items: center; justify-content: start; gap: 1.5rem; }
  .form-actions .btn { width: auto; min-width: 260px; }
}

/* ===== פוטר: פטרול ===== */
.site-footer { background: var(--primary); color: var(--paper); padding: 3rem 0 7rem; }
.site-footer a { color: var(--paper); }
.footer-inner { display: grid; gap: 1.5rem; }
.footer-name { font-family: var(--font-display); font-size: 1.375rem; margin: 0 0 .25rem; }
.footer-line { margin: 0; color: rgba(250, 249, 246, .78); }
.footer-line a { text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.footer-line a:hover { text-decoration: underline; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer-nav a { font-size: .9375rem; display: inline-flex; align-items: center; min-height: 44px; text-decoration-color: rgba(250, 249, 246, .5); }
.footer-meta { display: grid; gap: .25rem; }
.footer-badge { display: inline-flex; align-items: center; min-height: 44px; }
.footer-badge img { height: 22px; width: auto; }
.footer-updated { color: rgba(250, 249, 246, .55); font-size: .9375rem; margin: 0; }
@media (min-width: 900px) {
  .site-footer { padding: 3.5rem 0; }
  .footer-inner { grid-template-columns: 1fr auto auto; align-items: start; gap: 3rem; }
}

/* וואטסאפ צף */
.wa-float { position: fixed; bottom: 16px; inset-inline-end: 16px; z-index: 50; width: 56px; height: 56px; border-radius: 50%; background: var(--wa); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 4px rgba(250, 249, 246, .9); }
.wa-float:hover { background: #0E7266; }

/* ===== עמודים משפטיים ===== */
.legal { padding: 2.5rem 0 5rem; }
.legal-inner { max-width: 64ch; }
.legal-title { font-size: clamp(2.5rem, 9vw, 3.5rem); margin-bottom: 1.5rem; }
.legal h2 { font-size: 1.5rem; margin: 2.5rem 0 .75rem; padding-top: .75rem; border-top: 1px solid var(--ink); }
.legal ul { padding-inline-start: 1.25rem; margin-bottom: 1em; }
.legal li { list-style: disc; margin-bottom: .35em; }
.legal-contact { padding: 0; }
.legal-contact li { list-style: none; }
.legal-back { margin-top: 2.5rem; }

/* חשיפה: רק התמונות */
@media (prefers-reduced-motion: no-preference) {
  html.js .reveal img { opacity: 0; transform: scale(1.03); transition: opacity 1s var(--ease), transform 1.4s var(--ease); }
  html.js .reveal.in img { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ===== אזורי לחיצה: גם קישורים בתוך טקסט מגיעים ל-44 פיקסל, בלי לשנות את הפריסה ===== */
.contact-lines a { display: inline-flex; align-items: center; min-height: 44px; }
.form-note a, .services-note a, .contact-address a, .about-text a, .menu-note a, .legal a, .footer-line a { display: inline-block; padding-block: .7rem; margin-block: -.7rem; }
.panel-row dd a { display: inline-flex; align-items: center; min-height: 44px; }
.contact-address a { padding-inline: .5rem; margin-inline: -.5rem; }
