/* ==========================================================================
   Inno Diagnostic Lab — Global Styles
   Modern, medical, trustworthy. Mobile-first responsive.
   ========================================================================== */

:root {
  /* Brand palette — pulled from the official logo */
  --rl-red: #c8102e;          /* Logo red */
  --rl-red-dark: #9a0a23;
  --rl-red-light: #e63956;
  --rl-navy: #0b2447;         /* Logo navy */
  --rl-navy-dark: #061a35;
  --rl-navy-light: #19376d;
  --rl-green: #4ea64e;        /* Logo green */
  --rl-green-dark: #2f7a2f;
  --rl-green-light: #6dc06d;
  --rl-gold: #d4a017;
  --rl-bg: #f6f9fc;
  --rl-bg-soft: #eef3f9;
  --rl-card: #ffffff;
  --rl-text: #15233b;
  --rl-text-soft: #4a5b76;
  --rl-text-mute: #7a8aa3;
  --rl-border: #e3e9f3;
  --rl-shadow: 0 10px 30px -10px rgba(11, 36, 71, 0.18);
  --rl-shadow-lg: 0 25px 50px -12px rgba(11, 36, 71, 0.25);
  --rl-radius: 14px;
  --rl-radius-sm: 8px;
  --rl-radius-lg: 22px;
  --rl-gradient: linear-gradient(135deg, var(--rl-navy) 0%, var(--rl-navy-light) 100%);
  --rl-gradient-red: linear-gradient(135deg, var(--rl-red) 0%, var(--rl-red-light) 100%);
  --rl-gradient-hero: linear-gradient(135deg, #061a35 0%, #0b2447 45%, #19376d 100%);
  --rl-transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --rl-container: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--rl-text);
  background: var(--rl-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: var(--rl-red); text-decoration: none; transition: color var(--rl-transition); }
a:hover { color: var(--rl-red-dark); }

button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
}

