/* =========================================================
   VitaLab Diagnostics - style.css (base, layout, components)
   Dark mode  -> dark.css
   RTL tweaks -> rtl.css
   ========================================================= */

:root {
  --primary: #0a8f8f;
  --primary-dark: #066b6b;
  --primary-soft: #e3f6f5;
  --accent: #ff7a59;
  --navy: #0b2545;
  --bg: #ffffff;
  --bg-alt: #f1f8f9;
  --card: #ffffff;
  --text: #4a5a68;
  --heading: #0b2545;
  --border: #e1ecef;
  --shadow-sm: 0 4px 14px rgba(11, 37, 69, 0.06);
  --shadow: 0 14px 40px rgba(11, 37, 69, 0.10);
  --radius: 18px;
  --header-h: 76px;
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22, .8, .3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  transition: background .35s ease, color .35s ease;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4 {
  color: var(--heading);
  line-height: 1.25;
  margin: 0 0 .6rem;
  font-weight: 700;
}

p {
  margin: 0 0 1rem;
}

button {
  font-family: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.container {
  width: min(1200px, 100% - 40px);
  margin-inline: auto;
}

.section {
  padding: 100px 0;
  position: relative;
}

.section.alt {
  background: var(--bg-alt);
}

/* ---------- Preloader ---------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: grid;
  place-items: center;
  transition: opacity .5s ease, visibility .5s ease;
}

.preloader.hide {
  opacity: 0;
  visibility: hidden;
}

.loader {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  color: var(--primary);
  background: var(--primary-soft);
  animation: pulse 1.1s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(.9);
  }

  50% {
    transform: scale(1.1);
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .8rem 1.5rem;
  border-radius: 50px;
  border: 2px solid transparent;
  font-weight: 600;
  font-size: .95rem;
  line-height: 1.2;
  white-space: nowrap;
  transition: transform .3s var(--ease), box-shadow .3s ease, background .3s ease, color .3s ease, border-color .3s ease;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-sm {
  padding: .55rem 1.1rem;
  font-size: .85rem;
}

.btn-lg {
  padding: 1rem 1.9rem;
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #14b8a6);
  color: #fff;
  box-shadow: 0 10px 24px rgba(10, 143, 143, .32);
}

.btn-primary:hover {
  box-shadow: 0 14px 30px rgba(10, 143, 143, .45);
}

.btn-outline {
  border-color: var(--primary);
  color: var(--primary);
  background: transparent;
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

.btn-soft {
  background: var(--primary-soft);
  color: var(--primary-dark);
}

.btn-soft:hover {
  background: var(--primary);
  color: #fff;
}

.btn-white {
  background: #fff;
  color: var(--primary-dark);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .18);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, .7);
  color: #fff;
}

.btn-ghost:hover {
  background: #fff;
  color: var(--primary-dark);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s ease, background .35s ease, border-color .3s ease;
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
  border-color: var(--border);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--heading);
}

.logo-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary), #14b8a6);
  color: #fff;
  font-size: 1.15rem;
  transition: transform .4s var(--ease);
}

.logo:hover .logo-icon {
  transform: rotate(-10deg) scale(1.08);
}

.logo-text b {
  color: var(--primary);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: .2rem;
}

.nav-list>li {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .6rem .9rem;
  border-radius: 10px;
  font-weight: 500;
  font-size: .94rem;
  color: var(--heading);
  position: relative;
  transition: color .25s ease, background .25s ease;
}

.nav-link:hover {
  color: var(--primary);
}

.nav-list>li>.nav-link::after {
  content: "";
  position: absolute;
  inset-inline: .9rem;
  bottom: .25rem;
  height: 2px;
  border-radius: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .3s var(--ease);
}

.nav-list>li>.nav-link:hover::after,
.nav-list>li>.nav-link.active::after {
  transform: scaleX(1);
}

.nav-link.active {
  color: var(--primary);
  font-weight: 600;
}

.caret {
  font-size: .65rem;
  transition: transform .3s ease;
}

.has-dropdown.open>.dropdown-trigger .caret {
  transform: rotate(180deg);
}

.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  inset-inline-start: 0;
  min-width: 240px;
  padding: .5rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .25s ease, transform .3s var(--ease), visibility .25s;
}

.dropdown .nav-link {
  display: flex;
  width: 100%;
  padding: .65rem .9rem;
}

.dropdown .nav-link i {
  width: 18px;
  color: var(--primary);
  font-size: .85rem;
}

.dropdown .nav-link:hover,
.dropdown .nav-link.active {
  background: var(--primary-soft);
}

@media (min-width: 992px) {

  .has-dropdown:hover>.dropdown,
  .has-dropdown:focus-within>.dropdown,
  .has-dropdown.open>.dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .has-dropdown:hover>.dropdown-trigger .caret {
    transform: rotate(180deg);
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: .6rem;
}

.icon-btn {
  min-width: 40px;
  height: 40px;
  padding: 0 .65rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--heading);
  font-size: .8rem;
  font-weight: 600;
  display: inline-grid;
  place-items: center;
  transition: all .3s ease;
}

.icon-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

#themeIcon {
  font-size: 1rem;
  transition: transform .5s var(--ease);
}

.icon-btn:hover #themeIcon {
  transform: rotate(40deg);
}

.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: var(--primary-soft);
  border-radius: 12px;
  position: relative;
}

.hamburger span {
  position: absolute;
  inset-inline-start: 11px;
  width: 22px;
  height: 2.5px;
  border-radius: 3px;
  background: var(--primary-dark);
  transition: transform .35s var(--ease), opacity .25s ease, top .35s var(--ease);
}

.hamburger span:nth-child(1) {
  top: 14px;
}

.hamburger span:nth-child(2) {
  top: 21px;
}

.hamburger span:nth-child(3) {
  top: 28px;
}

.hamburger.active span:nth-child(1) {
  top: 21px;
  transform: rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  top: 21px;
  transform: rotate(-45deg);
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 15, 30, .55);
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s ease, visibility .35s;
  z-index: 998;
}

.nav-overlay.show {
  opacity: 1;
  visibility: visible;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 90px 0 110px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--primary-soft) 0%, var(--bg) 100%);
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .5;
  z-index: 0;
  animation: blobMove 12s ease-in-out infinite alternate;
}

.blob-1 {
  width: 380px;
  height: 380px;
  background: #7fe0d8;
  top: -120px;
  inset-inline-start: -100px;
}

.blob-2 {
  width: 320px;
  height: 320px;
  background: #ffc9b8;
  bottom: -100px;
  inset-inline-end: -80px;
  animation-delay: -5s;
}

@keyframes blobMove {
  to {
    transform: translate(40px, 30px) scale(1.15);
  }
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 50px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .45rem 1rem;
  border-radius: 50px;
  font-size: .85rem;
  font-weight: 600;
  background: var(--card);
  color: var(--primary-dark);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.2rem;
}

.hero h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.7rem);
  font-weight: 800;
  margin-bottom: 1.1rem;
}

.gradient-text {
  background: linear-gradient(90deg, var(--primary), #14b8a6, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  font-size: 1.08rem;
  max-width: 540px;
  margin-bottom: 1.8rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  margin-bottom: 1.8rem;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.6rem;
  font-size: .92rem;
  font-weight: 500;
  color: var(--heading);
}

.hero-points i {
  color: var(--primary);
  margin-inline-end: .35rem;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 440px;
}

.visual-circle {
  position: relative;
  width: min(380px, 80vw);
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 30% 25%, #ffffff, var(--primary-soft) 60%, #bfece8);
  box-shadow: inset 0 0 0 10px rgba(255, 255, 255, .5), var(--shadow);
}

.visual-core {
  width: 62%;
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: clamp(3.5rem, 9vw, 6rem);
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #14b8a6);
  box-shadow: 0 20px 50px rgba(10, 143, 143, .4);
  animation: bob 5s ease-in-out infinite;
}

.ring {
  position: absolute;
  border-radius: 50%;
  border: 2px dashed rgba(10, 143, 143, .35);
}

.ring-1 {
  inset: -28px;
  animation: spin 26s linear infinite;
}

.ring-2 {
  inset: -58px;
  animation: spin 40s linear infinite reverse;
  border-color: rgba(255, 122, 89, .35);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes bob {

  0%,
  100% {
    transform: translateY(-8px);
  }

  50% {
    transform: translateY(10px);
  }
}

.float-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .7rem 1rem;
  border-radius: 16px;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  animation: bob 6s ease-in-out infinite;
}

.float-chip i {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--primary-soft);
  color: var(--primary);
}

.float-chip strong {
  display: block;
  font-size: .85rem;
  color: var(--heading);
  line-height: 1.2;
}

.float-chip small {
  font-size: .72rem;
  color: var(--text);
}

.chip-1 {
  top: 36px;
  inset-inline-start: 0;
  animation-delay: -1s;
}

.chip-2 {
  bottom: 70px;
  inset-inline-start: -10px;
  animation-delay: -3s;
}

.chip-3 {
  top: 130px;
  inset-inline-end: 0;
  animation-delay: -2s;
}

.chip-3 i {
  background: #fff2ed;
  color: var(--accent);
}

/* ---------- Section headings ---------- */
.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-soft);
  padding: .3rem .9rem;
  border-radius: 50px;
  margin-bottom: .9rem;
}

.section-title {
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  font-weight: 800;
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.2rem;
}

.section-sub {
  margin: 0;
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-art {
  position: relative;
  aspect-ratio: 1 / .92;
  border-radius: 28px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary) 0%, #14b8a6 55%, #5eead4 100%);
  box-shadow: var(--shadow);
}

.about-art::before,
.about-art::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
}

.about-art::before {
  width: 280px;
  height: 280px;
  top: -90px;
  inset-inline-end: -80px;
}

.about-art::after {
  width: 200px;
  height: 200px;
  bottom: -70px;
  inset-inline-start: -50px;
}

.art-main {
  position: relative;
  z-index: 1;
  font-size: clamp(6rem, 14vw, 9rem);
  color: #0a8f8f;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, .2));
  animation: bob 5s ease-in-out infinite;
}

.art-dna {
  position: absolute;
  z-index: 1;
  top: 12%;
  inset-inline-start: 12%;
  font-size: 2.6rem;
  color: #0a8f8f;
  animation: spin 14s linear infinite;
}

.art-vial {
  position: absolute;
  z-index: 1;
  bottom: 14%;
  inset-inline-end: 14%;
  font-size: 2.4rem;
  color:#0a8f8f;
  animation: bob 4s ease-in-out infinite;
}

.exp-badge {
  position: absolute;
  bottom: -24px;
  inset-inline-end: -14px;
  padding: 1.1rem 1.5rem;
  border-radius: 20px;
  text-align: center;
  background: var(--card);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.exp-badge strong {
  display: block;
  font-size: 2.2rem;
  color: var(--accent);
  line-height: 1;
}

.exp-badge span {
  font-size: .8rem;
  font-weight: 600;
  color: var(--heading);
}

.check-list {
  margin: 1.2rem 0 1.8rem;
  display: grid;
  gap: .7rem;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: .8rem;
  font-weight: 500;
  color: var(--heading);
}

.check-list i {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--primary);
  color: #fff;
  font-size: .7rem;
  flex-shrink: 0;
}

/* ---------- Test cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.test-card {
  position: relative;
  padding: 1.8rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s ease, border-color .3s ease;
}

.test-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow);
  border-color: var(--primary);
}

.test-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  margin-bottom: 1.1rem;
  background: var(--primary-soft);
  color: var(--primary);
  transition: transform .4s var(--ease), background .3s, color .3s;
}

.test-card:hover .test-icon {
  background: var(--primary);
  color: #fff;
  transform: rotate(-8deg) scale(1.08);
}

.test-card h3 {
  font-size: 1.2rem;
}

.test-card p {
  font-size: .93rem;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 1.1rem;
  font-size: .8rem;
  margin-bottom: 1.2rem;
}

.meta i {
  color: var(--primary);
  margin-inline-end: .3rem;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.1rem;
  border-top: 1px dashed var(--border);
}

.price del {
  color: #94a3b0;
  font-size: .9rem;
  margin-inline-end: .3rem;
}

.price strong {
  font-size: 1.6rem;
  color: var(--heading);
  font-weight: 800;
}

.test-card.featured {
  border-color: var(--primary);
  background: linear-gradient(180deg, var(--primary-soft), var(--card) 55%);
}

.ribbon {
  position: absolute;
  top: 18px;
  inset-inline-end: 18px;
  padding: .25rem .8rem;
  border-radius: 50px;
  background: var(--accent);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
}

/* ---------- Home collection ---------- */
.collection-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 60px;
  align-items: center;
}

.benefit-list {
  display: grid;
  gap: 1.2rem;
  margin: 1.6rem 0 2rem;
}

.benefit-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.benefit-list li>span {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  background: var(--primary-soft);
  color: var(--primary);
  transition: transform .3s var(--ease);
}

.benefit-list li:hover>span {
  transform: scale(1.12) rotate(-6deg);
}

.benefit-list h4 {
  margin: 0 0 .1rem;
  font-size: 1.05rem;
}

.benefit-list p {
  margin: 0;
  font-size: .92rem;
}

