/*
Theme Name: PreventCancer
Theme URI: https://preventcancer.crosscareindia.com
Description: PreventCancer — Prevention, Genomics, Nutrition & Expert Review. A CrossCareIndia specialist consultation service.
Author: CrossCareIndia
Version: 2.0.0
Text Domain: cancercare247
*/

/* =========================================
   GLOBAL RESET & BASE
========================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Bold red on white — minimal, clinical, authoritative. One accent
     colour used deliberately (red = urgency/attention on CTAs and key
     numbers), black for text, generous white space instead of tinted
     sections or gradients. */
  --cn-red:        #C8102E;
  --cn-red-dark:   #8F0B21;
  --cn-red-light:  #FDECEE;
  --cn-black:      #111111;
  --cn-ink:        #1A1A1A;
  --cn-muted:      #6B7280;
  --cn-border:     #E9E9E9;
  --cn-bg:         #FFFFFF;
  --cn-bg-tint:    #FAFAFA;
  --cn-radius:     4px;
  --cn-radius-lg:  6px;
  --cn-font:        'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --cn-font-display:'Roboto Slab', Georgia, serif;
  --cn-font-mono:   'IBM Plex Mono', 'SF Mono', monospace;
}

body {
  font-family: var(--cn-font);
  color: var(--cn-ink);
  background: var(--cn-bg);
  line-height: 1.7;
  font-size: 16px;
}

a { color: var(--cn-red); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--cn-font-display); font-weight: 600; line-height: 1.22; color: var(--cn-black); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--cn-red);
  outline-offset: 2px;
  border-radius: 4px;
}

.cn-skip-link {
  position: absolute; top: -60px; left: 12px;
  background: var(--cn-black); color: #fff !important;
  padding: 12px 20px; border-radius: 8px; font-size: 13px; font-weight: 700;
  z-index: 2000; transition: top 0.15s ease;
}
.cn-skip-link:focus { top: 12px; }

.cn-container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.cn-section { padding: 76px 0; }
.cn-section-tint { background: var(--cn-bg-tint); }
.cn-section-dark { background: var(--cn-black); color: #fff; }
.cn-section-dark .cn-muted { color: rgba(255,255,255,0.65); }

.cn-eyebrow {
  font-family: var(--cn-font-mono); font-size: 12px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--cn-red); font-weight: 600;
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px;
}
.cn-section-dark .cn-eyebrow { color: var(--cn-red); }
.cn-h2 { font-size: 32px; margin-bottom: 14px; letter-spacing: -0.01em; }
.cn-lead { font-size: 17.5px; color: var(--cn-muted); max-width: 660px; }
.cn-section-dark .cn-lead { color: rgba(255,255,255,0.75); }
.cn-center { text-align: center; margin-left: auto; margin-right: auto; }
.cn-muted { color: var(--cn-muted); }

