.nav-logo {
    display: inline-flex;
    align-items: center;
    min-width: 148px;
    line-height: 0;
}

.nav-logo img {
    display: block;
    width: auto;
    height: 34px;
    max-width: 172px;
    object-fit: contain;
}

.nav-btn-primary {
    border-radius: 9999px;
    padding-left: 16px;
    padding-right: 16px;
}

.nav-dropdown-content {
    min-width: 176px;
}

.nav-dropdown-content a {
    white-space: nowrap;
}

#contact {
    scroll-margin-top: 92px;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.82);
    box-shadow: 0 8px 18px -14px rgba(15, 23, 42, 0.35);
}

.brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-badge {
    gap: 10px;
}

.hero-badge.hero-brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 10px 20px 10px 10px;
    border-radius: 22px;
    margin-bottom: 30px;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: 0;
    border: 1px solid rgba(226, 232, 240, 0.78);
    box-shadow: 0 18px 42px -28px rgba(15, 23, 42, 0.7);
}

.hero-badge.hero-brand-lockup-dark {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(16px);
}

.hero-badge.hero-brand-lockup-light {
    background: rgba(255, 255, 255, 0.94);
    color: var(--ink, #0f172a);
    border-color: rgba(226, 232, 240, 0.9);
}

.hero-brand-lockup .brand-mark {
    flex: 0 0 auto;
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.92);
    box-shadow: 0 12px 28px -22px rgba(15, 23, 42, 0.7);
}

.hero-brand-lockup .brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-brand-lockup .brand-mark.brand-mark-contain img {
    object-fit: contain;
    padding: 6px;
}

.hero-brand-lockup .brand-mark.brand-mark-zoom img {
    object-fit: cover;
    padding: 0;
    transform: scale(1.16);
}

.hero-brand-lockup .brand-mark.brand-mark-zoom-strong img {
    object-fit: cover;
    padding: 0;
    transform: scale(1.42);
}

.hero-brand-lockup .brand-mark.brand-mark-wide {
    width: 116px;
    height: 64px;
    border-radius: 18px;
}

.hero-brand-lockup .brand-mark.brand-mark-wide img {
    object-fit: contain;
    padding: 7px 9px;
}

.hero-brand-lockup .brand-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.hero-brand-lockup .brand-title {
    color: inherit;
    font-size: 22px;
    font-weight: 600;
    line-height: 26px;
    white-space: nowrap;
}

.hero-brand-lockup .brand-subtitle {
    color: currentColor;
    font-size: 13px;
    font-weight: 500;
    line-height: 18px;
    opacity: 0.78;
    white-space: nowrap;
}

.product-logo {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--hairline, #e2e8f0);
    box-shadow: 0 10px 24px -18px rgba(15, 23, 42, 0.45);
}

.product-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-logo-main img {
    object-fit: contain;
    padding: 6px;
}

.products .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-card {
    min-height: 238px;
}

.about-capabilities {
    padding: 96px 24px;
    background: var(--canvas);
}

.brand-showcase {
    position: relative;
    overflow: hidden;
    padding: 44px;
    background:
        linear-gradient(135deg, rgba(207, 250, 254, 0.78), rgba(219, 234, 254, 0.62)),
        var(--canvas-elevated);
}

.brand-showcase img {
    position: relative;
    z-index: 1;
    width: min(100%, 480px);
    max-height: 190px;
    object-fit: contain;
    filter: drop-shadow(0 18px 32px rgba(15, 23, 42, 0.13));
}

.capability-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.capability-card {
    background: var(--canvas-elevated);
    border: 1px solid var(--hairline);
    border-radius: 12px;
    padding: 28px;
}

.capability-kicker {
    font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 12px;
    color: var(--ai-cyan);
    margin-bottom: 14px;
}

.capability-title {
    font-size: 18px;
    font-weight: 600;
    line-height: 26px;
    color: var(--ink);
    margin-bottom: 10px;
}

.capability-desc {
    font-size: 14px;
    line-height: 22px;
    color: var(--body);
}

.contact {
    padding: 96px 24px 128px;
    background: var(--canvas-elevated);
    border-top: 1px solid var(--hairline);
}

.contact .section-header {
    margin-bottom: 48px;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    gap: 48px;
    max-width: 1060px;
    margin: 0 auto;
    align-items: start;
}

.contact-info {
    display: grid;
    gap: 18px;
}

.info-card {
    background: var(--canvas);
    border: 1px solid var(--hairline);
    border-radius: 12px;
    padding: 22px;
}

.info-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.info-icon-cyan {
    background: var(--ai-cyan-soft);
    color: var(--ai-cyan);
}

.info-icon-blue {
    background: var(--ai-blue-soft);
    color: var(--ai-blue);
}

.info-icon-violet {
    background: var(--ai-violet-soft);
    color: var(--ai-violet);
}

.info-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 8px;
}

.info-text {
    font-size: 14px;
    color: var(--body);
    line-height: 22px;
}

.info-text a {
    color: var(--link);
    text-decoration: none;
}

.info-text a:hover {
    text-decoration: underline;
}

.contact-form {
    background: var(--canvas);
    border: 1px solid var(--hairline);
    border-radius: 12px;
    padding: 32px;
}

.form-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    background: var(--canvas-elevated);
    border: 1px solid var(--hairline);
    border-radius: 6px;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 14px;
    color: var(--ink);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus {
    outline: none;
    border-color: var(--link);
    box-shadow: 0 0 0 3px var(--link-soft);
}

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

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact-form .btn-pill {
    width: 100%;
}

.btn-pill-primary,
.cta-btn-primary,
.mobile-quote-toggle,
.step-num {
    background: var(--ink, #0f172a);
    color: var(--on-primary, #ffffff);
}

.btn-pill-secondary,
.cta-btn-secondary {
    color: var(--ink, #0f172a);
}

@media (max-width: 1100px) {
    .products .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .nav-logo {
        min-width: 132px;
    }

    .nav-logo img {
        height: 30px;
        max-width: 152px;
    }

    .nav-links.mobile-open {
        align-items: stretch;
    }

    .nav-links.mobile-open .nav-dropdown-content {
        position: static;
        display: block;
        box-shadow: none;
        margin-top: 6px;
    }

    .capability-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero-badge.hero-brand-lockup {
        max-width: 100%;
        gap: 10px;
        padding: 8px 14px 8px 8px;
        border-radius: 18px;
        margin-bottom: 26px;
    }

    .hero-brand-lockup .brand-mark {
        width: 52px;
        height: 52px;
        border-radius: 14px;
    }

    .hero-brand-lockup .brand-mark.brand-mark-wide {
        width: 96px;
        height: 52px;
        border-radius: 16px;
    }

    .hero-brand-lockup .brand-title {
        font-size: 18px;
        line-height: 22px;
    }

    .hero-brand-lockup .brand-subtitle {
        font-size: 12px;
        line-height: 16px;
        white-space: normal;
    }
}

@media (max-width: 640px) {
    .products .product-grid {
        grid-template-columns: 1fr;
    }

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

    .contact-form {
        padding: 24px;
    }
}
