:root {
  --navy: #0b1f33;
  --navy-soft: #122c47;
  --ivory: #f7f1e3;
  --warm-white: #fffdf8;
  --gold: #b8924b;
  --gold-soft: #dcc18a;
  --stone: #7c8186;
  --ink: #18202a;
  --line: rgba(11, 31, 51, 0.14);
  --shadow: 0 22px 60px rgba(11, 31, 51, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(184, 146, 75, 0.08) 25%, transparent 25%) 0 0 / 28px 28px,
    var(--warm-white);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

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

img,
svg {
  max-width: 100%;
}

.section-shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 253, 248, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.navbar {
  width: min(1180px, calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  font-weight: 800;
  font-size: 1.05rem;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  background: var(--navy);
  color: var(--ivory);
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 0.82rem;
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.94rem;
}

.nav-panel a {
  transition: color 0.2s ease;
}

.nav-panel a:hover {
  color: var(--gold);
}

.nav-cta {
  padding: 11px 18px;
  border: 1px solid var(--gold);
  background: var(--navy);
  color: var(--ivory) !important;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--warm-white);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--navy);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero {
  min-height: calc(100vh - 76px);
  padding: 86px 0 72px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.75fr);
  align-items: center;
  gap: 54px;
}

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

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

h1,
h2 {
  color: var(--navy);
  font-family: "Libre Baskerville", Georgia, serif;
  line-height: 1.15;
}

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(2.4rem, 6vw, 5.4rem);
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(1.8rem, 3.2vw, 3rem);
}

h3 {
  color: var(--navy);
  line-height: 1.25;
}

.hero-copy {
  max-width: 620px;
  color: #4c5965;
  font-size: 1.16rem;
}

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

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(11, 31, 51, 0.14);
}

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

.btn-secondary {
  border-color: var(--gold);
  background: transparent;
  color: var(--navy);
}

.btn-light {
  background: var(--ivory);
  color: var(--navy);
}

.hero-card {
  position: relative;
  padding: 34px;
  overflow: hidden;
  border: 1px solid rgba(184, 146, 75, 0.42);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(11, 31, 51, 0.98), rgba(18, 44, 71, 0.94)),
    var(--navy);
  color: var(--ivory);
  box-shadow: var(--shadow);
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(220, 193, 138, 0.2);
  pointer-events: none;
}

.hero-card-top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 7px 11px;
  border: 1px solid rgba(184, 146, 75, 0.55);
  background: rgba(184, 146, 75, 0.12);
  color: var(--gold-soft);
  font-size: 0.78rem;
  font-weight: 800;
}

.card-icon {
  color: var(--gold-soft);
  font-size: 2.1rem;
}

.hero-card h2 {
  position: relative;
  margin: 32px 0 8px;
  color: var(--ivory);
}

.hero-card p,
.hero-card span {
  position: relative;
  color: rgba(247, 241, 227, 0.82);
}

.schedule,
.case-note {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(247, 241, 227, 0.16);
}

.schedule strong,
.case-note strong {
  color: var(--gold-soft);
  text-align: right;
}

section:not(.hero):not(.trust-band):not(.stats-strip):not(.final-cta) {
  padding: 82px 0;
}

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

.section-heading p:not(.eyebrow) {
  color: #5e6872;
}

.section-heading.compact {
  max-width: 560px;
}

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

.service-card,
.team-card,
.testimonial-grid article,
.benefit-list article,
.process-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.92);
  box-shadow: 0 14px 40px rgba(11, 31, 51, 0.06);
}

.service-card {
  padding: 26px;
}

.service-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border: 1px solid rgba(184, 146, 75, 0.45);
  background: var(--ivory);
  color: var(--gold);
  font-size: 1.35rem;
  font-weight: 800;
}

.service-card p,
.benefit-list p,
.process-grid p,
.team-card p,
.testimonial-grid p {
  color: #5d6873;
}

.service-card a {
  display: inline-flex;
  margin-top: 10px;
  color: var(--gold);
  font-weight: 800;
}

.trust-band {
  padding: 84px 0;
  background: var(--navy);
  color: var(--ivory);
}

.trust-band h2,
.trust-band h3 {
  color: var(--ivory);
}

.why-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 36px;
  align-items: start;
}

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

.benefit-list article {
  padding: 22px;
  background: rgba(255, 253, 248, 0.06);
  border-color: rgba(247, 241, 227, 0.14);
}

.benefit-list span,
.process-grid span {
  color: var(--gold-soft);
  font-weight: 800;
}

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

.process-grid article {
  padding: 24px;
  position: relative;
}

.process-grid span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  background: var(--navy);
  border-radius: 50%;
}

.consultation-picker {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.picker-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: stretch;
}

.picker-buttons {
  display: grid;
  gap: 10px;
}

.picker-btn {
  min-height: 50px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--warm-white);
  color: var(--navy);
  font: inherit;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.picker-btn.active {
  border-color: var(--gold);
  background: var(--navy);
  color: var(--ivory);
}

.picker-result {
  padding: 32px;
  border: 1px solid rgba(184, 146, 75, 0.45);
  border-radius: var(--radius);
  background: var(--ivory);
}

.picker-result span {
  color: var(--gold);
  font-weight: 800;
}

.picker-result strong {
  display: block;
  margin-top: 18px;
  color: var(--navy);
}

.team-card {
  padding: 26px;
  text-align: center;
}

