/* ══════════════════════════════════════════
   TBKRM Consulting — Shared Stylesheet
   Used across home + all service pages
   ══════════════════════════════════════════ */

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --ink:      #0D1117;
    --slate:    #3A4659;
    --steel:    #6B7A99;
    --fog:      #E8EBF2;
    --page:     #F5F6FA;
    --white:    #FFFFFF;
    --gold:     #B8933A;
    --gold-lt:  #D4AE5C;
    --gold-bg:  #FDF8EE;
    --green:    #4CAF50;
    --blue:     #2196F3;
    --blue-grey:  #607d8b;
    --radius:   6px;
    --max:      1160px;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--page);
    -webkit-font-smoothing: antialiased;
}

/* ── Utility ── */
.container {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 28px;
}

/* ── Navigation ── */
nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--fog);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}

.nav-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.nav-brand div {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.nav-brand img {
    max-height: 2.6rem;
    width: auto;
    align-self: stretch;
}

.nav-brand .abbr {
    font-family: 'DM Serif Display', serif;
    font-size: 1.35rem;
    letter-spacing: 0.08em;
    color: var(--gold);
}

.nav-brand .tagline {
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: var(--steel);
    text-transform: uppercase;
}

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

.nav-links a {
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--slate);
    letter-spacing: 0.02em;
    transition: color 0.2s;
}

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

.nav-cta {
    background: var(--ink);
    color: var(--white) !important;
    padding: 10px 22px;
    border-radius: var(--radius);
    transition: background 0.2s !important;
}

.nav-cta:hover { background: var(--gold) !important; color: var(--white) !important; }

/* ── Hero ── */
.hero {
    background: var(--ink);
    color: var(--white);
    padding: 96px 0 88px;
    position: relative;
    overflow: hidden;
}

/* Ledger-line watermark — the signature element */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 39px,
        rgba(255,255,255,0.04) 39px,
        rgba(255,255,255,0.04) 40px
    );
    pointer-events: none;
}

.hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.hero-eyebrow {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold-lt);
    margin-bottom: 20px;
    border-left: 3px solid var(--gold);
    padding-left: 12px;
}

.hero h1 {
}

.hero h1 em {
}

.h1dc {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(2.4rem, 4.5vw, 3.6rem);
    line-height: 1.12;
    margin-bottom: 24px;
    font-weight: 400;
}

.h1dc em {
    font-style: italic;
    color: var(--gold-lt);
}

.hero-sub {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.68);
    max-width: 440px;
    margin-bottom: 40px;
    line-height: 1.7;
}

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

.btn {
    display: inline-block;
    padding: 13px 28px;
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
}

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

.btn-gold:hover { background: var(--gold-lt); }

.btn-outline {
    border: 1.5px solid rgba(255,255,255,0.3);
    color: var(--white);
    background: transparent;
}

.btn-outline:hover { border-color: var(--gold-lt); color: var(--gold-lt); }

/* Trust box */
.hero-trust {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 36px;
    backdrop-filter: blur(4px);
}

.trust-heading {
    font-family: 'DM Serif Display', serif;
    font-size: 1.25rem;
    margin-bottom: 24px;
    color: var(--white);
}

.trust-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 20px;
}

.trust-item:last-child { margin-bottom: 0; }

.trust-icon {
    width: 36px;
    height: 36px;
    background: rgba(184,147,58,0.18);
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.trust-item p {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.55;
}

.trust-item strong {
    display: block;
    font-size: 0.9rem;
    color: var(--white);
    font-weight: 600;
    margin-bottom: 2px;
}

/* ── Section Base ── */
section { padding: 88px 0; }

.section-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 12px;
}

.section-heading {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 400;
    color: var(--ink);
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-sub {
    font-size: 1rem;
    color: var(--steel);
    max-width: 540px;
    line-height: 1.7;
}

/* ── Services ── */
#services { background: var(--white); }

.services-header {
    text-align: center;
    margin-bottom: 60px;
}

.services-header .section-sub { margin: 0 auto; }

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

.service-card {
    border: 1px solid var(--fog);
    border-radius: 10px;
    padding: 40px 32px;
    background: var(--page);
    transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-lt));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s;
}

