:root {
  /* Thay các file ảnh cùng tên để cập nhật ảnh thật khi bàn giao. */
  --hero-image: url("hero-construction.jpg");
  --about-image: url("img/thi-nghiem/PTN-ANHAU-01.jpg");
  --lab-image: url("lab-building.jpg");
  --documents-image: url("documents-cover.jpg");
  --ink: #1f2a37;
  --ink-soft: #5b6573;
  --paper: #f7f9fc;
  --paper-soft: #ffffff;
  --line: rgba(15, 76, 129, 0.16);
  --steel: #5b6573;
  --copper: #e9a63a;
  --copper-dark: #b96f13;
  --blueprint: #0f4c81;
  --cyan: #1fa9d6;
  --lab: #e9a63a;
  --white: #ffffff;
  --shadow: 0 24px 80px rgba(15, 76, 129, 0.13);
  --radius-lg: 32px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: min(1180px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Aptos, "Segoe UI", Tahoma, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(31, 169, 214, 0.14), transparent 34rem),
    radial-gradient(circle at 78% 8%, rgba(233, 166, 58, 0.12), transparent 28rem),
    linear-gradient(135deg, rgba(15, 76, 129, 0.07) 0 25%, transparent 25% 100%),
    var(--paper);
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3 {
  margin-top: 0;
}

p {
  color: var(--ink-soft);
}

ul {
  margin: 0;
  padding-left: 1.1rem;
}

li + li {
  margin-top: 0.35rem;
}

.skip-link,
.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:focus {
  z-index: 1000;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0.75rem 1rem;
  clip: auto;
  color: var(--white);
  background: var(--ink);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: var(--container);
  margin: 16px auto 0;
  padding: 12px;
  border: 1px solid rgba(15, 76, 129, 0.12);
  border-radius: 999px;
  background: rgba(247, 249, 252, 0.82);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 34px rgba(15, 76, 129, 0.09);
  transition: background 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 42px rgba(15, 76, 129, 0.14);
}

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

.nav-home {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(15, 76, 129, 0.12);
  border-radius: 50%;
  color: var(--blueprint);
  background: rgba(255, 255, 255, 0.92);
  flex: 0 0 auto;
}

.nav-home svg {
  width: 20px;
  height: 20px;
}

.brand-mark {
  display: grid;
  width: 64px;
  height: 48px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(15, 76, 129, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
}

.brand-mark img {
  width: 92%;
  height: 92%;
  object-fit: contain;
}

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

.brand strong {
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.brand small {
  color: var(--steel);
  font-size: 0.76rem;
}

.site-nav {
  display: flex;
  gap: 0.35rem;
  align-items: center;
}

.site-nav a {
  padding: 0.72rem 0.9rem;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 600;
  transition: color 180ms ease, background 180ms ease;
}

.site-nav .nav-home {
  padding: 0;
}

.site-nav a:hover {
  color: var(--ink);
  background: rgba(15, 76, 129, 0.08);
}

.site-nav .nav-cta {
  color: var(--white);
  background: var(--blueprint);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--blueprint);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 19px;
  height: 2px;
  margin: 4px auto;
  background: var(--white);
}

.section {
  width: var(--container);
  margin: 0 auto;
  padding: 92px 0;
}

.hero {
  position: relative;
  min-height: calc(100vh - 82px);
  display: grid;
  align-items: center;
  overflow: hidden;
  padding-top: 70px;
}

.hero::before {
  position: absolute;
  inset: 28px auto auto 46%;
  width: 46vw;
  height: 46vw;
  min-width: 420px;
  min-height: 420px;
  content: "";
  border-radius: 44% 56% 51% 49%;
  background:
    linear-gradient(rgba(15, 76, 129, 0.58), rgba(15, 76, 129, 0.22)),
    var(--hero-image) center / cover,
    radial-gradient(circle, rgba(31, 169, 214, 0.26), transparent 62%);
  opacity: 0.18;
  animation: heroDrift 18s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes heroDrift {
  from {
    transform: translate3d(0, 0, 0) rotate(-2deg) scale(1);
  }

  to {
    transform: translate3d(18px, -14px, 0) rotate(3deg) scale(1.035);
  }
}

.hero-grid,
.lab-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 48px;
  align-items: center;
}

.eyebrow {
  margin-bottom: 1rem;
  color: var(--copper-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 760px;
  margin-bottom: 1rem;
  font-size: clamp(2.35rem, 5.4vw, 4.85rem);
}

h2 {
  max-width: 820px;
  margin-bottom: 1.1rem;
  font-size: clamp(2.2rem, 4.7vw, 4.6rem);
}

h3 {
  margin-bottom: 0.75rem;
  color: var(--ink);
  font-size: 1.12rem;
  line-height: 1.25;
}

.hero-lead {
  max-width: 710px;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-subtitle {
  max-width: 740px;
  margin-bottom: 1.2rem;
  color: var(--blueprint);
  font-size: clamp(1.24rem, 2.5vw, 1.8rem);
  font-weight: 800;
  line-height: 1.24;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.hero-context {
  max-width: 760px;
  margin-top: 1.35rem;
  font-size: 1rem;
  line-height: 1.72;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.85rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

.button-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--blueprint), var(--cyan));
  box-shadow: 0 18px 38px rgba(15, 76, 129, 0.24);
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.36);
}

.button-ghost {
  border-color: rgba(15, 76, 129, 0.18);
  color: var(--blueprint);
  background: rgba(31, 169, 214, 0.08);
}

.hero-panel,
.disclosure-board,
.contact-card {
  border: 1px solid rgba(15, 76, 129, 0.12);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.hero-panel {
  position: relative;
  overflow: hidden;
  padding: 28px;
  isolation: isolate;
}

.hero-panel::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(rgba(15, 76, 129, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 76, 129, 0.08) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
  z-index: -2;
}

.hero-panel::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(135deg, rgba(15, 76, 129, 0.1), transparent 36%),
    radial-gradient(circle at 78% 22%, rgba(31, 169, 214, 0.2), transparent 32%),
    radial-gradient(circle at 22% 78%, rgba(233, 166, 58, 0.16), transparent 30%);
}

.panel-topline,
.capability-map,
.hero-stats {
  position: relative;
}

.panel-topline {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 22px;
  color: var(--steel);
  font-size: 0.86rem;
}

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

.capability-map {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  min-height: 360px;
  align-content: center;
}

.map-node {
  display: grid;
  min-height: 112px;
  place-items: center;
  border: 1px solid rgba(15, 76, 129, 0.14);
  border-radius: 26px;
  color: var(--ink);
  font-weight: 800;
  background: rgba(255, 255, 255, 0.68);
}

.map-node-main {
  grid-column: 1 / -1;
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.8rem;
  background:
    radial-gradient(circle at 20% 20%, rgba(31, 169, 214, 0.42), transparent 40%),
    linear-gradient(135deg, var(--blueprint), #07365f);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 22px 0 0;
}

.hero-stats div {
  padding: 1rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.76);
}

.hero-stats dt {
  color: var(--copper-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.7rem;
  font-weight: 760;
}

.hero-stats dd {
  margin: 0;
  color: var(--steel);
  font-size: 0.78rem;
}

.profile-strip,
.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.profile-strip {
  padding-top: 0;
  padding-bottom: 28px;
}

.profile-item {
  padding: 18px 20px;
  border: 1px solid rgba(15, 76, 129, 0.14);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.68);
}

.profile-item span,
.profile-item strong {
  display: block;
}

.profile-item span {
  margin-bottom: 0.35rem;
  color: var(--steel);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.profile-item strong {
  color: var(--ink);
  font-size: 0.96rem;
}

.trust-strip {
  padding-top: 0;
}

.trust-item,
.service-card,
.strength-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.72);
}

.trust-item {
  padding: 24px;
}

.trust-item span,
.strength-card span,
.card-index,
.doc-type {
  color: var(--copper-dark);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.trust-item strong {
  display: block;
  margin: 0.55rem 0 0.45rem;
  font-size: 1.05rem;
}

.trust-item p,
.strength-card p,
.service-card p {
  margin-bottom: 0;
}

.section-heading {
  max-width: 880px;
  margin-bottom: 36px;
}

.section-heading p:last-child {
  max-width: 760px;
  font-size: 1.03rem;
}

.intro-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.55fr);
  gap: 34px;
  align-items: stretch;
}

