/* ==========================================================================
   Strong Mountains Financial Planning - shared stylesheet
   Edit once here; every page picks up the change.
   ========================================================================== */

:root {
    --primary-teal: #2d4f4f;
    --accent-teal: #3d6666;
    --light-teal: #4a7575;
    --cream: #f5f3ed;
    --warm-white: #fafaf7;
    --text-dark: #1a1a1a;
    --text-medium: #4a4a4a;
    --text-light: #6a6a6a;
    --gold-accent: #d4a574;
    --border-soft: #ebe8e0;
}

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

html { scroll-behavior: smooth; }

/* Keep anchor targets clear of the fixed nav */
[id] { scroll-margin-top: 110px; }

body {
    font-family: 'Crimson Pro', Georgia, serif;
    color: var(--text-dark);
    background: var(--warm-white);
    line-height: 1.7;
    font-size: 18px;
}

/* ==========================================================================
   Navigation
   ========================================================================== */

nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

nav .nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.9rem 2rem;
}

.logo-container img {
    height: 58px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.92rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: color 0.25s ease;
    position: relative;
    white-space: nowrap;
}

.nav-links a:not(.cta-button)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-accent);
    transition: width 0.25s ease;
}

.nav-links a:not(.cta-button):hover::after { width: 100%; }
.nav-links a:not(.cta-button):hover { color: var(--primary-teal); }

.nav-links a.active { color: var(--primary-teal); font-weight: 600; }
.nav-links a.active::after { width: 100%; }

.cta-button {
    background: var(--primary-teal);
    color: #fff !important;
    padding: 0.6rem 1.4rem;
    border-radius: 4px;
    font-weight: 600;
    transition: background 0.25s ease, transform 0.25s ease;
}

.cta-button:hover { background: var(--accent-teal); transform: translateY(-1px); }

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.4rem;
    width: 44px;
    height: 44px;
}

.nav-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--primary-teal);
    margin: 5px auto;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Hero (home page)
   ========================================================================== */

.hero {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 9rem 2rem 7rem;
    background-image:
        linear-gradient(180deg, rgba(30, 56, 56, 0.86) 0%, rgba(45, 79, 79, 0.68) 45%, rgba(30, 56, 56, 0.88) 100%),
        url('hero-mountains.jpg');
    background-size: cover;
    background-position: center 55%;
}

.hero-content { max-width: 840px; animation: fadeInUp 1s ease-out; }

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-wordmark {
    width: 100%;
    max-width: 300px;
    height: auto;
    margin: 0 auto 1.9rem;
    display: block;
    filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.32));
}

.hero-eyebrow {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold-accent);
    margin-bottom: 1.2rem;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
}

.hero-tagline {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.94);
    margin-top: 1.3rem;
    line-height: 1.6;
}

.hero-rule { width: 70px; height: 2px; background: var(--gold-accent); margin: 1.7rem auto; }

.hero-description {
    font-size: 1.16rem;
    color: rgba(255, 255, 255, 0.92);
    max-width: 640px;
    margin: 0 auto 2.4rem;
    line-height: 1.75;
}

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

/* ==========================================================================
   Interior page header banner
   ========================================================================== */

.page-header {
    padding: 11rem 2rem 4.5rem;
    text-align: center;
    background-image:
        linear-gradient(180deg, rgba(30, 56, 56, 0.88) 0%, rgba(45, 79, 79, 0.74) 55%, rgba(30, 56, 56, 0.9) 100%),
        url('hero-mountains.jpg');
    background-size: cover;
    background-position: center 60%;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.32);
}

.page-header .page-rule { width: 60px; height: 2px; background: var(--gold-accent); margin: 1.4rem auto; }

