/* ==========================================================================
   Big Pine Marketing — Production Styles
   Updated: 2025-01-26
   ========================================================================== */

/* ==========================================================================
   DESIGN TOKENS
   ========================================================================== */
:root {
    /* Colors */
    --ink-black: #0f0f0f;
    --forest-green: #1a3d2e;
    --paper-white: #fafafa;
    --accent-orange: #ff6b35;
    --muted-sage: #a8c5b8;
    --light-gray: #e8e8e8;
    
    /* Semantic */
    --text-primary: var(--ink-black);
    --text-secondary: #555555;
    --text-muted: #888888;
    --text-inverse: var(--paper-white);
    
    /* Typography */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Instrument Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    
    /* Borders */
    --border-medium: 2px;
    --border-thick: 3px;
    --border-heavy: 4px;
    
    /* Shadows */
    --shadow-md: 5px 5px 0 var(--ink-black);
    --shadow-lg: 8px 8px 0 var(--ink-black);
    
    /* Transitions */
    --transition-fast: 0.1s ease;
    --transition-default: 0.2s ease;
    
    /* Layout */
    --container-max: 1400px;
    --content-max: 1600px;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--paper-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

::selection {
    background: var(--muted-sage);
    color: var(--ink-black);
}

/* Skip Link */
.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.skip-link:focus {
    position: fixed;
    top: 0;
    left: 0;
    width: auto;
    height: auto;
    padding: var(--space-md);
    background: var(--accent-orange);
    color: var(--ink-black);
    font-weight: 700;
    z-index: 9999;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.header {
    border-bottom: var(--border-heavy) solid var(--ink-black);
    border-left: var(--border-heavy) solid var(--ink-black);
    border-right: var(--border-heavy) solid var(--ink-black);
    max-width: var(--content-max);
    margin: 0 auto;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md) var(--space-xl);
    border-bottom: 1px solid var(--light-gray);
}

.tagline {
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.tagline-phone {
    text-decoration: none;
    transition: color var(--transition-fast);
}

.tagline-phone:hover {
    color: var(--forest-green);
}

.header-main {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: var(--space-lg) var(--space-xl);
}

.nav-left, .nav-right {
    display: flex;
    gap: var(--space-xl);
}

.nav-right {
    justify-content: flex-end;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--ink-black);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-orange);
    transition: width var(--transition-default);
}

.nav-link:hover::after {
    width: 100%;
}

.logo-wrap {
    text-align: center;
}

.logo-link {
    display: block;
}

.logo {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--forest-green);
    letter-spacing: -0.02em;
    line-height: 1;
}

.logo-sub {
    display: block;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-top: 0.25rem;
    color: var(--ink-black);
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 85vh;
    max-width: var(--content-max);
    margin: 0 auto;
    border-left: var(--border-heavy) solid var(--ink-black);
    border-right: var(--border-heavy) solid var(--ink-black);
}

.hero-left {
    background: var(--forest-green);
    color: var(--paper-white);
    padding: var(--space-3xl);
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-left::before {
    content: 'AI';
    position: absolute;
    font-family: var(--font-display);
    font-size: 35rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.hero-stat {
    position: relative;
    z-index: 1;
}

.hero-number {
    font-family: var(--font-display);
    font-size: 12rem;
    font-weight: 900;
    color: var(--muted-sage);
    line-height: 0.8;
    margin-bottom: var(--space-md);
}

.hero-stat-label {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: var(--space-3xl);
}

.hero-quote {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    font-style: italic;
    line-height: 1.4;
    max-width: 400px;
    position: relative;
    padding-left: var(--space-xl);
}

.hero-quote::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--accent-orange);
}

.hero-right {
    padding: var(--space-3xl);
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-left: var(--border-heavy) solid var(--ink-black);
}

.hero-headline {
    font-family: var(--font-display);
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: var(--space-xl);
    letter-spacing: -0.02em;
}

.hero-headline .accent {
    color: var(--accent-orange);
    font-style: italic;
}

.hero-body {
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: var(--space-2xl);
    max-width: 500px;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-md);
    font-family: var(--font-body);
    font-weight: 700;
    transition: all var(--transition-fast);
}

