/* ==========================================
   SIMPLY CLEVER BOOKKEEPING
   Brand: #102036 navy · #3682ae blue · #b73943 red
   ========================================== */

/* Custom Properties */
:root {
    --navy:       #102036;
    --navy-dark:  #0b1926;
    --blue:       #3682ae;
    --blue-light: #4a9cc8;
    --blue-pale:  #e8f3f9;
    --red:        #b73943;
    --white:      #ffffff;
    --off-white:  #f9fafb;
    --light-gray: #f2f5f8;
    --border:     #dde4eb;
    --text-dark:  #102036;
    --text-body:  #374151;
    --text-muted: #6b7280;

    --font-heading: 'Montserrat', sans-serif;
    --font-body:    'Inter', sans-serif;

    --section-pad: 5rem 0;
    --max-width:   1080px;
    --transition:  0.28s ease;

    --shadow-sm: 0 1px 4px rgba(16,32,54,.07);
    --shadow-md: 0 4px 16px rgba(16,32,54,.11);
    --shadow-lg: 0 10px 36px rgba(16,32,54,.16);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 84px;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text-body);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: var(--blue); }

p  { margin-bottom: 1.15rem; }
p:last-child { margin-bottom: 0; }

strong { color: var(--text-dark); font-weight: 600; }

/* ── Layout ─────────────────────────────── */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section { padding: var(--section-pad); }
.section-white { background: var(--white); }
.section-gray  { background: var(--light-gray); }
.section-navy  { background: var(--navy); color: var(--white); }

/* ── Scene images ───────────────────────── */
.scene-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,.12);
    display: block;
    max-width: 100%;
}

/* ── Image + text two-column layout ─────── */
.img-text-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.img-text-layout .img-col { min-width: 0; }
.img-text-layout .text-col { min-width: 0; }

/* Image always stacks above text on mobile */
@media (max-width: 767px) {
    .img-text-layout {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }
    .img-text-layout .img-col  { order: 1; }
    .img-text-layout .text-col { order: 2; }
}

/* ── Typography ─────────────────────────── */
h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    line-height: 1.2;
}

.section-navy h1,
.section-navy h2,
.section-navy h3,
.section-navy h4 { color: var(--white); }

h1 { font-size: clamp(2.8rem, 6vw, 5rem);   font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 700; }
h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); font-weight: 700; }
h4 { font-size: 0.78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }

/* ── Section Header ─────────────────────── */
.section-header {
    margin-bottom: 2.75rem;
    position: relative;
    padding-bottom: 1.5rem;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 52px;
    height: 3px;
    background: var(--blue);
    border-radius: 2px;
}

.section-intro {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: var(--text-muted);
    margin-top: 0.6rem;
    font-family: var(--font-heading);
    font-weight: 600;
}

/* ── Buttons ─────────────────────────────── */
.btn {
    display: inline-block;
    padding: .875rem 2.1rem;
    border-radius: 6px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: .9rem;
    letter-spacing: .03em;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
}

.btn-primary {
    background: var(--blue);
    color: var(--white);
    border-color: var(--blue);
}
.btn-primary:hover {
    background: var(--blue-light);
    border-color: var(--blue-light);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(54,130,174,.35);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,.55);
}
.btn-outline-white:hover {
    background: rgba(255,255,255,.1);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-outline-blue {
    background: var(--white);
    color: var(--blue);
    border-color: var(--blue);
}
.btn-outline-blue:hover {
    background: var(--blue-pale);
    border-color: var(--blue);
    transform: translateY(-2px);
}

/* ── Section CTA ─────────────────────────── */
.section-cta {
    margin-top: 3.5rem;
    padding: 2.5rem 2.5rem;
    background: var(--light-gray);
    border-radius: 12px;
    border-left: 5px solid var(--blue);
}

.section-cta .cta-heading {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 0.6rem;
}

.section-cta .cta-sub {
    color: var(--text-muted);
    font-size: .96rem;
    margin-bottom: .75rem;
}

.section-cta .btn { margin-top: .75rem; }
.section-cta .scene-row { margin: 0; }

/* ===========================================
   NAVIGATION
   =========================================== */
#navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition);
}