.page-header p {
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.14rem;
    max-width: 720px;
    margin: 0 auto;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.98rem;
    font-weight: 600;
    letter-spacing: 0.4px;
    text-decoration: none;
    padding: 1rem 2.1rem;
    border-radius: 4px;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn-gold {
    background: var(--gold-accent);
    color: #23403f;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.22);
}

.btn-gold:hover { background: #e0b489; transform: translateY(-2px); }

.btn-outline-light {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.75);
}

.btn-outline-light:hover { background: rgba(255, 255, 255, 0.14); border-color: #fff; transform: translateY(-2px); }

.btn-teal {
    background: var(--primary-teal);
    color: #fff;
    box-shadow: 0 4px 18px rgba(45, 79, 79, 0.22);
}

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

.btn-outline-teal {
    background: transparent;
    color: var(--primary-teal);
    border: 2px solid var(--primary-teal);
}

.btn-outline-teal:hover { background: var(--primary-teal); color: #fff; transform: translateY(-2px); }

.btn-outline-gold {
    background: transparent;
    color: var(--primary-teal);
    border: 2px solid var(--gold-accent);
}

.btn-outline-gold:hover { background: var(--gold-accent); color: #23403f; transform: translateY(-2px); }

/* ==========================================================================
   Section shell
   ========================================================================== */

section { padding: 6rem 2rem; }

.section-inner { max-width: 1200px; margin: 0 auto; }
.section-inner.narrow { max-width: 820px; }

.section-title {
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--primary-teal);
    text-align: center;
    line-height: 1.2;
}

.section-subtitle {
    text-align: center;
    color: var(--text-medium);
    font-size: 1.15rem;
    max-width: 700px;
    margin: 1rem auto 3.5rem;
}

.section-link {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--accent-teal);
    text-decoration: none;
    border-bottom: 2px solid var(--gold-accent);
    padding-bottom: 2px;
    transition: color 0.25s ease;
}

.section-link:hover { color: var(--primary-teal); }

.divider-rule { width: 60px; height: 1px; background: var(--gold-accent); margin: 1.5rem auto; }

/* ==========================================================================
   Value proposition band
   ========================================================================== */

.value-prop {
    background: var(--cream);
    padding: 3.5rem 2.5rem;
    max-width: 950px;
    margin: -3rem auto 0;
    position: relative;
    z-index: 5;
    border-radius: 8px;
    border-top: 4px solid var(--gold-accent);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.value-prop h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-teal);
    line-height: 1.45;
    margin-bottom: 1.1rem;
}

.value-prop p { color: var(--text-medium); font-size: 1.08rem; max-width: 720px; margin: 0 auto; }

/* ==========================================================================
   Service cards
   ========================================================================== */

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

.service-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-soft);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(0, 0, 0, 0.09); }

.service-card h3 {
    font-size: 1.55rem;
    color: var(--primary-teal);
    margin: 1.2rem 0 0.9rem;
    line-height: 1.3;
}

.service-card > p { color: var(--text-medium); font-size: 1.05rem; }

.service-card ul { list-style: none; margin: 1.4rem 0 0; }

.service-card ul li {
    color: var(--text-medium);
    font-size: 1.02rem;
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
}

.service-card ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.72em;
    width: 7px;
    height: 7px;
    background: var(--gold-accent);
    border-radius: 50%;
}

.card-pricing { margin-top: 1.8rem; padding-top: 1.5rem; border-top: 1px solid var(--cream); }

.card-pricing .price-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent-teal);
    font-weight: 600;
    margin-bottom: 1rem;
}

.price-option { margin-bottom: 1.2rem; }

.price-option .price-name { font-weight: 600; color: var(--primary-teal); margin-bottom: 0.3rem; }

.price-option .price-desc { font-size: 1.02rem; color: var(--text-medium); margin-bottom: 0.3rem; }

.price-option .price-amount {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-teal);
}

.price-note { margin-top: 1.2rem; font-size: 0.9rem; color: var(--text-light); font-style: italic; }

.card-foot { margin-top: auto; padding-top: 1.5rem; }

/* ==========================================================================
   Why fee-only
   ========================================================================== */

