/* LAC Financial Intelligence — Site Styles */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --primary: #0f2744;
    --primary-dark: #0a1a2e;
    --accent: #0d9488;
    --accent-light: #14b8a6;
    --accent-gold: #c9a227;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --bg-light: #f1f5f9;
    --bg-white: #ffffff;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 2px rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    --radius: 10px;
}

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.65;
    color: var(--text-dark);
    background: var(--bg-white);
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.skip-link {
    position: absolute; top: -100px; left: 0; z-index: 9999;
    background: var(--primary); color: #fff; padding: 0.75rem 1rem;
}
.skip-link:focus { top: 0; }

/* Navigation */
.navbar {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky; top: 0; z-index: 1000;
    padding: 0.85rem 0;
}

.nav-wrapper { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }

.logo {
    display: flex; align-items: center; gap: 0.75rem;
    text-decoration: none; flex-shrink: 0;
}
.logo-mark { width: 44px; height: 44px; flex-shrink: 0; display: block; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-title {
    font-size: 1.4rem; font-weight: 700; color: var(--primary);
    letter-spacing: 0.03em;
}
.logo-subtitle {
    font-size: 0.875rem; font-weight: 600; color: var(--accent);
    white-space: nowrap;
}
.logo-img { height: 56px; width: auto; max-width: none; }

.nav-menu {
    display: flex; list-style: none; gap: 1.5rem; align-items: center;
}

.nav-menu a {
    text-decoration: none; color: var(--text-dark);
    font-weight: 500; font-size: 0.95rem;
    transition: color 0.2s;
}
.nav-menu a:hover, .nav-menu a:focus-visible, .nav-menu a.active { color: var(--accent); }

.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
    background: none; border: none; font: inherit;
    color: var(--text-dark); font-weight: 500; cursor: pointer; padding: 0;
}
.nav-dropdown-toggle:hover, .nav-dropdown-toggle:focus-visible { color: var(--accent); }

.nav-submenu {
    display: none; position: absolute; top: 100%; left: 0;
    min-width: 280px; background: var(--bg-white);
    border: 1px solid var(--border); border-radius: var(--radius);
    box-shadow: var(--shadow-lg); padding: 0.5rem;
    list-style: none; margin: 0; z-index: 1100;
}
.nav-submenu::before {
    content: ""; position: absolute; top: -0.75rem; left: 0; right: 0; height: 0.75rem;
}
.nav-dropdown:hover .nav-submenu,
.nav-dropdown.open .nav-submenu { display: block; }
.nav-submenu a {
    display: block; padding: 0.55rem 0.75rem; border-radius: 8px;
}
.nav-submenu a:hover { background: rgba(13, 148, 136, 0.08); color: var(--accent); }

.btn-nav {
    background: var(--accent) !important; color: #fff !important;
    padding: 0.5rem 1.25rem !important; border-radius: 8px;
}
.btn-nav:hover { background: var(--primary) !important; color: #fff !important; }

.mobile-menu-toggle {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 0.5rem;
}
.mobile-menu-toggle span {
    display: block; width: 24px; height: 2px;
    background: var(--text-dark); transition: 0.3s;
}

/* Buttons */
.btn {
    display: inline-block; padding: 0.85rem 1.75rem;
    border-radius: 8px; font-weight: 600; font-size: 1rem;
    text-decoration: none; border: 2px solid transparent;
    cursor: pointer; transition: all 0.2s; text-align: center;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--primary); }
.btn-secondary { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-secondary:hover { background: var(--primary); color: #fff; }
.btn-gold { background: var(--accent-gold); color: var(--primary-dark); }
.btn-gold:hover { background: #b8921f; }

/* Hero */
.hero {
    position: relative; overflow: hidden;
    padding: 5rem 0 4.5rem;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, #134e4a 100%);
    color: #fff;
}
.hero::before {
    content: ""; position: absolute; inset: 0;
    background: url('branding/images/hero-financial-intelligence.png') center/cover no-repeat;
    opacity: 0.18;
}
.hero .container { position: relative; z-index: 1; }
.hero-content { max-width: 820px; }
.hero-eyebrow {
    display: inline-block; font-size: 0.85rem; font-weight: 600;
    letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--accent-light); margin-bottom: 1rem;
}
.hero-title {
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    line-height: 1.15; font-weight: 700; margin-bottom: 1.25rem;
}
.hero-subtitle { font-size: 1.15rem; opacity: 0.92; margin-bottom: 1rem; max-width: 720px; }
.hero-tagline {
    font-size: 1rem; opacity: 0.85; margin-bottom: 2rem;
    padding-left: 1rem; border-left: 3px solid var(--accent-gold);
}
.hero-formula {
    display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem;
}
.hero-formula span {
    background: rgba(255,255,255,0.12); padding: 0.35rem 0.75rem;
    border-radius: 999px; font-size: 0.85rem; font-weight: 500;
}
.hero-formula span.plus { background: none; padding: 0 0.15rem; opacity: 0.6; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; }

/* Page hero (inner pages) */
.page-hero {
    padding: 4rem 0 3rem;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: #fff;
}
.page-hero h1 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); margin-bottom: 1rem; }
.page-hero-lead { font-size: 1.1rem; opacity: 0.9; max-width: 760px; }