.section-image {
  min-height: 320px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(15, 76, 129, 0.68), rgba(31, 169, 214, 0.14)),
    var(--about-image) center / cover,
    linear-gradient(135deg, rgba(15, 76, 129, 0.18), rgba(31, 169, 214, 0.1));
  box-shadow: var(--shadow);
}

.section-image figcaption {
  display: inline-flex;
  margin: 18px;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  color: var(--white);
  font-size: 0.76rem;
  font-weight: 800;
  background: rgba(15, 76, 129, 0.72);
}

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

.strength-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 26px;
}

.strength-card {
  min-height: 240px;
  padding: 24px;
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.strength-card:hover {
  transform: translateY(-6px);
  background: var(--white);
  box-shadow: 0 20px 44px rgba(15, 76, 129, 0.13);
}

.strength-card h3 {
  margin-top: 1.8rem;
}

.service-card {
  min-height: 330px;
  padding: 24px;
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.service-card:hover {
  transform: translateY(-6px);
  background: var(--white);
  box-shadow: 0 20px 44px rgba(15, 76, 129, 0.13);
}

.service-card h3 {
  margin-top: 2rem;
}

.service-card ul {
  margin-top: 1.2rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.service-card-feature {
  color: var(--white);
  border-color: transparent;
  background:
    radial-gradient(circle at top right, rgba(31, 169, 214, 0.36), transparent 44%),
    linear-gradient(135deg, var(--blueprint), #07365f);
}

.service-card-feature h3,
.service-card-feature p,
.service-card-feature ul,
.service-card-feature .card-index {
  color: var(--white);
}

.service-card-feature:hover {
  background:
    radial-gradient(circle at top right, rgba(31, 169, 214, 0.36), transparent 44%),
    linear-gradient(135deg, var(--blueprint), #07365f);
}

.lab-section {
  grid-template-columns: minmax(360px, 0.9fr) minmax(0, 1.1fr);
}

.lab-visual {
  position: relative;
  min-height: 560px;
  padding: 28px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(rgba(7, 54, 95, 0.74), rgba(15, 76, 129, 0.58)),
    var(--lab-image) center / cover,
    linear-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.09) 1px, transparent 1px),
    radial-gradient(circle at top right, rgba(31, 169, 214, 0.36), transparent 34rem),
    linear-gradient(135deg, #07365f, var(--blueprint));
  background-size: auto, cover, 28px 28px, 28px 28px, auto, auto;
  box-shadow: var(--shadow);
}

.lab-badge {
  position: absolute;
  top: 36px;
  left: 36px;
  display: grid;
  width: 126px;
  height: 126px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: var(--lab);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3rem;
  font-weight: 760;
  background: rgba(255, 255, 255, 0.08);
}

.lab-lines {
  position: absolute;
  inset: 120px 48px 110px;
  border: 1px solid rgba(31, 169, 214, 0.34);
  border-radius: 46% 54% 44% 56%;
  transform: rotate(-12deg);
}

.lab-card {
  position: relative;
  max-width: 250px;
  margin-left: auto;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.lab-card + .lab-card {
  margin-top: 28px;
}

.lab-card-test {
  margin: 185px auto 0 28px;
}

.lab-card span {
  display: block;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.84rem;
}

.lab-card strong {
  font-size: 1.4rem;
}

.lab-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.lab-list div {
  padding: 18px;
  border-left: 4px solid var(--copper);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: rgba(255, 255, 255, 0.52);
}

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

.lab-list span {
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.lab-note {
  margin-top: 24px;
  padding: 18px 20px;
  border: 1px solid rgba(15, 76, 129, 0.14);
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-weight: 700;
  background: rgba(31, 169, 214, 0.1);
}

.disclosure {
  width: 100%;
  padding-right: max(20px, calc((100vw - 1180px) / 2));
  padding-left: max(20px, calc((100vw - 1180px) / 2));
  background:
    radial-gradient(circle at top right, rgba(31, 169, 214, 0.24), transparent 34rem),
    linear-gradient(135deg, rgba(7, 54, 95, 0.98), rgba(15, 76, 129, 0.96));
}

.disclosure-heading h2,
.disclosure-heading p {
  color: var(--white);
}

.disclosure-heading .eyebrow {
  color: var(--lab);
}

.disclosure-layout {
  display: grid;
  gap: 18px;
}

.disclosure-overview,
.document-directory {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow);
}

.disclosure-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr) auto;
  gap: 22px;
  align-items: center;
  padding: 26px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.9)),
    var(--documents-image) center / cover,
    var(--paper-soft);
}

.overview-copy h3 {
  max-width: 720px;
  margin: 0.8rem 0 0.65rem;
  font-size: clamp(1.45rem, 2.4vw, 2.15rem);
  line-height: 1.2;
}

.overview-copy p {
  max-width: 760px;
  margin-bottom: 0;
}

.overview-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.overview-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0.45rem 0.72rem;
  border: 1px solid rgba(15, 76, 129, 0.12);
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 800;
  background: rgba(247, 249, 252, 0.82);
}

