:root {
  --ink: #0d2e3e;
  --ink-soft: #456272;
  --navy: #123b5d;
  --teal: #16a6a1;
  --teal-dark: #0b7976;
  --orange: #ff7a21;
  --paper: #f7fafc;
  --white: #ffffff;
  --line: #dce8ed;
  --shadow: 0 24px 70px rgba(13, 46, 62, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 88% 5%, rgba(22, 166, 161, 0.16), transparent 28rem),
    var(--paper);
}

a {
  color: inherit;
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 9px;
  color: var(--white);
  background: var(--navy);
  transform: translateY(-150%);
}

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

.site-header {
  border-bottom: 1px solid rgba(18, 59, 93, 0.1);
  background: rgba(247, 250, 252, 0.88);
  backdrop-filter: blur(16px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 13px;
  color: var(--white);
  background: linear-gradient(140deg, var(--navy), var(--teal-dark));
  box-shadow: 0 10px 24px rgba(18, 59, 93, 0.24);
  font-size: 0.86rem;
  font-weight: 900;
}

.status-pill {
  padding: 8px 12px;
  border: 1px solid rgba(22, 166, 161, 0.26);
  border-radius: 999px;
  color: var(--teal-dark);
  background: rgba(22, 166, 161, 0.08);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero {
  padding-block: clamp(64px, 9vw, 120px) 80px;
}

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

.eyebrow {
  margin: 0 0 18px;
  color: var(--teal-dark);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
p {
  text-wrap: pretty;
}

h1 {
  margin: 0;
  max-width: 16ch;
  color: var(--navy);
  font-size: clamp(2.45rem, 6.5vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  overflow-wrap: anywhere;
}

.hero-summary {
  max-width: 690px;
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.72;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 32px;
}

.service-grid article {
  min-height: 230px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 45px rgba(13, 46, 62, 0.07);
}

.service-grid article > span {
  color: var(--teal);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.service-grid h2 {
  margin: 52px 0 12px;
  color: var(--navy);
  font-size: 1.28rem;
  letter-spacing: -0.025em;
}

.service-grid p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.65;
}

.notice {
  margin-top: 20px;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-left: 4px solid var(--orange);
  border-radius: 12px;
  color: var(--ink-soft);
  background: var(--white);
}

.notice strong {
  color: var(--navy);
  white-space: nowrap;
}

.primary-link {
  width: fit-content;
  margin-top: 28px;
  padding: 13px 18px;
  display: inline-flex;
  border: 0;
  border-radius: 12px;
  color: var(--ink);
  background: var(--orange);
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav a {
  padding: 10px 12px;
  border-radius: 9px;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--navy);
  background: rgba(18, 59, 93, 0.07);
}

.header-contact {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-contact a {
  min-height: 44px;
  padding: 8px 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  font-size: 0.82rem;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.header-contact-phone {
  gap: 6px;
  color: var(--white);
  background: var(--navy);
}

.header-contact-phone span {
  color: #aee7e4;
}

.header-contact-whatsapp {
  border: 1px solid rgba(11, 121, 118, 0.3);
  color: var(--teal-dark);
  background: var(--white);
}

.nav-toggle {
  display: none;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(22, 166, 161, 0.45);
  outline-offset: 3px;
}

.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  align-items: center;
  gap: clamp(38px, 7vw, 88px);
}

.hero-rail {
  min-width: 0;
  display: grid;
  gap: 18px;
}

.service-media,
.service-card-media {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(18, 59, 93, 0.11);
  background: #e6eff2;
}

.service-media {
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.service-media img,
.service-card-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
}

.service-media figcaption,
.service-card-media figcaption {
  padding: 9px 12px;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.94);
  font-size: 0.72rem;
  line-height: 1.35;
}

.service-card-media {
  margin: -26px -26px 20px;
  border-radius: 23px 23px 12px 12px;
}

.service-card-media ~ h2,
.service-card-media ~ h3 {
  margin-top: 18px;
}

.hero-actions,
.panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.secondary-link {
  width: fit-content;
  margin-top: 28px;
  padding: 12px 17px;
  display: inline-flex;
  align-items: center;
  border: 1px solid #b8ccd5;
  border-radius: 12px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.7);
  font-weight: 800;
  text-decoration: none;
}

.scope-line {
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 700;
}

.symptom-card {
  padding: 24px;
  border: 1px solid rgba(18, 59, 93, 0.11);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.card-kicker {
  margin: 0 0 14px;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.symptom-card a {
  padding: 18px 4px;
  display: block;
  border-top: 1px solid var(--line);
  text-decoration: none;
}

.symptom-card a:hover strong {
  color: var(--teal-dark);
}

.symptom-card span,
.symptom-card strong {
  display: block;
}

.symptom-card span {
  margin-bottom: 5px;
  color: var(--ink-soft);
  font-size: 0.83rem;
}

.symptom-card strong {
  color: var(--navy);
  font-size: 1.05rem;
}

.proof-strip {
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

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

.proof-grid div {
  padding: 24px clamp(12px, 4vw, 44px);
  border-right: 1px solid var(--line);
}

.proof-grid div:first-child {
  padding-left: 0;
}

.proof-grid div:last-child {
  border-right: 0;
}

.proof-grid strong,
.proof-grid span {
  display: block;
}

.proof-grid strong {
  color: var(--navy);
  font-size: 1.15rem;
}

.proof-grid span {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 0.86rem;
}

.section {
  padding-block: clamp(62px, 8vw, 102px);
}

.section-tint {
  border-block: 1px solid rgba(22, 166, 161, 0.12);
  background: rgba(22, 166, 161, 0.055);
}

.section-heading {
  margin-bottom: 34px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.section-heading h2,
.detail-grid h2,
.process-layout h2,
.safety-banner h2,
.faq-section h2,
.info-card h2,
.prose h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.75rem, 4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.text-link,
.card-link {
  color: var(--teal-dark);
  font-weight: 900;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.service-grid h3,
.service-grid-full h2 {
  margin: 42px 0 12px;
  color: var(--navy);
  font-size: 1.28rem;
  letter-spacing: -0.025em;
}

.service-grid h3 a,
.service-grid-full h2 a {
  text-decoration: none;
}

.service-grid h3 a:hover,
.service-grid-full h2 a:hover {
  color: var(--teal-dark);
}

.service-grid .card-link {
  margin-top: 22px;
  display: inline-flex;
}

.service-grid-full {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.district-grid > a {
  min-height: 190px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  border: 1px solid var(--line);
  border-radius: 22px;
  color: var(--navy);
  background: var(--white);
  box-shadow: 0 16px 38px rgba(13, 46, 62, 0.07);
  text-decoration: none;
}

.district-grid > a:hover {
  border-color: rgba(22, 166, 161, 0.55);
  transform: translateY(-2px);
}

.district-grid span {
  color: var(--teal-dark);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.district-grid strong {
  margin-top: 8px;
  font-size: 1.55rem;
  letter-spacing: -0.035em;
}

.district-grid small {
  margin-top: 18px;
  color: var(--ink-soft);
  font-weight: 800;
}

.district-grid p {
  margin: 14px 0 0;
  color: var(--ink-soft);
  line-height: 1.62;
}

.district-grid-large > a {
  min-height: 330px;
  justify-content: flex-start;
}

.district-grid-large small {
  margin-top: auto;
}

.process-layout,
.detail-grid,
.faq-section {
  display: grid;
  grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(36px, 8vw, 110px);
}

.process-layout > div > p:not(.eyebrow),
.detail-grid > div > p:not(.eyebrow) {
  color: var(--ink-soft);
  line-height: 1.7;
}

.process-list,
.number-list,
.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li,
.number-list li {
  padding: 22px 0;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  border-bottom: 1px solid var(--line);
}

.process-list li:first-child,
.number-list li:first-child {
  padding-top: 0;
}

.process-list li > span,
.number-list li > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--navy);
  background: rgba(22, 166, 161, 0.13);
  font-weight: 900;
}

.process-list strong {
  color: var(--navy);
  font-size: 1.05rem;
}

.process-list p,
.number-list p {
  margin: 6px 0 0;
  color: var(--ink-soft);
  line-height: 1.62;
}

.safety-banner {
  padding: clamp(28px, 6vw, 54px);
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(28px, 7vw, 84px);
  border-radius: 28px;
  color: rgba(255, 255, 255, 0.82);
  background: var(--navy);
  box-shadow: var(--shadow);
}

.safety-banner .eyebrow {
  color: #79d8d4;
}

.safety-banner h2 {
  color: var(--white);
}

.safety-banner p {
  margin: 0;
  line-height: 1.74;
}

.safety-banner.compact {
  box-shadow: none;
}

.page-hero {
  padding-block: clamp(54px, 9vw, 104px) clamp(46px, 7vw, 78px);
}

.page-hero-media-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  align-items: center;
  gap: clamp(36px, 7vw, 82px);
}

.page-hero h1 {
  max-width: 18ch;
  font-size: clamp(2.35rem, 6.4vw, 5rem);
}

.landing-hero h1 {
  max-width: 15ch;
  font-size: clamp(2.3rem, 5vw, 4.25rem);
}

.narrow-hero {
  max-width: 900px;
}

.breadcrumbs {
  margin-bottom: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 0.83rem;
}

.breadcrumbs a {
  color: var(--teal-dark);
  font-weight: 800;
}

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

.check-list li {
  min-height: 94px;
  padding: 20px 20px 20px 54px;
  position: relative;
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--navy);
  background: var(--white);
  font-weight: 800;
  line-height: 1.45;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 20px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--navy);
  background: rgba(22, 166, 161, 0.15);
  font-size: 0.8rem;
  font-weight: 900;
}

.intent-badges {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.intent-badges span {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.75);
  font-size: 0.8rem;
  font-weight: 800;
}

.two-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.info-card {
  padding: clamp(26px, 5vw, 44px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
}

.info-card h2 {
  font-size: clamp(1.55rem, 3vw, 2.2rem);
}

.info-card > p:not(.eyebrow) {
  color: var(--ink-soft);
  line-height: 1.72;
}

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

.faq-list summary {
  padding: 22px 38px 22px 0;
  position: relative;
  color: var(--navy);
  font-weight: 900;
  line-height: 1.45;
  cursor: pointer;
  list-style: none;
}

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

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 19px;
  right: 4px;
  font-size: 1.35rem;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  margin: -4px 0 22px;
  color: var(--ink-soft);
  line-height: 1.68;
}

.prose {
  max-width: 780px;
  padding-top: 0;
}

.prose h2 {
  margin-top: 42px;
  font-size: 1.55rem;
}

.prose p {
  color: var(--ink-soft);
  line-height: 1.78;
}

.site-footer {
  padding-block: 28px;
  color: rgba(255, 255, 255, 0.8);
  background: var(--navy);
}

.footer-grid {
  padding-block: 44px;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(130px, 0.6fr));
  gap: clamp(24px, 4vw, 54px);
}

.footer-grid > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer-grid strong,
.footer-brand {
  color: var(--white);
  font-weight: 900;
  text-decoration: none;
}

.footer-grid a:not(.footer-brand) {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.footer-grid a:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer-grid p {
  max-width: 48ch;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
}

.footer-bottom {
  padding-block: 22px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.site-footer p {
  margin: 0;
  font-size: 0.88rem;
}

.maintenance-page,
.panel-page {
  min-height: 100vh;
  padding: 24px;
  display: grid;
  place-items: center;
}

.maintenance-card,
.panel-card {
  width: min(560px, 100%);
  padding: clamp(28px, 6vw, 56px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.maintenance-card h1,
.panel-card h1 {
  max-width: none;
  margin-top: 24px;
  font-size: clamp(2rem, 7vw, 3.2rem);
  line-height: 1.05;
}

.maintenance-card > p:not(.eyebrow),
.panel-card > p:not(.eyebrow) {
  color: var(--ink-soft);
  line-height: 1.65;
}

.panel-form {
  display: grid;
  gap: 18px;
  margin-top: 30px;
}

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

.panel-form input {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid #b8ccd5;
  border-radius: 10px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

.panel-form textarea,
.panel-form select {
  width: 100%;
  min-height: 48px;
  padding: 11px 12px;
  border: 1px solid #b8ccd5;
  border-radius: 10px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

.panel-form textarea {
  min-height: 96px;
  resize: vertical;
  line-height: 1.55;
}

.panel-form input:focus {
  outline: 3px solid rgba(22, 166, 161, 0.2);
  border-color: var(--teal);
}

.panel-form textarea:focus,
.panel-form select:focus {
  outline: 3px solid rgba(22, 166, 161, 0.2);
  border-color: var(--teal);
}

.panel-form button {
  min-height: 48px;
  border: 0;
  border-radius: 10px;
  color: var(--white);
  background: var(--navy);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.form-error,
.form-notice {
  padding: 12px 14px;
  border-radius: 10px;
  line-height: 1.5;
}

.form-error {
  color: #7c1e1e;
  background: #fff0f0;
}

.form-notice {
  color: #175a58;
  background: #e9f8f7;
}

.panel-dashboard {
  width: min(920px, 100%);
}

.panel-dashboard .panel-card {
  width: 100%;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-block: 28px;
}

.metric {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
}

.metric small,
.metric strong {
  display: block;
}

.metric small {
  color: var(--ink-soft);
}

.metric strong {
  margin-top: 8px;
  color: var(--navy);
  font-size: 1.15rem;
}

.panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.panel-actions form {
  margin: 0;
}

.panel-actions a,
.panel-actions button {
  min-height: 42px;
  padding: 10px 14px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--navy);
  background: var(--white);
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.quick-check-section {
  color: rgba(255, 255, 255, 0.78);
  background:
    radial-gradient(circle at 92% 2%, rgba(22, 166, 161, 0.24), transparent 27rem),
    linear-gradient(145deg, #0b2d46, var(--navy));
}

.quick-check-heading {
  margin-bottom: 34px;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.7fr);
  align-items: end;
  justify-content: space-between;
  gap: clamp(28px, 7vw, 90px);
}

.quick-check-heading .eyebrow {
  color: #79d8d4;
}

.quick-check-heading h2 {
  max-width: 14ch;
  margin: 0;
  color: var(--white);
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.quick-check-heading > p {
  margin: 0;
  line-height: 1.72;
}

.quick-check {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 30px 80px rgba(5, 24, 38, 0.32);
}

.quick-check-progress {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
  list-style: none;
}

.quick-check-progress li {
  min-height: 68px;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-right: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 800;
}

.quick-check-progress li:last-child {
  border-right: 0;
}

.quick-check-progress span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--navy);
  background: #e9f2f4;
  font-size: 0.78rem;
  font-weight: 900;
}

.quick-check-progress li[aria-current="step"] {
  color: var(--navy);
  background: rgba(22, 166, 161, 0.07);
}

.quick-check-progress li[aria-current="step"] span,
.quick-check-progress li.is-complete span {
  color: var(--white);
  background: var(--teal-dark);
}

.quick-check-progress li.is-complete span::before {
  content: "✓";
}

.quick-check-progress li.is-complete span {
  font-size: 0;
}

.quick-check-progress li.is-complete span::before {
  font-size: 0.8rem;
}

.quick-check-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(330px, 0.82fr);
}

.quick-check-controls {
  padding: clamp(24px, 5vw, 52px);
}

.quick-check-step + .quick-check-step {
  margin-top: 34px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.quick-check-step-title {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.quick-check-step-title > span {
  color: var(--teal-dark);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.quick-check-step-title h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.05rem;
}

.choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.choice-row button,
.symptom-options button {
  min-height: 48px;
  padding: 11px 14px;
  border: 1px solid #c9d8de;
  border-radius: 12px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
}

.choice-row button:hover,
.symptom-options button:hover {
  border-color: rgba(22, 166, 161, 0.65);
  background: rgba(22, 166, 161, 0.055);
}

.choice-row button[aria-pressed="true"],
.symptom-options button[aria-pressed="true"] {
  border-color: var(--teal-dark);
  color: var(--white);
  background: var(--teal-dark);
  box-shadow: 0 8px 20px rgba(11, 121, 118, 0.19);
}

.symptom-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.symptom-options button {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  text-align: left;
  line-height: 1.4;
}

.symptom-options i {
  flex: 0 0 auto;
  font-style: normal;
}

.quick-check-result {
  min-height: 100%;
  padding: clamp(26px, 5vw, 48px);
  color: rgba(255, 255, 255, 0.8);
  background:
    radial-gradient(circle at 90% 10%, rgba(22, 166, 161, 0.34), transparent 18rem),
    var(--navy);
}

.quick-check-result .result-kicker,
.quick-check-result .result-match {
  display: block;
  color: #87ddd8;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.quick-check-result h3 {
  margin: 18px 0 14px;
  color: var(--white);
  font-size: clamp(1.55rem, 3vw, 2.4rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.quick-check-result p {
  line-height: 1.68;
}

.quick-check-result small {
  margin-top: 22px;
  display: block;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.55;
}

.quick-check-result .form-notice {
  color: #123b5d;
}

.result-action {
  margin-top: 22px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
}

.result-action strong {
  color: var(--white);
}

.result-action p {
  margin: 7px 0 0;
}

.result-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.result-links .primary-link,
.result-links .secondary-link {
  margin-top: 22px;
}

.result-links .secondary-link {
  border-color: rgba(255, 255, 255, 0.24);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.quick-check-status {
  margin: 24px 0 0;
  color: #aee7e4;
  font-size: 0.86rem;
  font-weight: 800;
}

.service-filter {
  margin-bottom: 26px;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
}

.service-filter p {
  margin: 0;
  flex: 0 0 auto;
  color: var(--ink-soft);
  font-size: 0.84rem;
  font-weight: 700;
}

.mobile-contact-bar {
  display: none;
}

.panel-editor {
  width: min(1080px, 100%);
}

.panel-heading-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.panel-heading-row h1 {
  margin-top: 0;
}

.panel-heading-row > a {
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--navy);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.panel-form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(200px, 0.4fr);
  gap: 16px;
}

.panel-choice-editor {
  margin: 8px 0 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.panel-choice-editor legend {
  padding-inline: 8px;
  color: var(--navy);
  font-weight: 900;
}

.panel-choice-editor > p {
  margin: 0 0 22px;
  color: var(--ink-soft);
  line-height: 1.55;
}

.panel-choice-editor section + section {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.panel-choice-editor h2 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 1rem;
}

.panel-form .panel-check-row {
  min-height: 54px;
  padding: 10px 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border-bottom: 1px solid rgba(220, 232, 237, 0.72);
  cursor: pointer;
}

.panel-form .panel-check-row:last-child {
  border-bottom: 0;
}

.panel-form .panel-check-row input {
  width: 20px;
  min-height: 20px;
  margin: 2px 0 0;
  accent-color: var(--teal-dark);
}

.panel-check-row span,
.panel-check-row small {
  display: block;
}

.panel-check-row small {
  margin-top: 4px;
  color: var(--ink-soft);
  font-weight: 500;
}

.panel-page-top {
  place-items: start center;
}

.panel-content-dashboard {
  width: min(1180px, 100%);
}

.panel-content-dashboard > .panel-card,
.content-editor > .panel-card {
  width: 100%;
}

.content-metrics {
  margin-bottom: 20px;
}

.panel-jump-nav,
.content-status-line,
.editor-state-bar,
.editor-submit-row,
.preview-toolbar > div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.panel-jump-nav {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
}

.panel-jump-nav a,
.editor-state-bar a,
.preview-toolbar a {
  padding: 9px 12px;
  border-radius: 9px;
  color: var(--navy);
  background: var(--white);
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: none;
}

.content-group {
  margin-top: 36px;
  scroll-margin-top: 20px;
}

.content-group-heading,
.quality-heading-row,
.content-record,
.revision-list article,
.preview-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.content-group-heading h2,
.quality-heading-row h2,
.revision-section h2 {
  margin: 0;
  color: var(--navy);
}

.content-group-heading .eyebrow,
.quality-heading-row .eyebrow,
.revision-section .eyebrow {
  margin-bottom: 6px;
}

.content-group-heading > span {
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 800;
}

.content-record-list {
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
}

.content-record {
  padding: 18px;
  align-items: flex-start;
  border-bottom: 1px solid var(--line);
}

.content-record:last-child {
  border-bottom: 0;
}

.content-record h3 {
  margin: 10px 0 4px;
  color: var(--navy);
  font-size: 1.02rem;
}

.content-record p,
.content-record small {
  display: block;
  margin: 0;
  color: var(--ink-soft);
}

.content-record small {
  margin-top: 5px;
}

.status-live {
  border-color: rgba(22, 166, 161, 0.24);
}

.status-offline {
  color: #7c1e1e;
  background: #fff0f0;
}

.status-draft {
  border-color: rgba(255, 122, 33, 0.32);
  color: #9a440c;
  background: rgba(255, 122, 33, 0.1);
}

.content-record-actions {
  display: flex;
  gap: 8px;
}

.content-record-actions a,
.revision-list button,
.discard-draft-form button {
  min-height: 40px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--navy);
  background: var(--white);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.content-editor {
  width: min(1100px, 100%);
}

.editor-route {
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-weight: 800;
}

.editor-state-bar {
  margin: 24px 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
}

.editor-state-bar a:first-of-type {
  margin-left: auto;
}

.quality-panel {
  margin: 24px 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fbfdfe;
}

.quality-count {
  padding: 8px 11px;
  border-radius: 999px;
  color: var(--teal-dark);
  background: #e9f8f7;
  font-size: 0.82rem;
}

.quality-count.has-errors {
  color: #7c1e1e;
  background: #fff0f0;
}

.quality-empty {
  margin: 16px 0 0;
  color: var(--ink-soft);
}

.quality-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.quality-list li {
  padding: 11px 0;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 10px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  line-height: 1.5;
}

.quality-error strong {
  color: #9c2424;
}

.quality-warning strong {
  color: #9a5a0c;
}

.content-form label > span {
  display: block;
}

.content-form label small {
  color: var(--ink-soft);
  font-weight: 500;
}

.editor-submit-row button {
  flex: 1 1 220px;
  padding-inline: 18px;
}

.editor-submit-row .button-publish {
  background: var(--teal-dark);
}

.discard-draft-form {
  margin-top: 14px;
}

.discard-draft-form button {
  color: #7c1e1e;
}

.revision-section {
  margin-top: 44px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.revision-section > p {
  color: var(--ink-soft);
}

.revision-list {
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.revision-list article {
  padding: 14px;
  border-bottom: 1px solid var(--line);
}

.revision-list article:last-child {
  border-bottom: 0;
}

.revision-list strong,
.revision-list span {
  display: block;
}

.revision-list span {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 0.8rem;
}

.revision-list form {
  margin: 0;
}

.panel-preview-page {
  background: #edf3f6;
}

.preview-toolbar {
  position: sticky;
  z-index: 5;
  top: 0;
  padding: 12px clamp(16px, 4vw, 42px);
  color: var(--white);
  background: var(--navy);
  box-shadow: 0 8px 24px rgba(13, 46, 62, 0.18);
}

.preview-toolbar strong,
.preview-toolbar span {
  display: block;
}

.preview-toolbar span {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.8rem;
}

.preview-shell {
  width: min(900px, calc(100% - 32px));
  margin: 32px auto 70px;
}

.search-preview,
.content-preview-card,
.preview-quality {
  padding: clamp(22px, 5vw, 42px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 14px 40px rgba(13, 46, 62, 0.08);
}

.search-preview small {
  color: #28794e;
}

.search-preview h2 {
  margin: 8px 0;
  color: #174ea6;
  font-size: 1.3rem;
}

.search-preview p,
.content-preview-card p,
.content-preview-card li,
.preview-quality li {
  color: var(--ink-soft);
  line-height: 1.7;
}

.content-preview-card,
.preview-quality {
  margin-top: 18px;
}

.content-preview-card h1 {
  max-width: 19ch;
}

.content-preview-card section {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.content-preview-card section h2,
.preview-quality h2 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 1.2rem;
}

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

  .header-inner {
    min-height: 72px;
  }

  .brand > span:last-child {
    max-width: 150px;
    line-height: 1.15;
  }

  .hero {
    padding-block: 56px;
  }

  .hero-split,
  .page-hero-media-grid,
  .service-grid,
  .service-grid-full,
  .district-grid,
  .proof-grid,
  .process-layout,
  .detail-grid,
  .faq-section,
  .two-card-grid,
  .safety-banner,
  .metric-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .quick-check-heading,
  .quick-check-grid,
  .panel-form-grid {
    grid-template-columns: 1fr;
  }

  .quick-check-heading {
    align-items: start;
  }

  .quick-check-heading h2 {
    max-width: 16ch;
  }

  .symptom-options {
    grid-template-columns: 1fr;
  }

  .quick-check-result {
    min-height: 430px;
  }

  .service-filter {
    align-items: flex-start;
    flex-direction: column;
  }

  .header-contact {
    display: none;
  }

  .mobile-contact-bar {
    position: fixed;
    z-index: 80;
    right: 14px;
    bottom: max(14px, env(safe-area-inset-bottom));
    left: 14px;
    padding: 6px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    background: rgba(18, 59, 93, 0.96);
    box-shadow: 0 16px 45px rgba(5, 24, 38, 0.35);
    backdrop-filter: blur(12px);
  }

  .mobile-contact-bar a {
    min-height: 52px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border-radius: 11px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
    font-size: 0.92rem;
    text-decoration: none;
  }

  .mobile-contact-bar a:first-child {
    color: var(--ink);
    background: var(--orange);
  }

  .mobile-contact-bar span {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: inherit;
    background: rgba(255, 255, 255, 0.16);
    font-size: 0.75rem;
    font-weight: 900;
  }

  .site-footer {
    padding-bottom: 98px;
  }

  .panel-heading-row {
    flex-direction: column-reverse;
  }

  .content-group-heading,
  .content-record,
  .revision-list article,
  .quality-heading-row,
  .preview-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .content-record-actions,
  .content-record-actions a,
  .editor-state-bar a,
  .revision-list form,
  .revision-list button,
  .preview-toolbar > div,
  .preview-toolbar a {
    width: 100%;
  }

  .content-record-actions {
    flex-direction: column;
  }

  .editor-state-bar a:first-of-type {
    margin-left: 0;
  }

  .main-nav {
    gap: 0;
  }

  .main-nav a {
    padding-inline: 8px;
    font-size: 0.78rem;
  }

  .hero-split {
    align-items: stretch;
  }

  .proof-grid div,
  .proof-grid div:first-child {
    padding: 18px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .proof-grid div:last-child {
    border-bottom: 0;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .check-list {
    grid-template-columns: 1fr;
  }

  .service-grid article {
    min-height: 0;
  }

  .service-grid h2 {
    margin-top: 30px;
  }

  .notice,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .notice strong {
    white-space: normal;
  }
}

@media (max-width: 620px) {
  .header-inner {
    padding-block: 12px;
    flex-wrap: wrap;
  }

  .main-nav {
    width: 100%;
    padding-top: 8px;
    justify-content: stretch;
    border-top: 1px solid var(--line);
  }

  .main-nav a {
    flex: 1 1 30%;
    text-align: center;
  }

  .nav-toggle {
    min-width: 86px;
    min-height: 44px;
    padding: 9px 12px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border: 1px solid var(--line);
    border-radius: 11px;
    color: var(--navy);
    background: var(--white);
    font: inherit;
    font-size: 0.82rem;
    font-weight: 900;
    cursor: pointer;
  }

  .nav-toggle i,
  .nav-toggle i::before,
  .nav-toggle i::after {
    width: 17px;
    height: 2px;
    display: block;
    border-radius: 2px;
    background: currentColor;
  }

  .nav-toggle i {
    position: relative;
  }

  .nav-toggle i::before,
  .nav-toggle i::after {
    content: "";
    position: absolute;
    left: 0;
  }

  .nav-toggle i::before {
    top: -5px;
  }

  .nav-toggle i::after {
    top: 5px;
  }

  .main-nav {
    display: none;
  }

  .main-nav.is-open {
    display: flex;
  }

  .quick-check-progress li {
    min-height: 58px;
    padding: 12px 9px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    font-size: 0.72rem;
  }

  .quick-check-progress span {
    width: 25px;
    height: 25px;
  }

  .quick-check-controls,
  .quick-check-result {
    padding: 22px;
  }

  .district-choice-row button {
    flex: 1 1 calc(50% - 10px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

.footer-link {
  width: fit-content;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.consent-panel {
  position: fixed;
  z-index: 120;
  right: 20px;
  bottom: 20px;
  left: 20px;
  max-width: 940px;
  margin-inline: auto;
  padding: 22px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px;
  border: 1px solid rgba(18, 59, 93, 0.18);
  border-radius: 18px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 70px rgba(5, 24, 38, 0.26);
}

.consent-panel[hidden] {
  display: none;
}

.consent-panel h2,
.consent-panel p {
  margin: 0;
}

.consent-panel h2 {
  margin-bottom: 7px;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.consent-panel p:not(.consent-kicker) {
  max-width: 68ch;
  color: var(--muted);
  font-size: 0.92rem;
}

.consent-panel a {
  margin-top: 8px;
  display: inline-block;
  color: var(--teal-dark);
  font-size: 0.86rem;
  font-weight: 800;
}

.consent-kicker {
  margin-bottom: 4px !important;
  color: var(--teal-dark);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.consent-actions {
  display: flex;
  gap: 10px;
  white-space: nowrap;
}

.consent-actions button {
  min-height: 46px;
  padding: 10px 16px;
  border-radius: 11px;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 900;
  cursor: pointer;
}

.consent-actions .primary-button {
  border: 1px solid var(--teal-dark);
  color: var(--white);
  background: var(--teal-dark);
}

.consent-actions .secondary-button {
  border: 1px solid var(--line);
  color: var(--navy);
  background: var(--white);
}

@media (max-width: 760px) {
  .consent-panel {
    bottom: 90px;
    padding: 18px;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .consent-actions,
  .consent-actions button {
    width: 100%;
  }

  .consent-actions {
    flex-direction: column-reverse;
  }
}
