/* בריח צ׳ק · משרד עו״ד אלירן בריח — v2 visual identity
   Navy + sand + brass gold, white paper cards. Headings: Frank Ruhl Libre · Body: Assistant */
:root {
  /* Price of the full (paid) check for index.html + sample-report.html — change here only */
  --bc-price: "₪249";
  /* Credit promise (needs Eliran's OK). To remove everywhere: set to none */
  --credit-note: "עלות הבדיקה המקצועית מתקזזת משכר הטרחה אם ממשיכים לליווי העסקה במשרד.";
  --navy: #0f2340;
  --navy-2: #1a3357;
  --navy-3: #26446d;
  --ink: #1c2330;
  --muted: #5a6474;
  --muted-2: #7a8391;
  --paper: #fbf9f5;
  --sand: #f3ece0;
  --sand-2: #e9dfcd;
  --line: #e3dccf;
  --white: #ffffff;
  --gold: #b08d57;
  --gold-d: #8a6a3a;
  --gold-soft: #f4ead9;
  --red: #a4332b;
  --red-soft: #f8e9e6;
  --amber: #9a6a14;
  --amber-soft: #fbf1dc;
  --green: #2c7a57;
  --green-soft: #e6f2ec;
  --wa: #1f9d55;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 1px 2px rgba(15, 35, 64, .06), 0 10px 30px rgba(15, 35, 64, .08);
  --shadow-lg: 0 20px 50px rgba(15, 35, 64, .16);
  --serif: "Frank Ruhl Libre", "David Libre", Georgia, serif;
  --sans: "Assistant", "Heebo", Arial, sans-serif;
  --max: 1140px;
  /* legacy variable names still referenced by inline styles */
  --font: var(--sans);
  --text: var(--ink);
  --card-border: var(--line);
  --gold-bright: var(--gold);
  --teal: var(--navy-3);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.65; color: var(--ink);
  background: var(--paper); direction: rtl; text-align: right; -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--navy-3); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--serif); color: var(--navy); line-height: 1.2; margin: 0; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hidden-honey { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; border: 0 !important; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); opacity: 0; pointer-events: none; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 249, 245, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--navy); text-decoration: none !important; }
.brand-mark { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--sand); font-family: var(--serif); font-weight: 700; font-size: 20px; box-shadow: inset 0 0 0 2px var(--gold); flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--serif); font-size: 20px; font-weight: 700; color: var(--navy); }
.brand-text span { font-size: 13px; color: var(--muted); }
.main-nav { display: none; gap: 22px; font-size: 15px; font-weight: 600; }
.main-nav a { color: var(--ink); }
@media (min-width: 900px) { .main-nav { display: flex; } }
.header-cta { background: var(--navy); color: var(--white) !important; padding: 9px 16px; border-radius: 999px; font-weight: 700; font-size: 15px; white-space: nowrap; text-decoration: none !important; }
.header-cta:hover { background: var(--navy-2); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 1px solid transparent; border-radius: 12px; padding: 13px 22px; font: 700 17px var(--sans); cursor: pointer; text-decoration: none !important; transition: transform .12s ease, background .15s ease, box-shadow .15s ease; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--navy); color: var(--white); box-shadow: 0 6px 16px rgba(15, 35, 64, .22); }
.btn-primary:hover { background: var(--navy-2); }
.btn-primary[disabled] { opacity: .7; cursor: wait; }
.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: var(--gold-d); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: var(--white); }
.btn-block { width: 100%; }