.overview-actions {
  display: grid;
  min-width: 190px;
  gap: 10px;
}

.document-directory {
  padding: clamp(20px, 3vw, 30px);
}

.document-groups {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.document-group,
.stat-card,
.equipment-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper-soft);
}

.document-group {
  padding: 22px;
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.document-group:hover {
  transform: translateY(-4px);
  background: var(--white);
  box-shadow: 0 18px 38px rgba(15, 76, 129, 0.11);
}

.document-group-wide {
  grid-column: 1 / -1;
}

.document-group a {
  display: inline-flex;
  align-items: center;
  margin-top: 0.8rem;
  color: var(--primary);
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
}

.document-group a:hover {
  color: var(--secondary);
}

.document-group ul,
.test-list {
  color: var(--ink-soft);
}

.document-link-list {
  columns: 2;
  column-gap: 28px;
  margin-top: 0.95rem;
}

.document-link-list li {
  break-inside: avoid;
  margin-bottom: 0.45rem;
}

.document-link-list a {
  margin-top: 0;
}

.test-list {
  columns: 2;
  column-gap: 28px;
}

.people-grid,
.equipment-grid {
  display: grid;
  gap: 16px;
}

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

.people-grid {
  grid-template-columns: repeat(6, 1fr);
}

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

.work-card {
  position: relative;
  overflow: hidden;
  margin: 0;
  min-height: 280px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 40px rgba(15, 76, 129, 0.1);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.work-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 48px rgba(15, 76, 129, 0.16);
}

.work-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(7, 54, 95, 0.04), rgba(7, 54, 95, 0.7));
  pointer-events: none;
}

.work-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  filter: saturate(0.94);
  transition: transform 240ms ease, filter 240ms ease;
}

.work-card:hover img {
  transform: scale(1.03);
  filter: saturate(1.02);
}

.work-card figcaption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  color: var(--white);
  font-weight: 700;
  background: rgba(15, 76, 129, 0.36);
  backdrop-filter: blur(10px);
}

.stat-card,
.equipment-card {
  padding: 24px;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.stat-card:hover,
.equipment-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 44px rgba(15, 76, 129, 0.13);
}

.stat-card strong {
  display: block;
  color: var(--blueprint);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 1;
}