.collection-steps {
  padding: 2.2rem;
  border-radius: 26px;
  color: #fff;
  background: linear-gradient(145deg, var(--navy), #12486b);
  box-shadow: var(--shadow);
}

.collection-steps h3 {
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 1.4rem;
}

.steps {
  position: relative;
  display: grid;
  gap: 1.3rem;
}

.steps::before {
  content: "";
  position: absolute;
  top: 20px;
  bottom: 20px;
  inset-inline-start: 19px;
  width: 2px;
  background: rgba(255, 255, 255, .2);
}

.steps li {
  position: relative;
  display: flex;
  gap: 1rem;
  align-items: center;
}

.step-no {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  background: var(--accent);
  color: #fff;
  flex-shrink: 0;
  z-index: 1;
  box-shadow: 0 0 0 6px rgba(255, 122, 89, .2);
}

.steps strong {
  display: block;
  line-height: 1.3;
}

.steps small {
  color: rgba(255, 255, 255, .7);
  font-size: .85rem;
}

/* ---------- Features ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.feature {
  padding: 2rem;
  text-align: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform .4s var(--ease), box-shadow .4s ease;
}

.feature:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.f-icon {
  width: 74px;
  height: 74px;
  margin: 0 auto 1.2rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.7rem;
  color: var(--primary);
  background: var(--primary-soft);
  position: relative;
  transition: all .4s var(--ease);
}

.f-icon::after {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  border: 2px dashed var(--primary);
  opacity: 0;
  transform: scale(.85);
  transition: all .4s var(--ease);
}

.feature:hover .f-icon {
  background: var(--primary);
  color: #fff;
}

.feature:hover .f-icon::after {
  opacity: .6;
  transform: scale(1);
  animation: spin 10s linear infinite;
}

.feature h3 {
  font-size: 1.15rem;
}

.feature p {
  margin: 0;
  font-size: .93rem;
}

/* ---------- Stats ---------- */
.stats {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary) 60%, #14b8a6);
  color: #fff;
  padding: 80px 0;
  overflow: hidden;
}

.stats::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .07);
  top: -200px;
  inset-inline-start: -120px;
}

.stats-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat i {
  font-size: 2rem;
  margin-bottom: .6rem;
  opacity: .85;
}

.stat h3 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: .1rem;
}

.stat p {
  margin: 0;
  font-weight: 500;
  opacity: .9;
}

/* ---------- Testimonials ---------- */
.testimonials-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: center;
  max-width: 1140px;
  margin-inline: auto;
}

.testimonials-media {
  position: relative;
}

.testimonials-photo-wrap {
  position: relative;
}

.testimonials-photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
}

.testimonials-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .5s var(--ease);
}

.testimonials-photo:hover img {
  transform: scale(1.03);
}

.testimonial-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  padding: .75rem 1.2rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 50px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .1);
  z-index: 2;
  transition: transform .3s ease;
}

.testimonial-badge:hover {
  transform: translateY(-4px);
}

.testimonial-badge.badge-top {
  top: -16px;
  inset-inline-start: -16px;
}

.testimonial-badge.badge-top i {
  color: #f5b301;
  font-size: 1.25rem;
}

.testimonial-badge.badge-bottom {
  bottom: -16px;
  inset-inline-end: -16px;
}

.testimonial-badge.badge-bottom i {
  color: var(--primary);
  font-size: 1.25rem;
}

.testimonial-badge strong {
  display: block;
  font-size: .92rem;
  color: var(--heading);
  line-height: 1.2;
}

.testimonial-badge span {
  font-size: .76rem;
  color: var(--muted);
}

.verified-tag {
  color: var(--primary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-inline-start: 4px;
}

.slider {
  max-width: 100%;
  margin-inline: auto;
}

.slides {
  display: grid;
}

.slide {
  grid-area: 1 / 1;
  margin: 0;
  padding: 2.6rem 2.4rem;
  text-align: center;
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 26px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(24px) scale(.97);
  transition: opacity .6s ease, transform .6s var(--ease), visibility .6s;
}

.slide.active {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.quote-mark {
  font-size: 2.2rem;
  color: var(--primary);
  opacity: .25;
  margin-bottom: .6rem;
}

.slide blockquote {
  margin: 0 0 1rem;
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--heading);
  font-weight: 500;
}

.stars {
  color: #f5b301;
  margin-bottom: 1.3rem;
  letter-spacing: 3px;
}

.slide figcaption {
  display: inline-flex;
  align-items: center;
  gap: .9rem;
  text-align: start;
}

.avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  overflow: hidden;
  flex-shrink: 0;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
}
.slide figcaption strong {
  display: block;
  color: var(--heading);
  line-height: 1.2;
}

.slide figcaption small {
  font-size: .82rem;
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  margin-top: 1.6rem;
}

.slider-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--heading);
  transition: all .3s ease;
}

.slider-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: scale(1.08);
}

.dots {
  display: flex;
  gap: .5rem;
}

.dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: var(--border);
  transition: all .35s var(--ease);
}

.dot.active {
  width: 30px;
  background: var(--primary);
}

/* ---------- CTA ---------- */
.cta {
  padding: 0 0 100px;
}

.cta-box {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 4.2rem 2rem;
  border-radius: 32px;
  color: #fff;
  background: linear-gradient(135deg, var(--navy), #0f5c7a 55%, var(--primary));
  box-shadow: var(--shadow);
}

.cta-box h2 {
  color: #fff;
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  font-weight: 800;
  position: relative;
}

.cta-box p {
  max-width: 560px;
  margin: 0 auto 2rem;
  opacity: .9;
  position: relative;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  position: relative;
}

.cta-bubble {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  animation: blobMove 9s ease-in-out infinite alternate;
}

.b1 {
  width: 260px;
  height: 260px;
  top: -100px;
  inset-inline-start: -60px;
}

.b2 {
  width: 200px;
  height: 200px;
  bottom: -80px;
  inset-inline-end: -40px;
  animation-delay: -4s;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: #b8c6d6;
  padding-top: 70px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 1.3fr;
  gap: 40px;
  padding-bottom: 50px;
}

.site-footer .logo {
  color: #fff;
  margin-bottom: 1rem;
}

.site-footer .logo-text b {
  color: #5eead4;
}

.site-footer h4 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 1.2rem;
}

.f-col li {
  margin-bottom: .6rem;
  font-size: .93rem;
}

.f-col a {
  transition: color .25s ease, padding .25s ease;
}

.f-col ul:not(.contact-list) a:hover {
  color: #5eead4;
  padding-inline-start: 6px;
}

.contact-list li {
  display: flex;
  gap: .7rem;
}

.contact-list i {
  color: #5eead4;
  margin-top: .35rem;
  width: 16px;
}

.socials {
  display: flex;
  gap: .6rem;
  margin-top: 1rem;
}

.socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  transition: all .3s ease;
}