.container {
  max-width: var(--rl-container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   Topbar
   ========================================================================== */
.topbar {
  background: var(--rl-navy-dark);
  color: #cbd5e1;
  font-size: 0.85rem;
  padding: 8px 0;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.topbar a { color: #cbd5e1; }
.topbar a:hover { color: white; }
.topbar .topbar-left, .topbar .topbar-right {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}
.topbar i { margin-right: 6px; opacity: 0.8; }
.topbar .socials a { margin-left: 12px; font-size: 0.95rem; }

/* ==========================================================================
   Navbar
   ========================================================================== */
.navbar {
  background: white;
  box-shadow: 0 2px 14px rgba(11, 36, 71, 0.06);
  position: sticky;
  top: 0;
  z-index: 100;
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
  gap: 12px;
  flex-wrap: nowrap;
}
.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--rl-navy);
  line-height: 0;
}
.brand img {
  height: 46px;
  width: auto;
  object-fit: contain;
  display: block;
}
.brand-text {
  display: none;
}
.nav-links {
  display: flex;
  gap: 2px;
  list-style: none;
  align-items: center;
  flex-wrap: nowrap;
}
.nav-links li {
  white-space: nowrap;
}
.nav-links a {
  display: block;
  padding: 10px 11px;
  color: var(--rl-text);
  font-weight: 500;
  font-size: 0.92rem;
  border-radius: 8px;
  transition: all var(--rl-transition);
  white-space: nowrap;
}
.nav-links a:hover { background: var(--rl-bg-soft); color: var(--rl-red); }
.nav-links a.active {
  color: var(--rl-red);
  background: var(--rl-bg-soft);
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--rl-navy);
  cursor: pointer;
  padding: 6px 10px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--rl-transition);
  white-space: nowrap;
  text-decoration: none;
}
.btn-primary {
  background: var(--rl-red);
  color: white;
  box-shadow: 0 8px 20px -6px rgba(200, 16, 46, 0.5);
}
.btn-primary:hover { background: var(--rl-red-dark); color: white; transform: translateY(-2px); box-shadow: 0 12px 24px -6px rgba(200, 16, 46, 0.6); }
.btn-secondary {
  background: var(--rl-navy);
  color: white;
}
.btn-secondary:hover { background: var(--rl-navy-dark); color: white; transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: white;
  border-color: white;
}
.btn-outline:hover { background: white; color: var(--rl-navy); }
.btn-ghost {
  background: transparent;
  color: var(--rl-red);
  border-color: var(--rl-red);
}
.btn-ghost:hover { background: var(--rl-red); color: white; }
.btn-whatsapp {
  background: #25d366;
  color: white;
}
.btn-whatsapp:hover { background: #1ebe57; color: white; transform: translateY(-2px); }
.btn-sm { padding: 8px 16px; font-size: 0.85rem; }
.btn-lg { padding: 16px 30px; font-size: 1.05rem; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  background: var(--rl-gradient-hero);
  color: white;
  position: relative;
  overflow: hidden;
  padding: 80px 0 100px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(78, 166, 78, 0.18) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(200, 16, 46, 0.18) 0%, transparent 40%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'><circle cx='1' cy='1' r='1' fill='%23ffffff' opacity='0.05'/></svg>");
  pointer-events: none;
}
.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(78, 166, 78, 0.15);
  border: 1px solid rgba(78, 166, 78, 0.4);
  color: #7ee787;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}
.hero h1 .highlight {
  background: linear-gradient(135deg, #ff7a90 0%, #ff506e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p.lead {
  font-size: 1.15rem;
  color: #cbd5e1;
  margin-bottom: 30px;
  max-width: 540px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 520px;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-stat .num {
  font-size: 1.8rem;
  font-weight: 800;
  color: white;
  display: block;
  line-height: 1;
}
.hero-stat .label {
  font-size: 0.85rem;
  color: #94a3b8;
  margin-top: 6px;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-card {
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--rl-radius-lg);
  padding: 28px;
  width: 100%;
  max-width: 420px;
  position: relative;
  z-index: 2;
}
.hero-photo {
  width: 100%;
  max-width: 480px;
  border-radius: var(--rl-radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: 0 25px 60px -15px rgba(0,0,0,0.4);
  border: 4px solid rgba(255,255,255,0.08);
  z-index: 2;
}
.hero-photo img { width: 100%; height: auto; display: block; aspect-ratio: 1/1; object-fit: cover; }
.hero-photo-overlay {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  justify-content: flex-start;
  pointer-events: none;
}
.hero-photo-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(11, 36, 71, 0.85);
  backdrop-filter: blur(8px);
  color: white;
  padding: 8px 14px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.2);
}
.hero-photo-badge i { color: var(--rl-green-light); }
.hero-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 20px;
}
.hero-card-header img {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: white;
  padding: 4px;
}
.hero-card-header h3 { font-size: 1.1rem; margin-bottom: 2px; }
.hero-card-header p { color: #94a3b8; font-size: 0.85rem; }
.hero-card ul { list-style: none; }
.hero-card li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  color: #e2e8f0;
  font-size: 0.95rem;
}
.hero-card li i {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(78, 166, 78, 0.2);
  color: #7ee787;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
}
.hero-float {
  position: absolute;
  background: white;
  color: var(--rl-navy);
  padding: 14px 18px;
  border-radius: 14px;
  box-shadow: var(--rl-shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  z-index: 3;
}
.hero-float-1 { top: -20px; right: -20px; }
.hero-float-2 { bottom: -20px; left: -20px; }
.hero-float i {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: white;
}
.hero-float-1 i { background: var(--rl-red); }
.hero-float-2 i { background: var(--rl-green); }
.hero-float strong { display: block; line-height: 1.2; }
.hero-float span { font-size: 0.75rem; color: var(--rl-text-mute); }

/* ==========================================================================
   Sections
   ========================================================================== */
section { padding: 80px 0; }
.section-soft { background: var(--rl-bg-soft); }
.section-dark { background: var(--rl-navy); color: white; }
.section-dark h2, .section-dark p { color: white; }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 50px;
}
.section-head .eyebrow {
  display: inline-block;
  color: var(--rl-red);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.section-head h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--rl-navy);
  line-height: 1.2;
  margin-bottom: 14px;
  letter-spacing: -0.3px;
}
.section-head p {
  font-size: 1.05rem;
  color: var(--rl-text-soft);
}

/* ==========================================================================
   Services Showcase
   ========================================================================== */
