/* ===================================================================
   VERA IT — Enterprise Site (authoritative layer)
   Designed as a single coherent system. Load LAST.
   =================================================================== */

body.site-enterprise {
    font-family: 'IBM Plex Sans', system-ui, -apple-system, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--vera-ink);
    background: var(--vera-surface);
    -webkit-font-smoothing: antialiased;
}

/* —— Kill legacy dark/gold/decoration from main.css + section files —— */
body.site-enterprise [class*="--modern"]::before,
body.site-enterprise [class*="--modern"]::after,
body.site-enterprise .services::before,
body.site-enterprise .about-us::before,
body.site-enterprise .portfolio::before,
body.site-enterprise .techstack::before,
body.site-enterprise .contact::before,
body.site-enterprise .faq::before {
    display: none !important;
    content: none !important;
    background: none !important;
}

body.site-enterprise [data-aos] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

/* Hidden legacy blocks */
body.site-enterprise #trust,
body.site-enterprise #case-studies,
body.site-enterprise #testimonials,
body.site-enterprise #why-vera {
    display: none !important;
}

/* —— Layout grid —— */
body.site-enterprise .container,
body.site-enterprise .products-studio__inner,
body.site-enterprise .it-signals__inner,
body.site-enterprise .hero-shell--it {
    max-width: var(--container-width);
    margin-left: auto;
    margin-right: auto;
}

/* —— Navigation — enterprise header —— */
body.site-enterprise .navbar {
    height: 64px;
    background: var(--vera-surface) !important;
    border-bottom: 1px solid var(--vera-border);
    box-shadow: none !important;
}

body.site-enterprise .navbar.scrolled {
    background: rgba(255, 255, 255, 0.97) !important;
    box-shadow: none !important;
    border-bottom-color: var(--vera-border);
}

body.site-enterprise .nav-container {
    max-width: var(--container-width);
    height: 64px;
    padding: 0 32px;
}

body.site-enterprise .nav-link {
    font-size: 14px;
    font-weight: 400;
    color: var(--vera-ink-soft);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    letter-spacing: 0;
    text-transform: none;
}

body.site-enterprise .nav-link:hover,
body.site-enterprise .nav-link.active {
    color: var(--vera-ink);
    background: var(--vera-surface-muted);
}

body.site-enterprise .nav-actions .btn-primary {
    font-size: 13px;
    padding: 9px 18px;
}

body.site-enterprise .dropdown-menu {
    background: var(--vera-surface) !important;
    border: 1px solid var(--vera-border) !important;
    border-radius: var(--radius-md) !important;
    box-shadow: var(--shadow-md) !important;
    padding: 6px !important;
}

body.site-enterprise .dropdown-menu a {
    font-size: 13px;
    padding: 8px 12px !important;
    border-radius: var(--radius-sm);
    color: var(--vera-ink-soft) !important;
}

body.site-enterprise .dropdown-menu a:hover {
    background: var(--vera-surface-muted) !important;
    color: var(--vera-ink) !important;
}

/* —— Hero — editorial + ops console —— */
body.site-enterprise .hero--modern {
    padding: 120px 0 88px !important;
    min-height: 0 !important;
    background: var(--vera-surface) !important;
    background-image: none !important;
    border-bottom: 1px solid var(--vera-border-light);
}

body.site-enterprise .hero--modern::after {
    display: none !important;
}

body.site-enterprise .hero-kicker {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--vera-ink-muted);
    margin-bottom: 20px;
}

body.site-enterprise .hero-kicker::after {
    display: none !important;
}

body.site-enterprise .hero-title {
    font-weight: 500;
    font-size: clamp(2.5rem, 2rem + 2.5vw, 3.625rem);
    letter-spacing: -0.035em;
    line-height: 1.05;
    color: var(--vera-ink);
    max-width: 13ch;
}

body.site-enterprise .hero-description {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--vera-ink-soft);
    max-width: 32rem;
    margin-top: 24px;
}

body.site-enterprise .hero-cta {
    margin-top: 32px;
    gap: 10px;
}

body.site-enterprise .hero-proof {
    margin-top: 40px;
    border-color: var(--vera-border);
}

body.site-enterprise .hero-proof__item {
    background: var(--vera-surface-warm);
}

body.site-enterprise .hero-proof__item strong {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 1rem;
    font-weight: 500;
}

/* Console panel — restrained shadow */
body.site-enterprise .hero-ops-panel {
    box-shadow: 0 2px 8px rgba(26, 29, 36, 0.06), 0 0 0 1px var(--vera-console-border);
}

/* —— Studio strip —— */
body.site-enterprise .studio-strip {
    background: var(--vera-console-bg);
    border-bottom: 1px solid var(--vera-console-border);
}

/* —— Section rhythm (alternating surfaces) —— */
body.site-enterprise .products-studio {
    padding: 88px 0;
    background: var(--vera-surface-warm) !important;
    border-bottom: 1px solid var(--vera-border-light);
}

body.site-enterprise .about-us {
    padding: var(--section-padding) 0;
    background: var(--vera-surface) !important;
}

body.site-enterprise .founder-section {
    padding: var(--section-padding) 0;
    background: var(--vera-surface-warm) !important;
}

