/* ========================================================================
   Wilkinson Comfort — Page-specific styles
   Combined from the inline <style> blocks of each handoff page.
   ======================================================================== */

/* ───────── Home-only ───────── */
.split {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 64px;
  align-items: center;
}
.split .copy h2 { margin-bottom: 22px; max-width: 14ch; }
.split .copy p { color: var(--navy-soft); font-size: 17px; margin-bottom: 22px; max-width: 46ch; }
.split .image {
  height: 520px;
  border-radius: var(--radius);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.split .image .badge-float {
  position: absolute;
  left: 24px; bottom: 24px;
  background: white;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 260px;
}
.split .image .badge-float .icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--teal-deep);
  display: grid; place-items: center;
  font-family: "Instrument Serif", serif;
  font-size: 22px;
}
.split .image .badge-float small {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
}
.split .image .badge-float strong {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  font-size: 18px;
  color: var(--navy);
}

/* Services grid (8 service cards) */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.service-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 220px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: rgba(49,163,161,0.4);
}
.service-card .num {
  font-family: "Instrument Serif", serif;
  font-size: 18px;
  color: var(--teal-deep);
}
.service-card h4 {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  font-size: 22px;
  color: var(--navy);
  margin-top: auto;
}
.service-card p { font-size: 13px; color: var(--navy-soft); }
.service-card .icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--teal-tint);
  color: var(--teal-deep);
  display: grid;
  place-items: center;
}
.service-card .icon svg { width: 22px; height: 22px; }
@media (max-width: 1000px) { .services-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .services-grid { grid-template-columns: 1fr; } }

/* Insurance band */
.insurance-band {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
  background: var(--cream-deep);
  border-radius: var(--radius-lg);
  padding: 56px;
}
.insurance-band h2 { max-width: 14ch; margin-bottom: 18px; }
.insurance-band .copy p { color: var(--navy-soft); font-size: 17px; max-width: 44ch; margin-bottom: 24px; }
.coverage-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.coverage-item {
  background: white;
  border-radius: var(--radius-sm);
  padding: 18px;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.coverage-item .icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--teal-tint);
  color: var(--teal-deep);
  display: grid;
  place-items: center;
  margin-bottom: 6px;
}
.coverage-item .icon svg { width: 18px; height: 18px; }
.coverage-item strong {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  font-size: 19px;
  color: var(--navy);
}
.coverage-item span { font-size: 13px; color: var(--navy-soft); }
@media (max-width: 880px) {
  .insurance-band { grid-template-columns: 1fr; padding: 36px 24px; }
}

/* Values */
.values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.value {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 200px;
}
.value .num {
  font-family: "Instrument Serif", serif;
  font-size: 38px;
  color: var(--teal);
  line-height: 1;
}
.value h4 {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  font-size: 26px;
  color: var(--navy);
}
.value p { color: var(--navy-soft); font-size: 14px; margin-top: auto; }
@media (max-width: 880px) { .values { grid-template-columns: 1fr 1fr; } }

/* Testimonials (home preview) */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.quote-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.quote-card.featured {
  background: var(--teal);
  color: white;
  border-color: transparent;
}
.quote-card.featured .who { color: rgba(255,255,255,0.85); border-color: rgba(255,255,255,0.25); }
.quote-mark {
  font-family: "Instrument Serif", serif;
  font-size: 64px;
  line-height: 0.5;
  color: var(--teal);
  height: 24px;
}
.quote-card.featured .quote-mark { color: rgba(255,255,255,0.5); }
.quote-card p {
  font-family: "Instrument Serif", serif;
  font-size: 22px;
  line-height: 1.3;
  color: var(--navy);
}
.quote-card.featured p { color: white; }
.who {
  font-size: 13px;
  color: var(--navy-soft);
  padding-top: 16px;
  border-top: 1px solid var(--line);
  margin-top: auto;
}
.who strong { display: block; color: var(--navy); font-weight: 500; font-size: 14px; }
.quote-card.featured .who strong { color: white; }
@media (max-width: 880px) { .testimonials-grid { grid-template-columns: 1fr; } }

/* ───── About-only ───── */
.about-hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 40px 0 80px;
}
.about-hero .image {
  height: 540px;
  border-radius: var(--radius-lg);
  background-size: cover;
  background-position: center;
}
.about-hero h1 { margin: 12px 0 22px; }
.about-hero .lead { font-size: 19px; color: var(--navy-soft); margin-bottom: 28px; max-width: 50ch; }