.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.showcase-content h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--rl-navy); margin-bottom: 16px; }
.showcase-content p { color: var(--rl-text-soft); margin-bottom: 24px; }
.showcase-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.showcase-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--rl-bg-soft);
  color: var(--rl-navy);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid var(--rl-border);
}
.showcase-chip i { color: var(--rl-red); }
.showcase-photo {
  border-radius: var(--rl-radius-lg);
  overflow: hidden;
  box-shadow: var(--rl-shadow-lg);
}
.showcase-photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1/1; display: block; }
@media (max-width: 880px) {
  .showcase-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ==========================================================================
   Lab Gallery
   ========================================================================== */
.lab-gallery {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 20px;
}
.lab-gallery-main, .lab-gallery-tile {
  position: relative;
  border-radius: var(--rl-radius-lg);
  overflow: hidden;
  background: var(--rl-bg-soft);
  box-shadow: var(--rl-shadow);
}
.lab-gallery-main img, .lab-gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.lab-gallery-main { aspect-ratio: 4/3; }
.lab-gallery-side { display: grid; grid-template-rows: 1fr 1fr; gap: 20px; }
.lab-gallery-tile { aspect-ratio: 4/3; }
.lab-gallery-main:hover img, .lab-gallery-tile:hover img { transform: scale(1.04); }
.lab-gallery-caption {
  position: absolute;
  left: 20px;
  bottom: 20px;
  right: 20px;
  background: rgba(11, 36, 71, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: white;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.15);
}
.lab-gallery-caption strong { display: block; font-size: 0.95rem; color: white; }
.lab-gallery-caption span { font-size: 0.8rem; color: #cbd5e1; }
@media (max-width: 768px) {
  .lab-gallery { grid-template-columns: 1fr; }
  .lab-gallery-side { grid-template-rows: auto; grid-template-columns: 1fr 1fr; }
  .lab-gallery-main { aspect-ratio: 16/10; }
}
@media (max-width: 480px) {
  .lab-gallery-side { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Form Card (used on home, team, contact, partner)
   ========================================================================== */
.form-card {
  background: white;
  border-radius: var(--rl-radius-lg);
  padding: 28px;
  box-shadow: var(--rl-shadow);
  border: 1px solid var(--rl-border);
}
.form-card h3 {
  color: var(--rl-navy);
  font-size: 1.3rem;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.form-card h3 i { color: var(--rl-red); }
.form-sub { color: var(--rl-text-mute); font-size: 0.88rem; margin-bottom: 18px; }
.form-optional { color: var(--rl-text-mute); font-weight: 400; font-size: 0.8rem; }
.form-checkbox label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  cursor: pointer;
}
.form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--rl-red);
}
.form-disclaimer {
  font-size: 0.78rem;
  color: var(--rl-text-mute);
  text-align: center;
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.form-success {
  background: rgba(78, 166, 78, 0.1);
  color: var(--rl-green-dark);
  padding: 12px 16px;
  border-radius: 10px;
  border-left: 4px solid var(--rl-green);
  margin-bottom: 16px;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
  display: none;
}
.form-success.show { display: flex; }

/* Section header form layout (for partner / careers / contact full pages) */
.form-section {
  background: white;
  border-radius: var(--rl-radius-lg);
  padding: 36px;
  box-shadow: var(--rl-shadow);
  border: 1px solid var(--rl-border);
  max-width: 760px;
  margin: 0 auto;
}
.form-section h2 { color: var(--rl-navy); font-size: 1.5rem; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.form-section h2 i { color: var(--rl-red); }
.form-section > p { color: var(--rl-text-soft); margin-bottom: 24px; font-size: 0.95rem; }

/* ==========================================================================
   Home Sample Collection Section
   ========================================================================== */
.hsc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hsc-photo {
  position: relative;
  border-radius: var(--rl-radius-lg);
  overflow: hidden;
  box-shadow: var(--rl-shadow-lg);
  background: var(--rl-bg-soft);
}
.hsc-photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1/1; display: block; }
.hsc-photo-pill {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--rl-red);
  color: white;
  padding: 10px 18px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 20px -6px rgba(200,16,46,0.5);
}
.hsc-content h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--rl-navy); margin-bottom: 16px; }
.hsc-content p { color: var(--rl-text-soft); margin-bottom: 20px; }
.hsc-features { list-style: none; margin-bottom: 24px; }
.hsc-features li { display: flex; align-items: center; gap: 10px; padding: 6px 0; color: var(--rl-text); font-size: 0.95rem; }
.hsc-features i { color: var(--rl-green); font-size: 1.1rem; }
.hsc-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 880px) {
  .hsc-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ==========================================================================
   Service cards
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.service-card {
  background: white;
  border-radius: var(--rl-radius);
  padding: 32px 28px;
  box-shadow: var(--rl-shadow);
  transition: all var(--rl-transition);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--rl-border);
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--rl-gradient-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--rl-transition);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--rl-shadow-lg); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: var(--rl-gradient);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 18px;
}
.service-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--rl-navy);
  margin-bottom: 10px;
}
.service-card p { color: var(--rl-text-soft); font-size: 0.95rem; }
.service-card .tag {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.8rem;
  color: var(--rl-red);
  font-weight: 600;
}