#navbar.scrolled { box-shadow: var(--shadow-md); }

.nav-container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.nav-logo img { height: 63px; width: auto; }

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

.nav-links a {
    font-family: var(--font-heading);
    font-size: .78rem;
    font-weight: 600;
    color: var(--text-dark);
    text-decoration: none;
    padding: .45rem .7rem;
    border-radius: 5px;
    transition: color var(--transition), background var(--transition);
    letter-spacing: .01em;
    white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active { color: var(--blue); background: var(--blue-pale); }

.nav-links .nav-cta,
.nav-links .nav-cta.active {
    background: var(--blue) !important;
    color: var(--white) !important;
    padding: .45rem 1.1rem;
    border-radius: 6px;
    margin-left: .4rem;
}
.nav-links .nav-cta:hover { background: var(--blue-light) !important; }

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: .5rem;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: all var(--transition);
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===========================================
   HERO
   =========================================== */
.hero {
    min-height: 100vh;
    background: var(--light-gray);
    display: flex;
    align-items: center;
    padding: 7rem 1.5rem 5rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1125px;
    height: 1125px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--white) 38%, var(--light-gray) 72%);
    pointer-events: none;
    z-index: 0;
}

.hero::after {
    display: none;
}

.hero-content {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-bottom {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 2.5rem;
    width: 100%;
}

.hero-text {
    flex: 1;
    min-width: 0;
    text-align: center;
}

.hero-bman {
    flex-shrink: 0;
    width: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    align-self: stretch;
}

.bman-img {
    flex: 1;
    width: 100%;
    min-height: 0;
    object-fit: contain;
    object-position: bottom;
    mix-blend-mode: multiply;
    filter: brightness(1.08);
}

.bman-caption {
    color: var(--navy);
    text-align: center;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.7;
    margin: 0.6rem 0 0;
    font-family: var(--font-heading);
    font-weight: 600;
}

.hero-logo {
    width: clamp(340px, 60vw, 660px);
    height: auto;
    display: block;
    margin: 0 auto 3rem;
}

.hero-eyebrow {
    font-family: var(--font-heading);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 1.4rem;
}

.hero h1 {
    color: var(--navy);
    font-size: clamp(1.8rem, 3.8vw, 2.8rem);
    margin-bottom: 1.2rem;
    line-height: 1.05;
    overflow-wrap: break-word;
}

.hero-subheadline {
    font-family: var(--font-heading);
    font-size: clamp(1.1rem, 2.5vw, 1.45rem);
    font-weight: 600;
    color: var(--blue);
    margin-bottom: 1.25rem;
}

.hero-description {
    font-size: 1.07rem;
    color: var(--text-body);
    max-width: 560px;
    line-height: 1.85;
    margin: 0 auto 2.5rem;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .6rem;
    margin-top: 2.25rem;
}

.hero-badge {
    font-family: var(--font-heading);
    font-size: .72rem;
    font-weight: 600;
    color: var(--text-muted);
    border: 1px solid var(--border);
    padding: .3rem .85rem;
    border-radius: 20px;
    letter-spacing: .06em;
}

/* ===========================================
   MEET YOUR BOOKKEEPER
   =========================================== */
.bookkeeper-profile {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    background: var(--light-gray);
    border-radius: 12px;
    border-left: 5px solid var(--blue);
    padding: 2rem 2.25rem;
    margin-bottom: 3rem;
}

.profile-photo {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    flex-shrink: 0;
    border: 4px solid var(--blue);
    box-shadow: var(--shadow-md);
}

.profile-text h3 {
    font-size: 1.65rem;
    margin-bottom: .2rem;
}

.profile-title {
    color: var(--blue);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: .92rem;
    margin-bottom: .4rem;
}

.profile-location {
    color: var(--text-muted);
    font-size: .88rem;
    margin-bottom: 1.1rem;
}

.credential-badges {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
}

.credential-badge {
    background: var(--navy);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: .72rem;
    font-weight: 700;
    padding: .28rem .8rem;
    border-radius: 4px;
    letter-spacing: .04em;
}

/* Scene rows (img-text-layout) within bookkeeper */
.scene-row {
    margin: 3rem 0;
}

/* Constrain scene images to 520px within their column */
.scene-img--constrained {
    max-width: 520px;
}

/* Trial section scene image — slightly narrower */
.scene-img--trial {
    max-width: 460px;
}

/* Pull-quote used alongside scene images */
.scene-quote {
    font-family: var(--font-heading);
    font-size: clamp(1.3rem, 2.5vw, 1.9rem);
    font-style: italic;
    font-weight: 700;
    color: var(--navy);
    border: none;
    padding: 0;
    margin: 0;
    line-height: 1.35;
}

.scene-quote p {
    font-family: var(--font-heading);
    font-size: inherit;
    font-style: italic;
    font-weight: 700;
    color: inherit;
    line-height: inherit;
    margin-bottom: 0.75em;
}

.scene-quote p:last-child { margin-bottom: 0; }

/* Scene 4: full-width centred stats card */
.scene-card-wrap {
    margin: 3rem auto;
    text-align: center;
}

.scene-card-img {
    max-width: 780px;
    width: 100%;
    border-radius: 12px;
    border: 2px solid #1B3A6B;
    box-shadow: 0 6px 24px rgba(0,0,0,.15);
    display: inline-block;
}

/* Story sections */
.story-section {
    margin-bottom: 2.75rem;
    padding-bottom: 2.75rem;
    border-bottom: 1px solid var(--border);
}
.story-section:last-of-type { border-bottom: none; }

.story-section h4 {
    color: var(--blue);
    margin-bottom: 1.1rem;
}

blockquote {
    border-left: 4px solid var(--blue);
    padding: 1.2rem 1.75rem;
    margin: 1.75rem 0;
    background: var(--blue-pale);
    border-radius: 0 8px 8px 0;
    font-style: italic;
    font-size: 1.05rem;
    color: var(--text-dark);
    line-height: 1.85;
}

/* Timeline */
.timeline {
    margin: 1.5rem 0;
    position: relative;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 96px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: var(--border);
    border-radius: 2px;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 1.75rem;
    padding: .7rem 0;
}

.timeline-year {
    min-width: 86px;
    text-align: right;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: .8rem;
    color: var(--blue);
    padding-top: 3px;
    flex-shrink: 0;
}

.timeline-dot {
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    margin-top: 6px;
}
.timeline-dot::after {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--blue);
    border: 2px solid var(--white);
    box-shadow: 0 0 0 2px var(--blue);
}

