/* ==========================================================================
   The Smart Money Coach - Cheryl Patrick Williams
   Shared stylesheet for all pages
   Palette: soft neutrals, magenta accent, nature-inspired greens
   ========================================================================== */

:root {
    /* Brand colors */
    --magenta: #B0006D;
    --magenta-dark: #8E0058;
    --magenta-light: #F6E3EF;
    --sage: #6B8F71;
    --sage-dark: #52705A;
    --sage-light: #E8F0EA;
    --cream: #FAF7F2;
    --sand: #F1EBE1;
    --ink: #3E3A36;          /* warm charcoal for text, not a harsh dark */
    --ink-soft: #6B645C;
    --white: #FFFFFF;

    /* Typography */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Source Sans 3', 'Segoe UI', Helvetica, Arial, sans-serif;

    /* Layout */
    --max-width: 1140px;
    --radius: 12px;
    --shadow: 0 4px 20px rgba(62, 58, 54, 0.08);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--cream);
    line-height: 1.65;
    font-size: 17px;
}

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

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    line-height: 1.25;
    color: var(--ink);
    font-weight: 700;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 0.75rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }

p { margin-bottom: 1rem; }

.eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--magenta);
    margin-bottom: 0.6rem;
}

.lead {
    font-size: 1.15rem;
    color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
    cursor: pointer;
    border: 2px solid transparent;
    text-align: center;
}

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

.btn-primary:hover {
    background: var(--magenta-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(176, 0, 109, 0.25);
}

.btn-secondary {
    background: transparent;
    color: var(--magenta);
    border-color: var(--magenta);
}

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

.btn-sage {
    background: var(--sage);
    color: var(--white);
}

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

/* --------------------------------------------------------------------------
   Header / Navigation
   -------------------------------------------------------------------------- */

.site-header {
    background: var(--white);
    box-shadow: 0 2px 12px rgba(62, 58, 54, 0.06);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.logo {
    text-decoration: none;
    line-height: 1.2;
}

.logo .logo-name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ink);
    display: block;
}

.logo .logo-tag {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--magenta);
    font-weight: 700;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
}

.main-nav a {
    text-decoration: none;
    color: var(--ink);
    font-weight: 600;
    font-size: 0.98rem;
    transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--magenta);
}

.main-nav .nav-cta {
    background: var(--magenta);
    color: var(--white);
    padding: 10px 22px;
    border-radius: 50px;
}

.main-nav .nav-cta:hover {
    background: var(--magenta-dark);
    color: var(--white);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--ink);
    margin: 5px 0;
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
    background: linear-gradient(135deg, var(--sand) 0%, var(--magenta-light) 100%);
    padding: 90px 0;
}

.hero-inner {
    max-width: 780px;
}

.hero h1 { margin-bottom: 1.1rem; }

.hero .lead { margin-bottom: 2rem; }

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-page {
    padding: 70px 0;
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section { padding: 70px 0; }

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

.section-sage { background: var(--sage-light); }

.section-header {
    max-width: 720px;
    margin-bottom: 2.5rem;
}

.section-header.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* --------------------------------------------------------------------------
   Cards and grids
   -------------------------------------------------------------------------- */

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 34px 30px;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--magenta);
}

.card.card-sage { border-top-color: var(--sage); }

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

.card ul {
    margin: 0.75rem 0 0 1.2rem;
    color: var(--ink-soft);
}

.card ul li { margin-bottom: 0.45rem; }

/* Pathway cards on home page */
.pathway {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px 36px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}

.pathway .btn { margin-top: auto; align-self: flex-start; }

.pathway h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.pathway p { color: var(--ink-soft); margin-bottom: 1.5rem; }

.pathway-recruit { border-top: 5px solid var(--magenta); }
.pathway-client  { border-top: 5px solid var(--sage); }

/* --------------------------------------------------------------------------
   Credentials strip
   -------------------------------------------------------------------------- */

.credentials {
    background: var(--white);
    padding: 44px 0;
    border-top: 1px solid var(--sand);
    border-bottom: 1px solid var(--sand);
}

.credentials-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    list-style: none;
}

.credentials-list li {
    background: var(--sage-light);
    color: var(--sage-dark);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 10px 20px;
    border-radius: 50px;
}

/* --------------------------------------------------------------------------
   Testimonials
   -------------------------------------------------------------------------- */

