:root {
  --black: #0b0b0b;
  --black-soft: #1a1a1a;
  --gold: #c9a227;
  --gold-light: #e6c75a;
  --white: #ffffff;
  --gray: #f6f6f4;
  --line: #e6e6e2;
  --text: #23231f;
  --muted: #6a6a63;
  --shadow: 0 14px 34px rgba(0,0,0,0.10);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Segoe UI', Tahoma, Verdana, sans-serif;
  color: var(--text);
  line-height: 1.65;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .logo {
  font-family: 'Poppins', 'Segoe UI', Tahoma, sans-serif;
  line-height: 1.2;
}

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-light); }

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

.container { max-width: 1160px; margin: 0 auto; padding: 0 22px; }

/* Top bar */
.topbar {
  background: var(--black);
  color: #d8d8d8;
  font-size: 0.85rem;
  padding: 9px 0;
  border-bottom: 1px solid rgba(201,162,39,0.25);
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 20px;
}
.topbar a { color: var(--gold-light); font-weight: 500; }
.topbar .tb-badges { display: flex; gap: 16px; flex-wrap: wrap; }
.topbar .tb-badges span { color: var(--gold-light); font-weight: 600; letter-spacing: .3px; }

/* Header */
header {
  background: var(--black);
  color: var(--white);
  border-bottom: 2px solid var(--gold);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  flex-wrap: wrap;
  gap: 12px;
}
.logo {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.3px;
}
.logo span { color: var(--gold); }
.logo small { display: block; font-family: 'Inter',sans-serif; font-size: .62rem; letter-spacing: 3px; text-transform: uppercase; color: #b9b9b9; font-weight: 500; margin-top: 2px; }
.logo { display: inline-flex; align-items: center; gap: 12px; line-height: 0; }
.logo img { height: 54px; width: auto; display: block; mix-blend-mode: lighten; }
.logo .logo-text { font-family: 'Poppins', sans-serif; font-size: 1.2rem; font-weight: 700; color: var(--white); line-height: 1.2; letter-spacing: .2px; white-space: nowrap; }
.logo .logo-text b { color: var(--gold); font-weight: 700; }
@media (max-width: 560px) { .logo img { height: 42px; } .logo .logo-text { font-size: 1rem; } }
nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
nav a {
  color: var(--white);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}
nav a:hover, nav a.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}
nav a.nav-cta {
  background: var(--gold);
  color: var(--black);
  border: none;
  padding: 9px 18px;
  border-radius: 4px;
  font-weight: 700;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .4px;
}
nav a.nav-cta:hover { background: var(--gold-light); color: var(--black); }

/* Nav dropdown (Services) */
.nav-has-drop { position: relative; }
.nav-has-drop > a::after {
  content: '▾';
  font-size: .7em;
  margin-left: 5px;
  vertical-align: middle;
  color: var(--gold);
}
.nav-has-drop::after { /* invisible bridge so the menu doesn't close in the gap */
  content: '';
  position: absolute;
  top: 100%; left: -10px; right: -10px; height: 16px;
  display: none;
}
.nav-has-drop:hover::after, .nav-has-drop:focus-within::after { display: block; }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 258px;
  background: #141414;
  border: 1px solid rgba(201,162,39,0.28);
  border-top: 3px solid var(--gold);
  border-radius: 6px;
  padding: 10px 0;
  box-shadow: 0 20px 44px rgba(0,0,0,0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  z-index: 300;
}
.nav-has-drop:hover .dropdown-menu,
.nav-has-drop:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown-menu a {
  display: block;
  padding: 9px 22px;
  color: #e7e7e7;
  font-size: .92rem;
  font-weight: 500;
  border-bottom: none;
  white-space: nowrap;
}
.dropdown-menu a:hover { background: rgba(201,162,39,0.12); color: var(--gold); border-bottom: none; }
.dropdown-menu .dd-group {
  display: block;
  padding: 6px 22px 4px;
  font-family: 'Poppins', sans-serif;
  font-size: .68rem;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}
.dropdown-menu .dd-sep { margin-top: 8px; border-top: 1px solid rgba(255,255,255,0.08); padding-top: 12px; }
.dropdown-menu .dd-all {
  margin-top: 8px; border-top: 1px solid rgba(255,255,255,0.10);
  padding-top: 12px; color: var(--gold-light); font-weight: 600;
}
@media (max-width: 900px) {
  .dropdown-menu { display: none; }          /* mobile: the Services link goes to the hub page */
  .nav-has-drop > a::after { display: none; }
}