.socials a:hover {
  background: var(--primary);
  transform: translateY(-4px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 1.2rem 0;
  text-align: center;
  font-size: .88rem;
}

.footer-bottom p {
  margin: 0;
}

.back-top {
  position: fixed;
  bottom: 24px;
  inset-inline-end: 24px;
  z-index: 900;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  background: var(--primary);
  color: #fff;
  box-shadow: 0 10px 24px rgba(10, 143, 143, .4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all .35s var(--ease);
}

.back-top.show {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.back-top:hover {
  background: var(--accent);
  transform: translateY(-4px);
}

/* ---------- Animations ---------- */
.anim-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp .8s var(--ease) forwards;
}

.anim-zoom {
  opacity: 0;
  transform: scale(.85);
  animation: zoomIn 1s var(--ease) forwards;
}

.delay-1 {
  animation-delay: .15s;
}

.delay-2 {
  animation-delay: .3s;
}

.delay-3 {
  animation-delay: .45s;
}

.delay-4 {
  animation-delay: .6s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes zoomIn {
  to {
    opacity: 1;
    transform: none;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .8s ease, transform .8s var(--ease);
}

.reveal.reveal-side-a {
  transform: translateX(-50px);
}

.reveal.reveal-side-b {
  transform: translateX(50px);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.card-grid .reveal:nth-child(3n+2),
.feature-grid .reveal:nth-child(3n+2),
.stats-grid .reveal:nth-child(2) {
  transition-delay: .12s;
}

.card-grid .reveal:nth-child(3n+3),
.feature-grid .reveal:nth-child(3n+3),
.stats-grid .reveal:nth-child(3) {
  transition-delay: .24s;
}

.stats-grid .reveal:nth-child(4) {
  transition-delay: .36s;
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: .01ms !important;
  }

  .reveal,
  .anim-up,
  .anim-zoom {
    opacity: 1;
    transform: none;
  }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

/* Tablet landscape / small laptop */
@media (max-width: 1199px) {
  .nav-link {
    padding: .6rem .65rem;
    font-size: .9rem;
  }

  .header-cta {
    display: none;
  }
}

/* Tablet & mobile: hamburger menu */
@media (max-width: 991px) {
  :root {
    --header-h: 68px;
  }

  .section {
    padding: 76px 0;
  }

  /* Prevent backdrop-filter from creating a containing block that traps position:fixed menu */
  .site-header {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: var(--card);
    border-bottom: 1px solid var(--border);
  }

  body.menu-open {
    overflow: hidden;
  }

  .hamburger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1002;
    cursor: pointer;
    flex-shrink: 0;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    z-index: 1001;
    width: min(340px, 86vw);
    height: 100vh;
    height: 100dvh;
    padding: calc(var(--header-h) + 16px) 1.25rem 2.5rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: var(--card);
    box-shadow: -10px 0 40px rgba(0, 0, 0, .22);
    border-inline-start: 1px solid var(--border);
    transform: translateX(105%);
    visibility: hidden;
    transition: transform .4s var(--ease), visibility .4s;
  }

  .main-nav.open {
    transform: translateX(0);
    visibility: visible;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: .2rem;
  }

  .nav-link {
    width: 100%;
    padding: .85rem 1rem;
    justify-content: space-between;
    border-radius: 12px;
  }

  .nav-list>li>.nav-link::after {
    display: none;
  }

  .nav-link.active {
    background: var(--primary-soft);
  }

  .nav-list>li {
    opacity: 0;
    transform: translateX(24px);
    transition: opacity .4s ease, transform .4s var(--ease);
  }

  .main-nav.open .nav-list>li {
    opacity: 1;
    transform: none;
  }

  .main-nav.open .nav-list>li:nth-child(1) {
    transition-delay: .08s;
  }

  .main-nav.open .nav-list>li:nth-child(2) {
    transition-delay: .13s;
  }

  .main-nav.open .nav-list>li:nth-child(3) {
    transition-delay: .18s;
  }

  .main-nav.open .nav-list>li:nth-child(4) {
    transition-delay: .23s;
  }

  .main-nav.open .nav-list>li:nth-child(5) {
    transition-delay: .28s;
  }

  .main-nav.open .nav-list>li:nth-child(6) {
    transition-delay: .33s;
  }

  .dropdown {
    position: static;
    min-width: 0;
    padding: 0 0 0 .6rem;
    margin: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
    opacity: 1;
    visibility: visible;
    transform: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s var(--ease);
  }

  .has-dropdown.open>.dropdown {
    max-height: 400px;
    padding-block: .3rem;
  }

  .dropdown .nav-link {
    justify-content: flex-start;
    gap: .6rem;
  }

  .hero {
    padding: 60px 0 80px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }

  .hero p {
    margin-inline: auto;
  }

  .hero-buttons,
  .hero-points {
    justify-content: center;
  }

  .hero-visual {
    min-height: 400px;
  }

  .chip-1 {
    inset-inline-start: 6%;
  }

  .chip-2 {
    inset-inline-start: 4%;
  }

  .chip-3 {
    inset-inline-end: 6%;
  }

  .about-grid,
  .collection-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .about-image {
    max-width: 520px;
    margin-inline: auto;
    width: 100%;
  }

  .card-grid,
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Mobile */
@media (max-width: 575px) {
  body {
    font-size: 15px;
  }

  .container {
    width: min(1200px, 100% - 32px);
  }

  .section {
    padding: 60px 0;
  }

  .icon-btn {
    min-width: 38px;
    height: 38px;
  }

  .header-actions {
    gap: .4rem;
  }

  .logo {
    font-size: 1.25rem;
  }

  .logo-icon {
    width: 38px;
    height: 38px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .hero-visual {
    min-height: 340px;
  }

  .visual-circle {
    width: 250px;
  }

  .ring-2 {
    display: none;
  }

  .float-chip {
    padding: .5rem .75rem;
  }

  .float-chip i {
    width: 32px;
    height: 32px;
  }

  .chip-1 {
    top: 10px;
    inset-inline-start: 0;
  }

  .chip-2 {
    bottom: 20px;
    inset-inline-start: 0;
  }

  .chip-3 {
    top: 90px;
    inset-inline-end: 0;
  }

  .card-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .exp-badge {
    inset-inline-end: 8px;
    padding: .8rem 1.1rem;
  }

  .collection-steps {
    padding: 1.6rem;
  }

  .slide {
    padding: 2rem 1.3rem;
  }

  .slide blockquote {
    font-size: 1rem;
  }

  .cta-box {
    padding: 3rem 1.4rem;
    border-radius: 24px;
  }

  .cta-buttons .btn {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .stat i {
    font-size: 1.6rem;
  }
}

/* =========================================================
   ABOUT PAGE (about.html)
   ========================================================= */

/* ---------- 1. Page banner ---------- */
.page-banner {
  position: relative;
  overflow: hidden;
  text-align: center;
  color: #fff;
  padding: 84px 0 92px;
  border-radius: 0 0 44px 44px;
  background: linear-gradient(135deg, var(--navy), #0f5c7a 55%, var(--primary));
}

.banner-inner {
  position: relative;
  z-index: 1;
}

.page-banner h1 {
  color: #fff;
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  font-weight: 800;
  margin-bottom: .8rem;
}

.page-banner p {
  max-width: 560px;
  margin: 0 auto 1.6rem;
  font-size: 1.05rem;
  opacity: .92;
}

.breadcrumb ol {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .55rem 1.2rem;
  border-radius: 50px;
  font-size: .9rem;
  font-weight: 500;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .25);
}

.breadcrumb a {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  transition: color .25s ease;
}

.breadcrumb a:hover {
  color: #5eead4;
}

.breadcrumb .sep {
  font-size: .65rem;
  opacity: .7;
}

.breadcrumb li[aria-current] {
  font-weight: 700;
}

/* ---------- 2. Our story ---------- */
.story-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 70px;
  align-items: center;
}

.story-text .section-title {
  max-width: 560px;
}

.story-text .check-list {
  margin-bottom: 0;
}

.timeline {
  --tl-progress: 1;
  padding: 2.2rem;
  border-radius: 26px;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.timeline h3 {
  font-size: 1.4rem;
  margin-bottom: 1.6rem;
}

.tl-list {
  position: relative;
  display: grid;
  gap: 1.7rem;
}

.tl-list::before,
.tl-list::after {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  inset-inline-start: 9px;
  width: 2px;
  border-radius: 2px;
}

.tl-list::before {
  background: var(--border);
}

.tl-list::after {
  background: var(--primary);
  transform: scaleY(var(--tl-progress));
  transform-origin: top;
  transition: transform .25s linear;
}

.tl-list li {
  position: relative;
  padding-inline-start: 2.6rem;
}

.tl-list li::before {
  content: "";
  position: absolute;
  top: 4px;
  inset-inline-start: 0;
  z-index: 1;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--card);
  border: 4px solid var(--border);
  transition: border-color .3s ease, background .3s ease;
}

.tl-list li.reached::before {
  border-color: var(--primary);
  background: var(--primary-soft);
}

.tl-year {
  display: inline-block;
  font-size: .85rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: .1rem;
}

.tl-list strong {
  display: block;
  color: var(--heading);
  line-height: 1.35;
}

.tl-list p {
  margin: .15rem 0 0;
  font-size: .92rem;
}

/* ---------- 3. Mission & vision ---------- */
.mv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.mv-card {
  padding: 2.2rem;
  border-radius: 26px;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.mv-card h3 {
  font-size: 1.4rem;
}

.mv-card p {
  margin: 0;
}

.mv-icon {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
  background: var(--primary-soft);
  color: var(--primary);
}

.mv-card.mission {
  color: rgba(255, 255, 255, .85);
  border-color: transparent;
  box-shadow: var(--shadow);
  background: linear-gradient(145deg, var(--navy), #12486b);
}

.mv-card.mission h3 {
  color: #fff;
}

.mv-card.mission .mv-icon {
  background: var(--accent);
  color: #fff;
}

.mv-card.commitment {
  border-top: 4px solid var(--accent);
}

.mv-card.commitment .mv-icon {
  background: #fff2ed;
  color: var(--accent);
}

.mv-points {
  display: grid;
  gap: .7rem;
}

.mv-points li {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  font-weight: 500;
  color: var(--heading);
}

.mv-points i {
  width: 22px;
  height: 22px;
  margin-top: .2rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: .6rem;
  background: var(--primary);
  color: #fff;
}

/* ---------- 4. Core values ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.value-card {
  padding: 2rem 1.6rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform .4s var(--ease), box-shadow .4s ease, border-color .3s ease;
}

.value-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: var(--primary);
}

.v-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
  background: var(--primary-soft);
  color: var(--primary);
  transition: background .3s ease, color .3s ease, transform .4s var(--ease);
}

.value-card:hover .v-icon {
  background: var(--primary);
  color: #fff;
  transform: rotate(-8deg) scale(1.06);
}

.value-card h3 {
  font-size: 1.2rem;
}

.value-card p {
  margin: 0;
  font-size: .93rem;
}

/* ---------- 5. Why patients choose us ---------- */
.why-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 64px;
  align-items: start;
}

.why-intro {
  position: sticky;
  top: calc(var(--header-h) + 30px);
}

.why-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.6rem;
}

.why-stats div {
  padding: 1rem 1.4rem;
  border-radius: 16px;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.why-stats strong {
  display: block;
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--accent);
}

.why-stats span {
  font-size: .85rem;
  font-weight: 600;
  color: var(--heading);
}

.why-list {
  display: grid;
  gap: 1.2rem;
}

.why-item {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  padding: 1.7rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s ease, border-color .3s ease;
}

.why-item:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow);
  border-color: var(--primary);
}

.w-icon {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  background: var(--primary-soft);
  color: var(--primary);
  transition: background .3s ease, color .3s ease;
}

.why-item:hover .w-icon {
  background: var(--primary);
  color: #fff;
}

.why-item h3 {
  font-size: 1.2rem;
}

.why-item ul {
  display: grid;
  gap: .35rem;
}

.why-item li {
  position: relative;
  padding-inline-start: 1.3rem;
  font-size: .93rem;
}

.why-item li::before {
  content: "";
  position: absolute;
  top: .7em;
  inset-inline-start: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
}

/* ---------- 6. CTA (page variant) ---------- */
.cta-page {
  padding-top: 100px;
}

/* ---------- About page responsive ---------- */
@media (max-width: 991px) {
  .page-banner {
    padding: 64px 0 72px;
    border-radius: 0 0 32px 32px;
  }

  .story-grid,
  .why-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .story-text .section-title {
    max-width: none;
  }

  .timeline {
    max-width: 560px;
    width: 100%;
    margin-inline: auto;
  }

  .mv-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mv-card.commitment {
    grid-column: 1 / -1;
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-intro {
    position: static;
  }

  .cta-page {
    padding-top: 76px;
  }

  .cta-page.cta {
    padding-bottom: 76px;
  }
}

@media (max-width: 575px) {
  .page-banner {
    padding: 52px 0 60px;
    border-radius: 0 0 26px 26px;
  }

  .page-banner p {
    font-size: .97rem;
  }

  .breadcrumb ol {
    padding: .45rem 1rem;
    font-size: .85rem;
  }

  .timeline {
    padding: 1.6rem 1.3rem;
  }

  .mv-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .mv-card {
    padding: 1.8rem 1.5rem;
  }

  .why-item {
    flex-direction: column;
    gap: .9rem;
    padding: 1.5rem;
  }

  .why-item:hover {
    transform: translateY(-6px);
  }

  .why-stats div {
    flex: 1 1 140px;
  }

  .cta-page {
    padding-top: 60px;
  }

  .cta-page.cta {
    padding-bottom: 60px;
  }
}

/* =========================================================
   CONTACT PAGE (contact.html)
   Reuses .page-banner, .breadcrumb, .collection-steps and .cta-page
   ========================================================= */

/* ---------- 2. Contact information ---------- */
.info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.info-card {
  padding: 2rem 1.6rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s ease, border-color .3s ease;
}

.info-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: var(--primary);
}

.ic-icon {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
  background: var(--primary-soft);
  color: var(--primary);
  transition: background .3s ease, color .3s ease, transform .4s var(--ease);
}

.info-card:hover .ic-icon {
  background: var(--primary);
  color: #fff;
  transform: rotate(-8deg) scale(1.06);
}

.info-card h3 {
  font-size: 1.2rem;
}

.info-card p {
  margin: 0 0 .7rem;
  font-size: .93rem;
}

.ic-link {
  display: block;
  font-weight: 600;
  color: var(--heading);
  overflow-wrap: anywhere;
  transition: color .25s ease;
}

a.ic-link:hover {
  color: var(--primary);
}

.open-badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-top: .8rem;
  padding: .25rem .8rem;
  border-radius: 50px;
  font-size: .78rem;
  font-weight: 700;
  background: var(--primary-soft);
  color: var(--primary-dark);
}

.open-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

.open-badge.closed {
  background: #fff2ed;
  color: #b4452a;
}

.open-badge.closed::before {
  background: var(--accent);
}

/* ---------- 3. Message form ---------- */
.form-wrap {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 50px;
  align-items: start;
}

.form-card {
  padding: 2.4rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.form-card .section-title {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
}

.form-card>p {
  margin-bottom: 1.6rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;
}

.field {
  margin-bottom: 1.2rem;
}

.field label {
  display: block;
  margin-bottom: .4rem;
  font-size: .9rem;
  font-weight: 600;
  color: var(--heading);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: .85rem 1.05rem;
  border-radius: 14px;
  border: 1.5px solid var(--border);
  background: var(--bg);
  color: var(--heading);
  font: inherit;
  font-size: .95rem;
  line-height: 1.5;
  transition: border-color .25s ease, box-shadow .25s ease, background .35s ease;
}

.field textarea {
  resize: vertical;
  min-height: 130px;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #94a3b0;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-soft);
}

.select-wrap {
  position: relative;
}

.select-wrap select {
  appearance: none;
  -webkit-appearance: none;
  padding-inline-end: 2.6rem;
  cursor: pointer;
}

.select-wrap i {
  position: absolute;
  top: 50%;
  inset-inline-end: 1.1rem;
  transform: translateY(-50%);
  font-size: .75rem;
  color: var(--primary);
  pointer-events: none;
}

.error-msg {
  display: block;
  min-height: 0;
  margin-top: .3rem;
  font-size: .8rem;
  font-weight: 500;
  color: #c9391f;
}

.error-msg:empty {
  display: none;
}

.field.invalid input,
.field.invalid select,
.field.invalid textarea {
  border-color: var(--accent);
}

.form-submit[disabled] {
  opacity: .7;
  cursor: progress;
  transform: none;
}

.form-status {
  margin: 1.2rem 0 0;
  padding: .9rem 1.1rem;
  border-radius: 14px;
  font-weight: 500;
  font-size: .93rem;
  background: var(--primary-soft);
  color: var(--primary-dark);
}

.form-status[hidden],
.open-badge[hidden] {
  display: none;
}

.form-status.error {
  background: #fff2ed;
  color: #b4452a;
}

/* ---------- 4. Map & location ---------- */
.map-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 40px;
  align-items: stretch;
}

.loc-card {
  padding: 2.2rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 26px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.6rem;
}

.loc-list {
  display: grid;
  gap: 1.3rem;
}

.loc-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.loc-list li>span {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  background: var(--primary-soft);
  color: var(--primary);
}

.loc-list h4 {
  margin: 0 0 .1rem;
  font-size: 1.02rem;
}

.loc-list p {
  margin: 0;
  font-size: .92rem;
}

.loc-card .btn {
  align-self: flex-start;
}

.map-frame {
  min-height: 420px;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: var(--primary-soft);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
}

/* ---------- Contact page responsive ---------- */
@media (max-width: 991px) {
  .info-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-wrap,
  .map-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .collection-steps {
    max-width: 560px;
    width: 100%;
    margin-inline: auto;
  }

  .map-frame,
  .map-frame iframe {
    min-height: 360px;
  }
}

@media (max-width: 575px) {
  .info-grid {
    grid-template-columns: 1fr;
  }

  .form-card {
    padding: 1.6rem 1.3rem;
    border-radius: 22px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-submit {
    width: 100%;
  }

  .loc-card {
    padding: 1.6rem 1.3rem;
  }

  .loc-card .btn {
    align-self: stretch;
  }

  .map-frame,
  .map-frame iframe {
    min-height: 300px;
  }
}


/* =========================================================
   TESTS & PACKAGES PAGE (tests-packages.html)
   Reuses .page-banner, .breadcrumb, .test-card, .collection-steps,
   .cta-box and the contact-form field styles
   ========================================================= */

section[id] {
  scroll-margin-top: var(--header-h);
}

.card-grid[hidden],
.test-card[hidden],
.no-results[hidden],
.search-clear[hidden],
.search-btn[hidden] {
  display: none;
}

/* ---------- 2. Search & categories ---------- */
.finder-section {
  padding-bottom: 20px;
}

.finder {
  max-width: 920px;
  margin-inline: auto;
  padding: 2.4rem;
  text-align: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.finder-head {
  margin-bottom: 1.4rem;
}

.finder-head .section-title {
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  margin: 0;
}

.search-box {
  position: relative;
  text-align: start;
}

.search-box>i:first-child {
  position: absolute;
  top: 50%;
  inset-inline-start: 1.3rem;
  transform: translateY(-50%);
  color: var(--primary);
  pointer-events: none;
}

.search-box input {
  width: 100%;
  padding: 1rem 3.4rem;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  background: var(--bg);
  color: var(--heading);
  font: inherit;
  font-size: 1rem;
  line-height: 1.5;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color .25s ease, box-shadow .25s ease, background .35s ease;
}

.search-box input::placeholder {
  color: #94a3b0;
}

.search-box input::-webkit-search-cancel-button {
  -webkit-appearance: none;
  display: none;
}

.search-box input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-soft);
}

.search-clear,
.search-btn {
  position: absolute;
  top: 50%;
  inset-inline-end: .5rem;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: background .3s ease, color .3s ease, transform .3s var(--ease);
}

.search-clear {
  background: var(--primary-soft);
  color: var(--primary-dark);
}

.search-clear:hover {
  background: var(--primary);
  color: #fff;
}

.search-btn {
  background: linear-gradient(135deg, var(--primary), #14b8a6);
  color: #fff;
  box-shadow: 0 6px 16px rgba(10, 143, 143, .3);
}

.search-btn:hover {
  transform: translateY(-50%) scale(1.08);
}

.quick-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .5rem .6rem;
  margin-top: 1rem;
  font-size: .85rem;
}

.quick-tags span {
  font-weight: 600;
  color: var(--heading);
}

.quick-tags button {
  padding: .2rem .85rem;
  border-radius: 50px;
  border: 0;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-size: .82rem;
  font-weight: 600;
  transition: background .3s ease, color .3s ease, transform .3s var(--ease);
}

.quick-tags button:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.cat-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .65rem;
  margin-top: 1.4rem;
}

.cat-chip {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .6rem 1.1rem;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  background: var(--card);
  color: var(--heading);
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.2;
  transition: background .3s ease, color .3s ease, border-color .3s ease, transform .3s var(--ease);
}

.cat-chip i {
  color: var(--primary);
  transition: color .3s ease;
}

.cat-chip .count {
  min-width: 24px;
  padding: .05rem .5rem;
  border-radius: 50px;
  font-size: .72rem;
  background: var(--primary-soft);
  color: var(--primary-dark);
  transition: background .3s ease, color .3s ease;
}

.cat-chip:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.cat-chip.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 8px 20px rgba(10, 143, 143, .3);
}

.cat-chip.active i {
  color: #fff;
}

.cat-chip.active .count {
  background: rgba(255, 255, 255, .24);
  color: #fff;
}

.result-info {
  margin: 1.3rem 0 0;
  font-size: .88rem;
  font-weight: 500;
}

/* ---------- 3. Popular tests (extras on .test-card) ---------- */
.tests-section {
  padding-top: 50px;
}

.test-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .8rem;
  margin-bottom: 1.1rem;
}