.timeline-text {
    font-size: .95rem;
    line-height: 1.65;
    flex: 1;
    padding-top: 2px;
}

/* Tools */
.tools-grid {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    margin-top: .85rem;
}

.tool-pill {
    background: var(--navy);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: .76rem;
    font-weight: 600;
    padding: .38rem 1rem;
    border-radius: 20px;
}

/* ===========================================
   MEET YOURSELF
   =========================================== */
.yourself-narrative {
    max-width: 100%;
}

.scene-block {
    background: var(--white);
    border-left: 5px solid var(--blue);
    border-radius: 0 12px 12px 0;
    padding: 1.75rem 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
}

.scene-block p {
    font-size: 1.08rem;
    line-height: 1.9;
    font-style: italic;
    color: var(--text-dark);
}

.narrative-pivot {
    font-family: var(--font-heading);
    font-size: clamp(1.3rem, 2.5vw, 1.7rem);
    font-weight: 700;
    color: var(--navy);
    margin: 2rem 0 1.25rem;
}

.checklist-intro {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: .75rem;
}

.checklist {
    list-style: none;
    margin: 0 0 2rem;
}

.checklist li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: .95rem 1.25rem;
    margin-bottom: .5rem;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    font-size: .97rem;
    line-height: 1.65;
}

.checklist li::before {
    content: '✓';
    color: var(--blue);
    font-weight: 700;
    font-family: var(--font-heading);
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 1px;
}

