/* footprint.broker - Consultancy Professional Grid */
/* Palette: #ffffff, #111827, #059669, #064e3b, #f0fdf4, #6b7280, #d1d5db */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #ffffff;
    color: #111827;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    line-height: 1.7;
}

/* ===================== HEADER ===================== */

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #ffffff;
}

.header-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 1.25rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.leaf-icon {
    flex-shrink: 0;
}

.brand-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: #064e3b;
    letter-spacing: -0.01em;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-size: 0.8rem;
    font-weight: 400;
    color: #6b7280;
    cursor: pointer;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: #059669;
}

.market-hours {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.market-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #059669;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.market-hours-text {
    font-size: 0.7rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.header-rule {
    height: 2px;
    background: linear-gradient(to right, #059669 0%, #059669 100%);
    opacity: 0.3;
    position: relative;
}

.header-rule::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    right: 0;
    height: 1px;
    background: #059669;
    opacity: 0.15;
}

/* ===================== HERO ===================== */

.hero {
    background: #ffffff;
    padding: 6rem 2rem 4rem;
}

.hero-inner {
    max-width: 1120px;
    margin: 0 auto;
}

.hero-title {
    font-weight: 700;
    font-size: clamp(2rem, 4.5vw, 3rem);
    line-height: 1.15;
    color: #111827;
    max-width: 680px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1rem;
    color: #6b7280;
    margin-top: 1.25rem;
    max-width: 520px;
    line-height: 1.7;
}

.accent-line {
    width: 64px;
    height: 3px;
    background: #059669;
    margin-top: 2rem;
    margin-bottom: 3.5rem;
}

/* Stat Bar */
.stat-bar {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 2rem 0;
    border-top: 1px solid #d1d5db;
    border-bottom: 1px solid #d1d5db;
}

.stat-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0 1.5rem;
}

.stat-item:first-child {
    padding-left: 0;
}

.stat-value {
    font-family: 'Source Code Pro', monospace;
    font-size: 1.75rem;
    font-weight: 400;
    color: #111827;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.75rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.stat-divider {
    width: 1px;
    height: 48px;
    background: #d1d5db;
    flex-shrink: 0;
}

/* ===================== SERVICES ===================== */

.services {
    background: #ffffff;
    padding: 5rem 2rem;
}

.services-inner {
    max-width: 1120px;
    margin: 0 auto;
}

.section-heading {
    font-weight: 700;
    font-size: 1.1rem;
    color: #111827;
    margin-bottom: 2.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #d1d5db;
}

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

.service-module {
    border: 1px solid #d1d5db;
    padding: 1.75rem;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.service-module:hover {
    border-color: #059669;
    box-shadow: 0 1px 8px rgba(5, 150, 105, 0.08);
}

.service-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f0fdf4;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.service-title {
    font-weight: 600;
    font-size: 0.95rem;
    color: #111827;
    margin-bottom: 0.5rem;
}

.service-desc {
    font-size: 0.85rem;
    color: #6b7280;
    line-height: 1.65;
}

/* ===================== MARKET DATA ===================== */

.market-data {
    background: #ffffff;
    padding: 5rem 2rem;
}

.market-data-inner {
    max-width: 1120px;
    margin: 0 auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.data-table thead th {
    text-align: left;
    font-weight: 600;
    font-size: 0.75rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.75rem 1rem;
    border-bottom: 2px solid #d1d5db;
}

.data-table tbody tr {
    transition: background 0.15s ease;
}

.data-table tbody tr:nth-child(even) {
    background: #f0fdf4;
}

.data-table tbody tr:hover {
    background: #ecfdf5;
}

.data-table tbody td {
    padding: 0.75rem 1rem;
    color: #111827;
    border-bottom: 1px solid #d1d5db;
}

.data-mono {
    font-family: 'Source Code Pro', monospace;
}

.data-green {
    color: #059669;
    font-weight: 400;
}

/* ===================== CTA ===================== */

.cta {
    background: #064e3b;
    padding: 5rem 2rem;
}

.cta-inner {
    max-width: 1120px;
    margin: 0 auto;
    text-align: center;
}

.cta-title {
    font-weight: 700;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    color: #ffffff;
    letter-spacing: -0.02em;
}

.cta-subtitle {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 1rem;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2.5rem;
}

.cta-button {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: #059669;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid #059669;
    transition: background 0.2s ease, transform 0.15s ease;
}

.cta-button:hover {
    background: #047857;
    transform: translateY(-1px);
}

.cta-button-outline {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: transparent;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: border-color 0.2s ease, background 0.2s ease;
}

.cta-button-outline:hover {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

.cta-contact {
    margin-top: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-contact-item {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

.cta-contact-divider {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.2);
}

/* ===================== FOOTER ===================== */

.footer {
    background: #ffffff;
    padding: 2rem;
    border-top: 1px solid #d1d5db;
}

.footer-inner {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand {
    font-weight: 700;
    font-size: 0.8rem;
    color: #064e3b;
}

.footer-copy {
    font-size: 0.7rem;
    color: #6b7280;
}

/* ===================== ANIMATIONS ===================== */

.fade-in {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation for service modules */
.services-grid .service-module:nth-child(1) { transition-delay: 0s; }
.services-grid .service-module:nth-child(2) { transition-delay: 0.08s; }
.services-grid .service-module:nth-child(3) { transition-delay: 0.16s; }
.services-grid .service-module:nth-child(4) { transition-delay: 0.24s; }
.services-grid .service-module:nth-child(5) { transition-delay: 0.32s; }
.services-grid .service-module:nth-child(6) { transition-delay: 0.4s; }

/* ===================== RESPONSIVE ===================== */

@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-bar {
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .stat-divider {
        display: none;
    }

    .stat-item {
        flex: 0 0 calc(50% - 0.75rem);
        padding: 0;
    }

    .data-table {
        font-size: 0.8rem;
    }

    .data-table thead th,
    .data-table tbody td {
        padding: 0.6rem 0.5rem;
    }
}

@media (max-width: 640px) {
    .header-inner {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .nav {
        gap: 1.25rem;
    }

    .market-hours {
        display: none;
    }

    .hero {
        padding: 4rem 1.5rem 3rem;
    }

    .services {
        padding: 3rem 1.5rem;
    }

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

    .market-data {
        padding: 3rem 1.5rem;
    }

    .data-table-wrapper {
        overflow-x: auto;
    }

    .cta {
        padding: 3.5rem 1.5rem;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }

    .cta-contact {
        flex-direction: column;
        gap: 0.5rem;
    }

    .cta-contact-divider {
        display: none;
    }

    .footer-inner {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}