/* Buttons — one bold red primary, everything else restrained */
.cn-btn-primary, .cn-btn-secondary, .cn-btn-ghost, .cn-btn-ghost-light, .cn-btn-primary-inverse {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 28px; border-radius: var(--cn-radius); font-weight: 700;
  font-size: 15px; border: 2px solid transparent; cursor: pointer;
  transition: all 0.15s ease; text-decoration: none !important;
}
.cn-btn-primary { background: var(--cn-red); color: #fff; }
.cn-btn-primary:hover { background: var(--cn-red-dark); transform: translateY(-1px); }
.cn-btn-primary-inverse { background: #fff; color: var(--cn-red); }
.cn-btn-primary-inverse:hover { background: var(--cn-red-light); transform: translateY(-1px); }
.cn-btn-secondary { background: var(--cn-black); color: #fff; }
.cn-btn-secondary:hover { background: #000; transform: translateY(-1px); }
.cn-btn-ghost { background: transparent; border-color: var(--cn-black); color: var(--cn-black); }
.cn-btn-ghost:hover { background: var(--cn-black); color: #fff; }
.cn-btn-ghost-light { background: transparent; border-color: rgba(0,0,0,0.2); color: var(--cn-black); }
.cn-btn-ghost-light:hover { border-color: var(--cn-black); }
.cn-section-dark .cn-btn-ghost-light, .cn-cta-band .cn-btn-ghost-light { border-color: rgba(255,255,255,0.4); color: #fff; }
.cn-section-dark .cn-btn-ghost-light:hover, .cn-cta-band .cn-btn-ghost-light:hover { background: rgba(255,255,255,0.12); border-color: #fff; }
.cn-btn-block { width: 100%; }
.cn-btn-sm { padding: 10px 18px; font-size: 13.5px; }

/* =========================================
   NAVBAR
========================================= */
.cn-navbar {
  position: sticky; top: 0; z-index: 500; background: #fff;
  border-bottom: 1px solid var(--cn-border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px; transition: box-shadow 0.2s ease;
}
.cn-navbar-scrolled { box-shadow: 0 4px 18px rgba(0,0,0,0.05); }
.cn-logo {
  font-family: var(--cn-font-display); font-weight: 700; font-size: 20px;
  color: var(--cn-black); display: flex; align-items: center; gap: 9px;
  letter-spacing: -0.01em;
}
.cn-logo .cn-logo-mark {
  width: 28px; height: 28px; border-radius: 6px; background: var(--cn-red);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-size: 17px; font-weight: 800; line-height: 1;
}
.cn-logo span { color: var(--cn-red); }

.cn-hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.cn-hamburger-line { width: 22px; height: 2px; background: var(--cn-black); border-radius: 2px; }
.cn-nav-backdrop { display: none; }

.cn-nav-links { display: flex; align-items: center; gap: 26px; }
.cn-nav-links a { color: var(--cn-ink); font-weight: 600; font-size: 14.5px; }
.cn-nav-links a.active, .cn-nav-links a:hover { color: var(--cn-red); text-decoration: none; }
.cn-nav-cta { background: var(--cn-red); color: #fff !important; padding: 10px 20px; border-radius: var(--cn-radius); }
.cn-nav-cta:hover { background: var(--cn-red-dark); color: #fff !important; }

@media (max-width: 900px) {
  .cn-hamburger { display: flex; }
  .cn-nav-links {
    display: none; position: fixed; top: 0; right: 0; height: 100vh; width: min(320px, 84vw);
    background: #fff; flex-direction: column; align-items: flex-start; gap: 4px;
    padding: 90px 26px 26px; z-index: 900; box-shadow: -8px 0 30px rgba(0,0,0,0.12); overflow-y: auto;
  }
  .cn-nav-links.open { display: flex; }
  .cn-nav-links li { width: 100%; }
  .cn-nav-links a { display: block; padding: 12px 0; width: 100%; border-bottom: 1px solid var(--cn-border); }
  .cn-nav-cta { text-align: center; margin-top: 10px; }
  .cn-nav-backdrop.open { display: block; position: fixed; inset: 0; background: rgba(0,0,0,0.45); z-index: 850; }
}

/* =========================================
   HERO — white, minimal, animated ECG line
========================================= */
.cn-hero {
  position: relative; overflow: hidden; padding: 88px 0 70px; text-align: center; background: #fff;
}
.cn-hero-inner { position: relative; z-index: 2; max-width: 800px; margin: 0 auto; }
.cn-hero h1 { font-size: 46px; line-height: 1.16; margin-bottom: 20px; letter-spacing: -0.015em; }
.cn-hero h1 em { color: var(--cn-red); font-style: normal; }
.cn-hero-sub { font-size: 18px; color: var(--cn-muted); max-width: 620px; margin: 0 auto 32px; }
.cn-hero-cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; justify-content: center; }
.cn-hero-trust { display: flex; flex-wrap: wrap; gap: 10px; font-size: 13.5px; color: var(--cn-muted); justify-content: center; }

/* Animated ECG / heartbeat line behind the hero content */
.cn-hero-ecg { position: absolute; top: 50%; left: 0; right: 0; transform: translateY(-50%); z-index: 1; opacity: 0.16; pointer-events: none; }
.cn-hero-ecg svg { width: 100%; height: 120px; display: block; }
.cn-ecg-path {
  fill: none; stroke: var(--cn-red); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1400; stroke-dashoffset: 1400;
  animation: cn-ecg-draw 3.6s linear infinite;
}
@keyframes cn-ecg-draw {
  0%   { stroke-dashoffset: 1400; }
  60%  { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -20; }
}
@media (prefers-reduced-motion: reduce) {
  .cn-ecg-path { animation: none; stroke-dashoffset: 0; }
}
@media (max-width: 860px) {
  .cn-hero h1 { font-size: 32px; }
  .cn-hero-ecg { opacity: 0.12; }
}

/* Small reusable heartbeat divider — used to separate sections with
   the same authoritative "vital signs" motif at low visual weight. */
.cn-ecg-divider { width: 100%; overflow: hidden; line-height: 0; }
.cn-ecg-divider svg { width: 100%; height: 40px; display: block; }
.cn-ecg-divider .cn-ecg-path { stroke-width: 2; }

/* =========================================
   PILLAR STRIP
========================================= */
.cn-pillars-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--cn-border); border-radius: var(--cn-radius-lg); overflow: hidden; }
.cn-pillar-cell { padding: 28px 20px; text-align: center; border-right: 1px solid var(--cn-border); background: #fff; }
.cn-pillar-cell:last-child { border-right: none; }
.cn-pillar-cell .cn-pillar-icon {
  width: 34px; height: 34px; border-radius: 50%; background: var(--cn-red-light); color: var(--cn-red);
  display: inline-flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 700; margin-bottom: 12px;
}
.cn-pillar-cell h5 { font-family: var(--cn-font-display); font-size: 15.5px; margin-bottom: 6px; }
.cn-pillar-cell p { font-size: 13px; color: var(--cn-muted); }
@media (max-width: 760px) {
  .cn-pillars-strip { grid-template-columns: repeat(2, 1fr); }
  .cn-pillar-cell { border-bottom: 1px solid var(--cn-border); }
}

/* =========================================
   CARD GRIDS
========================================= */
.cn-grid { display: grid; gap: 22px; }
.cn-grid-3 { grid-template-columns: repeat(3, 1fr); }
.cn-grid-4 { grid-template-columns: repeat(4, 1fr); }
.cn-grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .cn-grid-3, .cn-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cn-grid-3, .cn-grid-4, .cn-grid-2 { grid-template-columns: 1fr; } }

.cn-card { background: #fff; border: 1px solid var(--cn-border); border-radius: var(--cn-radius-lg); padding: 26px; transition: box-shadow 0.15s ease, transform 0.15s ease; }
.cn-card:hover { box-shadow: 0 10px 26px rgba(0,0,0,0.06); transform: translateY(-2px); }
.cn-card-icon { width: 44px; height: 44px; border-radius: 8px; background: var(--cn-red-light); color: var(--cn-red); display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 16px; }
.cn-card h4 { font-size: 17.5px; margin-bottom: 8px; }
.cn-card p { font-size: 14.5px; color: var(--cn-muted); }
.cn-card-tag { display: inline-block; font-family: var(--cn-font-mono); font-size: 11px; font-weight: 700; background: var(--cn-red-light); color: var(--cn-red-dark); padding: 3px 9px; border-radius: 4px; margin-bottom: 12px; letter-spacing: 0.03em; }

.cn-test-card { border-top: 3px solid var(--cn-red); }
.cn-test-card h4 { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.cn-test-card .cn-test-abbr { font-family: var(--cn-font-mono); color: var(--cn-red); font-size: 12px; font-weight: 600; }
.cn-test-card ul { margin-top: 12px; }
.cn-test-card li { font-size: 13.5px; color: var(--cn-muted); padding-left: 18px; position: relative; margin-bottom: 6px; }
.cn-test-card li::before { content: "—"; position: absolute; left: 0; color: var(--cn-red); font-weight: 700; }

/* How it works steps */
.cn-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: cn-step; }
@media (max-width: 900px) { .cn-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cn-steps { grid-template-columns: 1fr; } }
.cn-step { position: relative; padding-top: 8px; }
.cn-step-num {
  counter-increment: cn-step; width: 36px; height: 36px; border-radius: 50%;
  background: var(--cn-red); color: #fff; display: flex; align-items: center; justify-content: center;
  font-family: var(--cn-font-mono); font-weight: 700; margin-bottom: 14px;
}
.cn-step-num::before { content: counter(cn-step); }
.cn-step h4 { font-size: 16px; margin-bottom: 6px; }
.cn-step p { font-size: 13.5px; color: var(--cn-muted); }

/* =========================================
   PRICING
========================================= */
.cn-pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; max-width: 900px; margin: 0 auto; }
@media (max-width: 700px) { .cn-pricing-grid { grid-template-columns: 1fr; } }
.cn-price-card { background: #fff; border: 1px solid var(--cn-border); border-radius: 10px; padding: 34px; position: relative; display: flex; flex-direction: column; }
.cn-price-card.cn-price-featured { border: 2px solid var(--cn-red); box-shadow: 0 16px 34px rgba(200,16,46,0.10); }
.cn-price-badge { position: absolute; top: -13px; right: 24px; background: var(--cn-red); color: #fff; font-family: var(--cn-font-mono); font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: 999px; letter-spacing: 0.03em; }
.cn-price-name { font-size: 20px; margin-bottom: 5px; }
.cn-price-desc { font-size: 13.5px; color: var(--cn-muted); margin-bottom: 18px; }
.cn-price-amount { font-family: var(--cn-font-mono); font-size: 42px; font-weight: 700; color: var(--cn-black); margin-bottom: 4px; }
.cn-price-note { font-size: 12.5px; color: var(--cn-muted); margin-bottom: 20px; }
.cn-price-list { margin-bottom: 26px; flex-grow: 1; }
.cn-price-list li { font-size: 14px; padding: 8px 0 8px 22px; position: relative; border-bottom: 1px solid var(--cn-border); }
.cn-price-list li:last-child { border-bottom: none; }
.cn-price-list li::before { content: "—"; position: absolute; left: 0; color: var(--cn-red); font-weight: 700; }

/* =========================================
   TESTIMONIALS
========================================= */
.cn-testimonial { background: #fff; border: 1px solid var(--cn-border); border-radius: var(--cn-radius-lg); padding: 26px; }
.cn-testimonial p { font-style: italic; color: var(--cn-ink); margin-bottom: 16px; font-size: 15px; }
.cn-testimonial-author { display: flex; align-items: center; gap: 10px; }
.cn-testimonial-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--cn-red-light); color: var(--cn-red-dark); display: flex; align-items: center; justify-content: center; font-weight: 700; font-family: var(--cn-font-display); }
.cn-testimonial-name { font-weight: 700; font-size: 13.5px; }
.cn-testimonial-loc { font-size: 12px; color: var(--cn-muted); }

/* =========================================
   STAT ROW
========================================= */
.cn-stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; text-align: center; }
@media (max-width: 700px) { .cn-stat-row { grid-template-columns: repeat(2, 1fr); } }
.cn-stat-value { font-family: var(--cn-font-mono); font-size: 34px; font-weight: 700; color: var(--cn-red); }
.cn-stat-label { font-size: 13px; color: rgba(255,255,255,0.68); margin-top: 4px; }

/* =========================================
   FAQ
========================================= */
.cn-faq-item { border-bottom: 1px solid var(--cn-border); }
.cn-faq-q { width: 100%; text-align: left; background: none; border: none; cursor: pointer; padding: 18px 0; font-family: var(--cn-font-display); font-size: 16.5px; color: var(--cn-black); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.cn-faq-icon { font-size: 20px; color: var(--cn-red); transition: transform 0.15s ease; flex-shrink: 0; }
.cn-faq-item.open .cn-faq-icon { transform: rotate(45deg); }
.cn-faq-a { max-height: 0; overflow: hidden; transition: max-height 0.2s ease; font-size: 14.5px; color: var(--cn-muted); }
.cn-faq-item.open .cn-faq-a { max-height: 400px; padding-bottom: 18px; }

/* =========================================
   FORMS
========================================= */
.cn-field { margin-bottom: 16px; }
.cn-field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 6px; color: var(--cn-black); }
.cn-field input, .cn-field select, .cn-field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--cn-border); border-radius: var(--cn-radius);
  font-family: var(--cn-font); font-size: 14.5px; background: #fff; color: var(--cn-ink);
}
.cn-field input:focus, .cn-field select:focus, .cn-field textarea:focus { border-color: var(--cn-red); outline: none; }
.cn-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .cn-field-row { grid-template-columns: 1fr; } }
.cn-form-card { background: #fff; border: 1px solid var(--cn-border); border-radius: var(--cn-radius-lg); padding: 30px; }
.cn-form-feedback { font-size: 13.5px; margin-top: 12px; }
.cn-form-feedback.success { color: var(--cn-red); }
.cn-form-feedback.error { color: var(--cn-red-dark); }

/* =========================================
   CONTACT PAGE
========================================= */
.cn-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 860px) { .cn-contact-grid { grid-template-columns: 1fr; } }
.cn-contact-item { display: flex; gap: 14px; margin-bottom: 22px; }
.cn-contact-icon { width: 40px; height: 40px; border-radius: 8px; background: var(--cn-red-light); color: var(--cn-red); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; font-family: var(--cn-font-mono); flex-shrink: 0; }
.cn-contact-item h5 { font-size: 14.5px; margin-bottom: 3px; }
.cn-contact-item p, .cn-contact-item a { font-size: 14px; color: var(--cn-muted); }

/* =========================================
   CTA BAND
========================================= */
.cn-cta-band { background: var(--cn-red); color: #fff; border-radius: 12px; padding: 48px; text-align: center; }
.cn-cta-band h3 { font-size: 26px; margin-bottom: 10px; color: #fff; }
.cn-cta-band p { color: rgba(255,255,255,0.9); margin-bottom: 24px; max-width: 560px; margin-left: auto; margin-right: auto; }

/* =========================================
   FOOTER
========================================= */
.cn-footer { background: #fff; color: var(--cn-ink); padding: 56px 0 22px; border-top: 1px solid var(--cn-border); }
.cn-footer-inner { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.cn-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 36px; }
@media (max-width: 860px) { .cn-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cn-footer-grid { grid-template-columns: 1fr; } }
.cn-footer-brand .cn-logo { color: var(--cn-black); }
.cn-footer-tagline { font-size: 13.5px; margin-top: 12px; color: var(--cn-muted); line-height: 1.6; }
.cn-footer-col h5 { font-family: var(--cn-font); font-size: 12px; text-transform: uppercase; letter-spacing: 0.07em; color: var(--cn-red); margin-bottom: 14px; }
.cn-footer-col li { margin-bottom: 9px; }
.cn-footer-col a { color: var(--cn-muted); font-size: 13.5px; }
.cn-footer-col a:hover { color: var(--cn-black); }
.cn-footer-legal { border-top: 1px solid var(--cn-border); padding-top: 20px; font-size: 12px; color: var(--cn-muted); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.cn-footer-parent { font-size: 12.5px; color: var(--cn-muted); margin-top: 8px; }
.cn-footer-parent a { color: var(--cn-muted); text-decoration: underline; }

/* Sticky bar */
.cn-sticky-bar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 800; background: var(--cn-black); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 20px; box-shadow: 0 -6px 18px rgba(0,0,0,0.12); }
.cn-sticky-text { font-size: 13.5px; }
@media (max-width: 700px) { .cn-sticky-text { display: none; } }

/* WhatsApp float */
.cn-whatsapp-float { position: fixed; bottom: 82px; right: 20px; z-index: 810; width: 54px; height: 54px; border-radius: 50%; background: #25D366; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(0,0,0,0.2); }

/* Modal */
.cn-modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.55); z-index: 2000; align-items: center; justify-content: center; padding: 20px; }
.cn-modal-overlay.open { display: flex; }
.cn-modal { background: #fff; border-radius: 12px; padding: 34px; max-width: 480px; width: 100%; max-height: 90vh; overflow-y: auto; position: relative; }
.cn-modal-close { position: absolute; top: 16px; right: 16px; background: none; border: none; font-size: 22px; cursor: pointer; color: var(--cn-muted); }
.cn-modal h3 { margin-bottom: 8px; }
.cn-modal-sub { font-size: 13.5px; color: var(--cn-muted); margin-bottom: 20px; }
.cn-modal-fineprint { font-size: 11.5px; color: var(--cn-muted); margin-top: 14px; }

/* Reveal-on-scroll */
.cn-reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .cn-reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease, transform 0.5s ease; }
  .cn-reveal-visible { opacity: 1; transform: none; }
}

/* Generic interior page header */
.cn-page-header { background: #fff; border-bottom: 1px solid var(--cn-border); padding: 60px 0 44px; text-align: center; }
.cn-page-header h1 { font-size: 32px; margin-bottom: 10px; }
.cn-page-header p { color: var(--cn-muted); max-width: 640px; margin: 0 auto; }
.cn-breadcrumb { font-size: 12.5px; color: var(--cn-muted); margin-bottom: 14px; font-family: var(--cn-font-mono); }
.cn-breadcrumb a { color: var(--cn-muted); }

/* Prose */
.cn-prose { max-width: 760px; margin: 0 auto; }
.cn-prose h2 { font-size: 23px; margin: 32px 0 12px; }
.cn-prose h2:first-child { margin-top: 0; }
.cn-prose p { margin-bottom: 16px; color: var(--cn-ink); }
.cn-prose ul { margin: 0 0 16px 0; }
.cn-prose li { padding-left: 20px; position: relative; margin-bottom: 8px; }
.cn-prose li::before { content: "—"; position: absolute; left: 0; color: var(--cn-red); }

/* =========================================
   MEDIA HERO — TMTC-inspired full-bleed hero
   with background photo/video support + overlay
========================================= */
.cn-media-hero {
  position: relative; min-height: 620px; display: flex; align-items: center;
  overflow: hidden; background: var(--cn-black); color: #fff;
}
.cn-media-hero-bg { position: absolute; inset: 0; z-index: 1; }
.cn-media-hero-bg img, .cn-media-hero-bg video {
  width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.25) contrast(1.05);
}
.cn-media-hero-overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(100deg, rgba(17,17,17,0.92) 0%, rgba(17,17,17,0.72) 42%, rgba(200,16,46,0.38) 100%);
}
.cn-media-hero-ecg { position: absolute; bottom: 0; left: 0; right: 0; z-index: 3; opacity: 0.5; pointer-events: none; }
.cn-media-hero-ecg svg { width: 100%; height: 90px; display: block; }
.cn-media-hero-ecg .cn-ecg-path { stroke: #fff; }
.cn-media-hero-inner { position: relative; z-index: 4; max-width: 640px; padding: 80px 0; }
.cn-media-hero .cn-eyebrow { color: #fff; opacity: 0.85; }
.cn-media-hero h1 { color: #fff; font-size: 44px; line-height: 1.16; margin-bottom: 18px; letter-spacing: -0.015em; }
.cn-media-hero h1 em { color: var(--cn-red); font-style: normal; }
.cn-media-hero-sub { font-size: 18px; color: rgba(255,255,255,0.82); margin-bottom: 30px; max-width: 540px; }
.cn-media-hero-trust { display: flex; flex-wrap: wrap; gap: 10px; font-size: 13.5px; color: rgba(255,255,255,0.68); margin-top: 24px; }
@media (max-width: 860px) {
  .cn-media-hero { min-height: 540px; }
  .cn-media-hero h1 { font-size: 30px; }
  .cn-media-hero-inner { padding: 64px 0; }
}

/* =========================================
   STORY SPLIT — narrative section with photo
   or click-to-play video on one side
========================================= */
.cn-story-split { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
@media (max-width: 900px) { .cn-story-split { grid-template-columns: 1fr; gap: 32px; } }
.cn-story-split.cn-story-reverse .cn-story-media { order: 2; }
.cn-story-media { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 4/3; background: var(--cn-bg-tint); }
.cn-story-media img { width: 100%; height: 100%; object-fit: cover; }
.cn-story-media-caption {
  position: absolute; left: 14px; bottom: 14px; background: rgba(17,17,17,0.75); color: #fff;
  font-family: var(--cn-font-mono); font-size: 11px; padding: 5px 10px; border-radius: 4px; letter-spacing: 0.02em;
}
/* Click-to-play video treatment */
.cn-video-frame { position: relative; cursor: pointer; }
.cn-video-frame video { width: 100%; height: 100%; object-fit: cover; display: block; }
.cn-video-play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(17,17,17,0.28); transition: background 0.15s ease;
}
.cn-video-frame.cn-video-playing .cn-video-play { display: none; }
.cn-video-play-btn {
  width: 64px; height: 64px; border-radius: 50%; background: var(--cn-red); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 22px; box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  transition: transform 0.15s ease;
}
.cn-video-frame:hover .cn-video-play-btn { transform: scale(1.06); }
.cn-story-eyebrow { font-family: var(--cn-font-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cn-red); font-weight: 600; margin-bottom: 14px; }
.cn-story-split h2 { font-size: 28px; margin-bottom: 16px; }
.cn-story-split p { color: var(--cn-muted); margin-bottom: 14px; font-size: 15.5px; }
.cn-story-note { font-size: 12px; color: var(--cn-muted); font-style: italic; margin-top: 18px; border-top: 1px solid var(--cn-border); padding-top: 14px; }

/* =========================================
   CONNECTED JOURNEY TIMELINE — TMTC-style
   "your journey" strip with markers + photos
========================================= */
.cn-timeline { position: relative; }
.cn-timeline-track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; }
@media (max-width: 900px) { .cn-timeline-track { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cn-timeline-track { grid-template-columns: 1fr; } }
.cn-timeline-track::before {
  content: ""; position: absolute; top: 74px; left: 6%; right: 6%; height: 2px; background: var(--cn-border); z-index: 0;
}
@media (max-width: 900px) { .cn-timeline-track::before { display: none; } }
.cn-timeline-node { position: relative; z-index: 1; }
.cn-timeline-photo { border-radius: 10px; overflow: hidden; aspect-ratio: 16/10; background: var(--cn-bg-tint); margin-bottom: 16px; }
.cn-timeline-photo img { width: 100%; height: 100%; object-fit: cover; }
.cn-timeline-marker { display: inline-flex; align-items: center; gap: 8px; font-family: var(--cn-font-mono); font-size: 11.5px; color: var(--cn-red); font-weight: 700; letter-spacing: 0.04em; margin-bottom: 10px; text-transform: uppercase; }
.cn-timeline-marker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--cn-red); }
.cn-timeline-node h4 { font-size: 16px; margin-bottom: 6px; }
.cn-timeline-node p { font-size: 13.5px; color: var(--cn-muted); }

/* =========================================
   TRUST / CREDIBILITY STRIP — non-fabricated
   credibility markers (no invented press logos)
========================================= */
.cn-credibility-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 0; border: 1px solid var(--cn-border); border-radius: var(--cn-radius-lg); overflow: hidden; }
.cn-credibility-item { flex: 1 1 200px; text-align: center; padding: 24px 18px; border-right: 1px solid var(--cn-border); }
.cn-credibility-item:last-child { border-right: none; }
.cn-credibility-item strong { display: block; font-family: var(--cn-font-display); font-size: 15px; margin-bottom: 4px; }
.cn-credibility-item span { font-size: 12.5px; color: var(--cn-muted); }

/* Specialist / role cards — monogram avatars, not
   invented headshots of fictitious named doctors */
.cn-specialist-card { text-align: center; padding: 30px 20px; }
.cn-specialist-avatar {
  width: 64px; height: 64px; border-radius: 50%; background: var(--cn-red-light); color: var(--cn-red-dark);
  display: flex; align-items: center; justify-content: center; font-family: var(--cn-font-display); font-size: 22px;
  font-weight: 700; margin: 0 auto 16px;
}
.cn-specialist-card h4 { font-size: 15.5px; margin-bottom: 4px; }
.cn-specialist-role { font-family: var(--cn-font-mono); font-size: 11.5px; color: var(--cn-red); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 10px; }
.cn-specialist-card p { font-size: 13px; color: var(--cn-muted); }
