/* ========== RESET & BASE ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --color-primary: #3D5A6E;
    --color-primary-dark: #2C4455;
    --color-primary-light: #4A6B7F;
    --color-accent: #C4923E;
    --color-accent-light: #D4A54A;
    --color-accent-hover: #B3832F;
    --color-green: #5B7B6A;
    --color-bg: #FAFAF8;
    --color-bg-warm: #F5F2ED;
    --color-bg-section: #F0EDE7;
    --color-text: #2D2D2D;
    --color-text-light: #5A5A5A;
    --color-white: #FFFFFF;
    --font-heading: 'Raleway', sans-serif;
    --font-body: 'Source Sans 3', sans-serif;
    --max-width: 1100px;
    --section-padding: 5rem 1.5rem;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.65;
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
}

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

a { color: var(--color-primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--color-accent); }

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

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

/* ========== NAVIGATION ========== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid rgba(61, 90, 110, 0.1);
    backdrop-filter: blur(8px);
}

.nav-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0.9rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    letter-spacing: -0.01em;
}

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

.nav-links a {
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--color-text-light);
    letter-spacing: 0.02em;
    transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--color-primary-dark);
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-primary-dark);
    margin: 5px 0;
    transition: 0.3s;
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.85rem 1.8rem;
    border-radius: 6px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: all 0.25s;
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    background: var(--color-accent-hover);
    color: var(--color-white);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(196, 146, 62, 0.3);
}

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

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.8);
    color: var(--color-white);
}

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

.btn-outline-dark:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

.btn-text {
    background: none;
    color: var(--color-accent);
    padding: 0;
    font-weight: 600;
}

.btn-text:hover { color: var(--color-accent-hover); }

.btn-arrow::after { content: ' \2192'; }

/* ========== HERO ========== */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 1.5rem 5rem;
    background: linear-gradient(165deg, var(--color-primary-dark) 0%, var(--color-primary) 40%, var(--color-primary-light) 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(196, 146, 62, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(91, 123, 106, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 180px;
    background:
        linear-gradient(135deg, transparent 33%, rgba(250, 250, 248, 0.03) 33%, rgba(250, 250, 248, 0.03) 40%, transparent 40%),
        linear-gradient(160deg, transparent 25%, rgba(250, 250, 248, 0.05) 25%, rgba(250, 250, 248, 0.05) 45%, transparent 45%),
        linear-gradient(145deg, transparent 40%, rgba(250, 250, 248, 0.04) 40%, rgba(250, 250, 248, 0.04) 55%, transparent 55%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 750px;
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.hero h1 span { color: var(--color-accent-light); }

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.5rem;
    font-weight: 400;
    line-height: 1.5;
}

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

/* ========== PAGE HEADER (inner pages) ========== */
.page-header {
    padding: 8rem 1.5rem 3.5rem;
    background: linear-gradient(165deg, var(--color-primary-dark) 0%, var(--color-primary) 60%, var(--color-primary-light) 100%);
    text-align: center;
}

.page-header h1 {
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.page-header .subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ========== SERVICES SNAPSHOT (home) ========== */
.services-snapshot {
    padding: var(--section-padding);
    background: var(--color-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.service-card {
    padding: 2.5rem;
    background: var(--color-white);
    border-radius: 10px;
    border: 1px solid rgba(61, 90, 110, 0.08);
    transition: box-shadow 0.3s;
}

.service-card:hover {
    box-shadow: 0 8px 30px rgba(61, 90, 110, 0.08);
}

.service-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

.service-card-icon.accounting {
    background: rgba(61, 90, 110, 0.08);
    color: var(--color-primary);
}

.service-card-icon.ai {
    background: rgba(196, 146, 62, 0.1);
    color: var(--color-accent);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

/* ========== SOCIAL PROOF ========== */
.social-proof {
    padding: 4rem 1.5rem;
    background: var(--color-bg-warm);
}

.social-proof .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.testimonial { max-width: 600px; }

.testimonial blockquote {
    font-size: 1.15rem;
    font-style: italic;
    color: var(--color-text);
    line-height: 1.7;
    position: relative;
    padding-left: 1.5rem;
    border-left: 3px solid var(--color-accent);
}

.testimonial .attribution {
    margin-top: 1rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text-light);
    padding-left: 1.5rem;
}

.trust-signals {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.trust-badge {
    padding: 0.6rem 1.2rem;
    background: var(--color-white);
    border-radius: 8px;
    font-size: 0.85rem;
    color: var(--color-text-light);
    border: 1px solid rgba(61, 90, 110, 0.1);
}

.geo-badge {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--color-primary);
}

/* ========== BIO TEASER ========== */
.bio-teaser {
    padding: var(--section-padding);
    background: var(--color-bg);
}

.bio-teaser .container {
    display: flex;
    align-items: center;
    gap: 3.5rem;
}

.bio-photo { flex-shrink: 0; }

.bio-photo .photo-placeholder {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 500;
    text-align: center;
    padding: 1rem;
    box-shadow: 0 8px 30px rgba(61, 90, 110, 0.15);
}

/* When Scott adds his headshot image */
.bio-photo img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 8px 30px rgba(61, 90, 110, 0.15);
}

.bio-text h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.bio-text p {
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

/* ========== CONTENT SECTIONS (inner pages) ========== */
.content-section {
    padding: var(--section-padding);
}

.content-section.alt {
    background: var(--color-bg-warm);
}

.content-section.light {
    background: var(--color-bg);
}

.content-section .container {
    max-width: 750px;
    margin: 0 auto;
}

.content-section.wide .container {
    max-width: var(--max-width);
}

.content-section h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.content-section h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    margin-top: 2rem;
}

.content-section h3:first-child {
    margin-top: 0;
}

.content-section p {
    margin-bottom: 1rem;
    line-height: 1.7;
    color: var(--color-text);
}

.content-section p:last-child {
    margin-bottom: 0;
}

/* ========== SERVICE ITEMS (services page) ========== */
.service-items {
    display: grid;
    gap: 2.5rem;
}

.service-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.service-item-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(61, 90, 110, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    margin-top: 0.2rem;
}

.service-item-text h3 {
    font-size: 1.15rem;
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.service-item-text p {
    color: var(--color-text-light);
    line-height: 1.7;
}

/* ========== EXCLUSION SECTION ========== */
.exclusion-section {
    padding: var(--section-padding);
    background: var(--color-bg-section);
}

.exclusion-section .container {
    max-width: 750px;
    margin: 0 auto;
}

.exclusion-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-primary-dark);
}

.exclusion-section p {
    line-height: 1.7;
    color: var(--color-text);
    margin-bottom: 1rem;
}

/* ========== TIER COMPARISON (AI consulting page) ========== */
.tier-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.tier-card {
    background: var(--color-white);
    border-radius: 10px;
    border: 1px solid rgba(61, 90, 110, 0.1);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
}

.tier-card.featured {
    border-color: var(--color-accent);
    box-shadow: 0 4px 20px rgba(196, 146, 62, 0.12);
}

.tier-label {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-light);
    margin-bottom: 0.5rem;
}

.tier-card h3 {
    font-size: 1.3rem;
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.tier-price {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    margin-bottom: 0.25rem;
}

.tier-price-note {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
}

.tier-card p {
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.tier-best-for {
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.tier-includes {
    list-style: none;
    padding: 0;
    margin-top: auto;
}

.tier-includes li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--color-text-light);
    line-height: 1.5;
    font-size: 0.95rem;
}

.tier-includes li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--color-green);
    font-weight: 700;
}

/* ========== TCO TABLES ========== */
.tco-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.95rem;
}

.tco-table th {
    text-align: left;
    padding: 0.75rem 1rem;
    background: var(--color-primary-dark);
    color: var(--color-white);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.03em;
}

.tco-table th:first-child {
    border-radius: 6px 0 0 0;
}

.tco-table th:last-child {
    border-radius: 0 6px 0 0;
}

.tco-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(61, 90, 110, 0.08);
    color: var(--color-text);
}