.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.story h2 { margin-bottom: 24px; max-width: 14ch; }
.story p { color: var(--navy-soft); font-size: 17px; margin-bottom: 18px; max-width: 46ch; }
.story em { color: var(--teal-deep); font-style: italic; font-family: "Instrument Serif", serif; }
.story-image {
  height: 480px;
  border-radius: var(--radius);
  background-size: cover;
  background-position: center;
}

.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.mv {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.mv.dark {
  background: var(--navy);
  border-color: transparent;
  color: white;
}
.mv.dark h3, .mv.dark p { color: white; }
.mv .label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal-deep);
}
.mv.dark .label { color: var(--teal); }
.mv h3 {
  font-size: 34px;
  line-height: 1.1;
  max-width: 18ch;
}
.mv p { color: var(--navy-soft); font-size: 16px; max-width: 38ch; }
.mv.dark p { color: rgba(255,255,255,0.82); }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.step {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
  min-height: 220px;
}
.step::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--teal);
}
.step .num {
  font-family: "Instrument Serif", serif;
  font-size: 64px;
  color: var(--teal);
  line-height: 1;
  letter-spacing: -0.04em;
}
.step h4 {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  font-size: 26px;
  color: var(--navy);
}
.step p { color: var(--navy-soft); font-size: 14px; margin-top: auto; }
@media (max-width: 880px) {
  .about-hero { grid-template-columns: 1fr; }
  .about-hero .image { height: 320px; }
  .story { grid-template-columns: 1fr; }
  .mv-grid, .steps { grid-template-columns: 1fr; }
  .story-image { height: 320px; }
}

/* ───── Services-only ───── */
.anchor-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
  padding: 16px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.anchor-nav a {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--navy);
  font-size: 13px;
  font-weight: 500;
  border: 1px solid transparent;
  transition: all .15s ease;
  white-space: nowrap;
}
.anchor-nav a:hover { background: var(--teal-tint); border-color: var(--teal); color: var(--teal-deep); }