.avatar {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  border: 2px solid rgba(184, 146, 75, 0.55);
  border-radius: 50%;
  color: var(--ivory);
  font-weight: 800;
}

.avatar-one {
  background: linear-gradient(135deg, #263f5c, #b8924b);
}

.avatar-two {
  background: linear-gradient(135deg, #0b1f33, #7c8186);
}

.avatar-three {
  background: linear-gradient(135deg, #5c6570, #b8924b);
}

.team-card span {
  display: block;
  margin-bottom: 18px;
  color: var(--gold);
  font-weight: 800;
}

.team-card button {
  min-height: 42px;
  padding: 10px 18px;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--navy);
  font-weight: 800;
  cursor: pointer;
}

.stats-strip {
  padding: 48px 0;
  background: var(--ivory);
  border-block: 1px solid var(--line);
}

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

.stats-grid strong {
  display: block;
  color: var(--navy);
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 2.35rem;
}

.stats-grid span {
  color: #5d6873;
  font-weight: 700;
}

.featured-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 26px;
  align-items: end;
  padding: 42px;
  border: 1px solid rgba(184, 146, 75, 0.42);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(11, 31, 51, 0.97), rgba(18, 44, 71, 0.94)),
    var(--navy);
  color: var(--ivory);
  box-shadow: var(--shadow);
}

.featured-card h2 {
  margin-top: 18px;
  color: var(--ivory);
}

.featured-card p {
  max-width: 650px;
  color: rgba(247, 241, 227, 0.82);
}

.featured-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.featured-card li {
  padding: 9px 12px;
  border: 1px solid rgba(220, 193, 138, 0.34);
  color: var(--gold-soft);
}

.testimonial-grid article {
  padding: 26px;
}

.testimonial-grid p {
  font-size: 1.02rem;
}

.testimonial-grid strong {
  color: var(--navy);
}

.contact-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 36px;
  align-items: start;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--warm-white);
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-weight: 800;
}

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

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(184, 146, 75, 0.35);
  border-color: var(--gold);
}

.full-field,
.contact-form button {
  grid-column: 1 / -1;
}

.location-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 28px;
  align-items: stretch;
}

.contact-details {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ivory);
}

.contact-details ul {
  margin: 20px 0 24px;
  padding: 0;
  list-style: none;
}

.contact-details li {
  margin-bottom: 12px;
  color: #4f5c68;
}

.map-card {
  min-height: 340px;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #e9e2d3;
}

.map-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 31, 51, 0.08) 1px, transparent 1px) 0 0 / 42px 42px,
    linear-gradient(rgba(11, 31, 51, 0.08) 1px, transparent 1px) 0 0 / 42px 42px;
}

.map-pin {
  width: 28px;
  height: 28px;
  position: relative;
  z-index: 1;
  border: 8px solid var(--gold);
  border-radius: 50%;
  background: var(--navy);
  box-shadow: 0 0 0 12px rgba(184, 146, 75, 0.18);
}

.map-card strong {
  position: absolute;
  left: 24px;
  bottom: 24px;
  z-index: 1;
  padding: 10px 12px;
  background: var(--warm-white);
  color: var(--navy);
}

.final-cta {
  padding: 76px 0;
  background: var(--navy);
}

.final-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.final-cta h2 {
  max-width: 760px;
  margin: 0;
  color: var(--ivory);
}

.site-footer {
  padding: 34px 0;
  background: #071725;
  color: rgba(247, 241, 227, 0.78);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-inner strong {
  color: var(--ivory);
  font-family: "Libre Baskerville", Georgia, serif;
}

.footer-inner p {
  margin-bottom: 0;
}

.footer-inner nav {
  display: flex;
  gap: 16px;
}

.footer-inner a {
  color: var(--gold-soft);
  font-weight: 700;
}

@media (max-width: 920px) {
  .menu-toggle {
    display: block;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav-panel {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    padding: 14px 20px 24px;
    background: var(--warm-white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-130%);
    transition: transform 0.24s ease;
  }

  .nav-panel.active {
    transform: translateY(0);
  }

  .nav-panel a {
    min-height: 48px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--line);
  }

  .nav-cta {
    justify-content: center;
    margin-top: 12px;
    border-bottom: 0 !important;
  }

  .hero,
  .why-grid,
  .picker-layout,
  .contact-section,
  .location-section,
  .final-cta-inner {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 62px;
  }

  .specialty-grid,
  .team-grid,
  .testimonial-grid,
  .process-grid,
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .final-cta-inner {
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .section-shell,
  .navbar {
    width: min(100% - 28px, 1120px);
  }

  .navbar {
    min-height: 68px;
  }

  .nav-panel {
    top: 68px;
  }

  .hero,
  section:not(.hero):not(.trust-band):not(.stats-strip):not(.final-cta),
  .trust-band,
  .final-cta {
    padding-block: 56px;
  }

  h1 {
    font-size: 2.55rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-card,
  .featured-card,
  .contact-form,
  .contact-details {
    padding: 24px;
  }

  .specialty-grid,
  .team-grid,
  .testimonial-grid,
  .process-grid,
  .benefit-list,
  .stats-grid,
  .contact-form,
  .featured-card {
    grid-template-columns: 1fr;
  }

  .schedule,
  .case-note,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .schedule strong,
  .case-note strong {
    text-align: left;
  }

  .hero-actions,
  .footer-inner,
  .footer-inner nav {
    width: 100%;
  }

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

  .map-card {
    min-height: 280px;
  }
}
