/* ============================================================
   Concussion CPR — site styles
   Design system: clinical, trustworthy, B2B (doctor-facing)
   Single CSS file shared by all pages.
   ============================================================ */

/* ---- Design tokens ---- */
:root {
  --navy:        #0b2545;   /* primary / authority */
  --navy-deep:   #071a33;
  --blue:        #1d6fb8;   /* accent / links */
  --blue-soft:   #eaf2fb;
  --teal:        #16a3a3;   /* secondary accent */
  --cta:         #f3a712;   /* CTA — warm, high-contrast */
  --cta-hover:   #d8910a;
  --ink:         #1a2230;   /* body text */
  --muted:       #5b6675;   /* secondary text */
  --line:        #e3e8ef;
  --bg:          #ffffff;
  --bg-alt:      #f6f8fb;
  --white:       #ffffff;
  --ok:          #1f9d57;
  --radius:      14px;
  --radius-sm:   8px;
  --shadow:      0 10px 30px rgba(11, 37, 69, 0.10);
  --shadow-sm:   0 4px 14px rgba(11, 37, 69, 0.08);
  --maxw:        1120px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  line-height: 1.6;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 800;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }

p { margin: 0 0 1rem; }

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

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

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

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  font-weight: 700;
  font-size: 1.02rem;
  padding: 15px 30px;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, background .15s ease, box-shadow .15s ease;
  text-align: center;
  line-height: 1.2;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }

.btn-cta {
  background: var(--cta);
  color: var(--navy-deep);
  box-shadow: 0 6px 18px rgba(243, 167, 18, 0.35);
}
.btn-cta:hover { background: var(--cta-hover); }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.55);
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); }

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }

.btn-lg { padding: 18px 40px; font-size: 1.12rem; }

