* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: "Helvetica Neue", Arial, sans-serif;
    color: #2d3748;
    background: #f8fafc;
    line-height: 1.75;
}
a { color: inherit; }
button, input, textarea { font: inherit; }
button { border: 0; }
.container { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 40px; }
.nav-bar {
    position: sticky; top: 0; z-index: 1000; width: 100%; padding: 10px 0;
    background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,.05);
}
.nav-inner-container { display: flex; align-items: center; }
.logo-link { display: flex; align-items: center; height: 75px; text-decoration: none; }
.logo-link img { display: block; width: auto; height: 75px; object-fit: contain; }
.nav-links { display: flex; align-items: center; flex-wrap: nowrap; gap: 12px; margin-left: auto; }
.nav-link, .quote-btn {
    padding: 8px 18px; border-radius: 4px; background: transparent; color: #4a5568;
    font-size: .98rem; font-weight: 700; white-space: nowrap; text-decoration: none; cursor: pointer;
}
.nav-link:hover { color: #1a365d; background: #f7fafc; }
.quote-btn { margin-left: 6px; padding: 10px 22px; background: #d69e2e; color: #fff; font-size: .88rem; box-shadow: 0 4px 6px rgba(214,158,46,.25); }
.quote-btn:hover { background: #b7791f; }
.hero-wrap { padding-top: 0; }
.hero-section {
    display: flex; align-items: center; width: 100%; min-height: 360px; border-radius: 12px;
    background: linear-gradient(90deg, rgba(15,23,42,.76), rgba(15,23,42,.18)), url("../../images/hero.png") no-repeat center right;
    background-size: cover; overflow: hidden;
}
.hero-content-wrap { width: 100%; padding: 32px 42px; }
.hero-content { max-width: 900px; }
.hero-tagline { margin: 0 0 12px; color: #f8fafc; font-size: .93rem; font-weight: 700; letter-spacing: .015em; text-shadow: 0 1px 4px rgba(0,0,0,.8); }
.hero-title { margin: 0 0 22px; max-width: 860px; color: #fff; font-size: 1.78rem; line-height: 1.28; letter-spacing: -.01em; text-shadow: 0 2px 8px rgba(0,0,0,.85); }
.hero-title span { display: block; }
.hero-subtitle { margin: 0 0 30px; max-width: 880px; color: #f1f5f9; font-size: .94rem; line-height: 1.72; text-shadow: 0 1px 4px rgba(0,0,0,.8); }
.hero-subtitle span { display: block; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.primary-btn {
    display: inline-block; padding: 10px 20px; border-radius: 4px; font-size: .88rem; font-weight: 700; text-decoration: none; cursor: pointer;
}
.primary-btn { background: #d97706; color: #fff; box-shadow: 0 4px 6px rgba(0,0,0,.18); }
.primary-btn:hover { background: #b45309; }
.section-wrapper { width: 100%; padding: 44px 0; }
.products-section { background: #f1f5f9; }
.card { width: 100%; padding: 42px; border-top: 6px solid #1a365d; border-right: 1px solid #e2e8f0; border-bottom: 1px solid #e2e8f0; border-left: 1px solid #e2e8f0; border-radius: 12px; background: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.03); }
.section-title { margin: 0 0 22px; padding-bottom: 14px; border-bottom: 2px solid #cbd5e0; color: #1a365d; font-size: 1.7rem; letter-spacing: .6px; text-transform: uppercase; }
.section-lead { margin: 0 0 30px; color: #4a5568; font-size: 1.05rem; font-weight: 500; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 22px; margin-top: 28px; }
.product-card, .service-card { padding: 24px; border-top: 4px solid #64748b; border-right: 1px solid #e2e8f0; border-bottom: 1px solid #e2e8f0; border-left: 1px solid #e2e8f0; border-radius: 8px; background: #f8fafc; }
.product-card { transition: transform .2s ease, box-shadow .2s ease; }
.product-card:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(0,0,0,.08); }
.product-card h3, .service-card h3 { margin: 0 0 10px; color: #1e3a8a; font-size: 1.18rem; }
.product-card p { margin: 0 0 14px; }
.product-card a { color: #2563eb; font-size: .88rem; font-weight: 700; text-decoration: none; }
.service-card { border-top-color: #3182ce; }
.service-card h3 { color: #1a365d; }
.service-list { margin: 12px 0 0; padding-left: 20px; }
.profile-heading { margin: 0 0 14px; padding-left: 14px; border-left: 4px solid #3182ce; color: #1a365d; font-size: 1.2rem; font-weight: 700; }
.contact-item { margin: 10px 0; }
.contact-label { display: inline-block; min-width: 90px; color: #003366; font-weight: 700; }
.mail-trigger-btn { display: inline-block; margin-left: 12px; padding: 4px 14px; border-radius: 4px; background: #2563eb; color: #fff; font-size: .85rem; font-weight: 700; text-decoration: none; }
.product-hero { padding: 28px 0 8px; }
.product-hero-card { padding: 38px 42px; border-radius: 12px; background: #fff; border: 1px solid #e2e8f0; border-top: 6px solid #1a365d; box-shadow: 0 10px 30px rgba(0,0,0,.03); }
.product-hero h1 { margin: 0 0 14px; color: #1a365d; font-size: 2rem; line-height: 1.35; }
.product-hero p { margin: 0; max-width: 900px; }
.capability-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(235px,1fr)); gap: 20px; margin-top: 24px; }
.capability-card { padding: 22px; border: 1px solid #e2e8f0; border-radius: 8px; background: #fff; }
.capability-card h2 { margin: 0 0 12px; color: #1a365d; font-size: 1.15rem; }
.capability-card ul { margin: 0; padding-left: 20px; }
.gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; margin-top: 24px; }
.gallery-card { overflow: hidden; border: 1px solid #e2e8f0; border-radius: 8px; background: #fff; }
.gallery-card img { display: block; width: 100%; height: auto; background: #f8fafc; }
.gallery-copy { padding: 16px 18px 18px; }
.gallery-copy h3 { margin: 0 0 6px; color: #1a365d; font-size: 1rem; }
.gallery-copy p { margin: 0; color: #64748b; font-size: .88rem; }
.product-meta { margin: 12px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; font-size: .86rem; }
.product-meta dt { font-weight: 700; color: #334155; }
.product-meta dd { margin: 0; color: #64748b; }
.related-links { display: flex; flex-wrap: wrap; gap: 10px; }
.related-links a { padding: 8px 12px; border: 1px solid #cbd5e0; border-radius: 999px; color: #1e3a8a; background: #fff; text-decoration: none; font-size: .87rem; font-weight: 700; }
.site-footer { width: 100%; padding: 16px 0 13px; border-top: 4px solid #1e293b; background: #0f172a; color: #94a3b8; text-align: center; }
.footer-inner { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.footer-nav { margin-bottom: 6px; font-size: 11px; opacity: .9; }
.footer-nav a { margin: 0 7px; color: #cbd5e1; text-decoration: none; }
.footer-copyright { margin: 0 0 4px; font-size: 11px; letter-spacing: .4px; }
.footer-tagline { margin: 0; color: #64748b; font-size: 10px; font-style: italic; }
.modal-backdrop { position: fixed; inset: 0; z-index: 9999; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(15,23,42,.6); backdrop-filter: blur(6px); }
.quote-panel { position: relative; width: 92%; max-width: 650px; max-height: 90vh; overflow-y: auto; padding: 24px; border-radius: 12px; background: #fff; box-shadow: 0 25px 50px -12px rgba(0,0,0,.25); }
.quote-close { position: absolute; top: 12px; right: 18px; padding: 0; background: transparent; color: #94a3b8; font-size: 24px; cursor: pointer; }
.quote-title { margin: 0 0 6px; color: #0f172a; font-size: 1.5rem; }
.quote-intro { margin: 0 0 14px; color: #64748b; font-size: .88rem; }
.quote-row { display: flex; align-items: flex-end; gap: 18px; margin-bottom: 10px; }
.quote-field { flex: 1; }
.name-field { flex: 2; }
.title-field { flex: 1; }
.quote-label { display: block; margin-bottom: 3px; color: #334155; font-size: .85rem; font-weight: 700; }
.quote-input, .quote-textarea { width: 100%; padding: 10px; border: 1px solid #cbd5e1; border-radius: 6px; background: #fff; color: #0f172a; font-size: .9rem; outline: none; }
.quote-input:focus, .quote-textarea:focus { border-color: #94a3b8; box-shadow: 0 0 0 3px rgba(148,163,184,.14); }
.quote-subject { margin-bottom: 10px; }
.quote-message { margin-bottom: 18px; }
.quote-textarea { min-height: 170px; resize: vertical; line-height: 1.5; }
.quote-submit { width: 100%; padding: 12px; border-radius: 6px; background: #d97706; color: #fff; font-size: 1rem; font-weight: 700; cursor: pointer; }
.quote-submit:disabled { cursor: wait; opacity: .7; }
.quote-status { min-height: 22px; margin: 8px 0 0; font-size: .82rem; }
.quote-status.success { color: #047857; }
.quote-status.error { color: #b91c1c; }
.honeypot { position: absolute!important; left: -10000px!important; width: 1px!important; height: 1px!important; overflow: hidden!important; opacity: 0!important; pointer-events: none!important; }

/* Medium desktop / tablet landscape:
   keep the full navigation visible and let Hero copy reflow before it can overflow. */
@media (min-width: 821px) and (max-width: 1100px) {
    .container { padding: 0 24px; }

    .logo-link,
    .logo-link img { height: 58px; }

    .nav-links { gap: 2px; }

    .nav-link {
        padding: 6px 8px;
        font-size: .82rem;
    }

    .quote-btn {
        margin-left: 2px;
        padding: 8px 10px;
        font-size: .75rem;
    }

    .hero-content-wrap {
        min-width: 0;
        padding: 30px 42px;
    }

    .hero-content {
        min-width: 0;
        max-width: 760px;
    }

    .hero-title {
        max-width: 720px;
        font-size: 1.62rem;
        line-height: 1.3;
    }

    .hero-subtitle {
        max-width: 720px;
        font-size: .90rem;
    }

    .hero-title span,
    .hero-subtitle span {
        display: inline;
    }

    .hero-title span + span::before,
    .hero-subtitle span + span::before {
        content: " ";
    }
}

@media (min-width: 821px) and (max-width: 960px) {
    .logo-link,
    .logo-link img { height: 50px; }

    .nav-link {
        padding: 5px 6px;
        font-size: .78rem;
    }

    .quote-btn {
        padding: 7px 8px;
        font-size: .72rem;
    }

    .hero-content-wrap { padding: 28px 42px; }

    .hero-content { max-width: 680px; }

    .hero-title {
        max-width: 650px;
        font-size: 1.52rem;
    }

    .hero-subtitle {
        max-width: 650px;
        font-size: .88rem;
    }
}

@media (max-width: 820px) {
    .container { padding: 0 20px; }
    .nav-inner-container { align-items: flex-start; gap: 12px; }
    .logo-link, .logo-link img { height: 58px; }
    .nav-links { flex-wrap: wrap; justify-content: flex-end; gap: 4px; }
    .nav-link, .quote-btn { padding: 6px 9px; font-size: .8rem; }
    .quote-btn { margin-left: 0; }
    .hero-content-wrap { padding: 30px; }
    .hero-title { font-size: 1.65rem; }
    .hero-title span, .hero-subtitle span { display: inline; }
    .hero-title span + span::before, .hero-subtitle span + span::before { content: " "; }
    .card, .product-hero-card { padding: 28px; }
    .gallery-grid { grid-template-columns: 1fr; }
    .quote-row { display: block; margin-bottom: 0; }
    .quote-field { margin-bottom: 9px; }
}
@media (max-width: 560px) {
    .nav-inner-container { display: block; }
    .logo-link { justify-content: center; margin-bottom: 6px; }
    .nav-links { justify-content: center; }
    .hero-section { min-height: 380px; }
    .hero-content-wrap { padding: 24px; }
    .hero-title { font-size: 1.45rem; }
    .grid { grid-template-columns: 1fr; }
    .contact-label { display: block; min-width: 0; }
    .mail-trigger-btn { margin: 7px 0 0; }
}
