:root {
  --primary: #1b3e6f;
  --primary-dark: #0f2645;
  --accent: #1e5799;
  --text: #333;
  --muted: #666;
  --bg-light: #f4f6f9;
  --border: #dde2ea;
  --radius: 8px;
}

body {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  padding-top: 60px;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); }
a:hover { color: var(--primary-dark); }
p { margin: 0 0 1rem; }
h1,h2,h3,h4,h5,h6 { font-family: 'Inter', Arial, sans-serif; }

/* === NAV === */
.site-nav { background: var(--primary); min-height: 60px; }
@media (max-width: 767px) { .site-nav { min-height: 56px; } }
.site-nav .navbar-brand { color: #fff; font-weight: 700; font-size: 1.05rem; }
.site-nav .navbar-brand:hover { color: #fff; text-decoration: none; }
.site-nav .nav-link { color: rgba(255,255,255,.8) !important; font-size: .875rem; padding: 8px 12px !important; transition: color .2s; }
.site-nav .nav-link:hover,
.site-nav .nav-link.active { color: #fff !important; }
.site-nav .navbar-toggler { border-color: rgba(255,255,255,.3); padding: 4px 8px; }
.site-nav .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* === SUB-BANNER === */
.sub-banner { background: var(--accent); padding: 16px 0; }
.sub-banner .tagline { font-size: 1rem; color: #fff; line-height: 1.5; }
.sub-banner .btn-contact {
  border: 2px solid rgba(255,255,255,.5);
  color: #fff;
  background: transparent;
  font-size: .875rem;
  padding: 7px 20px;
  border-radius: 50px;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s, border-color .2s;
  display: inline-block;
}
.sub-banner .btn-contact:hover { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.8); color: #fff; }

/* === PAGE HEADER (content pages) === */
.page-header { background: var(--primary); padding: 40px 0 32px; }
.page-header h1 { color: #fff; font-size: 2rem; font-weight: 700; margin: 0; }

/* === APP CARDS (homepage) === */
.app-card {
  display: flex; flex-direction: column;
  border-radius: var(--radius); overflow: hidden;
  text-decoration: none; color: #fff; height: 100%;
  transition: transform .2s, box-shadow .2s;
}
.app-card:hover { transform: translateY(-5px); box-shadow: 0 10px 28px rgba(0,0,0,.25); color: #fff; text-decoration: none; }
.app-card-icon { padding: 20px 20px 14px; display: flex; align-items: center; justify-content: center; }
.app-card-icon img { height: 52px; }
.app-card-body { padding: 0 20px 24px; flex: 1; }
.app-card-body strong { display: block; font-size: .95rem; margin-bottom: 8px; }
.app-card-body p { font-size: .85rem; margin: 0; opacity: .92; }

.card-histology { background: #c0392b; }
.card-histology .app-card-icon { background: #a93226; }
.card-gpc { background: #2471a3; }
.card-gpc .app-card-icon { background: #1a5f8a; }
.card-hplc { background: #1a7d3f; }
.card-hplc .app-card-icon { background: #146331; }
.card-general { background: #8c6d0f; }
.card-general .app-card-icon { background: #725908; }

/* === HOME INFO === */
.home-info { padding: 48px 0; }
.value-block {
  background: var(--bg-light);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 22px; margin-bottom: 14px;
}
.value-block strong { color: var(--primary); display: block; margin-bottom: 4px; }
.value-block p { margin: 0; }
.app-list { list-style: none; padding: 0; margin: 16px 0 0; }
.app-list li { padding: 7px 0; border-bottom: 1px solid var(--border); font-size: .95rem; }
.app-list li:last-child { border-bottom: none; }
.app-list a { text-decoration: none; font-weight: 500; }
.app-list a:hover { text-decoration: underline; }

/* === BENEFIT CARDS (homepage) === */
.benefits-section { background: var(--bg-light); padding: 48px 0; }
.benefits-heading { color: var(--primary); font-size: 1.6rem; font-weight: 600; text-align: center; margin-bottom: 32px; }
.benefit-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 24px; height: 100%; text-align: center;
  transition: transform .2s, box-shadow .2s;
}
.benefit-card:hover { transform: translateY(-4px); box-shadow: 0 6px 20px rgba(0,0,0,.09); }
.benefit-icon {
  width: 56px; height: 56px; background: var(--primary);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px; color: #fff; font-size: 1.2rem;
}
.benefit-card h3 { font-size: 1.05rem; font-weight: 600; color: var(--primary); margin-bottom: 10px; }
.benefit-card p { font-size: .9rem; color: var(--muted); margin: 0; line-height: 1.6; }

/* === THOUGHT BUBBLE SECTION === */
.thought-section { background: var(--bg-light); padding: 48px 0; }
.thought-section h2 { color: var(--primary); font-size: 1.6rem; font-weight: 600; text-align: center; margin-bottom: 36px; }
.thought-grid {
  display: grid;
  grid-template-columns: 1fr 170px 1fr;
  grid-template-rows: auto auto;
  gap: 8px; align-items: center;
  max-width: 820px; margin: 0 auto;
}
.thought-grid .tb-tl { grid-column: 1; grid-row: 1; }
.thought-grid .tb-tr { grid-column: 3; grid-row: 1; }
.thought-grid .tb-center { grid-column: 2; grid-row: 1 / span 2; text-align: center; }
.thought-grid .tb-center img { max-width: 100%; }
.thought-grid .tb-bl { grid-column: 1; grid-row: 2; }
.thought-grid .tb-br { grid-column: 3; grid-row: 2; }

.thought-bubble { position: relative; padding-bottom: 100%; cursor: pointer; }
.thought-bubble img { position: absolute; left: 0; top: 0; width: 100%; transition: all .7s ease-in-out; }
.thought-bubble img.top { opacity: 0; transform: scale(0); }
.thought-bubble img.bottom { transform: scale(1); }

.tb-tl .thought-bubble img.top { transform-origin: top left; }
.tb-tl .thought-bubble:hover img.top { opacity: 1; transform: scale(1); }
.tb-tl .thought-bubble:hover img.bottom { transform: scale(0); transform-origin: bottom right; }

.tb-tr .thought-bubble img.top { transform-origin: top right; }
.tb-tr .thought-bubble:hover img.top { opacity: 1; transform: scale(1); }
.tb-tr .thought-bubble:hover img.bottom { transform: scale(0); transform-origin: bottom left; }

.tb-bl .thought-bubble img.top { transform-origin: bottom left; }
.tb-bl .thought-bubble:hover img.top { opacity: 1; transform: scale(1); }
.tb-bl .thought-bubble:hover img.bottom { transform: scale(0); transform-origin: top right; }

.tb-br .thought-bubble img.top { transform-origin: bottom right; }
.tb-br .thought-bubble:hover img.top { opacity: 1; transform: scale(1); }
.tb-br .thought-bubble:hover img.bottom { transform: scale(0); transform-origin: top left; }

@media (max-width: 767px) {
  .thought-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
  }
  .thought-grid .tb-tl { grid-column: 1; grid-row: 1; }
  .thought-grid .tb-tr { grid-column: 2; grid-row: 1; }
  .thought-grid .tb-center { grid-column: 1 / span 2; grid-row: 2; max-width: 180px; margin: 0 auto; }
  .thought-grid .tb-bl { grid-column: 1; grid-row: 3; }
  .thought-grid .tb-br { grid-column: 2; grid-row: 3; }
}

/* === CONTENT PAGE === */
.content-section { padding: 48px 0; }
.content-section h2 { color: var(--primary); font-size: 1.3rem; font-weight: 600; margin-bottom: 14px; }
.product-img { border-radius: var(--radius); box-shadow: 0 4px 14px rgba(0,0,0,.12); max-width: 100%; }

/* Histology product links */
.product-link {
  display: block; text-align: center;
  padding: 20px 12px 16px;
  border: 1px solid var(--border); border-radius: var(--radius);
  text-decoration: none; color: var(--text);
  transition: box-shadow .2s, transform .2s; background: #fff; height: 100%;
}
.product-link:hover { box-shadow: 0 4px 16px rgba(0,0,0,.1); transform: translateY(-3px); color: var(--text); text-decoration: none; }
.product-link .prod-imgs { min-height: 90px; display: flex; align-items: flex-end; justify-content: center; gap: 8px; margin-bottom: 12px; }
.product-link .prod-imgs img { max-height: 90px; }
.product-link strong { font-size: .9rem; color: var(--primary); }

/* Histology steps */
.steps-table { width: 100%; border-collapse: collapse; }
.steps-table td { padding: 14px 10px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.steps-table tr:last-child td { border-bottom: none; }
.steps-table .step-img { width: 68px; }
.steps-table .step-label { font-weight: 600; color: var(--primary); padding-left: 14px; min-width: 190px; }
.steps-table .step-desc { padding-left: 14px; }

/* === CONTACT PAGE === */
.contact-methods { background: var(--bg-light); padding: 48px 0; }
.method-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px 16px; text-align: center; height: 100%;
  transition: transform .2s, box-shadow .2s;
}
.method-card:hover { transform: translateY(-3px); box-shadow: 0 4px 16px rgba(0,0,0,.08); }
.method-icon {
  width: 48px; height: 48px; background: var(--primary);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px; color: #fff; font-size: 1rem;
}
.method-card h5 { font-size: .95rem; font-weight: 600; margin-bottom: 4px; }
.method-card p { color: var(--muted); margin: 0; font-size: .9rem; }
.method-card a { color: var(--primary); text-decoration: none; }
.method-card a:hover { text-decoration: underline; }

.contact-form-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 60px 0;
}
.form-card { background: #fff; border-radius: var(--radius); padding: 32px; box-shadow: 0 8px 28px rgba(0,0,0,.18); }
.form-card .form-control,
.form-card .form-select {
  border: 2px solid var(--border); border-radius: var(--radius);
  padding: 10px 14px; font-size: .95rem;
  transition: border-color .2s, box-shadow .2s;
}
.form-card .form-control:focus,
.form-card .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(27,62,111,.15);
  outline: none;
}
.form-card .form-label { font-weight: 500; font-size: .9rem; margin-bottom: 4px; }
.btn-submit {
  background: var(--primary); border: none; border-radius: 50px;
  padding: 12px 40px; font-weight: 600; font-size: 1rem; color: #fff;
  cursor: pointer; transition: background .2s, transform .15s;
}
.btn-submit:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-submit:disabled { opacity: .7; cursor: not-allowed; transform: none; }

.contact-sidebar {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius); padding: 28px; height: 100%;
}
.contact-sidebar h4, .contact-sidebar h5,
.contact-sidebar p, .contact-sidebar li,
.contact-sidebar strong { color: #fff; }
.contact-sidebar a { color: rgba(255,255,255,.85); }
.contact-sidebar a:hover { color: #fff; }
.contact-sidebar hr { border-color: rgba(255,255,255,.2); }

/* === FOOTER === */
.site-footer { background: var(--primary-dark); padding: 48px 0 24px; color: rgba(255,255,255,.75); }
.site-footer h5 { color: #fff; font-size: .85rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 14px; }
.site-footer p { font-size: .875rem; margin-bottom: 4px; }
.site-footer a { color: rgba(255,255,255,.7); text-decoration: none; font-size: .875rem; display: block; margin-bottom: 5px; transition: color .2s; }
.site-footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 32px; padding-top: 18px; font-size: .8rem; text-align: center; }

/* === NAV PHONE === */
.nav-phone {
  color: rgba(255,255,255,.7) !important;
  font-size: .8rem !important;
  padding: 8px 0 8px 16px !important;
  border-left: 1px solid rgba(255,255,255,.2);
  margin-left: 8px;
  white-space: nowrap;
}
.nav-phone:hover { color: #fff !important; }
@media (max-width: 991px) { .nav-phone { display: none !important; } }

/* === HERO === */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, #0a1e3d 100%);
  padding: 80px 0 68px;
}
.hero-eyebrow {
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: rgba(255,255,255,.6);
  margin-bottom: 14px;
}
.hero-heading {
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 18px;
}
.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,.82);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-hero-primary {
  background: #fff;
  color: var(--primary);
  font-weight: 700;
  font-size: .95rem;
  padding: 13px 28px;
  border-radius: 50px;
  text-decoration: none;
  transition: background .2s, transform .15s;
  display: inline-block;
}
.btn-hero-primary:hover { background: #e8eef6; transform: translateY(-2px); color: var(--primary-dark); text-decoration: none; }
.btn-hero-secondary {
  background: transparent;
  color: #fff;
  font-weight: 600;
  font-size: .95rem;
  padding: 11px 26px;
  border: 2px solid rgba(255,255,255,.45);
  border-radius: 50px;
  text-decoration: none;
  transition: border-color .2s, background .2s, transform .15s;
  display: inline-block;
}
.btn-hero-secondary:hover { border-color: rgba(255,255,255,.9); background: rgba(255,255,255,.1); color: #fff; transform: translateY(-2px); text-decoration: none; }

/* === STATS BAR === */
.stats-bar { background: #fff; border-bottom: 1px solid var(--border); padding: 20px 0; }
.stat-item { text-align: center; padding: 8px 20px; }
.stat-number { font-size: 1.55rem; font-weight: 700; color: var(--primary); line-height: 1.1; }
.stat-label { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-top: 3px; }
@media (min-width: 768px) { .stat-item + .stat-item { border-left: 1px solid var(--border); } }

/* === SECTION LABEL === */
.section-label { text-align: center; margin-bottom: 28px; }
.section-label h2 { font-size: 1.3rem; font-weight: 600; color: var(--primary); margin: 0; }
.section-label p { color: var(--muted); font-size: .9rem; margin: 6px 0 0; }

/* === APP CARD FOOTER === */
.app-card-footer {
  padding: 10px 20px;
  font-size: .78rem;
  font-weight: 600;
  color: rgba(255,255,255,.65);
  border-top: 1px solid rgba(255,255,255,.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* === PAGE HEADER CTA BUTTON === */
.btn-page-header-cta {
  background: rgba(255,255,255,.12);
  border: 2px solid rgba(255,255,255,.35);
  color: #fff;
  font-size: .85rem;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 50px;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s, border-color .2s;
  flex-shrink: 0;
}
.btn-page-header-cta:hover { background: rgba(255,255,255,.22); border-color: rgba(255,255,255,.65); color: #fff; text-decoration: none; }

/* === INLINE QUOTE CTA (content pages) === */
.quote-cta {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 22px;
  margin-top: 28px;
}
.quote-cta strong { display: block; color: var(--primary); margin-bottom: 5px; }
.quote-cta p { font-size: .9rem; color: var(--muted); margin-bottom: 14px; }
.btn-quote {
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  font-size: .875rem;
  padding: 9px 22px;
  border-radius: 50px;
  text-decoration: none;
  display: inline-block;
  transition: background .2s, transform .15s;
}
.btn-quote:hover { background: var(--primary-dark); color: #fff; text-decoration: none; transform: translateY(-1px); }

/* === CTA BAR === */
.cta-bar {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 56px 0;
  text-align: center;
}
.cta-bar h2 { color: #fff; font-size: 1.7rem; font-weight: 700; margin-bottom: 10px; }
.cta-bar p { color: rgba(255,255,255,.82); font-size: 1rem; margin-bottom: 28px; max-width: 480px; margin-left: auto; margin-right: auto; }
.cta-bar-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; align-items: center; }
.btn-cta-primary {
  background: #fff;
  color: var(--primary);
  font-weight: 700;
  font-size: .95rem;
  padding: 13px 32px;
  border-radius: 50px;
  text-decoration: none;
  display: inline-block;
  transition: background .2s, transform .15s;
}
.btn-cta-primary:hover { background: #e8eef6; transform: translateY(-2px); color: var(--primary-dark); text-decoration: none; }
.cta-phone-link {
  color: rgba(255,255,255,.88);
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.cta-phone-link i { font-size: .8rem; }
.cta-phone-link:hover { color: #fff; text-decoration: none; }

/* === RESPONSIVE === */
/* === RESPONSIVE === */
@media (max-width: 767px) {
  .hero { padding: 48px 0 40px; }
  .hero-heading { font-size: 1.85rem; }
  .cta-bar { padding: 40px 0; }
  .cta-bar h2 { font-size: 1.4rem; }
}

@media (max-width: 767px) {
  body { padding-top: 56px; }
  .page-header { padding: 28px 0 22px; }
  .page-header h1 { font-size: 1.5rem; }
  .sub-banner .tagline { font-size: .875rem; }
  .home-info, .content-section, .thought-section { padding: 32px 0; }
  .thought-section h2 { font-size: 1.3rem; }
  .contact-form-section { padding: 40px 0; }
  .form-card { padding: 22px; }
}