/* Sections */
section { padding: 4.5rem 0; }
section:nth-child(even):not(.hero):not(.cta):not(.page-hero) { background: var(--bg-light); }

.section-header { text-align: center; max-width: 780px; margin: 0 auto 3rem; }
.section-header h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); color: var(--primary); margin-bottom: 0.75rem; }
.section-header h3 { font-size: 1.15rem; color: var(--accent); font-weight: 600; margin-bottom: 0.75rem; }
.section-subtitle { color: var(--text-light); font-size: 1.05rem; }

/* Capability cards */
.capability-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.75rem;
}
.capability-card {
    background: var(--bg-white); border-radius: var(--radius);
    padding: 2rem; box-shadow: var(--shadow-md);
    border-top: 4px solid var(--accent);
    transition: transform 0.2s, box-shadow 0.2s;
}
.capability-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.capability-card h3 { color: var(--primary); margin-bottom: 0.75rem; font-size: 1.25rem; }
.capability-card h3 a { color: inherit; text-decoration: none; }
.capability-card h3 a:hover { color: var(--accent); }
.capability-card p { color: var(--text-light); margin-bottom: 1rem; }
.capability-card .card-link { color: var(--accent); font-weight: 600; text-decoration: none; }
.capability-card .card-link:hover { text-decoration: underline; }

/* Industry split */
.industry-split {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}
.industry-card {
    background: var(--bg-white); border-radius: var(--radius);
    overflow: hidden; box-shadow: var(--shadow-md);
    transition: transform 0.2s;
}
.industry-card:hover { transform: translateY(-4px); }
.industry-card img { width: 100%; height: 220px; object-fit: cover; display: block; }
.industry-card-body { padding: 1.75rem; }
.industry-card-body h3 { color: var(--primary); margin-bottom: 0.5rem; font-size: 1.35rem; }
.industry-card-body h4 { color: var(--accent); font-size: 1rem; margin-bottom: 0.75rem; font-weight: 600; }
.industry-card-body p { color: var(--text-light); margin-bottom: 1rem; }
.industry-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.25rem; }
.industry-tags span {
    font-size: 0.78rem; background: var(--bg-light);
    padding: 0.25rem 0.6rem; border-radius: 999px; color: var(--text-dark);
}

/* Decision intelligence ladder */
.intelligence-ladder { max-width: 900px; margin: 0 auto; }
.ladder-step {
    display: flex; gap: 1.25rem; align-items: flex-start;
    padding: 1.25rem 0; border-bottom: 1px solid var(--border);
}
.ladder-step:last-child { border-bottom: none; }
.ladder-num {
    flex-shrink: 0; width: 44px; height: 44px;
    background: var(--accent); color: #fff;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 1.1rem;
}
.ladder-step h3 { color: var(--primary); margin-bottom: 0.35rem; font-size: 1.1rem; }
.ladder-step p { color: var(--text-light); font-size: 0.95rem; }

.progression-bar {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem;
    margin-top: 2rem; padding: 1.25rem;
    background: var(--primary); color: #fff; border-radius: var(--radius);
    font-weight: 600; font-size: 0.9rem; text-align: center;
}
.progression-bar span { opacity: 0.5; }

/* Feature grid with images */
.feature-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.feature-card {
    background: var(--bg-white); border-radius: var(--radius);
    overflow: hidden; box-shadow: var(--shadow-sm);
}
.feature-card img { width: 100%; height: 200px; object-fit: cover; }
.feature-card-body { padding: 1.5rem; }
.feature-card-body h3 { color: var(--primary); margin-bottom: 0.5rem; }
.feature-card-body p { color: var(--text-light); font-size: 0.95rem; }

