/* ============================================
   COMBS INTELLIGENCE GROUP — Design System
   ============================================ */

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

:root {
    --bg-deep: #080c14;
    --bg-section: #0d1220;
    --bg-card: #131a2b;
    --bg-card-hover: #1a2340;
    --text-primary: #e8e4dd;
    --text-secondary: #8f9bab;
    --text-muted: #5a6677;
    --accent: #c8965a;
    --accent-light: #dbb07a;
    --accent-glow: rgba(200, 150, 90, 0.08);
    --accent-glow-strong: rgba(200, 150, 90, 0.15);
    --border: rgba(200, 150, 90, 0.12);
    --border-strong: rgba(200, 150, 90, 0.25);
    --max-width: 1100px;
    --transition: 0.3s ease;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-deep);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============ TYPOGRAPHY ============ */

h1, h2, h3, h4 {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

h1 {
    font-weight: 800;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
}

h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
}

h3 {
    font-size: 1.15rem;
}

h1 em, h2 em {
    font-style: normal;
    color: var(--accent);
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color var(--transition);
}

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

/* ============ NAV ============ */

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(8, 12, 20, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.logo {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo span {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: color var(--transition);
    position: relative;
}

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

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--accent);
}

.nav-cta {
    font-size: 0.8rem !important;
    color: var(--bg-deep) !important;
    background: var(--accent);
    padding: 0.5rem 1.25rem;
    border-radius: 6px;
    font-weight: 600 !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase;
    transition: all var(--transition) !important;
}

.nav-cta:hover {
    background: var(--accent-light) !important;
    color: var(--bg-deep) !important;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    flex-direction: column;
    gap: 5px;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--text-primary);
    transition: all var(--transition);
}

.nav-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
}

/* ============ LAYOUT ============ */

.section {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 6rem 2rem;
}

.section-alt {
    background: var(--bg-section);
    padding: 6rem 2rem;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section-alt .section-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.section-label {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.divider {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.divider-line {
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border), transparent);
}

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

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8rem 2rem 6rem;
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 15%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(200, 150, 90, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.hero-label {
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 2rem;
    font-weight: 600;
}

.hero h1 {
    margin-bottom: 2rem;
    max-width: 900px;
}

.hero-sub {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 620px;
    line-height: 1.8;
    margin-bottom: 3rem;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

/* ============ BUTTONS ============ */

.btn-primary {
    display: inline-block;
    background: var(--accent);
    color: var(--bg-deep);
    padding: 0.85rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.03em;
    text-decoration: none;
    transition: all var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--accent-light);
    color: var(--bg-deep);
    transform: translateY(-1px);
}

.btn-secondary {
    display: inline-block;
    color: var(--text-secondary);
    padding: 0.85rem 2rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    text-decoration: none;
    border: 1px solid var(--border);
    transition: all var(--transition);
}

.btn-secondary:hover {
    color: var(--text-primary);
    border-color: var(--border-strong);
}

/* ============ STATS ============ */

.hero-stats {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat {
    border-left: 2px solid var(--accent);
    padding-left: 1.25rem;
}

.stat-number {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 2rem;
    color: var(--text-primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.35rem;
}

/* ============ CARDS ============ */

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

.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    transition: border-color var(--transition);
}

.card:hover {
    border-color: var(--border-strong);
}

.card h3 {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--accent-glow);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: var(--accent);
    font-size: 1.1rem;
}

/* ============ PROGRAM CARDS ============ */

.program-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.program-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 2rem;
    align-items: start;
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: all var(--transition);
    text-decoration: none;
    color: inherit;
}

.program-item:hover {
    border-color: var(--border-strong);
    background: var(--bg-card-hover);
    color: inherit;
}

.program-number {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--accent);
    min-width: 2.5rem;
}

.program-content h3 {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.program-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.program-tag {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    background: var(--accent-glow);
    border: 1px solid var(--border);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    white-space: nowrap;
    font-weight: 600;
}

/* ============ FRAMEWORK VISUAL ============ */

.framework {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.framework-step {
    text-align: center;
    padding: 1.5rem 2rem;
    position: relative;
}

.framework-step-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
    color: var(--accent);
    font-size: 1.1rem;
    background: var(--accent-glow);
}

.framework-step-label {
    font-family: 'Syne', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-primary);
}

.framework-step-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.framework-arrow {
    color: var(--accent);
    font-size: 1.5rem;
    opacity: 0.4;
    margin: 0 -0.5rem;
    align-self: center;
}

/* ============ QUOTE / CALLOUT ============ */

.callout {
    border-left: 3px solid var(--accent);
    padding: 2rem 2.5rem;
    margin: 3rem 0;
    background: var(--accent-glow);
    border-radius: 0 12px 12px 0;
}

