/* ============================================================
   shoshia-law.com — Clean CSS
   Design tokens extracted from original site
   ============================================================ */

/* Fonts */
@font-face {
  font-family: 'Assistant';
  src: url('../fonts/Assistant-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Assistant';
  src: url('../fonts/Assistant-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Variables */
:root {
  --navy:    #182434;
  --navy-dark: #03091e;
  --green:   #9ebe89;
  --green-dark: #7a9e6a;
  --beige:   #e7e0da;
  --bg:      #f5f7f8;
  --text:    #232527;
  --text-mid: #3a3f45;
  --white:   #ffffff;
  --footer-bg: #323438;
  --whatsapp: #25d366;
  --font: 'Assistant', sans-serif;
  --radius: 4px;
  --shadow: 0 2px 12px rgba(0,0,0,0.1);
  --transition: 0.2s ease;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 18px;
  color: var(--text);
  background: var(--bg);
  direction: rtl;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, textarea, select { font-family: var(--font); font-size: 18px; }

/* ── Skip Link ─────────────────────────────────────────────── */
.skip-link {
  position: fixed;
  top: -60px;
  right: 50%;
  transform: translateX(50%);
  background: var(--navy-dark);
  color: var(--white);
  padding: 10px 20px;
  font-weight: 600;
  font-size: 15px;
  z-index: 10000;
  border-radius: 0 0 var(--radius) var(--radius);
  transition: top 0.15s ease;
  white-space: nowrap;
}
.skip-link:focus {
  top: 0;
  outline: 3px solid #fff;
  outline-offset: 2px;
}

/* ── Header ────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 18, 32, 0.82);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  box-shadow: 0 1px 40px rgba(0,0,0,0.25);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}
.site-logo img { height: 46px; width: auto; }

/* Top-level nav links */
.site-nav > ul {
  display: flex;
  gap: 4px;
  align-items: center;
}
.site-nav > ul > li > a {
  color: rgba(255,255,255,0.82);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 7px 14px;
  border-radius: 8px;
  border-bottom: none;
  transition: background 0.18s, color 0.18s;
}
.site-nav > ul > li > a:hover {
  color: #fff;
  background: rgba(255,255,255,0.1);
  border-bottom: none;
}
.site-nav > ul > li > a.active {
  color: #fff;
  background: rgba(255,255,255,0.12);
  border-bottom: none;
}

/* Phone CTA */
.header-phone {
  color: var(--navy-dark);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  direction: ltr;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 8px;
  background: var(--green);
  transition: background 0.18s, transform 0.18s;
}
.header-phone:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
  color: var(--navy-dark);
}

/* Hamburger */
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  cursor: pointer;
  padding: 8px 10px;
  color: var(--white);
  flex-direction: column;
  gap: 5px;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.mobile-nav {
  display: none;
  background: rgba(10,18,32,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 24px 24px;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.mobile-nav.open { display: block; max-height: calc(100dvh - 68px); overflow-y: auto; }
.mobile-nav ul { display: flex; flex-direction: column; gap: 0; }
.mobile-nav a {
  display: block;
  color: rgba(255,255,255,0.8);
  padding: 11px 0;
  font-size: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color 0.15s;
}
.mobile-nav a:hover { color: #fff; }
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a.active, .mobile-nav a[aria-current="page"] {
  color: #fff;
  background: rgba(255,255,255,0.1);
  border-right: 3px solid var(--green);
}
html[dir="ltr"] .mobile-nav a.active,
html[dir="ltr"] .mobile-nav a[aria-current="page"] {
  border-right: none;
  border-left: 3px solid var(--green);
}
.mobile-phone {
  display: block;
  color: var(--green);
  font-size: 17px;
  font-weight: 700;
  padding: 16px 0 0;
  direction: ltr;
  text-align: center;
}

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  position: relative;
  background: url('../img/bg_home.jpg') center/cover no-repeat;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(3, 9, 30, 0.65);
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 420px;
  align-items: flex-end;
  min-height: 540px;
  width: 100%;
}
.hero-text {
  padding: 60px 40px 60px 24px;
  align-self: center;
}
.hero-text h1 {
  font-size: 52px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 20px;
}
.hero-text h1 strong { font-weight: 700; }
.hero-text p {
  font-size: 20px;
  color: rgba(255,255,255,0.9);
  line-height: 1.6;
  margin-bottom: 32px;
}
.hero-services {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.hero-service-link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
  transition: color var(--transition);
}
.hero-service-link img { width: 36px; height: 36px; }
.hero-service-link h2 { margin: 0; font-size: inherit; font-weight: inherit; color: inherit; }
.hero-service-link:hover { color: var(--green); }

/* Hero photo (Shoshi portrait) */
.hero-photo {
  display: flex;
  align-items: flex-end;
  height: 100%;
}
.hero-photo img {
  display: block;
  max-height: 560px;
  width: auto;
  max-width: 380px;
  object-fit: contain;
  object-position: bottom;
}

/* ── Form Section ───────────────────────────────────────────── */
.form-section {
  background: var(--bg);
  padding: 48px 24px;
  border-top: 4px solid var(--green);
}
.form-section-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.form-section-cta h2 {
  font-size: 26px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 24px;
  line-height: 1.3;
}
.form-section-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--navy);
  color: var(--white);
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 22px;
  font-weight: 700;
  direction: ltr;
  transition: background var(--transition);
}
.form-section-phone:hover { background: var(--green); }
.form-or {
  font-size: 16px;
  color: var(--text-mid);
  margin-bottom: 14px;
}
.form-fields { display: flex; flex-direction: column; gap: 10px; }
.form-fields label.sr-only {
  position: static;
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
  clip-path: none;
  white-space: normal;
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--text);
  opacity: 0.8;
  margin-bottom: -6px;
}
.srv-sidebar-form .form-fields label.sr-only { color: rgba(255,255,255,0.8); }
.form-fields input:not([type="checkbox"]), .form-fields textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #888;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
  font-size: 16px;
  outline: none;
  transition: border-color var(--transition);
}
.form-fields input::placeholder { color: #999; }
.form-fields input:focus { border-color: var(--green); }
.form-fields textarea { resize: vertical; }
.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  line-height: 1.4;
}
.form-checkbox input[type="checkbox"] { margin-top: 3px; flex-shrink: 0; }
.form-checkbox label { flex: 1; min-width: 0; }
.form-checkbox a { color: var(--navy); text-decoration: underline; }
.btn-submit {
  width: 100%;
  padding: 12px;
  background: var(--green);
  color: var(--navy-dark);
  border: none;
  border-radius: var(--radius);
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition);
  margin-top: 4px;
}
.btn-submit:hover { background: var(--green-dark); color: var(--navy-dark); }

