:root {
  --ink: #17221f;
  --muted: #63716c;
  --paper: #fbfaf6;
  --line: #ded9ca;
  --green: #1f4b43;
  --green-2: #12352f;
  --gold: #b88a34;
  --clay: #b96b4d;
  --sky: #e9f1f0;
  --white: #ffffff;
  --shadow: 0 18px 55px rgba(21, 33, 30, .13);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 250, 246, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.nav {
  width: min(1180px, calc(100% - 32px));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--green);
  color: var(--white);
  font-family: Georgia, serif;
  font-size: 22px;
}

.brand span:last-child { color: var(--muted); font-size: 13px; font-weight: 500; display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 10px 12px;
  border-radius: 8px;
  color: #30423d;
  font-size: 15px;
}

.nav-links a:hover,
.nav-links a.active { background: var(--sky); color: var(--green-2); }

.nav-phone { font-weight: 700; color: var(--green-2); white-space: nowrap; }

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  min-height: calc(100vh - 74px);
  display: grid;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(251,250,246,.98) 0%, rgba(251,250,246,.93) 38%, rgba(251,250,246,.58) 62%, rgba(251,250,246,.12) 100%),
    url("hero-legal.svg") center right / cover no-repeat;
}

.hero-inner,
.section-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero-content { max-width: 670px; padding: 72px 0; }

.eyebrow {
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0;
}

h1, h2, h3 { line-height: 1.12; margin: 0; letter-spacing: 0; }

h1 { font-size: clamp(42px, 7vw, 82px); margin-top: 16px; }

h2 { font-size: clamp(30px, 4vw, 48px); }

h3 { font-size: 22px; }

p { margin: 0; }

.lead {
  max-width: 610px;
  margin-top: 22px;
  color: #40514c;
  font-size: 20px;
}

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

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 18px;
  border-radius: 8px;
  border: 1px solid var(--green);
  background: var(--green);
  color: var(--white);
  font-weight: 700;
}

.button.secondary { background: rgba(255,255,255,.82); color: var(--green-2); }

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 770px;
  margin-top: 52px;
}

.stat {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.8);
}

.stat strong { display: block; font-size: 28px; color: var(--green-2); }
.stat span { color: var(--muted); font-size: 14px; }

.band { padding: 86px 0; }
.band.alt { background: var(--white); }
.band.tint { background: #eef3ef; }

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: end;
  margin-bottom: 34px;
}

.section-head p { max-width: 570px; color: var(--muted); }

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

.card {
  min-height: 168px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(21, 33, 30, .06);
}

.card .icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--sky);
  color: var(--green-2);
  font-weight: 700;
  margin-bottom: 18px;
}

.card p, .price-row p, .faq-answer, .contact-note, .about-text p, li { color: var(--muted); }

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

.step {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.step-number {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--green);
  color: var(--white);
  font-size: 20px;
  font-weight: 800;
}

.step p { margin-top: 10px; color: var(--muted); }
.step strong { display: block; margin-top: 14px; color: var(--clay); }

.office-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
  padding: 18px 22px;
  border-radius: 8px;
  background: var(--green-2);
  color: var(--white);
}

.office-strip span { color: rgba(255,255,255,.72); }

.office-strip a {
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--gold);
  color: var(--white);
  font-weight: 700;
  white-space: nowrap;
}

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

.service-chip {
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: #31433e;
  font-weight: 600;
}

.price-table {
  display: grid;
  gap: 12px;
}

.price-row {
  display: grid;
  grid-template-columns: 1.2fr 1.8fr auto;
  gap: 20px;
  align-items: center;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.price { color: var(--green-2); font-size: 22px; font-weight: 800; white-space: nowrap; }

.about-layout,
.contact-layout {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 34px;
  align-items: start;
}

.quote {
  padding: 32px;
  border-radius: 8px;
  background: var(--green-2);
  color: var(--white);
  box-shadow: var(--shadow);
}

.quote p { color: rgba(255,255,255,.82); margin-top: 14px; }

.values { display: grid; gap: 12px; margin-top: 22px; }
.values li { padding-left: 6px; }

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

.team-member {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  align-items: stretch;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(21, 33, 30, .06);
}

.team-member img {
  width: 100%;
  height: 285px;
  object-fit: cover;
  border-radius: 8px;
  background: var(--sky);
}

.team-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.team-info span {
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.team-info h3 { margin-top: 8px; }
.team-info p { margin-top: 12px; color: var(--muted); }
.team-info strong { color: var(--green-2); }

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

.faq-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  min-height: 66px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.faq-question::after { content: "+"; color: var(--gold); font-size: 24px; }
.faq-item.open .faq-question::after { content: "-"; }

.faq-answer { display: none; padding: 0 20px 20px; }
.faq-item.open .faq-answer { display: block; }

.contact-box {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.contact-lines { display: grid; gap: 16px; margin: 22px 0; }
.contact-lines strong { display: block; color: var(--green-2); }

form { display: grid; gap: 12px; }

input, textarea, select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

textarea { min-height: 120px; resize: vertical; }

.map {
  min-height: 330px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(31,75,67,.9), rgba(185,107,77,.68)),
    repeating-linear-gradient(45deg, transparent 0 38px, rgba(255,255,255,.18) 38px 40px);
  color: var(--white);
  text-align: center;
  padding: 24px;
}

.map-embed {
  height: 430px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(21, 33, 30, .06);
}

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

.footer {
  padding: 34px 0;
  background: #111b18;
  color: rgba(255,255,255,.74);
}

.footer .section-inner {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
}

.footer strong { color: var(--white); }

@media (max-width: 980px) {
  .nav { flex-wrap: wrap; padding: 12px 0; }
  .menu-toggle { display: block; }
  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding: 6px 0 12px;
  }
  .nav.open .nav-links { display: flex; }
  .nav-phone { margin-left: auto; }
  .grid, .stats { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .service-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .price-row, .about-layout, .contact-layout { grid-template-columns: 1fr; }
  .section-head { display: block; }
  .section-head p { margin-top: 14px; }
  .hero { background-position: 62% center; }
  .office-strip { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 620px) {
  .nav-phone { display: none; }
  .hero { min-height: auto; }
  .hero-content { padding: 54px 0; }
  .lead { font-size: 17px; }
  .service-list { grid-template-columns: 1fr; }
  .band { padding: 58px 0; }
  .button { width: 100%; }
  .step { grid-template-columns: 1fr; }
  .team-member { grid-template-columns: 1fr; }
  .team-member img { height: 360px; }
  .office-strip a { width: 100%; text-align: center; }
  .map-embed { height: 340px; }
}
