:root {
  --teal: #007B91;
  --teal-deep: #063B46;
  --teal-ink: #0A2A31;
  --coral: #F86D46;
  --coral-action: #C94A29;
  --coral-action-dark: #A93B1F;
  --ink: #16181D;
  --muted: #545C64;
  --rule: #16181D;
  --hairline: #DDE2E4;
  --paper: #FFFFFF;
  --paper-dim: #F6F8F8;
  --display: 'Poppins', system-ui, sans-serif;
  --serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --shadow-soft: 0 12px 30px rgba(10, 42, 49, 0.08);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

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

body {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.075rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  padding-bottom: calc(64px + env(safe-area-inset-bottom));
}

.wrap {
  width: min(100% - 2.75rem, 71rem);
  margin-inline: auto;
}

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

h1,
h2,
h3 {
  font-family: var(--display);
  margin: 0 0 0.55em;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.1rem, 7vw, 3.6rem);
  font-weight: 700;
  line-height: 1.06;
}

h2 {
  font-size: clamp(1.55rem, 4.5vw, 2.3rem);
  font-weight: 700;
  line-height: 1.12;
}

h3 {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.3;
}

p { margin: 0 0 1em; }

a {
  color: var(--teal);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

section[id] { scroll-margin-top: 5.5rem; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 100;
}

.skip-link:focus { left: 0; }

.doc-label {
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 1.1rem;
}

.doc-label.light { color: #8FD1DD; }
.doc-label.center { text-align: center; }

.lede {
  font-size: 1.12rem;
  max-width: 50rem;
  color: var(--muted);
}

/* Buttons and links */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 46px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  padding: 0.82rem 1.65rem;
  border: 1.5px solid transparent;
  transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
  touch-action: manipulation;
}

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

.btn-lg {
  padding: 0.98rem 2.1rem;
  font-size: 1.02rem;
}

.btn-coral {
  background: var(--coral-action);
  color: #fff;
}

.btn-coral:hover { background: var(--coral-action-dark); }

.btn-ink {
  background: var(--ink);
  color: #fff;
}

.btn-ink:hover { background: var(--teal-deep); }

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn-outline:hover {
  background: var(--paper-dim);
  border-color: var(--teal);
  color: var(--teal-deep);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.58);
}

.btn-ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.link-arrow {
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid var(--coral);
  padding-bottom: 2px;
  align-self: center;
}

.link-arrow::after {
  content: " \2197";
  color: var(--coral-action);
}

.link-arrow:hover { color: var(--teal); }

.text-link-light {
  color: #fff;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.92rem;
  text-underline-offset: 4px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hairline);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding-block: 0.7rem;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: clamp(148px, 38vw, 210px);
  height: auto;
}

.header-nav {
  display: none;
  gap: 1.45rem;
}

.header-nav a {
  font-family: var(--display);
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--ink);
  text-decoration: none;
}

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

.header-call svg {
  width: 0.95em;
  height: 0.95em;
  fill: currentColor;
}

.header-call span { display: none; }

.header-call {
  min-width: 46px;
  padding: 0.68rem 0.82rem;
}