/* ── Section base ──────────────────────────────────────────── */
.section { padding: 64px 24px; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 40px;
  text-align: center;
}
.section-title span { color: var(--navy); }

/* ── Services Cards (homepage) ─────────────────────────────── */
.services-section { background: var(--white); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  color: var(--white);
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-card img { width: 60px; height: 60px; margin: 0 auto 16px; }
.service-card h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
}

/* ── Photo Grid ────────────────────────────────────────────── */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 260px);
  gap: 4px;
}
.photo-grid img { width: 100%; height: 100%; object-fit: cover; }

/* ── Credentials ───────────────────────────────────────────── */
.credentials-section { background: var(--bg); }
.credentials-header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: start;
  margin-bottom: 40px;
}
.credentials-title { font-size: 26px; font-weight: 400; color: var(--navy); }
.credentials-title strong { font-weight: 700; }
.credentials-photo {
  width: 180px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.credentials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.credential-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  box-shadow: var(--shadow);
}
.credential-card img { width: 60px; height: 60px; margin: 0 auto 12px; }
.credential-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.credential-card p { font-size: 15px; color: var(--text-mid); }

/* ── Blog Preview ──────────────────────────────────────────── */
.blog-section { background: var(--white); }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.blog-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
  transition: transform var(--transition);
}
.blog-card:hover { transform: translateY(-4px); }
.blog-card img { width: 100%; height: 220px; object-fit: cover; }
.blog-card-body { padding: 20px; }
.blog-card-body h2 {
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.blog-card-body p { font-size: 16px; color: var(--text-mid); line-height: 1.6; }
.read-more {
  display: inline-block;
  margin-top: 12px;
  color: var(--navy);
  font-weight: 700;
  font-size: 15px;
}
.read-more:hover { color: var(--navy-dark); text-decoration: underline; }

/* ── Page Hero (inner pages) ───────────────────────────────── */
.page-hero {
  background: var(--navy);
  padding: 60px 24px;
  text-align: center;
  color: var(--white);
}
.page-hero.page-hero-img {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 100px 24px;
}
.page-hero.page-hero-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(18, 30, 48, 0.62);
}
.page-hero.page-hero-img h1,
.page-hero.page-hero-img p {
  position: relative;
  z-index: 1;
}
.page-hero h1 { font-size: 40px; font-weight: 700; }
.page-hero p { font-size: 18px; opacity: 0.85; margin-top: 12px; }

