:root {
  --ink: #172033;
  --muted: #5f6878;
  --paper: #f7f4ef;
  --surface: #ffffff;
  --line: #ded8cc;
  --gold: #b18845;
  --teal: #1f6b67;
  --maroon: #733338;
  --shadow: 0 24px 70px rgba(23, 32, 51, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.65;
}

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

.site-header {
  align-items: center;
  background: rgba(247, 244, 239, 0.92);
  border-bottom: 1px solid rgba(222, 216, 204, 0.8);
  display: flex;
  height: 74px;
  justify-content: space-between;
  left: 0;
  padding: 0 5vw;
  position: fixed;
  right: 0;
  top: 0;
  transition: box-shadow 180ms ease, background 180ms ease;
  z-index: 50;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 34px rgba(23, 32, 51, 0.08);
}

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

.brand-mark {
  align-items: center;
  background: var(--ink);
  border-radius: 6px;
  color: #fff;
  display: inline-flex;
  font-weight: 800;
  height: 42px;
  justify-content: center;
  letter-spacing: 0;
  width: 42px;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  margin-top: 4px;
}

.site-nav {
  align-items: center;
  display: flex;
  gap: 28px;
  font-size: 15px;
  font-weight: 700;
}

.site-nav a {
  color: var(--muted);
}

.site-nav a:hover {
  color: var(--ink);
}

.site-nav .language-link {
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  padding: 8px 12px;
}

.site-nav .language-link:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.nav-toggle {
  background: transparent;
  border: 0;
  display: none;
  height: 42px;
  padding: 9px;
  width: 42px;
}

.nav-toggle span {
  background: var(--ink);
  display: block;
  height: 2px;
  margin: 5px 0;
  width: 24px;
}

.hero {
  min-height: 720px;
  overflow: hidden;
  padding: 170px 5vw 80px;
  position: relative;
}

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

.hero-media {
  background: url("/images/hero-law-office.png") center right / cover no-repeat;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(247, 244, 239, 0.98) 0%, rgba(247, 244, 239, 0.88) 38%, rgba(247, 244, 239, 0.38) 70%, rgba(247, 244, 239, 0.08) 100%),
    linear-gradient(0deg, rgba(23, 32, 51, 0.24), rgba(23, 32, 51, 0));
}

.hero-content {
  max-width: 690px;
  position: relative;
  z-index: 1;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.08;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.16;
  margin-bottom: 0;
}

h3 {
  font-size: 22px;
  line-height: 1.32;
}

.hero-copy {
  color: #3f4655;
  font-size: 19px;
  max-width: 620px;
}

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

.button {
  align-items: center;
  border: 1px solid var(--ink);
  border-radius: 6px;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  padding: 11px 22px;
}

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

.button.secondary {
  background: rgba(255, 255, 255, 0.7);
}

.trust-strip {
  background: var(--ink);
  color: #fff;
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, 1fr);
}

.trust-strip div {
  background: rgba(255, 255, 255, 0.06);
  padding: 24px 5vw;
}

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

.trust-strip strong {
  color: #f1d49f;
}

.trust-strip span {
  color: rgba(255, 255, 255, 0.76);
}

.section {
  padding: 96px 5vw;
}

.section-heading {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
  margin-bottom: 42px;
}

.intro {
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
}

.intro .section-heading {
  display: block;
  margin-bottom: 0;
}

.intro p:last-child {
  color: var(--muted);
  font-size: 20px;
}

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

.service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 300px;
  padding: 28px;
}

.service-card span {
  color: var(--gold);
  display: inline-block;
  font-weight: 900;
  margin-bottom: 36px;
}

.service-card p,
.timeline p,
.article-list span,
.contact p {
  color: var(--muted);
}

.process {
  background: #fff;
}

.timeline {
  border-left: 2px solid var(--gold);
  display: grid;
  gap: 0;
  margin-left: 10px;
}

.timeline div {
  padding: 0 0 34px 34px;
  position: relative;
}

.timeline div::before {
  background: var(--gold);
  border: 6px solid #fff;
  border-radius: 999px;
  content: "";
  height: 18px;
  left: -10px;
  position: absolute;
  top: 0;
  width: 18px;
}

.timeline strong {
  display: block;
  font-size: 22px;
  margin-bottom: 6px;
}