.svc-block {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: center;
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
}
.svc-block:last-child { border-bottom: none; }
.svc-block.reverse { grid-template-columns: 1.2fr 1fr; }
.svc-block.reverse .visual { order: -1; }
.svc-block .num {
  font-family: "Instrument Serif", serif;
  font-size: 22px;
  color: var(--teal-deep);
  margin-bottom: 4px;
}
.svc-block h2 {
  font-size: clamp(36px, 4vw, 56px);
  margin-bottom: 18px;
}
.svc-block h2 em { color: var(--teal); font-style: italic; }
.svc-block .lede {
  font-size: 18px;
  color: var(--navy-soft);
  margin-bottom: 24px;
  max-width: 44ch;
}
.svc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 28px;
}
.svc-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--ink);
}
.svc-list li::before {
  content: "";
  display: inline-block;
  width: 18px; height: 18px;
  flex-shrink: 0;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--teal-tint);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23258F8D' stroke-width='3' stroke-linecap='round'><polyline points='5 12 10 17 19 8'/></svg>");
  background-position: center;
  background-repeat: no-repeat;
}
.svc-note {
  margin-top: 24px;
  padding: 14px 18px;
  background: var(--cream-deep);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--navy-soft);
  border-left: 3px solid var(--teal);
}
.visual {
  height: 420px;
  border-radius: var(--radius);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.visual .tag {
  position: absolute;
  top: 16px; left: 16px;
  background: rgba(20,40,61,0.85);
  color: white;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  white-space: nowrap;
}

.coverage-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  background: var(--navy);
  color: white;
  border-radius: var(--radius-lg);
  padding: 56px;
}
.coverage-band h2 { color: white; max-width: 14ch; margin-bottom: 20px; }
.coverage-band p { color: rgba(255,255,255,0.85); font-size: 17px; max-width: 44ch; margin-bottom: 26px; }
.coverage-band .eyebrow { color: var(--teal); }
.coverage-band .eyebrow::before { background: var(--teal); }
.coverage-types {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.coverage-types .row {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-sm);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.coverage-types .row strong {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  font-size: 20px;
  color: white;
}
.coverage-types .row span {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}

.pricing {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}
.pricing h2 { max-width: 12ch; margin-bottom: 18px; }
.pricing p { color: var(--navy-soft); font-size: 17px; max-width: 46ch; margin-bottom: 24px; }
.pricing-card {
  background: var(--cream-deep);
  border-radius: var(--radius);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.pricing-card h4 {
  font-family: "Instrument Serif", serif;
  font-size: 28px;
  font-weight: 400;
  color: var(--navy);
}
.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}
.pricing-card li {
  display: flex;
  gap: 10px;
  align-items: center;
}
.pricing-card li::before {
  content: "—";
  color: var(--teal);
}

@media (max-width: 880px) {
  .svc-block, .svc-block.reverse { grid-template-columns: 1fr; gap: 24px; padding: 36px 0; }
  .svc-block.reverse .visual { order: 0; }
  .svc-list { grid-template-columns: 1fr; }
  .coverage-band { grid-template-columns: 1fr; padding: 36px 24px; }
  .coverage-types { grid-template-columns: 1fr; }
  .pricing { grid-template-columns: 1fr; }
  .visual { height: 280px; }
}

/* ───── Testimonials-only ───── */
.t-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.t-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.t-card.teal {
  background: var(--teal);
  color: white;
  border-color: transparent;
}
.t-card.teal .who { color: rgba(255,255,255,0.85); border-color: rgba(255,255,255,0.25); }
.t-card.teal .who strong { color: white; }
.t-card.navy {
  background: var(--navy);
  color: white;
  border-color: transparent;
}
.t-card.navy .who { color: rgba(255,255,255,0.85); border-color: rgba(255,255,255,0.25); }
.t-card.navy .who strong { color: white; }
.t-card .qmark {
  font-family: "Instrument Serif", serif;
  font-size: 72px;
  line-height: 0.4;
  color: var(--teal);
  height: 28px;
}
.t-card.teal .qmark, .t-card.navy .qmark { color: rgba(255,255,255,0.5); }
.t-card p {
  font-family: "Instrument Serif", serif;
  font-size: 22px;
  line-height: 1.32;
  color: var(--navy);
  font-style: italic;
}
.t-card.teal p, .t-card.navy p { color: white; }

.featured-quote {
  background: var(--cream-deep);
  border-radius: var(--radius-lg);
  padding: 72px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.featured-quote::before {
  content: "\201C";
  position: absolute;
  top: -40px; left: 32px;
  font-family: "Instrument Serif", serif;
  font-size: 260px;
  color: rgba(49,163,161,0.18);
  line-height: 1;
}
.featured-quote p {
  font-family: "Instrument Serif", serif;
  font-size: clamp(28px, 3.4vw, 48px);
  line-height: 1.18;
  color: var(--navy);
  max-width: 22ch;
  margin: 0 auto 24px;
}
.featured-quote em { color: var(--teal); font-style: italic; }
.featured-quote .who-line {
  font-size: 14px;
  color: var(--navy-soft);
}
.featured-quote .who-line strong { color: var(--navy); font-weight: 500; }

.faq-wrap {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 56px;
  align-items: start;
}
.faq-wrap h2 { max-width: 14ch; margin-bottom: 18px; }
.faq-wrap .copy p { color: var(--navy-soft); font-size: 17px; max-width: 36ch; margin-bottom: 24px; }
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.faq-item {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color .2s ease;
}
.faq-item[open] { border-color: var(--teal); }
.faq-item summary {
  list-style: none;
  padding: 20px 22px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 17px;
  font-weight: 500;
  color: var(--navy);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: "Instrument Serif", serif;
  font-size: 28px;
  color: var(--teal-deep);
  transition: transform .2s ease;
  flex-shrink: 0;
  width: 24px;
  text-align: center;
}
.faq-item[open] summary::after { content: "—"; font-size: 22px; }
.faq-item .answer {
  padding: 0 22px 22px;
  color: var(--navy-soft);
  font-size: 15px;
  line-height: 1.6;
  max-width: 56ch;
}

@media (max-width: 880px) {
  .t-grid { grid-template-columns: 1fr; }
  .featured-quote { padding: 48px 24px; }
  .faq-wrap { grid-template-columns: 1fr; gap: 24px; }
}

/* ───── Contact-only ───── */
.contact-wrap {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr;
  gap: 56px;
  align-items: start;
}
.contact-card {
  background: var(--navy);
  color: white;
  border-radius: var(--radius);
  padding: 36px;
  position: sticky;
  top: 96px;
}
.contact-card h3 {
  color: white;
  font-size: 28px;
  margin-bottom: 6px;
}
.contact-card .sub {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  margin-bottom: 28px;
}
.contact-rows {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.contact-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.contact-row .icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(49,163,161,0.18);
  color: var(--teal);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.contact-row .icon svg { width: 18px; height: 18px; }
.contact-row .label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 4px;
}
.contact-row .val {
  font-size: 16px;
  color: white;
  line-height: 1.4;
}
.contact-row .val a:hover { color: var(--teal); }
.coverage-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: white;
  margin-top: 24px;
}
.coverage-pill .dot { width: 6px; height: 6px; border-radius: 50%; background: #6FE3B7; }

.form-wrap {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
}
.form-wrap h2 {
  font-size: 36px;
  margin-bottom: 8px;
  max-width: 20ch;
}
.form-wrap .form-sub {
  color: var(--navy-soft);
  font-size: 15px;
  margin-bottom: 28px;
  max-width: 50ch;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field.full { grid-column: 1 / -1; }
.field label {
  font-size: 12px;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: 0.04em;
}
.field input, .field select, .field textarea {
  font-family: inherit;
  font-size: 15px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--cream);
  color: var(--ink);
  transition: border-color .15s ease, background .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--teal);
  background: white;
}
.field textarea { resize: vertical; min-height: 110px; }

.radio-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.radio-row label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--cream);
  font-size: 13px;
  cursor: pointer;
  transition: all .15s ease;
}
.radio-row input { position: absolute; opacity: 0; pointer-events: none; }
.radio-row input:checked + span {
  color: var(--teal-deep);
  font-weight: 500;
}
.radio-row label:has(input:checked) {
  background: var(--teal-tint);
  border-color: var(--teal);
}