.stat-card span,
.equipment-card span {
  color: var(--copper-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-action {
  margin-top: 26px;
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 30px;
  align-items: center;
  padding: 38px;
}

.contact {
  padding-top: 0;
}

.contact-card {
  color: var(--white);
  background:
    radial-gradient(circle at top right, rgba(31, 169, 214, 0.3), transparent 34rem),
    linear-gradient(135deg, #07365f, var(--blueprint));
}

.contact-card h2,
.contact-card p,
.contact-card .eyebrow {
  color: var(--white);
}

.contact-card p {
  color: rgba(255, 255, 255, 0.76);
}

address {
  display: grid;
  gap: 12px;
  font-style: normal;
}

address a,
address span {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
}

address strong {
  color: var(--white);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
}

.contact-form label,
.contact-form span {
  display: grid;
  gap: 7px;
}

.contact-form span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.86rem;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1rem;
  color: var(--white);
  font: inherit;
  background: rgba(255, 255, 255, 0.1);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.48);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  width: var(--container);
  margin: 0 auto;
  padding: 30px 0 44px;
  color: var(--steel);
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0.25rem 0 0;
}

.site-footer strong,
.site-footer a {
  color: var(--ink);
  font-weight: 800;
}

.site-footer nav {
  display: grid;
  gap: 0.45rem;
}

.footer-brand {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.footer-brand img {
  width: 96px;
  height: 72px;
  object-fit: contain;
  border: 1px solid rgba(15, 76, 129, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

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

  .hero::before {
    animation: none;
  }
}

@media (max-width: 1040px) {
  .hero-grid,
  .intro-layout,
  .lab-section {
    grid-template-columns: 1fr;
  }

  .card-grid,
  .strength-grid,
  .people-grid,
  .work-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .disclosure-layout,
  .equipment-grid {
    grid-template-columns: 1fr;
  }

  .disclosure-overview {
    grid-template-columns: 1fr;
  }

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

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

  .hero {
    min-height: auto;
  }

  .lab-section {
    gap: 34px;
  }

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

@media (max-width: 820px) {
  :root {
    --container: min(100% - 28px, 1180px);
  }

  .site-header {
    align-items: center;
    border-radius: 28px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 88px 14px auto;
    display: grid;
    gap: 0.3rem;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 24px;
    background: rgba(247, 249, 252, 0.98);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 0.95rem 1rem;
  }

  .section {
    padding: 68px 0;
  }

  .hero {
    padding-top: 54px;
  }

  .hero::before {
    inset: 80px -40% auto auto;
    opacity: 0.12;
  }

  .profile-strip,
  .trust-strip,
  .strength-grid,
  .people-grid,
  .work-gallery-grid,
  .equipment-grid,
  .disclosure-layout,
  .overview-actions,
  .document-groups,
  .contact-card,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .document-link-list,
  .test-list {
    columns: 1;
  }
}

@media (max-width: 620px) {
  .brand-mark {
    width: 56px;
    height: 42px;
    border-radius: 12px;
  }

  .brand small {
    display: none;
  }

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

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

  .hero-panel,
  .section-image,
  .disclosure-layout,
  .disclosure-overview,
  .document-directory,
  .contact-card {
    border-radius: 24px;
  }

  .hero-stats,
  .card-grid,
  .strength-grid,
  .people-grid,
  .equipment-grid {
    grid-template-columns: 1fr;
  }

  .capability-map {
    min-height: auto;
  }

  .map-node {
    min-height: 92px;
  }

  .lab-visual {
    min-height: 420px;
    padding: 20px;
  }

  .lab-badge {
    top: 22px;
    left: 22px;
    width: 96px;
    height: 96px;
    font-size: 2.25rem;
  }

  .lab-card-test {
    margin-top: 150px;
    margin-left: 0;
  }

}

.lab-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.lab-page {
  background:
    radial-gradient(circle at top left, rgba(31, 169, 214, 0.12), transparent 30rem),
    radial-gradient(circle at 85% 12%, rgba(233, 166, 58, 0.14), transparent 24rem),
    linear-gradient(180deg, rgba(15, 76, 129, 0.04), transparent 28rem),
    var(--paper);
}

.lab-page .site-header {
  margin-top: 14px;
}

.lab-page .section {
  scroll-margin-top: 110px;
  padding-top: 104px;
  padding-bottom: 104px;
}

.lab-hero {
  padding-top: 52px;
  padding-bottom: 32px;
}

.lab-breadcrumb,
.anchor-strip,
.lab-highlight,
.documents-toolbar,
.pdf-directory,
.document-group-card,
.capability-card,
.test-card,
.resource-panel,
.info-panel,
.activity-card,
.lab-hero-facts article {
  border: 1px solid rgba(15, 76, 129, 0.12);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 44px rgba(15, 76, 129, 0.08);
}

.lab-breadcrumb {
  display: inline-flex;
  gap: 0.6rem;
  align-items: center;
  margin-bottom: 28px;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.lab-breadcrumb a {
  color: var(--blueprint);
  font-weight: 700;
}

.lab-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  gap: 34px;
  align-items: stretch;
}

.lab-hero-copy {
  padding: 1rem 0;
}

.lab-hero-copy h1 {
  max-width: 11ch;
}

.lab-hero-note {
  max-width: 660px;
  margin-bottom: 0;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 1.1rem;
}

.hero-highlights span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0.5rem 0.8rem;
  border: 1px solid rgba(15, 76, 129, 0.14);
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.74);
}

.lab-hero-panel {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  padding: 30px;
  border-radius: 34px;
  background:
    linear-gradient(155deg, rgba(7, 54, 95, 0.98), rgba(15, 76, 129, 0.92) 58%, rgba(31, 169, 214, 0.88)),
    var(--paper-soft);
  box-shadow: 0 28px 72px rgba(15, 76, 129, 0.2);
}

.lab-hero-panel::before,
.lab-hero-panel::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.lab-hero-panel::before {
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, black, transparent 92%);
}

.lab-hero-panel::after {
  right: -8%;
  bottom: -14%;
  width: 72%;
  height: 72%;
  border-radius: 44px;
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.4), transparent 18%),
    linear-gradient(135deg, rgba(233, 166, 58, 0.36), rgba(255, 255, 255, 0.08));
  transform: rotate(-18deg);
}