/* Hero */
.hero {
  padding: clamp(3rem, 9vw, 6rem) 0 0;
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.hero-answer {
  font-size: 1.1rem;
  max-width: 42rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

.hero-answer strong { color: var(--ink); }

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

.hero-seal {
  display: none;
  color: var(--teal);
  justify-self: center;
}

.seal-svg {
  width: clamp(200px, 22vw, 270px);
  opacity: 0.9;
}

.seal-text {
  font-family: var(--display);
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: 0.3em;
  fill: currentColor;
}

.seal-center {
  font-family: var(--display);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: 0.14em;
  fill: currentColor;
}

.seal-star {
  font-size: 15px;
  fill: var(--coral-action);
}

/* Credential panel */
.trust-panel {
  margin-top: clamp(2.8rem, 7vw, 4.8rem);
  border-top: 2px solid var(--rule);
  border-bottom: 1px solid var(--hairline);
  padding-block: clamp(1.8rem, 5vw, 2.8rem);
  display: grid;
  gap: 2rem;
}

.trust-intro {
  max-width: 42rem;
}

.trust-intro h2 {
  font-size: clamp(1.35rem, 3.4vw, 1.9rem);
}

.trust-intro p:last-child {
  color: var(--muted);
  margin-bottom: 0;
}

.credential-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.credential-card {
  min-width: 0;
  background: var(--paper);
  border: 1px solid var(--hairline);
  padding: 1rem 0.75rem 0.85rem;
  display: grid;
  grid-template-rows: 7.1rem auto;
  align-items: center;
  justify-items: center;
  gap: 0.65rem;
  color: var(--ink);
  text-decoration: none;
  text-align: center;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

a.credential-card:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
}

.credential-image {
  width: 6.8rem;
  height: 6.8rem;
  display: grid;
  place-items: center;
}

.credential-image.wide {
  width: min(100%, 10.5rem);
}

.credential-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.credential-name {
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Sections */
.section {
  padding: clamp(3rem, 9vw, 5.5rem) 0;
}

.section-rule { border-top: 1px solid var(--hairline); }

.section-ink {
  background: var(--teal-ink);
  color: #E9F3F5;
}

.section-ink h2,
.section-ink h3 { color: #fff; }

.section-ink a { color: #fff; }

/* Services ledger */
.ledger {
  margin: 2.4rem 0 0;
  border-top: 2px solid var(--rule);
}

.ledger-row {
  display: grid;
  gap: 0.35rem 3rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--hairline);
}

.ledger-row dt {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.02rem;
}

.ledger-row dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.99rem;
}

.ledger-row:hover dt { color: var(--teal); }

.ledger-foot {
  margin-top: 1.6rem;
  font-style: italic;
  color: var(--muted);
}

/* Coverage */
.coverage-grid {
  display: grid;
  gap: 2.5rem;
}

.county-list {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.county-list li {
  font-family: var(--display);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.coverage-card {
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 1.8rem;
  display: grid;
  gap: 1rem;
  align-content: start;
}

.coverage-card h3,
.coverage-card p { margin: 0; }

/* Why */
.why-grid {
  display: grid;
  gap: 2rem 3rem;
  margin-top: 2.2rem;
}

.why-grid > div {
  border-top: 1px solid var(--hairline);
  padding-top: 1.1rem;
}

.why-grid h3 { margin-bottom: 0.4em; }

.why-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.99rem;
}

/* About */
.about-grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

.about-grid > div {
  max-width: 50rem;
}

.about-grid p { color: var(--muted); }

.about-grid p strong { color: var(--ink); }

.about-facts {
  background: var(--paper-dim);
  border-top: 4px solid var(--teal);
  padding: 1.5rem;
}

.about-facts h3 { margin-bottom: 1rem; }

.about-facts dl { margin: 0; }

.about-facts dl div {
  padding: 0.75rem 0;
  border-top: 1px solid var(--hairline);
}

.about-facts dt {
  font-family: var(--display);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--teal);
}

.about-facts dd {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.96rem;
}

/* Reviews */
.reviews-grid {
  display: grid;
  gap: 1.5rem;
  margin: 2.2rem 0;
}

.reviews-grid figure {
  margin: 0;
  border-left: 3px solid var(--teal);
  padding: 0.2rem 0 0.2rem 1.4rem;
}

.reviews-grid blockquote {
  margin: 0 0 0.9rem;
  font-size: 1rem;
  font-style: italic;
  color: var(--muted);
}

.reviews-grid blockquote::before {
  content: "\201C";
  color: var(--coral-action);
  font-size: 1.4em;
  line-height: 0;
  margin-right: 2px;
}

.reviews-grid figcaption {
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
}

.reviews-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  align-items: center;
}

/* FAQ */
.faq-list {
  margin-top: 2rem;
  border-top: 2px solid var(--rule);
}

.faq-list details {
  border-bottom: 1px solid var(--hairline);
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1rem;
  padding: 1.1rem 2.6rem 1.1rem 0;
  position: relative;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0.3rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--coral-action);
  transition: transform 0.18s ease;
}

.faq-list details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-list details p {
  margin: 0;
  padding: 0 0 1.2rem;
  color: var(--muted);
  max-width: 54rem;
}

/* Contact certificate */
.certificate-wrap { background: var(--paper-dim); }

.certificate {
  background: var(--paper);
  border: 1px solid var(--rule);
  outline: 1px solid var(--rule);
  outline-offset: 5px;
  padding: clamp(2rem, 6vw, 3.5rem) clamp(1.4rem, 5vw, 3.5rem);
  text-align: center;
  max-width: 52rem;
  margin-inline: auto;
}

.certificate h2 { margin-bottom: 0.3em; }

.venue {
  font-family: var(--display);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.4rem;
}

.venue span { color: var(--coral-action); }

.cert-body {
  max-width: 40rem;
  margin: 0 auto 1.8rem;
  color: var(--muted);
}

.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  justify-content: center;
  align-items: stretch;
  max-width: 28rem;
  margin-inline: auto;
}