/* ==========================================================================
   Features strip
   ========================================================================== */
.features-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: -60px;
  position: relative;
  z-index: 5;
}
.feature-tile {
  background: white;
  border-radius: var(--rl-radius);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--rl-shadow);
  border: 1px solid var(--rl-border);
}
.feature-tile i {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(200, 16, 46, 0.1);
  color: var(--rl-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.feature-tile strong { display: block; color: var(--rl-navy); font-size: 1rem; }
.feature-tile span { color: var(--rl-text-soft); font-size: 0.85rem; }

/* ==========================================================================
   Package cards
   ========================================================================== */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.pkg-card {
  background: white;
  border-radius: var(--rl-radius);
  overflow: hidden;
  box-shadow: var(--rl-shadow);
  transition: all var(--rl-transition);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--rl-border);
}
.pkg-card:hover { transform: translateY(-6px); box-shadow: var(--rl-shadow-lg); }
.pkg-head {
  background: var(--rl-gradient);
  color: white;
  padding: 26px 24px;
  position: relative;
}
.pkg-head h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 4px; }
.pkg-head p { font-size: 0.85rem; color: #cbd5e1; }
.pkg-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 12px;
}
.pkg-price .num { font-size: 1.8rem; font-weight: 800; }
.pkg-price .strike { text-decoration: line-through; color: rgba(255,255,255,0.5); font-size: 1rem; }
.pkg-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.pkg-body ul { list-style: none; margin-bottom: 20px; flex: 1; }
.pkg-body li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 7px 0;
  font-size: 0.9rem;
  color: var(--rl-text-soft);
  border-bottom: 1px dashed var(--rl-border);
}
.pkg-body li:last-child { border: none; }
.pkg-body li i { color: var(--rl-green); margin-top: 4px; flex-shrink: 0; }
.pkg-card.featured { transform: scale(1.02); }
.pkg-card.featured .pkg-head { background: var(--rl-gradient-red); }
.pkg-card.featured::after {
  content: 'POPULAR';
  position: absolute;
  top: 16px;
  right: -34px;
  background: var(--rl-gold);
  color: white;
  padding: 4px 40px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  transform: rotate(45deg);
  z-index: 1;
}

/* ==========================================================================
   xMed section
   ========================================================================== */
.xmed {
  background: var(--rl-gradient-hero);
  color: white;
  position: relative;
  overflow: hidden;
}
.xmed::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 30%, rgba(200, 16, 46, 0.2) 0%, transparent 50%);
}
.xmed .container {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.xmed h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); margin-bottom: 16px; }
.xmed p { color: #cbd5e1; margin-bottom: 24px; }
.xmed-features { list-style: none; margin: 24px 0; }
.xmed-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
}
.xmed-features i {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(78, 166, 78, 0.2);
  color: #7ee787;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.8rem;
}
.xmed-visual {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--rl-radius-lg);
  padding: 30px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.xmed-mock {
  background: white;
  color: var(--rl-text);
  border-radius: 14px;
  padding: 20px;
  box-shadow: var(--rl-shadow-lg);
}
.xmed-mock-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--rl-border);
  margin-bottom: 16px;
}
.xmed-mock-head strong { color: var(--rl-navy); }
.xmed-mock-head .badge {
  background: rgba(78, 166, 78, 0.1);
  color: var(--rl-green-dark);
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}
.xmed-mock-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  font-size: 0.85rem;
  color: var(--rl-text-soft);
  border-bottom: 1px dashed var(--rl-border);
}
.xmed-mock-row:last-child { border: none; }
.xmed-mock-row i { color: var(--rl-green); }
.xmed-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: #94a3b8;
  margin-bottom: 16px;
}
.xmed-logo strong { color: white; font-size: 1.1rem; }

