/* ============================================
   HOME PAGE CSS — 2nd Chance CMBC
   ============================================ */

/* ── HERO ── */
.hero { margin-top: var(--nav-h); position: relative; overflow: hidden; }
.hero-image-wrap { position: relative; width: 100%; aspect-ratio: 2400/600; min-height: 240px; overflow: hidden; }
.hero-image-wrap::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(4,7,16,.18) 0%, transparent 60%);
  pointer-events: none;
}
.hero-bg-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center center; display: block; }
.hero-overlay { position: absolute; inset: 0; display: flex; align-items: center; padding: 0 0 0 40px; max-width: 46%; }
.hero-left { display: flex; flex-direction: column; gap: 8px; padding-right: 16px; }
.hero-headline { font-size: clamp(36px, 5vw, 64px); font-weight: 900; color: var(--white); line-height: 1.05; text-transform: uppercase; letter-spacing: -.02em; text-shadow: 0 2px 20px rgba(0,0,0,.6); white-space: nowrap; }
.hero-sub { font-size: clamp(14px, 1.5vw, 16px); color: rgba(255,255,255,.85); line-height: 1.6; font-weight: 500; max-width: 340px; }
.hero-meta { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; padding-bottom: 20px; }
.hero-meta-row { font-size: clamp(15px, 1.5vw, 17px); color: #FFC645; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.hero-meta-row strong { color: var(--gold-lt); font-weight: 700; }

/* ── CTA STRIP ── */
.cta-strip { position: relative; z-index: 10; margin-top: -2px; }
.cta-grid { display: grid; grid-template-columns: repeat(3, 1fr) 280px; border-radius: 0; overflow: hidden; box-shadow: var(--shadow); }
.cta-panel {
  min-height: 72px; display: flex; align-items: center; justify-content: center;
  padding: 0 28px; font-size: 14px; font-weight: 800; letter-spacing: .09em;
  text-transform: uppercase; text-align: center;
  position: relative; overflow: hidden;
  background: var(--black); color: var(--white);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  border-right: 1px solid rgba(255,255,255,.06);
}
.cta-panel:last-child { border-right: none; }
.cta-panel::after { content: ''; position: absolute; bottom: 0; left: 0; height: 3px; width: 0; transition: width .32s ease; border-radius: 2px 2px 0 0; }
.cta-panel:hover { transform: translateY(-4px); }
.cta-panel:hover::after { width: 100%; }
.cta-panel:nth-child(1)::after { background: var(--gold-lt); }
.cta-panel:nth-child(1):hover { background: #0A0A0A; color: var(--gold-lt); box-shadow: 0 14px 32px rgba(255,198,69,.2); }
.cta-panel:nth-child(2)::after { background: var(--white); }
.cta-panel:nth-child(2):hover { background: #0A0A0A; color: var(--white); box-shadow: 0 14px 32px rgba(7,20,38,.5); }
.cta-panel:nth-child(3)::after { background: var(--red); }
.cta-panel:nth-child(3):hover { background: #0A0A0A; color: var(--red); box-shadow: 0 14px 32px rgba(196,30,30,.3); }
.cta-countdown {
  background: #0A0A0A;
  border-left: 1px solid rgba(255,255,255,.06);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 12px 20px; gap: 4px;
}
.cta-countdown-label { font-size: 9px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.4); }
.cta-countdown-units { display: flex; align-items: center; gap: 4px; }
.cta-countdown-unit { text-align: center; min-width: 38px; }
.cta-countdown-unit span { font-size: 22px; font-weight: 900; color: var(--gold-lt); display: block; line-height: 1; }
.cta-countdown-unit label { font-size: 8px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.3); display: block; margin-top: 2px; }
.cta-countdown-sep { font-size: 18px; font-weight: 900; color: var(--gold); margin-bottom: 10px; }

/* ── SHARED SECTION UTILITIES ── */
.section-title { color: var(--black); font-size: clamp(28px, 4vw, 48px); line-height: 1.05; letter-spacing: -.02em; font-weight: 900; }
.section-intro { color: rgba(10,10,10,0.55); font-size: 18px; line-height: 1.7; max-width: 640px; }

/* ── PATH SECTION ── */
.path-section { padding: 44px 0 36px; background: var(--white); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 16px; flex-wrap: wrap; }
.path-grid { display: grid; grid-template-columns: .95fr 1.1fr .95fr; gap: 22px; align-items: stretch; }
.path-card { position: relative; overflow: hidden; min-height: 360px; padding: 32px; border-radius: 28px; background: var(--white); border: 1px solid rgba(0,0,0,.07); box-shadow: var(--shadow-s); transition: .25s; display: flex; flex-direction: column; }
.path-card::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 8px; background: linear-gradient(90deg, var(--red), var(--gold-lt)); border-radius: 28px 28px 0 0; }
.path-card::after { content: attr(data-num); position: absolute; right: 16px; top: 14px; color: rgba(201,146,42,.1); font-size: 88px; line-height: 1; font-weight: 900; letter-spacing: -.08em; pointer-events: none; }
.path-card.featured { transform: translateY(-16px); background: linear-gradient(145deg, var(--black), #0A0A0A); color: var(--white); box-shadow: 0 32px 80px rgba(7,20,38,.28); }
.path-card:hover { transform: translateY(-8px); box-shadow: 0 28px 60px rgba(24,10,6,.22); }
.path-card.featured:hover { transform: translateY(-22px); box-shadow: 0 36px 80px rgba(7,20,38,.45); }
.path-label { font-size: 11px; font-weight: 900; letter-spacing: .17em; text-transform: uppercase; color: var(--red); position: relative; z-index: 1; }
.path-card.featured .path-label { color: var(--gold-lt); }
.path-card h3 { font-size: clamp(20px, 2vw, 26px); line-height: 1.1; letter-spacing: -.04em; font-weight: 900; color: var(--black); margin-top: 20px; position: relative; z-index: 1; }
.path-card.featured h3 { color: var(--white); }
.path-card > p { color: rgba(10,10,10,0.55); font-size: 15px; line-height: 1.75; flex: 1; margin-top: 14px; position: relative; z-index: 1; }
.path-card.featured > p { color: rgba(255,255,255,.72); }
.path-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; position: relative; z-index: 1; }
.mini-btn { min-height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; padding: 0 18px; font-size: 14px; font-weight: 800; transition: .2s; border: 2px solid transparent; width: 100%; text-align: center; }
.mini-red  { background: var(--red); color: var(--white); border-color: var(--red); }
.mini-red:hover  { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 10px 20px rgba(196,30,30,.28); }
.mini-gold { background: var(--gold-lt); color: var(--black); }
.mini-gold:hover { background: #ffd056; transform: translateY(-2px); box-shadow: 0 10px 20px rgba(255,198,69,.3); }
.mini-outline { border-color: rgba(255,255,255,.45); color: var(--white); }
.mini-outline:hover { background: rgba(255,255,255,.12); }

/* ── RESOURCES PREVIEW ── */
.resources-section { padding: 48px 0; background: var(--white); overflow: hidden; position: relative; }
.resources-section::before { content: ''; position: absolute; top: -80px; right: -100px; width: 420px; height: 420px; background: var(--gold-lt); border-radius: 50%; opacity: .06; pointer-events: none; }
.resources-layout { position: relative; z-index: 2; display: grid; grid-template-columns: .85fr 1.15fr; gap: 52px; align-items: center; }
.resource-callout { padding: 40px; border-radius: 32px; color: var(--white); background: linear-gradient(145deg, #0A0A0A, var(--red)); box-shadow: var(--shadow); }
.resource-callout h2 { color: var(--white); margin-bottom: 16px; }
.resource-callout p { color: rgba(255,255,255,.82); font-size: 17px; line-height: 1.75; margin-bottom: 28px; }
.resource-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.resource-tile { position: relative; padding: 22px 20px 22px 68px; min-height: 120px; border-radius: 20px; background: #fafafa; border: 1px solid rgba(0,0,0,.07); box-shadow: 0 8px 24px rgba(0,0,0,.04); transition: .2s; text-decoration: none; display: block; }
.resource-tile:hover { transform: translateY(-3px); border-color: var(--gold); box-shadow: 0 8px 28px rgba(201,146,42,.2); }
.resource-tile span { display: inline-flex; align-items: center; gap: 4px; transition: gap .2s; }
.resource-tile:hover span { gap: 8px; color: var(--red); }
.resource-num { position: absolute; left: 18px; top: 22px; width: 34px; height: 34px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--black); color: var(--gold-lt); font-size: 13px; font-weight: 900; }
.resource-tile h3 { color: var(--black); font-size: 15px; line-height: 1.2; font-weight: 800; letter-spacing: -.02em; }
.resource-tile p { margin: 6px 0 10px; color: rgba(10,10,10,0.55); font-size: 13px; line-height: 1.55; }
.resource-tile span { color: var(--red); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }

/* ── MISSION ── */
.mission-section { padding: 44px 0; color: var(--white); background: radial-gradient(circle at 20% 20%, rgba(255,198,69,.12), transparent 30%), linear-gradient(135deg, var(--black), #0A0A0A); }
.mission-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 52px; align-items: center; }
.mission-img-wrap { position: relative; border-radius: 24px; overflow: hidden; box-shadow: 0 32px 80px rgba(0,0,0,.5); }
.mission-img { width: 100%; height: 340px; object-fit: cover; object-position: center; display: block; filter: saturate(1.1); }
.mission-img-caption { position: absolute; bottom: 0; left: 0; right: 0; padding: 14px 20px; background: linear-gradient(to top, rgba(7,20,38,.9), transparent); color: rgba(255,255,255,.75); font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.mission-content .mission-title { font-size: clamp(26px, 3.5vw, 40px); font-weight: 800; color: var(--white); line-height: 1.25; letter-spacing: -.01em; margin-bottom: 4px; }
.mission-content > p { margin-top: 18px; color: rgba(255,255,255,.68); font-size: 16px; line-height: 1.8; }
.quote-block { margin-top: 24px; padding: 22px 26px; border-radius: 18px; background: rgba(255,255,255,.07); border-left: 5px solid var(--gold-lt); }
.quote-block p { font-size: 16px; line-height: 1.75; color: rgba(255,255,255,.85); font-weight: 500; font-style: italic; }
.quote-block cite { display: block; margin-top: 12px; color: var(--gold-lt); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; font-style: normal; }

/* ── CALENDAR ── */
.calendar-section { padding: 48px 0; background: var(--white); }
.event-card { overflow: hidden; border-radius: 32px; background: var(--white); box-shadow: var(--shadow); display: grid; grid-template-columns: .95fr 1.05fr; border: 1px solid rgba(0,0,0,.07); }
.event-info { padding: 48px; }
.event-list { margin: 24px 0 28px; display: flex; flex-direction: column; gap: 12px; }
.event-row { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: var(--white); }
.event-row b { min-width: 80px; color: var(--red); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 900; padding-top: 2px; flex-shrink: 0; }
.event-row span { color: var(--black); font-weight: 700; line-height: 1.45; font-size: 15px; }
.event-actions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; max-width: 520px; }
.btn-ev { display: inline-flex; align-items: center; justify-content: center; height: 48px; min-width: 160px; padding: 0 20px; border-radius: var(--radius-sm); font-size: 13px; font-weight: 800; transition: .2s; border: 2px solid transparent; white-space: nowrap; }
.btn-ev-red   { background: var(--red); color: var(--white); }
.btn-ev-red:hover   { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 10px 20px rgba(196,30,30,.28); }
.btn-ev-navy  { background: var(--black); color: var(--white); }
.btn-ev-navy:hover  { background: #1a1a1a; transform: translateY(-2px); box-shadow: 0 10px 20px rgba(7,20,38,.35); }
.btn-ev-gold  { background: var(--gold-lt); color: var(--black); }
.btn-ev-gold:hover  { background: #ffd056; transform: translateY(-2px); }
.btn-ev-outline-dark { background: transparent; color: var(--black); border: 2px solid rgba(0,0,0,0.2); }
.btn-ev-outline-dark:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.map-wrap { min-height: 100%; background: var(--black); }
.map-wrap iframe { width: 100%; height: 100%; min-height: 300px; border: none; display: block; }

/* ── FINAL CTA ── */
.final-cta { padding: 52px 28px; text-align: center; background: linear-gradient(135deg, var(--black) 0%, var(--black) 50%, var(--red) 100%); color: var(--white); overflow: hidden; position: relative; }
.final-cta::before { content: '2'; position: absolute; left: 3%; top: -20px; color: rgba(255,255,255,.04); font-size: 220px; line-height: 1; font-weight: 900; pointer-events: none; }
.final-cta .container { position: relative; z-index: 2; }
.final-cta h2 { color: var(--white); font-size: clamp(26px, 3vw, 38px); line-height: 1.1; letter-spacing: -.02em; font-weight: 900; text-transform: uppercase; }
.final-cta p { max-width: 520px; margin: 14px auto 28px; color: rgba(255,255,255,.82); font-size: 16px; line-height: 1.65; font-weight: 400; }

/* ── RESPONSIVE ── */
@media (max-width: 980px) {
  .path-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .path-card.featured { transform: none; }
  .path-card.featured:hover { transform: translateY(-8px); }
  .resources-layout { grid-template-columns: 1fr; }
  .mission-grid { grid-template-columns: 1fr; }
  .event-card { grid-template-columns: 1fr; }
  .map-wrap iframe { min-height: 300px; }
}
@media (max-width: 860px) {
  .cta-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-countdown { border-left: none; border-top: 1px solid rgba(255,255,255,.06); }
}
@media (max-width: 640px) {
  .hero-image-wrap { aspect-ratio: unset; height: auto; max-height: unset; min-height: unset; }
  .hero-bg-img { position: relative; inset: unset; height: 300px; object-position: right center; }
  .hero-overlay { position: relative; inset: unset; background: var(--black); padding: 24px 20px; max-width: 100%; }
  .hero-headline { font-size: 26px; }
  .hero-kicker { font-size: 9px; }
  .hero-sub { font-size: 14px; max-width: 100%; }
  .hero-meta-row { font-size: 12px; }
  .cta-grid { grid-template-columns: 1fr; }
  .cta-panel { min-height: 56px; font-size: 12px; }
  .cta-countdown { padding: 14px 16px; }
  .cta-countdown-unit span { font-size: 18px; }
  .resource-tiles { grid-template-columns: 1fr; }
  .event-card { grid-template-columns: 1fr; }
  .event-info { padding: 24px 20px; }
  .event-actions { grid-template-columns: 1fr; }
  .event-actions .btn-ev { width: 100%; }
  .path-grid { max-width: 100%; }
  .mini-btn { font-size: 13px; }
  .final-cta h2 { font-size: 26px; }
  .final-cta p { font-size: 15px; }
}