.testimonial {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
}

.testimonial blockquote {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-style: italic;
    color: var(--ink);
    margin-bottom: 1rem;
}

.testimonial cite {
    font-style: normal;
    font-weight: 700;
    color: var(--magenta);
    font-size: 0.9rem;
}

/* --------------------------------------------------------------------------
   Steps (numbered)
   -------------------------------------------------------------------------- */

.step {
    display: flex;
    gap: 20px;
    margin-bottom: 28px;
}

.step-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--magenta);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step h3 { margin-bottom: 0.3rem; }
.step p { color: var(--ink-soft); margin-bottom: 0; }

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */

.cta-band {
    background: linear-gradient(135deg, var(--magenta) 0%, var(--magenta-dark) 100%);
    color: var(--white);
    text-align: center;
    padding: 70px 0;
}

.cta-band h2 { color: var(--white); }

.cta-band p {
    color: rgba(255, 255, 255, 0.92);
    max-width: 620px;
    margin: 0 auto 1.8rem;
    font-size: 1.1rem;
}

.cta-band .btn {
    background: var(--white);
    color: var(--magenta);
}

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

/* --------------------------------------------------------------------------
   FAQ / details
   -------------------------------------------------------------------------- */

details.faq {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 14px;
    padding: 20px 26px;
}

details.faq summary {
    font-weight: 700;
    cursor: pointer;
    font-size: 1.05rem;
    color: var(--ink);
    list-style: none;
    position: relative;
    padding-right: 30px;
}

details.faq summary::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 0;
    color: var(--magenta);
    font-size: 1.4rem;
    line-height: 1;
    transition: transform 0.2s ease;
}

details.faq[open] summary::after { content: "\2212"; }

details.faq p {
    margin-top: 0.9rem;
    color: var(--ink-soft);
    margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Contact page
   -------------------------------------------------------------------------- */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 40px;
    align-items: start;
}

.contact-info-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 36px 32px;
    box-shadow: var(--shadow);
}

.contact-info-card p { margin-bottom: 1.2rem; }

.contact-info-card a {
    color: var(--magenta);
    font-weight: 700;
    text-decoration: none;
}

.contact-info-card a:hover { text-decoration: underline; }

.contact-label {
    display: block;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: var(--ink-soft);
    font-weight: 700;
    margin-bottom: 2px;
}

.calendar-embed {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 16px;
    min-height: 640px;
}

.calendar-embed iframe {
    width: 100%;
    min-height: 620px;
    border: none;
    border-radius: 8px;
}

/* --------------------------------------------------------------------------
   About page
   -------------------------------------------------------------------------- */

.about-grid {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 48px;
    align-items: start;
}

.headshot-placeholder {
    background: linear-gradient(135deg, var(--magenta-light), var(--sage-light));
    border-radius: var(--radius);
    aspect-ratio: 4 / 5;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--ink-soft);
    font-weight: 600;
    padding: 20px;
    box-shadow: var(--shadow);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
    background: var(--sage-dark);
    color: rgba(255, 255, 255, 0.9);
    padding: 56px 0 28px;
    margin-top: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 36px;
}

.site-footer h4 {
    color: var(--white);
    font-size: 1.05rem;
    margin-bottom: 0.8rem;
}

.site-footer ul { list-style: none; }

.site-footer ul li { margin-bottom: 0.5rem; }

.site-footer a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-footer a:hover { color: var(--white); }

.footer-brand .logo-name {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--white);
    display: block;
    margin-bottom: 0.4rem;
}

.footer-brand p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.78);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 22px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
}

.footer-bottom p { margin-bottom: 0.4rem; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 900px) {
    .grid-3 { grid-template-columns: 1fr; }
    .grid-2 { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr; }
    .about-grid .headshot-placeholder { max-width: 340px; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }

    .nav-toggle { display: block; }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        box-shadow: 0 8px 20px rgba(62, 58, 54, 0.12);
        display: none;
    }

    .main-nav.open { display: block; }

    .main-nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 12px 24px 20px;
    }

    .main-nav ul li { width: 100%; }

    .main-nav a {
        display: block;
        padding: 12px 0;
    }

    .main-nav .nav-cta {
        display: inline-block;
        margin-top: 8px;
    }

    .hero { padding: 60px 0; }
    .section { padding: 50px 0; }
}