.service-card:hover {
    box-shadow: 0 12px 40px rgba(13,17,23,0.09);
    transform: translateY(-4px);
    border-color: transparent;
}

.service-card:hover::after { transform: scaleX(1); }

.service-icon {
    width: 52px;
    height: 52px;
    background: var(--gold-bg);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.service-card h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--ink);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--steel);
    line-height: 1.7;
    margin-bottom: 24px;
}

.service-list {
    list-style: none;
    margin-bottom: 28px;
}

.service-list li {
    font-size: 0.855rem;
    color: var(--slate);
    padding: 6px 0;
    border-bottom: 1px solid var(--fog);
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-list li::before {
    color: var(--gold);
    font-weight: 700;
    font-size: 0.8rem;
}

.service-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gold);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s;
}

.service-link:hover { gap: 10px; }

/* ── Why Us ── */
#about { background: var(--page); }

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

.about-visual {
    background: var(--ink);
    border-radius: 10px;
    padding: 40px;
    color: var(--white);
}

.stat-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    margin-bottom: 2px;
}

.stat-block {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 28px 24px;
}

.stat-block:first-child { border-radius: 8px 0 0 0; }
.stat-block:last-child  { border-radius: 0 8px 0 0; }
.stat-bottom            { border-radius: 0 0 8px 8px; background: rgba(184,147,58,0.12); border: 1px solid rgba(184,147,58,0.2); padding: 28px 24px; }

.stat-num {
    font-family: 'DM Serif Display', serif;
    font-size: 2.2rem;
    color: var(--gold-lt);
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.about-content .section-label { margin-bottom: 10px; }

.about-points {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-point {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.about-point-dot {
    width: 8px;
    height: 8px;
    background: var(--gold);
    border-radius: 50%;
    margin-top: 8px;
    flex-shrink: 0;
}

.about-point h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 4px;
}

.about-point p {
    font-size: 0.875rem;
    color: var(--steel);
    line-height: 1.6;
}

/* ── Contact ── */
#contact { background: var(--white); }

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

.contact-method {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--fog);
}

.contact-method:last-of-type { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.contact-icon {
    width: 46px;
    height: 46px;
    background: var(--gold-bg);
    border: 1px solid rgba(184,147,58,0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-method .label {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--steel);
    margin-bottom: 3px;
}

.contact-method a {
    font-size: 1rem;
    font-weight: 500;
    color: var(--ink);
    text-decoration: none;
    transition: color 0.2s;
}

.contact-method a:hover { color: var(--gold); }

/* Contact form */
.contact-form { display: flex; flex-direction: column; gap: 16px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.field { display: flex; flex-direction: column; gap: 6px; }

.field label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--slate);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.field input,
.field select,
.field textarea {
    border: 1.5px solid var(--fog);
    border-radius: var(--radius);
    padding: 12px 14px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: var(--ink);
    background: var(--page);
    transition: border-color 0.2s;
    outline: none;
}

.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--gold); background: var(--white); }

.field textarea { resize: vertical; min-height: 110px; }

.btn-submit {
    background: var(--ink);
    color: var(--white);
    border: none;
    padding: 14px 32px;
    border-radius: var(--radius);
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    align-self: flex-start;
}

.btn-submit:hover { background: var(--gold); }

/* ── Footer ── */
footer {
    background: var(--ink);
    color: rgba(255,255,255,0.55);
    padding: 40px 0;
    text-align: center;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.footer-brand {
    font-family: 'DM Serif Display', serif;
    font-size: 1.1rem;
    color: var(--white);
    letter-spacing: 0.05em;
}

.footer-brand span { color: var(--gold-lt); }

footer p { font-size: 0.8rem; }

footer a {
    color: rgba(255,255,255,0.55);
    text-decoration: none;
}

footer a:hover { color: var(--gold-lt); }

/* ── Divider ── */
.rule {
    width: 48px;
    height: 2px;
    background: var(--gold);
    margin: 16px 0 24px;
}

/* ══════════════════════════════════════════
   Service Detail Page additions
   (used by bookkeeping.aspx, quickbooks-training.aspx,
   financial-consulting.aspx)
   ══════════════════════════════════════════ */

/* Service hero — narrower than home hero, single column copy + stat strip */
.service-hero {
    background: var(--ink);
    color: var(--white);
    padding: 80px 0 64px;
    position: relative;
    overflow: hidden;
}

.service-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 39px,
        rgba(255,255,255,0.04) 39px,
        rgba(255,255,255,0.04) 40px
    );
    pointer-events: none;
}

