/* ====================================================
   RAPHAËL H COHEN — SPEAKER WEBSITE
   Design: Warm Editorial Premium
   Palette: Deep Indigo · Warm Yellow · Warm White · Slate
   ==================================================== */

/* === RESET & BASE === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

/* === LINK COLOR (contextual: indigo on light, gold on dark indigo) === */
a { color: var(--navy); }
a:hover { color: var(--navy-mid); }
.hero-section a, .hero-section a:hover,
.page-hero a, .page-hero a:hover,
.social-proof-section a, .social-proof-section a:hover,
.cta-section a, .cta-section a:hover,
.main-footer a, .main-footer a:hover,
.fw-testimonial a, .fw-testimonial a:hover {
    color: var(--gold);
}
/* Buttons and nav keep their own explicit styling, not the contextual link rule */
.btn, .nav-tabs a { color: inherit; }
.btn:hover { color: inherit; }

:root {
    /* ── Core Palette ── */
    --gold:          #FFD166;   /* warm yellow — energetic, warm */
    --gold-light:    #FFE08A;   /* lighter hover state */
    --gold-pale:     #FFF8E1;   /* very light warm tint for backgrounds */
    --charcoal:      #1C1C1E;   /* near-black, not harsh */
    --slate:         #3A3A4A;   /* body text */
    --slate-mid:     #6B6B7B;   /* secondary text */
    --slate-light:   #9A9AAA;   /* muted */
    --warm-white:    #FAFAF7;   /* page background */
    --white:         #FFFFFF;
    --border:        #E8E4DC;   /* warm grey border */
    --border-light:  #F0EDE6;

    /* ── Accent (used sparingly) ── */
    --navy:          #2D1B69;   /* deep indigo for hero/footer bg */
    --navy-mid:      #3D2A80;

    /* ── Spacing ── */
    --section-pad:   3.5rem 0;
    --container-max: 1180px;

    /* ── Typography ── */
    --font-sans:     'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-serif:    'Georgia', 'Times New Roman', serif;

    /* ── Shadows ── */
    --shadow-xs:  0 1px 3px rgba(0,0,0,.06);
    --shadow-sm:  0 2px 8px rgba(0,0,0,.08);
    --shadow-md:  0 8px 24px rgba(0,0,0,.10);
    --shadow-lg:  0 20px 48px rgba(0,0,0,.12);

    /* ── Transitions ── */
    --ease: all .25s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.7;
    color: var(--slate);
    background: var(--warm-white);
    -webkit-font-smoothing: antialiased;
}

/* === TYPOGRAPHY === */
h1,h2,h3,h4,h5,h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--charcoal);
    margin-bottom: .75rem;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.2rem; }
p  { margin-bottom: 1rem; }

.lead-text {
    font-size: 1.2rem;
    line-height: 1.85;
    color: var(--slate);
}

/* Gold underline accent on headings */
.accent-line {
    display: block;
    width: 48px;
    height: 3px;
    background: var(--navy);
    margin: 1rem 0 1.5rem;
    border-radius: 2px;
}
.accent-line.centered { margin: 1rem auto 1.5rem; }

/* Gold gradient text */
.gradient-text {
    color: var(--gold);
}

/* === LAYOUT === */
.content-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header { margin-bottom: 3rem; }
.section-header.centered { text-align: center; }

.section-label {
    display: inline-block;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--navy);
    margin-bottom: .6rem;
}

.section-title {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
    color: var(--charcoal);
}

/* === NAVIGATION === */
.main-nav {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-xs);
}

.nav-container {
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 72px;
    flex-wrap: nowrap;
    gap: 1rem;
}

.nav-logo { display: flex; flex-direction: column; white-space: nowrap; flex-shrink: 0; }

.logo-name {
    font-size: 1rem;
    font-weight: 800;
    color: var(--charcoal);
    letter-spacing: -.01em;
    white-space: nowrap;
}

.logo-subtitle {
    font-size: .7rem;
    font-weight: 600;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: .1em;
}

.nav-tabs {
    display: flex;
    list-style: none;
    gap: .1rem;
    align-items: center;
    flex-wrap: nowrap;
}

.nav-tabs a {
    display: block;
    padding: .5rem .6rem;
    font-size: .84rem;
    font-weight: 500;
    color: var(--slate);
    text-decoration: none;
    border-radius: .375rem;
    transition: var(--ease);
    white-space: nowrap;
}

.nav-tabs a:hover { color: var(--charcoal); background: var(--gold-pale); }
.nav-tabs a.active { color: var(--navy); font-weight: 700; }