/* Hero */
.hero {
  background:
    linear-gradient(rgba(8,8,8,0.78), rgba(8,8,8,0.82)),
    url('../images/lab.jpg') center/cover no-repeat;
  color: var(--white);
  padding: 104px 0;
  text-align: center;
}
.hero .eyebrow {
  display: inline-block;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-size: .8rem;
  margin-bottom: 16px;
}
.hero h1 {
  font-size: 2.7rem;
  margin-bottom: 18px;
}
.hero h1 span { color: var(--gold); }
.hero p {
  max-width: 760px;
  margin: 0 auto 30px;
  font-size: 1.12rem;
  color: #e9e9e9;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Trust badges strip */
.badges {
  background: var(--black-soft);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.badges .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.badge {
  text-align: center;
  padding: 22px 14px;
  color: var(--white);
  border-right: 1px solid rgba(255,255,255,0.07);
}
.badge:last-child { border-right: none; }
.badge b { display: block; color: var(--gold); font-family: 'Poppins',sans-serif; font-size: 1.05rem; }
.badge span { font-size: .86rem; color: #bdbdbd; }

/* Page banner (non-home) */
.page-banner {
  background: linear-gradient(rgba(8,8,8,0.86), rgba(8,8,8,0.9)), var(--black);
  color: var(--white);
  padding: 74px 0;
  text-align: center;
  border-bottom: 3px solid var(--gold);
}
.page-banner h1 { font-size: 2.3rem; margin-bottom: 10px; }
.page-banner h1 span { color: var(--gold); }
.page-banner p { color: #cfcfcf; max-width: 720px; margin: 0 auto; }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--gold);
  color: var(--black);
  padding: 13px 30px;
  border-radius: 4px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.88rem;
  letter-spacing: 0.5px;
  transition: background 0.2s, transform 0.2s, box-shadow .2s;
  border: 2px solid var(--gold);
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
}
.btn:hover {
  background: var(--gold-light);
  color: var(--black);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(201,162,39,0.28);
}
.btn-outline {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.btn-outline:hover { background: var(--gold); color: var(--black); }
.btn-light { background: var(--white); border-color: var(--white); color: var(--black); }
.btn-light:hover { background: #eee; border-color: #eee; color: var(--black); }

/* Sections */
section { padding: 74px 0; }
.section-title { text-align: center; margin-bottom: 48px; }
.section-title .eyebrow {
  color: var(--gold); font-weight: 600; letter-spacing: 3px;
  text-transform: uppercase; font-size: .78rem; display: block; margin-bottom: 10px;
}
.section-title h2 {
  font-size: 2.05rem;
  color: var(--black);
  display: inline-block;
  position: relative;
  padding-bottom: 12px;
}
.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 62px; height: 3px;
  background: var(--gold);
}
.section-title p { color: var(--muted); margin-top: 14px; max-width: 720px; margin-left: auto; margin-right: auto; }

.alt-bg { background: var(--gray); }

/* Service / feature grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 26px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold);
  border-radius: 8px;
  padding: 30px 26px;
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card .icon {
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--black);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.card .icon svg { width: 28px; height: 28px; }
.card h3 { color: var(--black); margin-bottom: 10px; font-size: 1.2rem; }
.card p { color: var(--muted); font-size: 0.96rem; margin-bottom: 14px; }
.card a.more {
  font-weight: 600; font-size: 0.82rem;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.card.compact { border-top-width: 3px; padding: 24px 22px; }
.card.compact h3 { font-size: 1.06rem; }

/* Two column */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
}
.two-col h2 { color: var(--black); margin-bottom: 16px; font-size: 1.95rem; }
.two-col h2 span { color: var(--gold); }
.two-col p { color: var(--muted); margin-bottom: 14px; }
.two-col ul { margin: 14px 0 22px 2px; color: var(--text); list-style: none; }
.two-col li { margin-bottom: 10px; padding-left: 28px; position: relative; }
.two-col li::before {
  content: '✓';
  position: absolute; left: 0; top: 0;
  color: var(--gold); font-weight: 700;
}

/* Image panels */
.feature-img {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  min-height: 320px;
  background: var(--gray);
}
.feature-img img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.feature-img.framed { border: 4px solid var(--gold); }

/* SVG panel (used where a photo isn't a good fit, e.g. fingerprinting) */
.svg-panel {
  min-height: 340px;
  border-radius: 8px;
  border: 4px solid var(--gold);
  background: radial-gradient(circle at 30% 25%, #24240f 0%, #0b0b0b 70%);
  display: flex; align-items: center; justify-content: center;
  padding: 30px;
  box-shadow: var(--shadow);
}
.svg-panel svg { width: 190px; height: 190px; color: var(--gold); }
.svg-panel .cap { position: absolute; }

/* Audience grid */
.audience {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
}
.aud-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px 18px;
  text-align: center;
  transition: transform .2s, border-color .2s;
}
.aud-item:hover { transform: translateY(-4px); border-color: var(--gold); }
.aud-item svg { width: 34px; height: 34px; color: var(--gold); margin-bottom: 12px; }
.aud-item h4 { color: var(--black); font-size: 1.02rem; margin-bottom: 6px; }
.aud-item p { color: var(--muted); font-size: .88rem; }

/* CTA strip */
.cta {
  background: linear-gradient(135deg, var(--black) 0%, var(--black-soft) 100%);
  color: var(--white);
  text-align: center;
  padding: 64px 0;
  border-top: 3px solid var(--gold);
  border-bottom: 3px solid var(--gold);
}
.cta h2 { font-size: 2rem; margin-bottom: 14px; }
.cta h2 span { color: var(--gold); }
.cta p { margin-bottom: 26px; color: #ddd; max-width: 640px; margin-left:auto; margin-right:auto; }
.cta .hero-actions { }

/* FAQ */
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 6px;
  margin-bottom: 14px;
  overflow: hidden;
}
.faq-item summary {
  padding: 18px 22px;
  font-weight: 600;
  color: var(--black);
  cursor: pointer;
  list-style: none;
  position: relative;
  font-size: 1.02rem;
  font-family: 'Poppins', sans-serif;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  color: var(--gold); font-size: 1.5rem; font-weight: 700;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item p { padding: 0 22px 20px; color: var(--muted); }

/* Contact + Booking */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 40px;
  align-items: start;
}
.info-box {
  background: var(--black);
  color: var(--white);
  padding: 34px;
  border-radius: 8px;
  border-top: 4px solid var(--gold);
}
.info-box h3 { color: var(--gold); margin-bottom: 20px; }
.info-box p { margin-bottom: 16px; color: #ddd; font-size: 0.96rem; }
.info-box a { color: var(--gold-light); }
.info-box strong { color: var(--white); display: block; margin-bottom: 2px; }
.info-box .ib-note { border-top: 1px solid #2b2b2b; margin-top: 8px; padding-top: 18px; font-size: .9rem; color: #bdbdbd; }

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 32px;
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
form .field { margin-bottom: 16px; }
form label { display: block; font-size: 0.88rem; font-weight: 600; margin-bottom: 6px; color: var(--black); }
form label .req { color: #c0392b; }
form input, form select, form textarea {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  color: var(--text);
  border: 1px solid #cfcfc9;
  border-radius: 5px;
  background: var(--white);
  transition: border-color 0.2s, box-shadow .2s;
}
form input:focus, form select:focus, form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,162,39,0.18);
}
form textarea { resize: vertical; min-height: 120px; }
.hp { position: absolute; left: -9999px; top: -9999px; height: 0; overflow: hidden; }
.form-note { font-size: .84rem; color: var(--muted); margin-top: 4px; }

/* Alerts / confirmation (appointment.php) */
.alert {
  max-width: 720px; margin: 0 auto 24px;
  border-radius: 8px; padding: 20px 24px;
  border-left: 5px solid var(--gold);
  background: var(--gray);
}
.alert.error { border-left-color: #c0392b; }
.alert h3 { color: var(--black); margin-bottom: 8px; }
.alert ul { margin: 8px 0 0 20px; color: #c0392b; }
.confirm-box {
  max-width: 720px; margin: 0 auto;
  background: var(--white); border: 1px solid var(--line);
  border-top: 4px solid var(--gold); border-radius: 8px;
  padding: 40px; text-align: center; box-shadow: var(--shadow);
}
.confirm-box .tick {
  width: 68px; height: 68px; border-radius: 50%;
  background: var(--black); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; font-size: 2rem;
}
.confirm-box h2 { color: var(--black); margin-bottom: 12px; }
.confirm-box p { color: var(--muted); margin-bottom: 10px; }
.summary-list {
  text-align: left; max-width: 460px; margin: 22px auto;
  border: 1px solid var(--line); border-radius: 8px; overflow: hidden;
}
.summary-list div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 18px; border-bottom: 1px solid var(--line); font-size: .95rem; }
.summary-list div:last-child { border-bottom: none; }
.summary-list b { color: var(--black); }
.summary-list span { color: var(--muted); text-align: right; }

/* Footer */
footer {
  background: var(--black);
  color: #bbb;
  padding: 54px 0 0;
  border-top: 3px solid var(--gold);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.3fr;
  gap: 30px;
  margin-bottom: 30px;
}
.footer-grid h4 { color: var(--gold); margin-bottom: 14px; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-grid .flogo { font-family:'Poppins',sans-serif; font-size:1.2rem; color:#fff; font-weight:700; margin-bottom:12px; }
.footer-grid .flogo span { color: var(--gold); }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 9px; }
.footer-grid a { color: #bbb; font-size: 0.92rem; }
.footer-grid a:hover { color: var(--gold); }
.footer-grid p { font-size: 0.92rem; margin-bottom: 9px; }
.copyright {
  border-top: 1px solid #2a2a2a;
  padding: 18px 0;
  text-align: center;
  font-size: 0.85rem;
  color: #888;
}
.copyright a { color: #999; }

/* Standalone eyebrow (works anywhere, not just hero/section-title) */
.eyebrow {
  color: var(--gold); font-weight: 600; letter-spacing: 3px;
  text-transform: uppercase; font-size: .78rem; display: inline-block;
}

/* Page banner with a background photo */
.page-banner.img-bg {
  background:
    linear-gradient(rgba(8,8,8,0.82), rgba(8,8,8,0.9)),
    var(--bg, var(--black)) center / cover no-repeat;
}

/* Breadcrumbs (inside a page banner) */
.crumbs { font-size: .84rem; color: #cbcbcb; margin-bottom: 14px; letter-spacing: .3px; }
.crumbs a { color: var(--gold-light); }
.crumbs a:hover { color: var(--white); }
.crumbs span { opacity: .55; margin: 0 8px; }

/* Quick-facts box (reusable outside the confirmation page) */
.facts-box { max-width: 100%; margin: 0; }
.facts-box.summary-list div { padding: 13px 20px; }

/* Service chips in the banner */
.banner-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 24px; }
.chip {
  border: 1px solid rgba(201,162,39,0.55);
  color: var(--gold-light);
  background: rgba(201,162,39,0.07);
  padding: 8px 16px; border-radius: 999px;
  font-size: .82rem; font-weight: 600; letter-spacing: .3px;
}

/* Numbered eyebrow used on feature blocks */
.step-eyebrow { color: var(--gold); font-weight: 700; font-family: 'Poppins',sans-serif; letter-spacing: 2px; text-transform: uppercase; font-size: .8rem; display: inline-block; margin-bottom: 10px; }
.step-eyebrow b { color: var(--muted); font-weight: 700; }

/* How It Works — process steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.step { text-align: center; padding: 14px 12px; }
.step .num {
  width: 66px; height: 66px; border-radius: 50%;
  background: var(--black); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Poppins', sans-serif; font-size: 1.55rem; font-weight: 700;
  margin: 0 auto 18px; border: 2px solid var(--gold);
  box-shadow: 0 8px 22px rgba(0,0,0,0.12);
}
.step h3 { color: var(--black); font-size: 1.15rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .95rem; }

/* Responsive */
@media (max-width: 820px) {
  .steps { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 900px) {
  .nav { justify-content: center; }
  nav ul { gap: 14px 16px; justify-content: center; }
  .badges .container { grid-template-columns: 1fr 1fr; }
  .badge:nth-child(2) { border-right: none; }
  .two-col { grid-template-columns: 1fr; gap: 30px; }
  .two-col .feature-img, .two-col .svg-panel { order: -1; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 2.1rem; }
  .page-banner h1 { font-size: 1.8rem; }
}
@media (max-width: 560px) {
  .topbar .container { justify-content: center; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .badges .container { grid-template-columns: 1fr; }
  .badge { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.07); }
  section { padding: 52px 0; }
  .hero { padding: 76px 0; }
  .hero h1 { font-size: 1.8rem; }
}
