/* ============================================================
   CATALYZE ASSOCIATES — Shared Prototype Styles
   ============================================================ */

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

:root {
    --navy:         #1C3252;
    --navy-dark:    #122031;
    --navy-mid:     #24405F;
    --accent:       #C84B27;
    --accent-hover: #A83B1C;
    --light-bg:     #F7F5F2;
    --white:        #FFFFFF;
    --text:         #1A1A2E;
    --muted:        #6B7280;
    --border:       #E5E0DA;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--white);
}

h1, h2, h3, h4 { font-family: 'Playfair Display', serif; line-height: 1.2; }

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

.container { max-width: 1160px; margin: 0 auto; padding: 0 28px; }

/* ── Buttons ── */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: 2px solid transparent;
    letter-spacing: 0.02em;
}
.btn-primary   { background: var(--accent); color: white; border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn-outline   { background: transparent; color: white; border-color: rgba(255,255,255,0.65); }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: white; }
.btn-outline-dark { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline-dark:hover { background: var(--navy); color: white; }
.btn-white { background: white; color: var(--accent); border-color: white; }
.btn-white:hover { background: #FFF5F2; }
.btn-sm { padding: 10px 22px; font-size: 14px; }

/* ── Prototype Banner ── */
.proto-banner {
    background: #5B21B6;
    color: white;
    text-align: center;
    padding: 9px 24px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.02em;
}
.proto-banner span { opacity: 0.65; }

/* ══════════════════════════════
   NAVIGATION
══════════════════════════════ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: white;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 74px;
}
.nav-logo img { height: 44px; width: auto; }
.nav-links { display: flex; list-style: none; gap: 2px; align-items: center; }
.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 4px;
    transition: color 0.2s, background 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--accent); background: #fdf5f2; }
.nav-links .nav-cta a {
    background: var(--accent);
    color: white;
    padding: 9px 20px;
    margin-left: 8px;
}
.nav-links .nav-cta a:hover { background: var(--accent-hover); color: white; }

/* ══════════════════════════════
   PAGE HEADER BANNER (inner pages)
══════════════════════════════ */
.page-header {
    background: var(--navy);
    padding: 52px 0 44px;
    border-bottom: 3px solid var(--accent);
}
.page-header h1 {
    font-size: clamp(28px, 3.5vw, 46px);
    color: white;
    margin-bottom: 10px;
}
.page-header p {
    font-size: 17px;
    color: rgba(255,255,255,0.68);
    max-width: 620px;
    line-height: 1.7;
}
.breadcrumb {
    font-size: 12px;
    color: rgba(255,255,255,0.45);
    margin-bottom: 14px;
    letter-spacing: 0.03em;
}
.breadcrumb a { color: rgba(255,255,255,0.55); text-decoration: none; }
.breadcrumb a:hover { color: white; }

/* ══════════════════════════════
   SECTION COMMON
══════════════════════════════ */
.section { padding: 88px 0; }
.section-light { background: var(--light-bg); }
.section-navy  { background: var(--navy); }

.section-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 14px;
}
.section-title { font-size: clamp(26px, 3vw, 42px); color: var(--navy); margin-bottom: 20px; }
.section-title-white { color: white; }
.section-intro { font-size: 17px; color: var(--muted); max-width: 640px; line-height: 1.8; }

/* ══════════════════════════════
   THREE-CARD CTA ROW
══════════════════════════════ */
.cta-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.cta-card {
    background: var(--light-bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 36px 28px;
    text-align: center;
    transition: box-shadow 0.2s, transform 0.2s;
}
.cta-card:hover { box-shadow: 0 8px 32px rgba(28,50,82,0.10); transform: translateY(-3px); }
.cta-card h3 { font-family: 'Inter', sans-serif; font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.cta-card p { font-size: 14px; color: var(--muted); line-height: 1.7; margin-bottom: 24px; }

/* ══════════════════════════════
   CTA BANNER
══════════════════════════════ */
.cta-banner { background: var(--accent); padding: 80px 0; text-align: center; }
.cta-banner h2 { font-size: clamp(26px, 3vw, 42px); color: white; margin-bottom: 18px; }
.cta-banner p {
    font-size: 18px; color: rgba(255,255,255,0.85);
    margin-bottom: 36px; max-width: 540px;
    margin-left: auto; margin-right: auto; line-height: 1.7;
}

/* ══════════════════════════════
   FOOTER
══════════════════════════════ */
.site-footer { background: var(--navy-dark); padding: 64px 0 32px; }
.footer-top {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand img { height: 38px; margin-bottom: 18px; filter: brightness(0) invert(1); opacity: 0.85; }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,0.5); line-height: 1.8; max-width: 270px; }
.footer-col h4 {
    font-family: 'Inter', sans-serif;
    font-size: 11px; font-weight: 600;
    letter-spacing: 0.14em; text-transform: uppercase;
    color: rgba(255,255,255,0.38); margin-bottom: 18px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 14px; color: rgba(255,255,255,0.6); text-decoration: none; transition: color 0.2s; }
.footer-col ul li a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.35); }

