/* ════════════════════════════════════════════════
   Jelena Counselling — shared styles for SEO/service pages
   Mirrors the design tokens used on the homepage:
   bg #FAF8F4 · ink #1a1a18 · accent #8B7355 · muted #6b6860
   Fonts: DM Sans (body) · DM Serif Display (headings)
═════════════════════════════════════════════════ */

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: #FAF8F4; }

.w {
    font-family: 'DM Sans', sans-serif;
    background: #FAF8F4;
    color: #1a1a18;
    width: 100%;
    overflow-x: hidden;
    line-height: 1.65;
}

/* ── NAV ── */
.nav {
    display: flex; justify-content: space-between; align-items: center;
    padding: 0 5%; position: fixed; top: 0; left: 0; right: 0;
    height: 72px; z-index: 100; backdrop-filter: blur(10px);
    background: rgba(250, 248, 244, 0.96); transition: box-shadow 0.2s;
}
.nav.scrolled { box-shadow: 0 2px 16px rgba(0,0,0,0.09); }
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img { height: 52px; width: auto; display: block; }
.nav-links { display: flex; gap: 1.5rem; align-items: center; }
.nav-links a {
    font-size: 13px; font-weight: 300; color: #6b6860;
    text-decoration: none; letter-spacing: 0.03em; transition: color 0.2s;
}
.nav-links a:hover { color: #8B7355; }
.nav-btn {
    font-size: 12px; font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase;
    background: transparent; border: 1px solid #c8bfaf; color: #1a1a18;
    padding: 10px 20px; border-radius: 100px; cursor: pointer; transition: all 0.2s;
}
.nav-btn:hover { background: #1a1a18; color: #FAF8F4; border-color: #1a1a18; }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.hamburger span { width: 24px; height: 2px; background: #1a1a18; transition: 0.3s; }
.mobile-menu {
    display: none; position: fixed; top: 72px; left: 0; right: 0;
    background: #FAF8F4; flex-direction: column; padding: 1.5rem 5%; gap: 1.2rem;
    z-index: 99; box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.mobile-menu.open { display: flex; }
.mobile-link { font-size: 16px; color: #1a1a18; text-decoration: none; font-weight: 300; }
.mobile-cta {
    margin-top: 0.5rem; background: #1a1a18; color: #FAF8F4; border: none;
    padding: 14px; border-radius: 12px; font-size: 14px; cursor: pointer;
}

/* ── Buttons ── */
.btn-dark {
    background: #1a1a18; color: #FAF8F4; border: none; padding: 14px 30px;
    border-radius: 100px; font-size: 14px; font-family: 'DM Sans', sans-serif;
    letter-spacing: 0.03em; cursor: pointer; transition: all 0.25s;
}
.btn-dark:hover { background: #8B7355; transform: translateY(-2px); }
.btn-ghost {
    background: transparent; color: #1a1a18; border: 1px solid #c8bfaf;
    padding: 13px 28px; border-radius: 100px; font-size: 14px;
    text-decoration: none; transition: all 0.25s; display: inline-block;
}
.btn-ghost:hover { border-color: #1a1a18; }

/* ── Page header / breadcrumb ── */
.page-wrap { max-width: 820px; margin: 0 auto; padding: 0 6%; }
.page-hero { padding: 9rem 0 2.5rem; }
.breadcrumb { font-size: 12px; letter-spacing: 0.05em; color: #9a9488; margin-bottom: 1.5rem; }
.breadcrumb a { color: #8B7355; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.eyebrow {
    display: inline-block; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
    color: #8B7355; margin-bottom: 1.2rem; font-weight: 400;
}
.page-h1 {
    font-family: 'DM Serif Display', serif; font-weight: 400;
    font-size: clamp(2.1rem, 5vw, 3.2rem); line-height: 1.12; color: #1a1a18; letter-spacing: -0.01em;
}
.page-h1 i { font-style: italic; color: #8B7355; }
.lead { font-size: 1.12rem; color: #4a4843; margin-top: 1.4rem; max-width: 70ch; }

/* ── Body content ── */
.content { padding-bottom: 1rem; }
.content h2 {
    font-family: 'DM Serif Display', serif; font-weight: 400;
    font-size: clamp(1.5rem, 3.2vw, 2rem); line-height: 1.2; color: #1a1a18;
    margin: 2.8rem 0 1rem;
}
.content h2 i { font-style: italic; color: #8B7355; }
.content h3 { font-size: 1.12rem; font-weight: 500; color: #1a1a18; margin: 1.8rem 0 0.6rem; }
.content p { color: #3f3d39; margin-bottom: 1.1rem; }
.content ul { margin: 0 0 1.3rem 1.2rem; color: #3f3d39; }
.content li { margin-bottom: 0.5rem; padding-left: 0.3rem; }
.content a.inline { color: #8B7355; text-decoration: underline; text-underline-offset: 2px; }
.content strong { font-weight: 500; color: #1a1a18; }

/* pull card */
.card {
    background: #f3efe7; border: 1px solid #e6ddcf; border-radius: 18px;
    padding: 1.8rem 2rem; margin: 2rem 0;
}
.card p { margin-bottom: 0.6rem; }
.card p:last-child { margin-bottom: 0; }

/* ── FAQ ── */
.faq { margin-top: 2.5rem; }
.faq-item { border-top: 1px solid #e6ddcf; padding: 1.4rem 0; }
.faq-item:last-child { border-bottom: 1px solid #e6ddcf; }
.faq-q { font-weight: 500; font-size: 1.05rem; color: #1a1a18; margin-bottom: 0.6rem; }
.faq-a { color: #3f3d39; }

/* ── related links ── */
.related { margin: 3rem 0 1rem; }
.related h2 { margin-bottom: 1rem; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.related-grid a {
    display: block; padding: 1.1rem 1.3rem; border: 1px solid #e6ddcf; border-radius: 14px;
    text-decoration: none; color: #1a1a18; background: #fbf9f5; transition: all 0.2s;
}
.related-grid a:hover { border-color: #c8bfaf; transform: translateY(-2px); }
.related-grid span { display: block; font-size: 12px; color: #8B7355; letter-spacing: 0.05em; margin-bottom: 0.2rem; }

/* ── CTA band ── */
.cta-band {
    background: #1a1a18; color: #FAF8F4; border-radius: 26px;
    padding: 3rem 2rem; text-align: center; margin: 3.5rem 0 1rem;
}
.cta-band h2 {
    font-family: 'DM Serif Display', serif; font-weight: 400; color: #FAF8F4;
    font-size: clamp(1.6rem, 3.6vw, 2.2rem); line-height: 1.18; margin-bottom: 0.8rem;
}
.cta-band h2 i { font-style: italic; color: #c8bfaf; }
.cta-band p { color: #c3c0b8; margin-bottom: 1.6rem; max-width: 52ch; margin-inline: auto; }
.cta-band .btn-dark { background: #FAF8F4; color: #1a1a18; }
.cta-band .btn-dark:hover { background: #8B7355; color: #FAF8F4; }

/* ── Footer ── */
.footer {
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
    padding: 2.5rem 5%; border-top: 1px solid #e6ddcf; font-size: 13px; color: #5a5a54;
}
.footer a { color: #5a5a54; }
.footer-r { display: flex; gap: 1.4rem; }
.footer-r a { text-decoration: none; transition: color 0.2s; }
.footer-r a:hover { color: #8B7355; }

/* ── Blog index ── */
.post-meta { font-size: 13px; color: #9a9488; letter-spacing: 0.03em; margin-bottom: 1.4rem; }
.post-meta a { color: #8B7355; text-decoration: none; }
.blog-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; margin: 1rem 0; }
.blog-card {
    display: block; padding: 1.6rem 1.8rem; border: 1px solid #e6ddcf; border-radius: 18px;
    background: #fbf9f5; text-decoration: none; color: inherit; transition: all 0.2s;
}
.blog-card:hover { border-color: #c8bfaf; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.05); }
.blog-card .tag { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: #8B7355; }
.blog-card h2 { font-family: 'DM Serif Display', serif; font-weight: 400; font-size: 1.4rem; line-height: 1.25; margin: 0.5rem 0 0.5rem; color: #1a1a18; }
.blog-card p { color: #4a4843; font-size: 0.98rem; margin: 0; }
.blog-card .more { display: inline-block; margin-top: 0.9rem; font-size: 13px; color: #8B7355; }

/* ── Featured image ── */
.featured-img { margin: 0 0 1.8rem; }
.featured-img img {
    width: 100%; height: 240px; object-fit: cover;
    border-radius: 20px; display: block; border: 1px solid #e6ddcf;
}

/* ── Blog card thumbnail ── */
.blog-card { overflow: hidden; padding: 0; }
.blog-card .thumb {
    width: 100%; height: 150px; object-fit: cover; display: block;
    border-bottom: 1px solid #e6ddcf;
}
.blog-card .card-body { padding: 1.3rem 1.5rem; }

/* ── Article body ── */
.article { max-width: 720px; }
.article .toc {
    background: #f3efe7; border: 1px solid #e6ddcf; border-radius: 16px;
    padding: 1.3rem 1.6rem; margin: 1.5rem 0 2rem;
}
.article .toc strong { display: block; font-size: 13px; letter-spacing: 0.05em; text-transform: uppercase; color: #8B7355; margin-bottom: 0.7rem; }
.article .toc ul { margin: 0 0 0 1.1rem; }
.article .toc li { margin-bottom: 0.35rem; }
.article .toc a { color: #1a1a18; text-decoration: none; }
.article .toc a:hover { color: #8B7355; }
.article blockquote {
    border-left: 3px solid #c8bfaf; margin: 1.6rem 0; padding: 0.4rem 0 0.4rem 1.4rem;
    font-family: 'DM Serif Display', serif; font-style: italic; font-size: 1.2rem; color: #4a4843;
}
.back-link { display: inline-block; margin: 0.5rem 0 0; font-size: 13px; color: #8B7355; text-decoration: none; }
.back-link:hover { text-decoration: underline; }

/* ── Mobile services accordion ── */
.mobile-accordion {
    display: flex; justify-content: space-between; align-items: center; width: 100%;
    background: none; border: none; font-family: 'DM Sans', sans-serif; font-size: 16px;
    font-weight: 300; color: #1a1a18; cursor: pointer; padding: 0; text-align: left;
}
.mobile-accordion .chev { color: #8B7355; font-size: 20px; line-height: 1; }
.mobile-submenu {
    display: none; flex-direction: column; gap: 0.85rem; margin: 0.5rem 0 0 0.2rem;
    padding-left: 0.9rem; border-left: 1px solid #e0d5c8;
}
.mobile-submenu.open { display: flex; }
.mobile-sublink { font-size: 14px; color: #6b6860; text-decoration: none; }
.mobile-sublink:hover { color: #8B7355; }

@media (max-width: 760px) {
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .page-hero { padding: 7rem 0 1.5rem; }
    .blog-list { grid-template-columns: 1fr; }
}