body.site-enterprise .engineering-section {
    padding: var(--section-padding) 0;
    background: var(--vera-surface) !important;
}

body.site-enterprise .services {
    padding: var(--section-padding) 0;
    background: var(--vera-surface-warm) !important;
}

body.site-enterprise .process {
    padding: var(--section-padding) 0;
    background: var(--vera-surface) !important;
}

body.site-enterprise .techstack {
    padding: var(--section-padding) 0;
    background: var(--vera-surface-warm) !important;
}

body.site-enterprise .portfolio {
    padding: var(--section-padding) 0;
    background: var(--vera-surface) !important;
}

body.site-enterprise .faq,
body.site-enterprise .contact {
    padding: var(--section-padding) 0;
}

body.site-enterprise .faq {
    background: var(--vera-surface-warm) !important;
}

body.site-enterprise .contact {
    background: var(--vera-surface) !important;
    border-top: 1px solid var(--vera-border-light);
}

/* —— Typography scale —— */
body.site-enterprise .section-index {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--vera-ink-muted);
    margin: 0 0 16px;
}

body.site-enterprise .section-title {
    font-weight: 500;
    font-size: clamp(1.75rem, 1.4rem + 1.5vw, 2.375rem);
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: var(--vera-ink);
    max-width: 22ch;
}

body.site-enterprise .section-subtitle {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--vera-ink-soft);
    max-width: 40rem;
    margin-top: 16px;
}

body.site-enterprise [class*='-eyebrow'] {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--vera-ink-muted);
    margin-bottom: 12px;
}

/* —— Product tiles —— */
body.site-enterprise .product-tile {
    background: var(--vera-surface);
    border-color: var(--vera-border);
    min-height: 0;
}

body.site-enterprise .product-tile:hover {
    border-color: var(--vera-ink-muted);
    box-shadow: none;
}

body.site-enterprise .products-studio__head {
    border-bottom-color: var(--vera-border);
}

/* —— Services / portfolio rows —— */
body.site-enterprise .service-card {
    background: transparent !important;
}

body.site-enterprise .portfolio-item:hover {
    background: var(--vera-surface-muted) !important;
}

/* —— Engineering cards —— */
body.site-enterprise .engineering-card {
    background: var(--vera-surface-warm);
    border-color: var(--vera-border);
}

/* —— Founder —— */
body.site-enterprise .founder-it-note__item {
    background: var(--vera-surface);
}

body.site-enterprise .team-photo-frame {
    border: 1px solid var(--vera-border) !important;
    border-radius: var(--radius-lg) !important;
    overflow: hidden;
    box-shadow: none !important;
}

body.site-enterprise .team-photo-frame img {
    display: block;
    width: 100%;
    height: auto;
}

/* —— Footer — enterprise dark —— */
body.site-enterprise .footer.footer--modern {
    background: var(--vera-console-bg) !important;
    color: var(--vera-console-text);
    border-top: none;
    margin-top: 0;
}

body.site-enterprise .footer.footer--modern::before {
    display: none !important;
}

body.site-enterprise .footer-desc,
body.site-enterprise .footer-address p,
body.site-enterprise .footer-col p {
    color: var(--vera-console-muted) !important;
    font-size: 14px;
    line-height: 1.65;
}

body.site-enterprise .footer-title {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--vera-console-accent) !important;
    margin-bottom: 16px;
}

body.site-enterprise .footer-links a {
    color: var(--vera-console-muted) !important;
    font-size: 14px;
}

body.site-enterprise .footer-links a:hover {
    color: var(--vera-console-bright) !important;
}

body.site-enterprise .footer-bottom {
    border-top: 1px solid var(--vera-console-border);
    padding-top: 24px;
    margin-top: 48px;
}

body.site-enterprise .footer-bottom-content p,
body.site-enterprise .footer-legal a {
    color: var(--vera-console-dim) !important;
    font-size: 13px;
}

body.site-enterprise .footer-social a {
    background: var(--vera-console-surface) !important;
    border: 1px solid var(--vera-console-border) !important;
    color: var(--vera-console-accent) !important;
    box-shadow: none !important;
}

body.site-enterprise .footer-social a:hover {
    background: var(--vera-console-border) !important;
    color: var(--vera-console-bright) !important;
    transform: none !important;
}

body.site-enterprise .back-to-top {
    background: var(--vera-console-bg) !important;
    border-color: var(--vera-console-border) !important;
    color: var(--vera-console-bright) !important;
}

/* —— Forms —— */
body.site-enterprise .contact-form input,
body.site-enterprise .contact-form textarea,
body.site-enterprise .contact-form select {
    border-radius: var(--radius-md) !important;
    font-size: 15px !important;
}

/* —— FAQ —— */
body.site-enterprise .faq-item {
    border-radius: var(--radius-md) !important;
    background: var(--vera-surface) !important;
}

/* —— Responsive —— */
@media (max-width: 768px) {
    body.site-enterprise .nav-container {
        padding: 0 20px;
    }

    body.site-enterprise .hero--modern {
        padding: 100px 0 64px !important;
    }

    body.site-enterprise .hero-shell--it {
        padding: 0 20px;
    }

    body.site-enterprise .section-title {
        max-width: none;
    }
}
