/* ACI — Advanced Certification Institute
   Shared styles for ACLS Certification + Recertification landing pages.
   Brand: Roboto (headings 600/700) + Open Sans (body 400/500/600)
   Primary accent #13AFF0 · CTA #1721C6 / #1018A3 hover · Body #333 · Headings #0F0F0F
   Alt section #F8F9FB · Pill bg rgba(19,175,240,0.1) · Star #F59E0B
   Guarantee bg #F0FDF4 / border #86EFAC / text #166534
   Radii: 4px buttons (per spec), 6–8px cards, 10px feature icons
*/

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;600;700&family=Open+Sans:wght@400;500;600;700&display=swap');

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

:root {
  --c-primary: #13AFF0;
  --c-primary-tint: rgba(19, 175, 240, 0.10);
  --c-primary-tint-strong: rgba(19, 175, 240, 0.18);
  --c-cta: #1721C6;
  --c-cta-hover: #1018A3;
  --c-text: #333333;
  --c-text-soft: #6c6c6c;
  --c-text-faint: #9ca3af;
  --c-heading: #0F0F0F;
  --c-bg: #FFFFFF;
  --c-alt: #F8F9FB;
  --c-border: #e5e7eb;
  --c-border-soft: #f1f3f6;
  --c-star: #F59E0B;
  --c-success: #059669;
  --c-guar-bg: #F0FDF4;
  --c-guar-bd: #86EFAC;
  --c-guar-fg: #166534;
  --shadow-card: 0 1px 2px rgba(15, 15, 15, 0.04), 0 12px 28px rgba(15, 15, 15, 0.08);
  --shadow-cta: 0 2px 6px rgba(23, 33, 198, 0.25);
  --shadow-cta-hover: 0 6px 16px rgba(23, 33, 198, 0.32);
  --r-btn: 4px;
  --r-card: 8px;
  --r-card-soft: 6px;
  --r-icon: 10px;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--c-text);
  line-height: 1.6;
  background: #eef0f3; /* viewport gutter only — page itself is white */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }

/* ---------- Page shell ---------- */
.page {
  max-width: 1080px;
  margin: 0 auto;
  background: var(--c-bg);
  box-shadow: 0 0 0 1px rgba(15, 15, 15, 0.04);
}

/* ---------- Promo strip ---------- */
.promo-strip {
  background: var(--c-cta);
  color: #fff;
  text-align: center;
  padding: 11px 24px;
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2px;
}
.promo-strip .gift { margin-right: 6px; }
.promo-strip .promo-icon { vertical-align: -3px; margin-right: 8px; }
.promo-strip a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-left: 8px;
  font-weight: 600;
}
.promo-strip a:hover { text-decoration-thickness: 2px; }

/* ---------- Header ---------- */
.hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 40px;
  border-bottom: 1px solid var(--c-border);
}
.hdr-logo { display: inline-flex; align-items: center; text-decoration: none; }
.hdr-logo img { height: 38px; width: auto; }
.hdr-right { display: flex; align-items: center; gap: 22px; }
.hdr-nav { display: flex; gap: 22px; }
.hdr-nav a {
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--c-heading);
  text-decoration: none;
  transition: color .15s;
}
.hdr-nav a:hover { color: var(--c-cta); }
.hdr-phone {
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  color: var(--c-cta);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hdr-phone:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 48px;
  padding: 56px 40px 48px;
  align-items: start;
}
.hero-content { min-width: 0; }

.rating {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding: 6px 12px 6px 10px;
  background: #FFF8E6;
  border: 1px solid #FCE8B2;
  border-radius: 999px;
  white-space: nowrap;
  max-width: 100%;
}
.stars { display: inline-flex; gap: 3px; }
.stars svg { width: 14px; height: 14px; }
.rating-text {
  font-size: 13px;
  color: #6c4a00;
  font-weight: 600;
  letter-spacing: 0.1px;
}
.rating-text b { font-weight: 700; color: #0F0F0F; }

.hero h1 {
  font-family: 'Roboto', sans-serif;
  font-size: 40px;
  font-weight: 700;
  color: var(--c-heading);
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
  text-wrap: balance;
}
.hero-sub {
  font-size: 17px;
  color: var(--c-text);
  line-height: 1.6;
  margin-bottom: 22px;
  text-wrap: pretty;
  max-width: 56ch;
}

.badges { display: flex; flex-wrap: nowrap; gap: 6px; margin-bottom: 24px; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--c-primary-tint);
  color: var(--c-heading);
  font-family: 'Roboto', sans-serif;
  font-size: 11px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 20px;
  letter-spacing: 0.1px;
  white-space: nowrap;
  flex-shrink: 0;
}
.badge svg { flex-shrink: 0; }

