:root {
  --navy: #06275a;
  --navy-deep: #031a3d;
  --blue: #0879c9;
  --blue-bright: #1399df;
  --teal: #079aa8;
  --teal-soft: #d9f3f5;
  --sky: #dff3fb;
  --ice: #f4f9fd;
  --paper: #ffffff;
  --ink: #10213d;
  --muted: #607087;
  --line: #d8e5ef;
  --line-green: #06c755;
  --shadow-sm: 0 10px 28px rgba(6, 39, 90, 0.08);
  --shadow: 0 22px 60px rgba(6, 39, 90, 0.14);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --content: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

section[id] {
  scroll-margin-top: 92px;
}

[hidden] {
  display: none !important;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px #fff;
}

::selection {
  color: #fff;
  background: var(--blue);
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--navy);
  background: #fff;
  box-shadow: var(--shadow);
  transform: translateY(-160%);
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 11px 21px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-line {
  color: #063d24;
  background: var(--line-green);
  box-shadow: 0 12px 26px rgba(6, 199, 85, 0.25);
}

.button-line:hover {
  background: #08b94f;
}

.button-primary {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 12px 26px rgba(8, 121, 201, 0.23);
}

.button-primary:hover {
  background: #066caf;
}

.button-light {
  color: var(--navy);
  background: #fff;
  box-shadow: 0 12px 26px rgba(2, 20, 46, 0.18);
}

.button-outline {
  color: var(--navy);
  border-color: #9bb7cc;
  background: #fff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto auto;
  min-height: 84px;
  align-items: center;
  gap: 28px;
  padding: 10px max(24px, calc((100vw - var(--content)) / 2));
  border-bottom: 1px solid rgba(216, 229, 239, 0.86);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  text-decoration: none;
}

.brand img {
  width: 60px;
  height: 60px;
  flex: 0 0 auto;
  border-radius: 50%;
  object-fit: cover;
}

.brand span {
  min-width: 0;
}

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

.brand strong {
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: 0.04em;
}

.brand small {
  margin-top: 3px;
  color: var(--teal);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.site-navigation {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-navigation a {
  position: relative;
  color: #334961;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.site-navigation a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  border-radius: 99px;
  background: var(--teal);
  content: "";
  transform: scaleX(0);
  transition: transform 160ms ease;
}

.site-navigation a:hover::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  min-height: 46px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}

.menu-label {
  margin-left: 6px;
  font-size: 13px;
  font-weight: 800;
}

.header-line {
  min-height: 42px;
  padding: 9px 18px;
  font-size: 14px;
}

.hero {
  position: relative;
  display: grid;
  min-height: 650px;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  overflow: hidden;
  padding: 86px max(28px, calc((100vw - var(--content)) / 2)) 106px;
  color: #fff;
  background:
    radial-gradient(circle at 82% 15%, rgba(39, 202, 216, 0.19), transparent 26%),
    radial-gradient(circle at 5% 95%, rgba(17, 143, 207, 0.32), transparent 34%),
    linear-gradient(135deg, #031a3d 0%, #06275a 52%, #0879b9 100%);
}

.hero::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 38px 38px;
  content: "";
  mask-image: linear-gradient(to bottom, #000, transparent);
}

.hero-copy,
.hero-visual {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 13px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.hero .eyebrow,
.tests-section .eyebrow,
.final-cta .eyebrow {
  color: #67e0e5;
}

.hero h1 {
  max-width: 600px;
  margin: 0;
  font-size: clamp(48px, 6.3vw, 82px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.hero-lead {
  max-width: 570px;
  margin: 24px 0 0;
  color: #d8e9f7;
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 24px;
  color: #b8d4e8;
  font-size: 14px;
  font-weight: 700;
}

.hero-note span {
  color: #67e0e5;
}

.hero-visual {
  min-height: 470px;
}

.logo-stage {
  position: absolute;
  top: 45%;
  left: 52%;
  width: min(420px, 34vw);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
}

.logo-stage img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 32px 90px rgba(0, 13, 36, 0.38);
}

.orbit {
  position: absolute;
  border: 1px solid rgba(95, 226, 232, 0.32);
  border-radius: 50%;
}

.orbit-one {
  inset: -38px;
  animation: orbitPulse 4s ease-in-out infinite;
}

.orbit-two {
  inset: -78px;
  border-color: rgba(255, 255, 255, 0.12);
  animation: orbitPulse 4s 1s ease-in-out infinite;
}

.hero-metric {
  position: absolute;
  z-index: 4;
  display: grid;
  min-width: 150px;
  gap: 2px;
  padding: 14px 17px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 16px;
  background: rgba(5, 32, 70, 0.72);
  box-shadow: 0 15px 35px rgba(0, 15, 38, 0.2);
  backdrop-filter: blur(12px);
}

.hero-metric strong {
  color: #fff;
  font-size: 17px;
}

.hero-metric span {
  color: #a9cadf;
  font-size: 12px;
}

.metric-one {
  top: 62px;
  right: 0;
}

.metric-two {
  right: 40px;
  bottom: 20px;
}

@keyframes orbitPulse {
  0%,
  100% { transform: scale(1); opacity: 0.62; }
  50% { transform: scale(1.03); opacity: 1; }
}

.trust-strip {
  position: relative;
  z-index: 5;
  display: grid;
  width: min(var(--content), calc(100% - 48px));
  grid-template-columns: repeat(4, 1fr);
  margin: -52px auto 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow);
}

.trust-card {
  display: flex;
  min-height: 104px;
  align-items: center;
  gap: 13px;
  padding: 20px;
  border-right: 1px solid var(--line);
  text-decoration: none;
}

.trust-card:last-child {
  border-right: 0;
}

.trust-card--interactive {
  transition: color 160ms ease, background-color 160ms ease;
}

.trust-card--interactive:hover {
  color: var(--navy);
  background: #f0f8fc;
}

.trust-card--line:hover {
  background: #e9fbf0;
}

.trust-icon {
  display: inline-grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 14px;
  color: var(--navy);
  background: var(--sky);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.03em;
}

.trust-card--line .trust-icon {
  color: #075a2b;
  background: #d9f8e5;
}

.trust-copy strong,
.trust-copy small {
  display: block;
}

.trust-copy strong {
  color: var(--navy);
  font-size: 14px;
}

.trust-copy small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.section {
  padding: 104px max(28px, calc((100vw - var(--content)) / 2));
}

.section-heading {
  max-width: 760px;
  margin-bottom: 38px;
}

.section-heading h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(34px, 4.6vw, 54px);
  line-height: 1.18;
  letter-spacing: -0.035em;
}

.section-heading > p:last-child {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.packages-section {
  background:
    radial-gradient(circle at 100% 15%, rgba(7, 154, 168, 0.08), transparent 30%),
    #fff;
}

.package-toolbar,
.test-search-panel {
  display: grid;
  max-width: 680px;
  grid-template-columns: 1fr auto;
  gap: 8px 18px;
  margin-bottom: 30px;
}

.package-toolbar label,
.test-search-panel label {
  grid-column: 1 / -1;
  color: var(--navy);
  font-size: 14px;
  font-weight: 850;
}

.package-toolbar input,
.test-search-panel input {
  min-width: 0;
  height: 52px;
  padding: 0 18px;
  border: 1px solid #bdd1df;
  border-radius: 14px;
  color: var(--ink);
  background: #fff;
}

.package-toolbar p,
.test-search-panel p {
  align-self: center;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

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

.package-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  scroll-margin-top: 7rem;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.package-card:hover {
  border-color: #9bc4db;
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.package-card--wide {
  grid-column: span 2;
}

.package-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.package-number {
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.package-count {
  padding: 4px 9px;
  border-radius: 999px;
  color: #176579;
  background: var(--teal-soft);
  font-size: 11px;
  font-weight: 800;
}

.package-card h3 {
  margin: 18px 0 8px;
  color: var(--navy);
  font-size: 23px;
  line-height: 1.3;
}

.package-card > p {
  margin: 0;
  color: var(--muted);
}

.package-price {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 24px 0 15px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.package-price span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.package-price strong {
  color: var(--blue);
  font-size: 26px;
  line-height: 1;
}

.package-card .package-note {
  margin: -5px 0 14px;
  color: #a24a1e;
  font-size: 12px;
  font-weight: 750;
}

.package-card details {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.package-card summary,
.test-category summary {
  cursor: pointer;
  color: var(--navy);
  font-weight: 850;
}

.package-card h4 {
  margin: 15px 0 5px;
  color: var(--teal);
  font-size: 13px;
}

.package-card ul {
  margin: 13px 0 0;
  padding-left: 20px;
  color: #465a70;
  font-size: 14px;
}

.package-card li + li {
  margin-top: 5px;
}

.price-disclaimer {
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.tests-section {
  color: #eaf4fc;
  background:
    radial-gradient(circle at 92% 8%, rgba(34, 178, 197, 0.2), transparent 24%),
    linear-gradient(145deg, #031a3d, #06275a 56%, #073d70);
}

.section-heading--light h2,
.section-heading--light > p:last-child {
  color: #fff;
}

.section-heading--light > p:last-child {
  color: #c5dbea;
}

.test-search-panel {
  max-width: none;
  grid-template-columns: 1fr auto;
  padding: 22px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius-md);
  background: rgba(3, 22, 53, 0.54);
}

.test-search-panel label {
  color: #fff;
}

.search-field {
  position: relative;
}

.search-field span {
  position: absolute;
  top: 50%;
  left: 17px;
  color: var(--blue);
  font-size: 24px;
  transform: translateY(-54%);
}

.test-search-panel input {
  width: 100%;
  padding-left: 48px;
  border-color: transparent;
}

.test-search-panel p {
  color: #b8d2e5;
}

.catalog {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.98);
  box-shadow: 0 26px 70px rgba(0, 14, 36, 0.3);
}

.catalog-header,
.single-test-row {
  display: grid;
  grid-template-columns: minmax(170px, 1.05fr) minmax(190px, 1.2fr) minmax(115px, 0.62fr) minmax(190px, 1.15fr);
  gap: 18px;
}

.catalog-header {
  padding: 13px 20px;
  color: #d2e7f5;
  background: #082b57;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.05em;
}

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

.test-category + .test-category {
  border-top: 1px solid var(--line);
}

.test-category > summary {
  display: flex;
  list-style: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 17px 20px;
  background: #eaf5fb;
}

.test-category > summary::-webkit-details-marker {
  display: none;
}

.test-category > summary::after {
  content: "＋";
  color: var(--blue);
  font-size: 22px;
}

.test-category[open] > summary::after {
  content: "−";
}

.test-category summary span {
  font-size: 17px;
}

.test-category summary small {
  margin-left: auto;
  color: var(--muted);
  font-size: 12px;
}

.single-test-row {
  align-items: start;
  padding: 15px 20px;
  color: #42546a;
  border-top: 1px solid #edf2f6;
  font-size: 13px;
  line-height: 1.55;
}

.single-test-row > span:first-child {
  color: var(--navy);
  font-weight: 800;
}

.single-test-row strong {
  color: var(--blue);
  font-size: 13px;
}

.single-test-row:nth-child(even) {
  background: #fbfdff;
}

.single-test-row:hover {
  background: #eef8fc;
}

.catalog-empty {
  margin-top: 22px;
  padding: 30px;
  border: 1px dashed rgba(255,255,255,.3);
  border-radius: var(--radius-md);
  text-align: center;
}

.catalog-empty strong {
  font-size: 20px;
}

.catalog-empty p {
  color: #bed4e5;
}

.price-disclaimer--light {
  color: #bad1e3;
}

.preparation-section {
  background:
    linear-gradient(180deg, rgba(223, 243, 251, 0.55), rgba(255,255,255,0)),
    #fff;
}

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

.preparation-grid article {
  position: relative;
  min-height: 200px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.preparation-grid article > span {
  color: #c8e6f2;
  font-size: 44px;
  font-weight: 900;
  line-height: 1;
}

.preparation-grid h3 {
  margin: 18px 0 8px;
  color: var(--navy);
  font-size: 20px;
}

.preparation-grid p {
  margin: 0;
  color: var(--muted);
}

.contact-section {
  background: #f5f9fc;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  gap: 24px;
}

.contact-card,
.map-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.contact-card {
  padding: 30px;
}

.contact-card > img {
  width: 94px;
  height: 94px;
  margin-bottom: 24px;
  border-radius: 50%;
  object-fit: cover;
}

.contact-item {
  display: grid;
  grid-template-columns: 66px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.contact-item > span {
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .05em;
}

.contact-item a {
  color: var(--navy);
  font-weight: 800;
  text-decoration: none;
}

.contact-item a:hover {
  color: var(--blue);
  text-decoration: underline;
}

.hours-card {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 12px;
  margin-top: 18px;
}

.hours-card > div {
  padding: 16px;
  border-radius: 14px;
  background: #eff7fb;
}

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

.hours-card strong {
  margin-bottom: 7px;
  color: var(--navy);
  font-size: 13px;
}

.hours-card span {
  color: #4e647a;
  font-size: 13px;
}

.hours-card .closed {
  grid-column: 1 / -1;
  padding-block: 10px;
  color: #8a402f;
  background: #fff1ec;
}

.hours-card .closed strong {
  margin: 0;
  color: inherit;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
}

.contact-actions .button {
  min-height: 42px;
  padding: 9px 14px;
  font-size: 13px;
}

.map-card {
  display: flex;
  min-height: 560px;
  flex-direction: column;
}

.map-card iframe {
  width: 100%;
  min-height: 500px;
  flex: 1;
  border: 0;
}

.map-card > a {
  padding: 17px 20px;
  color: var(--blue);
  font-weight: 850;
  text-align: center;
  text-decoration: none;
}

.map-card > a:hover {
  background: #f1f8fc;
}

.final-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
  padding: 70px max(28px, calc((100vw - var(--content)) / 2));
  color: #fff;
  background:
    radial-gradient(circle at 85% 15%, rgba(76, 222, 231, 0.2), transparent 30%),
    var(--navy-deep);
}

.final-cta h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.2;
}

.final-cta p:not(.eyebrow) {
  max-width: 700px;
  margin: 14px 0 0;
  color: #c1d8e8;
}

.final-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1.2fr auto;
  align-items: center;
  gap: 32px;
  padding: 32px max(28px, calc((100vw - var(--content)) / 2));
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
}

.footer-brand strong,
.footer-brand span {
  display: block;
}

.footer-brand strong {
  color: var(--navy);
}

.footer-brand span {
  color: var(--muted);
  font-size: 12px;
}

.site-footer > p,
.site-footer > small {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

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

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: minmax(280px, 1fr) auto;
  }

  .site-navigation {
    position: absolute;
    top: calc(100% + 1px);
    right: 18px;
    left: 18px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .site-navigation[data-open="true"] {
    display: flex;
  }

  .site-navigation a {
    padding: 12px;
  }

  .site-navigation a::after,
  .header-line {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    justify-self: end;
    align-items: center;
  }

  .hero {
    min-height: 600px;
    grid-template-columns: 1fr .8fr;
  }

  .trust-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-card:nth-child(2) {
    border-right: 0;
  }

  .trust-card:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

  .package-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .package-card--wide {
    grid-column: span 2;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

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

  .site-footer > small {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 80px;
  }

  body {
    padding-bottom: 70px;
  }

  .site-header {
    min-height: 72px;
    padding: 8px 16px;
  }

  .brand {
    gap: 8px;
  }

  .brand img {
    width: 48px;
    height: 48px;
  }

  .brand strong {
    font-size: 15px;
  }

  .brand small {
    display: none;
  }

  .menu-label {
    display: none;
  }

  .hero {
    display: flex;
    min-height: auto;
    flex-direction: column;
    padding: 66px 22px 92px;
  }

  .hero h1 {
    font-size: clamp(46px, 14vw, 62px);
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-visual {
    width: 100%;
    min-height: 350px;
    margin-top: 30px;
  }

  .logo-stage {
    width: min(320px, 76vw);
  }

  .metric-one {
    top: 10px;
    right: 0;
  }

  .metric-two {
    right: auto;
    bottom: 0;
    left: 0;
  }

  .trust-strip {
    width: calc(100% - 28px);
    grid-template-columns: 1fr;
    margin-top: -48px;
  }

  .trust-card {
    min-height: 88px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-card:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }

  .trust-card:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 78px 18px;
  }

  .section-heading {
    margin-bottom: 28px;
  }

  .section-heading h2 {
    font-size: 36px;
  }

  .section-heading > p:last-child {
    font-size: 15px;
  }

  .package-toolbar,
  .test-search-panel {
    grid-template-columns: 1fr;
  }

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

  .package-card--wide {
    grid-column: auto;
  }

  .catalog-header {
    display: none;
  }

  .test-category > summary {
    padding: 15px 16px;
  }

  .single-test-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 17px 16px;
  }

  .single-test-row > * {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 9px;
  }

  .single-test-row > *::before {
    color: var(--muted);
    content: attr(data-label);
    font-size: 11px;
    font-weight: 800;
  }

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

  .contact-card {
    padding: 22px;
  }

  .contact-item {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .hours-card {
    grid-template-columns: 1fr;
  }

  .hours-card .closed {
    grid-column: auto;
  }

  .contact-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

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

  .map-card iframe {
    min-height: 350px;
  }

  .final-cta {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 58px 20px;
  }

  .final-actions {
    display: grid;
    justify-content: stretch;
  }

  .site-footer {
    grid-template-columns: 1fr;
    padding: 28px 18px;
  }

  .site-footer > small {
    grid-column: auto;
  }

  .mobile-action-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 200;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid #cbdbe7;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 -10px 30px rgba(6, 39, 90, 0.14);
    backdrop-filter: blur(12px);
  }

  .mobile-action-bar a {
    display: grid;
    min-height: 66px;
    place-items: center;
    align-content: center;
    gap: 2px;
    color: var(--navy);
    font-size: 11px;
    font-weight: 850;
    text-decoration: none;
  }

  .mobile-action-bar a + a {
    border-left: 1px solid var(--line);
  }

  .mobile-action-bar span {
    color: var(--teal);
    font-size: 9px;
    letter-spacing: .08em;
  }
}

@media (max-width: 390px) {
  .brand strong {
    font-size: 13px;
  }

  .menu-toggle {
    padding-inline: 10px;
  }

  .hero {
    padding-inline: 18px;
  }

  .hero h1 {
    font-size: 44px;
  }

  .hero-actions {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