.form-actions {
  margin-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.form-note {
  font-size: 13px;
  color: var(--navy-soft);
  max-width: 40ch;
}
.form-note strong { color: var(--navy); }

.next-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.next-step {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 200px;
  position: relative;
}
.next-step .num {
  font-family: "Instrument Serif", serif;
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--teal-deep);
}
.next-step h4 {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  font-size: 26px;
  color: var(--navy);
}
.next-step p { color: var(--navy-soft); font-size: 14px; margin-top: auto; }

.location {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.location h2 { max-width: 14ch; margin-bottom: 18px; }
.location p { color: var(--navy-soft); font-size: 16px; margin-bottom: 14px; max-width: 44ch; }
.map-card {
  height: 380px;
  background: var(--cream-deep);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--line);
}
.map-card iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-pin {
  position: absolute;
  bottom: 20px; left: 20px;
  background: white;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  display: flex;
  gap: 12px;
  align-items: center;
  box-shadow: var(--shadow);
  max-width: 80%;
}
.map-pin .icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--teal);
  color: white;
  display: grid;
  place-items: center;
}
.map-pin .icon svg { width: 18px; height: 18px; }
.map-pin small {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.map-pin strong {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  font-size: 18px;
  color: var(--navy);
  display: block;
}

@media (max-width: 880px) {
  .contact-wrap { grid-template-columns: 1fr; }
  .contact-card { position: static; }
  .form-grid { grid-template-columns: 1fr; }
  .next-steps { grid-template-columns: 1fr 1fr; }
  .location { grid-template-columns: 1fr; }
  .form-wrap { padding: 28px; }
}

/* ========================================================================
   Defensive overrides — keep menus working even if WordPress plugins
   or filters wrap anchors in <ul><li> or strip the .m-link class.
   ======================================================================== */

/* If WP wraps menu items in a list, strip default list styles inside menus. */
.mobile-menu ul,
.mobile-menu ol,
.nav ul,
.nav ol,
.site-footer .footer-col ul,
.site-footer .footer-col ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
.mobile-menu li,
.nav li {
  display: block;
  margin: 0;
  padding: 0;
}

/* Style every direct anchor inside the mobile menu (not just .m-link)
   so the menu is readable even if class attributes are missing or rewritten. */
.mobile-menu > a,
.mobile-menu li > a,
.mobile-menu ul > li > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 8px;
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-size: 28px;
  line-height: 1.1;
  color: var(--navy, #223B5E);
  text-decoration: none;
  border-bottom: 1px solid var(--line, rgba(34,59,94,0.10));
}
.mobile-menu > a:hover,
.mobile-menu li > a:hover {
  color: var(--teal-deep, #258F8D);
}
.mobile-menu > a.active,
.mobile-menu li > a.active,
.mobile-menu li.current-menu-item > a,
.mobile-menu li.current_page_item > a {
  color: var(--teal-deep, #258F8D);
}
/* Skip the CTA buttons — they need their own button styling, not the link styling. */
.mobile-menu .m-cta > a {
  display: inline-flex;
  padding: 14px 24px;
  font-family: inherit;
  font-style: normal;
  font-size: 15px;
  border-bottom: none;
}

/* Same defensive pass for the desktop nav. */
.nav > a,
.nav li > a,
.nav ul > li > a {
  font-size: 14px;
  color: var(--navy, #223B5E);
  font-weight: 500;
  position: relative;
  padding: 6px 0;
  text-decoration: none;
}
.nav > a:hover,
.nav li > a:hover {
  color: var(--teal-deep, #258F8D);
}
