/* BM GROUP — site stylesheet
   Base and header rules apply to every page. Rules prefixed with
   :where(.page-<name>) apply only to that page (set by the class on <body>). */

:root {
    --primary: #0f2c5c;
    --primary-light: #1a4a8c;
    --accent: #c9a227;
    --accent-hover: #dbb42e;
    --text: #1a1a1a;
    --text-light: #4a5568;
    --bg: #ffffff;
    --bg-alt: #f7f9fc;
    --border: #e2e8f0;
    --success: #059669;
}

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

/* Stop the sticky header covering the top of a section when
   following a link such as index.html#workshops */
html {
    scroll-padding-top: 120px;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Header and navigation ===== */

header {
    background: var(--primary);
    color: white;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 1px;
}

header .logo {
    white-space: nowrap;
}

.logo span {
    color: var(--accent);
}

.logo a {
    color: white;
    text-decoration: none;
}

nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px 24px;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    white-space: nowrap;
    transition: color 0.2s;
}

nav a:hover {
    color: var(--accent);
}

nav a.nav-highlight {
    color: var(--accent);
    font-weight: 600;
}

/* Marks the page you are on */
nav a[aria-current="page"] {
    text-decoration: underline;
    text-decoration-color: var(--accent);
    text-decoration-thickness: 2px;
    text-underline-offset: 6px;
}

@media (max-width: 768px) {
    html {
        scroll-padding-top: 0;
    }

    /* On phones the wrapped menu is tall, so let it scroll away */
    header {
        position: static;
    }

    header .container {
        flex-direction: column;
        gap: 12px;
    }

    nav {
        justify-content: center;
        gap: 8px 18px;
    }

    nav a {
        font-size: 14px;
    }
}

/* ===== Shared components ===== */

.hero {
    color: white;
    text-align: center;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.btn {
    display: inline-block;
    background: var(--accent);
    color: var(--primary);
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
}

.btn:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
}

.grid {
    display: grid;
}

.card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: all 0.3s;
}

.card:hover {
    transform: translateY(-4px);
}

.card h3 {
    color: var(--primary);
}

.card ul {
    list-style: none;
}

.card li {
    position: relative;
}

.card li:before {
    position: absolute;
    left: 0;
    font-weight: bold;
}

.bg-alt {
    background: var(--bg-alt);
}

.workshop-list {
    display: grid;
    gap: 24px;
}

.workshop-item {
    background: white;
    border-left: 4px solid var(--accent);
    padding: 24px 32px;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.workshop-item h3 {
    color: var(--primary);
    margin-bottom: 8px;
    font-size: 20px;
}

.workshop-item p {
    color: var(--text-light);
}

footer {
    color: white;
    padding: 48px 0;
    text-align: center;
}

footer p {
    opacity: 0.9;
}

.expert-content {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 50px;
    align-items: start;
}

.expert-photo {
    text-align: center;
}

.expert-photo img {
    width: 240px;
    height: 240px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--accent);
}

.expert-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 16px;
}

.expert-text p {
    margin-bottom: 18px;
    color: var(--text-light);
    font-size: 17px;
}

.quote {
    background: #fffbeb;
    border-left: 5px solid var(--accent);
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: var(--text);
}

.partner-grid {
    display: grid;
    gap: 28px;
}

.partner-item {
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px;
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 24px;
    align-items: start;
}

.letter {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 700;
    color: var(--accent);
    text-align: center;
    line-height: 1;
}

.partner-item h3 {
    color: var(--primary);
    font-size: 24px;
    margin-bottom: 12px;
}

.partner-item ul {
    list-style: none;
}

.partner-item li {
    padding: 6px 0 6px 20px;
    position: relative;
    color: var(--text-light);
}

.partner-item li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent);
}

.hero .subhead {
    font-size: 24px;
    max-width: 750px;
    margin: 0 auto 36px;
    opacity: 0.95;
    font-weight: 400;
}

.hero .highlight {
    color: var(--accent);
    font-weight: 600;
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
    margin-left: 16px;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary);
}

.process {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 20px;
}

.step {
    text-align: center;
    padding: 20px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--accent);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step h3 {
    color: var(--primary);
    margin-bottom: 12px;
    font-size: 22px;
}

.results {
    background: var(--primary);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.results h2 {
    color: white;
    font-size: 42px;
    margin-bottom: 20px;
}

.results .stat {
    font-size: 28px;
    font-weight: 600;
    color: var(--accent);
    margin: 16px 0;
}

.exact-language {
    background: #fffbeb;
    border-left: 5px solid var(--accent);
    padding: 24px 28px;
    border-radius: 0 8px 8px 0;
    margin: 24px 0;
    font-style: italic;
    color: var(--text);
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    text-align: center;
    margin: 40px 0 60px;
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    color: var(--accent);
    font-weight: 700;
}

.stat-label {
    color: var(--text-light);
    font-size: 16px;
    margin-top: 8px;
}

.testimonial {
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 4px 20px rgba(15, 44, 92, 0.05);
}

.testimonial h3 {
    color: var(--primary);
    font-size: 22px;
    margin-bottom: 8px;
}

.client {
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 24px;
}

.reply {
    background: var(--bg-alt);
    padding: 24px 28px;
    border-radius: 8px;
    margin-top: 20px;
}

.reply strong {
    color: var(--primary);
}

.logos-container {
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(15, 44, 92, 0.05);
}

.logos-container img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.note {
    text-align: center;
    color: var(--text-light);
    margin-top: 30px;
    font-size: 16px;
}

.contact-box {
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 48px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(15, 44, 92, 0.06);
}

.contact-box h2 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 8px;
}

