/* ============================================================
   LOAD IVYPRESTO (matches home/styles.css pattern; files in
   /wp-content/ctc-pages/global/fonts/)
   ============================================================ */
@font-face {
    font-family: 'IvyPresto';
    src: url('../../fonts/Ivy-Presto-Display-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'IvyPresto';
    src: url('../../fonts/Ivy-Presto-Display.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'IvyPresto';
    src: url('../../fonts/Ivy-Presto-Display-Semi-Bold.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/* ============================================================
   CTC BRAND FOUNDATION
   ============================================================ */
:root {
    --font-display: 'IvyPresto', Georgia, serif;
    --font-heading: 'sweet-sans-pro', sans-serif;  /* eyebrows, buttons, micro-labels */
    --font-body: europa, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --delft-blue: #223759;
    --paynes-gray: #566573;
    --dark-navy: #1c2541;
    --cta-pink: #B80077;
    --calm-teal: #306373;
    --calm-teal-light: #49afc1;
    --cream: #FDFBF7;
    --light-gray: #e9eef5;
    --body-text: #3a3a3a;
    --gold: #fdbd0d;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-family: var(--font-body);
    font-size: 19px;
    line-height: 1.6;
    color: var(--body-text);
    background-color: var(--cream);
}
h1, h2 {
    font-family: var(--font-display);  /* IvyPresto/Georgia elegant serif */
    color: var(--delft-blue);
    margin-bottom: 0.6em;
    line-height: 1.2;
    font-weight: 600;
}
h3, h4 {
    font-family: var(--font-heading);  /* sweet-sans-pro for subheads */
    color: var(--delft-blue);
    margin-bottom: 0.6em;
    line-height: 1.3;
    font-weight: 700;
}
h1 { font-size: 3.2rem; }
h2 { font-size: 2.4rem; }
h3 { font-size: 1.2rem; }
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }
    body { font-size: 17px; }
}
p { margin-bottom: 1em; }
a { color: var(--cta-pink); }
img { max-width: 100%; height: auto; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
@media (max-width: 768px) { .section { padding: 50px 0; } }

/* Buttons */
.btn {
    display: inline-block;
    padding: 18px 38px;
    background: var(--cta-pink);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 700;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}
.btn:hover { background: #9a0064; transform: translateY(-2px); }
.btn-wrap { margin: 28px 0 0; }
.btn-center { text-align: center; }

/* ============================================================
   1. HERO (2-column: copy left, Dayna portrait right)
   ============================================================ */
.section-partners-hero {
    background: var(--delft-blue);
    color: var(--cream);
    padding: 90px 0 80px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 60px;
    align-items: center;
}
@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; gap: 36px; text-align: center; }
}

.hero-text { max-width: 640px; }
@media (max-width: 900px) { .hero-text { margin: 0 auto; } }

.hero-prefix {
    color: var(--gold);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    margin-bottom: 24px;
}

.section-partners-hero h1 {
    /* !important needed to beat ctc-brand.css `.entry-content :where(h1)`
       rule which forces font-family: var(--font-heading) (sweet-sans-pro).
       Section-scoped selector + !important brings IvyPresto through. */
    font-family: var(--font-display) !important;
    color: var(--cream);
    font-size: 3rem;
    line-height: 1.15;
    margin-bottom: 28px;
    font-weight: 600;
}
.section-partners-pitch h2,
.section-partners-cta h2 {
    font-family: var(--font-display) !important;
}
.hero-accent {
    color: var(--gold);
}
@media (max-width: 768px) {
    .section-partners-hero h1 { font-size: 2rem; }
    .section-partners-hero { padding: 60px 0 50px; }
}

.hero-lede {
    color: rgba(253,251,247,0.92);
    font-size: 1.1rem;
    line-height: 1.65;
}
.hero-lede p { margin-bottom: 1em; }
.hero-lede em { color: var(--gold); font-style: italic; }
.hero-lede strong { color: var(--cream); font-weight: 700; }

.section-partners-hero .btn-hero {
    background: var(--gold);
    color: var(--delft-blue);
}
.section-partners-hero .btn-hero:hover {
    background: #f5b400;
    color: var(--delft-blue);
}

/* Portrait column */
.hero-portrait {
    position: relative;
    text-align: center;
}
.hero-portrait img {
    max-width: 100%;
    height: auto;
    max-height: 560px;
    width: auto;
    border-radius: 0;
    display: inline-block;
}
.hero-sig {
    margin-top: 14px;
    font-family: var(--font-heading);
    color: var(--cream);
    font-weight: 700;
    letter-spacing: 0.05em;
}
.hero-sig span {
    display: inline-block;
    color: rgba(253,251,247,0.6);
    font-weight: 400;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-top: 4px;
}
@media (max-width: 900px) {
    .hero-portrait img { max-height: 380px; }
}

/* ============================================================
   2. PRESS BAND (matches CTC huddle pattern: teal bg, full-color logos at 250px)
   ============================================================ */
.section-partners-press {
    background: var(--calm-teal);
    color: white;
    padding: 50px 0;
    text-align: center;
}
.press-label {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85);
    margin-bottom: 30px;
}
.press-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
}
.press-row img {
    width: 140px;
    max-width: 100%;
    height: auto;
    /* Source PNGs are white-on-transparent (matches CTC huddle pattern
       on teal bg). All 6 logos fit on one row at 140px on 1100px container. */
    opacity: 0.92;
}
@media (max-width: 768px) {
    .press-row { gap: 24px; }
    .press-row img { width: 110px; }
}

