:root {
  --ink: #111827;
  --muted: #5d6678;
  --paper: #f7f4ef;
  --panel: #ffffff;
  --line: rgba(17, 24, 39, 0.12);
  --navy: #172033;
  --wine: #8b1e2d;
  --gold: #c39852;
  --sage: #71806f;
  --shadow: 0 20px 60px rgba(17, 24, 39, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 56px);
  color: #fff;
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.scrolled,
.site-header.nav-visible {
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 250px;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 14px;
  letter-spacing: 0;
}

.brand small {
  color: currentColor;
  font-size: 12px;
  opacity: 0.78;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
}

.main-nav a {
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  padding: 9px 13px;
  opacity: 0.96;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.main-nav a:hover {
  background: rgba(255, 255, 255, 0.14);
  opacity: 1;
}

.site-header.scrolled .main-nav a,
.site-header.nav-visible .main-nav a {
  border-color: rgba(17, 24, 39, 0.14);
  background: rgba(17, 24, 39, 0.03);
}

.site-header.scrolled .main-nav a:hover,
.site-header.nav-visible .main-nav a:hover {
  background: var(--navy);
  color: #fff;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.language-switch {
  display: inline-flex;
  overflow: hidden;
  border: 1px solid currentColor;
  border-radius: 999px;
}

.language-switch button,
.header-call,
.menu-toggle {
  display: inline-grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.language-switch button {
  min-width: 38px;
  height: 34px;
  font-weight: 800;
}

.language-switch button.active {
  background: #fff;
  color: var(--navy);
}

.site-header.scrolled .language-switch button.active,
.site-header.nav-visible .language-switch button.active {
  background: var(--navy);
  color: #fff;
}

.header-call,
.menu-toggle {
  width: 40px;
  height: 40px;
  border: 1px solid currentColor;
  border-radius: 999px;
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  min-height: 92vh;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
  gap: clamp(24px, 5vw, 64px);
  padding: 150px clamp(20px, 6vw, 88px) 64px;
  color: #fff;
  overflow: hidden;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background:
    linear-gradient(90deg, rgba(23, 32, 51, 0.9), rgba(23, 32, 51, 0.52)),
    url("https://commons.wikimedia.org/wiki/Special:Redirect/file/Legal%20Gavel%20%26%20Closed%20Law%20Book%20%2827571522123%29.jpg?width=2000")
      center / cover;
  transform: scale(1.02);
}

.hero-overlay {
  background: linear-gradient(0deg, rgba(17, 24, 39, 0.82), rgba(17, 24, 39, 0.08) 55%);
}

.hero-content,
.hero-card {
  position: relative;
  z-index: 1;
}

.eyebrow,
.section-kicker,
.visual-band span {
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 840px;
  margin: 14px 0 18px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(42px, 7vw, 86px);
  line-height: 0.98;
}

.hero-copy {
  max-width: 640px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(17px, 2vw, 21px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 4px;
  padding: 13px 18px;
  font-weight: 800;
}

.button.primary {
  background: var(--wine);
  color: #fff;
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: #fff;
}

.hero-card {
  overflow: hidden;
  align-self: end;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.hero-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
}

.hero-card div {
  padding: 22px;
}

.hero-card span {
  color: var(--wine);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-card h2 {
  margin: 7px 0 8px;
  font-size: 22px;
  line-height: 1.18;
}

.hero-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.intro-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.intro-strip div {
  padding: 28px clamp(20px, 5vw, 64px);
  border-right: 1px solid var(--line);
}

.intro-strip div:last-child {
  border-right: 0;
}

.intro-strip strong,
.intro-strip span {
  display: block;
}

.intro-strip strong {
  color: var(--wine);
  font-family: "Playfair Display", serif;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1;
}

.intro-strip span {
  margin-top: 8px;
  color: var(--muted);
  font-weight: 700;
}

.section {
  padding: clamp(72px, 9vw, 128px) clamp(20px, 6vw, 88px);
}

.split {
  display: grid;
  grid-template-columns: 260px minmax(0, 860px);
  gap: clamp(24px, 5vw, 70px);
  background: var(--paper);
}

.section-copy h2,
.section-heading h2,
.visual-band h2,
.credential-panel h2,
.insight-panel h2,
.contact-content h2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(32px, 4.4vw, 58px);
  line-height: 1.08;
}

.section-copy p,
.section-heading p,
.insight-panel p,
.contact-content p {
  color: var(--muted);
  font-size: 18px;
}

.about-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 34px;
  background: var(--line);
  border: 1px solid var(--line);
}

.about-facts article {
  min-height: 150px;
  padding: 24px;
  background: #fff;
}

.about-facts span {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--wine);
  font-family: "Playfair Display", serif;
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
}

.about-facts p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 700;
}

.services {
  background: #fff;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.65fr);
  align-items: end;
  gap: 36px;
  margin-bottom: 42px;
}

.service-grid,
.practice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.service-card,
.practice-grid article {
  min-height: 250px;
  padding: 32px;
  background: #fff;
}

.service-grid.compact .service-card {
  min-height: 230px;
}

.service-card svg,
.practice-grid svg {
  width: 30px;
  height: 30px;
  color: var(--wine);
}

.service-card h3,
.practice-grid h3 {
  margin: 28px 0 10px;
  font-size: 21px;
  line-height: 1.25;
}

.service-card p,
.practice-grid p {
  margin: 0;
  color: var(--muted);
}

.practice {
  background: var(--paper);
}

.practice-grid article {
  min-height: 230px;
}

.legal-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.legal-gallery figure {
  position: relative;
  min-height: 320px;
  margin: 0;
  overflow: hidden;
  background: var(--navy);
}

.legal-gallery img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.04);
  transition: transform 0.5s ease;
}

