/*
Theme Name: Legal Helper Transparent Landing
Theme URI: https://legalhelper.co.il/
Author: Legal Helper
Description: תבנית דף נחיתה נגישה ושקופה לשירות פרטי של ייעוץ וסיוע בהכנת בקשה לתג חניה לנכה.
Version: 1.0.6
Requires at least: 6.3
Requires PHP: 7.4
Text Domain: legalhelper
*/

:root {
  --navy: #13243a;
  --navy-2: #1b3554;
  --gold: #c49a52;
  --gold-light: #f2e6ce;
  --ink: #172333;
  --muted: #5d6875;
  --paper: #fffdf9;
  --mist: #f4f7fa;
  --white: #fff;
  --border: #dce3ea;
  --success: #227a58;
  --radius: 22px;
  --shadow: 0 18px 48px rgba(19, 36, 58, .10);
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}
body {
  margin: 0;
  direction: rtl;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, "Noto Sans Hebrew", sans-serif;
  line-height: 1.65;
}
body.admin-bar .site-header { top: 32px; }
img { max-width: 100%; height: auto; }
main, header, footer, section, nav, form, article, div { min-width: 0; }
a { color: inherit; }
button, input, textarea { font: inherit; }
:focus-visible { outline: 3px solid #2b77c4; outline-offset: 3px; }

.skip-link {
  position: fixed; right: 12px; top: -100px; z-index: 9999;
  background: var(--white); padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; }
.container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.narrow { width: min(780px, calc(100% - 40px)); margin-inline: auto; }
.section { padding: 86px 0; }
.section-soft { background: var(--mist); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--gold); font-weight: 800; letter-spacing: .02em;
}
.eyebrow::before { content: ""; width: 30px; height: 2px; background: currentColor; }
h1, h2, h3 { margin: 0 0 .55em; color: var(--navy); line-height: 1.15; }
h1, h2, h3, p, a, span { overflow-wrap: break-word; }
h1 { font-size: clamp(2.35rem, 5.2vw, 4.65rem); letter-spacing: -.04em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 3rem); letter-spacing: -.025em; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1.1em; }
.lead { font-size: clamp(1.08rem, 2vw, 1.3rem); color: var(--muted); max-width: 680px; }
.section-heading { max-width: 760px; margin-bottom: 38px; }
.section-heading p { color: var(--muted); font-size: 1.1rem; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 12px 22px; border: 0; border-radius: 999px;
  background: var(--gold); color: #17120a; text-decoration: none; font-weight: 800;
  cursor: pointer; transition: transform .2s ease, box-shadow .2s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(196,154,82,.28); }
.button-outline { background: transparent; color: var(--navy); border: 1px solid var(--navy); }

.policy-notice { background: var(--navy); color: var(--white); padding: 10px 0; font-size: .9rem; text-align: center; }
.site-header {
  position: sticky; top: 0; z-index: 80; background: rgba(255,253,249,.95);
  backdrop-filter: blur(12px); border-bottom: 1px solid rgba(19,36,58,.08);
}
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; color: var(--navy); }
.brand img { width: 58px; height: 46px; object-fit: contain; }
.main-nav { display: flex; align-items: center; gap: 24px; }
.main-nav a { text-decoration: none; font-weight: 700; font-size: .95rem; }
.header-actions { display: flex; gap: 10px; }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; font-size: 1.5rem; }