/* ============================================================
   2. PITCH (offer math + diff)
   ============================================================ */
.section-partners-pitch {
    background: var(--cream);
}

.pitch-block {
    margin-bottom: 80px;
}
.pitch-block:last-child { margin-bottom: 0; }

.pitch-block h2 {
    text-align: left;
    max-width: 760px;
}
.pitch-sub {
    font-size: 1.1rem;
    color: var(--paynes-gray);
    max-width: 760px;
    margin-bottom: 36px;
}
.pitch-note {
    font-size: 1rem;
    color: var(--paynes-gray);
    margin-top: 28px;
    max-width: 820px;
    line-height: 1.6;
}

/* --- Economics callout (the LTV math visual) --- */
.economics-card {
    background: white;
    border: 3px dashed var(--calm-teal);
    border-radius: 14px;
    padding: 40px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    max-width: 920px;
    margin: 0 auto;
}
.economics-cell {
    flex: 1;
    text-align: center;
    min-width: 0;
}
.economics-stat {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--delft-blue);
    line-height: 1.1;
    margin-bottom: 8px;
}
.economics-label {
    font-size: 0.9rem;
    color: var(--paynes-gray);
    line-height: 1.4;
}
.economics-arrow {
    color: var(--cta-pink);
    font-size: 1.6rem;
    font-weight: 700;
    flex: 0 0 auto;
}
@media (max-width: 768px) {
    .economics-card { flex-direction: column; gap: 8px; padding: 28px 20px; }
    .economics-arrow { transform: rotate(90deg); margin: 4px 0; }
    .economics-stat { font-size: 1.6rem; }
}

/* --- Differentiators grid (2x2) --- */
.diff-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 36px;
}
@media (max-width: 768px) {
    .diff-grid { grid-template-columns: 1fr; gap: 24px; }
}
.diff-block {
    background: white;
    border-left: 4px solid var(--cta-pink);
    padding: 26px 28px;
    border-radius: 0 8px 8px 0;
}
.diff-num {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--cta-pink);
    letter-spacing: 0.2em;
    margin-bottom: 10px;
}
.diff-block h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    line-height: 1.3;
}
.diff-block p {
    font-size: 1rem;
    color: var(--body-text);
    line-height: 1.6;
    margin-bottom: 0;
}

/* ============================================================
   3. APPLY
   ============================================================ */
.section-partners-cta {
    background: var(--dark-navy);
    color: var(--cream);
    text-align: center;
}
.apply-wrap { max-width: 720px; margin: 0 auto; }
.section-partners-cta h2 {
    color: var(--cream);
    font-size: 2.4rem;
}
.apply-lede {
    color: rgba(253,251,247,0.85);
    font-size: 1.1rem;
    margin-bottom: 36px;
}

.apply-mini-faq {
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 10px;
    padding: 22px 26px;
    margin-bottom: 36px;
    text-align: left;
}
.mini-faq-item {
    color: rgba(253,251,247,0.92);
    font-size: 0.98rem;
    line-height: 1.55;
}
.mini-faq-item strong {
    color: var(--gold);
    font-weight: 700;
    margin-right: 6px;
}

.section-partners-cta .btn-final {
    background: var(--cta-pink);
    color: white;
    padding: 20px 48px;
    font-size: 1rem;
}
.section-partners-cta .btn-final:hover {
    background: #d6008c;
    transform: translateY(-2px);
}

.apply-questions {
    margin-top: 26px;
    color: rgba(253,251,247,0.7);
    font-size: 0.95rem;
}
.apply-questions a { color: var(--gold); text-decoration: underline; }
