.ccb-page {
  --navy: #0b1f3f;
  --blue: #5babe0;
  --blue-2: #3e8dc4;
  --ink: #222222;
  --muted: #5d7089;
  --muted-2: #54647e;
  --border: #dfe7f0;
  --bg-light: #f4f8fc;
  --bg-input: #fbfcfe;
  --font-heading: var(--font-merriweather), Georgia, serif;
  --font-body: var(--font-inter), Arial, sans-serif;
  color: var(--ink);
  font-family: var(--font-body);
}

.ccb-page * { box-sizing: border-box; }

.ccb-page .inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 80px;
}

.ccb-page .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border: 0.2px solid var(--blue-2);
  background: rgba(62, 141, 196, 0.04);
  border-radius: 100px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--blue-2);
  margin-bottom: 20px;
}

.ccb-page .eyebrow.on-dark {
  border-color: rgba(91, 171, 224, 0.5);
  background: rgba(91, 171, 224, 0.08);
  color: var(--blue);
}

.ccb-page .eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 3px;
  background: currentColor;
  flex-shrink: 0;
}

.ccb-page h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 34px;
  line-height: 1.25;
  color: var(--navy);
  letter-spacing: -0.34px;
  margin: 0 0 12px;
}

.ccb-page .section-lede {
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
  max-width: 640px;
  margin: 0 0 32px;
}

.ccb-page .section-head { text-align: center; }
.ccb-page .section-head .eyebrow { display: inline-flex; }
.ccb-page .section-head .section-lede { margin-left: auto; margin-right: auto; text-align: center; }

.ccb-page section { padding: 88px 0; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  padding: 15px 26px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary { background: #fff; color: var(--navy); }
.btn-primary:hover { background: #e8f1f8; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--blue-2); }
.btn-outline-light { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.4); }
.btn-outline-light:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.7); }
.btn-outline-navy { background: transparent; color: var(--navy); border: 1px solid var(--border); }
.btn-outline-navy:hover { background: var(--bg-light); border-color: var(--blue-2); }

/* ---------- HERO ---------- */

.ccb-hero {
  position: relative;
  padding: 90px 0;
  color: #fff;
  overflow: hidden;
}

.ccb-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('/blog/assets/post-middle-school.jpg');
  background-size: cover;
  background-position: center 25%;
  opacity: 0.22;
}

.ccb-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(175deg, rgba(7,18,41,0.9) 0%, rgba(11,31,63,0.9) 55%, rgba(18,42,84,0.9) 100%);
}

.ccb-hero .inner { position: relative; z-index: 1; }

.ccb-hero-grid {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 48px;
  align-items: center;
}

.ccb-hero-grid > * {
  min-width: 0;
}

.ccb-hero h1 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 46px;
  line-height: 1.15;
  letter-spacing: -0.6px;
  margin: 0 0 20px;
  color: #fff;
}

.ccb-hero .hero-copy {
  font-size: 17.5px;
  line-height: 1.55;
  color: rgba(255,255,255,0.85);
  margin: 0 0 30px;
}

.ccb-hero .hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.ccb-hero-photo {
  border-radius: 18px;
  overflow: hidden;
  height: 340px;
  box-shadow: 0 24px 50px -16px rgba(0,0,0,0.4);
}

.ccb-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- CARD HOVER (generic) ---------- */

.ccb-card {
  background: var(--bg-light);
  border-radius: 16px;
  padding: 28px 26px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.ccb-card:hover {
  background: #fff;
  transform: translateY(-4px);
  box-shadow: 0 16px 30px -18px rgba(11,31,63,0.3);
}

.ccb-card h3, .ccb-card h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 8px;
}

.ccb-card p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
}

.ccb-card--dark {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
}

.ccb-card--dark:hover {
  background: rgba(255,255,255,0.16);
}

.ccb-card--dark h3, .ccb-card--dark h4 { color: #fff; }
.ccb-card--dark p { color: rgba(255,255,255,0.75); }

/* ---------- FAQ + CONTACT (shared pattern) ---------- */

.ccb-faq {
  background: linear-gradient(90deg, rgba(232, 241, 248, 0.45), rgba(232, 241, 248, 0.45)), #fff;
  padding: 100px 0;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 80px;
  align-items: start;
}

.faq-grid > * {
  min-width: 0;
}

.faq-grid h2, .faq-grid .section-lede { text-align: left; margin-left: 0; }

.faq-list { border-top: 1px solid var(--border); margin-top: 24px; }

.faq-item { border-bottom: 1px solid var(--border); padding: 22px 0; }

.faq-item .faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  color: var(--navy);
}

.faq-item .faq-toggle {
  position: relative;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-item .faq-toggle::before,
.faq-item .faq-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: #3e8dc4;
  transform: translate(-50%, -50%);
}

.faq-item .faq-toggle::before { width: 16px; height: 2px; }
.faq-item .faq-toggle::after { width: 2px; height: 16px; }
.faq-item.is-open .faq-toggle { transform: rotate(45deg); }

.faq-item .faq-answer {
  font-size: 16px;
  line-height: 1.4;
  color: #222;
  margin-top: 12px;
  max-width: 90%;
}

.faq-item:not(.is-open) .faq-answer { display: none; }