/* ---- Header / nav ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--navy);
}
.brand:hover { text-decoration: none; }
.brand .mark {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: #fff;
  display: grid; place-items: center;
  font-size: 1.2rem;
}
.brand small { display:block; font-size:.62rem; font-weight:600; letter-spacing:.14em; color:var(--teal); text-transform:uppercase; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  color: var(--ink);
  font-weight: 600;
  font-size: .96rem;
}
.nav-links a:hover { color: var(--blue); text-decoration: none; }
.nav-cta { margin-left: 6px; }
.nav-toggle { display: none; background:none; border:0; font-size:1.6rem; color:var(--navy); cursor:pointer; }

/* ---- Hero ---- */
.hero {
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(29,111,184,0.35), transparent 60%),
    linear-gradient(160deg, var(--navy-deep), var(--navy));
  color: #eaf2fb;
  padding: 84px 0 92px;
}
.hero h1 { color: #fff; }
.hero .eyebrow {
  display:inline-block;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.22);
  color: #cfe2f6;
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 50px;
  margin-bottom: 22px;
}
.hero .lead { font-size: 1.22rem; color: #c7d6ea; max-width: 620px; }
.hero-actions { display:flex; gap:14px; flex-wrap:wrap; margin-top: 28px; }
.hero-grid { display:grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items:center; }
.hero-stat-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  padding: 28px;
}
.hero-stat-card .big { font-size: 3rem; font-weight: 800; color:#fff; line-height:1; }
.hero-stat-card .big span { color: var(--cta); }
.hero-stat-card hr { border:0; border-top:1px solid rgba(255,255,255,0.14); margin:20px 0; }
.hero-stat-card p { color:#c7d6ea; margin:0; }

/* ---- Trust strip ---- */
.trust-strip {
  background: var(--navy-deep);
  color: #9db4d0;
  padding: 16px 0;
  text-align:center;
  font-size:.92rem;
  letter-spacing:.04em;
}
.trust-strip strong { color:#fff; }

/* ---- Sections ---- */
.section { padding: 80px 0; }
.section.alt { background: var(--bg-alt); }
.section.navy { background: var(--navy); color:#dce7f4; }
.section.navy h2, .section.navy h3 { color:#fff; }
.section-head { max-width: 720px; margin: 0 auto 52px; text-align:center; }
.section-head .eyebrow {
  color: var(--teal); font-weight:700; letter-spacing:.12em; text-transform:uppercase; font-size:.82rem;
  display:block; margin-bottom:12px;
}
.section-head p { color: var(--muted); font-size:1.1rem; }

/* ---- Grid helpers ---- */
.grid { display:grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---- Cards ---- */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.card .ic {
  width: 52px; height: 52px; border-radius: 12px;
  background: var(--blue-soft); color: var(--blue);
  display:grid; place-items:center; font-size:1.5rem; margin-bottom:18px; font-weight:800;
}

/* step cards */
.step { position: relative; }
.step .num {
  position:absolute; top:-14px; left:24px;
  width:40px; height:40px; border-radius:50%;
  background: var(--cta); color: var(--navy-deep);
  display:grid; place-items:center; font-weight:800; box-shadow: var(--shadow-sm);
}
.step { padding-top: 38px; }

/* ---- Problem / solution split ---- */
.split { display:grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.panel { border-radius: var(--radius); padding: 32px; }
.panel.problem { background:#fbecec; border:1px solid #f3d2d2; }
.panel.problem h3 { color:#a02929; }
.panel.solution { background:#e9f6ee; border:1px solid #c7e8d3; }
.panel.solution h3 { color: var(--ok); }
.panel ul { margin:.5em 0 0; padding-left:1.1em; }
.panel li { margin-bottom:.5em; }

/* ---- ROI ---- */
.roi-table {
  width:100%; border-collapse: collapse; background:#fff;
  border:1px solid var(--line); border-radius: var(--radius); overflow:hidden;
}
.roi-table th, .roi-table td { padding:16px 20px; text-align:left; border-bottom:1px solid var(--line); }
.roi-table th { background: var(--blue-soft); color: var(--navy); font-weight:700; }
.roi-table tr:last-child td { border-bottom:0; }
.roi-table .total td { background:#f0faf3; font-weight:800; color: var(--navy); font-size:1.1rem; }
.disclaimer { font-size:.84rem; color:var(--muted); margin-top:14px; font-style:italic; }

/* ---- Testimonials ---- */
.quote {
  background:#fff; border:1px solid var(--line); border-radius:var(--radius);
  padding:30px; box-shadow:var(--shadow-sm); position:relative;
}
.quote::before {
  content:"\201C"; font-size:4rem; color:var(--blue-soft);
  position:absolute; top:-6px; left:18px; font-family:Georgia,serif; line-height:1;
}
.quote p { font-size:1.05rem; position:relative; z-index:1; }
.quote .who { display:flex; align-items:center; gap:12px; margin-top:18px; }
.quote .avatar {
  width:46px; height:46px; border-radius:50%;
  background:linear-gradient(135deg,var(--blue),var(--teal)); color:#fff;
  display:grid; place-items:center; font-weight:800;
}
.quote .who b { color:var(--navy); display:block; }
.quote .who span { color:var(--muted); font-size:.88rem; }
.placeholder-quote {
  border:2px dashed var(--blue);
  background: var(--blue-soft);
  color: var(--navy);
}
.placeholder-quote::before { content:""; }

.video-testimonial {
  background:#fff; border:1px solid var(--line); border-radius:var(--radius);
  padding:14px 14px 26px; box-shadow:var(--shadow-sm);
  display:flex; flex-direction:column;
}
.video-testimonial video {
  width:100%; border-radius:calc(var(--radius) - 6px);
  background:#000; aspect-ratio:16/9; object-fit:cover; display:block;
}
.video-testimonial blockquote {
  margin:22px 6px 0; padding:0; border:0;
  font-size:1.08rem; line-height:1.55; color:var(--navy); font-weight:600;
  position:relative;
}
.video-testimonial blockquote::before {
  content:"\201C"; font-size:3.4rem; color:var(--blue-soft);
  position:absolute; top:-22px; left:-6px; font-family:Georgia,serif; line-height:1;
}
.video-testimonial .who { display:flex; align-items:center; gap:12px; margin:20px 6px 0; }
.video-testimonial .avatar {
  width:46px; height:46px; border-radius:50%;
  background:linear-gradient(135deg,var(--blue),var(--teal)); color:#fff;
  display:grid; place-items:center; font-weight:800; flex-shrink:0;
}
.video-testimonial .who b { color:var(--navy); display:block; }
.video-testimonial .who span { color:var(--muted); font-size:.88rem; }

.video-feature {
  display:grid; grid-template-columns: 1.1fr 1fr; gap:34px; align-items:center;
  background:#fff; border:1px solid var(--line); border-radius:var(--radius);
  padding:22px; box-shadow:var(--shadow-sm); margin-bottom:36px;
}
.video-feature video {
  width:100%; border-radius:calc(var(--radius) - 8px);
  background:#000; aspect-ratio:16/9; object-fit:cover; display:block;
}
.video-feature h3 { font-size:1.5rem; color:var(--navy); margin:10px 0 12px; }
.video-feature blockquote {
  margin:16px 0 0; padding:14px 0 0; border:0; border-top:1px solid var(--line);
  font-size:1.12rem; line-height:1.55; color:var(--navy); font-weight:700; font-style:italic;
}
@media (max-width:780px){ .video-feature { grid-template-columns:1fr; } }

.portrait {
  width:100%; border-radius:var(--radius); display:block;
  box-shadow:var(--shadow-sm); border:1px solid var(--line); object-fit:cover;
}
.portrait-frame {
  background:#fff; padding:12px; border-radius:calc(var(--radius) + 4px);
  box-shadow:var(--shadow-sm); border:1px solid var(--line);
}
.portrait-frame img { width:100%; border-radius:var(--radius); display:block; }
.portrait-frame .cap { text-align:center; padding:14px 8px 6px; }
.portrait-frame .cap b { color:var(--navy); display:block; }
.portrait-frame .cap span { color:var(--muted); font-size:.88rem; }

.tag {
  display:inline-block; font-size:.72rem; font-weight:700; letter-spacing:.08em;
  text-transform:uppercase; color:var(--teal); margin-bottom:10px;
}

/* ---- Price card ---- */
.price-card {
  max-width: 560px; margin:0 auto; background:#fff; border:1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); overflow:hidden; text-align:center;
}
.price-card .top { background: var(--navy); color:#fff; padding:30px; }
.price-card .amount { font-size:3.2rem; font-weight:800; line-height:1; }
.price-card .amount small { font-size:1rem; font-weight:600; color:#9db4d0; display:block; margin-top:8px; }
.price-card .body { padding:30px; }
.price-card ul { list-style:none; padding:0; margin:0 0 24px; text-align:left; }
.price-card li { padding:10px 0 10px 32px; position:relative; border-bottom:1px solid var(--line); }
.price-card li::before {
  content:"\2713"; position:absolute; left:0; top:9px; color:var(--ok); font-weight:800;
  background:#e9f6ee; width:22px; height:22px; border-radius:50%; display:grid; place-items:center; font-size:.8rem;
}

/* ---- FAQ ---- */
.faq details {
  background:#fff; border:1px solid var(--line); border-radius:var(--radius-sm);
  margin-bottom:14px; padding:0 22px; box-shadow:var(--shadow-sm);
}
.faq summary {
  cursor:pointer; padding:20px 0; font-weight:700; color:var(--navy); font-size:1.08rem;
  list-style:none; display:flex; justify-content:space-between; align-items:center;
}
.faq summary::-webkit-details-marker { display:none; }
.faq summary::after { content:"+"; font-size:1.6rem; color:var(--blue); font-weight:400; }
.faq details[open] summary::after { content:"\2013"; }
.faq details[open] summary { border-bottom:1px solid var(--line); }
.faq .ans { padding:16px 0 22px; color:var(--muted); }

/* ---- CTA band ---- */
.cta-band {
  background:
    radial-gradient(900px 400px at 20% 120%, rgba(22,163,163,0.35), transparent 60%),
    linear-gradient(160deg, var(--navy), var(--navy-deep));
  color:#fff; text-align:center; padding:74px 0;
}
.cta-band h2 { color:#fff; }
.cta-band p { color:#c7d6ea; max-width:560px; margin:0 auto 26px; font-size:1.12rem; }

/* ---- Forms ---- */
.form-card {
  background:#fff; border:1px solid var(--line); border-radius:var(--radius);
  padding:34px; box-shadow:var(--shadow);
}
.field { margin-bottom:18px; }
.field label { display:block; font-weight:600; color:var(--navy); margin-bottom:6px; font-size:.95rem; }
.field input, .field select, .field textarea {
  width:100%; padding:13px 14px; border:1px solid var(--line); border-radius:var(--radius-sm);
  font-family:inherit; font-size:1rem; color:var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline:none; border-color:var(--blue); box-shadow:0 0 0 3px var(--blue-soft);
}

/* ---- Footer ---- */
.site-footer { background: var(--navy-deep); color:#9db4d0; padding:56px 0 28px; font-size:.92rem; }
.site-footer a { color:#cfe2f6; }
.footer-grid { display:grid; grid-template-columns:1.4fr 1fr 1fr; gap:32px; margin-bottom:36px; }
.footer-grid h4 { color:#fff; font-size:1rem; margin-bottom:14px; }
.footer-grid ul { list-style:none; padding:0; margin:0; }
.footer-grid li { margin-bottom:9px; }
.footer-bottom { border-top:1px solid rgba(255,255,255,0.12); padding-top:22px; display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; }

/* ---- Utility ---- */
.center { text-align:center; }
.mt-0 { margin-top:0; }
.mb-0 { margin-bottom:0; }
.lead { font-size:1.15rem; color:var(--muted); }
.eyebrow-inline { color:var(--teal); font-weight:700; letter-spacing:.1em; text-transform:uppercase; font-size:.82rem; }
.note-box {
  background:#fff8e6; border:1px solid #f3dca0; border-radius:var(--radius-sm);
  padding:16px 20px; color:#7a5b00; font-size:.92rem; margin:20px 0;
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .nav-links {
    display:none; position:absolute; top:74px; left:0; right:0;
    flex-direction:column; background:#fff; border-bottom:1px solid var(--line);
    padding:18px 24px; gap:16px; align-items:flex-start;
  }
  .nav-links.open { display:flex; }
  .nav-toggle { display:block; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding:56px 0; }
}