/* Process steps */
.process-steps {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}
.process-step {
    text-align: center; padding: 1.5rem;
    background: var(--bg-white); border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}
.step-number {
    width: 48px; height: 48px; margin: 0 auto 1rem;
    background: var(--accent); color: #fff;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 1.2rem;
}
.process-step h3 { color: var(--primary); margin-bottom: 0.5rem; font-size: 1.05rem; }
.process-step p { color: var(--text-light); font-size: 0.9rem; }

/* Content blocks (inner pages) */
.content-section { padding: 3rem 0; }
.content-block { max-width: 860px; margin: 0 auto 2.5rem; }
.content-block h2 {
    color: var(--primary); font-size: 1.75rem;
    margin-bottom: 1rem; padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent);
}
.content-block h3 { color: var(--accent); font-size: 1.2rem; margin: 1.5rem 0 0.75rem; }
.content-block p { margin-bottom: 1rem; color: var(--text-dark); }
.content-block ul { margin: 0 0 1rem 1.5rem; color: var(--text-dark); }
.content-block li { margin-bottom: 0.35rem; }
.content-block strong { color: var(--primary); }

.two-col {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem; margin: 2rem 0;
}
.info-card {
    background: var(--bg-white); padding: 1.5rem;
    border-radius: var(--radius); border-left: 4px solid var(--accent);
    box-shadow: var(--shadow-sm);
}
.info-card h3 { color: var(--primary); margin-bottom: 0.5rem; }

.evolution-chain {
    display: flex; flex-direction: column; gap: 0.5rem;
    margin: 1.5rem 0; padding: 1.5rem;
    background: var(--bg-light); border-radius: var(--radius);
}
.evolution-chain span {
    font-weight: 600; color: var(--primary); padding: 0.5rem 0;
    border-bottom: 1px dashed var(--border);
}
.evolution-chain span:last-child { border-bottom: none; }

.quote-examples { margin: 1.5rem 0; }
.quote-examples blockquote {
    padding: 1rem 1.25rem; margin-bottom: 0.75rem;
    background: var(--bg-light); border-left: 4px solid var(--accent-gold);
    font-style: italic; color: var(--text-dark);
}