.legal-gallery figure:hover img {
  transform: scale(1.04);
}

.visual-band {
  position: relative;
  min-height: 440px;
  display: flex;
  align-items: flex-end;
  padding: clamp(48px, 7vw, 86px);
  color: #fff;
  background:
    linear-gradient(90deg, rgba(23, 32, 51, 0.9), rgba(23, 32, 51, 0.36)),
    url("https://commons.wikimedia.org/wiki/Special:Redirect/file/The%20scales%20of%20justice%20%284984060658%29.jpg?width=1800")
      center / cover;
}

.visual-band div {
  max-width: 760px;
}

.approach {
  background: var(--paper);
}

.blog {
  background: #fff;
}

.blog-placeholder {
  display: grid;
  max-width: 640px;
  min-height: 180px;
  place-items: center;
  margin: 0 auto;
  padding: 42px;
  border: 1px dashed rgba(17, 24, 39, 0.28);
  text-align: center;
}

.blog-placeholder svg {
  width: 38px;
  height: 38px;
  color: var(--wine);
}

.blog-placeholder h3 {
  margin: 18px 0 8px;
  font-size: 24px;
}

.blog-placeholder p {
  margin: 0;
  color: var(--muted);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 42px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.timeline-item {
  min-height: 260px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.timeline-item span {
  color: var(--gold);
  font-weight: 900;
}

.timeline-item h3 {
  margin: 32px 0 10px;
  font-size: 21px;
}

.timeline-item p {
  margin: 0;
  color: var(--muted);
}

.credentials {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1px;
  background: var(--line);
  padding-top: 0;
  padding-bottom: 0;
}

.credential-panel,
.insight-panel {
  min-height: 430px;
  padding: clamp(42px, 6vw, 72px);
  background: #fff;
}

.credential-panel ul {
  display: grid;
  gap: 16px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.credential-panel li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
  font-weight: 700;
}

.credential-panel li::before {
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px;
  height: 10px;
  background: var(--wine);
  content: "";
}

.insight-panel {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.78)),
    repeating-linear-gradient(90deg, rgba(139, 30, 45, 0.08) 0 1px, transparent 1px 42px),
    linear-gradient(135deg, rgba(195, 152, 82, 0.2), rgba(113, 128, 111, 0.22));
}