.test-top .test-icon {
  margin-bottom: 0;
}

.ctag {
  padding: .22rem .8rem;
  border-radius: 50px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: var(--primary-soft);
  color: var(--primary-dark);
}

.no-results {
  max-width: 560px;
  margin-inline: auto;
  padding: 3rem 1.6rem;
  text-align: center;
  background: var(--card);
  border: 2px dashed var(--border);
  border-radius: var(--radius);
}

.no-results>i {
  font-size: 2.4rem;
  color: var(--primary);
  margin-bottom: .8rem;
}

.no-results p {
  max-width: 420px;
  margin-inline: auto;
  font-size: .93rem;
}

/* ---------- 4. Health checkup packages ---------- */
.pkg-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  align-items: stretch;
}

.pkg-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.9rem 1.5rem 1.6rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s ease, border-color .3s ease;
}

.pkg-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow);
  border-color: var(--primary);
}

.pkg-card.featured {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  background: linear-gradient(180deg, var(--primary-soft), var(--card) 45%);
}

.pkg-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  margin-bottom: 1.1rem;
  background: var(--primary-soft);
  color: var(--primary);
  transition: transform .4s var(--ease), background .3s, color .3s;
}

.pkg-card:hover .pkg-icon,
.pkg-card.featured .pkg-icon {
  background: var(--primary);
  color: #fff;
}

.pkg-card:hover .pkg-icon {
  transform: rotate(-8deg) scale(1.08);
}

.pkg-card h3 {
  font-size: 1.25rem;
}

.pkg-sub {
  min-height: 3.2em;
  margin-bottom: .6rem;
  font-size: .9rem;
}

.pkg-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .2rem .6rem;
  margin-bottom: .8rem;
}

.pkg-price del {
  color: #94a3b0;
  font-size: .95rem;
}

.pkg-price strong {
  font-size: 2rem;
  line-height: 1.1;
  font-weight: 800;
  color: var(--heading);
}

.save {
  padding: .15rem .65rem;
  border-radius: 50px;
  font-size: .72rem;
  font-weight: 700;
  background: #fff2ed;
  color: #b4452a;
}

.pkg-card .meta {
  margin-bottom: 0;
}

.pkg-list {
  flex: 1;
  display: grid;
  align-content: start;
  gap: .6rem;
  margin: 1.1rem 0 1.5rem;
  padding-top: 1.1rem;
  border-top: 1px dashed var(--border);
}

.pkg-list li {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .9rem;
  font-weight: 500;
  color: var(--heading);
  line-height: 1.5;
}

.pkg-list i {
  width: 20px;
  height: 20px;
  margin-top: .2rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: .55rem;
  background: var(--primary);
  color: #fff;
}

.pkg-card .btn {
  width: 100%;
}

/* ---------- 5. Test preparation guide ---------- */
.prep-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 50px;
  align-items: start;
}

.prep-groups {
  display: grid;
  gap: 1.2rem;
}

.prep-group {
  padding: 1.6rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .4s ease, border-color .3s ease;
}

.prep-group:hover {
  box-shadow: var(--shadow);
  border-color: var(--primary);
}

.prep-group-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

.prep-group-head>div {
  flex: 1;
  min-width: 0;
}

.prep-group-head h3 {
  font-size: 1.1rem;
  margin: 0;
}

.prep-group-head p {
  margin: .1rem 0 0;
  font-size: .86rem;
  line-height: 1.5;
}

.pg-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  background: var(--primary-soft);
  color: var(--primary);
  transition: background .3s ease, color .3s ease, transform .4s var(--ease);
}

.prep-group:hover .pg-icon {
  background: var(--primary);
  color: #fff;
  transform: rotate(-8deg) scale(1.06);
}

.prep-badge {
  flex-shrink: 0;
  padding: .25rem .8rem;
  border-radius: 50px;
  font-size: .75rem;
  font-weight: 700;
  white-space: nowrap;
}

.prep-badge.fasting {
  background: #fff2ed;
  color: #b4452a;
}

.prep-badge.nofast {
  background: var(--primary-soft);
  color: var(--primary-dark);
}

.prep-badge.timed {
  background: #fff6dd;
  color: #8a6100;
}

.prep-tests {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.prep-tests li {
  padding: .3rem .9rem;
  border-radius: 50px;
  border: 1px solid var(--border);
  background: var(--bg-alt);
  font-size: .84rem;
  font-weight: 500;
  color: var(--heading);
}

.prep-side {
  display: grid;
  gap: 1.2rem;
  position: sticky;
  top: calc(var(--header-h) + 30px);
}

.prep-tip {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.4rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-inline-start: 4px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.prep-tip>span {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #fff2ed;
  color: var(--accent);
}

.prep-tip p {
  margin: 0;
  font-size: .92rem;
}

.prep-tip strong {
  color: var(--heading);
}

.prep-tip a {
  font-weight: 600;
  color: var(--primary);
}

.prep-tip a:hover {
  text-decoration: underline;
}

/* ---------- 6. Booking CTA ---------- */
.book-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 3.4rem 3rem;
  text-align: start;
}

.book-info,
.book-form {
  position: relative;
}

.book-info h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
}

.book-box .book-info p {
  margin: 0 0 1.4rem;
  max-width: none;
}

.book-points {
  display: grid;
  gap: .7rem;
}

.book-points li {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-weight: 500;
}

.book-points i {
  color: #5eead4;
}

.book-form {
  padding: 1.9rem;
  border-radius: 24px;
  background: var(--card);
  color: var(--text);
  box-shadow: 0 24px 56px rgba(0, 0, 0, .28);
}

.book-form h3 {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1.2rem;
  font-size: 1.25rem;
}

.book-form h3 i {
  color: var(--primary);
}

.book-form .field {
  margin-bottom: 1rem;
}

.book-form .form-row {
  gap: 0 14px;
}

.book-form .form-submit {
  width: 100%;
  margin-top: .3rem;
}

/* ---------- Tests & Packages responsive ---------- */
@media (max-width: 1199px) {
  .pkg-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pkg-sub {
    min-height: 0;
  }
}

@media (max-width: 991px) {
  .finder-section {
    padding-bottom: 10px;
  }

  .tests-section {
    padding-top: 40px;
  }

  .prep-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .prep-side {
    position: static;
  }

  .book-box {
    grid-template-columns: 1fr;
    gap: 2.2rem;
    padding: 3rem 2rem;
  }

  .book-form {
    max-width: 600px;
    width: 100%;
    margin-inline: auto;
  }
}

@media (max-width: 575px) {
  .finder {
    padding: 1.6rem 1.1rem;
    border-radius: 22px;
  }

  .search-box input {
    padding: .9rem 3rem;
    font-size: .95rem;
  }

  .cat-chips {
    gap: .5rem;
  }

  .cat-chip {
    padding: .5rem .85rem;
    font-size: .84rem;
  }

  .pkg-grid {
    grid-template-columns: 1fr;
  }

  .prep-group {
    padding: 1.3rem 1.1rem;
  }

  .prep-group-head {
    flex-wrap: wrap;
  }

  .prep-group-head>div {
    flex-basis: calc(100% - 70px);
  }

  .prep-badge {
    order: 3;
    margin-inline-start: 68px;
  }

  .prep-tip {
    padding: 1.2rem;
  }

  .book-box {
    padding: 2.4rem 1.2rem;
    border-radius: 24px;
  }

  .book-form {
    padding: 1.4rem 1.1rem;
    border-radius: 20px;
  }
}

/* =========================================================
   404 ERROR PAGE (404.html)
   Reuses .hero, .blob, .badge, .search-box and .hero-buttons
   ========================================================= */

.error-hero {
  min-height: calc(100vh - var(--header-h));
  display: grid;
  align-items: center;
  padding: 70px 0 90px;
  text-align: center;
}

.error-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.error-code {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(.2rem, 1.6vw, 1rem);
  direction: ltr;
  font-size: clamp(5.5rem, 18vw, 11rem);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 1rem;
}

.error-code .digit {
  background: linear-gradient(135deg, var(--primary), #14b8a6 60%, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.error-code .zero {
  position: relative;
  width: .78em;
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #14b8a6);
  box-shadow: 0 20px 50px rgba(10, 143, 143, .4);
  animation: bob 5s ease-in-out infinite;
}

.error-code .zero i {
  font-size: .4em;
}

.error-code .zero::after {
  content: "";
  position: absolute;
  inset: -.1em;
  border-radius: 50%;
  border: 2px dashed rgba(10, 143, 143, .4);
  animation: spin 22s linear infinite;
}

.error-hero h1 {
  font-size: clamp(1.9rem, 4.6vw, 3.1rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.error-hero p {
  margin-inline: auto;
}

.error-search {
  max-width: 540px;
  margin: 0 auto 1.6rem;
}

.error-hero .hero-buttons {
  justify-content: center;
}

.error-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .5rem 1.4rem;
  font-size: .92rem;
  font-weight: 500;
}

.error-links>span {
  color: var(--heading);
  font-weight: 600;
}

.error-links a {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: var(--heading);
  transition: color .25s ease;
}

.error-links a i {
  color: var(--primary);
}

.error-links a:hover {
  color: var(--primary);
}

.ef {
  position: absolute;
  z-index: 1;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--primary);
  box-shadow: var(--shadow);
  animation: bob 6s ease-in-out infinite;
}

.ef-1 {
  top: 16%;
  inset-inline-start: 9%;
}

.ef-2 {
  bottom: 18%;
  inset-inline-end: 10%;
  animation-delay: -2s;
}

.ef-3 {
  top: 30%;
  inset-inline-end: 14%;
  color: var(--accent);
  animation-delay: -4s;
}

@media (max-width: 991px) {
  .error-hero {
    min-height: 0;
    padding: 56px 0 76px;
  }

  .ef-1 {
    inset-inline-start: 4%;
  }

  .ef-2 {
    inset-inline-end: 4%;
  }

  .ef-3 {
    inset-inline-end: 6%;
  }
}

@media (max-width: 767px) {
  .ef {
    display: none;
  }
}

@media (max-width: 575px) {
  .error-hero {
    padding: 44px 0 64px;
  }

  .error-hero .hero-buttons .btn {
    width: 100%;
    white-space: normal;
  }

  .error-links {
    flex-direction: column;
    gap: .6rem;
  }
}

/* =========================================================
   LOGIN / REGISTER / ACCOUNT RECOVERY PAGE (login.html)
   Reuses .hero, .blob, .badge, .check-list, .field, .error-msg,
   .form-status, .btn and the .mv-card styles from the About page
   ========================================================= */

.auth-card [hidden],
.cs-hero [hidden] {
  display: none !important;
}

/* ---------- 1. Authentication hero ---------- */
.auth-hero {
  padding: 70px 0 100px;
}

.auth-hero .auth-intro h1 {
  font-size: clamp(2rem, 4vw, 3.1rem);
}

.auth-hero .auth-intro>p {
  margin-bottom: 1.4rem;
}

.auth-intro .check-list {
  margin: 0 0 1.8rem;
}

/* Lab report preview: shows what the account holds */
.auth-report {
  max-width: 460px;
  padding: 1.2rem 1.3rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow);
  animation-name: fadeUp;
}

.rep-head {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding-bottom: .9rem;
  margin-bottom: .9rem;
  border-bottom: 1px dashed var(--border);
}

.rep-head>div {
  flex: 1;
  min-width: 0;
}

.rep-ico {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--primary-soft);
  color: var(--primary);
}

.rep-head strong {
  display: block;
  font-size: .92rem;
  line-height: 1.3;
  color: var(--heading);
}

.rep-head small {
  font-size: .76rem;
}

.rep-status {
  padding: .2rem .7rem;
  border-radius: 50px;
  font-size: .72rem;
  font-weight: 700;
  white-space: nowrap;
  background: var(--primary-soft);
  color: var(--primary-dark);
}

.rep-rows {
  display: grid;
  gap: .8rem;
}

.rep-rows li {
  display: grid;
  grid-template-columns: 88px 1fr 104px;
  align-items: center;
  gap: .9rem;
  font-size: .84rem;
}