/* Speed callout (recert page) */
.speed-box {
  background: #EEF6FE;
  border: 1px solid #c7e3f8;
  border-radius: var(--r-card);
  padding: 16px 18px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 24px;
}
.speed-box svg { flex-shrink: 0; margin-top: 2px; }
.speed-body { font-size: 14px; color: var(--c-text); line-height: 1.5; }
.speed-body strong {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  font-weight: 700;
  display: block;
  margin-bottom: 2px;
  color: var(--c-heading);
}

/* Hero image — real photo */
.hero-image {
  position: relative;
  border-radius: 12px;
  width: 100%;
  aspect-ratio: 560 / 320;
  overflow: hidden;
  background: #eef2f7;
  box-shadow: 0 1px 2px rgba(15,15,15,.04), 0 12px 28px rgba(15,15,15,.08);
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Legacy dashed placeholder (kept in case any reference remains) */
.hero-image-zone {
  position: relative;
  border: 2px dashed #c7d8f5;
  border-radius: 12px;
  background: linear-gradient(180deg, #fbfcff 0%, #f4f7ff 100%);
  width: 100%;
  aspect-ratio: 560 / 320;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  padding: 24px;
  overflow: hidden;
}
.hero-image-zone > * { position: relative; }
.hero-image-zone .zone-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: rgba(23, 33, 198, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.hero-image-zone .zone-label {
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--c-cta);
  letter-spacing: 0.2px;
}
.hero-image-zone .zone-spec {
  font-size: 12px;
  color: var(--c-text-soft);
  line-height: 1.55;
  max-width: 400px;
}
.hero-image-zone .zone-dim {
  position: absolute;
  top: 12px; right: 14px;
  font-family: 'Roboto Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  font-weight: 600;
  color: #6b7896;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid #d9e2f5;
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.4px;
}

/* ---------- Hero side card ---------- */
.hero-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-top: 3px solid var(--c-cta);
  border-radius: var(--r-card);
  padding: 28px 26px;
  box-shadow: var(--shadow-card);
  position: sticky;
  top: 16px;
}
.card-label {
  font-family: 'Roboto', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--c-text-soft);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 6px;
}
.card-price {
  font-family: 'Roboto', sans-serif;
  font-size: 46px;
  font-weight: 700;
  color: var(--c-heading);
  line-height: 1;
  margin-bottom: 4px;
  letter-spacing: -0.5px;
}
.card-value {
  font-size: 13px;
  color: var(--c-success);
  font-weight: 600;
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Money-back guarantee — positioned ABOVE primary CTA per spec */
.guarantee {
  background: var(--c-guar-bg);
  border: 1px solid var(--c-guar-bd);
  border-radius: var(--r-card-soft);
  padding: 13px 14px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 16px;
}
.guarantee svg { flex-shrink: 0; margin-top: 1px; }
.guarantee-body { font-size: 13px; color: var(--c-guar-fg); line-height: 1.5; }
.guarantee-body strong {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  display: block;
  margin-bottom: 2px;
  font-size: 13px;
}

/* CTA button — 4px radius per spec */
.cta {
  display: block;
  width: 100%;
  padding: 15px 20px;
  background: var(--c-cta);
  color: #fff;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: var(--r-btn);
  text-align: center;
  text-decoration: none;
  letter-spacing: 0.1px;
  box-shadow: var(--shadow-cta);
  transition: background .15s, transform .12s, box-shadow .15s;
}
.cta:hover { background: var(--c-cta-hover); box-shadow: var(--shadow-cta-hover); transform: translateY(-1px); }
.cta:active { transform: translateY(0); box-shadow: var(--shadow-cta); }
.cta:focus-visible { outline: 3px solid rgba(23, 33, 198, 0.35); outline-offset: 2px; }

.card-sub {
  text-align: center;
  font-size: 13px;
  color: var(--c-text-soft);
  margin-top: 12px;
}
.card-sub a { color: var(--c-cta); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.card-sub a:hover { color: var(--c-cta-hover); }

.card-micro {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--c-border);
}
.micro-stat { text-align: center; }
.micro-stat strong {
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--c-heading);
  display: block;
  line-height: 1.2;
}
.micro-stat span { font-size: 11px; color: var(--c-text-soft); }