.lab-hero-surface {
  position: absolute;
  inset: 16% 8% 10% 26%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 34px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.04)),
    linear-gradient(135deg, rgba(233, 166, 58, 0.12), rgba(31, 169, 214, 0.12));
  backdrop-filter: blur(10px);
}

.hero-panel-badge,
.hero-panel-stack article,
.hero-panel-core {
  position: relative;
  z-index: 1;
}

.hero-panel-badge {
  display: inline-grid;
  gap: 0.35rem;
  max-width: 280px;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.hero-panel-badge-strong {
  max-width: 320px;
  padding: 1.15rem 1.3rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 54px rgba(7, 54, 95, 0.26);
}

.hero-panel-badge span,
.hero-panel-stack span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-panel-badge strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.hero-panel-badge small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.hero-panel-core {
  position: absolute;
  top: 156px;
  left: 30px;
  right: 30px;
  display: grid;
  gap: 14px;
}

.hero-panel-core div {
  max-width: 340px;
  padding: 1.05rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.hero-panel-core div:last-child {
  margin-left: auto;
}

.hero-panel-core span {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-panel-core strong {
  display: block;
  margin-top: 0.35rem;
  font-size: 1.1rem;
  line-height: 1.45;
}

.hero-panel-stack {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  display: grid;
  gap: 14px;
}

.hero-panel-stack article {
  max-width: 360px;
  margin-left: auto;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.hero-panel-stack strong {
  display: block;
  margin-top: 0.35rem;
  font-size: 1rem;
  line-height: 1.45;
}

.lab-hero-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.lab-hero-facts article,
.capability-stats div,
.resource-stats div {
  padding: 18px 20px;
  border-radius: 22px;
}

.lab-hero-facts span,
.capability-stats span,
.resource-stats span {
  display: block;
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 700;
}

.lab-hero-facts strong,
.capability-stats strong,
.resource-stats strong {
  display: block;
  margin-top: 0.4rem;
  color: var(--ink);
  font-size: 1rem;
}

.section-anchor-strip {
  padding-top: 0;
  padding-bottom: 12px;
}

.anchor-strip {
  position: sticky;
  top: 86px;
  z-index: 30;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.7rem;
  padding: 0.85rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(18px);
}

.anchor-strip a {
  display: inline-flex;
  justify-content: center;
  padding: 0.7rem 0.95rem;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 700;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.anchor-strip a:hover {
  color: var(--blueprint);
  background: rgba(15, 76, 129, 0.08);
  transform: translateY(-1px);
}

.lab-intro {
  padding-top: 24px;
}

.lab-intro-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: 22px;
  align-items: start;
}

.lab-intro-grid,
.resources-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.info-panel,
.capability-card,
.test-card,
.resource-panel,
.document-group-card {
  padding: 26px;
  border-radius: 28px;
}

.info-panel h3,
.capability-card h3,
.test-card h3,
.resource-panel h3,
.document-group-card h3 {
  margin-bottom: 0.9rem;
}

.info-panel-data {
  background:
    linear-gradient(180deg, rgba(247, 249, 252, 0.96), rgba(255, 255, 255, 1)),
    var(--white);
}

.info-panel-role {
  background:
    linear-gradient(135deg, rgba(31, 169, 214, 0.08), rgba(255, 255, 255, 0.96)),
    var(--white);
}

.info-list {
  display: grid;
  gap: 16px;
  margin: 0;
}

.info-list div {
  padding-left: 18px;
  border-left: 3px solid var(--copper);
}

.info-list dt {
  color: var(--ink-soft);
  font-size: 0.84rem;
  font-weight: 700;
}

.info-list dd {
  margin: 0.35rem 0 0;
  color: var(--ink);
  font-weight: 700;
}

.check-list {
  list-style: none;
  padding: 0;
}

.check-list li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--ink-soft);
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 0.08rem;
  content: "";
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blueprint), var(--cyan));
  box-shadow: 0 0 0 5px rgba(31, 169, 214, 0.12);
}

.lab-highlight {
  display: grid;
  gap: 0.55rem;
  padding: 24px 26px;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(15, 76, 129, 0.16), rgba(31, 169, 214, 0.12)),
    rgba(255, 255, 255, 0.9);
}

