:root {
  --navy: #06162f;
  --navy-2: #0a2345;
  --ink: #111827;
  --muted: #5f6878;
  --gold: #d7aa45;
  --gold-2: #f2d27a;
  --paper: #f7f5ef;
  --white: #ffffff;
  --line: rgba(6, 22, 47, 0.14);
  --shadow: 0 24px 70px rgba(6, 22, 47, 0.24);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--gold-2);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 84px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(6, 22, 47, 0.96);
  color: var(--white);
  border-bottom: 1px solid rgba(242, 210, 122, 0.24);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
}

.brand img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  object-fit: cover;
}

.brand span {
  max-width: 210px;
  line-height: 1.1;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  padding: 10px 14px;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--navy);
  background: var(--gold-2);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 6px;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
}

.hero {
  position: relative;
  min-height: calc(100vh - 84px);
  display: grid;
  align-items: center;
  padding: clamp(76px, 10vw, 130px) clamp(20px, 6vw, 88px);
  overflow: hidden;
  color: var(--white);
}

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

.hero-media {
  background-image: image-set(
    url("../assets/hero-legal-office-1280.webp") type("image/webp"),
    url("../assets/hero-legal-office.png") type("image/png")
  );
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(2, 10, 24, 0.96) 0%, rgba(6, 22, 47, 0.82) 42%, rgba(6, 22, 47, 0.3) 100%),
    linear-gradient(0deg, rgba(2, 10, 24, 0.28), rgba(2, 10, 24, 0.28));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold-2);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  overflow-wrap: normal;
  word-break: normal;
}

p {
  overflow-wrap: break-word;
}

h1 {
  font-size: 5.5rem;
  max-width: 11ch;
}

h2 {
  font-size: 3.2rem;
}

h3 {
  font-size: 1.25rem;
}

.lead {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.22rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  color: var(--navy);
  background: var(--gold-2);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
}

.button.secondary.dark {
  color: var(--navy);
  border-color: var(--line);
  background: var(--white);
}

.button.light {
  color: var(--navy);
  background: var(--white);
}

.trust-strip,
.credentials-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--gold);
}

.trust-strip div,
.credentials-band div {
  min-height: 116px;
  padding: 28px clamp(20px, 4vw, 48px);
  background: var(--navy);
  color: var(--white);
}

.trust-strip strong,
.credentials-band strong {
  display: block;
  color: var(--gold-2);
  font-size: 0.82rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.trust-strip span,
.credentials-band span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.86);
}

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

.services-preview,
.process-band,
.credentials-band,
.cta-band,
.contact-grid,
.disclaimer {
  content-visibility: auto;
  contain-intrinsic-size: 700px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  align-items: center;
  gap: clamp(32px, 6vw, 84px);
}

.split.reverse {
  grid-template-columns: minmax(320px, 1.1fr) minmax(0, 0.9fr);
}

.section-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.06rem;
}

.feature-image {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: var(--navy);
}

.feature-image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.text-link {
  display: inline-flex;
  margin-top: 16px;
  color: var(--navy);
  font-weight: 900;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
}

.services-preview {
  background: var(--white);
}

.intro-panel {
  background: var(--white);
}

.intro-grid,
.story-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 4vw, 56px);
}

.intro-grid p,
.story-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.focus-slider {
  background: var(--paper);
}

.slider-shell {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: var(--navy);
  box-shadow: var(--shadow);
}

.slider-track {
  min-height: 330px;
}

.slide {
  display: none;
  min-height: 330px;
  padding: clamp(30px, 6vw, 72px);
  color: var(--white);
  background:
    linear-gradient(110deg, rgba(6, 22, 47, 0.98), rgba(6, 22, 47, 0.8)),
    image-set(
      url("../assets/services-legal-documents-1280.webp") type("image/webp"),
      url("../assets/services-legal-documents.png") type("image/png")
    ) center / cover;
}

.slide.is-active {
  display: block;
}

.slide span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--gold-2);
  font-weight: 900;
  text-transform: uppercase;
}

.slide h3 {
  max-width: 680px;
  font-size: 2.1rem;
}

.slide p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.84);
}

.slide .text-link {
  color: var(--white);
}

.slider-controls {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: flex;
  gap: 10px;
}

.slider-controls button {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  color: var(--navy);
  background: var(--gold-2);
  font-size: 1.8rem;
  font-weight: 900;
  cursor: pointer;
}

.section-heading {
  width: min(870px, 100%);
  margin-bottom: 34px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.service-card,
.detail-card,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.service-card {
  min-height: 260px;
  padding: 28px;
}

.service-card span,
.detail-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 28px;
  border-radius: 50%;
  color: var(--navy);
  background: var(--gold-2);
  font-weight: 900;
}

.service-card p,
.detail-card p,
.contact-card p,
.process-grid p,
.disclaimer p,
.reason-grid p,
.depth-grid p,
.visit-grid p,
.detail-layout p {
  color: var(--muted);
}

.why-section,
.about-story,
.values-section,
.visit-section {
  background: var(--white);
}

.reason-grid,
.depth-grid,
.visit-grid,
.detail-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.reason-grid article,
.depth-grid article,
.visit-grid article,
.detail-layout > div {
  min-height: 230px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.why-section .reason-grid article,
.values-section .reason-grid article,
.visit-section .visit-grid article {
  background: var(--paper);
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
}

.service-depth,
.contact-details,
.map-section {
  background: var(--paper);
}

.map-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(320px, 1.3fr);
  gap: 18px;
  align-items: stretch;
}