/* ── Inner page content ────────────────────────────────────── */
.page-content { background: var(--white); padding: 60px 24px; }
.page-content-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}
.page-content-inner.full { grid-template-columns: 1fr; max-width: 800px; }
.page-text h2 {
  font-size: 26px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
}
.page-text h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin: 24px 0 10px;
}
.page-text p { margin-bottom: 16px; line-height: 1.8; }
.page-text ul { margin: 0 24px 16px 0; }
.page-text ul li {
  padding: 4px 0;
  position: relative;
  padding-right: 20px;
}
.page-text ul li::before {
  content: '◆';
  position: absolute;
  right: 0;
  color: var(--green);
  font-size: 10px;
  top: 8px;
}
.page-image img { border-radius: var(--radius); width: 100%; }

/* ── Services page grid ────────────────────────────────────── */
.services-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.service-page-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
  transition: transform var(--transition);
}
.service-page-card:hover { transform: translateY(-4px); }
.service-page-card img { width: 100%; height: 200px; object-fit: cover; }
.service-page-card-body { padding: 20px; }
.service-page-card-body h2 {
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.service-page-card-body p { font-size: 16px; color: var(--text-mid); }
.btn-more {
  display: inline-block;
  margin-top: 14px;
  padding: 8px 20px;
  background: var(--green);
  color: var(--navy-dark);
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  transition: background var(--transition);
}
.btn-more:hover { background: var(--green-dark); color: var(--navy-dark); }

/* ── Contact page ──────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-grid > * { min-width: 0; }
.contact-info h2 { font-size: 24px; font-weight: 700; color: var(--navy); margin-bottom: 24px; }
.contact-info-items { display: flex; flex-direction: column; gap: 20px; }
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 17px;
}
.contact-info-item a { color: var(--navy); text-decoration: underline; }
.contact-info-item a:hover { color: var(--navy-dark); text-decoration: underline; }
.contact-form-section h2 { font-size: 24px; font-weight: 700; color: var(--navy); margin-bottom: 24px; }
.contact-form .form-fields input,
.contact-form .form-fields textarea {
  background: var(--bg);
  color: var(--text);
  border: 1px solid #888;
}
.contact-form .form-fields input::placeholder { color: #999; }
.contact-form .form-fields input:focus { border-color: var(--green); background: var(--white); }
.contact-form .form-checkbox { color: var(--text-mid); }
.contact-form .btn-submit { background: var(--green); }

/* ── Footer ────────────────────────────────────────────────── */
.site-footer {
  background: var(--footer-bg);
  color: var(--white);
  padding: 52px 24px 28px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-col-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--white);
}
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col a {
  color: rgba(255,255,255,0.75);
  font-size: 16px;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--green); }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 16px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 12px;
}
.footer-contact-item a { color: rgba(255,255,255,0.75); text-decoration: underline; }
.footer-contact-item a:hover { color: var(--green); text-decoration: underline; }
.footer-logo { margin-top: 16px; }
.footer-logo img { height: 48px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom a { color: rgba(255,255,255,0.45); }
.footer-bottom a:hover { color: var(--white); }

/* ── WhatsApp float ─────────────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 200;
  background: var(--whatsapp);
  color: var(--white);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  font-size: 28px;
  transition: transform var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1); }

/* ── Breadcrumb ─────────────────────────────────────────────── */
.breadcrumb {
  background: var(--beige);
  padding: 12px 24px;
  font-size: 15px;
  color: var(--text-mid);
}
.breadcrumb-inner { max-width: 1200px; margin: 0 auto; }
.breadcrumb a { color: var(--navy); }
.breadcrumb a:hover { color: var(--green); }
.breadcrumb span { margin: 0 6px; }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .site-nav, .header-phone { display: none; }
  .menu-toggle { display: flex; }
  .header-inner { padding: 0 20px; }

  .hero-inner { grid-template-columns: 1fr; }
  .hero-text { padding: 40px 24px 0; }
  .hero-text h1 { font-size: 36px; }
  .hero-photo { justify-content: center; }
  .hero-photo img { max-height: 380px; max-width: 100%; }

  .form-section-inner { grid-template-columns: 1fr; gap: 28px; }

  .services-grid { grid-template-columns: 1fr; gap: 16px; }
  .photo-grid { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(2, 180px); }
  .credentials-grid { grid-template-columns: repeat(2, 1fr); }
  .credentials-header { grid-template-columns: 1fr; }
  .credentials-photo { display: none; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .page-content-inner { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-bar-inner { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .services-page-grid { grid-template-columns: repeat(2, 1fr); }

  /* srv-sidebar-services extracted to page level on mobile */
  .srv-sidebar-services {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 24px;
    background: var(--white);
  }
  .srv-sidebar-services h3 { grid-column: 1 / -1; margin-bottom: 4px; }
}
@media (max-width: 560px) {
  .hero { background-image: url('../img/bg_home_m.jpg'); }
  .hero-text { padding: 32px 16px 0; }
  .hero-text h1 { font-size: 28px; }
  .hero-photo img { max-height: 300px; }
  .photo-grid { grid-template-rows: repeat(2, 140px); }
  .credentials-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 40px 16px; }
  .form-section { padding: 32px 16px; }
  .page-hero { padding: 40px 16px; }
  .page-hero h1 { font-size: 28px; }
  .page-content { padding: 36px 16px; }
  .services-page-grid { grid-template-columns: 1fr; }
  .footer-bottom { justify-content: center; text-align: center; }
}

/* ── Service Sidebar ─────────────────────────────────────────── */
.srv-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.srv-sidebar-shoshi {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}
.srv-sidebar-shoshi img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.srv-sidebar-shoshi div { display: flex; flex-direction: column; }
.srv-sidebar-shoshi strong { font-size: 17px; color: var(--navy); }
.srv-sidebar-shoshi span { font-size: 14px; color: var(--text-mid); }

.srv-sidebar-form {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 20px;
  color: var(--white);
}
.srv-sidebar-form-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
  text-align: center;
  line-height: 1.4;
}
.srv-sidebar-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--green);
  font-size: 18px;
  font-weight: 700;
  direction: ltr;
  margin-bottom: 12px;
  text-decoration: none;
}
.srv-sidebar-phone:hover { color: var(--white); }
.srv-sidebar-form .form-fields input {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.45);
  color: var(--white);
  font-size: 14px;
  padding: 8px 12px;
}
.srv-sidebar-form .form-fields input::placeholder { color: rgba(255,255,255,0.5); }
.srv-sidebar-form .form-fields input:focus { border-color: var(--green); background: rgba(255,255,255,0.18); }
.srv-sidebar-form .form-checkbox { color: rgba(255,255,255,0.7); font-size: 12px; }
.srv-sidebar-form .form-checkbox a { color: var(--green); }
.srv-sidebar-form .btn-submit { font-size: 15px; padding: 10px; margin-top: 2px; }