.why-us { background: var(--primary-teal); color: #fff; text-align: center; }

.why-us .section-title { color: #fff; }

.why-us > .section-inner > p {
    max-width: 780px;
    margin: 1.2rem auto 3.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.12rem;
}

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

.feature-item {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 2rem 1.6rem;
    text-align: left;
}

.feature-item h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.02rem;
    font-weight: 600;
    letter-spacing: 0.4px;
    color: var(--gold-accent);
    margin-bottom: 0.8rem;
}

.feature-item p { color: rgba(255, 255, 255, 0.88); font-size: 1.02rem; }

.why-us .section-link { color: var(--gold-accent); }
.why-us .section-link:hover { color: #fff; }

/* Comparison block on the Why Fee-Only page */
.compare-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; margin-top: 2.5rem; }

.compare-card {
    background: #fff;
    border: 1px solid var(--border-soft);
    border-radius: 8px;
    padding: 2.2rem;
}

.compare-card.highlight { border-top: 4px solid var(--gold-accent); }

.compare-card h3 { font-size: 1.4rem; color: var(--primary-teal); margin-bottom: 0.9rem; }

.compare-card p { color: var(--text-medium); font-size: 1.04rem; }

.compare-card ul { list-style: none; margin-top: 1.1rem; }

.compare-card ul li {
    color: var(--text-medium);
    font-size: 1.02rem;
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
}

.compare-card ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.72em;
    width: 7px;
    height: 7px;
    background: var(--gold-accent);
    border-radius: 50%;
}

/* ==========================================================================
   About
   ========================================================================== */

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

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.12);
}

.about-text h2, .about-text h3 { font-size: 1.9rem; color: var(--primary-teal); margin-bottom: 0.2rem; }

.about-text .credentials {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gold-accent);
    font-weight: 600;
    margin-bottom: 1.6rem;
}

.about-text p { color: var(--text-medium); margin-bottom: 1.2rem; }

.credentials-block { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--border-soft); }

.credentials-block h3 { color: var(--primary-teal); font-size: 1.3rem; margin-bottom: 1.2rem; }

.credentials-block ul { list-style: none; padding: 0; }

.credentials-block ul li { margin-bottom: 0.8rem; color: var(--text-medium); line-height: 1.6; }

.credentials-block .cfp-note {
    margin-top: 1.2rem;
    padding: 1rem 1.2rem;
    background: var(--cream);
    border-radius: 6px;
    color: var(--text-medium);
    line-height: 1.6;
    font-style: italic;
}

/* ==========================================================================
   Membership banners
   ========================================================================== */

.memberships { background: var(--cream); text-align: center; }

.memberships h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--text-light);
    margin-bottom: 2.5rem;
}

.membership-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 940px;
    margin: 0 auto;
}

.membership-card {
    background: #fff;
    border: 1px solid var(--border-soft);
    border-radius: 8px;
    padding: 2rem 1.5rem;
    min-height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.membership-card:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08); }

.membership-card img {
    max-height: 56px;
    max-width: 200px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

/* ==========================================================================
   Contact
   ========================================================================== */

.schedule-stack { max-width: 560px; margin: 0 auto; text-align: center; }

.schedule-option { margin-bottom: 2rem; }

.schedule-option .option-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-light);
    margin-bottom: 0.8rem;
}

.schedule-option .btn { width: 100%; max-width: 400px; text-align: center; }

.contact-details {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    padding-top: 2.5rem;
    margin-top: 1rem;
    border-top: 1px solid var(--border-soft);
}

.contact-details .detail { text-align: center; }

.contact-details .detail-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-light);
    margin-bottom: 0.3rem;
}

.contact-details .detail p { font-size: 1rem; color: var(--text-medium); }

.contact-details .detail a { color: var(--accent-teal); text-decoration: none; }
.contact-details .detail a:hover { text-decoration: underline; }

/* ==========================================================================
   Closing CTA
   ========================================================================== */

.closing-cta { background: var(--cream); text-align: center; }

.closing-cta h2 { font-size: 2.4rem; color: var(--primary-teal); margin-bottom: 1rem; }

.closing-cta p { color: var(--text-medium); font-size: 1.12rem; max-width: 640px; margin: 0 auto 2.2rem; }

/* ==========================================================================
   Long-form prose (privacy policy and future content pages)
   ========================================================================== */

.prose { max-width: 780px; margin: 0 auto; }

.prose .version-date {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    font-style: italic;
}

.prose h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--primary-teal);
    text-decoration: underline;
    text-decoration-color: var(--gold-accent);
    text-underline-offset: 4px;
    margin-top: 2.2rem;
    margin-bottom: 0.8rem;
}

.prose p { color: var(--text-medium); font-size: 1.05rem; line-height: 1.85; margin-bottom: 1.2rem; }