.cert-details {
  margin: 2rem auto 0;
  max-width: 38rem;
  border-top: 1px solid var(--hairline);
  text-align: left;
}

.cert-details div {
  display: grid;
  gap: 0.15rem 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--hairline);
}

.cert-details dt {
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  padding-top: 0.15rem;
}

.cert-details dd {
  margin: 0;
  font-size: 0.97rem;
}

.cert-notice {
  margin-top: 1.8rem;
  font-size: 0.82rem;
  color: var(--muted);
}

/* Footer */
.site-footer {
  background: var(--teal-ink);
  color: #C8DCE0;
  padding: 3rem 0 2rem;
}

.footer-grid {
  display: grid;
  gap: 2.2rem;
  padding-bottom: 2.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-logo {
  width: 190px;
  background: #fff;
  padding: 10px 14px;
}

.footer-tag {
  font-size: 0.92rem;
  margin: 1rem 0 0;
  max-width: 26rem;
}

.footer-grid nav {
  display: grid;
  gap: 0.55rem;
  align-content: start;
}

.footer-grid nav a,
.footer-verify a {
  font-family: var(--display);
  font-weight: 500;
  font-size: 0.92rem;
  color: #fff;
  text-decoration: none;
}

.footer-grid nav a:hover,
.footer-verify a:hover {
  color: #FF9B7D;
}

.footer-verify {
  display: grid;
  gap: 0.55rem;
  align-content: start;
}

.fineprint {
  padding-top: 1.6rem;
  font-size: 0.78rem;
  line-height: 1.7;
  opacity: 0.88;
}

.fineprint p {
  margin: 0 0 0.4em;
}

/* Sticky mobile action bar */
.action-bar {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--rule);
  padding-bottom: env(safe-area-inset-bottom);
  background: #fff;
}

.action {
  min-height: 64px;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  padding: 0.8rem 0.4rem;
}

.action.call {
  background: var(--coral-action);
  color: #fff;
}

.action.text {
  background: #fff;
  color: var(--ink);
  border-inline: 1px solid var(--hairline);
}

.action.maps {
  background: var(--teal-ink);
  color: #fff;
}

/* Progressive reveal */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* Breakpoints */
@media (min-width: 520px) {
  .credential-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .contact-actions {
    flex-direction: row;
    max-width: none;
  }

  .cert-details div {
    grid-template-columns: 8rem 1fr;
  }
}

@media (min-width: 640px) {
  .ledger-row {
    grid-template-columns: 17rem 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .hero-ctas {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem 1.4rem;
    align-items: center;
  }

  .header-call span { display: inline; }

  .header-call {
    padding: 0.72rem 1.25rem;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 0.7fr 1fr;
  }
}

@media (min-width: 780px) {
  .trust-panel {
    grid-template-columns: minmax(18rem, 0.8fr) minmax(0, 1.6fr);
    align-items: center;
  }

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

  .credential-card {
    padding-inline: 0.6rem;
  }

  .about-grid {
    grid-template-columns: minmax(0, 1.55fr) minmax(16rem, 0.75fr);
  }
}

@media (min-width: 900px) {
  body { padding-bottom: 0; }

  .action-bar { display: none; }

  .header-nav { display: flex; }

  .hero-grid {
    grid-template-columns: 1.35fr 0.65fr;
  }

  .hero-seal { display: block; }

  .coverage-grid {
    grid-template-columns: 1.5fr 1fr;
    align-items: start;
  }

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

  .ledger-row {
    grid-template-columns: 20rem 1fr;
  }
}