/* CTA */
.cta {
    background: linear-gradient(135deg, var(--primary), #134e4a);
    color: #fff; text-align: center; padding: 4rem 0;
}
.cta h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); margin-bottom: 1rem; }
.cta p { opacity: 0.9; margin-bottom: 2rem; max-width: 640px; margin-left: auto; margin-right: auto; }
.cta-buttons { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.cta .btn-secondary { color: #fff; border-color: #fff; }
.cta .btn-secondary:hover { background: #fff; color: var(--primary); }

/* Contact form */
.contact-form { padding: 4rem 0; }
.form-wrapper { max-width: 640px; margin: 0 auto; }
.form-wrapper h2 { color: var(--primary); margin-bottom: 0.75rem; text-align: center; }
.form-intro { text-align: center; color: var(--text-light); margin-bottom: 2rem; }
.form-intro a { color: var(--accent); }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; margin-bottom: 0.35rem; font-weight: 500; }
.form-group input, .form-group textarea, .form-group select {
    width: 100%; padding: 0.75rem 1rem;
    border: 1px solid var(--border); border-radius: 8px;
    font: inherit; transition: border-color 0.2s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    outline: none; border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-status { margin-bottom: 1rem; padding: 0.75rem 1rem; border-radius: 8px; display: none; }
.form-status.success { display: block; background: #d1fae5; color: #065f46; }
.form-status.error { display: block; background: #fee2e2; color: #991b1b; }
.contact-form .btn-primary { width: 100%; }

/* Footer */
.footer {
    background: var(--primary-dark); color: rgba(255,255,255,0.85);
    padding: 3rem 0 2rem;
}
.footer-content {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem; align-items: start;
}
.footer-logo img { width: 40px; height: 40px; display: block; opacity: 0.95; }
.footer a { color: rgba(255,255,255,0.85); text-decoration: none; }
.footer a:hover { color: var(--accent-light); }
.footer-nav { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-nav h4 { color: #fff; margin-bottom: 0.5rem; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.05em; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1rem; }
.footer-copyright { grid-column: 1 / -1; margin-top: 1rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.15); font-size: 0.85rem; opacity: 0.7; }
.footer-heritage { font-size: 0.85rem; opacity: 0.65; margin-top: 0.5rem; }

/* Breadcrumb */
.breadcrumb { padding: 1rem 0; font-size: 0.9rem; color: var(--text-light); }
.breadcrumb a { color: var(--accent); text-decoration: none; }

/* Responsive */
@media (max-width: 900px) {
    .mobile-menu-toggle { display: flex; }
    .nav-menu {
        display: none; position: fixed; top: 70px; left: 0; right: 0;
        background: var(--bg-white); flex-direction: column;
        padding: 1.5rem; box-shadow: var(--shadow-lg);
        max-height: calc(100vh - 70px); overflow-y: auto;
    }
    .nav-menu.active { display: flex; }
    .nav-submenu {
        position: static; box-shadow: none; border: none;
        padding-left: 1rem; display: none;
    }
    .nav-dropdown.open .nav-submenu { display: block; }
    body.menu-open { overflow: hidden; }
    .hero { padding: 3.5rem 0 3rem; }
    section { padding: 3rem 0; }
}

@media (max-width: 480px) {
    .hero-cta, .cta-buttons { flex-direction: column; }
    .hero-cta .btn, .cta-buttons .btn { width: 100%; }
    .logo-mark { width: 38px; height: 38px; }
    .logo-title { font-size: 1.15rem; }
    .logo-subtitle { font-size: 0.72rem; }
}

/* Engagement model */
.engagement-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.75rem; margin: 2rem 0;
}
.engagement-card {
    background: var(--bg-white); border-radius: var(--radius);
    padding: 2rem; box-shadow: var(--shadow-md);
    border-top: 4px solid var(--accent);
}
.engagement-card h3 { color: var(--primary); margin-bottom: 0.75rem; font-size: 1.2rem; }
.engagement-card p { color: var(--text-light); font-size: 0.95rem; }

.team-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem; margin: 1.5rem 0;
}
.team-item {
    background: var(--bg-white); padding: 0.75rem 1rem;
    border-radius: 8px; border-left: 3px solid var(--accent);
    font-size: 0.9rem; font-weight: 500; color: var(--text-dark);
    box-shadow: var(--shadow-sm);
}

.examples-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem; margin: 1.5rem 0;
}
.example-card {
    background: var(--bg-white); padding: 1.25rem 1.5rem;
    border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.example-card h4 { color: var(--accent); font-size: 0.95rem; margin-bottom: 0.4rem; }
.example-card p { color: var(--text-light); font-size: 0.88rem; margin: 0; }

.tagline-banner {
    text-align: center; padding: 1.5rem 2rem; margin: 2rem 0;
    background: var(--primary); color: #fff; border-radius: var(--radius);
    font-size: 1.15rem; font-weight: 600; letter-spacing: 0.02em;
}
.tagline-banner em { color: var(--accent-light); font-style: normal; }

/* Partnership */
.partnership-section { background: linear-gradient(135deg, var(--primary-dark) 0%, #134e4a 100%); color: #fff; }
.partnership-section .section-header h2 { color: #fff; }
.partnership-section .section-header h3 { color: var(--accent-light); }
.partnership-section .section-subtitle { color: rgba(255,255,255,0.88); }
.partnership-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem; margin: 2rem 0;
}
.partnership-card {
    background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius); padding: 1.5rem;
}
.partnership-card h3 { color: var(--accent-light); font-size: 1rem; margin-bottom: 0.5rem; text-transform: uppercase; letter-spacing: 0.05em; }
.partnership-card p { color: rgba(255,255,255,0.9); font-size: 0.95rem; margin: 0; }
.partnership-body { max-width: 860px; margin: 0 auto 2rem; color: rgba(255,255,255,0.92); }
.partnership-body p { margin-bottom: 1rem; }
.partnership-geo {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem;
    margin: 1.5rem 0; font-weight: 600; font-size: 0.9rem;
}
.partnership-geo span {
    background: rgba(255,255,255,0.12); padding: 0.4rem 0.9rem; border-radius: 999px;
}
.partnership-geo span.sep { background: none; padding: 0; opacity: 0.5; }

.joint-callout {
    background: var(--bg-white); border-left: 4px solid var(--accent-gold);
    border-radius: var(--radius); padding: 2rem; margin: 2.5rem 0;
    box-shadow: var(--shadow-md);
}
.joint-callout h2 { color: var(--primary); margin-bottom: 1rem; font-size: 1.5rem; border: none; padding: 0; }
.joint-callout p { margin-bottom: 1rem; }
.joint-callout .btn { margin-top: 0.5rem; }