.contact-box .role {
    color: var(--text-light);
    margin-bottom: 36px;
    font-size: 17px;
}

.contact-item {
    margin: 24px 0;
    font-size: 20px;
}

.contact-item a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.contact-item a:hover {
    color: var(--accent);
}

.label {
    display: block;
    font-size: 14px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

@media (max-width: 768px) {
    .expert-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .partner-item {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .letter {
        font-size: 40px;
    }

    .hero .subhead {
        font-size: 18px;
    }

    .btn-secondary {
        margin-left: 0;
        margin-top: 12px;
        display: block;
    }

    .testimonial {
        padding: 28px 20px;
    }

    .logos-container {
        padding: 24px;
    }

    .contact-box {
        padding: 32px 24px;
    }
}

/* ===== index.html ===== */

:where(.page-index) .hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 100px 0 80px;
}

:where(.page-index) .hero h1 {
    font-size: 52px;
    margin-bottom: 16px;
    line-height: 1.2;
}

:where(.page-index) .hero p {
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto 32px;
    opacity: 0.95;
}

:where(.page-index) .btn {
    padding: 14px 32px;
}

:where(.page-index) section {
    padding: 80px 0;
}

:where(.page-index) section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    color: var(--primary);
    text-align: center;
    margin-bottom: 12px;
}

:where(.page-index) .section-subtitle {
    max-width: 600px;
    margin: 0 auto 48px;
    font-size: 18px;
}

:where(.page-index) .grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

:where(.page-index) .card {
    padding: 32px;
}

:where(.page-index) .card:hover {
    box-shadow: 0 10px 30px rgba(15, 44, 92, 0.1);
}

:where(.page-index) .card h3 {
    font-size: 22px;
    margin-bottom: 16px;
}

:where(.page-index) .card li {
    padding: 8px 0 8px 24px;
    color: var(--text-light);
}

:where(.page-index) .card li:before {
    content: "→";
    color: var(--accent);
}

:where(.page-index) footer {
    background: var(--primary);
}

@media (max-width: 768px) {
    :where(.page-index) .hero h1 {
        font-size: 36px;
    }
}

/* ===== about.html ===== */

:where(.page-about) section > .container,
:where(.page-about) footer > .container {
    max-width: 1000px;
}

