/* ============================================================
   LawExcel — International Legal Services · Shay Oved Law Firm
   Shared stylesheet for all language versions (LTR + RTL)
   Palette bridges the Shay Oved gold identity with a deep navy
   base taken from the existing LawExcel abstract artwork.
   ============================================================ */

:root {
  --navy: #0e1a2b;
  --navy-2: #16263d;
  --navy-3: #1f3350;
  --gold: #c8a35a;
  --gold-light: #e3c98f;
  --ink: #1d2733;
  --paper: #f7f5f0;
  --card: #ffffff;
  --muted: #66707e;
  --line: #e5e0d5;
  --wa: #1fa855;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(14, 26, 43, 0.10);
  --font-sans: 'Inter', 'Heebo', 'Cairo', system-ui, -apple-system, sans-serif;
  --font-serif: 'Playfair Display', 'Frank Ruhl Libre', 'Amiri', Georgia, serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: var(--font-serif); font-weight: 700; line-height: 1.25; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14, 26, 43, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(200, 163, 90, 0.25);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 68px; gap: 16px;
}
.brand { display: flex; align-items: baseline; gap: 10px; text-decoration: none; }
.brand-name {
  font-family: var(--font-serif); font-size: 1.45rem; letter-spacing: 0.5px;
  color: #fff;
}
.brand-name b { color: var(--gold); font-weight: 700; }
.brand-sub { font-size: 0.72rem; color: var(--gold-light); letter-spacing: 0.06em; text-transform: uppercase; }

.header-cta { display: flex; align-items: center; gap: 14px; }
.header-phone { color: #fff; text-decoration: none; font-weight: 600; font-size: 0.95rem; white-space: nowrap; }
.header-phone:hover { color: var(--gold-light); }

.lang-switch { display: flex; gap: 2px; align-items: center; }
.lang-switch a {
  color: #9fb0c5; text-decoration: none; font-size: 0.8rem; padding: 4px 7px;
  border-radius: 6px; letter-spacing: 0.03em;
}
.lang-switch a:hover { color: #fff; background: var(--navy-3); }
.lang-switch a[aria-current="true"] { color: var(--gold); font-weight: 700; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 55%, var(--navy-3) 100%);
  color: #fff;
  overflow: hidden;
}
.hero::before {
  /* existing LawExcel abstract artwork, used as a subtle texture */
  content: "";
  position: absolute; inset: 0;
  background-image: url("lawexcel-abstract.jpg");
  background-size: cover; background-position: center;
  opacity: 0.22;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,26,43,0.30) 0%, rgba(14,26,43,0.82) 100%);
}
.hero .container { position: relative; z-index: 2; padding: 92px 24px 84px; max-width: 880px; text-align: center; }

.hero-kicker {
  display: inline-block; margin-bottom: 18px;
  color: var(--gold-light); border: 1px solid rgba(200,163,90,0.45);
  border-radius: 999px; padding: 6px 16px;
  font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase;
}
.hero h1 { font-size: clamp(2rem, 4.6vw, 3.3rem); margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--gold-light); }
.hero-sub { font-size: 1.12rem; color: #ccd6e3; max-width: 640px; margin: 0 auto 34px; }

.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 28px; border-radius: 10px;
  font-weight: 700; font-size: 1rem; text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(0,0,0,0.25); }