.prose ul { margin: 0.8rem 0 1.2rem 1.5rem; list-style: none; }

.prose ul li {
    color: var(--text-medium);
    font-size: 1.05rem;
    line-height: 1.85;
    margin-bottom: 0.5rem;
    padding-left: 1.2rem;
    position: relative;
}

.prose ul li::before {
    content: "\2014";
    position: absolute;
    left: -0.5rem;
    color: var(--gold-accent);
    font-weight: 600;
}

.contact-block {
    margin-top: 2.5rem;
    padding: 1.8rem 2rem;
    background: var(--cream);
    border-radius: 6px;
    border-left: 4px solid var(--gold-accent);
}

.contact-block p { margin-bottom: 0; }

.contact-block a { color: var(--accent-teal); text-decoration: none; font-weight: 600; }
.contact-block a:hover { text-decoration: underline; }

/* ==========================================================================
   Footer
   ========================================================================== */

footer { background: var(--primary-teal); color: #fff; padding: 3.5rem 2rem 2.5rem; }

.footer-content { max-width: 1000px; margin: 0 auto; text-align: center; }

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.8rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.88rem;
    font-weight: 500;
    transition: color 0.25s ease;
}

.footer-links a:hover { color: var(--gold-accent); }

.footer-bottom { padding-top: 2rem; font-size: 0.85rem; }

.footer-bottom > p { opacity: 0.85; }

.disclosures {
    margin: 1.5rem auto 0;
    font-size: 0.78rem;
    line-height: 1.7;
    opacity: 0.8;
    max-width: 850px;
    text-align: left;
}

.disclosures p + p { margin-top: 0.8rem; }

/* ==========================================================================
   Scroll animation
   ========================================================================== */

.fade-in-section { opacity: 0; transform: translateY(28px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }

.fade-in-section.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .fade-in-section { opacity: 1; transform: none; transition: none; }
    .hero-content { animation: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1000px) {
    .hero h1 { font-size: 3rem; }
    .page-header h1 { font-size: 2.5rem; }
    .section-title { font-size: 2.25rem; }
    .services-grid { grid-template-columns: 1fr; }
    .why-features { grid-template-columns: 1fr; gap: 1.5rem; }
    .compare-grid { grid-template-columns: 1fr; }
    .about-content { grid-template-columns: 1fr; gap: 2.2rem; }
    .about-image { max-width: 300px; margin: 0 auto; }
    .membership-grid { grid-template-columns: 1fr; max-width: 380px; }
}

@media (max-width: 900px) {
    .nav-toggle { display: block; }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0.5rem 0 1rem;
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
        display: none;
    }

    .nav-links.open { display: flex; }

    .nav-links li { width: 100%; }

    .nav-links a { display: block; padding: 0.9rem 2rem; font-size: 1rem; }

    .nav-links a:not(.cta-button)::after { display: none; }

    .nav-links .cta-button { margin: 0.8rem 2rem 0; text-align: center; padding: 0.85rem 1.4rem; }
}

@media (max-width: 640px) {
    body { font-size: 17px; }
    .logo-container img { height: 46px; }

    .hero { padding: 7.5rem 1.5rem 5rem; min-height: 0; }
    .hero-wordmark { max-width: 230px; margin-bottom: 1.5rem; }
    .hero h1 { font-size: 2.25rem; }
    .hero-description { font-size: 1.08rem; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { width: 100%; text-align: center; }

    .page-header { padding: 8.5rem 1.5rem 3.5rem; }
    .page-header h1 { font-size: 2.05rem; }
    .page-header p { font-size: 1.06rem; }

    section { padding: 4rem 1.5rem; }
    .value-prop { padding: 2.5rem 1.6rem; margin-top: -2rem; }
    .value-prop h2 { font-size: 1.25rem; }
    .section-title { font-size: 1.95rem; }
    .service-card { padding: 1.8rem 1.5rem; }
    .compare-card { padding: 1.8rem 1.5rem; }
    .closing-cta h2 { font-size: 1.9rem; }
    .contact-details { gap: 2rem; }
    .footer-links { gap: 1.1rem 1.5rem; }
}
