:root {
  --ink: #10201f;
  --muted: #52615f;
  --line: #d9e0dd;
  --paper: #ffffff;
  --wash: #f5f7f4;
  --teal: #123836;
  --teal-2: #1c5a55;
  --gold: #c9963f;
  --clay: #8f3f36;
  --sage: #dfe9df;
  --shadow: 0 18px 45px rgba(16, 32, 31, 0.14);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
}

img,
svg {
  display: block;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-150%);
  padding: 10px 14px;
  background: var(--paper);
  color: var(--ink);
  border-radius: 6px;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(217, 224, 221, 0.8);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-logo {
  width: 142px;
  height: auto;
  object-fit: contain;
}

.brand small {
  display: block;
  max-width: 150px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav a,
.header-call {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.nav a:hover,
.header-call:hover {
  color: var(--teal-2);
}

.header-call {
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--teal);
  font-weight: 800;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  padding: 12px;
}

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

.hero {
  position: relative;
  min-height: 86dvh;
  padding: 132px 0 64px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--paper);
}

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

.hero-bg {
  background: url("assets/legal-consultation-hero.png") center / cover no-repeat;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(10, 28, 27, 0.92) 0%, rgba(10, 28, 27, 0.78) 42%, rgba(10, 28, 27, 0.24) 100%),
    linear-gradient(0deg, rgba(10, 28, 27, 0.42), rgba(10, 28, 27, 0.1));
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: end;
  gap: 56px;
}

.hero-copy {
  max-width: 740px;
}

.eyebrow {
  margin: 0 0 14px;
  color: #f2cf8a;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--clay);
}

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

h1 {
  margin-bottom: 20px;
  max-width: 720px;
  font-size: clamp(40px, 7vw, 78px);
  line-height: 0.98;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4.5vw, 52px);
  line-height: 1.05;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.2;
}

.hero-lead {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(18px, 2vw, 22px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 22px;
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--gold);
  color: #17130b;
}

.btn-secondary {
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--paper);
  background: rgba(255, 255, 255, 0.12);
}

.btn-panel {
  width: 100%;
  background: var(--teal);
  color: var(--paper);
}

.trust-list {
  display: grid;
  gap: 8px;
  max-width: 720px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.83);
}

.trust-list li {
  position: relative;
  padding-left: 22px;
}

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

.hero-panel {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.panel-label {
  display: block;
  margin-bottom: 14px;
  color: var(--clay);
  font-weight: 850;
  font-size: 13px;
  text-transform: uppercase;
}

.hero-panel h2 {
  font-size: 28px;
}

.hero-panel p {
  color: var(--muted);
}

.signal-band {
  background: var(--teal);
  color: var(--paper);
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.signal-grid div {
  padding: 24px 20px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.signal-grid div:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.signal-grid strong {
  display: block;
  font-size: 28px;
  line-height: 1;
}

.signal-grid span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
}

.section {
  padding: 92px 0;
}

.intro-section,
.process-section {
  background: var(--wash);
}

.split,
.cost-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  align-items: start;
}

.intro-copy {
  color: var(--muted);
  font-size: 18px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

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

.section-heading.narrow {
  max-width: 640px;
}

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

.service-card {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card:hover {
  transform: translateY(-3px);
  border-color: rgba(28, 90, 85, 0.38);
  box-shadow: var(--shadow);
}

.icon-box {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 6px;
  background: var(--sage);
  color: var(--teal);
}

.icon-box svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card p {
  color: var(--muted);
}

.service-card a {
  margin-top: auto;
  color: var(--teal-2);
  font-weight: 850;
  text-decoration: none;
}

.cost-section {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbfa 100%);
}

.cost-grid > p,
.cost-grid p {
  color: var(--muted);
  font-size: 17px;
}

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

.cost-list article {
  padding: 24px;
  border-left: 4px solid var(--gold);
  border-radius: 6px;
  background: var(--paper);
  box-shadow: 0 12px 30px rgba(16, 32, 31, 0.08);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  padding: 26px;
  border-radius: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.process-list span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--paper);
  font-weight: 850;
}

.process-list p,
.contact-copy p {
  color: var(--muted);
}

.contact-section {
  background: var(--paper);
}

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

.contact-methods a,
.contact-methods address {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: inherit;
  text-decoration: none;
  font-style: normal;
}

.contact-methods strong,
.contact-methods span {
  display: block;
}

.contact-methods span {
  color: var(--muted);
}

.contact-form {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--wash);
}

.form-row,
fieldset {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
  padding: 0;
  border: 0;
}

label,
legend {
  color: var(--ink);
  font-weight: 800;
}

fieldset label {
  min-height: 36px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-weight: 650;
}

input,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 12px;
  border: 1px solid #cbd6d2;
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus,
.btn:focus-visible,
a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(201, 150, 63, 0.55);
  outline-offset: 3px;
}

.form-submit {
  width: 100%;
  border: 0;
}

.form-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.site-footer {
  padding: 42px 0 88px;
  background: var(--teal);
  color: var(--paper);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 32px;
}

.site-footer p {
  color: rgba(255, 255, 255, 0.76);
}

.mobile-cta {
  display: none;
}

@media (max-width: 980px) {
  .header-call {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    top: 76px;
    left: 16px;
    right: 16px;
    display: none;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    box-shadow: var(--shadow);
  }

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

  .nav a {
    min-height: 48px;
  }

  .hero-grid,
  .split,
  .cost-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-panel {
    max-width: 520px;
  }

  .service-grid,
  .process-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 24px, 1120px);
  }

  .brand small {
    display: none;
  }

  .brand-logo {
    width: 128px;
  }

  .hero {
    min-height: auto;
    padding: 112px 0 42px;
  }

  .hero-grid {
    gap: 24px;
  }

  .hero-actions {
    display: grid;
  }

  .hero-panel {
    padding: 20px;
  }

  .signal-grid,
  .service-grid,
  .process-list,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .signal-grid div,
  .signal-grid div:last-child {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .section {
    padding: 64px 0;
  }

  .contact-form {
    padding: 20px;
  }

  .mobile-cta {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 120;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 8px;
    background: rgba(18, 56, 54, 0.96);
    box-shadow: var(--shadow);
  }

  .mobile-cta a {
    min-height: 46px;
    display: grid;
    place-items: center;
    border-radius: 6px;
    background: var(--gold);
    color: #17130b;
    font-weight: 850;
    text-decoration: none;
  }

  .mobile-cta a:last-child {
    background: var(--paper);
    color: var(--teal);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