.btn-primary {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 1.25rem 2rem;
    background: var(--accent-orange);
    color: var(--ink-black);
    border: var(--border-thick) solid var(--ink-black);
}

.btn-primary:hover {
    background: var(--ink-black);
    color: var(--paper-white);
}

.btn-arrow {
    font-size: 1.5rem;
    transition: transform var(--transition-fast);
}

.btn:hover .btn-arrow {
    transform: translateX(5px);
}

/* ==========================================================================
   SECTION DIVIDER
   ========================================================================== */
.section-divider {
    display: flex;
    align-items: center;
    padding: 0 var(--space-xl);
    background: var(--ink-black);
    color: var(--paper-white);
    max-width: var(--content-max);
    margin: 0 auto;
    border-left: var(--border-heavy) solid var(--ink-black);
    border-right: var(--border-heavy) solid var(--ink-black);
}

.section-divider-text {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    padding: var(--space-md) 0;
}

/* ==========================================================================
   SERVICES
   ========================================================================== */
.services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: var(--content-max);
    margin: 0 auto;
    border-left: var(--border-heavy) solid var(--ink-black);
    border-right: var(--border-heavy) solid var(--ink-black);
}

.service-card {
    padding: var(--space-2xl) var(--space-xl);
    border-right: var(--border-medium) solid var(--ink-black);
    border-bottom: var(--border-heavy) solid var(--ink-black);
    position: relative;
}

.service-card:last-child {
    border-right: none;
}

.service-number {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 900;
    color: var(--light-gray);
    position: absolute;
    top: var(--space-md);
    right: var(--space-lg);
    line-height: 1;
}

.service-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--forest-green);
    margin-bottom: var(--space-md);
}

.service-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ==========================================================================
   RESULTS / STATS
   ========================================================================== */
.results {
    display: grid;
    grid-template-columns: 1fr 2fr;
    max-width: var(--content-max);
    margin: 0 auto;
    border-left: var(--border-heavy) solid var(--ink-black);
    border-right: var(--border-heavy) solid var(--ink-black);
}

.results-left {
    background: var(--muted-sage);
    padding: var(--space-3xl);
    border-right: var(--border-heavy) solid var(--ink-black);
    border-bottom: var(--border-heavy) solid var(--ink-black);
}

.results-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: var(--space-md);
    color: var(--forest-green);
}

.results-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--forest-green);
}

.results-right {
    padding: var(--space-3xl);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-2xl);
    border-bottom: var(--border-heavy) solid var(--ink-black);
}

.stat {
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 900;
    color: var(--accent-orange);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: var(--space-sm);
}

/* ==========================================================================
   VALUE PROP
   ========================================================================== */
.value-prop {
    padding: var(--space-4xl) var(--space-xl);
    max-width: var(--content-max);
    margin: 0 auto;
    border-left: var(--border-heavy) solid var(--ink-black);
    border-right: var(--border-heavy) solid var(--ink-black);
}

.value-prop-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--forest-green);
    margin-bottom: var(--space-lg);
}

.value-prop-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
}

.value-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    font-size: 1rem;
}

.value-check {
    color: var(--forest-green);
    font-weight: bold;
    margin-top: 2px;
}

.value-tagline {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    font-style: italic;
    color: var(--ink-black);
}

/* ==========================================================================
   CTA SECTION
   ========================================================================== */
.cta-section {
    background: var(--forest-green);
    padding: var(--space-4xl) var(--space-xl);
    text-align: center;
    max-width: var(--content-max);
    margin: 0 auto;
    border-left: var(--border-heavy) solid var(--ink-black);
    border-right: var(--border-heavy) solid var(--ink-black);
}

.cta-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--paper-white);
    margin-bottom: var(--space-md);
}

.cta-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-xl);
}

.cta-section .btn-primary {
    background: var(--accent-orange);
    color: var(--ink-black);
}

.cta-section .btn-primary:hover {
    background: var(--paper-white);
    color: var(--forest-green);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background: var(--ink-black);
    padding: var(--space-2xl);
    max-width: var(--content-max);
    margin: 0 auto;
    border-left: var(--border-heavy) solid var(--ink-black);
    border-right: var(--border-heavy) solid var(--ink-black);
    border-bottom: var(--border-heavy) solid var(--ink-black);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: var(--space-sm);
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--paper-white);
}