.srv-sidebar-services h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--beige);
}
.srv-sidebar-item {
  position: relative;
  display: block;
  height: 90px;
  margin-bottom: 8px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.25);
  overflow: hidden;
  transition: border-color 0.3s;
}
.srv-sidebar-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
  transition: background 0.3s;
  z-index: 1;
}
.srv-sidebar-item:hover::after { background: rgba(0,0,0,0.2); }
.srv-sidebar-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s;
}
.srv-sidebar-item:hover img { transform: scale(1.06); }
.srv-sidebar-item span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  font-weight: 300;
  text-shadow: 3px 3px 23px rgba(0,0,0,0.4);
  text-align: center;
  padding: 8px;
  z-index: 2;
}
.mobile-sub a {
  padding-right: 24px !important;
  font-size: 15px !important;
  color: rgba(255,255,255,0.7) !important;
}

/* ── Contact Bar ─────────────────────────────────────────────── */
.contact-bar {
  background: var(--navy-dark);
  padding: 24px 20px;
}
.contact-bar-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  text-align: center;
  align-items: start;
}
.contact-bar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--white);
}
.contact-bar-item strong { display: block; font-size: 14px; margin-bottom: 2px; opacity: 0.7; text-transform: uppercase; letter-spacing: 0.04em; }
.contact-bar-item a { color: rgba(255,255,255,0.9); font-size: 14px; display: inline; }
.contact-bar-item a:hover { color: var(--green); }
.copy-row { display: flex; align-items: center; gap: 5px; justify-content: center; flex-wrap: nowrap; }
.copy-btn {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 4px;
  cursor: pointer;
  padding: 3px 5px;
  color: rgba(255,255,255,0.5);
  display: inline-flex;
  align-items: center;
  transition: background 0.18s, border-color 0.18s, color 0.18s;
  line-height: 1;
  flex-shrink: 0;
}
.copy-btn:hover { background: rgba(255,255,255,0.16); border-color: var(--green); color: var(--green); }
@media (max-width: 700px) {
  .contact-bar-inner { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}
@media (max-width: 420px) {
  .contact-bar-inner { grid-template-columns: 1fr; gap: 16px; }
  .copy-row { flex-wrap: wrap; }
  .contact-bar-item a { word-break: break-all; }
}

/* Contact page Shoshi card */
.contact-shoshi-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  box-shadow: var(--shadow);
}
.contact-shoshi-card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 12px;
  display: block;
}
.contact-shoshi-card h3 { font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.contact-shoshi-title { font-size: 15px; color: var(--navy); font-weight: 600; margin-bottom: 10px; }

/* ── Accessibility – Focus indicators ──────────────────────── */
:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 2px;
}