.lab-highlight strong {
  color: var(--copper-dark);
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lab-highlight p {
  margin: 0;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 700;
}

.capability-grid,
.document-groups-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

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

.capability-card,
.test-card,
.activity-card,
.document-group-card,
.resource-panel {
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.capability-card:hover,
.test-card:hover,
.activity-card:hover,
.document-group-card:hover,
.resource-panel:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(15, 76, 129, 0.14);
  background: var(--white);
}

.capability-card > span,
.document-group-card > span {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--copper-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.capability-card-feature {
  border-color: rgba(15, 76, 129, 0.18);
  background:
    linear-gradient(180deg, rgba(15, 76, 129, 0.08), rgba(255, 255, 255, 1)),
    var(--white);
  box-shadow: 0 22px 46px rgba(15, 76, 129, 0.12);
}

.capability-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.capability-stats div {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 166px;
  padding: 24px;
  border: 1px solid rgba(15, 76, 129, 0.12);
  background:
    linear-gradient(135deg, rgba(31, 169, 214, 0.08), rgba(255, 255, 255, 0.92));
}

.capability-stats strong,
.resource-stats strong {
  color: var(--blueprint);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  line-height: 1;
}

.test-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.test-card {
  min-height: 216px;
}

.test-groups {
  display: grid;
  gap: 22px;
}

.test-group-panel {
  padding: 24px;
  border: 1px solid rgba(15, 76, 129, 0.12);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 20px 46px rgba(15, 76, 129, 0.08);
}

.test-group-head {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  margin-bottom: 18px;
}

.test-group-head p {
  margin: 0;
}

.test-group-icon,
.test-mark {
  display: inline-grid;
  place-items: center;
  border-radius: 18px;
  color: var(--white);
  font-weight: 800;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, var(--blueprint), var(--cyan));
}

.test-group-icon {
  width: 58px;
  height: 58px;
}

.test-mark {
  width: 42px;
  height: 42px;
  margin-bottom: 1rem;
  font-size: 0.78rem;
}

.test-note {
  margin: 24px 0 0;
  color: var(--ink);
  font-weight: 700;
}

.activity-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.activity-card {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: 28px;
}

.activity-photo {
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  transition: transform 240ms ease, filter 240ms ease;
}

.activity-card figcaption {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  display: grid;
  gap: 0.25rem;
  padding: 0.9rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(7, 54, 95, 0.92), rgba(15, 76, 129, 0.78));
  backdrop-filter: blur(10px);
}

.activity-card figcaption strong,
.activity-card figcaption span {
  color: var(--white);
}

.activity-card figcaption strong {
  font-size: 0.94rem;
}

.activity-card figcaption span {
  font-size: 0.78rem;
  line-height: 1.45;
  opacity: 0.88;
}

.activity-card:hover .activity-photo {
  transform: scale(1.04);
  filter: saturate(1.08);
}

.photo-sample-1 {
  background:
    linear-gradient(180deg, rgba(7, 54, 95, 0.1), rgba(7, 54, 95, 0.64)),
    url("img/thi-nghiem/PTN-ANHAU-01.jpg") center / cover no-repeat;
}

.photo-sample-2 {
  background:
    linear-gradient(180deg, rgba(15, 76, 129, 0.08), rgba(15, 76, 129, 0.68)),
    url("img/thi-nghiem/PTN-ANHAU-02.jpg") center / cover no-repeat;
}

.photo-sample-3 {
  background:
    linear-gradient(180deg, rgba(15, 76, 129, 0.12), rgba(15, 76, 129, 0.72)),
    url("img/thi-nghiem/PTN-ANHAU-03.jpg") center / cover no-repeat;
}

.photo-sample-4 {
  background:
    linear-gradient(180deg, rgba(15, 76, 129, 0.08), rgba(15, 76, 129, 0.68)),
    url("img/thi-nghiem/PTN-ANHAU-04.jpg") center / cover no-repeat;
}

.photo-sample-5 {
  background:
    linear-gradient(180deg, rgba(7, 54, 95, 0.12), rgba(7, 54, 95, 0.72)),
    url("img/thi-nghiem/PTN-ANHAU-06.jpg") center / cover no-repeat;
}

.photo-sample-6 {
  background:
    linear-gradient(180deg, rgba(15, 76, 129, 0.1), rgba(15, 76, 129, 0.72)),
    url("img/thi-nghiem/PTN-ANHAU-07.jpg") center / cover no-repeat;
}

.photo-sample-7 {
  background:
    linear-gradient(180deg, rgba(15, 76, 129, 0.12), rgba(15, 76, 129, 0.66)),
    url("img/thi-nghiem/PTN-ANHAU-08.jpg") center / cover no-repeat;
}

.photo-sample-8 {
  background:
    linear-gradient(180deg, rgba(7, 54, 95, 0.08), rgba(7, 54, 95, 0.7)),
    url("img/thi-nghiem/PTN-ANHAU-11.jpg") center / cover no-repeat;
}

.documents-section {
  position: relative;
  width: 100%;
  padding-right: max(20px, calc((100vw - 1180px) / 2));
  padding-left: max(20px, calc((100vw - 1180px) / 2));
  background:
    radial-gradient(circle at top right, rgba(31, 169, 214, 0.22), transparent 30rem),
    linear-gradient(180deg, rgba(7, 54, 95, 0.98), rgba(15, 76, 129, 0.95));
}