/* ---------- hero ---------- */
.hero { position: relative; background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%); color: var(--sand); padding: 54px 0 72px; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 60px; background: var(--paper); clip-path: polygon(0 100%, 100% 100%, 100% 0); }
.hero-grid { position: relative; z-index: 1; display: grid; gap: 34px; align-items: start; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 54px; } }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; letter-spacing: .02em; color: var(--gold); text-transform: none; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--gold); }
.hero h1 { color: var(--white); font-size: clamp(34px, 5.2vw, 56px); font-weight: 700; margin: 14px 0 18px; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero-lead { font-size: 19px; color: #d9dfe8; max-width: 560px; margin: 0 0 24px; }
.cred-list { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 10px; }
.cred-list li { display: flex; gap: 10px; align-items: flex-start; color: #e7ebf1; font-size: 16px; }
.cred-list svg { flex: none; color: var(--gold); margin-top: 3px; }
.cred-strip { display: flex; flex-wrap: wrap; gap: 10px 18px; font-size: 14px; color: #b9c3d2; border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 16px; }
.cred-strip b { color: var(--white); font-weight: 700; }

/* ---------- lead card ---------- */
.lead-card { background: var(--white); color: var(--ink); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 26px 22px 22px; border-top: 5px solid var(--gold); }
.lead-card h2 { font-size: 26px; margin-bottom: 6px; }
.lead-card .lead-intro { font-size: 15.5px; color: var(--muted); margin: 0 0 16px; }
.lead-label { display: block; font-size: 14.5px; font-weight: 700; color: var(--navy); margin: 12px 0 5px; }
.lead-label span { font-weight: 500; color: var(--muted-2); font-size: 13px; margin-inline-start: 6px; }
.funnel-input { width: 100%; font: 500 16px var(--sans); color: var(--ink); background: var(--paper); border: 1px solid #d6cdbd; border-radius: 10px; padding: 11px 12px; transition: border-color .15s, box-shadow .15s; }
.funnel-input:focus { outline: none; border-color: var(--navy-3); box-shadow: 0 0 0 3px rgba(38, 68, 109, .15); background: var(--white); }
.lead-textarea { resize: vertical; min-height: 76px; }
.lead-select { appearance: auto; }
.two-col { display: grid; gap: 0 12px; }
@media (min-width: 560px) { .two-col { grid-template-columns: 1fr 1fr; } }
.lead-fine { font-size: 13px; color: var(--muted-2); margin: 10px 0 0; }
.lead-card .btn { margin-top: 16px; }
.funnel-success, .funnel-error { margin-top: 14px; padding: 12px 14px; border-radius: 10px; font-size: 15.5px; font-weight: 600; line-height: 1.6; }
.funnel-success { background: var(--green-soft); color: #1d553c; border: 1px solid #b9dcca; }
.funnel-success a { color: #123c2a !important; }
.funnel-error { background: var(--sand); color: var(--navy); border: 1px solid var(--sand-2); }

/* ---------- sections ---------- */
.sec { padding: 72px 0; }
.sec.alt { background: var(--sand); }
.sec.navy { background: var(--navy); color: #dfe5ee; }
.sec.navy h2, .sec.navy h3 { color: var(--white); }
.sec-head { max-width: 720px; margin-bottom: 34px; }
.sec-head h2 { font-size: clamp(28px, 3.6vw, 40px); margin: 10px 0 12px; }
.sec-head p { font-size: 18px; color: var(--muted); margin: 0; }
.sec.navy .sec-head p { color: #c3ccd9; }

/* free vs full */
.split { display: grid; gap: 20px; }
@media (min-width: 900px) { .split { grid-template-columns: 1.25fr 1fr; } }
.paper { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 24px; box-shadow: var(--shadow); }
.paper h3 { font-size: 22px; margin-bottom: 14px; }
.tick-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.tick-list li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; }
.tick-list .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold-d); }
.tick-list strong { display: block; color: var(--navy); font-size: 17px; }
.tick-list span { color: var(--muted); font-size: 15.5px; }
.paper.muted-paper { background: transparent; border-style: dashed; box-shadow: none; }
.x-list li .ic { background: #eef0f3; color: var(--muted); }
.tag { display: inline-block; font-size: 12.5px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--navy); color: var(--white); margin-bottom: 10px; }
.tag.gold { background: var(--gold); }

/* lawyer checks */
.law-grid { display: grid; gap: 16px; }
@media (min-width: 700px) { .law-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1020px) { .law-grid { grid-template-columns: repeat(3, 1fr); } }
.law-card { background: var(--white); border-radius: var(--radius); padding: 22px 20px; border: 1px solid var(--line); position: relative; }
.sec.navy .law-card { background: var(--navy-2); border-color: rgba(255, 255, 255, .1); }
.law-card .ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(176, 141, 87, .16); color: var(--gold); margin-bottom: 14px; }
.law-card h3 { font-size: 20px; margin-bottom: 8px; }
.law-card p { margin: 0; font-size: 15.5px; color: #c8d1dd; }
.law-card .risk { display: block; margin-top: 12px; font-size: 13.5px; font-weight: 700; color: var(--gold); }

/* steps */
.steps { display: grid; gap: 18px; counter-reset: st; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 22px; position: relative; }
.step-card::before { counter-increment: st; content: counter(st); position: absolute; top: -18px; right: 22px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--white); font: 700 20px var(--serif); box-shadow: 0 0 0 5px var(--sand); }
.step-card h3 { font-size: 21px; margin: 10px 0 8px; }
.step-card p { margin: 0; color: var(--muted); font-size: 15.5px; }
.step-card .when { display: inline-block; margin-top: 12px; font-size: 13.5px; font-weight: 700; color: var(--gold-d); }

/* price */
.price-card { display: grid; gap: 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 26px; box-shadow: var(--shadow); }
@media (min-width: 900px) { .price-card { grid-template-columns: 1fr 1.2fr; align-items: center; } }
.price-tag { font-family: var(--serif); font-size: 64px; font-weight: 700; color: var(--navy); line-height: 1; }
.price-tag small { font-family: var(--sans); font-size: 16px; color: var(--muted); font-weight: 600; margin-inline-start: 8px; }
.price-card ul { margin: 0; padding: 0 20px 0 0; display: grid; gap: 8px; color: var(--ink); }

/* about */
.about { display: grid; gap: 26px; align-items: center; }
@media (min-width: 900px) { .about { grid-template-columns: 300px 1fr; } }
.seal { aspect-ratio: 1; max-width: 280px; border-radius: 50%; background: radial-gradient(circle at 50% 40%, var(--navy-2), var(--navy)); display: grid; place-items: center; text-align: center; color: var(--sand); box-shadow: inset 0 0 0 6px var(--navy), inset 0 0 0 8px var(--gold), var(--shadow-lg); margin: 0 auto; }
.seal b { display: block; font-family: var(--serif); font-size: 30px; color: var(--white); }
.seal span { display: block; font-size: 14px; color: var(--gold); margin-top: 6px; letter-spacing: .04em; }
.areas { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.areas span { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-weight: 700; font-size: 14.5px; color: var(--navy); }

/* excerpt card in hero */
.excerpt { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius); padding: 16px 18px; margin-top: 22px; font-size: 14.5px; color: #dbe2eb; }
.excerpt b { color: var(--white); }
.excerpt .ex-title { font-size: 12.5px; color: var(--gold); font-weight: 700; margin-bottom: 8px; }
.excerpt ul { margin: 0; padding: 0 18px 0 0; display: grid; gap: 4px; }

/* faq */
.faq-list { display: grid; gap: 10px; max-width: 860px; }
.faq { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 0 18px; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 0; font-weight: 700; color: var(--navy); font-size: 17px; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--serif); font-size: 24px; line-height: 1; color: var(--gold); }
.faq[open] summary::after { content: "–"; }
.faq p { margin: 0 0 16px; color: var(--muted); }

/* final band */
.band { background: var(--gold-soft); border: 1px solid #e6d5b8; border-radius: var(--radius-lg); padding: 30px 24px; display: grid; gap: 16px; align-items: center; }
@media (min-width: 800px) { .band { grid-template-columns: 1fr auto; } }
.band h2 { font-size: clamp(24px, 3vw, 32px); }
.band p { margin: 6px 0 0; color: var(--muted); }

/* footer */
.site-footer { background: var(--navy); color: #c3ccd9; padding: 40px 0 28px; font-size: 15px; margin-top: 0; }
.site-footer strong { color: var(--white); font-family: var(--serif); font-size: 18px; }
.site-footer a { color: var(--sand); }
.footer-grid { display: grid; gap: 20px; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-grid h4 { margin: 0 0 8px; color: var(--gold); font-size: 14px; }
.disclaimer { margin-top: 22px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; color: #9fabbd; line-height: 1.7; }

/* ================== report pages (report.php + sample) ================== */
.report-body { background: var(--paper); }
.report-topbar { background: var(--navy); position: sticky; top: 0; z-index: 40; }
.report-topbar-inner { display: flex; align-items: center; justify-content: space-between; min-height: 62px; gap: 14px; }
.report-topbar .brand-text strong { color: var(--white); }
.report-topbar .brand-text span { color: #b9c3d2; }
.report-topbar .brand-mark { background: var(--sand); color: var(--navy); }
.report-back { color: var(--sand) !important; font-weight: 700; font-size: 15px; white-space: nowrap; }
.report-hero { padding: 34px 20px 18px; }
.report-kicker { font-size: 14px; font-weight: 700; color: var(--gold-d); margin-bottom: 8px; }
.report-title { font-family: var(--serif); font-size: clamp(26px, 4vw, 40px); font-weight: 700; color: var(--navy); margin: 0 0 10px; }
.report-meta { font-size: 15.5px; color: var(--muted); margin: 0 0 6px; }
.report-verify { font-size: 14px; color: var(--muted-2); margin: 0; }
.tab-panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 22px 24px; box-shadow: var(--shadow); }
.panel-top span { display: inline-block; font-size: 13px; font-weight: 700; color: var(--gold-d); margin-bottom: 4px; }
.panel-top h2 { font-size: clamp(22px, 3vw, 30px); margin: 0 0 12px; }
.panel-intro, .tab-panel > p { font-size: 15.5px; color: var(--muted); margin: 0 0 16px; }
.tab-panel h3 { font-size: 19px; margin: 22px 0 10px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; background: var(--white); }
th, td { padding: 11px 13px; text-align: right; vertical-align: top; border-bottom: 1px solid #eee8dd; }
th { background: var(--sand); color: var(--navy); font-weight: 700; font-size: 14px; white-space: nowrap; }
td { color: var(--ink); }
tr:last-child td { border-bottom: 0; }
.status-pill { display: inline-block; font-size: 12.5px; font-weight: 700; padding: 2px 10px; border-radius: 999px; background: var(--green-soft); color: var(--green); border: 1px solid #c3e0d1; white-space: nowrap; }
.status-pill.warn { background: var(--amber-soft); color: var(--amber); border-color: #ecd7a8; }
.status-pill.danger { background: var(--red-soft); color: var(--red); border-color: #eac3be; }
.status-pill.neutral { background: #f0f1f4; color: var(--muted); border-color: #dfe2e8; }
.metric-row { display: grid; gap: 12px; margin-bottom: 18px; }
@media (min-width: 680px) { .metric-row { grid-template-columns: repeat(3, 1fr); } }
.metric-card { background: var(--paper); border: 1px solid var(--line); border-inline-start: 4px solid var(--gold); border-radius: 12px; padding: 14px 16px; }
.metric-card .label { font-size: 13.5px; color: var(--muted); font-weight: 700; }
.metric-card .value { font-family: var(--serif); font-size: 28px; font-weight: 700; color: var(--navy); margin-top: 2px; }
.metric-card .sub { font-size: 13px; color: var(--muted-2); }
.note-box { background: #eef3f9; border: 1px solid #d3deec; border-radius: 12px; padding: 12px 15px; font-size: 15px; color: #23364f; margin: 14px 0; }
.warn-box { background: var(--amber-soft); border: 1px solid #ecd7a8; border-radius: 12px; padding: 12px 15px; font-size: 15px; color: #5e430c; margin: 14px 0; }
.danger-box { background: var(--red-soft); border: 1px solid #eac3be; border-radius: 12px; padding: 12px 15px; font-size: 15px; color: #6d231d; margin: 14px 0; }
.panel-foot { margin: 18px 0 0; font-size: 13px; color: var(--muted-2); }
.source-list { list-style: none; margin: 0; padding: 0; }
.source-list li { padding: 11px 0; border-bottom: 1px solid #eee8dd; font-size: 15px; }
.source-list li:last-child { border-bottom: 0; }

/* sample dossier layout */
.dossier { display: grid; gap: 22px; padding-bottom: 60px; }
@media (min-width: 980px) { .dossier { grid-template-columns: 250px 1fr; align-items: start; } }
.toc { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; position: sticky; top: 78px; }
.toc b { display: block; font-family: var(--serif); color: var(--navy); margin-bottom: 8px; }
.toc ol { margin: 0; padding: 0 20px 0 0; display: grid; gap: 6px; font-size: 15px; }
.toc a { color: var(--ink); }
@media (max-width: 979px) { .toc { position: static; } }
.dossier-body { display: grid; gap: 18px; }
.verdict { display: grid; gap: 10px; }
.verdict-row { display: grid; grid-template-columns: 14px 1fr; gap: 12px; align-items: start; padding: 12px 14px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); }
.dot { width: 14px; height: 14px; border-radius: 50%; margin-top: 6px; }
.dot.r { background: var(--red); } .dot.y { background: #d59a1c; } .dot.g { background: var(--green); }
.sample-flag { display: inline-block; background: var(--red-soft); color: var(--red); border: 1px solid #eac3be; padding: 3px 12px; border-radius: 999px; font-size: 13.5px; font-weight: 700; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.checklist li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }
.checklist li::before { content: "☐"; color: var(--gold-d); font-size: 18px; line-height: 1.3; }

@media (max-width: 560px) {
  body { font-size: 16px; }
  .sec { padding: 54px 0; }
  .hero { padding: 36px 0 64px; }
  .lead-card { padding: 22px 16px 18px; }
  .tab-panel { padding: 20px 15px; }
  .brand-text span { display: none; }
}
@media print { .site-header, .report-topbar, .toc { display: none !important; } body { background: #fff; } }

/* price placeholder: <span class="bc-price"></span> renders --bc-price */
.bc-price::before { content: var(--bc-price); }

/* credit promise placeholder: <p class="credit-note"></p> renders --credit-note */
.credit-note { margin: 12px 0 0; font-size: 14.5px; font-weight: 700; color: var(--gold); }
.credit-note::before { content: var(--credit-note); }

/* premium: full deal representation */
.deal { display: grid; gap: 26px; align-items: start; }
@media (min-width: 940px) { .deal { grid-template-columns: 1.15fr .85fr; } }
.deal-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.deal-list li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; color: #e3e8ef; font-size: 16.5px; }
.deal-list li::before { content: "✓"; color: var(--gold); font-weight: 800; }
.deal-list strong { color: var(--white); }
.cb-card { background: var(--white); color: var(--ink); border-radius: var(--radius-lg); padding: 24px 20px; border-top: 5px solid var(--gold); box-shadow: var(--shadow-lg); }
.cb-card h3 { font-size: 22px; margin-bottom: 4px; }
.cb-card .alt-contact { margin: 12px 0 0; font-size: 14.5px; color: var(--muted); }
.cb-card .btn { margin-top: 14px; }
.pro-box { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px 20px; display: grid; gap: 12px; align-items: center; }
@media (min-width: 800px) { .pro-box { grid-template-columns: 1fr auto; } }
.pro-box h3 { font-size: 20px; }
.pro-box p { margin: 4px 0 0; color: var(--muted); font-size: 15.5px; }
.sec.navy .cb-card h3 { color: var(--navy); }

/* WhatsApp / phone quick contact */
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #188a49; }
.cb-quick { display: grid; gap: 10px; margin-top: 14px; }
@media (min-width: 480px) { .cb-quick { grid-template-columns: 1fr 1fr; } }
.cb-quick .btn { padding: 12px 14px; font-size: 16px; }