:where(.page-about) .hero {
    background: linear-gradient(135deg, var(--primary) 0%, #0a1f42 100%);
    padding: 90px 0 70px;
}

:where(.page-about) .hero h1 {
    font-size: 48px;
    margin-bottom: 12px;
}

:where(.page-about) .hero p {
    font-size: 20px;
    opacity: 0.95;
}

:where(.page-about) section {
    padding: 70px 0;
}

:where(.page-about) footer {
    background: var(--primary);
}

:where(.page-about) .quote {
    padding: 20px 24px;
    margin: 24px 0;
}

@media (max-width: 768px) {
    :where(.page-about) .hero h1 {
        font-size: 36px;
    }
}

/* ===== partner.html ===== */

:where(.page-partner) section > .container,
:where(.page-partner) footer > .container {
    max-width: 1000px;
}

:where(.page-partner) .hero {
    background: linear-gradient(135deg, #0a6e8a 0%, #0f2c5c 100%);
    padding: 90px 0 70px;
}

:where(.page-partner) .hero h1 {
    font-size: 56px;
    letter-spacing: 4px;
    margin-bottom: 12px;
}

:where(.page-partner) .hero p {
    font-size: 20px;
    opacity: 0.95;
}

:where(.page-partner) section {
    padding: 60px 0;
}

:where(.page-partner) footer {
    background: var(--primary);
}

@media (max-width: 768px) {
    :where(.page-partner) .hero h1 {
        font-size: 40px;
        letter-spacing: 2px;
    }
}

/* ===== coaching.html ===== */

:where(.page-coaching) .hero {
    background: linear-gradient(135deg, var(--primary) 0%, #0a1f42 100%);
    padding: 120px 0 100px;
    position: relative;
}

:where(.page-coaching) .hero h1 {
    font-size: 56px;
    margin-bottom: 20px;
    line-height: 1.15;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

:where(.page-coaching) .btn {
    padding: 16px 36px;
    font-size: 17px;
}

:where(.page-coaching) section {
    padding: 90px 0;
}

:where(.page-coaching) section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 40px;
    color: var(--primary);
    text-align: center;
    margin-bottom: 16px;
}

:where(.page-coaching) .section-subtitle {
    max-width: 700px;
    margin: 0 auto 56px;
    font-size: 19px;
}

:where(.page-coaching) .grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

:where(.page-coaching) .card {
    padding: 36px;
}

:where(.page-coaching) .card:hover {
    box-shadow: 0 12px 40px rgba(15, 44, 92, 0.12);
}

:where(.page-coaching) .card h3 {
    font-size: 24px;
    margin-bottom: 16px;
}

:where(.page-coaching) .card ul {
    margin-top: 12px;
}

:where(.page-coaching) .card li {
    padding: 10px 0 10px 28px;
}

:where(.page-coaching) .card li:before {
    content: "✓";
    color: var(--success);
    font-size: 18px;
}

:where(.page-coaching) footer {
    background: #0a1f42;
}

:where(.page-coaching) .card p,
:where(.page-coaching) .card li {
    color: var(--text-light);
}

@media (max-width: 768px) {
    :where(.page-coaching) .hero h1 {
        font-size: 36px;
    }
}

/* ===== success.html ===== */

:where(.page-success) section > .container,
:where(.page-success) footer > .container {
    max-width: 1100px;
}

:where(.page-success) .hero {
    background: linear-gradient(135deg, var(--primary) 0%, #0a1f42 100%);
    padding: 100px 0 80px;
}

:where(.page-success) .hero h1 {
    font-size: 52px;
    margin-bottom: 20px;
}

:where(.page-success) .hero p {
    font-size: 20px;
    max-width: 750px;
    margin: 0 auto;
    opacity: 0.95;
}

:where(.page-success) section {
    padding: 80px 0;
}

:where(.page-success) section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    color: var(--primary);
    text-align: center;
    margin-bottom: 16px;
}

:where(.page-success) .section-subtitle {
    max-width: 700px;
    margin: 0 auto 48px;
    font-size: 18px;
}

:where(.page-success) .grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

:where(.page-success) .card {
    padding: 32px;
}

:where(.page-success) .card:hover {
    box-shadow: 0 10px 30px rgba(15, 44, 92, 0.1);
}

:where(.page-success) .card h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

:where(.page-success) footer {
    background: var(--primary);
}

:where(.page-success) .quote {
    padding: 28px 32px;
    font-size: 18px;
    margin: 40px auto;
    max-width: 800px;
}

:where(.page-success) .card p {
    color: var(--text-light);
}

@media (max-width: 768px) {
    :where(.page-success) .hero h1 {
        font-size: 36px;
    }
}

/* ===== testimonials.html ===== */

:where(.page-testimonials) section > .container,
:where(.page-testimonials) footer > .container {
    max-width: 900px;
}

:where(.page-testimonials) .hero {
    background: linear-gradient(135deg, var(--primary) 0%, #0a1f42 100%);
    padding: 80px 0 60px;
}

:where(.page-testimonials) .hero h1 {
    font-size: 46px;
    margin-bottom: 12px;
}

:where(.page-testimonials) section {
    padding: 60px 0;
}

:where(.page-testimonials) footer {
    background: var(--primary);
}

:where(.page-testimonials) .quote {
    padding: 24px 28px;
    margin: 20px 0;
}

@media (max-width: 768px) {
    :where(.page-testimonials) .hero h1 {
        font-size: 34px;
    }
}

/* ===== clients.html ===== */

:where(.page-clients) section > .container,
:where(.page-clients) footer > .container {
    max-width: 1100px;
}

:where(.page-clients) .hero {
    background: linear-gradient(135deg, var(--primary) 0%, #0a1f42 100%);
    padding: 90px 0 70px;
}

:where(.page-clients) .hero h1 {
    font-size: 48px;
    margin-bottom: 16px;
}

:where(.page-clients) .hero p {
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.95;
}

:where(.page-clients) section {
    padding: 70px 0;
}

:where(.page-clients) footer {
    background: var(--primary);
}

@media (max-width: 768px) {
    :where(.page-clients) .hero h1 {
        font-size: 36px;
    }
}

/* ===== contact.html ===== */

:where(.page-contact) section > .container,
:where(.page-contact) footer > .container {
    max-width: 900px;
}

:where(.page-contact) .hero {
    background: linear-gradient(135deg, var(--primary) 0%, #0a1f42 100%);
    padding: 90px 0 70px;
}

:where(.page-contact) .hero h1 {
    font-size: 48px;
    margin-bottom: 16px;
}

:where(.page-contact) .hero p {
    font-size: 20px;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.95;
}

:where(.page-contact) .btn {
    padding: 14px 32px;
    margin-top: 16px;
}

:where(.page-contact) section {
    padding: 70px 0;
}

:where(.page-contact) footer {
    background: var(--primary);
}

@media (max-width: 768px) {
    :where(.page-contact) .hero h1 {
        font-size: 36px;
    }
}