/* ══════════════════════════════
   COMPARISON TABLE
══════════════════════════════ */
.compare-table { width: 100%; border-collapse: collapse; margin-top: 40px; font-size: 14px; }
.compare-table th {
    padding: 18px 20px;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: white;
    vertical-align: bottom;
    line-height: 1.4;
}
.compare-table th.col-label { background: transparent; }
.compare-table th.col-training { background: #8B6914; }
.compare-table th.col-coaching { background: var(--navy-mid); }
.compare-table th.col-catalyze { background: #2D6A2D; }
.compare-table td {
    padding: 16px 20px;
    border: 1px solid var(--border);
    vertical-align: top;
    line-height: 1.65;
}
.compare-table td.row-label {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    color: var(--navy);
    background: var(--light-bg);
    font-size: 13px;
    width: 22%;
}
.compare-table td.col-training  { background: #FFFBF0; width: 26%; }
.compare-table td.col-coaching  { background: #F8F9FF; width: 26%; }
.compare-table td.col-catalyze  { background: #F0FFF0; width: 26%; }
.compare-table tr:hover td { filter: brightness(0.97); }
.badge {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 3px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    margin-bottom: 6px;
}
.badge-high   { background: #D1FAE5; color: #065F46; }
.badge-low    { background: #FEE2E2; color: #991B1B; }
.badge-medium { background: #FEF3C7; color: #92400E; }
.badge-yes    { background: #D1FAE5; color: #065F46; }
.badge-no     { background: #FEE2E2; color: #991B1B; }

/* Results dropdown */
.nav-links .nav-dd { position: relative; }
.nav-links .nav-sub { position:absolute; top:calc(100% + 4px); left:0; min-width:172px; background:#fff; border:1px solid var(--border); border-radius:8px; box-shadow:0 10px 28px rgba(28,50,82,.14); padding:6px; margin:0; list-style:none; display:none; z-index:300; }
.nav-links .nav-dd:hover .nav-sub, .nav-links .nav-dd:focus-within .nav-sub { display:block; }
.nav-links .nav-sub li { display:block; }
.nav-links .nav-sub a { display:block; white-space:nowrap; }

/* ══════════════════════════════
   RESPONSIVE / MOBILE
══════════════════════════════ */
@media (max-width: 860px) {
  .nav-inner { flex-wrap: wrap; height: auto; padding: 12px 0; row-gap: 8px; }
  .nav-links { flex-wrap: wrap; gap: 2px 4px; }
  .nav-links a { padding: 7px 10px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px 36px; }
}
@media (max-width: 600px) {
  .nav-links a { font-size: 13px; padding: 6px 8px; }
  .cta-cards { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; text-align: left; }
}
