/* ===== גילעד כהן - חברת עורכי דין ===== */
:root {
  --navy: #0e2238;
  --navy-2: #16314e;
  --navy-3: #1e3d5f;
  --gold: #c9a227;
  --gold-light: #e3c565;
  --gold-dark: #9a7b1e;
  --ink: #22303e;
  --muted: #5d6b7a;
  --bg: #f7f8fa;
  --card: #ffffff;
  --line: #e3e8ee;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(14, 34, 56, 0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Assistant', 'Segoe UI', Arial, sans-serif;
  direction: rtl;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  font-size: 17px;
}

h1, h2, h3, h4, .serif {
  font-family: 'Frank Ruhl Libre', 'David', serif;
  color: var(--navy);
  line-height: 1.3;
}

a { color: var(--navy-3); text-decoration: none; }
a:hover { color: var(--gold-dark); }

.container { max-width: 1100px; margin-inline: auto; padding-inline: 22px; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(14, 34, 56, 0.97);
  backdrop-filter: blur(6px);
  border-bottom: 2px solid var(--gold);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 10px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img, .brand svg { height: 52px; width: auto; }
.brand-text { display: flex; flex-direction: column; }
.brand-name {
  font-family: 'Frank Ruhl Libre', serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--gold-light);
  letter-spacing: 0.02em;
}
.brand-sub { font-size: 0.78rem; color: #cdd8e4; letter-spacing: 0.12em; }
.main-nav { display: flex; gap: 26px; align-items: center; }
.main-nav a { color: #e8eef5; font-weight: 600; font-size: 0.98rem; }
.main-nav a:hover { color: var(--gold-light); }
.nav-cta {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--navy) !important;
  padding: 8px 20px;
  border-radius: 999px;
  font-weight: 700;
}
.nav-toggle { display: none; background: none; border: 0; color: var(--gold-light); font-size: 1.6rem; cursor: pointer; }

/* ===== Hero ===== */
.hero {
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(201, 162, 39, 0.18), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 55%, var(--navy-3) 100%);
  color: #f2f5f9;
  padding: 84px 0 72px;
  text-align: center;
}
.hero h1 {
  color: #fff;
  font-size: clamp(1.7rem, 4.2vw, 2.9rem);
  font-weight: 700;
  margin-bottom: 14px;
}
.hero h1 .gold { color: var(--gold-light); }
.hero p.lead {
  max-width: 760px;
  margin: 0 auto 30px;
  font-size: clamp(1rem, 2vw, 1.18rem);
  color: #d8e1ea;
}
.hero-rule {
  width: 90px; height: 3px; margin: 0 auto 26px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--navy);
  box-shadow: 0 6px 18px rgba(201, 162, 39, 0.35);
}
.btn-ghost { border: 1.5px solid rgba(255,255,255,0.55); color: #fff; }
.btn-ghost:hover { border-color: var(--gold-light); color: var(--gold-light); }

/* ===== Sections ===== */
section { padding: 72px 0; }
.section-title { text-align: center; font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 10px; }
.section-sub { text-align: center; color: var(--muted); max-width: 640px; margin: 0 auto 44px; }
.title-rule { width: 64px; height: 3px; background: var(--gold); margin: 14px auto 18px; border-radius: 2px; }

/* About */
.about-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 44px; align-items: center; }
.about-text p { margin-bottom: 16px; }
.about-card {
  background: linear-gradient(160deg, var(--navy), var(--navy-3));
  color: #e8eef5;
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--shadow);
}
.about-card ul { list-style: none; }
.about-card li { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.12); display: flex; gap: 10px; align-items: baseline; }
.about-card li:last-child { border-bottom: 0; }
.about-card li::before { content: "◆"; color: var(--gold-light); font-size: 0.7rem; }

/* Practice areas */
.areas { background: #fff; border-block: 1px solid var(--line); }
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease;
}
.card:hover { transform: translateY(-4px); }
.card .icon { font-size: 1.9rem; margin-bottom: 12px; }
.card h3 { font-size: 1.12rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.95rem; }

/* Articles */
.article-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.article-item {
  display: block;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease;
}
.article-item:hover { transform: translateY(-3px); border-color: var(--gold); }
.article-item h3 { font-size: 1.05rem; margin-bottom: 6px; }
.article-item p { color: var(--muted); font-size: 0.92rem; }
.article-item .more { color: var(--gold-dark); font-weight: 700; font-size: 0.9rem; }