.tco-table tr:last-child td {
    border-bottom: none;
}

.tco-table tr:nth-child(even) td {
    background: rgba(61, 90, 110, 0.02);
}

.tco-table .total {
    font-weight: 700;
    color: var(--color-primary-dark);
}

/* ========== PULL QUOTE / FIRST PERSON VOICE ========== */
.voice-shift {
    background: var(--color-bg-warm);
    border-radius: 10px;
    padding: 2.5rem;
    margin: 2rem 0;
    border-left: 4px solid var(--color-accent);
}

.voice-shift p {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--color-text);
}

/* ========== ABOUT PAGE ========== */
.about-hero {
    padding: 8rem 1.5rem 3rem;
    background: linear-gradient(165deg, var(--color-primary-dark) 0%, var(--color-primary) 60%, var(--color-primary-light) 100%);
    text-align: center;
}

.about-hero .photo-placeholder {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255,255,255,0.15), rgba(255,255,255,0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 500;
    text-align: center;
    padding: 1rem;
    margin: 0 auto 1.5rem;
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.about-hero img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.5rem;
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.about-hero h1 {
    font-size: 2.2rem;
    color: var(--color-white);
    margin-bottom: 0;
}

.about-bio {
    padding: var(--section-padding);
    background: var(--color-bg);
}

.about-bio .container {
    max-width: 720px;
    margin: 0 auto;
}

.about-bio p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.05rem;
    color: var(--color-text);
}