.map-copy {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.map-copy p {
  color: var(--muted);
}

.map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.map-embed {
  overflow: hidden;
  min-height: 420px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
}

.faq-section {
  background: var(--white);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.faq-list summary {
  cursor: pointer;
  padding: 22px 24px;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 900;
}

.faq-list details[open] summary {
  border-bottom: 1px solid var(--line);
}

.faq-list p {
  margin: 0;
  padding: 20px 24px 24px;
  color: var(--muted);
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(50px, 7vw, 86px) clamp(20px, 6vw, 88px);
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: var(--white);
}

.cta-band h2 {
  max-width: 850px;
}

.page-hero,
.about-hero,
.contact-hero {
  padding: clamp(64px, 9vw, 112px) clamp(20px, 6vw, 88px);
  background: var(--navy);
  color: var(--white);
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.8fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
}

.page-hero h1,
.about-hero h1,
.contact-hero h1 {
  max-width: 14ch;
  font-size: 4.35rem;
}

.page-hero img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.service-list {
  display: grid;
  gap: 18px;
  background: var(--paper);
}

.detail-card {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 24px;
  padding: clamp(24px, 4vw, 42px);
}

.detail-number {
  margin: 0;
}

.process-band {
  padding: clamp(64px, 8vw, 100px) clamp(20px, 6vw, 88px);
  color: var(--white);
  background: var(--navy);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.process-grid div {
  padding: 28px;
  border: 1px solid rgba(242, 210, 122, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.process-grid strong {
  color: var(--gold-2);
}

.process-grid p {
  color: rgba(255, 255, 255, 0.8);
}

.about-hero {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 70px);
}

.about-mark {
  padding: 14px;
  border: 1px solid rgba(242, 210, 122, 0.42);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.about-mark img {
  border-radius: 50%;
}

.contact-hero {
  min-height: 420px;
  display: grid;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(6, 22, 47, 0.95), rgba(6, 22, 47, 0.74)),
    image-set(
      url("../assets/hero-legal-office-1280.webp") type("image/webp"),
      url("../assets/hero-legal-office.png") type("image/png")
    ) center / cover;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: clamp(54px, 7vw, 92px) clamp(20px, 6vw, 88px);
}

.contact-card {
  min-height: 240px;
  padding: 28px;
}

.contact-card a:not(.button) {
  color: var(--navy);
  font-weight: 800;
}

.disclaimer {
  padding: 28px clamp(20px, 6vw, 88px) 70px;
}

.disclaimer p {
  max-width: 960px;
  margin: 0;
  padding: 18px 22px;
  border-left: 5px solid var(--gold);
  background: var(--white);
}

.site-footer {
  padding: 28px clamp(20px, 6vw, 88px);
  color: rgba(255, 255, 255, 0.76);
  background: #020a18;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.8fr 1.2fr;
  gap: 28px;
}

.footer-grid strong {
  display: block;
  margin-bottom: 10px;
  color: var(--gold-2);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration-color: rgba(242, 210, 122, 0.65);
  text-underline-offset: 4px;
}

.not-found {
  min-height: 100vh;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 20px;
  padding: clamp(32px, 8vw, 96px);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(6, 22, 47, 0.96), rgba(6, 22, 47, 0.78)),
    image-set(
      url("../assets/hero-legal-office-1280.webp") type("image/webp"),
      url("../assets/hero-legal-office.png") type("image/png")
    ) center / cover;
}

.not-found img {
  width: 96px;
  height: 96px;
  border: 2px solid var(--gold);
  border-radius: 50%;
}

.not-found h1 {
  max-width: 100%;
}

.not-found p {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.82);
}

@media (max-width: 1100px) {
  h1 {
    font-size: 4.55rem;
  }

  h2,
  .page-hero h1,
  .about-hero h1,
  .contact-hero h1 {
    font-size: 3.25rem;
  }

  .card-grid,
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .site-header {
    min-height: 72px;
  }

  .brand img {
    width: 46px;
    height: 46px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 72px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid rgba(242, 210, 122, 0.24);
    border-radius: 8px;
    background: var(--navy);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 13px 14px;
  }

  .hero {
    min-height: 720px;
  }

  h1,
  .page-hero h1,
  .about-hero h1,
  .contact-hero h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.35rem;
  }

  .lead {
    font-size: 1.05rem;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(2, 10, 24, 0.96) 0%, rgba(6, 22, 47, 0.82) 58%, rgba(6, 22, 47, 0.34) 100%),
      linear-gradient(0deg, rgba(2, 10, 24, 0.22), rgba(2, 10, 24, 0.22));
  }

  .trust-strip,
  .credentials-band,
  .split,
  .split.reverse,
  .page-hero,
  .about-hero,
  .process-grid,
  .intro-grid,
  .story-grid,
  .reason-grid,
  .depth-grid,
  .visit-grid,
  .detail-layout,
  .map-layout {
    grid-template-columns: 1fr;
  }

  .about-mark {
    width: min(220px, 75vw);
  }

  .cta-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  .brand span {
    max-width: 150px;
    font-size: 0.9rem;
  }

  h1 {
    font-size: 2.7rem;
    max-width: 100%;
  }

  h2,
  .page-hero h1,
  .about-hero h1,
  .contact-hero h1 {
    font-size: 2.05rem;
  }

  .lead {
    font-size: 1rem;
  }

  .card-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .detail-card {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .hero {
    min-height: 760px;
    padding-top: 82px;
  }

  .slider-track,
  .slide {
    min-height: 430px;
  }

  .slider-controls {
    right: 14px;
    bottom: 14px;
  }
}