/* ---------- Trust bar ---------- */
.trust-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  background: var(--c-alt);
}
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 26px 14px;
  text-align: center;
  border-right: 1px solid var(--c-border);
}
.trust-item:last-child { border-right: none; }
.trust-item svg { color: var(--c-cta); }
.trust-num {
  font-family: 'Roboto', sans-serif;
  font-size: 30px;
  font-weight: 700;
  color: var(--c-primary);
  line-height: 1;
  letter-spacing: -0.3px;
}
.trust-label { font-size: 12px; color: var(--c-text-soft); font-weight: 500; }

/* ---------- Sections ---------- */
.section { padding: 64px 40px; }
.section-alt { background: var(--c-alt); }
.section-hd {
  font-family: 'Roboto', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--c-heading);
  margin-bottom: 36px;
  letter-spacing: -0.3px;
  text-wrap: balance;
}
.section-hd span { color: var(--c-cta); }

/* ---------- Features grid ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 36px;
}
.feat { display: flex; gap: 16px; align-items: flex-start; }
.feat-icon {
  width: 44px;
  height: 44px;
  background: var(--c-primary-tint);
  border-radius: var(--r-icon);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.feat-body strong {
  display: block;
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--c-heading);
  margin-bottom: 4px;
}
.feat-body p { font-size: 13.5px; color: var(--c-text-soft); line-height: 1.5; }

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  padding: 8px 0 0;
}
.steps::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--c-cta) 0%, #c7d2fe 60%, var(--c-border) 100%);
  z-index: 0;
}
.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}
.step-circle {
  width: 48px;
  height: 48px;
  background: var(--c-cta);
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 16px;
  box-shadow: 0 0 0 4px var(--c-bg), 0 0 0 5px var(--c-border);
}
.section-alt .step-circle { box-shadow: 0 0 0 4px var(--c-alt), 0 0 0 5px var(--c-border); }
.step strong {
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--c-heading);
  margin-bottom: 4px;
}
.step p { font-size: 13px; color: var(--c-text-soft); max-width: 170px; line-height: 1.45; }

/* ---------- Comparison cards (recert) ---------- */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.compare-grid:last-child { margin-bottom: 0; }
.compare-card {
  border: 1px solid var(--c-border);
  border-radius: var(--r-icon);
  padding: 24px;
  text-align: center;
  background: #fff;
}
.compare-card.hl {
  border-color: var(--c-cta);
  background: #fafaff;
  box-shadow: 0 0 0 1px var(--c-cta), 0 6px 18px rgba(23, 33, 198, 0.08);
}
.compare-label {
  font-family: 'Roboto', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--c-text-soft);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.compare-val {
  font-family: 'Roboto', sans-serif;
  font-size: 30px;
  font-weight: 700;
  color: var(--c-text-soft);
  margin-bottom: 6px;
  letter-spacing: -0.4px;
}
.compare-card.hl .compare-val { color: var(--c-cta); }
.compare-sub { font-size: 12.5px; color: var(--c-text-soft); }

/* ---------- FAQ ---------- */
.faq details {
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
  margin-bottom: 10px;
  overflow: hidden;
  background: #fff;
  transition: box-shadow .15s, border-color .15s;
}
.faq details[open] {
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  border-color: #d9def5;
}
.faq summary {
  padding: 18px 22px;
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--c-heading);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  min-height: 56px;
  background: #fff;
  transition: background .15s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::marker { content: ''; }
.faq summary:hover { background: var(--c-alt); }
.faq summary:focus-visible { outline: 2px solid var(--c-cta); outline-offset: -2px; }
.faq .arrow { transition: transform .2s; flex-shrink: 0; margin-left: 12px; color: var(--c-text-soft); }
.faq details[open] .arrow { transform: rotate(180deg); color: var(--c-cta); }
.faq .ans { padding: 0 22px 18px; font-size: 14px; color: var(--c-text); line-height: 1.7; }
.faq .ans strong { color: var(--c-heading); font-weight: 700; }

/* ---------- Testimonials ---------- */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.testi {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-icon);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
}
.testi-quote {
  font-size: 14px;
  color: var(--c-text);
  line-height: 1.65;
  margin-bottom: 18px;
  flex: 1;
}
.testi-quote::before {
  content: '\201C';
  color: var(--c-cta);
  font-size: 32px;
  font-weight: 700;
  font-family: Georgia, serif;
  line-height: 0.8;
  display: block;
  margin-bottom: 6px;
}
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 40px;
  height: 40px;
  background: var(--c-primary-tint);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--c-cta);
  flex-shrink: 0;
}
.testi-info cite {
  font-size: 13.5px;
  font-style: normal;
  font-weight: 600;
  color: var(--c-heading);
  display: block;
  font-family: 'Roboto', sans-serif;
}
.testi-info .testi-role { font-size: 11.5px; color: var(--c-text-soft); font-weight: 500; }

