:root {
  --cream: #f5f0e8;
  --paper: #fffaf3;
  --sage: #a8b5a2;
  --sage-deep: #6f8269;
  --teal: #2a6a6f;
  --teal-dark: #16484d;
  --gold: #b28745;
  --ink: #243232;
  --muted: #566763;
  --line: rgba(36, 50, 50, .14);
  --shadow: 0 20px 50px rgba(36, 50, 50, .16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

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

h1,
h2,
h3,
.brand-text {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: 0;
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 7vw, 5.8rem);
}

h2 {
  margin: 0 0 1rem;
  font-size: clamp(2.15rem, 4vw, 3.8rem);
}

h3 {
  margin: 0 0 .55rem;
  font-size: 1.45rem;
}

p {
  margin: 0;
}

.site-shell {
  width: min(100% - 40px, 1180px);
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 20;
  padding: 12px 16px;
  color: var(--paper);
  background: var(--teal-dark);
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 250, 243, .95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 78px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--teal-dark);
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(42, 106, 111, .42);
  border-radius: 50%;
  color: var(--teal);
  font-family: Georgia, serif;
  font-size: 1.4rem;
}

.brand-text {
  font-size: 1.75rem;
  white-space: nowrap;
}

.nav-list {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: .94rem;
  font-weight: 800;
}

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

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.button-primary {
  color: var(--paper);
  background: var(--gold);
  box-shadow: 0 12px 28px rgba(178, 135, 69, .28);
}

.button-secondary {
  color: var(--teal-dark);
  background: var(--paper);
  border-color: rgba(42, 106, 111, .28);
}

.hero {
  position: relative;
  min-height: 760px;
  display: grid;
  overflow: hidden;
  background: var(--teal-dark);
}

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

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(22, 72, 77, .9), rgba(42, 106, 111, .58), rgba(22, 72, 77, .22));
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, .7fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding: clamp(56px, 8vw, 112px) 0;
}

.hero-copy {
  color: var(--paper);
}

.eyebrow,
.section-kicker {
  margin-bottom: 18px;
  color: currentColor;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: rgba(255, 250, 243, .9);
}

.lead {
  max-width: 700px;
  margin: 24px 0 32px;
  color: rgba(255, 250, 243, .92);
  font-size: 1.22rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.insurance-card,
.location-panel,
.insurance-form,
.info-strip {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 8px;
  background: rgba(255, 250, 243, .94);
  box-shadow: var(--shadow);
}

.insurance-card h2 {
  margin-top: 16px;
  color: var(--teal-dark);
  font-size: 2rem;
}

.pill {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid rgba(42, 106, 111, .22);
  border-radius: 999px;
  color: var(--teal-dark);
  background: #f0f4ed;
  font-size: .9rem;
  font-weight: 800;
}

.steps {
  display: grid;
  gap: 14px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  align-items: start;
  color: var(--muted);
}

.steps span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--paper);
  background: var(--teal);
  font-size: .85rem;
  font-weight: 900;
}

.section {
  padding: clamp(66px, 9vw, 110px) 0;
}

.section-grid,
.about-grid,
.faq-grid,
.location-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 76px);
  align-items: start;
}

.section-kicker {
  color: var(--teal);
}

.insurance-flow {
  background: var(--paper);
}

.flow-cards,
.service-grid,
.testimonial-grid,
.faq-list {
  display: grid;
  gap: 18px;
}

.flow-cards article,
.service-card,
.testimonial-grid blockquote,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 243, .8);
}

.flow-cards article {
  padding: 24px;
}

.flow-cards span {
  color: var(--gold);
  font-weight: 900;
}

.insurance-form {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  box-shadow: none;
}

.insurance-form label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

.insurance-form input {
  min-height: 50px;
  width: 100%;
  border: 1px solid rgba(42, 106, 111, .32);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

.info-strip {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1.4fr auto;
  gap: 16px;
  align-items: center;
  box-shadow: none;
}

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

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

.service-card {
  min-height: 270px;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 24px;
  background: var(--paper);
}

.service-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--teal-dark);
  background: #e2ebdc;
  font-size: .78rem;
  font-weight: 900;
}