.nav-tabs a.nav-cta {
    background: var(--gold);
    color: var(--charcoal);
    font-weight: 700;
    padding: .55rem 1.1rem;
    border-radius: .375rem;
    white-space: nowrap;
    margin-left: .3rem;
}
.nav-tabs a.nav-cta:hover {
    background: var(--gold-light);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: .5rem;
}
.mobile-toggle span { width: 24px; height: 2px; background: var(--charcoal); transition: var(--ease); }

/* === HERO === */
.hero-section {
    background: var(--navy);
    color: var(--white);
    padding: 3rem 0 2.5rem;
    position: relative;
    overflow: hidden;
}

/* Subtle texture overlay */
.hero-section::before {
    content: '';
    position: absolute; inset: 0;
    background-image: radial-gradient(circle at 70% 50%, rgba(255,209,102,.12) 0%, transparent 60%);
    pointer-events: none;
}

.hero-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 5rem;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    padding: .4rem 1rem;
    background: rgba(255,209,102,.2);
    border: 1px solid rgba(255,209,102,.4);
    border-radius: 2rem;
    font-size: .8rem;
    font-weight: 600;
    color: #FFD166;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: clamp(1.9rem, 3.4vw, 2.7rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 1.1rem;
}

.hero-title .gradient-text { color: #FFD166; }

.hero-lead {
    font-size: 1.05rem;
    line-height: 1.6;
    color: rgba(255,255,255,.85);
    margin-bottom: 1.5rem;
    max-width: 600px;
}

.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Hero image */
.hero-image { position: relative; }

.image-wrapper { position: relative; display: inline-block; }

.profile-image {
    width: 100%;
    max-width: 380px;
    border-radius: 1rem;
    box-shadow: 0 32px 64px rgba(0,0,0,.4);
    display: block;
    position: relative;
    z-index: 2;
}

.image-decoration {
    position: absolute;
    top: 16px; right: -16px;
    width: 100%; height: 100%;
    border: 2px solid rgba(255,209,102,.4);
    border-radius: 1rem;
    z-index: 1;
}

/* Marcelo quote in hero */
.hero-quote {
    margin-top: 2rem;
    padding: 1.25rem 1.5rem;
    background: rgba(255,255,255,.07);
    border-left: 3px solid #FFD166;
    border-radius: 0 .5rem .5rem 0;
}
.hero-quote p {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1rem;
    color: rgba(255,255,255,.9);
    margin-bottom: .5rem;
}
.hero-quote cite {
    font-size: .8rem;
    color: #FFD166;
    font-style: normal;
    font-weight: 600;
}

/* === BUTTONS === */
.btn {
    display: inline-block;
    padding: .85rem 2rem;
    font-size: .95rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: .375rem;
    transition: var(--ease);
    cursor: pointer;
    border: none;
    text-align: center;
    letter-spacing: .01em;
}

.btn-primary {
    background: var(--gold);
    color: var(--charcoal) !important;
}
.btn-primary:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: inherit !important;
    border: 2px solid rgba(255,255,255,.6);
}
.btn-secondary:hover {
    background: rgba(255,255,255,.1);
    border-color: var(--white);
}

/* On light backgrounds */
.btn-outline {
    background: transparent;
    color: var(--navy);
    border: 2px solid var(--navy);
}
.btn-outline:hover {
    background: var(--navy);
    color: var(--white);
}

.btn-large { padding: 1rem 2.5rem; font-size: 1.05rem; }

/* === STATS BAR === */
.stats-bar {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 2.5rem 0;
}

.stats-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    text-align: center;
}

.stat-item { padding: .75rem; }

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1;
    margin-bottom: .35rem;
}

.stat-label {
    font-size: .8rem;
    font-weight: 600;
    color: var(--slate-mid);
    text-transform: uppercase;
    letter-spacing: .06em;
}

/* === CONTENT SECTIONS === */
.overview-section,
.frameworks-section,
.topics-preview,
.clients-section,
.content-section,
.unique-section,
.ideal-for-section,
.social-proof-section {
    padding: var(--section-pad);
}

.overview-section { background: var(--warm-white); }

.overview-content {
    max-width: 860px;
    margin: 0 auto;
}
.overview-content p {
    font-size: 1.1rem;
    line-height: 1.85;
    color: var(--slate);
    margin-bottom: 1.5rem;
}

/* === FRAMEWORKS GRID === */
.frameworks-section { background: var(--navy); }

.frameworks-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
}

.framework-card {
    background: var(--white);
    border-radius: .75rem;
    padding: 2.25rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--ease);
}
.framework-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold);
}

.framework-header { margin-bottom: 1.25rem; }

.framework-logo {
    width: 100px;
    height: auto;
    margin-bottom: .75rem;
    border-radius: .375rem;
}