.faq-card {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 24px 50px -24px rgba(20, 40, 80, 0.25);
  padding: 40px;
}

.faq-card .eyebrow-label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  color: var(--blue-2);
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

.faq-card h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 26px;
  color: var(--navy);
  letter-spacing: -0.26px;
  margin: 0 0 8px;
}

.faq-card .form-sub { font-size: 16px; color: #222; margin: 0 0 24px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-row > * {
  min-width: 0;
}

.form-field label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  color: var(--navy);
  margin-bottom: 8px;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 13px 14px;
  font-size: 14.5px;
  color: var(--navy);
  font-family: var(--font-body);
}

.form-field textarea { resize: vertical; min-height: 90px; }
.form-field.full { grid-column: 1 / -1; }

.faq-card .btn-submit {
  width: 100%;
  margin: 24px 0 12px;
  background: var(--navy);
  color: #fff;
  border-radius: 999px;
  padding: 16px 24px;
  font-weight: 600;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 8px 20px -8px rgba(91, 171, 224, 0.7);
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.faq-card .btn-submit:hover { background: var(--blue-2); }

.faq-card .form-note { font-size: 13px; color: #5b6472; text-align: center; margin: 0; }

/* ---------- GENERIC GRIDS ---------- */

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

/* ---------- GENERIC GRIDS ---------- */

.grid-2 > * {
  min-width: 0;
}
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.grid-3 > * {
  min-width: 0;
}
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.grid-4 > * {
  min-width: 0;
}

.bg-white { background: #fff; }
.bg-light { background: var(--bg-light); }
.bg-navy-section { position: relative; color: #fff; overflow: hidden; }

.ccb-navy-bg {
  position: relative;
  color: #fff;
  overflow: hidden;
}

.ccb-navy-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--photo);
  background-size: cover;
  background-position: center 25%;
  opacity: 0.22;
}

.ccb-navy-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(175deg, rgba(7,18,41,0.9) 0%, rgba(11,31,63,0.9) 55%, rgba(18,42,84,0.9) 100%);
}

.ccb-navy-bg .inner { position: relative; z-index: 1; }
.ccb-navy-bg h2 { color: #fff; }
.ccb-navy-bg .section-lede { color: rgba(255,255,255,0.78); }

/* ---------- PRICE / STAT CARD ---------- */

.ccb-price-card {
  background: var(--navy);
  border-radius: 18px;
  padding: 36px;
  text-align: center;
  color: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.ccb-price-card:hover {
  background: var(--blue-2);
  transform: translateY(-4px);
  box-shadow: 0 20px 36px -18px rgba(11,31,63,0.4);
}

.ccb-price-card .price-num {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 34px;
  color: var(--blue);
  display: block;
  margin: 8px 0 14px;
}

.ccb-price-card h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 19px;
  margin: 0;
}

.ccb-price-card p {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  margin: 0;
}

/* ---------- CHECK LIST ---------- */

.ccb-checklist {
  background: var(--bg-light);
  border-radius: 18px;
  padding: 36px;
}

.ccb-checklist h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 21px;
  color: var(--navy);
  margin: 0 0 20px;
}

.ccb-checklist ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ccb-checklist li {
  display: flex;
  gap: 12px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
}

.ccb-checklist li .check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(62, 141, 196, 0.12);
  color: var(--blue-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  margin-top: 1px;
}

/* ---------- QUOTE CARD ---------- */

.ccb-quote-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 30px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.ccb-quote-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 36px -20px rgba(11,31,63,0.25);
  border-color: var(--blue-2);
}

.ccb-quote-card p.quote-text {
  font-family: var(--font-heading);
  font-size: 17px;
  line-height: 1.5;
  color: var(--navy);
  margin: 0 0 16px;
  font-style: italic;
}

.ccb-quote-card .quote-by {
  font-size: 14px;
  font-weight: 700;
  color: var(--blue-2);
}

/* ---------- FIT CTA BAND ---------- */

.ccb-fit-band {
  position: relative;
  overflow: hidden;
}

.ccb-fit-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--photo);
  background-size: cover;
  background-position: center 30%;
  opacity: 0.22;
}

.ccb-fit-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(175deg, rgba(7,18,41,0.9) 0%, rgba(11,31,63,0.9) 55%, rgba(18,42,84,0.9) 100%);
}

.ccb-fit-band .inner { position: relative; z-index: 1; }

.ccb-fit-card {
  background: var(--bg-light);
  border-radius: 20px;
  padding: 48px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.ccb-fit-card h2 { margin-bottom: 10px; }

.ccb-fit-card p {
  font-size: 15.5px;
  color: var(--ink);
  max-width: 480px;
  margin: 0;
}

.ccb-fit-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  flex-wrap: wrap;
}

.ccb-fit-actions .btn {
  text-align: center;
}

.ccb-fit-actions .btn-outline-navy { padding: 13px 24px; }

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .ccb-hero-grid { grid-template-columns: 1fr; }
  .ccb-hero-photo { height: 260px; }
  .faq-grid { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .ccb-fit-card { flex-direction: column; align-items: flex-start; }
  .ccb-fit-actions { align-items: stretch; }
  .ccb-page .inner { padding: 0 24px; }
}

@media (max-width: 480px) {
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .ccb-fit-card {
    padding: 32px 24px;
  }
}