.service-hero-inner { position: relative; }

.breadcrumb {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    margin-bottom: 28px;
}

.breadcrumb a { color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--gold-lt); }
.breadcrumb span { color: rgba(255,255,255,0.3); margin: 0 8px; }

.service-hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 56px;
    align-items: start;
}

.service-hero-media {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
}

.service-hero-media video,
.service-hero-media img { width: 100%; display: block; }

/* Stat strip beneath hero copy */
.hero-stat-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    overflow: hidden;
    margin-top: 36px;
}

.hero-stat-strip .stat {
    background: rgba(255,255,255,0.04);
    padding: 18px 16px;
}

.hero-stat-strip .stat-num {
    font-family: 'DM Serif Display', serif;
    font-size: 1.5rem;
    color: var(--gold-lt);
    line-height: 1;
    margin-bottom: 4px;
}

.hero-stat-strip .stat-label {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.55);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* Detail section: two-column copy + checklist card */
.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: start;
}

.detail-copy p { color: var(--steel); margin-bottom: 18px; line-height: 1.75; }
.detail-copy p:last-child { margin-bottom: 0; }

.detail-card {
    background: var(--white);
    border: 1px solid var(--fog);
    border-radius: 10px;
    padding: 36px;
}

.detail-card h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--ink);
    margin-bottom: 20px;
}

.detail-checklist { list-style: none; display: flex; flex-direction: column; gap: 14px; }

.detail-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.9rem;
    color: var(--slate);
    line-height: 1.5;
}

.detail-checklist .check-icon {
    color: var(--green);
    font-size: 0.9rem;
    margin-top: 2px;
    flex-shrink: 0;
}

/* Process timeline — used where order is real (steps a client moves through) */
#process { background: var(--white); }

.process-list {
    display: flex;
    flex-direction: column;
}

.process-row {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 24px;
    padding: 28px 0;
    border-bottom: 1px solid var(--fog);
}

.process-row:last-child { border-bottom: none; }

.process-num {
    font-family: 'DM Serif Display', serif;
    font-size: 1.6rem;
    color: var(--gold);
    line-height: 1;
}

.process-row h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 6px;
}

.process-row p {
    font-size: 0.9rem;
    color: var(--steel);
    line-height: 1.65;
    max-width: 560px;
}

/* FAQ accordion-lite (no JS toggle needed; simple static list reads cleanly) */
#faq { background: var(--page); }

.faq-list { display: flex; flex-direction: column; gap: 1px; background: var(--fog); border: 1px solid var(--fog); border-radius: 10px; overflow: hidden; }

.faq-item { background: var(--white); padding: 26px 32px; }

.faq-item h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 8px;
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.faq-item h4 .q-mark { color: var(--gold); font-family: 'DM Serif Display', serif; font-size: 1.1rem; flex-shrink: 0; }

.faq-item p { font-size: 0.875rem; color: var(--steel); line-height: 1.7; padding-left: 24px; }

/* Cross-sell strip — links to the other two services */
#related { background: var(--ink); color: var(--white); }

#related .section-label { color: var(--gold-lt); }
#related .section-heading { color: var(--white); }