.framework-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: .5rem;
}

.framework-badge {
    display: inline-block;
    padding: .3rem .8rem;
    background: var(--gold-pale);
    color: var(--gold);
    border: 1px solid rgba(255,209,102,.3);
    font-size: .72rem;
    font-weight: 700;
    border-radius: 2rem;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.framework-link {
    color: var(--navy);
    text-decoration: none;
    font-weight: 700;
    font-size: .9rem;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    transition: var(--ease);
    margin-top: 1rem;
}
.framework-link:hover { gap: .7rem; }

/* === TOPICS PREVIEW === */
.topics-preview { background: var(--warm-white); }

.topics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.topic-preview-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: .75rem;
    padding: 1.75rem;
    transition: var(--ease);
}
.topic-preview-card:hover {
    border-color: var(--gold);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.topic-number {
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(45,27,105,.08);
    color: var(--navy);
    border-radius: .5rem;
    font-size: 1rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: .75rem;
    border: 1px solid rgba(45,27,105,.18);
}

.topic-preview-card h3 { font-size: 1.1rem; margin-bottom: .6rem; }
.topic-preview-card p { color: var(--slate-mid); margin-bottom: .75rem; font-size: .95rem; }

.topic-link {
    color: var(--navy);
    text-decoration: none;
    font-weight: 700;
    font-size: .875rem;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    transition: var(--ease);
}
.topic-link:hover { gap: .7rem; }

.topics-cta { text-align: center; margin-top: 2rem; }

/* === SOCIAL PROOF / TESTIMONIALS === */
.social-proof-section { background: var(--gold-pale); }
.hero-section .section-label,
.page-hero .section-label,
.cta-section .section-label { color: var(--gold); }
.social-proof-section .section-label { color: var(--navy); }
.social-proof-section .section-title { color: var(--charcoal); }
.frameworks-section .section-label { color: var(--gold); }
.frameworks-section .section-title { color: var(--white); }

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

.testimonial-card {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: .75rem;
    padding: 2rem;
    position: relative;
}

.quote-mark {
    font-family: var(--font-serif);
    font-size: 5rem;
    color: var(--gold);
    opacity: .4;
    line-height: .8;
    margin-bottom: .5rem;
}

.testimonial-text {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-style: italic;
    color: rgba(255,255,255,.9);
    line-height: 1.75;
    margin-bottom: 1.25rem;
}

.testimonial-author strong { color: var(--white); display: block; }
.testimonial-author span { font-size: .85rem; color: rgba(255,255,255,.55); }

/* === CLIENTS === */
.clients-section { background: var(--white); text-align: center; }

.clients-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1.5rem 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.client-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--slate-light);
    transition: var(--ease);
    letter-spacing: .02em;
}
.client-name:hover { color: var(--gold); }

/* === CTA SECTION === */
.cta-section {
    background: var(--navy);
    color: var(--white);
    padding: 3rem 0;
    text-align: center;
}

.cta-container { max-width: 760px; margin: 0 auto; padding: 0 2rem; }

.cta-content h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1rem;
}
.cta-content p { font-size: 1.1rem; margin-bottom: 2rem; color: rgba(255,255,255,.8); }

.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* === PAGE HERO (inner pages) === */
.page-hero {
    background: var(--navy);
    color: var(--white);
    padding: 2.5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(circle at 50% 100%, rgba(255,209,102,.1) 0%, transparent 60%);
    pointer-events: none;
}

.page-label {
    display: inline-block;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: #FFD166;
    margin-bottom: .75rem;
}

.page-title {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
}

.page-subtitle {
    font-size: 1rem;
    line-height: 1.5;
    color: rgba(255,255,255,.8);
    max-width: 760px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* === SPEAKING TOPICS PAGE === */
.topics-section { padding: var(--section-pad); }

.track-accordion {
    margin-bottom: 1rem;
    border-radius: .625rem;
    overflow: hidden;
    border: 1px solid var(--border);
}

.track-header {
    background: var(--navy);
    color: var(--white);
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    position: relative;
}
.track-header h2 { color: var(--white); font-size: 1.1rem; margin: 0 0 .2rem; }
.track-header p { color: rgba(255,255,255,.7); font-size: .85rem; margin: 0; flex: 1; }
.track-chevron { font-size: .9rem; margin-left: auto; padding-top: .15rem; min-width: 1rem; text-align: right; color: #FFD166; }
.track-content { padding: 1rem; background: var(--warm-white); }

.topic-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: .625rem;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: var(--ease);
}
.topic-card:hover { box-shadow: var(--shadow-sm); }

.topic-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem 1.5rem;
    background: var(--white);
    cursor: pointer;
    transition: var(--ease);
}
.topic-header:hover { background: var(--gold-pale); }