.btn-gold { background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%); color: var(--navy); }
.btn-outline { border: 1.5px solid rgba(255,255,255,0.55); color: #fff; }
.btn-wa { background: var(--wa); color: #fff; }
.btn svg { flex-shrink: 0; }

.hero-trust {
  display: flex; gap: 26px; justify-content: center; flex-wrap: wrap;
  margin-top: 44px; padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,0.14);
  font-size: 0.88rem; color: #b7c3d3;
}
.hero-trust span { display: flex; align-items: center; gap: 8px; }
.hero-trust b { color: var(--gold-light); font-weight: 600; }

/* ---------- Sections ---------- */
section { padding: 74px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 46px; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 12px; }
.section-head p { color: var(--muted); }
.section-kicker {
  color: var(--gold); font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; display: block; margin-bottom: 10px;
}

/* ---------- Practice cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow);
}
.card-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-3) 100%);
  color: var(--gold-light); margin-bottom: 18px;
}
.card h3 { font-size: 1.18rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.95rem; }
.card ul { margin-top: 12px; padding-inline-start: 18px; color: var(--muted); font-size: 0.92rem; }
.card li { margin-bottom: 5px; }

/* ---------- Steps ---------- */
.steps-section { background: var(--navy); color: #fff; }
.steps-section .section-head h2 { color: #fff; }
.steps-section .section-head p { color: #b7c3d3; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.step {
  background: var(--navy-2); border: 1px solid rgba(200,163,90,0.22);
  border-radius: var(--radius); padding: 30px 26px; position: relative;
}
.step-num {
  font-family: var(--font-serif); font-size: 2.4rem; color: var(--gold);
  line-height: 1; margin-bottom: 14px;
}
.step h3 { font-size: 1.12rem; margin-bottom: 8px; }
.step p { color: #b7c3d3; font-size: 0.93rem; }

/* ---------- About / synergy ---------- */
.about { }
.about-grid {
  display: grid; grid-template-columns: 1fr 300px; gap: 48px; align-items: center;
}
.about-logo {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px; box-shadow: var(--shadow); text-align: center;
}
.about-logo img { width: 180px; margin: 0 auto 14px; }
.about-logo p { font-size: 0.85rem; color: var(--muted); }
.about h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); margin-bottom: 16px; }
.about p { color: var(--muted); margin-bottom: 14px; }
.about a.firm-link { color: var(--navy); font-weight: 700; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }

/* ---------- FAQ ---------- */
.faq { background: #efece4; }
.faq-list { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 4px 22px;
}
.faq-item summary {
  cursor: pointer; font-weight: 700; padding: 16px 0; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq-item summary::after { content: "+"; color: var(--gold); font-size: 1.4rem; font-weight: 400; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { color: var(--muted); padding-bottom: 18px; font-size: 0.95rem; }

/* ---------- Contact ---------- */
.contact { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; text-align: center; }
.contact h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 12px; }
.contact p { color: #b7c3d3; max-width: 560px; margin: 0 auto 30px; }
.contact-methods { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 26px; }
.contact-note { font-size: 0.85rem; color: #8fa0b5; }

/* ---------- Footer ---------- */
.site-footer { background: #0a1420; color: #8fa0b5; padding: 40px 0; font-size: 0.88rem; }
.site-footer .container { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
.site-footer a { color: #b7c3d3; text-decoration: none; }
.site-footer a:hover { color: var(--gold-light); }
.footer-langs { display: flex; gap: 10px; }

/* ---------- RTL ---------- */
[dir="rtl"] .card ul { padding-inline-start: 18px; }
[dir="rtl"] .hero-kicker { letter-spacing: 0; }
[dir="rtl"] .section-kicker { letter-spacing: 0; }
[dir="rtl"] .brand-sub { letter-spacing: 0; }

/* ---------- Guide pages ---------- */
.guide-hero .container { padding: 56px 24px 48px; max-width: 820px; text-align: start; }
.guide-hero h1 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
.guide-meta { color: #9fb0c5; font-size: 0.85rem; margin-top: 14px; }
.guide-body { max-width: 820px; margin: 0 auto; padding: 56px 24px; }
.guide-body h2 { font-family: var(--font-serif); font-size: 1.5rem; margin: 44px 0 14px; }
.guide-body h3 { font-size: 1.15rem; margin: 26px 0 10px; }
.guide-body p, .guide-body li { color: #3d4754; }
.guide-body ul, .guide-body ol { padding-inline-start: 22px; margin: 12px 0; }
.guide-body li { margin-bottom: 8px; }
.fact-box {
  background: var(--navy); color: #ccd6e3; border-radius: var(--radius);
  padding: 24px 26px; margin: 26px 0; border-inline-start: 4px solid var(--gold);
}
.fact-box b, .fact-box strong { color: var(--gold-light); }
.fact-box p { color: #ccd6e3; }
.fee-table { width: 100%; border-collapse: collapse; margin: 18px 0; background: var(--card); border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); }
.fee-table th, .fee-table td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: start; font-size: 0.95rem; }
.fee-table th { background: var(--navy); color: var(--gold-light); font-weight: 600; }
.checklist { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 28px; box-shadow: var(--shadow); margin: 22px 0; }
.checklist li { list-style: none; position: relative; padding-inline-start: 28px; }
.checklist li::before { content: "✓"; position: absolute; inset-inline-start: 0; color: var(--gold); font-weight: 700; }
.cta-inline {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-3) 100%); color: #fff;
  border-radius: var(--radius); padding: 28px; margin: 36px 0; text-align: center;
}
.cta-inline p { color: #ccd6e3; margin-bottom: 16px; }
.guide-disclaimer { font-size: 0.82rem; color: var(--muted); border-top: 1px solid var(--line); margin-top: 44px; padding-top: 18px; }
.step-num-inline { color: var(--gold); font-family: var(--font-serif); }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; bottom: 22px; inset-inline-end: 22px; z-index: 90;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--wa); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transition: transform 0.15s ease;
}
.wa-float:hover { transform: scale(1.08); color: #fff; }
@media print { .wa-float { display: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-logo { max-width: 340px; margin: 0 auto; }
  .hero .container { padding: 64px 24px 60px; }
  section { padding: 56px 0; }
  .header-phone { display: none; }
}