/* ==========================================================================
   Team
   ========================================================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.team-card {
  background: white;
  border-radius: var(--rl-radius);
  overflow: hidden;
  text-align: center;
  box-shadow: var(--rl-shadow);
  border: 1px solid var(--rl-border);
  transition: all var(--rl-transition);
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--rl-shadow-lg); }
.team-avatar {
  width: 100%;
  aspect-ratio: 1/1;
  background: var(--rl-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 4rem;
  position: relative;
  overflow: hidden;
}
.team-avatar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(11,36,71,0.5) 100%);
}
.team-avatar i { position: relative; z-index: 1; }
.team-avatar.has-photo { background: var(--rl-bg-soft); }
.team-avatar.has-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  position: relative;
  z-index: 1;
}
.team-avatar.has-photo::after {
  background: linear-gradient(180deg, transparent 60%, rgba(11,36,71,0.7) 100%);
}
.team-info { padding: 22px 20px; }
.team-info h4 { color: var(--rl-red); font-size: 1.1rem; margin-bottom: 6px; }
.team-info .role { color: var(--rl-navy); font-weight: 600; font-size: 0.9rem; margin-bottom: 4px; }
.team-info .qual { color: var(--rl-text-mute); font-size: 0.85rem; }
.team-info .extra { color: var(--rl-text-soft); font-size: 0.85rem; margin-top: 4px; }

/* ==========================================================================
   Branches
   ========================================================================== */
.branch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.branch-card {
  background: white;
  border-radius: var(--rl-radius);
  overflow: hidden;
  box-shadow: var(--rl-shadow);
  border: 1px solid var(--rl-border);
  transition: all var(--rl-transition);
  display: flex;
  flex-direction: column;
}
.branch-card:hover { transform: translateY(-4px); box-shadow: var(--rl-shadow-lg); }
.branch-banner {
  background: var(--rl-gradient);
  color: white;
  padding: 22px 24px;
  position: relative;
}
.branch-banner .branch-tag {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 0.75rem;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}
.branch-banner h3 { font-size: 1.2rem; font-weight: 700; }
.branch-banner p { font-size: 0.85rem; color: #cbd5e1; }
.branch-card.main .branch-banner { background: var(--rl-gradient-red); }
.branch-body { padding: 22px 24px; flex: 1; display: flex; flex-direction: column; }
.branch-body .row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--rl-text-soft);
}
.branch-body .row i { color: var(--rl-red); margin-top: 3px; flex-shrink: 0; }
.branch-body .actions {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.branch-body .actions .btn { flex: 1; min-width: 0; padding: 9px 12px; font-size: 0.85rem; }

/* ==========================================================================
   Test picker (rate list page)
   ========================================================================== */
.picker {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 24px;
  align-items: start;
}
.picker-main {
  background: white;
  border-radius: var(--rl-radius);
  padding: 24px;
  box-shadow: var(--rl-shadow);
  border: 1px solid var(--rl-border);
}
.picker-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
  align-items: center;
}
.picker-search {
  flex: 1;
  min-width: 220px;
  position: relative;
}
.picker-search input {
  width: 100%;
  padding: 12px 14px 12px 40px;
  border: 1.5px solid var(--rl-border);
  border-radius: 12px;
  font-size: 0.95rem;
  transition: all var(--rl-transition);
  background: var(--rl-bg);
}
.picker-search input:focus { outline: none; border-color: var(--rl-red); background: white; }
.picker-search i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--rl-text-mute);
}
.picker-filter {
  padding: 12px 16px;
  border: 1.5px solid var(--rl-border);
  border-radius: 12px;
  background: white;
  color: var(--rl-text);
  cursor: pointer;
  font-size: 0.9rem;
  min-width: 160px;
}
.dept-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  max-height: 140px;
  overflow-y: auto;
  padding-bottom: 6px;
}
.dept-chip {
  padding: 6px 12px;
  border-radius: 50px;
  background: var(--rl-bg-soft);
  color: var(--rl-text);
  font-size: 0.8rem;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all var(--rl-transition);
  white-space: nowrap;
  font-weight: 500;
}
.dept-chip:hover { background: rgba(200, 16, 46, 0.08); }
.dept-chip.active { background: var(--rl-red); color: white; border-color: var(--rl-red); }
.test-list {
  max-height: 600px;
  overflow-y: auto;
  border: 1px solid var(--rl-border);
  border-radius: 12px;
}
.test-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--rl-border);
  gap: 12px;
  transition: background var(--rl-transition);
}
.test-row:last-child { border-bottom: none; }
.test-row:hover { background: var(--rl-bg-soft); }
.test-row.selected { background: rgba(200, 16, 46, 0.04); }
.test-row-info { flex: 1; min-width: 0; }
.test-row-name { font-weight: 500; color: var(--rl-text); font-size: 0.95rem; }
.test-row-dept { font-size: 0.75rem; color: var(--rl-text-mute); margin-top: 2px; }
.test-row-amt { font-weight: 700; color: var(--rl-navy); white-space: nowrap; }
.test-row input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--rl-red);
  cursor: pointer;
}
.test-empty {
  padding: 60px 20px;
  text-align: center;
  color: var(--rl-text-mute);
}
.test-empty i { font-size: 3rem; margin-bottom: 14px; display: block; opacity: 0.3; }