/* ── Nav Dropdown ────────────────────────────────────────────── */
.site-nav ul { list-style: none; }
.site-nav > ul > li { position: relative; }
.sub-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: rgba(10,18,32,0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  min-width: 230px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.4), 0 0 0 0.5px rgba(255,255,255,0.04) inset;
  z-index: 300;
  padding: 6px;
  flex-direction: column;
  gap: 1px;
}
/* Level-3: flyout to the left */
.sub-menu .sub-menu {
  top: -6px;
  right: calc(100% + 6px);
  border-radius: 12px;
}
/* Open states controlled by main.js */
.site-nav > ul > li.is-open > .sub-menu { display: flex; }
.sub-menu li.is-open > .sub-menu { display: flex; }
/* Make level-2 items with children positioned */
.sub-menu li { width: 100%; position: relative; }
.sub-menu a {
  display: block;
  padding: 9px 14px;
  font-size: 14px;
  font-weight: 450;
  color: rgba(255,255,255,0.78);
  border-radius: 8px;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}
.sub-menu a:hover { color: #fff; background: rgba(255,255,255,0.1); }
/* Arrow indicators removed */
.site-nav > ul > li.has-sub > a::after { content: none; }
.sub-menu li.has-sub > a::before { content: none; }
/* Mobile level-3 indent */
.mobile-sub-2 a { padding-right: 44px; font-size: 13px; opacity: 0.75; }

/* ── Homepage service cards (שירותי המשרד) ─────────────────── */
.srv-cards-section {
  background: var(--white);
  padding: 52px 24px;
}
.srv-cards-inner { max-width: 1100px; margin: 0 auto; }
.srv-cards-label {
  text-align: center;
  margin-bottom: 32px;
}
.srv-cards-label span,
.srv-cards-label h2 {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  font-size: 20px;
  font-weight: 700;
  padding: 10px 36px;
  border-radius: var(--radius);
  letter-spacing: 0.02em;
  margin: 0;
}
.srv-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.srv-card {
  position: relative;
  height: 260px;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-decoration: none;
  color: inherit;
}
.srv-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(3,9,30,0.88) 0%, rgba(3,9,30,0.25) 55%, transparent 100%);
}
.srv-card-body {
  position: relative;
  z-index: 1;
  padding: 20px 24px;
}
.srv-card-body h3 {
  color: var(--white);
  font-size: 21px;
  font-weight: 700;
  margin-bottom: 12px;
}
.srv-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green);
  color: var(--navy-dark);
  padding: 8px 18px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
  transition: background var(--transition);
}
.srv-card:hover .srv-card-btn,
.srv-card:focus .srv-card-btn { background: var(--green-dark); color: var(--navy-dark); }
@media (max-width: 900px) { .srv-cards-grid { grid-template-columns: 1fr; } }