.topic-num {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    background: rgba(45,27,105,.07);
    color: var(--navy);
    border-radius: .5rem;
    font-size: 1.1rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(45,27,105,.18);
}

.topic-header h3 { flex: 1; font-size: 1.1rem; margin: 0; color: var(--charcoal); }

.topic-toggle {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    background: var(--gold-pale);
    border: 1px solid rgba(255,209,102,.3);
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--ease);
    color: var(--navy);
}

.topic-body { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.topic-body.active { max-height: 3000px; }
.topic-body > div { padding: 1.75rem; }

.topic-intro {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--slate);
    margin-bottom: 1.75rem;
}

.topic-details-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.topic-detail h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: .75rem;
}

.topic-detail ul { list-style: none; padding: 0; }
.topic-detail li {
    padding: .4rem 0 .4rem 1.5rem;
    position: relative;
    color: var(--slate);
    font-size: .95rem;
}
.topic-detail li::before { content: '→'; position: absolute; left: 0; color: var(--gold); font-weight: 700; }

/* === APPROACH PAGE === */
.approach-intro { max-width: 860px; margin: 0 auto 3rem; text-align: center; }

.style-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.1rem;
    margin-bottom: 2.5rem;
}

.style-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: .75rem;
    padding: 1.25rem;
    transition: var(--ease);
}
.style-card:hover { border-color: var(--gold); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.style-icon { font-size: 1.6rem; margin-bottom: .4rem; }
.style-card h3 { font-size: 1.02rem; margin-bottom: .35rem; }
.style-card p { color: var(--slate-mid); margin: 0; font-size: .88rem; line-height:1.5; }

.unique-section { background: var(--gold-pale); }

.unique-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.unique-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: .75rem;
    padding: 1.75rem;
    transition: var(--ease);
}
.unique-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.unique-card.highlight { border: 2px solid var(--gold); }

.unique-number {
    width: 2.25rem;
    height: 2.25rem;
    background: var(--gold);
    color: var(--white);
    border-radius: .375rem;
    font-size: 1rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: .75rem;
}

.unique-card h3 { font-size: 1.1rem; margin-bottom: .6rem; }
.unique-card p { color: var(--slate-mid); margin-bottom: .6rem; font-size: .95rem; }

.ideal-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.ideal-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: .625rem;
    padding: 1.25rem;
    text-align: center;
    transition: var(--ease);
}
.ideal-card:hover { border-color: var(--gold); box-shadow: var(--shadow-sm); }
.ideal-card h3 { font-size: .95rem; margin-bottom: .4rem; }
.ideal-card p { font-size: .85rem; color: var(--slate-mid); margin: 0; }

.difference-section { background: var(--warm-white); }

.difference-box {
    max-width: 860px;
    margin: 0 auto;
    background: var(--white);
    border-radius: .75rem;
    padding: 3rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    border-top: 4px solid var(--navy);
}
.difference-box h2 { text-align: center; margin-bottom: 2rem; }

.difference-content { display: flex; flex-direction: column; gap: 1.5rem; }

.difference-item {
    display: grid;
    grid-template-columns: auto 1fr auto auto 1fr;
    gap: 1rem;
    align-items: center;
    padding: 1.25rem;
    background: var(--warm-white);
    border-radius: .5rem;
    border: 1px solid var(--border-light);
}

.diff-label { font-size: .78rem; font-weight: 700; color: var(--slate-mid); text-transform: uppercase; letter-spacing: .06em; }
.diff-text { font-size: .95rem; color: var(--slate); }
.diff-arrow { font-size: 1.25rem; color: var(--gold); font-weight: 700; }
.difference-conclusion { text-align: center; font-size: 1.3rem; font-weight: 800; color: var(--gold); margin-top: 2rem; margin-bottom: 0; }

/* === CREDENTIALS PAGE === */
.credentials-highlight { margin-bottom: 4rem; }

.cred-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.cred-badge {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: .625rem;
    padding: 1.5rem;
    text-align: center;
    transition: var(--ease);
}
.cred-badge:hover { border-color: var(--gold); box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.cred-icon { font-size: 2rem; margin-bottom: .6rem; }
.cred-badge h3 { font-size: .95rem; font-weight: 700; margin-bottom: .4rem; }
.cred-badge p { font-size: .82rem; color: var(--slate-mid); margin: 0; }

.section-block { margin-bottom: 4rem; }

.section-block h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    padding-bottom: .75rem;
    border-bottom: 2px solid var(--gold);
    color: var(--charcoal);
}

.section-intro { font-size: 1.05rem; color: var(--slate-mid); margin-bottom: 2rem; }