.picker-cart {
  position: sticky;
  top: 90px;
  background: white;
  border-radius: var(--rl-radius);
  padding: 24px;
  box-shadow: var(--rl-shadow);
  border: 1px solid var(--rl-border);
  max-height: calc(100vh - 110px);
  display: flex;
  flex-direction: column;
}
.picker-cart h3 {
  font-size: 1.1rem;
  color: var(--rl-navy);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.picker-cart h3 .count {
  background: var(--rl-red);
  color: white;
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 50px;
  font-weight: 700;
}
.cart-list {
  flex: 1;
  overflow-y: auto;
  margin: 16px 0;
  min-height: 100px;
  max-height: 320px;
}
.cart-list:empty::before {
  content: 'No tests selected yet. Pick tests from the list to see your total.';
  display: block;
  text-align: center;
  color: var(--rl-text-mute);
  font-size: 0.85rem;
  padding: 30px 16px;
  border: 2px dashed var(--rl-border);
  border-radius: 10px;
}
.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px dashed var(--rl-border);
  gap: 8px;
}
.cart-item:last-child { border: none; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-size: 0.85rem; color: var(--rl-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-item-amt { font-size: 0.8rem; color: var(--rl-text-mute); }
.cart-remove {
  background: none;
  border: none;
  color: var(--rl-red);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.85rem;
  transition: background var(--rl-transition);
}
.cart-remove:hover { background: rgba(200, 16, 46, 0.1); }
.cart-summary {
  border-top: 2px solid var(--rl-border);
  padding-top: 16px;
  margin-top: auto;
}
.cart-summary .row { display: flex; justify-content: space-between; padding: 4px 0; font-size: 0.9rem; color: var(--rl-text-soft); }
.cart-summary .row.total { color: var(--rl-navy); font-weight: 800; font-size: 1.25rem; border-top: 1px dashed var(--rl-border); padding-top: 10px; margin-top: 8px; }
.cart-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.cart-actions .btn { width: 100%; }

/* ==========================================================================
   Test list table
   ========================================================================== */
.tests-table {
  width: 100%;
  background: white;
  border-radius: var(--rl-radius);
  overflow: hidden;
  box-shadow: var(--rl-shadow);
  border-collapse: collapse;
}
.tests-table th {
  background: var(--rl-navy);
  color: white;
  padding: 14px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.tests-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--rl-border);
  font-size: 0.9rem;
}
.tests-table tr:hover td { background: var(--rl-bg-soft); }
.tests-table tr:last-child td { border: none; }
.tests-table .dept-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 50px;
  background: var(--rl-bg-soft);
  color: var(--rl-text-soft);
  font-size: 0.75rem;
  font-weight: 500;
}
.tests-table .amt { color: var(--rl-red); font-weight: 700; }
.tests-table-wrap { overflow-x: auto; }