/* ── About page ──────────────────────────────────────────────── */
.about-content-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 52px;
  align-items: start;
}
.about-photo img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: block;
}
.about-credentials { margin-top: 32px; }
.about-credentials h2 { font-size: 24px; font-weight: 700; color: var(--navy); margin-bottom: 20px; }
.cred-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 8px;
}
.cred-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 16px;
  background: var(--bg);
  border-radius: var(--radius);
}
.cred-item img { width: 72px; height: auto; }
.cred-item h3 { font-size: 14px; font-weight: 700; color: var(--navy); margin: 0; }
.cred-item p { font-size: 13px; color: var(--text-mid); margin: 0; }
@media (max-width: 900px) {
  .about-content-inner { grid-template-columns: 1fr; }
  .about-photo { order: -1; max-width: 300px; margin: 0 auto; }
}

/* ── Utilities ──────────────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Service card as link */
a.service-card {
  display: block;
  text-decoration: none;
}
a.service-card h3 { color: var(--white); font-size: 20px; font-weight: 700; }

/* Blog card h3 as link */
.blog-card-body h3 a { color: var(--navy); }
.blog-card-body h3 a:hover { color: var(--navy-dark); text-decoration: underline; }

/* ── Related section (אולי יעניין אותך עוד) ─────────────────── */
.related-section {
  background: var(--beige);
  padding: 48px 24px;
}
.subsrv-nav-section {
  background: var(--white);
  border-bottom: 1px solid rgba(0,0,0,0.07);
}
.expertise-section {
  background: var(--beige);
  padding: 48px 24px;
}
.expertise-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.expertise-section h2 {
  font-size: 26px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
  text-align: center;
}
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}
@media (max-width: 900px) {
  .expertise-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .expertise-grid { grid-template-columns: repeat(2, 1fr); }
}
.related-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.related-section h2 {
  font-size: 26px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 28px;
  text-align: center;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.related-card {
  position: relative;
  display: block;
  height: 160px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}
.related-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.related-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.15) 60%, transparent 100%);
  z-index: 1;
}
.related-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.related-card:hover img { transform: scale(1.06); }
.related-card span {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  padding: 12px 14px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-align: right;
  z-index: 2;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}
@media (max-width: 700px) {
  .related-grid { grid-template-columns: 1fr; }
  .related-card { height: 130px; }
}

/* ── Language Bar ────────────────────────────────────────────── */
.lang-bar {
  background: rgba(3,9,30,0.98);
  display: flex;
  direction: ltr;
  justify-content: flex-end;
  align-items: center;
  gap: 2px;
  padding: 5px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.lang-btn {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.45);
  border-radius: 4px;
  letter-spacing: 0.07em;
  text-decoration: none;
  border: 1px solid transparent;
  transition: color 0.15s, background 0.15s, border-color 0.15s;
  font-family: inherit;
}
.lang-btn { position: relative; }
.lang-btn:hover { color: var(--navy-dark); background: var(--green); border-color: var(--green); }
.lang-btn.active { color: #fff; background: rgba(255,255,255,0.13); border-color: rgba(255,255,255,0.18); }
.lang-btn[data-lang]::after {
  content: attr(data-lang);
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy-dark);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 3px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s;
  z-index: 100;
}
.lang-btn[data-lang]:hover::after,
.lang-btn[data-lang]:focus::after { opacity: 1; }
.lang-btn + .lang-btn::before { content: ''; display: inline-block; width: 1px; height: 10px; background: rgba(255,255,255,0.12); margin-left: 2px; margin-right: 2px; vertical-align: middle; }
html[dir="ltr"] .lang-btn + .lang-btn::before { margin-left: 2px; margin-right: 2px; }
@media (max-width: 560px) {
  .lang-bar { padding: 4px 14px; }
  .lang-btn { padding: 3px 8px; font-size: 10px; }
}