.callout p {
    font-family: 'Syne', sans-serif;
    font-weight: 600;
    font-size: 1.3rem;
    line-height: 1.5;
    color: var(--text-primary);
}

.callout cite {
    display: block;
    font-style: normal;
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.75rem;
}

/* ============ TWO-COL LAYOUT ============ */

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

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

.two-col-text p:last-child {
    margin-bottom: 0;
}

.two-col-text strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* ============ BIO / HEADSHOT ============ */

.headshot-container {
    position: relative;
}

.headshot {
    width: 100%;
    max-width: 400px;
    border-radius: 12px;
    border: 1px solid var(--border);
    filter: grayscale(10%);
}

.headshot-label {
    margin-top: 1rem;
}

.headshot-label h3 {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
}

.headshot-label p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

/* ============ AUDIENCE TAGS ============ */

.audience-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.audience-tag {
    font-size: 0.9rem;
    color: var(--text-secondary);
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 0.65rem 1.25rem;
    border-radius: 8px;
    font-weight: 500;
}

/* ============ EXPERTISE LIST ============ */

.expertise-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

.expertise-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.expertise-item::before {
    content: '→';
    color: var(--accent);
    font-weight: 600;
    flex-shrink: 0;
}

/* ============ FORMS ============ */

.form-container {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: var(--bg-deep);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.85rem 1rem;
    color: var(--text-primary);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    transition: border-color var(--transition);
    outline: none;
    width: 100%;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%235a6677' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}

.form-group select option {
    background: var(--bg-card);
    color: var(--text-primary);
}

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

.form-submit {
    margin-top: 1.5rem;
}

.form-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 1rem;
    line-height: 1.6;
}

.form-success {
    display: none;
    text-align: center;
    padding: 3rem 2rem;
}

.form-success.show {
    display: block;
}

.form-success h3 {
    font-family: 'Syne', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

.form-success p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
}

.form-error {
    background: rgba(220, 60, 60, 0.1);
    border: 1px solid rgba(220, 60, 60, 0.3);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    color: #dc3c3c;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    display: none;
}

.form-error.show {
    display: block;
}

/* ============ CONTACT SIDEBAR ============ */

.contact-sidebar {
    padding: 2rem;
}

.contact-sidebar h3 {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.contact-method {
    margin-bottom: 2rem;
}

.contact-method-label {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-method a,
.contact-method p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

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

.page-header {
    padding: 10rem 2rem 4rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

.page-header h1 {
    margin-bottom: 1.5rem;
}

.page-header p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 620px;
    line-height: 1.8;
}

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

.closing {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 8rem 2rem;
    text-align: center;
}

.closing h2 {
    font-weight: 800;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.closing p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 550px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
}

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

footer {
    border-top: 1px solid var(--border);
    padding: 3rem 2rem 2rem;
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand {
    max-width: 350px;
}

.footer-logo {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.footer-logo span {
    color: var(--accent);
}

.footer-brand p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.footer-links {
    display: flex;
    gap: 3rem;
}

.footer-col h4 {
    font-family: 'Syne', sans-serif;
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.footer-col a {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.4rem;
    text-decoration: none;
}

.footer-col a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    max-width: var(--max-width);
    margin: 0 auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    font-size: 0.75rem;
    color: var(--text-muted);
}

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

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

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

/* ============ MOBILE NAV OVERLAY ============ */

.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(8, 12, 20, 0.98);
    backdrop-filter: blur(20px);
    z-index: 99;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.mobile-nav.open {
    display: flex;
}

.mobile-nav a {
    font-family: 'Syne', sans-serif;
    font-weight: 600;
    font-size: 1.5rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: color var(--transition);
}

.mobile-nav a:hover {
    color: var(--accent);
}

.mobile-nav .nav-cta {
    font-size: 1rem !important;
    padding: 0.75rem 2rem;
}

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

@media (max-width: 768px) {
    nav { padding: 1rem 1.5rem; }

    .nav-links { display: none; }

    .nav-toggle { display: flex; }

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

    .hero-cta { flex-direction: column; align-items: flex-start; }

    .hero-stats { gap: 2rem; }

    .section { padding: 4rem 1.5rem; }

    .section-alt { padding: 4rem 1.5rem; }

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

    .two-col {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .program-item {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .program-number { font-size: 1.2rem; }

    .program-tag { justify-self: start; }

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

    .framework-arrow {
        transform: rotate(90deg);
    }

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

    .form-row { grid-template-columns: 1fr; }

    .page-header { padding: 7rem 1.5rem 3rem; }

    .closing { padding: 5rem 1.5rem; }

    .footer-inner {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 1.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }

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

    .callout { padding: 1.5rem; }
    .callout p { font-size: 1.1rem; }
}