.article-list {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.article-list article {
  border-top: 3px solid var(--teal);
  padding: 22px 0 0;
}

.article-list p {
  color: var(--maroon);
  font-weight: 800;
  margin-bottom: 8px;
}

.article-list span {
  display: block;
}

.contact {
  align-items: center;
  background: var(--teal);
  color: #fff;
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
  padding: 78px 5vw;
}

.contact .eyebrow,
.contact p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-panel {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 12px;
  padding: 28px;
}

.contact-panel a,
.contact-panel span {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  padding: 14px 16px;
}

.site-footer {
  align-items: center;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.76);
  display: flex;
  justify-content: space-between;
  padding: 26px 5vw;
}

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

@media (max-width: 980px) {
  .service-grid,
  .article-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 720px) {
  .site-header {
    height: 68px;
    padding: 0 20px;
  }

  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    background: #fff;
    border-bottom: 1px solid var(--line);
    display: none;
    flex-direction: column;
    gap: 0;
    left: 0;
    padding: 8px 20px 18px;
    position: absolute;
    right: 0;
    top: 68px;
  }

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

  .site-nav a {
    padding: 12px 0;
    width: 100%;
  }

  .hero {
    min-height: 650px;
    padding: 132px 20px 58px;
  }

  .hero-media {
    background-position: 62% center;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(247, 244, 239, 0.98), rgba(247, 244, 239, 0.78));
  }

  h1 {
    font-size: 42px;
  }

  .hero-copy {
    font-size: 17px;
  }

  .trust-strip,
  .service-grid,
  .article-list {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 68px 20px;
  }

  .service-card {
    min-height: auto;
  }

  .contact {
    padding: 64px 20px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 24px 20px;
  }
}

.profile-band {
  align-items: start;
  background: var(--ink);
  color: #fff;
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
  padding: 72px 5vw;
}

.profile-band .eyebrow {
  color: #f1d49f;
}

.profile-facts {
  display: grid;
  gap: 12px;
}

.profile-facts span {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.82);
  padding: 14px 16px;
}

.profile-facts strong {
  color: #fff;
}

.service-grid.wide {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.split-section {
  background: #fff;
  display: grid;
  gap: 56px;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
}

.split-section p {
  color: var(--muted);
  font-size: 19px;
}

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

.check-list li {
  border-left: 3px solid var(--gold);
  color: var(--ink);
  font-weight: 700;
  padding: 8px 0 8px 16px;
}

.feature-grid {
  background: var(--paper);
}

@media (max-width: 980px) {
  .profile-band,
  .split-section {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  .profile-band {
    padding: 62px 20px;
  }

  .service-grid.wide {
    grid-template-columns: 1fr;
  }
}

.lawyer-profile {
  align-items: center;
  display: flex;
  gap: 24px;
}

.lawyer-profile img {
  aspect-ratio: 1;
  border: 3px solid rgba(241, 212, 159, 0.78);
  border-radius: 999px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
  flex: 0 0 auto;
  height: 150px;
  object-fit: cover;
  width: 150px;
}

@media (max-width: 720px) {
  .lawyer-profile {
    align-items: flex-start;
    flex-direction: column;
  }

  .lawyer-profile img {
    height: 132px;
    width: 132px;
  }
}

.map-embed {
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  overflow: hidden;
  width: 100%;
}

.map-embed iframe {
  border: 0;
  display: block;
  height: 100%;
  width: 100%;
}

.page-hero {
  background: var(--ink);
  color: #fff;
  padding: 150px 5vw 72px;
}

.page-hero h1 {
  max-width: 860px;
}

.page-hero p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.76);
  font-size: 20px;
  max-width: 760px;
}

.contact-page-layout {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
}

.contact-detail-panel,
.map-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
}

.contact-methods {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.contact-methods a,
.office-address {
  background: var(--paper);
  border-radius: 6px;
  color: var(--ink);
  display: block;
  font-weight: 700;
  margin: 0;
  padding: 14px 16px;
}

.office-address {
  color: var(--muted);
  margin-top: 12px;
}

.large-map {
  aspect-ratio: 16 / 10;
  margin-top: 22px;
}

.contact-panel.compact {
  align-self: center;
}

@media (max-width: 980px) {
  .contact-page-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .page-hero {
    padding: 124px 20px 56px;
  }

  .contact-detail-panel,
  .map-card {
    padding: 22px;
  }
}