/* ==========================================================================
   Forms
   ========================================================================== */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 500; font-size: 0.9rem; color: var(--rl-text); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--rl-border);
  border-radius: 10px;
  font-size: 0.95rem;
  background: white;
  color: var(--rl-text);
  transition: all var(--rl-transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--rl-red);
  box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.1);
}
.form-group textarea { resize: vertical; min-height: 100px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: var(--rl-navy-dark);
  color: #cbd5e1;
  padding: 60px 0 0;
  position: relative;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer h4 {
  color: white;
  font-size: 1.05rem;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 10px;
}
.footer h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 3px;
  background: var(--rl-red);
  border-radius: 2px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  background: white;
  padding: 10px 16px;
  border-radius: 12px;
  width: fit-content;
}
.footer-brand img {
  height: 60px;
  width: auto;
  object-fit: contain;
  display: block;
}
.footer-brand h3 { color: white; font-size: 1.3rem; line-height: 1.2; }
.footer-brand span { color: #94a3b8; font-size: 0.8rem; letter-spacing: 1px; text-transform: uppercase; }
.footer p { font-size: 0.9rem; line-height: 1.7; color: #94a3b8; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer ul li a { color: #cbd5e1; font-size: 0.9rem; transition: all var(--rl-transition); }
.footer ul li a:hover { color: white; padding-left: 4px; }
.footer-contact-row { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; font-size: 0.9rem; }
.footer-contact-row i { color: var(--rl-red); margin-top: 3px; flex-shrink: 0; }
.footer-socials { display: flex; gap: 10px; margin-top: 16px; }
.footer-socials a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--rl-transition);
}
.footer-socials a:hover { background: var(--rl-red); transform: translateY(-2px); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  font-size: 0.85rem;
  color: #94a3b8;
  text-align: center;
}
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.footer-bottom a { color: #cbd5e1; }

/* ==========================================================================
   Floating WhatsApp / Call
   ========================================================================== */
.float-actions {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.float-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.4rem;
  box-shadow: 0 10px 25px -5px rgba(0,0,0,0.3);
  transition: all var(--rl-transition);
  text-decoration: none;
  position: relative;
}
.float-btn:hover { transform: scale(1.1); color: white; }
.float-btn.wa { background: #25d366; }
.float-btn.call { background: var(--rl-red); }
.float-btn::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: inherit;
  opacity: 0.4;
  z-index: -1;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: 0.4; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* ==========================================================================
   Page header
   ========================================================================== */
.page-header {
  background: var(--rl-gradient-hero);
  color: white;
  padding: 60px 0 70px;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 50%, rgba(200, 16, 46, 0.2) 0%, transparent 50%);
}
.page-header .container { position: relative; }
.page-header h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 10px;
}
.page-header p { color: #cbd5e1; font-size: 1.05rem; max-width: 720px; }
.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.85rem;
  color: #94a3b8;
  margin-bottom: 14px;
}
.breadcrumb a { color: #cbd5e1; }
.breadcrumb a:hover { color: white; }
.breadcrumb i { font-size: 0.7rem; opacity: 0.6; }

/* ==========================================================================
   CTA banner
   ========================================================================== */
.cta-banner {
  background: var(--rl-gradient-red);
  color: white;
  padding: 50px 0;
  text-align: center;
}
.cta-banner h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 12px; }
.cta-banner p { color: rgba(255,255,255,0.9); margin-bottom: 24px; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-banner .ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.testimonial {
  background: white;
  border-radius: var(--rl-radius);
  padding: 28px;
  box-shadow: var(--rl-shadow);
  border: 1px solid var(--rl-border);
  position: relative;
}
.testimonial::before {
  content: '"';
  position: absolute;
  top: 10px;
  right: 24px;
  font-size: 5rem;
  color: var(--rl-bg-soft);
  font-family: Georgia, serif;
  line-height: 1;
}
.testimonial p {
  color: var(--rl-text-soft);
  font-size: 0.95rem;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-author .avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--rl-gradient);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.testimonial-author strong { color: var(--rl-navy); display: block; font-size: 0.95rem; }
.testimonial-author span { color: var(--rl-text-mute); font-size: 0.8rem; }
.testimonial .stars { color: var(--rl-gold); margin-bottom: 8px; font-size: 0.85rem; }

/* ==========================================================================
   Stats counter strip
   ========================================================================== */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  text-align: center;
  padding: 30px 0;
}
.stat-item .num {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--rl-red);
  line-height: 1;
}
.stat-item .label {
  color: var(--rl-text-soft);
  font-size: 0.9rem;
  margin-top: 6px;
  display: block;
}