.background-content { display: grid; gap: 1.5rem; }

.background-item {
    background: var(--warm-white);
    border-left: 3px solid var(--gold);
    border-radius: 0 .5rem .5rem 0;
    padding: 1.75rem;
}
.background-item h3 { font-size: 1.2rem; margin-bottom: .75rem; }
.background-item ul { list-style: none; padding: 0; }
.background-item li { padding: .4rem 0 .4rem 1.5rem; position: relative; }
.background-item li::before { content: '▸'; position: absolute; left: 0; color: var(--gold); font-weight: 700; }

.publications-list { display: flex; flex-direction: column; gap: 1.25rem; }

.pub-item {
    background: var(--warm-white);
    border-radius: .625rem;
    padding: 1.5rem;
    border-left: 3px solid var(--border);
}
.pub-item.featured { border-left-color: var(--gold); background: var(--gold-pale); }

.pub-type {
    display: inline-block;
    padding: .2rem .7rem;
    background: var(--gold);
    color: var(--white);
    font-size: .72rem;
    font-weight: 700;
    border-radius: 2rem;
    text-transform: uppercase;
    margin-bottom: .6rem;
}
.pub-item h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.pub-item p { color: var(--slate-mid); margin: 0; font-size: .9rem; }

.frameworks-section h3 { font-size: 1.3rem; margin: 2rem 0 1rem; color: var(--gold); }

.framework-list { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }

.framework-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: var(--warm-white);
    border-radius: .625rem;
    padding: 1.25rem;
    border: 1px solid var(--border);
}
.fw-logo { width: 72px; height: 40px; object-fit: contain; border-radius: .375rem; }
.fw-content h4 { font-size: 1.05rem; margin-bottom: .4rem; }
.fw-content p { color: var(--slate-mid); margin: 0; font-size: .9rem; }

/* === TESTIMONIALS PAGE === */
.testimonials-grid-full {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
}

.testimonial-card-light {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: .75rem;
    padding: 2rem;
    transition: var(--ease);
}
.testimonial-card-light:hover { box-shadow: var(--shadow-md); border-color: var(--gold); }

.testimonial-card-light .quote-mark { color: var(--gold); opacity: .3; }
.testimonial-card-light .testimonial-text { color: var(--slate); }
.testimonial-card-light .testimonial-author strong { color: var(--charcoal); }
.testimonial-card-light .testimonial-author span { color: var(--slate-mid); }

/* === BIO PAGE === */
.bio-section { padding: var(--section-pad); }

.bio-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 4rem;
    align-items: start;
}

.bio-content p { font-size: 1.05rem; line-height: 1.85; color: var(--slate); margin-bottom: 1.25rem; }

.bio-sidebar { position: sticky; top: 100px; }

.bio-photo {
    width: 100%;
    border-radius: .75rem;
    box-shadow: var(--shadow-lg);
    margin-bottom: 1.5rem;
}

.pull-quote {
    background: var(--gold-pale);
    border-left: 3px solid var(--gold);
    border-radius: 0 .5rem .5rem 0;
    padding: 1.5rem;
    margin: 2rem 0;
}
.pull-quote p {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.1rem;
    color: var(--charcoal);
    margin-bottom: .5rem;
}
.pull-quote cite { font-size: .82rem; color: var(--gold); font-style: normal; font-weight: 700; }

/* === CONTACT PAGE === */
.contact-section { padding: var(--section-pad); }

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info-col h2 { font-size: 1.8rem; margin-bottom: 1rem; }

.contact-methods { margin: 2rem 0; display: flex; flex-direction: column; gap: 1.25rem; }

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: var(--warm-white);
    border-radius: .625rem;
    padding: 1.25rem;
    border: 1px solid var(--border);
}