/* ── AEO blocks ─────────────────────────────────────────────── */
.aeo-block { border-right: 3px solid #b89a5e; padding: 20px 20px 20px 0; margin: 28px 0; background: #faf8f4; border-radius: 0 6px 6px 0; }
.aeo-block h3 { font-size: 1rem; color: #3a2a1a; margin: 0 0 8px; }
.aeo-block h3 + h3 { margin-top: 18px; }
.aeo-answer { font-size: 0.95rem; line-height: 1.7; color: #444; margin: 0 0 4px; }
html[dir="ltr"] .aeo-block { border-right: none; border-left: 3px solid #b89a5e; padding: 20px 0 20px 20px; border-radius: 6px 0 0 6px; }

/* ── LTR (non-Hebrew) overrides ─────────────────────────────── */
html[dir="ltr"] body { direction: ltr; text-align: left; }
html[dir="ltr"] .lang-bar { justify-content: flex-end; }
html[dir="ltr"] .header-inner { direction: ltr; }
html[dir="ltr"] .mobile-nav { direction: ltr; }
html[dir="ltr"] .site-nav { direction: ltr; }
html[dir="ltr"] .sub-menu { right: auto; left: 0; }
html[dir="ltr"] .sub-menu .sub-menu { right: auto; left: calc(100% + 6px); }
html[dir="ltr"] .hero-inner { grid-template-columns: 1fr 420px; }
html[dir="ltr"] .hero-text { padding: 60px 24px 60px 40px; }
html[dir="ltr"] .breadcrumb-inner { direction: ltr; }
html[dir="ltr"] .section-inner { direction: ltr; }
html[dir="ltr"] .footer-inner { direction: ltr; }
html[dir="ltr"] .footer-grid { direction: ltr; }
html[dir="ltr"] .footer-bottom { direction: ltr; }
html[dir="ltr"] .page-content { direction: ltr; }
html[dir="ltr"] .page-text ul { margin: 0 0 16px 24px; }
html[dir="ltr"] .page-text ul li { padding-right: 0; padding-left: 20px; }
html[dir="ltr"] .page-text ul li::before { right: auto; left: 0; }
html[dir="ltr"] .form-fields input, html[dir="ltr"] .form-fields textarea { direction: ltr; text-align: left; }
html[dir="ltr"] .contact-bar-inner { direction: ltr; }
html[dir="ltr"] .contact-grid { direction: ltr; }
html[dir="ltr"] .services-page-grid { direction: ltr; }
html[dir="ltr"] .blog-grid { direction: ltr; }
html[dir="ltr"] .about-content-inner { direction: ltr; }
html[dir="ltr"] .related-card span { text-align: left; }
html[dir="ltr"] .page-hero { direction: ltr; }
html[dir="ltr"] .mobile-sub a { padding-right: 0 !important; padding-left: 24px !important; }
html[dir="ltr"] .mobile-sub-2 a { padding-left: 44px; }
html[dir="ltr"] .srv-sidebar { direction: ltr; }
html[dir="ltr"] .whatsapp-float { left: auto; right: 28px; }
html[dir="ltr"] .skip-link { right: auto; left: 50%; transform: translateX(-50%); }

@media (max-width: 900px) {
  html[dir="ltr"] .hero-inner { grid-template-columns: 1fr; }
  html[dir="ltr"] .hero-text { padding: 40px 24px 0; }
}

/* ── Footer language strip ────────────────────────────────── */
.footer-lang-strip {
  border-top: 1px solid rgba(255,255,255,.15);
  padding: 12px 0 4px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 16px;
  font-size: .8rem;
}
.footer-lang-strip-label {
  opacity: .6;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .7rem;
}
.footer-lang-strip a {
  color: inherit;
  opacity: .85;
  text-decoration: none;
  font-weight: 500;
}
.footer-lang-strip a:hover {
  opacity: 1;
  text-decoration: underline;
}