/* ==========================================================================
   Process steps
   ========================================================================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  position: relative;
}
.process-step {
  text-align: center;
  position: relative;
}
.process-num {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--rl-gradient);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 auto 18px;
  box-shadow: 0 8px 20px -6px rgba(11,36,71,0.3);
  position: relative;
  z-index: 1;
}
.process-step h4 { color: var(--rl-navy); margin-bottom: 8px; font-size: 1.05rem; }
.process-step p { color: var(--rl-text-soft); font-size: 0.9rem; }

/* ==========================================================================
   About
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-grid h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--rl-navy); margin-bottom: 18px; }
.about-grid p { color: var(--rl-text-soft); margin-bottom: 16px; }
.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}
.value-tile {
  background: var(--rl-bg-soft);
  padding: 18px;
  border-radius: 12px;
  border-left: 4px solid var(--rl-red);
}
.value-tile strong { color: var(--rl-navy); display: block; margin-bottom: 4px; }
.value-tile span { color: var(--rl-text-soft); font-size: 0.85rem; }
.about-image-wrap {
  position: relative;
  border-radius: var(--rl-radius-lg);
  overflow: hidden;
  background: var(--rl-gradient);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 5rem;
  box-shadow: var(--rl-shadow-lg);
}
.about-image-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-image-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(78, 166, 78, 0.15) 0%, transparent 50%);
  z-index: 1;
  pointer-events: none;
}
.about-image-pill {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(11, 36, 71, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: white;
  padding: 10px 16px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255,255,255,0.2);
  z-index: 2;
}
.about-image-pill i { color: var(--rl-green-light); }

/* Accreditations */
.accreditations {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}
.accreditation-card {
  background: white;
  border-radius: var(--rl-radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--rl-shadow);
  border: 1px solid var(--rl-border);
  transition: all var(--rl-transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.accreditation-card:hover { transform: translateY(-4px); box-shadow: var(--rl-shadow-lg); }
.accreditation-card img {
  width: 180px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 8px;
}
.accreditation-card strong { color: var(--rl-navy); font-size: 1.15rem; }
.accreditation-card span { color: var(--rl-text-mute); font-size: 0.85rem; line-height: 1.5; }

/* ==========================================================================
   Report access
   ========================================================================== */
.reports-hero {
  background: var(--rl-gradient);
  color: white;
  text-align: center;
  padding: 70px 24px;
  border-radius: var(--rl-radius-lg);
  position: relative;
  overflow: hidden;
}
.reports-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(78, 166, 78, 0.2) 0%, transparent 50%);
}
.reports-hero > * { position: relative; }
.reports-hero i.big { font-size: 4rem; margin-bottom: 20px; display: block; opacity: 0.9; }
.reports-hero h2 { margin-bottom: 14px; font-size: clamp(1.8rem, 3.5vw, 2.4rem); }
.reports-hero p { color: rgba(255,255,255,0.9); max-width: 540px; margin: 0 auto 26px; }
.reports-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.reports-step {
  background: white;
  color: var(--rl-text);
  padding: 24px;
  border-radius: var(--rl-radius);
  text-align: left;
  box-shadow: var(--rl-shadow);
  border: 1px solid var(--rl-border);
}
.reports-step .n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--rl-red);
  color: white;
  font-weight: 700;
  margin-bottom: 10px;
  font-size: 0.9rem;
}
.reports-step h4 { color: var(--rl-navy); margin-bottom: 6px; font-size: 1rem; }
.reports-step p { color: var(--rl-text-soft); font-size: 0.85rem; margin: 0; }

/* ==========================================================================
   Animations
   ========================================================================== */
.fade-up { animation: fadeUp 0.6s ease-out; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
  .hero .container { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; max-width: 380px; margin: 0 auto; }
  .xmed .container, .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .picker { grid-template-columns: 1fr; }
  .picker-cart { position: static; max-height: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .hero-float { display: none; }
}
@media (max-width: 768px) {
  section { padding: 60px 0; }
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: block; }
  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    padding: 20px;
    box-shadow: var(--rl-shadow);
    gap: 4px;
  }
  .nav-links.mobile-open li { width: 100%; }
  .nav-links.mobile-open a { width: 100%; }
  .topbar .topbar-left, .topbar .topbar-right { font-size: 0.78rem; gap: 12px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-bottom .container { justify-content: center; text-align: center; }
  .about-values { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero { padding: 50px 0 70px; }
  .hero-stats { grid-template-columns: 1fr; gap: 12px; }
  .hero-ctas .btn { width: 100%; }
  .dept-chips { max-height: 110px; }
  .test-row { padding: 10px 12px; gap: 8px; }
  .test-row-name { font-size: 0.85rem; }
  .test-row-amt { font-size: 0.85rem; }
  .float-btn { width: 48px; height: 48px; font-size: 1.2rem; }
  .float-actions { right: 14px; bottom: 14px; }
}