.method-icon {
    flex-shrink: 0;
    width: 2.75rem;
    height: 2.75rem;
    background: var(--gold);
    color: var(--white);
    border-radius: .5rem;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.method-content h4 { font-size: 1rem; margin-bottom: .35rem; }
.method-content a { color: var(--navy); text-decoration: none; }
.method-content a:hover { text-decoration: underline; }

.inquiry-info {
    background: var(--warm-white);
    border-radius: .625rem;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border: 1px solid var(--border);
}
.inquiry-info h3 { font-size: 1.05rem; margin-bottom: .75rem; }
.inquiry-info ul { list-style: none; padding: 0; }
.inquiry-info li { padding: .4rem 0 .4rem 1.5rem; position: relative; }
.inquiry-info li::before { content: '✓'; position: absolute; left: 0; color: var(--gold); font-weight: 700; }

.response-info {
    background: var(--gold);
    color: var(--white);
    border-radius: .5rem;
    padding: .875rem 1.25rem;
    font-size: .9rem;
}

.contact-form-col {
    background: var(--white);
    border-radius: .75rem;
    padding: 2.5rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }

.form-group { display: flex; flex-direction: column; }

.form-group label { font-size: .9rem; font-weight: 600; color: var(--slate); margin-bottom: .4rem; }

.form-group input,
.form-group select,
.form-group textarea {
    padding: .8rem 1rem;
    border: 1px solid var(--border);
    border-radius: .375rem;
    font-size: .95rem;
    font-family: inherit;
    background: var(--warm-white);
    transition: var(--ease);
    color: var(--charcoal);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(255,209,102,.12);
    background: var(--white);
}

/* === FOOTER === */
.main-footer {
    background: var(--navy);
    color: rgba(255,255,255,.6);
    padding: 4rem 0 2rem;
}

.footer-container { max-width: var(--container-max); margin: 0 auto; padding: 0 2rem; }

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 { color: var(--white); font-size: 1rem; margin-bottom: .875rem; }
.footer-col p { font-size: .875rem; line-height: 1.6; }
.footer-tagline { font-size: .8rem; color: rgba(255,255,255,.4); margin-top: .4rem; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: .6rem; }
.footer-col a { color: rgba(255,255,255,.6); text-decoration: none; font-size: .875rem; transition: var(--ease); }
.footer-col a:hover { color: #FFD166; }

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,.1);
    color: rgba(255,255,255,.35);
    font-size: .8rem;
}

/* === VIDEOS PAGE === */
.video-section { margin-bottom: 4rem; }
.video-section h2 { font-size: 1.8rem; margin-bottom: 1.5rem; padding-bottom: .75rem; border-bottom: 2px solid var(--gold); }

.video-placeholder-large {
    background: var(--warm-white);
    border: 2px dashed var(--border);
    border-radius: .75rem;
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-content { text-align: center; color: var(--slate-mid); }

.play-icon {
    width: 4rem; height: 4rem;
    background: var(--gold);
    color: var(--white);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
}

.videos-grid,
.testimonial-videos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.video-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: .625rem;
    overflow: hidden;
    transition: var(--ease);
}
.video-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.video-placeholder-small {
    background: var(--warm-white);
    aspect-ratio: 16/9;
    display: flex; align-items: center; justify-content: center;
}

.play-icon-small {
    width: 2.5rem; height: 2.5rem;
    background: var(--gold);
    color: var(--white);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: .9rem;
}

.video-info { padding: 1.25rem; }
.video-info h4 { font-size: 1rem; margin-bottom: .4rem; }
.video-info p { font-size: .875rem; color: var(--slate-mid); margin: 0; }

/* === RESOURCES === */
.resources-section { background: var(--gold-pale); padding: var(--section-pad); }
.resources-section h2 { text-align: center; font-size: 1.8rem; margin-bottom: 3rem; }

.resources-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

.resource-box {
    background: var(--white);
    border-radius: .75rem;
    padding: 2rem;
    text-align: center;
    transition: var(--ease);
    border: 1px solid var(--border);
}
.resource-box:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--gold); }
.resource-icon { font-size: 2.5rem; margin-bottom: .75rem; }
.resource-box h3 { font-size: 1.2rem; margin-bottom: .75rem; }
.resource-box p { color: var(--slate-mid); margin-bottom: 1.25rem; font-size: .95rem; }

/* === BOOK COVERS STRIP === */
.book-covers-strip {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: flex-end;
    margin-top: 2rem;
}
.book-cover-img {
    height: 120px;
    width: auto;
    border-radius: .375rem;
    box-shadow: var(--shadow-md);
    transition: var(--ease);
}
.book-cover-img:hover { transform: translateY(-4px) scale(1.04); box-shadow: var(--shadow-lg); }


/* === BACK TO TOP BUTTON === */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3rem;
    height: 3rem;
    background: var(--gold);
    color: var(--charcoal);
    border: none;
    border-radius: 50%;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 4px 16px rgba(0,0,0,.3);
    opacity: 0;
    transform: translateY(12px);
    transition: var(--ease);
    text-decoration: none;
}
.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}
.back-to-top:hover {
    background: var(--gold-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,.35);
}


/* === SPEAKING TRACKS PREVIEW (Home) === */
.tracks-preview-section {
    padding: var(--section-pad);
    background: var(--warm-white);
}

.section-intro-text {
    font-size: 1rem;
    color: var(--slate-mid);
    max-width: 640px;
    margin: .5rem auto 0;
}

.tracks-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin: 2.5rem 0 2rem;
}