.rep-rows span {
  font-weight: 500;
}

.rep-rows b {
  color: var(--heading);
  font-weight: 700;
  white-space: nowrap;
  text-align: end;
}

.rep-bar {
  position: relative;
  height: 6px;
  border-radius: 6px;
  background: var(--border);
}

.rep-bar::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  inset-inline: 16%;
  border-radius: 6px;
  background: rgba(10, 143, 143, .28);
}

.rep-bar i {
  position: absolute;
  top: 50%;
  inset-inline-start: var(--v);
  width: 12px;
  height: 12px;
  margin: -6px 0 0;
  margin-inline-start: -6px;
  border-radius: 50%;
  background: var(--primary);
  border: 2px solid var(--card);
}

/* ---------- 2. Auth card (tabs + forms) ---------- */
.auth-grid>* {
  min-width: 0;
}

.auth-wrap {
  width: 100%;
}

.auth-card {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin-inline: auto;
  padding: 2.2rem;
  text-align: start;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.auth-card p {
  max-width: none;
  margin: 0 0 1rem;
  font-size: .95rem;
}

.auth-tabs {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 5px;
  margin-bottom: 1.8rem;
  border-radius: 50px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
}

.auth-tabs::before {
  content: "";
  position: absolute;
  top: 5px;
  bottom: 5px;
  inset-inline-start: 5px;
  width: calc(50% - 5px);
  border-radius: 50px;
  background: linear-gradient(135deg, var(--primary), #14b8a6);
  box-shadow: 0 8px 18px rgba(10, 143, 143, .3);
  transition: transform .4s var(--ease);
}

.auth-card[data-view="register"] .auth-tabs::before {
  transform: translateX(100%);
}

.auth-card[data-view="recover"] .auth-tabs {
  display: none;
}

.auth-tabs button {
  position: relative;
  z-index: 1;
  padding: .7rem 1rem;
  border: 0;
  border-radius: 50px;
  background: transparent;
  color: var(--heading);
  font-size: .95rem;
  font-weight: 600;
  transition: color .3s ease;
}

.auth-tabs button[aria-selected="true"] {
  color: #fff;
}

.auth-panel {
  animation: authIn .45s var(--ease) both;
}

@keyframes authIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.auth-head {
  margin-bottom: 1.5rem;
}

.auth-head h2 {
  font-size: clamp(1.45rem, 2.6vw, 1.85rem);
  margin-bottom: .3rem;
}

.auth-head p {
  margin: 0;
}

/* Inputs with a leading icon and optional show/hide button */
.input-wrap {
  position: relative;
}

.input-wrap>.lead {
  position: absolute;
  top: 50%;
  inset-inline-start: 1.05rem;
  transform: translateY(-50%);
  font-size: .9rem;
  color: var(--primary);
  pointer-events: none;
}

.input-wrap input {
  padding-inline-start: 2.8rem;
}

.input-wrap.has-toggle input {
  padding-inline-end: 3.2rem;
}

.pass-toggle {
  position: absolute;
  top: 50%;
  inset-inline-end: .4rem;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: transparent;
  color: var(--text);
  transition: background .25s ease, color .25s ease;
}

.pass-toggle:hover {
  background: var(--primary-soft);
  color: var(--primary-dark);
}

.field-hint {
  display: block;
  margin-top: .4rem;
  font-size: .78rem;
}

.strength {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  margin-top: .6rem;
}

.strength i {
  height: 5px;
  border-radius: 5px;
  background: var(--border);
  transition: background .3s ease;
}

.strength[data-level="1"] i:nth-child(-n+1) {
  background: var(--accent);
}

.strength[data-level="2"] i:nth-child(-n+2) {
  background: #f5b301;
}

.strength[data-level="3"] i:nth-child(-n+3),
.strength[data-level="4"] i:nth-child(-n+4) {
  background: var(--primary);
}

.strength-text {
  display: block;
  min-height: 1.3em;
  margin-top: .35rem;
  font-size: .78rem;
  font-weight: 600;
  color: var(--heading);
}

/* Remember me, forgot password, consent */
.auth-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .6rem 1rem;
  margin: -.2rem 0 1.4rem;
}

.check {
  position: relative;
  display: inline-flex;
  align-items: flex-start;
  gap: .65rem;
  font-size: .9rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--heading);
  cursor: pointer;
}

.check input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.check .box {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: .02rem;
  border-radius: 7px;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--border);
  background: var(--bg);
  color: transparent;
  font-size: .62rem;
  transition: background .25s ease, border-color .25s ease, color .25s ease;
}

.check:hover .box {
  border-color: var(--primary);
}

.check input:checked+.box {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.check input:focus-visible+.box {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.check a {
  color: var(--primary);
  font-weight: 600;
}

.check a:hover {
  text-decoration: underline;
}

.consent {
  margin-bottom: 1.3rem;
}

.consent.invalid .box {
  border-color: var(--accent);
}

.link-btn {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: .9rem;
  font-weight: 600;
  color: var(--primary);
}

.link-btn:hover {
  text-decoration: underline;
}

.link-btn[disabled] {
  color: var(--text);
  opacity: .65;
  cursor: not-allowed;
  text-decoration: none;
}

.auth-submit {
  width: 100%;
}

.auth-card .form-status {
  margin: 1.2rem 0 0;
}

.auth-card .auth-switch {
  margin: 1.4rem 0 0;
  text-align: center;
  font-size: .92rem;
}

/* ---------- 3. Account recovery ---------- */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1.3rem;
}

.rec-steps {
  display: flex;
  align-items: center;
  margin-bottom: 1.6rem;
}

.rec-step {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .82rem;
  font-weight: 600;
  white-space: nowrap;
}

.rec-step b {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: .8rem;
  background: var(--bg-alt);
  border: 1.5px solid var(--border);
  color: var(--heading);
  transition: background .3s ease, border-color .3s ease, color .3s ease;
}

.rec-step.active {
  color: var(--heading);
}

.rec-step.active b,
.rec-step.done b {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.rec-step.done b {
  font-size: 0;
}

.rec-step.done b::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: .7rem;
}

.rec-line {
  flex: 1;
  height: 2px;
  min-width: 14px;
  margin-inline: .6rem;
  border-radius: 2px;
  background: var(--border);
  transition: background .3s ease;
}

.rec-line.done {
  background: var(--primary);
}

.rec-pane {
  animation: authIn .45s var(--ease) both;
}

.otp {
  display: flex;
  justify-content: space-between;
  gap: .6rem;
  direction: ltr;
  margin-bottom: .4rem;
}

.otp input {
  flex: 1;
  min-width: 0;
  max-width: 58px;
  aspect-ratio: 1 / 1.1;
  padding: 0;
  text-align: center;
  border-radius: 14px;
  border: 1.5px solid var(--border);
  background: var(--bg);
  color: var(--heading);
  font: inherit;
  font-size: 1.35rem;
  font-weight: 700;
  transition: border-color .25s ease, box-shadow .25s ease;
}

.otp input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-soft);
}

.otp.invalid input {
  border-color: var(--accent);
}

.resend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .4rem 1rem;
  margin: .7rem 0 1.4rem;
  font-size: .88rem;
}

.auth-card .resend span {
  margin: 0;
}

.auth-done {
  text-align: center;
  padding: .6rem 0 .2rem;
}

.done-icon {
  position: relative;
  width: 84px;
  height: 84px;
  margin: 0 auto 1.2rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 2rem;
  background: var(--primary-soft);
  color: var(--primary);
  animation: popIn .6s var(--ease) both;
}

.done-icon::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px dashed var(--primary);
  opacity: .5;
  animation: spin 14s linear infinite;
}

@keyframes popIn {
  from {
    opacity: 0;
    transform: scale(.6);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- 4. Trust & support ---------- */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.trust-grid .mv-card {
  display: flex;
  flex-direction: column;
}

.trust-grid .mv-card>p {
  margin-bottom: 1.2rem;
}

.trust-list {
  display: grid;
  gap: .7rem;
}

.trust-list li {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  font-size: .93rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .92);
}

.trust-list i {
  margin-top: .3rem;
  font-size: .8rem;
  color: #5eead4;
}

.trust-contact {
  display: grid;
  gap: 1rem;
}

.trust-contact li {
  display: flex;
  align-items: flex-start;
  gap: .8rem;
  font-size: .92rem;
}

.trust-contact li>i {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 11px;
  display: grid;
  place-items: center;
  font-size: .9rem;
  background: var(--primary-soft);
  color: var(--primary);
}

.trust-contact small {
  display: block;
  font-size: .78rem;
  line-height: 1.4;
}

.trust-contact a,
.trust-contact strong {
  display: block;
  font-weight: 600;
  line-height: 1.4;
  color: var(--heading);
  overflow-wrap: anywhere;
}

.trust-contact a:hover {
  color: var(--primary);
}

.trust-btns {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-top: auto;
  padding-top: 1.2rem;
}

/* ---------- Login page responsive ---------- */
@media (min-width: 992px) {
  .auth-grid {
    grid-template-columns: .9fr 1.1fr;
    gap: 56px;
  }
}

@media (max-width: 991px) {
  .auth-hero {
    padding: 56px 0 76px;
  }

  .auth-report {
    margin-inline: auto;
  }

  .auth-intro .check-list {
    width: fit-content;
    margin-inline: auto;
    text-align: start;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-grid .mv-card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {

  .auth-report,
  .auth-intro .check-list {
    display: none;
  }
}

@media (max-width: 575px) {
  .auth-hero {
    padding: 40px 0 60px;
  }

  .auth-card {
    padding: 1.6rem 1.15rem;
    border-radius: 22px;
  }

  .auth-tabs {
    margin-bottom: 1.5rem;
  }

  .rec-step span {
    display: none;
  }

  .rec-step.active span {
    display: inline;
  }

  .otp {
    gap: .4rem;
  }

  .otp input {
    font-size: 1.2rem;
    border-radius: 12px;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .trust-btns .btn {
    flex: 1 1 100%;
  }
}


/* =========================================================
   COMING SOON PAGE (coming-soon.html)
   Reuses .hero, .error-hero, .error-inner, .ef floating icons,
   .error-links, .badge, .blob and .form-status
   ========================================================= */

.cs-hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
}

.cs-hero .cs-lead {
  max-width: 560px;
  margin: 0 auto 1.8rem;
}

.cs-countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 560px;
  margin: 0 auto 2rem;
  direction: ltr;
}

.cs-unit {
  padding: 1.1rem .4rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.cs-unit strong {
  display: block;
  font-size: clamp(1.8rem, 6vw, 2.8rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--heading);
  font-variant-numeric: tabular-nums;
}

.cs-unit:last-child strong {
  color: var(--accent);
}

.cs-unit span {
  display: block;
  margin-top: .2rem;
  font-size: .78rem;
  font-weight: 600;
}

.cs-hero .cs-live {
  max-width: 560px;
  margin: 0 auto 2rem;
  padding: 1rem 1.2rem;
  border-radius: 16px;
  font-weight: 600;
  background: var(--primary-soft);
  color: var(--primary-dark);
}

.notify {
  max-width: 520px;
  margin: 0 auto 1.6rem;
  text-align: start;
}

.notify-box {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .4rem;
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: 50px;
  box-shadow: var(--shadow-sm);
  transition: border-color .25s ease, box-shadow .25s ease;
}

.notify-box:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-soft);
}

.notify-box input {
  flex: 1;
  min-width: 0;
  padding: .7rem 1rem;
  padding-inline: 1.3rem 1rem;
  border: 0;
  background: transparent;
  color: var(--heading);
  font: inherit;
  font-size: .95rem;
  outline: none;
}

.notify-box input::placeholder {
  color: #94a3b0;
}

.notify .error-msg {
  margin: .5rem 1.3rem 0;
}

.cs-hero .notify .form-status {
  margin: 1rem 0 0;
  font-size: .93rem;
  max-width: none;
}

.cs-peeks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .6rem;
  margin: 0 0 1.8rem;
}

.cs-peeks li {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .45rem 1rem;
  border-radius: 50px;
  background: var(--card);
  border: 1px solid var(--border);
  font-size: .88rem;
  font-weight: 500;
  color: var(--heading);
}

.cs-peeks i {
  color: var(--primary);
}

@media (max-width: 575px) {
  .cs-countdown {
    gap: 8px;
  }

  .cs-unit {
    padding: .85rem .2rem;
    border-radius: 14px;
  }

  .notify-box {
    flex-direction: column;
    align-items: stretch;
    padding: .5rem;
    border-radius: 22px;
  }

  .notify-box input {
    padding: .75rem 1rem;
    text-align: center;
  }

  .notify-box .btn {
    width: 100%;
  }

  .notify .error-msg {
    text-align: center;
    margin-inline: 0;
  }
}


/* =========================================================
   PATIENT DASHBOARD PAGE (dashboard.html)
   Reuses .avatar, .cat-chip, .search-box, .field, .form-row,
   .form-status, .cta-bubble, .btn and the shared header/footer
   ========================================================= */
.dash-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 56px 0 110px;
  border-radius: 0 0 44px 44px;
  background: linear-gradient(135deg, var(--navy), #0f5c7a 55%, var(--primary));
}

.dash-hero-in {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.dash-hello {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}

.dash-hello .avatar {
  width: 68px;
  height: 68px;
  flex-shrink: 0;
  font-size: 1.3rem;
  border: 3px solid rgba(255, 255, 255, .35);
}

.dash-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.5rem, 3.6vw, 2.4rem);
  font-weight: 800;
}