.about-how {
    padding: var(--section-padding);
    background: var(--color-bg-warm);
}

.about-how .container {
    max-width: 720px;
    margin: 0 auto;
}

.about-how h2 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
}

.about-how p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.05rem;
    color: var(--color-text);
}

/* ========== CONTACT FORM ========== */
.contact-section {
    padding: var(--section-padding);
    background: var(--color-bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 4rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

.contact-info h2 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.contact-info-item .icon {
    flex-shrink: 0;
    width: 20px;
    color: var(--color-primary);
    margin-top: 0.15rem;
}

.contact-info-item a {
    color: var(--color-primary);
    font-weight: 500;
}

.contact-info-item p {
    color: var(--color-text-light);
}

.contact-form {
    background: var(--color-white);
    border-radius: 10px;
    padding: 2.5rem;
    border: 1px solid rgba(61, 90, 110, 0.08);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-primary-dark);
    margin-bottom: 0.4rem;
}

.form-group .optional {
    font-weight: 400;
    color: var(--color-text-light);
    font-size: 0.85rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(61, 90, 110, 0.2);
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-text);
    background: var(--color-bg);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(61, 90, 110, 0.1);
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

.form-submit {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.85rem 2.5rem;
    border-radius: 6px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    background: var(--color-accent);
    color: var(--color-white);
    border: none;
    cursor: pointer;
    transition: all 0.25s;
}

.form-submit:hover {
    background: var(--color-accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(196, 146, 62, 0.3);
}

/* Success message (shown after form submission) */
.form-success {
    display: none;
    text-align: center;
    padding: 3rem 2rem;
}

.form-success h3 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    color: var(--color-green);
}

.form-success p {
    color: var(--color-text-light);
    line-height: 1.6;
}

/* ========== CTA STRIP ========== */
.cta-strip {
    padding: 4rem 1.5rem;
    background: var(--color-primary-dark);
    text-align: center;
}

.cta-strip h2 {
    font-size: 1.6rem;
    color: var(--color-white);
    margin-bottom: 0.75rem;
}

.cta-strip p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-strip .btn-primary {
    font-size: 1rem;
    padding: 1rem 2.2rem;
}

/* ========== FOOTER ========== */
.footer {
    padding: 3rem 1.5rem;
    background: var(--color-primary-dark);
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
}

.footer-brand {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 0.5rem;
}

.footer-location {
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    transition: color 0.2s;
}

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

.footer-copyright {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ========== SOCIAL PROOF PLACEHOLDER (inner pages) ========== */
.proof-placeholder {
    text-align: center;
    padding: 2rem;
    background: var(--color-white);
    border-radius: 10px;
    border: 1px dashed rgba(61, 90, 110, 0.15);
    color: var(--color-text-light);
    font-style: italic;
    margin-top: 2rem;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    :root { --section-padding: 3.5rem 1.25rem; }

    .nav-links { display: none; }
    .hamburger { display: block; }

    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-white);
        padding: 1rem 1.5rem 1.5rem;
        border-bottom: 1px solid rgba(61, 90, 110, 0.1);
        gap: 0.8rem;
    }

    .hero { min-height: 70vh; padding: 7rem 1.25rem 4rem; }
    .hero h1 { font-size: 2.2rem; }
    .hero-subtitle { font-size: 1.05rem; }
    .hero-ctas { flex-direction: column; align-items: center; }
    .hero-ctas .btn { width: 100%; max-width: 280px; justify-content: center; }

    .page-header { padding: 7rem 1.25rem 2.5rem; }
    .page-header h1 { font-size: 2rem; }

    .services-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .service-card { padding: 1.8rem; }

    .social-proof .container { flex-direction: column; text-align: center; }
    .testimonial blockquote { padding-left: 0; border-left: none; border-top: 3px solid var(--color-accent); padding-top: 1rem; }
    .testimonial .attribution { padding-left: 0; }

    .bio-teaser .container { flex-direction: column; text-align: center; }
    .bio-photo .photo-placeholder { width: 160px; height: 160px; margin: 0 auto; }
    .bio-photo img { width: 160px; height: 160px; margin: 0 auto; }

    .tier-grid { grid-template-columns: 1fr; }

    .tco-table { font-size: 0.85rem; }
    .tco-table th, .tco-table td { padding: 0.6rem 0.5rem; }

    .contact-grid { grid-template-columns: 1fr; gap: 2rem; }

    .service-item { flex-direction: column; gap: 0.75rem; }

    .about-hero { padding: 7rem 1.25rem 2.5rem; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.8rem; }
    .page-header h1 { font-size: 1.6rem; }
    body { font-size: 16px; }
    .tier-card { padding: 1.8rem; }
    .contact-form { padding: 1.5rem; }
}