.documents-heading h2,
.documents-heading p {
  color: var(--white);
}

.documents-heading .eyebrow {
  color: var(--lab);
}

.document-group-card {
  background: rgba(255, 255, 255, 0.96);
}

.document-group-card h3,
.document-group-card li {
  color: var(--ink);
}

.document-group-card ul {
  color: var(--ink-soft);
}

.document-spotlight {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 20px;
}

.spotlight-card {
  padding: 22px 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 26px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(233, 166, 58, 0.16), rgba(255, 255, 255, 0.06)),
    rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 44px rgba(7, 54, 95, 0.18);
}

.spotlight-card span {
  display: inline-flex;
  margin-bottom: 0.75rem;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.spotlight-card h3,
.spotlight-card p {
  color: var(--white);
}

.spotlight-card h3 {
  margin-bottom: 0.5rem;
}

.documents-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  margin-top: 20px;
  padding: 24px 26px;
  border-radius: 30px;
}

.documents-toolbar strong {
  display: block;
  color: var(--ink);
  font-size: 1.15rem;
}

.documents-toolbar p {
  margin: 0.4rem 0 0;
}

.pdf-library-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
  margin-top: 20px;
}

.pdf-viewer {
  display: grid;
  gap: 18px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 54px rgba(15, 76, 129, 0.12);
}

.pdf-viewer-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
}

.pdf-viewer-label {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  color: var(--copper-dark);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(233, 166, 58, 0.14);
}

.pdf-viewer-head h3 {
  margin: 0.7rem 0 0.45rem;
  font-size: clamp(1.32rem, 2.2vw, 1.8rem);
}

.pdf-viewer-head p {
  max-width: 820px;
  margin: 0;
}

.pdf-viewer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pdf-viewer-stage {
  position: relative;
  min-height: 780px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid rgba(15, 76, 129, 0.12);
  border-radius: 26px;
  background:
    radial-gradient(circle at top, rgba(31, 169, 214, 0.08), transparent 35%),
    linear-gradient(180deg, rgba(15, 76, 129, 0.06), rgba(247, 249, 252, 0.92)),
    var(--white);
}

.pdf-viewer-loading,
.pdf-viewer-fallback {
  position: absolute;
  inset: 22px;
  z-index: 3;
  display: grid;
  place-items: center;
  padding: 20px;
  border-radius: 22px;
  text-align: center;
}

.pdf-viewer-loading {
  color: var(--blueprint);
  font-weight: 700;
  letter-spacing: 0.02em;
  background: rgba(247, 249, 252, 0.88);
  backdrop-filter: blur(8px);
}

.pdf-viewer-fallback {
  color: var(--ink-soft);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(247, 249, 252, 0.96)),
    var(--white);
}

.pdf-viewer-fallback p {
  max-width: 480px;
  margin: 0;
}

.document-preview-frame {
  display: flex;
  height: 860px;
  min-height: 860px;
  padding: 12px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(15, 76, 129, 0.02), rgba(15, 76, 129, 0.05)),
    repeating-linear-gradient(
      90deg,
      rgba(15, 76, 129, 0.015) 0,
      rgba(15, 76, 129, 0.015) 1px,
      transparent 1px,
      transparent 26px
    ),
    var(--paper);
}

.dearflip-viewer {
  flex: 1 1 auto;
  width: 100%;
  min-height: 860px;
  height: 860px;
  border-radius: 18px;
  overflow: hidden;
  background: #edf3fa;
}

.pdf-inline-frame {
  width: 100%;
  height: 100%;
  min-height: 100%;
  border: 0;
  border-radius: 18px;
  background: var(--white);
}

.document-preview-frame .df-ui-wrapper,
.dearflip-viewer .df-container {
  width: 100% !important;
  height: 100% !important;
  border-radius: 18px;
  background: #edf3fa;
}

.document-preview-frame .df-ui-wrapper,
.document-preview-frame .df-container,
.document-preview-frame .df-book-wrapper,
.document-preview-frame .df-book-stage {
  width: 100% !important;
  height: 100% !important;
  border-radius: 18px;
}

.pdf-viewer.has-fallback .document-preview-frame {
  opacity: 0.16;
  pointer-events: none;
}

.pdf-directory {
  padding: 28px;
  border-radius: 32px;
}

.accordion-item {
  border: 1px solid rgba(15, 76, 129, 0.12);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(247, 249, 252, 0.92), rgba(255, 255, 255, 1));
  box-shadow: 0 18px 42px rgba(15, 76, 129, 0.08);
}

.accordion-item + .accordion-item {
  margin-top: 16px;
}

.accordion-trigger {
  width: 100%;
  padding: 18px 20px;
  border: 0;
  border-radius: 24px;
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  text-align: left;
  background: transparent;
  cursor: pointer;
}

.accordion-panel {
  display: none;
  padding: 0 20px 20px;
}

.accordion-item.is-open .accordion-panel {
  display: block;
}

.pdf-category-header {
  margin-bottom: 14px;
}

.pdf-category-header p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.doc-list {
  display: grid;
  gap: 10px;
}