.track-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: .75rem;
    padding: 1.5rem;
    text-decoration: none;
    color: inherit;
    transition: var(--ease);
    display: block;
}
.track-card:hover {
    border-color: var(--navy);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}
.track-icon {
    font-size: 1.75rem;
    margin-bottom: .6rem;
    display: block;
}
.track-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: .4rem;
}
.track-card p {
    font-size: .88rem;
    color: var(--slate-mid);
    margin: 0;
    line-height: 1.55;
}

/* === CLIENT LOGOS === */
.client-logo-img {
    height: 42px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    filter: none;
    opacity: 1;
    transition: var(--ease);
}
.client-logo-img:hover {
    transform: scale(1.06);
}
.clients-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1.75rem 3rem;
    max-width: 960px;
    margin: 0 auto;
}

/* === FRAMEWORK BADGE (fix for light bg) === */
.framework-badge {
    display: inline-block;
    padding: .3rem .8rem;
    background: rgba(45,27,105,.08);
    color: var(--navy);
    border: 1px solid rgba(45,27,105,.2);
    font-size: .72rem;
    font-weight: 700;
    border-radius: 2rem;
    text-transform: uppercase;
    letter-spacing: .06em;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .hero-content,
    .frameworks-grid,
    .topics-grid,
    .contact-layout,
    .bio-layout { grid-template-columns: 1fr; }
    .tracks-grid { grid-template-columns: repeat(2, 1fr); }

    .stats-container { grid-template-columns: repeat(3, 1fr); }
    .cred-grid { grid-template-columns: repeat(3, 1fr); }
    .ideal-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-tabs { display: none; }
    .nav-tabs.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: var(--white);
        padding: 1rem;
        box-shadow: var(--shadow-lg);
        border-top: 1px solid var(--border);
    }
    .mobile-toggle { display: flex; }

    .stats-container { grid-template-columns: repeat(2, 1fr); }
    .style-grid,
    .unique-grid,
    .ideal-grid,
    .cred-grid,
    .videos-grid,
    .testimonial-videos-grid,
    .testimonials-grid-full,
    .resources-grid,
    .tracks-grid { grid-template-columns: 1fr; }

    .topic-details-grid { grid-template-columns: 1fr; }

    .difference-item { grid-template-columns: 1fr; text-align: center; }
    .diff-arrow { transform: rotate(90deg); }

    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
}

/* === ANIMATIONS === */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}
.fade-in-up { animation: fadeInUp .6s ease-out; }

/* === PRINT === */
@media print {
    .main-nav, .cta-section, .main-footer { display: none; }
}

/* Footer text-based badge (replaces missing partner logo images) */
.footer-text-badge {
    display: inline-block;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    color: var(--gold);
    border: 1px solid var(--gold);
    border-radius: 6px;
    padding: 0.35rem 0.9rem;
}
.footer-text-badge:hover { background: var(--gold); color: var(--charcoal); }

/* Inline verified-testimonial pull quote (Approach, Bio pages) */
.inline-testimonial {
    margin: 2.5rem auto 0;
    max-width: 720px;
    text-align: center;
    padding: 2rem 2.5rem;
    border-left: 4px solid var(--gold);
    background: var(--gold-pale);
    border-radius: 0 12px 12px 0;
}
.inline-testimonial p { font-size: 1.15rem; font-style: italic; color: var(--charcoal); margin-bottom: 0.75rem; }
.inline-testimonial cite { font-style: normal; font-weight: 600; color: var(--navy); font-size: 0.95rem; }

/* Hero pull-quote strip (Olarreaga, Home page) */
.hero-pull-quote { padding: 2.5rem 0 0.5rem; background: var(--white); }

/* Framework card pain-point stat callout */
.framework-stat {
    font-weight: 700;
    color: var(--navy);
    font-size: 0.95rem;
    margin: 0.5rem 0 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
}

/* Track navigation strip (Speaking Topics page) */
.track-nav-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,220px));
    justify-content: center;
    gap: 0.6rem;
    margin-top: 1.75rem;
}
.track-nav-strip a {
    display: inline-block;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    background: var(--gold-pale);
    border: 1px solid rgba(255,209,102,.4);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--navy);
    white-space: nowrap;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: var(--ease);
}
.track-nav-strip a:hover { background: var(--gold); color: var(--charcoal); }
@media (max-width: 768px) {
    .track-nav-strip { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

/* Bio page layout (was entirely unstyled — real bug fix) */
.bio-grid {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 3rem;
    align-items: start;
}
.bio-image { position: sticky; top: 100px; }
.bio-portrait {
    width: 100%;
    max-width: 260px;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-md);
}
.bio-content h2 { font-size: 1.9rem; margin-bottom: 1rem; }
@media (max-width: 768px) {
    .bio-grid { grid-template-columns: 1fr; }
    .bio-image { position: static; max-width: 220px; margin: 0 auto; }
}

/* Bio venture list (Getratex history) */
.bio-venture-list { margin: 0.5rem 0 1.25rem 1.25rem; }
.bio-venture-list li { font-size: 1.05rem; line-height: 1.85; color: var(--slate); list-style: disc; }

/* Credentials page: grouped cred-badge clusters */
.cred-group-label {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--slate-mid);
    margin: 1.75rem 0 0.75rem;
}
.credentials-highlight h3.cred-group-label:first-of-type { margin-top: 1rem; }