.footer-info {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-phone {
    color: var(--paper-white);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-phone:hover {
    color: var(--accent-orange);
}

.footer-link {
    color: var(--accent-orange);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color var(--transition-fast);
}

.footer-link:hover {
    color: var(--paper-white);
}

.footer-legal {
    margin: var(--space-lg) auto 0;
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hero-right {
        border-left: none;
        border-top: var(--border-heavy) solid var(--ink-black);
    }

    .hero-number {
        font-size: 8rem;
    }

    .hero-headline {
        font-size: 3rem;
    }

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

    .service-card {
        border-right: none;
    }

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

    .results-left {
        border-right: none;
    }

    .results-right {
        grid-template-columns: repeat(3, 1fr);
    }

    .header-main {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .nav-left, .nav-right {
        justify-content: center;
    }

    .value-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-left, .hero-right {
        padding: var(--space-xl);
    }

    .hero-number {
        font-size: 5rem;
    }

    .hero-headline {
        font-size: 2.5rem;
    }

    .results-right {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-content {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }

    .header-top {
        flex-direction: column;
        gap: var(--space-sm);
    }

    .stat-number {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .hero-headline {
        font-size: 2rem;
    }

    .btn-primary {
        width: 100%;
        justify-content: center;
    }

    .nav-left, .nav-right {
        gap: var(--space-md);
    }

    .nav-link {
        font-size: 0.8rem;
    }
}
/* ==========================================================================
   FORM STYLES
   ========================================================================== */

.audit-form {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 0 var(--space-md);
    box-sizing: border-box;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.form-group {
    display: block;
    width: 100%;
    margin-bottom: var(--space-lg);
}

.form-row .form-group {
    margin-bottom: 0;
}

.form-label {
    display: block;
    width: 100%;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--paper-white);
    margin-bottom: var(--space-sm);
    text-align: left;
}

.form-optional {
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    opacity: 0.6;
}

.form-input {
    display: block;
    width: 100%;
    padding: var(--space-md);
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--ink-black);
    background: var(--paper-white);
    border: 3px solid var(--ink-black);
    border-radius: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    box-sizing: border-box;
}

.form-input::placeholder {
    color: var(--text-muted);
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-orange);
    box-shadow: 4px 4px 0 rgba(0,0,0,0.3);
}

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

.btn-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: var(--space-md);
    padding: var(--space-md) var(--space-lg);
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .cta-section {
        padding: var(--space-3xl) var(--space-lg);
    }

    .cta-title {
        font-size: 1.75rem;
        line-height: 1.2;
        margin-bottom: var(--space-md);
    }

    .cta-subtitle {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: var(--space-2xl);
    }

    .audit-form {
        padding: 0;
        max-width: 100%;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
        margin-bottom: var(--space-md);
    }

    .form-row .form-group {
        margin-bottom: var(--space-md);
    }

    .form-row .form-group:last-child {
        margin-bottom: 0;
    }

    .form-group {
        margin-bottom: var(--space-md);
    }

    .form-label {
        font-size: 0.8rem;
        letter-spacing: 0.08em;
        margin-bottom: var(--space-sm);
    }

    .form-input {
        padding: var(--space-md);
        font-size: 16px; /* Prevents iOS zoom on focus */
        border-width: 3px;
    }

    .form-input:focus {
        box-shadow: 3px 3px 0 rgba(0,0,0,0.3);
    }

    .form-textarea {
        min-height: 120px;
    }

    .btn-submit {
        padding: var(--space-lg) var(--space-xl);
        font-size: 0.95rem;
        margin-top: var(--space-lg);
    }
}

/* Extra small devices (iPhone SE, etc.) */
@media (max-width: 375px) {
    .cta-section {
        padding: var(--space-2xl) var(--space-md);
    }

    .cta-title {
        font-size: 1.5rem;
    }

    .cta-subtitle {
        font-size: 0.95rem;
    }

    .form-label {
        font-size: 0.75rem;
    }

    .btn-submit {
        padding: var(--space-md) var(--space-lg);
        font-size: 0.9rem;
    }
}