.preview-link {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border: 1px solid rgba(15, 76, 129, 0.1);
  border-radius: 18px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.preview-link:hover,
.preview-link.is-active {
  transform: translateY(-2px);
  border-color: rgba(31, 169, 214, 0.26);
  background: rgba(31, 169, 214, 0.08);
  box-shadow: 0 16px 30px rgba(15, 76, 129, 0.08);
}

.preview-link.is-featured {
  border-color: rgba(15, 76, 129, 0.16);
  background:
    linear-gradient(180deg, rgba(15, 76, 129, 0.06), rgba(255, 255, 255, 1)),
    var(--white);
}

.preview-link-title {
  font-weight: 700;
  line-height: 1.45;
}

.preview-link-meta {
  color: var(--copper-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pdf-viewer .button:disabled {
  opacity: 0.46;
  cursor: not-allowed;
  pointer-events: none;
}

.pdf-category-header h3 {
  margin-bottom: 14px;
}

.resource-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.resource-stats div {
  border: 1px solid rgba(15, 76, 129, 0.12);
  background: rgba(247, 249, 252, 0.94);
}

.resource-panel-primary {
  background:
    linear-gradient(135deg, rgba(31, 169, 214, 0.08), rgba(255, 255, 255, 0.96)),
    var(--white);
}

.equipment-grid-local {
  display: grid;
  gap: 14px;
}

.equipment-item {
  padding: 16px 18px;
  border: 1px solid rgba(15, 76, 129, 0.12);
  border-radius: 20px;
  background: rgba(247, 249, 252, 0.92);
}

.equipment-item strong {
  display: block;
  margin-bottom: 0.35rem;
}

.equipment-item p {
  margin: 0;
}

.resource-action {
  margin-top: 18px;
}

.contact-support {
  color: rgba(255, 255, 255, 0.92) !important;
  font-weight: 700;
}

.site-footer {
  grid-template-columns: minmax(0, 1.25fr) minmax(180px, 0.5fr) minmax(180px, 0.5fr);
  align-items: start;
}

.footer-col {
  display: grid;
  gap: 0.5rem;
}

.site-footer .footer-col > strong {
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 1100px) {
  .lab-hero-grid,
  .lab-intro-layout,
  .lab-intro-grid,
  .resources-grid {
    grid-template-columns: 1fr;
  }

  .capability-grid,
  .test-card-grid,
  .activity-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .document-spotlight,
  .document-groups-grid,
  .lab-hero-facts,
  .capability-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .lab-hero-panel {
    min-height: 420px;
  }

  .anchor-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .lab-page .site-header {
    margin-top: 12px;
  }

  .lab-page .section {
    scroll-margin-top: 94px;
  }

  .lab-hero {
    padding-top: 36px;
  }

  .section-anchor-strip {
    padding-bottom: 0;
  }

  .documents-section {
    padding-right: max(14px, calc((100vw - 1180px) / 2));
    padding-left: max(14px, calc((100vw - 1180px) / 2));
  }

  .documents-toolbar,
  .pdf-viewer-head,
  .pdf-category-header {
    display: grid;
    grid-template-columns: 1fr;
  }

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

  .pdf-viewer-actions {
    justify-content: flex-start;
  }

  .pdf-viewer-stage {
    min-height: 640px;
    padding: 18px;
  }

  .document-preview-frame,
  .dearflip-viewer,
  .pdf-inline-frame {
    height: 600px;
    min-height: 600px;
  }
}

@media (max-width: 620px) {
  .lab-breadcrumb {
    display: none;
  }

  .lab-hero-panel,
  .lab-highlight,
  .pdf-viewer,
  .pdf-directory,
  .documents-toolbar,
  .capability-card,
  .test-card,
  .document-group-card,
  .resource-panel,
  .info-panel,
  .activity-card {
    border-radius: 24px;
  }

  .lab-hero-facts,
  .capability-grid,
  .capability-stats,
  .test-card-grid,
  .document-spotlight,
  .activity-gallery,
  .document-groups-grid,
  .resource-stats {
    grid-template-columns: 1fr;
  }

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

  .documents-toolbar {
    padding: 20px;
  }

  .document-groups-grid {
    gap: 14px;
    margin-top: 16px;
  }

  .document-group-card {
    padding: 20px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 38px rgba(7, 54, 95, 0.16);
  }

  .pdf-viewer {
    padding: 20px;
  }

  .pdf-directory {
    padding: 20px;
  }

  .pdf-viewer-stage {
    min-height: 500px;
    padding: 14px;
  }

  .document-preview-frame,
  .dearflip-viewer,
  .pdf-inline-frame {
    height: 470px;
    min-height: 470px;
  }

  .lab-hero-panel {
    display: grid;
    gap: 16px;
    min-height: auto;
    padding: 22px;
  }

  .lab-hero-surface {
    inset: 18% 8% auto 18%;
    min-height: 220px;
  }

  .hero-panel-badge-strong,
  .hero-panel-core div,
  .hero-panel-stack article {
    max-width: none;
  }

  .hero-panel-stack {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    margin-top: 4px;
  }

  .hero-panel-core {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    margin-top: 12px;
  }

  .hero-panel-stack article,
  .lab-actions .button {
    margin-left: 0;
    width: 100%;
  }
}