.dash-hero p {
  margin: .2rem 0 0;
  opacity: .9;
}

.dash-hero .hero-buttons {
  margin: 0;
}

.dash-section {
  position: relative;
  z-index: 2;
  margin-top: 50px;
  padding: 0 0 90px;
}

.dash-grid {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.dash-side {
  position: sticky;
  top: calc(var(--header-h) + 18px);
  padding: 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.dash-logo {
  margin: .25rem .6rem .8rem;
}

.dash-me {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .6rem .6rem 1rem;
  margin-bottom: .6rem;
  border-bottom: 1px dashed var(--border);
}

.dash-me strong {
  display: block;
  color: var(--heading);
  line-height: 1.2;
}

.dash-me small {
  font-size: .78rem;
}

.dash-nav {
  display: grid;
  gap: .3rem;
}

.dash-tab {
  display: flex;
  align-items: center;
  gap: .8rem;
  width: 100%;
  padding: .8rem 1rem;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: var(--heading);
  font-size: .93rem;
  font-weight: 600;
  text-align: start;
  transition: background .3s ease, color .3s ease, box-shadow .3s ease;
}

.dash-tab i {
  width: 20px;
  text-align: center;
  color: var(--primary);
  transition: color .3s ease;
}

.dash-tab:hover {
  background: var(--primary-soft);
}

.dash-tab[aria-selected="true"] {
  background: linear-gradient(135deg, var(--primary), #14b8a6);
  color: #fff;
  box-shadow: 0 8px 18px rgba(10, 143, 143, .3);
}

.dash-tab[aria-selected="true"] i {
  color: #fff;
}

.dash-logout {
  margin-top: .8rem;
  padding-top: .8rem;
  border-top: 1px dashed var(--border);
}

.dash-logout .dash-tab i {
  color: var(--accent);
}

.dash-panel {
  animation: authIn .45s var(--ease) both;
}

.dash-panel[hidden],
.dash-modal[hidden] {
  display: none;
}

.dash-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.dash-head h2 {
  margin: 0 0 .1rem;
  font-size: clamp(1.35rem, 2.6vw, 1.8rem);
  font-weight: 800;
}

.dash-head p {
  margin: 0;
  font-size: .93rem;
}

.dash-head .cat-chips {
  margin: 0;
}

.dash-card {
  padding: 1.6rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.dash-card h3 {
  margin-bottom: 1rem;
  font-size: 1.08rem;
}

.dash-card h3.mt {
  margin-top: 1.6rem;
}

.stat-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 22px;
}

.sum-card {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: 1.2rem;
}

.sum-card .ic {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  background: var(--primary-soft);
  color: var(--primary);
}

.sum-card:nth-child(3) .ic {
  background: #fff2ed;
  color: var(--accent);
}

.sum-card strong {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--heading);
}

.sum-card small {
  font-size: .8rem;
  font-weight: 500;
  line-height: 1.3;
  display: block;
}

.ov-grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 22px;
  align-items: start;
}

.qa-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.qa {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .55rem;
  padding: 1rem;
  border-radius: 16px;
  border: 1.5px solid var(--border);
  background: var(--bg);
  color: var(--heading);
  font-size: .88rem;
  font-weight: 600;
  line-height: 1.35;
  text-align: start;
  transition: border-color .3s ease, transform .3s var(--ease), box-shadow .3s ease;
}

.qa i {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--primary-soft);
  color: var(--primary);
}

.qa:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.qa.danger i {
  background: #fff2ed;
  color: var(--accent);
}

.list {
  display: grid;
  gap: 14px;
}

.row-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1.1rem 1.2rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: border-color .3s ease, box-shadow .3s ease;
}

.row-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.dash-card .row-card {
  box-shadow: none;
  background: var(--bg);
}

.date-box {
  width: 62px;
  padding: .5rem 0;
  border-radius: 14px;
  text-align: center;
  line-height: 1.15;
  font-size: .75rem;
  font-weight: 700;
  background: var(--primary-soft);
  color: var(--primary-dark);
}

.date-box b {
  display: block;
  font-size: 1.4rem;
  color: var(--heading);
}

.date-box.icon {
  height: 62px;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
}

.row-card h4 {
  margin: 0 0 .15rem;
  font-size: 1rem;
}

.row-card .rc-meta {
  margin: 0;
  font-size: .83rem;
}

.row-card .rc-meta i {
  color: var(--primary);
  margin-inline-end: .3rem;
}

.row-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: .5rem;
}

.st {
  display: inline-block;
  padding: .15rem .7rem;
  margin-inline-start: .4rem;
  border-radius: 50px;
  font-size: .72rem;
  font-weight: 700;
  vertical-align: middle;
  background: var(--primary-soft);
  color: var(--primary-dark);
}

.st.warn {
  background: #fff6dd;
  color: #8a6100;
}

.st.bad {
  background: #fff2ed;
  color: #b4452a;
}

.empty-note {
  padding: 2rem 1rem;
  text-align: center;
  border: 1.5px dashed var(--border);
  border-radius: var(--radius);
}

.track-card {
  padding: 1.5rem;
}

.track-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem 1rem;
}

.track-top h4 {
  margin: 0;
  font-size: 1.1rem;
}

.track-top p {
  margin: 0;
  font-size: .85rem;
}

.track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin: 1.6rem 0 .3rem;
}

.track li {
  position: relative;
  text-align: center;
  font-size: .78rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
}

.track li::before {
  content: "";
  position: absolute;
  top: 19px;
  inset-inline-start: -50%;
  width: 100%;
  height: 3px;
  background: var(--border);
}

.track li:first-child::before {
  display: none;
}

.track li.done::before,
.track li.now::before {
  background: var(--primary);
}

.tk-dot {
  position: relative;
  z-index: 1;
  width: 40px;
  height: 40px;
  margin: 0 auto .5rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--bg-alt);
  border: 2px solid var(--border);
  font-size: .9rem;
}

.track li.done,
.track li.now {
  color: var(--heading);
}

.track li.done .tk-dot {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.track li.now .tk-dot {
  background: var(--card);
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 0 6px rgba(255, 122, 89, .18);
}

.collector {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .8rem 1rem;
  margin-top: 1.2rem;
  padding: .9rem 1rem;
  border-radius: 14px;
  background: var(--bg-alt);
  font-size: .9rem;
}

.collector i {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--primary-soft);
  color: var(--primary);
}

.collector strong {
  color: var(--heading);
  display: block;
  line-height: 1.2;
}

.collector .btn {
  margin-inline-start: auto;
}

.rep-search {
  width: min(320px, 100%);
}

.rep-search input {
  padding: .75rem 1.2rem .75rem 3rem;
  font-size: .93rem;
}

.prof-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 22px;
  align-items: start;
}

.addr {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: .8rem;
  align-items: center;
  padding: .9rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  background: var(--bg);
  font-size: .9rem;
}

.addr>i {
  color: var(--primary);
}

.addr strong {
  color: var(--heading);
}

.addr .link-btn {
  font-size: .82rem;
}

.addr-form {
  margin-top: 1.4rem;
  padding-top: 1.4rem;
  border-top: 1px dashed var(--border);
}

.prof-grid .form-status {
  margin-top: 1rem;
}

.dash-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(5, 15, 30, .55);
}

.dash-dialog {
  width: min(520px, 100%);
  max-height: 88vh;
  overflow-y: auto;
  padding: 1.8rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
  animation: authIn .35s var(--ease) both;
}

.dash-dialog h3 {
  font-size: 1.3rem;
}

.dash-dialog p {
  margin-bottom: 1rem;
}

.dash-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .6rem;
  margin-top: 1.4rem;
}

.param {
  width: 100%;
  border-collapse: collapse;
  font-size: .88rem;
}

.param th,
.param td {
  padding: .6rem .5rem;
  text-align: start;
  border-bottom: 1px solid var(--border);
}

.param th {
  color: var(--heading);
  font-size: .78rem;
}

.param .flag {
  color: #b4452a;
  font-weight: 700;
}

/* ---------- Dashboard responsive ---------- */
@media (max-width: 1199px) {
  .stat-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 991px) {
  .dash-hero {
    padding: 44px 0 100px;
  }

  .dash-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .dash-side {
    top: calc(var(--header-h) + 6px);
    z-index: 50;
    padding: .45rem;
    border-radius: 18px;
  }

  .dash-logo {
    margin: .1rem .45rem .45rem;
  }

  .dash-me,
  .dash-logout {
    display: none;
  }

  .dash-nav {
    display: flex;
    gap: .3rem;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .dash-nav::-webkit-scrollbar {
    display: none;
  }

  .dash-tab {
    flex: 0 0 auto;
    width: auto;
    white-space: nowrap;
    padding: .7rem 1rem;
  }

  .ov-grid,
  .prof-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575px) {
  .dash-hero {
    padding: 36px 0 92px;
    border-radius: 0 0 30px 30px;
  }

  .dash-hello .avatar {
    width: 54px;
    height: 54px;
    font-size: 1.1rem;
  }

  .dash-hero .hero-buttons,
  .dash-hero .hero-buttons .btn {
    width: 100%;
  }

  .stat-cards {
    gap: 12px;
  }

  .sum-card {
    flex-direction: column;
    align-items: flex-start;
    gap: .6rem;
    padding: 1rem;
  }

  .dash-card {
    padding: 1.2rem 1rem;
  }

  .row-card {
    grid-template-columns: auto minmax(0, 1fr);
    padding: 1rem;
  }

  .row-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .row-actions .btn {
    flex: 1 1 auto;
  }

  .track {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1.3rem;
  }

  .track li {
    display: flex;
    align-items: center;
    gap: .9rem;
    text-align: start;
  }

  .track .tk-dot {
    margin: 0;
    flex-shrink: 0;
  }

  .track li::before {
    top: auto;
    bottom: 50%;
    inset-inline-start: 19px;
    width: 3px;
    height: calc(100% + 1rem);
  }

  .collector .btn {
    margin-inline-start: 0;
    width: 100%;
  }

  .rep-search {
    width: 100%;
  }

  .dash-head .cat-chips {
    width: 100%;
  }

  .dash-foot .btn {
    flex: 1 1 100%;
  }
}


/* =========================================================
   BLOOD TESTS PAGE (blood-tests.html)
   Reuses .page-banner, .breadcrumb, .feature, .finder, .cat-chip,
   .test-card, .prep-*, .book-box and the shared tests-page script
   ========================================================= */
.page-banner .hero-buttons {
  justify-content: center;
  margin-bottom: 1.4rem;
}

.bt-points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem 1.6rem;
  margin: 0 0 1.6rem;
  font-size: .92rem;
  font-weight: 500;
}

.bt-points i {
  color: #5eead4;
  margin-inline-end: .35rem;
}

.feature .cat-count {
  margin: 0 0 1rem;
  font-size: .8rem;
  font-weight: 700;
  color: var(--primary);
}

.bt-finder {
  margin-bottom: 2.6rem;
}

@media (max-width: 575px) {
  .page-banner .hero-buttons .btn {
    width: 100%;
  }

  .bt-points {
    flex-direction: column;
    align-items: center;
    gap: .3rem;
  }
}


/* =========================================================
   THYROID TESTS PAGE (thyroid-tests.html)
   Reuses .page-banner, .bt-points, .about-grid, .feature, .test-card,
   .prep-*, .book-box and the shared booking script
   ========================================================= */
.th-signs-head {
  margin: 4.5rem auto 2.4rem;
}

.th-signs-head .section-title {
  font-size: clamp(1.4rem, 2.8vw, 2rem);
}

.th-note {
  max-width: 720px;
  margin: 2.2rem auto 0;
  text-align: center;
  font-size: .86rem;
}

.th-note i {
  color: var(--primary);
  margin-inline-end: .4rem;
}

#thyroidGrid .test-card.picked {
  border-color: var(--primary);
  box-shadow: var(--shadow), 0 0 0 4px var(--primary-soft);
}

@media (max-width: 991px) {
  .th-signs-head {
    margin-top: 3.5rem;
  }
}


/* =========================================================
   VITAMIN TESTS PAGE (vitamin-tests.html)
   Reuses .page-banner, .bt-points, .about-grid, .feature, .test-card,
   .pkg-grid / .pkg-card and the shared booking script
   ========================================================= */
.vt-sub-head {
  margin: 4.5rem auto 2.4rem;
}

.vt-sub-head .section-title {
  font-size: clamp(1.4rem, 2.8vw, 2rem);
}

.vt-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.vt-grid .test-card .pkg-list {
  margin: 0 0 1.3rem;
  padding-top: 1.1rem;
  border-top: 1px dashed var(--border);
}

.vt-note {
  max-width: 720px;
  margin: 2.2rem auto 0;
  text-align: center;
  font-size: .86rem;
}

.vt-note i {
  color: var(--primary);
  margin-inline-end: .4rem;
}

#vitaminTests .test-card.picked,
#vitaminPackages .pkg-card.picked {
  border-color: var(--primary);
  box-shadow: var(--shadow), 0 0 0 4px var(--primary-soft);
}

@media (min-width: 1200px) {
  .pkg-grid.pkg-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 576px) and (max-width: 1199px) {
  .pkg-grid.pkg-3 .pkg-card:last-child {
    grid-column: 1 / -1;
    max-width: calc(50% - 12px);
    justify-self: center;
  }
}

@media (max-width: 991px) {
  .vt-sub-head {
    margin-top: 3.5rem;
  }
}

@media (max-width: 767px) {
  .vt-grid {
    grid-template-columns: 1fr;
  }
}