/* Bio page: keynote action photo break */
.bio-photo-break { margin: 2rem 0; }
.bio-keynote-photo {
    width: 100%;
    max-height: 380px;
    object-fit: cover;
    object-position: 50% 20%;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-md);
}

/* Bio page: book covers strip */
.bio-books-strip {
    display: flex;
    gap: 1.25rem;
    margin: 1rem 0 1.5rem;
    flex-wrap: wrap;
}
.bio-books-strip img {
    height: 200px;
    width: auto;
    border-radius: 6px;
    box-shadow: var(--shadow-sm);
    transition: var(--ease);
}
.bio-books-strip img:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
@media (max-width: 600px) {
    .bio-books-strip img { height: 150px; }
}

/* Credentials: Original Frameworks & Tools groups (was colliding with .frameworks-section) */
.tools-groups { background: transparent; }
.tools-groups .cred-group-label:first-child { margin-top: 0; }

/* Home page: keynote action photo before Final CTA */
.keynote-photo-section { padding: 1rem 0 0; background: var(--warm-white); text-align: center; }
.keynote-action-photo {
    width: 100%;
    max-width: 700px;
    max-height: 420px;
    object-fit: cover;
    object-position: 50% 15%;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-md);
}

/* Testimonials: working expand/collapse (Items 230-232) */
.testimonial-full { display: none; }
.testimonial-card.expanded .testimonial-full { display: block; margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.15); }
.testimonial-card.expanded .testimonial-full p { margin-bottom: 0.9rem; font-size: 0.92rem; line-height: 1.7; }
.testimonial-expand { margin-top: 1.25rem; }
.expand-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    border: 1px solid rgba(255,255,255,.3);
    color: inherit;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--ease);
}
.expand-btn:hover { border-color: var(--gold); color: var(--gold); }
.testimonial-card-light .expand-btn { border-color: var(--border); }
.testimonial-card-light .testimonial-full { border-top-color: var(--border); }
.testimonial-card-light .testimonial-full p { color: var(--slate); }

/* Testimonials: fix unconstrained org logo sizing (real cause of item 230's oversized logos) */
.org-logo-img { height: 44px; width: auto; max-width: 140px; object-fit: contain; }

/* Credentials page accordions (item 242, restyled per item 271) */
.credentials-accordion { margin-bottom: 1rem; border: 1px solid var(--border); border-radius: .625rem; overflow: hidden; }
.credentials-acc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    background: transparent;
    cursor: pointer;
    transition: var(--ease);
}
.credentials-acc-header:hover { opacity: 0.75; }
.credentials-acc-header h2 { margin: 0; font-size: 1.3rem; font-weight: 800; color: var(--charcoal); }
.credentials-acc-header .track-chevron { color: var(--navy); font-size: 0.9rem; flex-shrink: 0; margin-left: 1rem; }
.credentials-acc-body { padding: 0.5rem 1.5rem 1.75rem; }

/* Client list separators (item 257) */
.client-sep { color: var(--gold); margin: 0 0.6rem; font-weight: 700; }

/* Frameworks page accordion (item 258, tightened per item 271) */
.fw-accordion-header { padding: 1.25rem 1.5rem; transition: var(--ease); }
.fw-accordion-header:hover { opacity: 0.75; }
.fw-accordion-header .section-header { margin-bottom: 0; }
.fw-accordion-header .track-chevron { color: var(--navy); font-size: 1rem; }
.fw-accordion-body { padding: 0.5rem 1.5rem 1.75rem; }

/* Contact page: mailto CTA (replaces Formspree form) */
.mailto-cta-box {
    background: var(--warm-white);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 2.5rem;
    text-align: center;
}
.mailto-cta-box h3 { margin-bottom: 0.75rem; }
.mailto-cta-box p { color: var(--slate-mid); margin-bottom: 1.5rem; }
.mailto-cta-box .btn { margin-bottom: 1rem; }
.mailto-fallback { font-size: 0.9rem; margin-bottom: 0 !important; }