.callout-box {
    background: var(--white);
    border: 1px solid var(--border);
    border-top: 4px solid var(--blue);
    border-radius: 0 0 12px 12px;
    padding: 2rem 2.25rem;
    margin: 2rem 0;
    box-shadow: var(--shadow-sm);
}

.callout-box h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.callout-highlight {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--blue);
    margin-top: 1.25rem;
}

.tagline-block {
    background: var(--navy);
    border-radius: 14px;
    padding: 3rem 2.5rem;
    margin-top: 2.5rem;
    text-align: left;
}

.tagline-block .scene-row { margin: 0; }

.tagline-block h2 {
    color: var(--white);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom: 1rem;
}

.tagline-block p {
    color: rgba(255,255,255,.75);
    font-size: 1.05rem;
    margin-bottom: .6rem;
}

.tagline-block .btn { margin-top: 1.25rem; }

/* ===========================================
   MEET YOUR TRIAL PERIOD
   =========================================== */
.trial-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
    margin: 2.5rem 0;
}

.info-card {
    background: var(--light-gray);
    border-radius: 12px;
    padding: 2rem;
    border-top: 4px solid var(--blue);
}

.info-card h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--navy);
}

.trial-price {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--blue);
    line-height: 1;
    margin: .75rem 0 .2rem;
}

.trial-currency {
    font-size: 1rem;
    font-weight: 600;
    vertical-align: middle;
}

.trial-price-label {
    font-size: .82rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    font-family: var(--font-heading);
}

.example-box {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    margin: 1rem 0;
}

.example-box h4 {
    color: var(--blue);
    margin-bottom: .75rem;
}

.example-box p { font-size: .92rem; }

.sub-heading {
    font-size: 1.25rem;
    margin: 2.5rem 0 .75rem;
    color: var(--navy);
}

.benefits-list {
    list-style: none;
    margin: .75rem 0 2rem;
}

.benefits-list li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: .95rem 0;
    border-bottom: 1px solid var(--border);
    font-size: .97rem;
    line-height: 1.65;
}
.benefits-list li:last-child { border-bottom: none; }

.benefit-arrow {
    color: var(--blue);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
    font-size: 1.1rem;
}

.note-box {
    background: #fff8f5;
    border: 1px solid #f0d0c0;
    border-left: 4px solid var(--red);
    border-radius: 0 8px 8px 0;
    padding: 1.5rem 1.75rem;
    margin: 2rem 0;
}

.note-box h4 {
    color: var(--red);
    margin-bottom: .75rem;
}

.note-box p { font-size: .94rem; }

/* ===========================================
   MEET YOUR FUTURE
   =========================================== */
.future-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3.5rem;
}

.section-label-light {
    font-family: var(--font-heading);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: .75rem;
}

.future-intro h2 {
    color: var(--navy);
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    margin-bottom: .75rem;
}

.future-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: .75rem;
    font-style: italic;
}

.future-tagline {
    color: var(--text-muted);
    font-size: .97rem;
}

/* Time blocks stacked in scene-row right column */
.time-blocks-col {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* Time comparison (kept for reference, now unused as grid) */
.time-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2.75rem;
}

.time-block {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.75rem 2rem;
    box-shadow: var(--shadow-sm);
}

.time-block.before { border-top: 4px solid var(--red); }
.time-block.after  { border-top: 4px solid var(--blue); }

.time-block h4 { margin-bottom: 1rem; }
.time-block.before h4 { color: var(--red); }
.time-block.after  h4 { color: var(--blue); }

.time-block p {
    color: var(--text-body);
    font-size: .96rem;
    font-style: italic;
    line-height: 1.85;
}

.future-quote {
    border-left: 4px solid var(--blue);
    background: var(--blue-pale);
    padding: 1.4rem 2rem;
    border-radius: 0 8px 8px 0;
    margin: 2rem 0 2.5rem;
    font-style: italic;
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.85;
}