.related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.related-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 32px;
    text-decoration: none;
    transition: border-color 0.2s, background 0.2s, transform 0.2s;
    display: block;
}

.related-card:hover {
    border-color: var(--gold);
    background: rgba(255,255,255,0.07);
    transform: translateY(-3px);
}

.related-card .related-label {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-lt);
    margin-bottom: 10px;
}

.related-card h4 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 10px;
}

.related-card p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.6;
    margin-bottom: 14px;
}

.related-card .related-arrow {
    font-size: 0.8rem;
    color: var(--gold-lt);
    font-weight: 600;
}

/* Final CTA band */
.cta-band {
    background: var(--gold-bg);
    border-top: 1px solid rgba(184,147,58,0.2);
    border-bottom: 1px solid rgba(184,147,58,0.2);
    text-align: center;
    padding: 64px 0;
}

.cta-band .section-heading { margin-bottom: 12px; }
.cta-band .section-sub { margin: 0 auto 32px; }

/* ── Responsive ── */
@media (max-width: 900px) {
    .hero-inner         { grid-template-columns: 1fr; gap: 40px; }
    .services-grid      { grid-template-columns: 1fr; }
    .about-grid         { grid-template-columns: 1fr; gap: 40px; }
    .contact-grid       { grid-template-columns: 1fr; gap: 40px; }
    .form-row           { grid-template-columns: 1fr; }
    .nav-links          { display: none; }

    .service-hero-grid  { grid-template-columns: 1fr; gap: 36px; }
    .hero-stat-strip    { grid-template-columns: 1fr; }
    .detail-grid        { grid-template-columns: 1fr; gap: 40px; }
    .related-grid       { grid-template-columns: 1fr; }
    .process-row        { grid-template-columns: 44px 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; }
}


nav-menu-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px 24px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    flex-shrink: 0;
}

.nav-menu-brand {
    font-family: 'DM Serif Display', serif;
    font-size: 1.1rem;
    color: var(--white);
    letter-spacing: 0.04em;
}
.nav-menu-brand span { color: var(--gold-lt); }

.nav-menu-close {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.7);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, transform 0.2s;
    font-size: 0.8rem;
}
.nav-menu-close:hover { background: var(--gold); color: var(--ink); transform: rotate(90deg); }

.nav-menu-links {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 12px 0;
}

.nav-menu-links a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 24px;
    color: rgba(255,255,255,0.78);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    border-left: 3px solid transparent;
    transition: background 0.2s, color 0.2s, border-color 0.2s, padding-left 0.2s;
}

.nav-menu-links a i { width: 18px; text-align: center; color: var(--gold); font-size: 0.85rem; flex-shrink: 0; }

.nav-menu-links a:hover {
    background: rgba(184,147,58,0.08);
    border-left-color: var(--gold);
    color: var(--white);
    padding-left: 30px;
}

.nav-menu-links a.active {
    background: rgba(184,147,58,0.12);
    border-left-color: var(--gold);
    color: var(--white);
}

.nav-menu-divider { height: 1px; background: rgba(255,255,255,0.08); margin: 12px 24px; }

.nav-menu-footer {
    position: relative;
    padding: 24px;
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: auto;
    flex-shrink: 0;
}

.nav-menu-cta {
    display: block;
    text-align: center;
    background: var(--gold);
    color: var(--ink) !important;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 13px;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s;
    margin-bottom: 16px;
}
.nav-menu-cta:hover { background: var(--gold-lt); }

.nav-menu-contact { font-size: 0.8rem; color: rgba(255,255,255,0.5); text-align: center; line-height: 1.6; }
.nav-menu-contact a { color: rgba(255,255,255,0.7); text-decoration: none; }
.nav-menu-contact a:hover { color: var(--gold-lt); }

/* Backdrop overlay */
#navOverlay {
    position: fixed;
    inset: 0;
    background: rgba(13,17,23,0.55);
    backdrop-filter: blur(2px);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;

}
#navOverlay.open { opacity: 1; pointer-events: auto; }