.contact-section {
  padding: clamp(72px, 8vw, 118px) clamp(20px, 6vw, 88px);
  background: var(--navy);
  color: #fff;
}

.contact-content {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(260px, 340px) minmax(320px, 0.7fr);
  gap: clamp(32px, 7vw, 96px);
  align-items: start;
}

.contact-content p {
  color: rgba(255, 255, 255, 0.72);
}

.contact-list {
  display: grid;
  gap: 14px;
}

.contact-profile {
  overflow: hidden;
  max-width: 300px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.24);
}

.contact-profile img {
  width: 100%;
  aspect-ratio: 1 / 1.16;
  object-fit: cover;
  object-position: top center;
}

.contact-profile div {
  padding: 20px;
}

.contact-profile span {
  color: var(--wine);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-profile h3 {
  margin: 8px 0;
  font-size: 22px;
  line-height: 1.15;
}

.contact-profile p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.contact-list a {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  min-height: 64px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
}

.contact-list svg {
  color: var(--gold);
}

.contact-list span {
  overflow-wrap: anywhere;
  font-weight: 700;
}

.map-panel {
  grid-column: 1 / -1;
  overflow: hidden;
  min-height: 360px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
}

.map-panel iframe {
  display: block;
  width: 100%;
  height: 360px;
  border: 0;
  filter: saturate(0.86) contrast(1.02);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(20px, 6vw, 88px);
  background: #0d1320;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.site-footer a {
  color: #fff;
  font-weight: 800;
}

svg {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}

[dir="rtl"] body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

[dir="rtl"] .brand,
[dir="rtl"] .header-actions,
[dir="rtl"] .hero-actions,
[dir="rtl"] .contact-list a {
  direction: rtl;
}

[dir="rtl"] .brand-copy,
[dir="rtl"] .hero-content,
[dir="rtl"] .section-copy,
[dir="rtl"] .section-heading,
[dir="rtl"] .timeline-item,
[dir="rtl"] .service-card,
[dir="rtl"] .practice-grid article,
[dir="rtl"] .contact-content,
[dir="rtl"] .contact-profile,
[dir="rtl"] .site-footer {
  text-align: right;
}

[dir="rtl"] .section-heading {
  direction: rtl;
}

@media (max-width: 1180px) {
  .main-nav {
    position: fixed;
    inset: 76px 16px auto;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 10px;
    background: #fff;
    color: var(--ink);
    box-shadow: var(--shadow);
  }

  .main-nav.open {
    display: grid;
  }

  .main-nav a {
    padding: 16px;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
  }

  .main-nav a:last-child {
    border-bottom: 0;
  }

  .menu-toggle {
    display: inline-grid;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 126px;
  }

  .hero-card {
    max-width: 420px;
  }

  .section-heading,
  .split,
  .contact-content {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .practice-grid,
  .legal-gallery,
  .about-facts,
  .timeline,
  .credentials {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-profile {
    max-width: 360px;
  }
}

@media (max-width: 680px) {
  .site-header {
    padding: 14px 16px;
  }

  .brand {
    min-width: 0;
  }

  .brand-copy {
    display: block;
  }

  .brand strong {
    max-width: 190px;
    font-size: 13px;
    line-height: 1.2;
  }

  .brand small {
    font-size: 11px;
  }

  .header-call {
    display: none;
  }

  .language-switch button {
    min-width: 38px;
  }

  .hero {
    padding: 112px 18px 40px;
  }

  .hero h1 {
    font-size: clamp(38px, 13vw, 54px);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .intro-strip,
  .service-grid,
  .practice-grid,
  .legal-gallery,
  .about-facts,
  .timeline,
  .credentials {
    grid-template-columns: 1fr;
  }

  .intro-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .section {
    padding: 64px 18px;
  }

  .service-card,
  .timeline-item,
  .credential-panel,
  .insight-panel {
    min-height: auto;
    padding: 26px;
  }

  .visual-band {
    min-height: 360px;
    padding: 34px 20px;
  }

  .contact-section {
    padding: 64px 18px;
  }

  .site-footer {
    flex-direction: column;
    padding: 22px 18px;
  }
}