.hero { position: relative; overflow: hidden; padding: 70px 0 84px; background: linear-gradient(135deg, #fffdf9 0%, #f2f6fa 100%); }
.hero::after {
  content: ""; position: absolute; left: -10vw; top: -20%;
  width: 44vw; height: 44vw; border-radius: 50%; background: rgba(196,154,82,.10);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 64px; }
.hero-copy .lead { margin-bottom: 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.trust-list { display: flex; flex-wrap: wrap; gap: 12px 20px; padding: 0; margin: 0; list-style: none; color: var(--muted); font-size: .93rem; }
.trust-list li::before { content: "✓"; color: var(--success); font-weight: 900; margin-left: 7px; }
.hero-visual { position: relative; }
.portrait {
  display: block; width: min(430px, 100%); height: 560px; margin-inline: auto;
  object-fit: cover; object-position: center center; border-radius: 190px 190px 26px 26px; box-shadow: var(--shadow);
}
.hero-card {
  position: absolute; right: -28px; bottom: 30px; max-width: 260px;
  padding: 20px; background: rgba(255,255,255,.95); border: 1px solid var(--border);
  border-radius: 18px; box-shadow: var(--shadow);
}
.hero-card strong { display: block; color: var(--navy); font-size: 1.15rem; margin-bottom: 4px; }
.hero-card span { color: var(--muted); font-size: .9rem; }

.disclosure { background: #fff8e9; border-block: 1px solid #e8d7b7; }
.disclosure-inner { padding: 24px 0; display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; }
.disclosure-icon {
  width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%;
  background: var(--gold-light); color: var(--navy); font-weight: 900;
}
.disclosure h2 { font-size: 1.15rem; margin-bottom: 6px; }
.disclosure p { margin: 0; font-size: .96rem; color: #4e4a43; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; box-shadow: 0 8px 24px rgba(19,36,58,.05);
}
.card-number {
  width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px;
  background: var(--navy); color: var(--white); font-weight: 900; margin-bottom: 22px;
}
.card p { color: var(--muted); margin-bottom: 0; }

.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.about-image { position: relative; }
.about-image img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: center; border-radius: var(--radius); box-shadow: var(--shadow); }
.check-list { list-style: none; margin: 24px 0; padding: 0; display: grid; gap: 12px; }
.check-list li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; }
.check-list li::before { content: "✓"; color: var(--success); font-weight: 900; }
.small-note { color: var(--muted); font-size: .9rem; }

.timeline { counter-reset: steps; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step { position: relative; padding: 26px 22px; background: var(--white); border-radius: 18px; border: 1px solid var(--border); }
.step::before {
  counter-increment: steps; content: counter(steps);
  display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 16px;
  border-radius: 50%; background: var(--gold-light); color: var(--navy); font-weight: 900;
}
.step p { color: var(--muted); font-size: .95rem; margin: 0; }

.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review {
  background: var(--white); border: 1px solid var(--border); border-radius: 18px;
  overflow: hidden; padding: 12px;
}
.review button { border: 0; background: none; cursor: zoom-in; padding: 0; width: 100%; }
.review img { display: block; width: 100%; height: 260px; object-fit: cover; object-position: top; border-radius: 12px; }
.reviews-note { margin-top: 18px; color: var(--muted); font-size: .9rem; }

.faq { display: grid; gap: 12px; }
.faq details { background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 0 20px; }
.faq summary { cursor: pointer; font-weight: 800; color: var(--navy); padding: 18px 0; }
.faq details p { color: var(--muted); padding-bottom: 18px; margin: 0; }

.contact-wrap {
  display: grid; grid-template-columns: .85fr 1.15fr; gap: 54px; align-items: start;
  background: var(--navy); color: var(--white); border-radius: 30px; padding: clamp(28px, 5vw, 58px);
}
.contact-wrap h2, .contact-wrap h3 { color: var(--white); }
.contact-wrap .eyebrow { color: #e2bf7c; }
.contact-details { display: grid; gap: 12px; margin-top: 24px; }
.contact-details a { color: var(--white); text-decoration-color: rgba(255,255,255,.4); }
.contact-form { background: var(--white); color: var(--ink); border-radius: 20px; padding: 26px; }
.field { display: grid; gap: 7px; margin-bottom: 15px; }
.field label { font-weight: 800; font-size: .92rem; }
.field input, .field textarea {
  width: 100%; border: 1px solid #bcc7d2; border-radius: 10px; min-height: 48px; padding: 10px 12px;
  background: var(--white); color: var(--ink);
}
.field textarea { min-height: 100px; resize: vertical; }
.checkbox { display: grid; grid-template-columns: 20px 1fr; gap: 9px; align-items: start; font-size: .88rem; margin: 14px 0; }
.checkbox input { margin-top: 5px; }
.hp-field {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.form-message { padding: 12px 14px; border-radius: 10px; margin-bottom: 14px; }
.form-message.success { background: #e6f4ed; color: #145b40; }
.form-message.error { background: #fdeaea; color: #8b2626; }

.site-footer { margin-top: 80px; background: #0d1928; color: #dce4ec; padding: 54px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 44px; }
.site-footer h2, .site-footer h3 { color: var(--white); font-size: 1.05rem; }
.site-footer a { color: #dce4ec; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 38px; padding-top: 20px; font-size: .85rem; color: #aeb9c5; }

.lightbox {
  position: fixed; inset: 0; z-index: 1000; display: none; place-items: center;
  background: rgba(5,12,20,.9); padding: 30px;
}
.lightbox.is-open { display: grid; }
.lightbox img { max-width: min(920px, 94vw); max-height: 88vh; border-radius: 12px; }
.lightbox-close { position: fixed; top: 18px; left: 18px; color: white; background: none; border: 0; font-size: 2rem; cursor: pointer; }

.content-page { padding: 70px 0; }
.content-page h1 { font-size: clamp(2rem, 4vw, 3.5rem); }
.content-page h2 { margin-top: 1.5em; font-size: 1.55rem; }

@media (max-width: 900px) {
  body.admin-bar .site-header { top: 46px; }
  .hero-grid, .split, .contact-wrap {
    display: flex;
    flex-direction: column;
    width: 100%;
  }
  .hero-copy, .hero-visual, .split > *, .contact-wrap > * { width: 100%; max-width: 100%; }
  .hero-grid { gap: 42px; }
  .hero-visual { max-width: 520px; margin-inline: auto; }
  .portrait { height: min(560px, 125vw); }
  .cards, .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .main-nav {
    display: none; position: absolute; inset-inline: 20px; top: 78px;
    width: auto; max-width: calc(100vw - 40px);
    flex-direction: column; align-items: stretch; background: var(--white);
    border: 1px solid var(--border); padding: 18px; border-radius: 14px; box-shadow: var(--shadow);
  }
  .main-nav.is-open { display: flex; }
  .menu-toggle { display: block; }
  .header-actions .button-outline { display: none; }
}

@media (max-width: 600px) {
  .container, .narrow { width: min(100% - 28px, 1160px); }
  .section { padding: 62px 0; }
  .policy-notice { font-size: .78rem; }
  .header-inner { min-height: 68px; }
  .brand img { width: 48px; }
  .brand span { display: none; }
  .header-actions .button { min-height: 42px; padding: 9px 15px; font-size: .87rem; }
  .hero { padding-top: 48px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .button { width: 100%; }
  .hero-card { right: 8px; bottom: 14px; max-width: 220px; }
  .cards, .reviews-grid, .timeline, .footer-grid { grid-template-columns: 1fr; }
  .review img { height: 310px; }
  .disclosure-inner { grid-template-columns: 1fr; }
}
