/* Dekamco's multi-page corporate layer. Existing Bootstrap and brand assets retained. */
:root { --ink: #172b3c; --muted: #536574; --blue: #4a97e2; --paper: #f4f6f8; --line: #dce3e9; }
.corporate-site { color: var(--ink); font-family: 'Nunito Sans', sans-serif; line-height: 1.7; background: #fff; }
.corporate-site h1, .corporate-site h2, .corporate-site h3 { color: var(--ink); font-weight: 800; letter-spacing: -.035em; line-height: 1.16; }
.corporate-site h1 { font-size: clamp(2.5rem, 4.4vw, 4rem); margin-bottom: 1.5rem; }
.corporate-site h2 { font-size: clamp(1.9rem, 3vw, 2.65rem); margin-bottom: 1rem; }
.corporate-site h3 { font-size: 1.3rem; margin-bottom: .85rem; }
.corporate-site p { margin-bottom: 1.25rem; }
.corporate-site a { text-underline-offset: .22em; }
.corporate-site .container { padding-left: 24px; padding-right: 24px; }
@media (min-width: 1200px) { .corporate-site .container { max-width: 1264px; } }
.corporate-site .eyebrow { color: #315f86; font-size: .72rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; margin-bottom: 1.1rem; line-height: 1.6; }
.corporate-site .btn { display: inline-flex; justify-content: center; align-items: center; gap: 20px; padding: .8rem 1.3rem; font-size: .9rem; text-decoration: none; line-height: 1.4; }
.corporate-site .btn-primary { color: #102d47; background: var(--blue); border-color: var(--blue); }
.corporate-site .btn-primary:hover { background: #70b2ef; border-color: #70b2ef; }
.corporate-site .btn-outline-secondary { color: var(--ink); border-color: #94a4b2; background: transparent; }
.corporate-site .btn-outline-secondary:hover { background: #e8eef3; }
.corporate-site .button-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 1.75rem; }
.corporate-site .text-link { display: inline-flex; align-items: center; gap: 15px; font-weight: 800; font-size: .9rem; text-decoration: none; color: #215b8c !important; }
.corporate-site .text-link:hover { text-decoration: underline; }
#corporate-header { background: #fff; box-shadow: 0 1px 0 var(--line); }
.utility-bar { background: var(--paper); border-bottom: 1px solid #e9edf0; font-size: .7rem; color: #4d6273; }
.utility-bar .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 34px; }
.utility-bar .container > div { display: flex; gap: 24px; }
.utility-bar a { text-decoration: none; color: #3d5365 !important; }
#header-nav { padding: 19px 0; }
#header-nav .navbar-brand { line-height: 1; padding: 0; margin-right: 3rem; }
#header-nav .navbar-nav { align-items: center; gap: 12px; margin-right: 24px; }
#header-nav .nav-link { font-size: .9rem; color: var(--ink) !important; min-height: 44px; display: flex; align-items: center; border-bottom: 2px solid transparent; padding: .5rem .35rem; }
#header-nav .nav-link.division-active, #header-nav [aria-current='page'] { border-color: var(--blue); }
.company-menu { position: relative; }
.company-menu summary { list-style: none; cursor: pointer; gap: 7px; }
.company-menu summary::-webkit-details-marker { display: none; }
.company-dropdown { position: absolute; top: 100%; left: -16px; list-style: none; margin: 0; padding: 12px; width: 210px; border: 1px solid var(--line); background: white; border-radius: 8px; box-shadow: 0 12px 24px #15293d12; }
.company-dropdown a { display: block; padding: 10px 12px; color: var(--ink) !important; text-decoration: none; font-size: .9rem; }
.company-dropdown a:hover { background: var(--paper); }
.corporate-hero { background: var(--paper); }
.home-hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; padding-top: 72px; padding-bottom: 54px; }
.corporate-site .corporate-hero h1 { font-size: clamp(2.6rem, 3.8vw, 3.5rem); line-height: 1.13; }
.corporate-hero h1 > span { color: #276ca9; }
.hero-copy { max-width: 720px; font-size: 1.12rem; line-height: 1.75; color: #4b5f70; }
.home-art { align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
.home-art img { width: 100%; height: auto; padding: 28px 0 22px; }
.art-caption { display: flex; align-items: center; gap: 10px; font-size: .62rem; letter-spacing: .14em; color: #506779; border-top: 1px solid #cbd7e1; padding-top: 14px; font-weight: 800; }
.status-dot { display: inline-block; width: 7px; height: 7px; background: #357fb8; border-radius: 50%; }
.home-art p { font-size: .78rem; color: #556c7e; text-align: right; border-top: 1px solid #cbd7e1; padding-top: 14px; margin: 0; }
.corporate-wave { height: 60px; background: white url('/images/wave-bg.svg') center/100% 100% no-repeat; }
.content-section { padding: 80px 0; scroll-margin-top: 135px; }
.soft-section { background: var(--paper); }
.section-heading { margin-bottom: 36px; max-width: 790px; }
.section-copy { color: var(--muted); max-width: 740px; }
.division-grid { display: grid; grid-template-columns: repeat(3,1fr); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.division-card { padding: 30px; display: flex; flex-direction: column; border-top: 3px solid var(--blue); background: #fff; }
.division-card + .division-card { border-left: 1px solid var(--line); }
.division-label { display: flex; justify-content: space-between; gap: 15px; font-size: .67rem; font-weight: 800; color: #52697b; margin-bottom: 28px; }
.division-label > span:first-child { color: #25649b; }
.corporate-site .division-card h3 { font-size: 2rem; margin-bottom: 18px; }
.division-card > p { font-size: .95rem; color: var(--muted); }
.division-bottom { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); }
.division-bottom p { font-size: .7rem; color: #52697b; margin-bottom: 13px; }
.product-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 25px; }
.product-card { background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; }
.product-image { display: block; border-bottom: 1px solid var(--line); background: #eaf0f4; overflow: hidden; }
.product-image img { width: 100%; height: auto; display: block; aspect-ratio: 1440/700; object-fit: cover; transition: transform .3s ease; }
.product-image:hover img { transform: scale(1.025); }
.product-image.byte { background: #0e1014; }
.product-image.byte img { object-fit: contain; }
.product-body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.product-body .eyebrow { font-size: .58rem; letter-spacing: .07em; }
.product-body h3 a { color: var(--ink) !important; text-decoration: none; }
.product-body > p:not(.eyebrow) { font-size: .94rem; color: var(--muted); }
.product-body .text-link { margin-top: auto; }
.two-products { grid-template-columns: repeat(2,1fr); }
.two-products .product-body { padding: 30px; }
.two-products h3 { font-size: 1.75rem; }
.split-section { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.split-section .section-heading { margin-bottom: 24px; }
.company-note { border-top: 3px solid var(--blue); padding-top: 28px; }
.check-list { list-style: none; padding: 0; margin: 0 0 28px; }
.check-list li { border-bottom: 1px solid var(--line); padding: 13px 0 13px 24px; position: relative; }
.check-list li::before { content: ''; position: absolute; left: 0; top: 24px; width: 5px; height: 5px; border-radius: 50%; background: #24699f; }
.cta-band { background: #172f43; color: #fff; border-radius: 12px; padding: 42px; display: grid; grid-template-columns: 1.4fr 1fr; align-items: center; gap: 40px; }
.cta-band h2 { color: #fff; font-size: 2rem; }
.cta-band .eyebrow { color: #8bc7fa; }
.cta-band p:not(.eyebrow) { color: #d4e0e9; margin: 0; }
.cta-band > div:last-child { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; }
.cta-band .btn-outline-secondary { color: #fff; border-color: #91a5b5; }
.cta-band .btn-outline-secondary:hover { background: #29465d; }
.page-hero { background: var(--paper); padding: 27px 0 62px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 9px; padding: 0; list-style: none; margin: 0 0 42px; font-size: .72rem; color: #566b7a; }
.breadcrumbs li + li::before { content: '/'; margin-right: 9px; color: #768b9a; }
.hero-grid { max-width: 970px; }
.hero-grid.with-art { display: grid; grid-template-columns: 1.4fr 1fr; gap: 70px; align-items: center; max-width: none; }
.hero-grid h1 { font-size: clamp(2.5rem, 4.1vw, 3.65rem); }
.page-art img { display: block; width: 100%; height: auto; max-height: 320px; }
.division-nav { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.division-nav .container { display: flex; align-items: center; gap: 25px; flex-wrap: wrap; }
.division-nav a { text-decoration: none; padding: 17px 0; border-bottom: 3px solid transparent; font-size: .78rem; font-weight: 800; color: #486172 !important; }
.division-nav a[aria-current='page'] { border-color: var(--blue); color: var(--ink) !important; }
.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.service-entry { display: flex; align-items: flex-start; gap: 25px; padding: 30px 0; border-top: 1px solid var(--line); }
.service-entry img { flex: 0 0 72px; }
.service-entry h3 a { color: var(--ink) !important; text-decoration: none; }
.service-entry p { color: var(--muted); }
.process-grid { display: grid; grid-template-columns: repeat(5,1fr); list-style: none; padding: 0; gap: 25px; }
.process-grid li { border-top: 1px solid var(--line); padding-top: 18px; }
.process-grid li > span, .feature-index { color: #2b6eaa; font-size: .8rem; font-weight: 800; display: block; margin-bottom: 25px; }
.process-grid h3 { font-size: 1.1rem; }
.process-grid p { font-size: .9rem; color: var(--muted); }
.additional-services { max-width: 850px; }
.additional-services h2 { font-size: 1.75rem; }
.feature-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 28px; }
.feature { border-top: 1px solid #c9d6e0; padding: 24px 0 8px; }
.feature p { color: var(--muted); margin: 0; }
.feature-index { margin-bottom: 17px; }
.split-section .feature-grid { grid-template-columns: 1fr; gap: 10px; }
.inset-panel { padding: 30px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.inset-panel .check-list { margin-bottom: 0; }
.procurement-strip { display: grid; grid-template-columns: 1.5fr 1fr; gap: 60px; align-items: center; }
.procurement-strip .btn { justify-self: end; }
.featured-product { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
.product-window { display: block; padding: 12px; border: 1px solid #d4e1e9; background: #edf3f8; border-radius: 10px; }
.product-window img { width: 100%; height: auto; border-radius: 4px; }
.product-showcase { padding-top: 40px; }
.browser-bar { border: 1px solid var(--line); background: #f6f8fa; border-radius: 10px 10px 0 0; padding: 12px 20px; display: flex; gap: 16px; justify-content: space-between; color: #566b7a; font-size: .7rem; }
.browser-bar > span:first-child { letter-spacing: 3px; }
.product-showcase > a { display: block; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 10px 10px; overflow: hidden; }
.product-showcase img { display: block; width: 100%; height: auto; }
.client-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3,1fr); gap: 0 35px; }
.client-list li { padding: 25px 0; border-top: 1px solid #c9d6e0; font-weight: 700; }
.support-illustration { display: block; max-width: 100%; height: auto; max-height: 300px; margin-top: 25px; }
.pdf-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 15px; }
.pdf-heading h2 { margin: 0; }
.content-details { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px 0; }
.content-details summary { font-weight: 700; cursor: pointer; }
.content-details p { margin-top: 20px; font-size: .9rem; color: var(--muted); }
.narrow-copy { max-width: 850px; }
.prose h2 { font-size: 1.35rem; margin-top: 2.5rem; }
.prose h3 { font-size: 1.15rem; }
.prose { overflow-wrap: anywhere; }
.contact-grid { display: grid; grid-template-columns: 1.8fr 1fr; gap: 65px; align-items: start; }
.inquiry-panel { border: 1px solid var(--line); background: var(--paper); padding: 35px; border-radius: 10px; }
.inquiry-panel label { font-size: .9rem; }
.inquiry-panel .form-control, .inquiry-panel .form-select { border: 1px solid #aab9c5; border-radius: 6px; }
.inquiry-panel .row { --bs-gutter-x: 1.25rem; --bs-gutter-y: 1.25rem; }
.contact-aside h2 { font-size: 1.65rem; }
.contact-aside h3 { font-size: 1rem; margin-top: 28px; }
.contact-aside { color: var(--muted); }
.plain-links { list-style: none; padding: 0; }
.plain-links a { display: inline-block; padding: 7px 0; }
.preview-notice { padding: 15px; border: 1px solid #adc8e0; background: #e8f2fc; border-radius: 6px; color: #244e74; font-size: .9rem; }
.corporate-footer { background: var(--paper); border-top: 1px solid var(--line); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 50px; }
.footer-brand img { max-width: 100%; height: auto; margin-bottom: 22px; }
.footer-brand p { font-size: .88rem; max-width: 320px; color: var(--muted); }
.footer-grid > div:not(.footer-brand) > a { display: block; padding: 7px 0; font-size: .83rem; color: #3b5365 !important; text-decoration: none; }
.corporate-footer h2 { font-size: .75rem; letter-spacing: .04em; margin-bottom: 20px; text-transform: uppercase; }
.footer-bottom { margin-top: 45px; padding: 23px 0; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; font-size: .7rem; }
.footer-bottom p { margin: 0; color: var(--muted); }
.footer-bottom > div { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-bottom a { color: #466072 !important; }
.corporate-site [id] { scroll-margin-top: 105px; }
.company-history { display: grid; grid-template-columns: repeat(3,1fr); gap: 35px; list-style: none; padding: 0; margin: 0; }
.company-history li { padding-top: 24px; border-top: 3px solid var(--blue); }
.company-history p:not(.eyebrow) { color: var(--muted); }
#scrolltop .btn { font-size: .75rem; padding: .5rem; }
.corporate-site :focus-visible { outline: 3px solid #164e7d; outline-offset: 4px; }
.cta-band :focus-visible { outline-color: #a6d3fc; }
.footer-bottom > div { align-items: center; gap: 12px; }
.footer-bottom .social-icon { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid #cbd7e1; border-radius: 50%; text-decoration: none; font-size: 1.05rem; }
.footer-bottom .social-icon:hover { background: #e0eefb; color: #174f7b !important; border-color: #70a1cb; }
.capability-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.capability-panel { padding: 36px; border: 1px solid var(--line); border-top: 3px solid var(--blue); border-radius: 10px; }
.capability-panel h3, .partnership-panel h3 { font-size: 1.6rem; }
.capability-panel > p:not(.eyebrow), .partnership-panel > div > p:not(.eyebrow) { color: var(--muted); }
.capability-points { padding-left: 1.2rem; margin: 20px 0 26px; }
.capability-points li { padding-left: 5px; margin-bottom: 10px; }
.capability-points li::marker { color: #276ca9; }
.deployment-map { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin: 30px 0 18px; }
.deployment-map > span { position: relative; padding: 15px 5px; background: var(--paper); border: 1px solid #cedae3; border-radius: 5px; text-align: center; font-size: .74rem; font-weight: 700; line-height: 1.5; }
.deployment-map > span + span::before { content: ''; position: absolute; width: 12px; height: 1px; background: #809db5; top: 50%; left: -13px; }
.corporate-site .capability-caption { font-size: .78rem; line-height: 1.65; color: var(--muted); }
.capability-note { border-top: 1px solid var(--line); padding-top: 16px; font-size: .83rem; }
.capability-note summary { cursor: pointer; font-weight: 700; }
.capability-note p { margin-top: 12px; margin-bottom: 0; color: var(--muted); }
.capability-chart { margin: 30px 0 0; }
.capability-chart figcaption { font-size: .83rem; font-weight: 800; margin-bottom: 20px; }
.capability-chart ul { list-style: none; padding: 0; margin-bottom: 22px; }
.capability-skill { margin-bottom: 20px; }
.capability-skill > div:first-child { display: flex; justify-content: space-between; font-size: .87rem; margin-bottom: 8px; }
.capability-skill > div:first-child > span:last-child { font-weight: 800; font-variant-numeric: tabular-nums; }
.capability-track { height: 6px; border-radius: 5px; background: #e6edf2; overflow: hidden; }
.capability-track > span { height: 100%; display: block; border-radius: inherit; background: #327eb9; transform-origin: left; }
.partnership-panel { margin-top: 32px; padding: 36px; background: var(--paper); border-radius: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.partnership-panel .capability-points { margin-top: 0; }
.partnership-panel p:last-child { margin-bottom: 0; }
.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 65px; }
.faq-list { border-top: 1px solid #c9d6e0; }
.faq-list details { border-bottom: 1px solid #c9d6e0; padding: 20px 0; }
.faq-list summary { font-weight: 800; cursor: pointer; padding-right: 10px; }
.faq-list p { margin: 15px 0 0; color: var(--muted); }
@media (prefers-reduced-motion: no-preference) {
  .corporate-site .btn, .social-icon, .product-card, .division-card { transition: transform .22s ease, background-color .22s ease, box-shadow .22s ease; }
  .corporate-site .btn:hover { transform: translateY(-2px); }
  .social-icon:hover { transform: translateY(-3px); }
  .product-card:hover { transform: translateY(-4px); box-shadow: 0 10px 26px #172b3c10; }
  .division-card:hover { background: #f8fbfe; }
}
@media (max-width: 1199.98px) {
  #header-nav .navbar-brand { margin-right: 1.5rem; }
  #header-nav .navbar-nav { gap: 6px; margin-right: 15px; }
  .home-hero-grid, .hero-grid.with-art { gap: 35px; }
  .division-card { padding: 25px; }
  .split-section { gap: 45px; }
}
@media (max-width: 991.98px) {
  .company-history { grid-template-columns: 1fr; gap: 20px; }
  .capability-grid, .partnership-panel, .faq-layout { grid-template-columns: 1fr; gap: 28px; }
  .utility-bar .container > span { display: none; }
  .utility-bar .container { justify-content: flex-end; }
  #header-nav { padding: 16px 0; }
  #header-nav .navbar-brand { margin-right: 0; }
  #header-nav .navbar-collapse { padding: 20px 0 8px; max-height: calc(100dvh - 115px); }
  #header-nav .navbar-nav { align-items: stretch; margin: 0 0 15px; gap: 0; }
  #header-nav .nav-link { padding: 12px 4px; }
  .company-dropdown { position: static; width: 100%; box-shadow: none; margin-bottom: 12px; }
  .home-hero-grid { grid-template-columns: 1.2fr 1fr; padding-top: 45px; }
  .corporate-site .corporate-hero h1 { font-size: 2.45rem; }
  .corporate-site .home-hero-grid .hero-copy { font-size: 1rem; }
  .home-art p { text-align: left; }
  .content-section { padding: 58px 0; }
  .division-grid { grid-template-columns: 1fr; }
  .division-card { padding: 28px; }
  .division-card + .division-card { border-left: 0; border-top: 1px solid var(--line); }
  .corporate-site .division-card h3 br { display: none; }
  .division-label { margin-bottom: 14px; }
  .division-bottom { padding-top: 15px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card { display: grid; grid-template-columns: .9fr 1fr; }
  .product-image { height: 100%; display: flex; align-items: center; }
  .product-body { padding: 22px; }
  .split-section, .contact-grid, .featured-product { grid-template-columns: 1fr; gap: 32px; }
  .hero-grid.with-art { grid-template-columns: 1.6fr 1fr; }
  .hero-grid h1 { font-size: 2.65rem; }
  .process-grid { grid-template-columns: repeat(3,1fr); }
  .service-grid { gap: 24px; }
  .service-entry { display: block; }
  .service-entry img { margin-bottom: 20px; }
  .cta-band { grid-template-columns: 1fr; gap: 25px; }
  .cta-band > div:last-child { justify-content: flex-start; }
  .footer-grid { grid-template-columns: 1.5fr 1fr; gap: 35px; }
  .procurement-strip { grid-template-columns: 1fr; gap: 25px; }
  .procurement-strip .btn { justify-self: start; }
}
@media (max-width: 575.98px) {
  .capability-panel, .partnership-panel { padding: 24px; }
  .deployment-map { gap: 8px; }
  .deployment-map > span { font-size: .66rem; }
  .deployment-map > span + span::before { width: 8px; left: -9px; }
  .footer-bottom > div { gap: 10px; }
  .corporate-site .container { padding-left: 22px; padding-right: 22px; }
  .utility-bar { font-size: .65rem; }
  #header-nav .navbar-brand img { width: 175px; }
  .home-hero-grid { grid-template-columns: 1fr; gap: 34px; padding-top: 42px; padding-bottom: 30px; }
  .corporate-site .corporate-hero h1 { font-size: 2.4rem; }
  .home-art { max-width: 360px; width: 100%; margin: 0 auto; }
  .home-art img { padding-top: 20px; padding-bottom: 15px; }
  .corporate-wave { height: 30px; }
  .content-section { padding: 48px 0; }
  .section-heading { margin-bottom: 27px; }
  .division-card { padding: 25px; }
  .product-card { display: flex; }
  .product-body { padding: 24px; }
  .product-body .eyebrow { font-size: .61rem; }
  .page-hero { padding: 20px 0 40px; }
  .breadcrumbs ol { margin-bottom: 27px; }
  .hero-grid.with-art { grid-template-columns: 1fr; gap: 30px; }
  .hero-grid h1 { font-size: 2.45rem; }
  .page-art { max-width: 300px; margin: 0 auto; }
  .hero-copy { font-size: 1rem; }
  .division-nav .container { gap: 0 20px; padding-top: 9px; padding-bottom: 9px; }
  .division-nav a { padding: 10px 0; font-size: .72rem; }
  .service-grid, .feature-grid, .process-grid, .client-list { grid-template-columns: 1fr; }
  .process-grid { gap: 20px; }
  .process-grid li > span { margin-bottom: 12px; }
  .inset-panel, .inquiry-panel { padding: 22px; }
  .cta-band { padding: 28px; }
  .cta-band h2 { font-size: 1.8rem; }
  .cta-band .btn { width: 100%; }
  .browser-bar { font-size: .6rem; padding: 10px; }
  .browser-bar > span:first-child { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 25px; }
  .footer-brand { grid-column: 1 / -1; }
  .corporate-footer { padding-top: 40px; }
  .footer-bottom { margin-top: 25px; }
  .corporate-site [id] { scroll-margin-top: 90px; }
}