.service-card p,
.about p,
.location p,
.flow-cards p,
.post-card p,
.faq-list p {
  color: var(--muted);
}

.service-card a,
.text-link,
.post-card a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  margin-top: auto;
  color: var(--teal-dark);
  font-weight: 800;
}

.about {
  background: #e7ece2;
}

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

.about-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

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

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

.trust-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 900;
}

.testimonials {
  background: var(--cream);
}

.testimonial-grid {
  grid-template-columns: repeat(3, 1fr);
}

.testimonial-grid blockquote {
  margin: 0;
  padding: 24px;
  background: var(--paper);
}

.testimonial-grid cite {
  display: block;
  margin-top: 18px;
  color: var(--muted);
  font-style: normal;
  font-weight: 800;
}

.faq {
  background: var(--paper);
}

.blog-preview {
  background: #edf2ea;
}

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

.post-card {
  min-height: 280px;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.post-card h3 a {
  text-decoration: none;
}

.post-meta {
  color: var(--gold);
  font-size: .85rem;
  font-weight: 900;
  text-transform: uppercase;
}

.faq-list details {
  padding: 18px 20px;
}

.faq-list summary {
  min-height: 44px;
  cursor: pointer;
  color: var(--teal-dark);
  font-weight: 900;
}

.location {
  background: #2f4740;
  color: var(--paper);
}

.location .section-kicker,
.location p {
  color: rgba(255, 250, 243, .84);
}

.location-panel {
  color: var(--ink);
}

.site-footer {
  padding: 48px 0 28px;
  color: rgba(255, 250, 243, .84);
  background: #1e3430;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .7fr .7fr;
  gap: 34px;
}

.footer-brand {
  margin-bottom: 12px;
  color: var(--paper);
}

.site-footer nav,
.footer-actions {
  display: grid;
  gap: 10px;
}

.site-footer a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--paper);
  font-weight: 800;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 250, 243, .18);
  font-size: .9rem;
}

.content-page {
  padding: 80px 0;
}

.narrow-content {
  max-width: 840px;
}

.archive-header {
  max-width: 760px;
  margin-bottom: 34px;
}

.archive-header h1 {
  font-size: clamp(2.6rem, 5vw, 4.4rem);
}

.pagination-links {
  margin-top: 34px;
}

.entry-content {
  color: var(--muted);
}

.entry-content h2,
.entry-content h3 {
  margin-top: 2rem;
  color: var(--ink);
}

.entry-content p,
.entry-content ul,
.entry-content ol {
  margin: 0 0 1.1rem;
}

.entry-content img {
  margin: 1.5rem 0;
  border-radius: 8px;
}

@media (max-width: 980px) {
  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .primary-nav {
    grid-column: 1 / -1;
    order: 3;
    overflow-x: auto;
    padding-bottom: 12px;
  }

  .nav-list {
    justify-content: flex-start;
    min-width: max-content;
  }

  .hero-inner,
  .section-grid,
  .about-grid,
  .faq-grid,
  .location-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding: 64px 0;
  }

  .insurance-form,
  .service-grid,
  .testimonial-grid,
  .post-grid,
  .info-strip {
    grid-template-columns: 1fr 1fr;
  }

  .info-strip .button {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 18px;
  }

  .site-shell {
    width: min(100% - 32px, 1180px);
  }

  .brand-text {
    font-size: 1.35rem;
  }

  .header-cta {
    padding-inline: 14px;
  }

  h1 {
    font-size: 3rem;
  }

  .actions,
  .button,
  .insurance-form,
  .service-grid,
  .testimonial-grid,
  .footer-bottom {
    width: 100%;
  }

  .button {
    width: 100%;
  }

  .insurance-form,
  .service-grid,
  .testimonial-grid,
  .post-grid,
  .info-strip {
    grid-template-columns: 1fr;
  }

  .insurance-card,
  .location-panel,
  .insurance-form,
  .info-strip,
  .flow-cards article,
  .service-card,
  .testimonial-grid blockquote,
  .post-card {
    padding: 22px;
  }

  .footer-bottom {
    display: grid;
  }
}