/* Before / After table */
.before-after-wrapper {
    overflow-x: auto;
    margin-bottom: 2.5rem;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.before-after-table {
    width: 100%;
    border-collapse: collapse;
}

.before-after-table thead {
    border-bottom: 1px solid var(--border);
}

.before-after-table th {
    padding: .85rem 1.4rem;
    font-family: var(--font-heading);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    text-align: left;
}

.col-before { color: var(--red); }
.col-after  { color: var(--blue); }

.before-after-table tbody tr {
    border-bottom: 1px solid var(--border);
    transition: background var(--transition);
}

.before-after-table tbody tr:last-child { border-bottom: none; }
.before-after-table tbody tr:hover { background: var(--light-gray); }

.before-after-table td {
    padding: 1rem 1.4rem;
    font-size: .94rem;
    vertical-align: top;
    line-height: 1.65;
}

.before-after-table td:first-child { color: var(--text-muted); }
.before-after-table td:last-child  { color: var(--text-dark); }

.future-body {
    color: var(--text-body);
    font-size: 1.02rem;
    margin-bottom: 1rem;
    line-height: 1.85;
}

.future-cta-box {
    text-align: center;
    background: var(--white);
    border: 1px solid var(--border);
    border-top: 4px solid var(--blue);
    border-radius: 14px;
    padding: 3rem 2rem;
    margin-top: 2.5rem;
    box-shadow: var(--shadow-sm);
}

.future-cta-box h3 {
    color: var(--navy);
    margin-bottom: .75rem;
    font-size: 1.4rem;
}

.future-cta-box p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 1.75rem;
}

/* Scene 9: final statement image */
.scene-final-wrap {
    margin: 3rem auto 0;
    text-align: center;
}

.scene-final-img {
    max-width: 700px;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 6px 28px rgba(0,0,0,.18);
    display: inline-block;
}

/* ===========================================
   CONTACT
   =========================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    background: var(--light-gray);
}

.contact-details {
    list-style: none;
}

.contact-details li {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    padding: .85rem 0;
    border-bottom: 1px solid var(--border);
    font-size: .96rem;
}
.contact-details li:last-child { border-bottom: none; }
.contact-details li > span:last-child,
.contact-details li > a {
    min-width: 0;
    overflow-wrap: anywhere;
}

.detail-label {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: .72rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--blue);
    min-width: 72px;
    flex-shrink: 0;
}

.contact-details a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color var(--transition);
}
.contact-details a:hover { color: var(--blue); }

/* CTA card */
.contact-cta-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2.5rem 2.5rem;
    box-shadow: none;
    text-align: left;
    border-left: 5px solid var(--blue);
    margin-top: 3.5rem;
}

.cta-card-inner {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cta-card-price {
    min-width: 0;
}

.cta-card-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex-shrink: 0;
    align-items: stretch;
}

.cta-card-actions .btn {
    white-space: nowrap;
    text-align: center;
}

.contact-bman {
    flex-shrink: 0;
}

.contact-bman-img {
    max-height: 500px;
    width: 100%;
    background: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    display: block;
    mix-blend-mode: multiply;
    filter: brightness(1.08);
}

.price-tag {
    font-family: var(--font-heading);
    font-size: .82rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: .04em;
    margin-bottom: .25rem;
}

.price-amount {
    display: block;
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--blue);
    line-height: 1;
    margin-bottom: .25rem;
}

.price-detail {
    font-size: .8rem;
    color: var(--text-muted);
    margin-bottom: 1.4rem;
}

.price-body {
    font-size: .94rem;
    color: var(--text-muted);
    margin-bottom: 0;
    line-height: 1.7;
}

/* ===========================================
   HUBSPOT FORM MODAL
   =========================================== */
.hs-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(16,32,54,.55);
    backdrop-filter: blur(3px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
}

.hs-modal-overlay.open {
    opacity: 1;
    pointer-events: all;
}

.hs-modal-box {
    background: var(--white);
    border-radius: 14px;
    padding: 2.5rem;
    max-width: 560px;
    width: 100%;
    position: relative;
    box-shadow: var(--shadow-lg);
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(16px);
    transition: transform var(--transition);
}