/* ---------- Logos ---------- */
.logos-section {
  padding: 32px 40px;
  text-align: center;
  border-top: 1px solid var(--c-border);
}
.logos-label {
  font-family: 'Roboto', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--c-text-faint);
  text-transform: uppercase;
  letter-spacing: 1.6px;
  margin-bottom: 18px;
}
.logos {
  display: flex;
  gap: 32px 44px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1080px;
  margin: 0 auto;
}
.logo-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
}
.logo-item img {
  max-height: 44px;
  max-width: 150px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.72;
  transition: filter .2s ease, opacity .2s ease;
}
.logo-item img:hover { filter: grayscale(0%); opacity: 1; }

/* ---------- Accreditation ---------- */
.accred {
  padding: 18px 40px;
  text-align: center;
  font-size: 11.5px;
  color: var(--c-text-faint);
  line-height: 1.7;
  border-top: 1px solid var(--c-border-soft);
}

/* ---------- Bottom CTA ---------- */
.bottom-cta {
  padding: 64px 40px;
  text-align: center;
  background: var(--c-alt);
  border-top: 1px solid var(--c-border);
}
.bottom-cta h2 {
  font-family: 'Roboto', sans-serif;
  font-size: 30px;
  font-weight: 700;
  color: var(--c-heading);
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}
.bottom-cta .sub { font-size: 15px; color: var(--c-text-soft); margin-bottom: 22px; }
.bottom-cta .cta { max-width: 380px; margin: 0 auto 14px; }
.bottom-cross { font-size: 13.5px; color: var(--c-text-soft); }
.bottom-cross a { color: var(--c-cta); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.bottom-cross a:hover { color: var(--c-cta-hover); }

/* ---------- Footer ---------- */
.foot {
  padding: 28px 40px;
  text-align: center;
  font-size: 12px;
  color: var(--c-text-faint);
  border-top: 1px solid var(--c-border);
  background: #fff;
}
.foot a { color: var(--c-text-soft); text-decoration: none; margin: 0 10px; }
.foot a:hover { color: var(--c-cta); }

/* ---------- Mobile sticky CTA ---------- */
.sticky { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; gap: 28px; padding: 36px 24px 32px; }
  .hero-card { position: static; }
  .hero h1 { font-size: 30px; }
  .hero-sub { font-size: 16px; }
  .hdr { padding: 14px 20px; }
  .hdr-nav { display: none; }
  .promo-strip { font-size: 12px; padding: 9px 16px; }
  .section { padding: 44px 24px; }
  .section-hd { font-size: 22px; margin-bottom: 24px; }
  .features { grid-template-columns: 1fr; gap: 18px; }
  .steps { grid-template-columns: 1fr 1fr; gap: 24px; }
  .steps::before { display: none; }
  .step-circle { box-shadow: none; }
  .trust-bar { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: none; }
  .trust-item:nth-child(1), .trust-item:nth-child(2) { border-bottom: 1px solid var(--c-border); }
  .trust-item { padding: 18px 8px; }
  .trust-num { font-size: 26px; }
  .compare-grid { grid-template-columns: 1fr; gap: 12px; }
  .testimonials { grid-template-columns: 1fr; }
  .bottom-cta { padding: 44px 24px; }
  .logos-section { padding: 26px 20px; }
  .accred, .foot { padding: 18px 20px; }
  .hero-image, .hero-image-zone { aspect-ratio: 16/10; }
  body { padding-bottom: 76px; } /* room for sticky CTA */
  .sticky {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid var(--c-border);
    padding: 10px 16px;
    gap: 12px;
    align-items: center;
    z-index: 100;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
  }
  .sticky-info { display: flex; flex-direction: column; line-height: 1.15; }
  .sticky-price {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: var(--c-heading);
  }
  .sticky-guar { font-size: 11px; color: var(--c-guar-fg); font-weight: 600; }
  .sticky .cta { flex: 1; padding: 12px 16px; font-size: 15px; box-shadow: none; }
}

@media (max-width: 480px) {
  .card-micro { gap: 6px; }
  .micro-stat strong { font-size: 14px; }
  .badges { gap: 5px; flex-wrap: wrap; }
  .badge { font-size: 11px; padding: 6px 10px; }
  .hero h1 { font-size: 26px; }
  .card-price { font-size: 40px; }
  .bottom-cta h2 { font-size: 24px; }
}