/* FAQ */
.faq-wrap { max-width: 820px; margin-inline: auto; }
details.faq {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 12px;
  padding: 18px 22px;
  box-shadow: var(--shadow);
}
details.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--navy);
  font-size: 1.02rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
details.faq summary::after { content: "+"; color: var(--gold); font-size: 1.3rem; font-weight: 400; }
details.faq[open] summary::after { content: "–"; }
details.faq .faq-answer { margin-top: 12px; color: var(--ink); }

/* Contact */
.contact { background: linear-gradient(160deg, var(--navy), var(--navy-2)); color: #eef2f7; }
.contact .section-title, .contact h3 { color: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-info ul { list-style: none; }
.contact-info li { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.14); display: flex; gap: 12px; align-items: baseline; }
.contact-info li b { color: var(--gold-light); min-width: 64px; }
.contact-info a { color: #fff; }
.contact-info a:hover { color: var(--gold-light); }
.map-note { font-size: 0.88rem; color: #b9c6d4; margin-top: 14px; }
.contact-form { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.15); border-radius: var(--radius); padding: 28px; }
.contact-form label { display: block; font-size: 0.9rem; margin-bottom: 5px; color: #d6dfe9; }
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 11px 14px;
  margin-bottom: 16px;
  border-radius: 9px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.92);
  font-family: inherit;
  font-size: 0.95rem;
}
.contact-form button { width: 100%; border: 0; cursor: pointer; }

/* Footer */
.site-footer {
  background: #0a1a2c;
  color: #9fb0c0;
  padding: 30px 0;
  font-size: 0.88rem;
  text-align: center;
  border-top: 2px solid var(--gold);
}
.site-footer a { color: #c9d4df; }
.footer-disclaimer { margin-top: 8px; font-size: 0.8rem; color: #7e8fa0; }

/* ===== Article pages ===== */
.article-hero {
  background: linear-gradient(160deg, var(--navy), var(--navy-3));
  color: #fff;
  padding: 56px 0 44px;
}
.article-hero h1 { color: #fff; font-size: clamp(1.5rem, 3.4vw, 2.3rem); max-width: 860px; }
.breadcrumb { font-size: 0.85rem; color: #b9c6d4; margin-bottom: 16px; }
.breadcrumb a { color: var(--gold-light); }
.article-meta { color: #b9c6d4; font-size: 0.88rem; margin-top: 12px; }
.article-body { max-width: 820px; margin-inline: auto; padding: 52px 22px 30px; }
.article-body h2 { font-size: 1.45rem; margin: 36px 0 14px; padding-bottom: 8px; border-bottom: 2px solid var(--gold); display: inline-block; }
.article-body h3 { font-size: 1.15rem; margin: 26px 0 10px; }
.article-body p { margin-bottom: 16px; }
.article-body ul, .article-body ol { margin: 0 22px 18px 0; }
.article-body li { margin-bottom: 8px; }
.article-body table { width: 100%; border-collapse: collapse; margin: 18px 0; background: #fff; box-shadow: var(--shadow); border-radius: 10px; overflow: hidden; }
.article-body th { background: var(--navy); color: #fff; padding: 11px 14px; text-align: right; font-weight: 600; }
.article-body td { padding: 11px 14px; border-bottom: 1px solid var(--line); }
.key-box {
  background: #fdf8ec;
  border-right: 4px solid var(--gold);
  border-radius: 10px;
  padding: 18px 22px;
  margin: 22px 0;
}
.key-box b { color: var(--navy); }
.cta-box {
  background: linear-gradient(160deg, var(--navy), var(--navy-3));
  color: #eef2f7;
  border-radius: var(--radius);
  padding: 30px 28px;
  margin: 40px 0 10px;
  text-align: center;
}
.cta-box h3 { color: #fff; margin-bottom: 8px; }
.cta-box p { margin-bottom: 18px; color: #d3dde7; }
.article-disclaimer { font-size: 0.82rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 16px; margin-top: 30px; }

/* ===== Responsive ===== */
@media (max-width: 880px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-grid, .article-list { grid-template-columns: 1fr; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%; right: 0; left: 0;
    background: var(--navy);
    flex-direction: column;
    padding: 18px;
    gap: 16px;
    border-bottom: 2px solid var(--gold);
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: block; }
}
@media (max-width: 560px) {
  .cards-grid { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 48px; }
  body { font-size: 16px; }
}