.hs-modal-overlay.open .hs-modal-box {
    transform: translateY(0);
}

.hs-modal-close {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    background: none;
    border: none;
    font-size: 1.8rem;
    line-height: 1;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0;
    transition: color var(--transition);
}
.hs-modal-close:hover { color: var(--text-dark); }

.hs-modal-box h3 {
    margin-bottom: 0.4rem;
    color: var(--navy);
    padding-right: 2rem;
}

.hs-modal-sub {
    color: var(--text-muted);
    font-size: .95rem;
    margin-bottom: 1.75rem;
}

/* ===========================================
   FOOTER
   =========================================== */
footer {
    background: var(--navy-dark);
    padding: 2.5rem 1.5rem;
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    text-align: center;
}

.footer-logo {
    height: 54px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: .75;
}

.footer-info {
    font-size: .82rem;
    color: rgba(255,255,255,.45);
    line-height: 2;
}

.footer-sep { margin: 0 .45rem; opacity: .4; }

/* ===========================================
   FADE-IN ANIMATION
   =========================================== */
.fade-in {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .65s ease, transform .65s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===========================================
   RESPONSIVE
   =========================================== */
@media (max-width: 900px) {
    .trial-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    :root { --section-pad: 3.5rem 0; }

    html { scroll-padding-top: 60px; }

    /* Nav mobile */
    .nav-toggle { display: flex; }

    .nav-links {
        position: fixed;
        top: 84px; left: 0; right: 0;
        background: var(--white);
        flex-direction: column;
        align-items: stretch;
        padding: .75rem 1rem 1.25rem;
        gap: .15rem;
        box-shadow: var(--shadow-md);
        transform: translateY(-110%);
        opacity: 0;
        pointer-events: none;
        transition: transform var(--transition), opacity var(--transition);
    }

    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-links a {
        display: block;
        padding: .75rem 1rem;
        font-size: .9rem;
        border-radius: 8px;
    }

    .nav-links .nav-cta {
        margin: .5rem 0 0;
        text-align: center;
    }

    /* Hero */
    .hero { padding: 6rem 1.25rem 4rem; }
    .hero::after { display: none; }
    .hero-bottom { flex-direction: column; align-items: center; }
    .hero-bman { width: 100%; max-width: 220px; align-self: center; }

    /* Bookkeeper */
    .bookkeeper-profile { flex-direction: column; align-items: flex-start; }
    .profile-photo { width: 120px; height: 120px; }
    .timeline::before { left: 78px; }
    .timeline-year { min-width: 68px; font-size: .74rem; }

    /* Yourself */
    .scene-block { padding: 1.25rem 1.5rem; }
    .tagline-block { padding: 2.25rem 1.5rem; }
    .callout-box { padding: 1.5rem; }

    /* Grids */
    .time-comparison { grid-template-columns: 1fr; }
    .contact-grid       { grid-template-columns: 1fr; gap: 2rem; }
    .contact-bman-img   { max-height: 320px; width: auto; margin: 0 auto; }
    .contact-cta-card   { text-align: center; margin-top: 2rem; padding: 1.75rem; }
    .cta-card-inner     { flex-direction: column; align-items: center; }
    .cta-card-price     { text-align: center; }
    .cta-card-actions   { align-items: center; }
    .cta-card-actions .btn { white-space: normal; max-width: 280px; }

    /* Section CTA */
    .section-cta { padding: 1.75rem; }

    /* Before/After */
    .before-after-table th,
    .before-after-table td { padding: .75rem 1rem; font-size: .88rem; }
}

@media (max-width: 480px) {
    h1 { font-size: 2.4rem; }
    .hero { padding: 5.5rem 1.25rem 3.5rem; }
    .trial-grid { grid-template-columns: 1fr; }
    .timeline::before { display: none; }
    .timeline-item { flex-direction: column; gap: .15rem; }
    .timeline-year { text-align: left; min-width: auto; }
    .timeline-dot { display: none; }
    .section-cta { padding: 1.5rem; }
}