/* =========================================================
   HEALTH CHECKUP PACKAGES PAGE (health-checkup-packages.html)
   Reuses .page-banner, .bt-points, .pkg-grid / .pkg-card, .feature,
   .cat-chip, .prep-tests, .book-box and the shared booking script
   ========================================================= */
.pkg-card .link-btn {
  display: block;
  width: 100%;
  margin-top: .9rem;
  text-align: center;
}

#healthPackages .pkg-card.picked {
  border-color: var(--primary);
  box-shadow: var(--shadow), 0 0 0 4px var(--primary-soft);
}

.cmp-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.cmp-table {
  width: 100%;
  min-width: 760px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: .92rem;
}

.cmp-table th,
.cmp-table td {
  padding: .85rem 1rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
  transition: background .3s ease;
}

.cmp-table thead th {
  background: var(--bg-alt);
  color: var(--heading);
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.3;
}

.cmp-table tbody th,
.cmp-table tfoot th,
.cmp-table thead th:first-child {
  position: sticky;
  inset-inline-start: 0;
  z-index: 1;
  min-width: 190px;
  text-align: start;
  font-weight: 600;
  color: var(--heading);
  background: var(--card);
}

.cmp-table thead th:first-child {
  background: var(--bg-alt);
}

.cmp-table tfoot td,
.cmp-table tfoot th {
  border-bottom: 0;
}

.cmp-table tfoot tr:nth-child(3) td {
  font-size: 1.1rem;
  color: var(--heading);
}

.cmp-table .yes {
  color: var(--primary);
}

.cmp-table .no {
  color: var(--border);
}

.cmp-table .col-on {
  background: var(--primary-soft);
}

.cmp-table thead th.col-on {
  color: var(--primary-dark);
}

.cmp-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.cmp-hint {
  display: none;
  margin: .8rem 0 0;
  text-align: center;
  font-size: .8rem;
}

.cmp-hint i {
  color: var(--primary);
  margin-inline-end: .35rem;
}

.explorer {
  margin-top: 2.6rem;
  padding: 2rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.explorer h3 {
  margin-bottom: 0;
  font-size: 1.3rem;
}

.explorer .cat-chips {
  justify-content: flex-start;
}

.explorer-count {
  margin: 1.3rem 0 .9rem;
  font-weight: 600;
  color: var(--heading);
}

@media (max-width: 991px) {
  .cmp-hint {
    display: block;
  }
}

@media (max-width: 575px) {
  .explorer {
    padding: 1.4rem 1.1rem;
    border-radius: 22px;
  }

  .cmp-table {
    min-width: 700px;
  }

  .cmp-table tbody th,
  .cmp-table tfoot th,
  .cmp-table thead th:first-child {
    min-width: 150px;
  }
}

/* =========================================================
   HOME 2 PAGE (home-2.html)
   Reuses .hero, .badge, .float-chip, .section, .eyebrow, .cat-chip,
   .benefit-list, .pkg-grid / .pkg-card, .cta-box / .book-box / .book-form
   and the shared booking script
   ========================================================= */

/* ---------- 1. Hero banner ---------- */
.h2-hero {
  padding: 80px 0 120px;
}

.h2-hero .hero-grid {
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
}

.h2-hero-art {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin-inline: auto;
  padding: 26px 0;
}

.h2-panel {
  position: relative;
  overflow: hidden;
  padding: 1.7rem;
  border-radius: 30px;
  color: #fff;
  background: linear-gradient(145deg, var(--navy), #0f5c7a 60%, var(--primary));
  box-shadow: var(--shadow);
}

.h2-panel::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .07);
  top: -90px;
  inset-inline-end: -70px;
}

.h2-panel-head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .3rem;
}

.h2-panel-head h3 {
  margin: 0;
  color: #fff;
  font-size: 1.15rem;
}

.h2-live {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .25rem .8rem;
  border-radius: 50px;
  font-size: .75rem;
  font-weight: 700;
  background: rgba(255, 255, 255, .14);
}

.h2-live::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5eead4;
  animation: h2Ping 1.6s ease-out infinite;
}

@keyframes h2Ping {
  0% {
    box-shadow: 0 0 0 0 rgba(94, 234, 212, .7);
  }

  100% {
    box-shadow: 0 0 0 10px rgba(94, 234, 212, 0);
  }
}

.h2-order {
  position: relative;
  margin-bottom: 1.4rem;
  font-size: .82rem;
  opacity: .8;
}

.h2-track {
  position: relative;
  display: grid;
  gap: 1.2rem;
  margin-bottom: 1.5rem;
}

.h2-track::before {
  content: "";
  position: absolute;
  top: 17px;
  bottom: 17px;
  inset-inline-start: 16px;
  width: 2px;
  background: rgba(255, 255, 255, .2);
}

.h2-track li {
  position: relative;
  display: flex;
  align-items: center;
  gap: .9rem;
}

.h2-tk-dot {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  z-index: 1;
  font-size: .8rem;
  background: #1b5472;
  color: #fff;
}

.h2-track li.done .h2-tk-dot {
  background: #5eead4;
  color: #06403f;
}

.h2-track li.now .h2-tk-dot {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 0 6px rgba(255, 122, 89, .25);
}

.h2-track strong {
  display: block;
  font-size: .95rem;
  line-height: 1.3;
}

.h2-track small {
  font-size: .8rem;
  color: rgba(255, 255, 255, .7);
}

.h2-track .t {
  margin-inline-start: auto;
  font-size: .78rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: .85;
}

.h2-eta {
  position: relative;
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: .9rem 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .16);
}

.h2-eta .avatar {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  font-size: .9rem;
}

.h2-eta strong {
  display: block;
  line-height: 1.2;
}

.h2-eta small {
  font-size: .78rem;
  color: rgba(255, 255, 255, .75);
}

.h2-eta .call {
  margin-inline-start: auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: #5eead4;
  color: #06403f;
}

.h2-chip-1 {
  top: -4px;
  inset-inline-end: -10px;
  animation-delay: -1s;
}

.h2-chip-2 {
  bottom: -4px;
  inset-inline-start: -10px;
  animation-delay: -3s;
}

.h2-chip-1 i {
  background: #fff2ed;
  color: var(--accent);
}

/* Trust strip (overlaps the hero) */
.h2-trust {
  position: relative;
  z-index: 2;
  margin-top: -56px;
}

.h2-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 1.5rem 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.h2-trust-item {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: .4rem 1.2rem;
}

.h2-trust-item+.h2-trust-item {
  border-inline-start: 1px dashed var(--border);
}

.h2-trust-item>i {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 1.2rem;
  background: var(--primary-soft);
  color: var(--primary);
}

.h2-trust-item strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--heading);
}

.h2-trust-item small {
  font-size: .82rem;
  line-height: 1.3;
  display: block;
}

.h2-trust+.section {
  padding-top: 90px;
}

/* ---------- 2. Our diagnostic services ---------- */
.h2-svc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 2.4rem;
}

.h2-svc {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 1.7rem 1.5rem 1.4rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s ease, border-color .3s ease;
}

.h2-svc[hidden] {
  display: none;
}

.h2-svc::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease);
}

.h2-svc:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow);
  border-color: var(--primary);
}

.h2-svc:hover::before {
  transform: scaleX(1);
}

.h2-svc.pop {
  animation: h2Pop .5s var(--ease);
}

@keyframes h2Pop {
  from {
    opacity: 0;
    transform: translateY(18px) scale(.97);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.h2-svc-ic {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
  font-size: 1.5rem;
  background: var(--primary-soft);
  color: var(--primary);
  transition: transform .4s var(--ease), background .3s, color .3s;
}

.h2-svc:hover .h2-svc-ic {
  background: var(--primary);
  color: #fff;
  transform: rotate(-8deg) scale(1.08);
}

.h2-svc h3 {
  font-size: 1.15rem;
}

.h2-svc p {
  flex: 1;
  font-size: .9rem;
}

.h2-svc-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .6rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--border);
  font-size: .82rem;
  font-weight: 600;
}

.h2-svc-foot span i {
  color: var(--primary);
  margin-inline-end: .35rem;
}

.h2-svc-foot a {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-weight: 700;
  color: var(--primary);
  transition: gap .25s ease;
}

.h2-svc-foot a:hover {
  gap: .7rem;
}

/* ---------- 3. Precision & quality ---------- */
.h2-quality-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 56px;
  align-items: center;
}

.h2-qa-panel {
  position: relative;
  overflow: hidden;
  padding: 2.3rem;
  border-radius: 28px;
  color: #fff;
  background: linear-gradient(145deg, var(--navy), #12486b);
  box-shadow: var(--shadow);
}

.h2-qa-panel::after {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .06);
  bottom: -110px;
  inset-inline-end: -80px;
}

.h2-qa-panel h3 {
  margin-bottom: .3rem;
  color: #fff;
  font-size: 1.4rem;
}

.h2-qa-panel>p {
  margin-bottom: 1.7rem;
  font-size: .9rem;
  color: rgba(255, 255, 255, .75);
}

.h2-meter {
  position: relative;
  margin-bottom: 1.3rem;
}

.h2-meter-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .45rem;
  font-size: .9rem;
  font-weight: 600;
}

.h2-meter-top b {
  color: #5eead4;
}

.h2-meter-bar {
  height: 9px;
  border-radius: 9px;
  overflow: hidden;
  background: rgba(255, 255, 255, .14);
}

.h2-meter-bar i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: 9px;
  background: linear-gradient(90deg, #5eead4, var(--accent));
  transition: width 1.4s var(--ease) .2s;
}

.reveal.visible .h2-meter-bar i {
  width: var(--w);
}

.h2-certs {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 1.7rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, .16);
}

.h2-cert {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .4rem .9rem;
  border-radius: 50px;
  font-size: .78rem;
  font-weight: 700;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
}

.h2-cert i {
  color: #5eead4;
}

.h2-quality-text>p {
  max-width: 560px;
}

.h2-pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 1.6rem;
}

.h2-pillar {
  padding: 1.3rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform .4s var(--ease), box-shadow .4s ease, border-color .3s ease;
}

.h2-pillar:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--primary);
}

.h2-pillar-ic {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: .8rem;
  font-size: 1.1rem;
  background: var(--primary-soft);
  color: var(--primary);
  transition: background .3s, color .3s;
}

.h2-pillar:hover .h2-pillar-ic {
  background: var(--primary);
  color: #fff;
}

.h2-pillar h4 {
  margin-bottom: .25rem;
  font-size: 1rem;
}

.h2-pillar p {
  margin: 0;
  font-size: .86rem;
}

/* ---------- 4. How it works ---------- */
.h2-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.h2-steps::before {
  content: "";
  position: absolute;
  top: 51px;
  inset-inline: 12.5%;
  border-top: 2px dashed var(--border);
}

.h2-step {
  position: relative;
  padding: 0 .5rem;
  text-align: center;
}

.h2-step-ic {
  position: relative;
  z-index: 1;
  width: 102px;
  height: 102px;
  margin: 0 auto 1.3rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 2rem;
  color: var(--primary);
  background: var(--card);
  border: 2px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), background .3s, color .3s, border-color .3s;
}

.h2-step:hover .h2-step-ic {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-6px);
}

.h2-step-no {
  position: absolute;
  top: -4px;
  inset-inline-end: -4px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: .85rem;
  font-weight: 700;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 0 5px rgba(255, 122, 89, .2);
}

.h2-step h3 {
  font-size: 1.1rem;
}

.h2-step p {
  margin: 0;
  font-size: .9rem;
}

.h2-how-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 1.6rem;
  margin-top: 3rem;
}

.h2-how-cta span {
  font-size: .9rem;
  font-weight: 500;
  color: var(--heading);
}

.h2-how-cta span i {
  color: var(--primary);
  margin-inline-end: .4rem;
}

/* ---------- 5. Health checkup packages ---------- */
.h2-pkg-more {
  margin: 2.4rem 0 0;
  text-align: center;
}

/* ---------- 6. Digital lab reports ---------- */
.h2-report-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.h2-report-text .benefit-list {
  margin-bottom: 1.8rem;
}

.h2-report-btns {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
}

.h2-report-wrap {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin-inline: auto;
  padding: 22px 0;
}

.h2-report {
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.h2-rhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.5rem;
  color: #fff;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary) 60%, #14b8a6);
}

.h2-rhead>div {
  display: flex;
  align-items: center;
  gap: .8rem;
}

.h2-rlogo {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .2);
}

.h2-rhead strong {
  display: block;
  line-height: 1.2;
}

.h2-rhead small {
  font-size: .78rem;
  opacity: .85;
}

.h2-rstatus {
  padding: .2rem .75rem;
  border-radius: 50px;
  font-size: .72rem;
  font-weight: 700;
  background: rgba(255, 255, 255, .2);
  white-space: nowrap;
}

.h2-rmeta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .6rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px dashed var(--border);
  font-size: .76rem;
}

.h2-rmeta b {
  display: block;
  font-size: .86rem;
  color: var(--heading);
}

.h2-rtabs {
  display: flex;
  gap: .4rem;
  padding: 1rem 1.5rem 0;
}

.h2-rtab {
  padding: .4rem 1rem;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  background: var(--card);
  color: var(--heading);
  font-size: .82rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background .3s ease, color .3s ease, border-color .3s ease;
}

.h2-rtab:hover {
  border-color: var(--primary);
}

.h2-rtab[aria-selected="true"] {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.h2-rpanel {
  padding: .5rem 1.5rem 0;
}

.h2-rpanel[hidden] {
  display: none;
}

.h2-row {
  padding: .95rem 0;
  border-bottom: 1px dashed var(--border);
}

.h2-row:last-child {
  border-bottom: 0;
}

.h2-row-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  margin-bottom: .6rem;
}

.h2-row-top strong {
  font-size: .92rem;
  color: var(--heading);
}

.h2-row-top .val {
  display: inline-flex;
  align-items: center;
  font-size: .88rem;
  font-weight: 700;
  color: var(--heading);
  text-align: end;
}

.h2-row-top .val small {
  margin-inline-start: .25rem;
  font-weight: 500;
  color: var(--text);
}

.h2-pill {
  font-style: normal;
  margin-inline-start: .55rem;
  padding: .1rem .6rem;
  border-radius: 50px;
  font-size: .68rem;
  font-weight: 700;
}

.h2-pill.ok {
  background: #e3f6f5;
  color: #066b6b;
}

.h2-pill.warn {
  background: #fff6dc;
  color: #8a6400;
}

.h2-pill.bad {
  background: #fff2ed;
  color: #b4452a;
}

.h2-range {
  position: relative;
  height: 8px;
  border-radius: 8px;
  background: var(--border);
}

.h2-range b {
  position: absolute;
  inset-block: 0;
  inset-inline-start: var(--from);
  width: calc(var(--to) - var(--from));
  border-radius: 8px;
  background: rgba(10, 143, 143, .35);
}

.h2-range i {
  position: absolute;
  top: 50%;
  inset-inline-start: var(--pos);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid var(--card);
  box-shadow: 0 2px 6px rgba(0, 0, 0, .25);
  transform: translate(-50%, -50%);
}

.h2-row.warn .h2-range i {
  background: #f5b301;
}

.h2-row.bad .h2-range i {
  background: var(--accent);
}

.h2-rpanel:not([hidden]) .h2-range i {
  animation: h2Marker .9s var(--ease);
}

@keyframes h2Marker {
  from {
    inset-inline-start: 0;
  }
}

.h2-range-label {
  display: flex;
  justify-content: space-between;
  margin-top: .4rem;
  font-size: .7rem;
}

.h2-rfoot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  padding: 1rem 1.5rem 1.3rem;
  font-size: .8rem;
}

.h2-rfoot span i {
  color: var(--primary);
  margin-inline-end: .4rem;
}

.h2-chip-3 {
  top: -4px;
  inset-inline-start: -14px;
  animation-delay: -2s;
}

.h2-chip-4 {
  bottom: -4px;
  inset-inline-end: -10px;
  animation-delay: -4s;
}

/* ---------- 7. Meet our experts ---------- */
.h2-expert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.h2-expert {
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s ease, border-color .3s ease;
}

.h2-expert:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow);
  border-color: var(--primary);
}

.h2-ex-photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / .9;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary), #14b8a6 60%, #5eead4);
}

.h2-expert:nth-child(2) .h2-ex-photo {
  background: linear-gradient(135deg, #0f5c7a, var(--primary));
}

.h2-expert:nth-child(3) .h2-ex-photo {
  background: linear-gradient(135deg, var(--accent), #ffb199);
}

.h2-expert:nth-child(4) .h2-ex-photo {
  background: linear-gradient(135deg, var(--navy), #12486b);
}

.h2-ex-photo::before {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  top: -60px;
  inset-inline-end: -50px;
}

.h2-ex-photo::after {
  content: "";
  position: absolute;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  bottom: -50px;
  inset-inline-start: -30px;
}

.h2-ex-init {
  position: relative;
  z-index: 1;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  background: rgba(255, 255, 255, .2);
  border: 3px solid rgba(255, 255, 255, .55);
  transition: transform .4s var(--ease);
}

.h2-expert:hover .h2-ex-init {
  transform: scale(1.1);
}

.h2-ex-tag {
  position: absolute;
  z-index: 1;
  top: 14px;
  inset-inline-start: 14px;
  padding: .2rem .75rem;
  border-radius: 50px;
  font-size: .7rem;
  font-weight: 700;
  background: rgba(255, 255, 255, .92);
  color: #066b6b;
}

.h2-ex-social {
  position: absolute;
  z-index: 2;
  inset-inline: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  gap: .5rem;
  padding: .8rem;
  background: linear-gradient(0deg, rgba(11, 37, 69, .6), transparent);
  transform: translateY(100%);
  transition: transform .4s var(--ease);
}

.h2-expert:hover .h2-ex-social,
.h2-expert:focus-within .h2-ex-social {
  transform: none;
}

.h2-ex-social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: .85rem;
  background: rgba(255, 255, 255, .92);
  color: #066b6b;
  transition: background .3s, color .3s, transform .3s var(--ease);
}

.h2-ex-social a:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-3px);
}

.h2-ex-body {
  padding: 1.3rem 1.3rem 1.5rem;
  text-align: center;
}

.h2-ex-body h3 {
  margin-bottom: .1rem;
  font-size: 1.1rem;
}

.h2-ex-role {
  display: block;
  margin-bottom: .4rem;
  font-size: .85rem;
  font-weight: 600;
  color: var(--primary);
}

.h2-ex-qual {
  margin-bottom: .9rem;
  font-size: .82rem;
}

.h2-ex-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .4rem 1rem;
  padding-top: .9rem;
  border-top: 1px dashed var(--border);
  font-size: .78rem;
  font-weight: 600;
  color: var(--heading);
}

.h2-ex-meta i {
  margin-inline-end: .3rem;
  color: var(--primary);
}

@media (hover: none) {
  .h2-ex-social {
    transform: none;
  }
}

/* ---------- 8. Book your visit CTA ---------- */
.h2-book-call {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin-top: 1.5rem;
  font-weight: 600;
}

.h2-book-call i {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .14);
  color: #5eead4;
}

.h2-book-call small {
  display: block;
  font-size: .75rem;
  font-weight: 500;
  opacity: .8;
  line-height: 1.2;
}

/* ---------- Home 2 responsive ---------- */
@media (max-width: 1199px) {

  .h2-svc-grid,
  .h2-expert-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .h2-trust-item {
    padding: .4rem .8rem;
  }

  .h2-trust-item strong {
    font-size: 1.3rem;
  }

  .h2-quality-grid,
  .h2-report-grid {
    gap: 40px;
  }
}

@media (max-width: 991px) {
  .h2-hero {
    padding: 56px 0 100px;
  }

  .h2-hero .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .h2-hero-art {
    max-width: 460px;
  }

  .h2-trust-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 1.3rem;
  }

  .h2-trust-item:nth-child(3) {
    border-inline-start: 0;
  }

  .h2-trust+.section {
    padding-top: 70px;
  }

  .h2-quality-grid,
  .h2-report-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .h2-qa-panel {
    max-width: 640px;
    width: 100%;
    margin-inline: auto;
  }

  .h2-quality-text {
    max-width: 640px;
    margin-inline: auto;
  }

  .h2-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 44px 24px;
  }

  .h2-steps::before {
    display: none;
  }

  .h2-report-wrap {
    max-width: 560px;
  }
}

@media (max-width: 575px) {
  .h2-hero {
    padding: 44px 0 90px;
  }

  .h2-hero-art {
    padding: 22px 0;
  }

  .h2-panel {
    padding: 1.3rem 1.1rem;
    border-radius: 24px;
  }

  .h2-track .t {
    display: none;
  }

  .h2-chip-1 {
    inset-inline-end: 0;
  }

  .h2-chip-2 {
    inset-inline-start: 0;
  }

  .h2-chip-3 {
    inset-inline-start: 0;
  }

  .h2-chip-4 {
    inset-inline-end: 0;
  }

  .h2-trust {
    margin-top: -44px;
  }

  .h2-trust-grid {
    padding: 1rem .3rem;
    border-radius: 20px;
  }

  .h2-trust-item {
    flex-direction: column;
    gap: .4rem;
    padding: .3rem .4rem;
    text-align: center;
  }

  .h2-trust-item>i {
    width: 42px;
    height: 42px;
    font-size: 1rem;
  }

  .h2-trust-item strong {
    font-size: 1.15rem;
  }

  .h2-trust-item small {
    font-size: .74rem;
  }

  .h2-trust+.section {
    padding-top: 56px;
  }

  .h2-svc-grid,
  .h2-expert-grid,
  .h2-pillars {
    grid-template-columns: 1fr;
  }

  .h2-ex-photo {
    aspect-ratio: 16 / 10;
  }

  .h2-qa-panel {
    padding: 1.7rem 1.2rem;
    border-radius: 22px;
  }

  .h2-steps {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .h2-step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0;
    text-align: start;
  }

  .h2-step-ic {
    width: 72px;
    height: 72px;
    margin: 0;
    flex-shrink: 0;
    font-size: 1.5rem;
  }

  .h2-step-no {
    width: 26px;
    height: 26px;
    font-size: .7rem;
  }

  .h2-how-cta .btn {
    width: 100%;
  }

  .h2-report {
    border-radius: 22px;
  }

  .h2-rhead,
  .h2-rmeta,
  .h2-rpanel,
  .h2-rfoot,
  .h2-rtabs {
    padding-inline: 1.1rem;
  }

  .h2-rmeta {
    grid-template-columns: 1fr 1fr;
  }

  .h2-rmeta div:last-child {
    grid-column: 1 / -1;
  }

  .h2-rtabs {
    overflow-x: auto;
  }

  .h2-rfoot {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .h2-report-btns .btn {
    width: 100%;
  }

  .h2-book-call {
    width: 100%;
  }
}

/* =========================================================
   SITE-WIDE IMAGE STYLES
   ========================================================= */

/* ---- Generic section photo wrapper ---- */
.section-photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.section-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .5s var(--ease);
}

.section-photo:hover img {
  transform: scale(1.03);
}

/* ---- Hero photo (right column visual) ---- */
.hero-photo {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(10, 143, 143, .22);
  aspect-ratio: 4/3;
  max-height: 480px;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.hero-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 3px solid rgba(255, 255, 255, .25);
  pointer-events: none;
}

/* ---- About / story photo ---- */
.about-photo,
.story-photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
}

.about-photo img,
.story-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .5s var(--ease);
}

.about-photo:hover img,
.story-photo:hover img {
  transform: scale(1.03);
}

.about-photo .exp-badge,
.story-photo .exp-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
}

/* ---- Page banner background image ---- */
.page-banner.has-photo {
  position: relative;
  overflow: hidden;
}

.page-banner.has-photo .banner-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-banner.has-photo .banner-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: .18;
  filter: saturate(.7);
}

.page-banner.has-photo .container {
  position: relative;
  z-index: 1;
}

/* ---- Lab / services image grid ---- */
.lab-photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 16/9;
  max-height: 420px;
}

.lab-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s var(--ease);
}

.lab-photo:hover img {
  transform: scale(1.03);
}

/* ---- Collection section photo ---- */
.collection-photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
}

.collection-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .5s var(--ease);
}

.collection-photo:hover img {
  transform: scale(1.03);
}

/* ---- Expert / Doctor portrait ---- */
.expert-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: inherit;
  display: block;
}

.h2-ex-photo {
  overflow: hidden;
  position: relative;
}

.h2-ex-photo .expert-photo-img {
  position: absolute;
  inset: 0;
  opacity: .85;
  transition: opacity .4s ease, transform .5s var(--ease);
}

.h2-ex-photo:hover .expert-photo-img {
  opacity: 1;
  transform: scale(1.05);
}

/* ---- Test page banner ---- */
.test-banner-photo {
  width: 100%;
  max-height: 320px;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 2rem;
  box-shadow: var(--shadow);
}

.test-banner-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ---- Blog card image ---- */
.blog-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
}

.blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s var(--ease);
}

.blog-img:hover img {
  transform: scale(1.05);
}

/* ---- Login / Auth side image ---- */
.auth-side-photo {
  display: none;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 3/4;
  max-height: 500px;
}

.auth-side-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* ---- Coming Soon & 404 side image ---- */
.cs-side-photo,
.err-side-photo {
  display: block;
  margin: 2.5rem auto 0;
  max-width: 520px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 16/9;
}

.cs-side-photo img,
.err-side-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---- Dashboard profile avatar ---- */
.dash-avatar-img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary-soft);
}

/* ---- Responsive: stack photos below content on mobile ---- */
@media (max-width: 767px) {
  .hero-photo {
    max-height: 280px;
    margin-top: 2rem;
  }

  .about-photo,
  .story-photo {
    max-height: 260px;
    margin-top: 1.5rem;
  }

  .lab-photo {
    max-height: 220px;
  }

  .collection-photo {
    max-height: 240px;
    margin-top: 1.5rem;
  }

  .auth-side-photo {
    display: none !important;
  }

  .cs-side-photo,
  .err-side-photo {
    max-width: 100%;
  }

  .testimonials-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .testimonials-photo {
    max-height: 280px;
  }

  .testimonial-badge.badge-top {
    top: 10px;
    inset-inline-start: 10px;
  }

  .testimonial-badge.badge-bottom {
    bottom: 10px;
    inset-inline-end: 10px;
  }
}

@media (max-width: 991px) and (min-width: 768px) {
  .testimonials-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .testimonials-photo {
    max-height: 340px;
  }
}

@media (max-width: 480px) {
  .testimonial-badge {
    padding: .5rem .85rem;
  }

  .testimonial-badge i {
    font-size: 1rem !important;
  }

  .testimonial-badge strong {
    font-size: .82rem;
  }

  .testimonial-badge span {
    font-size: .7rem;
  }
}

@media (min-width: 900px) {
  .auth-side-photo {
    display: block;
  }
}