:root {
  --ink: #0b1728;
  --ink-2: #132640;
  --blue: #0d4f8b;
  --blue-2: #146fb5;
  --gold: #c99b42;
  --gold-soft: #f3e6ca;
  --mist: #f3f6f8;
  --line: #dce3ea;
  --muted: #5c6b7a;
  --white: #ffffff;
  --danger: #a83434;
  --shadow: 0 18px 55px rgba(10, 24, 41, .12);
  --radius: 20px;
  --radius-sm: 12px;
  --max: 1200px;
  --focus: 0 0 0 3px rgba(20, 111, 181, .28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  background: var(--white);
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.section { padding: 80px 0; }
.section-sm { padding: 54px 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--blue); font-size: .82rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow::before { content: ""; display: block; width: 24px; height: 2px; background: var(--gold); }
.heading { margin: 12px 0 14px; font-size: clamp(2rem, 4vw, 3.65rem); line-height: 1.04; letter-spacing: -.045em; }
.subheading { max-width: 720px; color: var(--muted); font-size: 1.08rem; }
.kicker { color: var(--gold); font-size: .9rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.text-muted { color: var(--muted); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -70px; padding: 10px 14px; background: var(--ink); color: white; z-index: 9999; border-radius: 0 0 8px 8px; }
.skip-link:focus { top: 0; }

.utility-bar { background: var(--ink); color: #eaf0f6; font-size: .88rem; }
.utility-inner { display: flex; align-items: center; justify-content: space-between; min-height: 42px; gap: 18px; }
.utility-group { display: flex; align-items: center; gap: 18px; }
.utility-item { display: inline-flex; align-items: center; gap: 8px; }
.utility-item strong { color: white; }
.utility-link { color: white; font-weight: 800; }

.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.97); border-bottom: 1px solid rgba(220, 227, 234, .9); backdrop-filter: blur(13px); }
.nav-wrap { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 11px; min-width: 175px; }
.brand-mark { width: 42px; height: 42px; position: relative; display: grid; place-items: center; background: var(--blue); border-radius: 11px; box-shadow: inset 0 -5px 0 rgba(0,0,0,.12); }
.brand-mark::before { content: ""; position: absolute; width: 22px; height: 16px; left: 10px; top: 15px; border: 2px solid #fff; border-radius: 2px 2px 3px 3px; background: repeating-linear-gradient(to bottom, transparent 0 3px, rgba(255,255,255,.75) 3px 4px); }
.brand-mark::after { content: ""; position: absolute; width: 14px; height: 8px; border: 2px solid #fff; border-bottom: 0; border-radius: 8px 8px 0 0; top: 8px; }
.brand-text { line-height: 1; }
.brand-name { display: block; color: var(--ink); font-family: Georgia, "Times New Roman", serif; font-size: 1.35rem; font-weight: 800; letter-spacing: .11em; }
.brand-sub { display: block; margin-top: 4px; color: var(--blue); font-size: .6rem; font-weight: 900; letter-spacing: .19em; }
.nav-links { display: flex; align-items: center; gap: 21px; }
.nav-link { position: relative; color: #1b314a; font-size: .91rem; font-weight: 750; white-space: nowrap; }
.nav-link::after { content: ""; position: absolute; left: 0; bottom: -8px; width: 100%; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-cta { margin-left: 2px; }
.menu-toggle { display: none; padding: 9px; background: transparent; border: 0; color: var(--ink); }
.menu-toggle svg { width: 25px; height: 25px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 0 19px; border: 1px solid transparent; border-radius: 9px; font-size: .94rem; font-weight: 850; transition: .2s ease; }
.btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, button:focus-visible { outline: none; box-shadow: var(--focus); }
.btn-primary { color: white; background: var(--blue); box-shadow: 0 9px 19px rgba(13, 79, 139, .20); }
.btn-primary:hover { background: #083d6d; transform: translateY(-1px); }
.btn-gold { color: var(--ink); background: var(--gold); box-shadow: 0 9px 19px rgba(201, 155, 66, .20); }
.btn-gold:hover { background: #b88a30; transform: translateY(-1px); }
.btn-outline { color: var(--ink); background: white; border-color: #bbcad7; }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); background: #f8fbfd; }
.btn-ghost { color: white; border-color: rgba(255,255,255,.45); background: rgba(255,255,255,.08); }
.btn-ghost:hover { background: rgba(255,255,255,.16); }
.btn-sm { min-height: 38px; padding: 0 13px; font-size: .85rem; }
.btn .arrow { font-size: 1.1em; transform: translateY(-1px); }

.main-banner { position: relative; overflow: clip; background: radial-gradient(circle at 81% 12%, rgba(48,141,218,.28), transparent 29%), linear-gradient(132deg, #091a2c 0%, #0b2d4d 55%, #0c548c 100%); color: white; }
.main-banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,18,31,.92) 0%, rgba(5,18,31,.62) 42%, rgba(5,18,31,.06) 78%); z-index: 1; }
.main-banner-grid { position: relative; z-index: 2; min-height: 640px; display: grid; grid-template-columns: minmax(0, .97fr) minmax(420px, 1.03fr); align-items: center; gap: 32px; }
.main-banner-content { padding: 74px 0 86px; }
.main-banner h1 { max-width: 690px; margin: 14px 0 20px; font-size: clamp(2.65rem, 5vw, 5.3rem); line-height: .97; letter-spacing: -.055em; }
.main-banner-lede { max-width: 615px; color: #d7e2ed; font-size: clamp(1rem, 2vw, 1.2rem); }
.main-banner-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 29px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 34px; color: #d3deea; font-size: .91rem; }
.trust-item { display: flex; align-items: center; gap: 8px; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.main-banner-art { align-self: stretch; position: relative; display: grid; place-items: end center; min-height: 540px; }
.main-banner-art img { width: 118%; max-width: none; transform: translateX(8%); filter: drop-shadow(-30px 20px 30px rgba(0,0,0,.28)); }
.main-banner-card { position: absolute; right: 1%; bottom: 58px; z-index: 3; width: min(275px, 44vw); padding: 17px 18px; background: rgba(255,255,255,.96); border-left: 3px solid var(--gold); color: var(--ink); box-shadow: var(--shadow); border-radius: 9px; }
.main-banner-card .small { color: var(--muted); font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.main-banner-card strong { display: block; margin-top: 5px; font-size: 1.05rem; line-height: 1.2; }

.page-banner { position: relative; overflow: hidden; background: linear-gradient(115deg, #0c2037, #0d4f8b); color: white; }
.page-banner::after { content: ""; position: absolute; width: 580px; height: 580px; right: -170px; top: -240px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; box-shadow: 0 0 0 55px rgba(255,255,255,.05), 0 0 0 112px rgba(255,255,255,.035); }
.page-banner .container { position: relative; z-index: 1; padding: 76px 0 72px; }
.page-banner h1 { max-width: 820px; margin: 14px 0 14px; font-size: clamp(2.45rem, 5vw, 4.8rem); line-height: .98; letter-spacing: -.055em; }
.page-banner p { max-width: 680px; color: #d5e2ee; font-size: 1.12rem; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 7px; color: #d2e1ee; font-size: .86rem; }
.breadcrumbs a { text-decoration: underline; text-decoration-color: rgba(255,255,255,.35); text-underline-offset: 3px; }

.card-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.service-card { position: relative; min-height: 280px; overflow: hidden; padding: 22px; color: white; background: #0d365b; border-radius: var(--radius); box-shadow: 0 9px 26px rgba(10,24,41,.11); }
.service-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,18,31,.1) 18%, rgba(5,18,31,.9) 100%); z-index: 1; }
.service-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform .35s ease; }
.service-card:hover img { transform: scale(1.08); }
.service-card-content { position: absolute; left: 22px; right: 22px; bottom: 21px; z-index: 2; }
.service-card h3 { margin: 0 0 6px; font-size: 1.22rem; line-height: 1.13; }
.service-card p { margin: 0; color: #dce7ef; font-size: .9rem; line-height: 1.42; }
.service-card .learn { display: inline-flex; margin-top: 13px; color: white; font-size: .88rem; font-weight: 850; }

.split { display: grid; grid-template-columns: .93fr 1.07fr; align-items: center; gap: clamp(35px, 7vw, 90px); }
.media-frame { position: relative; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); background: #e7eef4; }
.media-frame img { width: 100%; }
.media-frame::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(255,255,255,.5); border-radius: inherit; pointer-events: none; }
.floating-stat { position: absolute; right: -24px; bottom: 27px; max-width: 220px; padding: 22px; color: white; background: var(--blue); border-left: 3px solid var(--gold); box-shadow: var(--shadow); border-radius: 10px; }
.floating-stat .num { font-family: Georgia, "Times New Roman", serif; font-size: 2.7rem; font-weight: 800; line-height: .9; }
.floating-stat p { margin: 7px 0 0; color: #dceaff; font-size: .86rem; }
.check-list { display: grid; gap: 12px; margin: 25px 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 28px; color: #33485e; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .37em; width: 14px; height: 8px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }

.feature-strip { border-top: 1px solid #e1e7ed; border-bottom: 1px solid #e1e7ed; background: #fbfcfd; }
.feature-strip-grid { display: grid; grid-template-columns: repeat(3,1fr); }
.feature { display: flex; align-items: center; gap: 14px; min-height: 112px; padding: 21px 27px; border-right: 1px solid #e1e7ed; }
.feature:last-child { border-right: 0; }
.feature-icon { flex: 0 0 auto; width: 42px; height: 42px; display: grid; place-items: center; color: var(--blue); background: #e8f2fa; border-radius: 11px; }
.feature-icon svg { width: 23px; height: 23px; }
.feature h3 { margin: 0; font-size: .99rem; line-height: 1.2; }
.feature p { margin: 4px 0 0; color: var(--muted); font-size: .84rem; line-height: 1.34; }

.band { position: relative; overflow: hidden; color: white; background: var(--ink); }
.band::before { content: ""; position: absolute; inset: 0; opacity: .36; background-image: linear-gradient(30deg, transparent 35%, rgba(255,255,255,.08) 35%, rgba(255,255,255,.08) 36%, transparent 36%), linear-gradient(150deg, transparent 35%, rgba(255,255,255,.08) 35%, rgba(255,255,255,.08) 36%, transparent 36%); background-size: 44px 44px; }
.band-content { position: relative; z-index: 1; padding: 68px 0; display: flex; justify-content: space-between; align-items: center; gap: 25px; }
.band h2 { max-width: 680px; margin: 0; font-size: clamp(1.75rem, 3.2vw, 3rem); letter-spacing: -.04em; line-height: 1.06; }
.band p { margin: 10px 0 0; color: #c6d2df; max-width: 680px; }

.products-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 23px; }
.product-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: white; transition: transform .2s ease, box-shadow .2s ease; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-image { position: relative; overflow: hidden; aspect-ratio: 16 / 10.3; background: #e7edf3; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.product-card:hover .product-image img { transform: scale(1.04); }
.badge { position: absolute; top: 13px; left: 13px; padding: 5px 9px; color: #1b3e5a; background: rgba(255,255,255,.94); border-radius: 999px; font-size: .71rem; font-weight: 850; letter-spacing: .045em; text-transform: uppercase; }
.product-body { display: flex; flex: 1; flex-direction: column; padding: 20px; }
.product-body h3 { margin: 0; font-size: 1.24rem; letter-spacing: -.02em; }
.product-body p { margin: 8px 0 18px; color: var(--muted); font-size: .92rem; }
.product-meta { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--blue); font-size: .85rem; font-weight: 800; }
.tag { display: inline-flex; align-items: center; padding: 4px 7px; color: #3f5264; background: var(--mist); border-radius: 5px; font-size: .73rem; font-weight: 750; }

.brands-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.brand-tile { min-height: 150px; padding: 25px; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.brand-wordmark { font-family: Georgia, "Times New Roman", serif; color: var(--ink); font-size: clamp(1.45rem, 2vw, 2.05rem); font-weight: 800; letter-spacing: -.035em; }
.brand-tile p { margin: 18px 0 0; color: var(--muted); font-size: .9rem; }
.brand-tile a { margin-top: 18px; color: var(--blue); font-size: .86rem; font-weight: 850; }

.quote-panel { overflow: hidden; border-radius: var(--radius); background: white; box-shadow: var(--shadow); }
.quote-panel-grid { display: grid; grid-template-columns: .72fr 1.28fr; }
.quote-panel-aside { padding: 39px; color: white; background: linear-gradient(140deg, #0a2037, #0c528b); }
.quote-panel-aside h2 { margin: 13px 0; font-size: clamp(1.9rem, 3vw, 2.85rem); line-height: 1.02; letter-spacing: -.04em; }
.quote-panel-aside p { color: #d3e1ed; }
.quote-panel-aside .side-contact { margin-top: 29px; display: grid; gap: 13px; }
.side-contact a { display: inline-flex; align-items: center; gap: 9px; color: white; font-weight: 800; }
.quote-form { padding: 35px; }
.form-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 15px; }
.form-group { display: grid; gap: 7px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { color: #263c52; font-size: .83rem; font-weight: 800; }
.form-group input, .form-group select, .form-group textarea { width: 100%; border: 1px solid #cbd6df; border-radius: 8px; padding: 12px 13px; color: var(--ink); background: #fff; }
.form-group textarea { min-height: 108px; resize: vertical; }
.form-note { margin: 14px 0; color: var(--muted); font-size: .78rem; }
.form-status { display: none; margin: 12px 0 0; padding: 12px 13px; border-radius: 8px; font-size: .88rem; }
.form-status.success { display: block; color: #145228; background: #e8f5ea; }
.form-status.error { display: block; color: #7d1e1e; background: #fbebeb; }

.gallery-grid { display: grid; grid-template-columns: repeat(12,1fr); grid-auto-rows: 122px; gap: 16px; }
.gallery-item { position: relative; overflow: hidden; border-radius: var(--radius-sm); background: #dbe6ee; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item::after { content: attr(data-label); position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 14px; color: white; background: linear-gradient(transparent, rgba(7,22,37,.82)); font-size: .84rem; font-weight: 800; }
.gallery-item:nth-child(1) { grid-column: span 6; grid-row: span 3; }
.gallery-item:nth-child(2) { grid-column: span 3; grid-row: span 2; }
.gallery-item:nth-child(3) { grid-column: span 3; grid-row: span 2; }
.gallery-item:nth-child(4) { grid-column: span 3; grid-row: span 2; }
.gallery-item:nth-child(5) { grid-column: span 3; grid-row: span 2; }
.gallery-item:nth-child(6) { grid-column: span 6; grid-row: span 2; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { min-height: 155px; padding: 28px 25px; background: white; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat-number { display: block; font-family: Georgia, "Times New Roman", serif; color: var(--blue); font-size: 2.65rem; font-weight: 800; line-height: 1; }
.stat-label { display: block; margin-top: 8px; color: #3e5468; font-size: .88rem; font-weight: 720; }

.filters { display: flex; flex-wrap: wrap; gap: 9px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fbfcfd; }
.filter-btn { min-height: 35px; padding: 0 12px; border: 1px solid #c9d5df; color: #42566a; background: white; border-radius: 99px; font-size: .82rem; font-weight: 780; }
.filter-btn:hover, .filter-btn.active { color: white; border-color: var(--blue); background: var(--blue); }
.catalog-note { margin: 17px 0 29px; color: var(--muted); font-size: .9rem; }
.catalog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.catalog-grid .product-card[hidden] { display: none; }

.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 60px; }
.rich-copy h2 { margin: 42px 0 12px; font-size: clamp(1.55rem, 3vw, 2.25rem); letter-spacing: -.035em; }
.rich-copy h2:first-child { margin-top: 0; }
.rich-copy h3 { margin: 28px 0 8px; font-size: 1.25rem; }
.rich-copy p, .rich-copy li { color: #405367; }
.rich-copy ul { padding-left: 20px; }
.side-nav { position: sticky; top: 110px; align-self: start; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fbfcfd; }
.side-nav h3 { margin: 0 0 11px; font-size: 1rem; }
.side-nav a { display: block; padding: 9px 0; color: #4a5e70; border-bottom: 1px solid var(--line); font-size: .89rem; font-weight: 720; }
.side-nav a:last-child { border-bottom: 0; }
.side-nav a:hover { color: var(--blue); }

.accordion { display: grid; gap: 10px; margin-top: 27px; }
.accordion details { overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.accordion summary { position: relative; padding: 16px 50px 16px 17px; list-style: none; cursor: pointer; font-weight: 850; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; position: absolute; right: 18px; top: 12px; color: var(--blue); font-size: 1.5rem; font-weight: 400; }
.accordion details[open] summary::after { content: "–"; }
.accordion .answer { padding: 0 18px 18px; color: #405367; }

.alert { padding: 17px 18px; border-left: 3px solid var(--gold); color: #55441c; background: #fff7e6; border-radius: 7px; }

.site-footer { margin-top: 0; color: #c9d4df; background: #071522; }
.footer-top { display: grid; grid-template-columns: 1.25fr repeat(3, .72fr); gap: 44px; padding: 62px 0 45px; }
.footer-brand .brand { margin-bottom: 17px; }
.footer-brand .brand-name { color: white; }
.footer-brand p { max-width: 315px; margin: 0; color: #aab8c5; font-size: .9rem; }
.footer-heading { margin: 6px 0 13px; color: white; font-size: .87rem; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.footer-links { display: grid; gap: 9px; }
.footer-links a { color: #b5c2ce; font-size: .89rem; }
.footer-links a:hover { color: white; }
.footer-contact { display: grid; gap: 10px; }
.footer-contact a, .footer-contact span { color: #c2cdd8; font-size: .9rem; }
.footer-contact a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 20px 0 30px; border-top: 1px solid rgba(255,255,255,.11); color: #8fa0af; font-size: .78rem; }
.footer-bottom a:hover { color: white; }

.mobile-actions { display: none; }

@media (max-width: 1110px) {
  .nav-links { gap: 15px; }
  .nav-link { font-size: .84rem; }
  .brand { min-width: 145px; }
  .nav-cta { display: none; }
  .card-grid { grid-template-columns: repeat(3,1fr); }
  .card-grid .service-card:nth-child(4), .card-grid .service-card:nth-child(5) { min-height: 245px; }
  .footer-top { grid-template-columns: 1.1fr repeat(3, .75fr); gap: 25px; }
}
@media (max-width: 880px) {
  .utility-inner { min-height: 38px; }
  .utility-group .utility-item:nth-child(2) { display: none; }
  .nav-wrap { min-height: 72px; }
  .nav-links { position: fixed; inset: 110px 14px auto 14px; display: none; padding: 16px; border: 1px solid var(--line); border-radius: 13px; background: white; box-shadow: var(--shadow); }
  .nav-links.open { display: grid; gap: 1px; }
  .nav-link { padding: 13px 10px; font-size: 1rem; }
  .nav-link::after { bottom: 7px; }
  .nav-links .nav-cta { display: inline-flex; margin: 8px 0 2px; }
  .menu-toggle { display: block; }
  .main-banner-grid { min-height: auto; grid-template-columns: 1fr; }
  .main-banner-content { padding: 70px 0 44px; }
  .main-banner-art { min-height: 400px; margin: -30px -20px 0; }
  .main-banner-art img { width: 105%; transform: none; }
  .main-banner-card { right: 8%; bottom: 38px; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse .media-frame { order: 2; }
  .floating-stat { right: 14px; bottom: -16px; }
  .feature-strip-grid { grid-template-columns: 1fr; }
  .feature { border-right: 0; border-bottom: 1px solid #e1e7ed; }
  .feature:last-child { border-bottom: 0; }
  .products-grid, .catalog-grid { grid-template-columns: repeat(2,1fr); }
  .quote-panel-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-auto-rows: 100px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .content-layout { grid-template-columns: 1fr; gap: 30px; }
  .side-nav { position: static; }
  .footer-top { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}
@media (max-width: 640px) {
  body { padding-bottom: 60px; }
  .container { width: min(100% - 30px, var(--max)); }
  .section { padding: 58px 0; }
  .section-sm { padding: 40px 0; }
  .utility-item { font-size: .78rem; }
  .utility-inner { justify-content: center; }
  .utility-group { gap: 12px; }
  .utility-group:first-child .utility-item { display: none; }
  .utility-group:first-child .utility-item:first-child { display: flex; }
  .utility-link { font-size: .78rem; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-name { font-size: 1.17rem; }
  .nav-links { inset: 102px 10px auto 10px; }
  .main-banner-content { padding: 57px 0 35px; }
  .main-banner h1 { font-size: clamp(2.65rem, 12vw, 4rem); }
  .main-banner-lede { font-size: 1rem; }
  .main-banner-art { min-height: 270px; }
  .main-banner-card { display: none; }
  .trust-row { gap: 12px 16px; margin-top: 27px; font-size: .8rem; }
  .main-banner-actions .btn { flex: 1 1 auto; }
  .page-banner .container { padding: 57px 0 54px; }
  .page-banner h1 { font-size: clamp(2.4rem, 12vw, 3.5rem); }
  .card-grid, .products-grid, .catalog-grid, .brands-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 250px; }
  .band-content { display: block; padding: 53px 0; }
  .band-content .btn { margin-top: 22px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group.full { grid-column: auto; }
  .quote-panel-aside, .quote-form { padding: 27px 20px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 125px; }
  .gallery-item:nth-child(n) { grid-column: span 1; grid-row: span 1; }
  .gallery-item:first-child { grid-column: span 2; grid-row: span 2; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .filters { gap: 7px; padding: 12px; }
  .filter-btn { font-size: .76rem; }
  .footer-top { grid-template-columns: 1fr; padding: 50px 0 36px; }
  .footer-bottom { display: grid; gap: 8px; }
  .mobile-actions { position: fixed; z-index: 2000; bottom: 0; left: 0; right: 0; display: grid; grid-template-columns: 1fr 1fr; min-height: 60px; background: white; border-top: 1px solid var(--line); box-shadow: 0 -9px 25px rgba(10,24,41,.10); }
  .mobile-actions a { display: grid; place-items: center; font-size: .88rem; font-weight: 900; }
  .mobile-actions a:first-child { color: white; background: var(--blue); }
  .mobile-actions a:last-child { color: var(--ink); background: var(--gold); }
}

/* HDI Contractors custom theme */
.utility-bar{background:#07569b;}
.hdi-brand{min-width:190px;}
.hdi-brand img{width:190px;height:64px;object-fit:contain;}
.footer-logo img{filter:brightness(0) invert(1);}
.hdi-banner{background:linear-gradient(132deg,#052f59 0%,#07569b 58%,#1688d0 100%);}
.hdi-banner .main-banner-art img{width:112%;height:100%;object-fit:cover;transform:translateX(6%);border-radius:18px 0 0 18px;}
.hdi-band{background:#07569b;}
.site-footer{background:#052f59;}
@media(max-width:980px){.hdi-brand img{width:155px;height:54px}.hdi-banner .main-banner-art img{width:100%;transform:none;border-radius:16px}}

/* HDI credibility and company-story additions */
.license-badge{display:inline-flex;align-items:center;gap:12px;margin-top:24px;padding:13px 18px;border:1px solid rgba(255,255,255,.45);background:rgba(255,255,255,.12);border-radius:999px;color:#fff;font-size:1.02rem;letter-spacing:.02em;box-shadow:0 8px 24px rgba(0,0,0,.12)}
.license-badge strong{font-weight:800}.license-badge.compact{margin-top:20px;padding:10px 16px;font-size:.95rem}
.credential-strip{background:#063f75;color:#fff;padding:22px 0;border-top:1px solid rgba(255,255,255,.14);border-bottom:1px solid rgba(255,255,255,.14)}
.credential-strip .container>div{display:flex;align-items:center;justify-content:space-between;gap:22px;flex-wrap:wrap}.credential-strip span{font-weight:700}.credential-strip strong{font-size:clamp(1.15rem,2.5vw,1.65rem);letter-spacing:.04em}.credential-strip a{color:#fff;font-weight:800;text-decoration:none}
.footer-credential{font-weight:800;color:#fff;letter-spacing:.04em;margin-top:12px}
.story-section{background:var(--mist)}.story-section .rich-copy{max-width:900px}.story-section .rich-copy p{font-size:1.06rem;line-height:1.8}
.timeline-section{background:#fff}.timeline{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-top:30px}.timeline article{position:relative;padding:26px 22px;border:1px solid #dce5ee;border-top:4px solid var(--primary);border-radius:12px;background:#fff;box-shadow:0 12px 32px rgba(4,39,72,.08)}.timeline article span{display:inline-block;color:var(--primary);font-weight:900;font-size:.82rem;letter-spacing:.1em;text-transform:uppercase}.timeline article h3{margin:8px 0 10px;font-size:1.2rem}.timeline article p{margin:0;color:var(--muted);line-height:1.6}
@media(max-width:900px){.timeline{grid-template-columns:repeat(2,1fr)}}
@media(max-width:620px){.license-badge{border-radius:14px;gap:7px;padding:11px 13px;font-size:.86rem}.credential-strip .container>div{justify-content:center;text-align:center}.timeline{grid-template-columns:1fr}}

/* Cohesive HDI modern redesign */
.hdi-modern{background:#fff;color:#0a2545}
.hdi-modern .utility-bar{background:linear-gradient(90deg,#0a315b,#07569b);padding:10px 0}
.hdi-modern .utility-item,.hdi-modern .utility-link{color:#fff}
.hdi-modern .btn-light{background:#fff;color:#07569b;border-color:#fff}
.hdi-modern .site-header{background:linear-gradient(90deg,#fff 0 34%,#0a315b 34%,#07569b 100%);box-shadow:0 8px 28px rgba(5,47,89,.16)}
.hdi-modern .nav-wrap{min-height:112px}
.hdi-modern .hdi-brand{background:#fff;padding:8px 24px 8px 0;border-radius:0 24px 24px 0}
.hdi-modern .hdi-brand img{width:270px;height:92px}
.hdi-modern .nav-link{color:#fff}.hdi-modern .nav-link:hover,.hdi-modern .nav-link.active{color:#75c7ff}
.hdi-modern .nav-cta{background:#1375c8;border-color:#3ca4ef;color:#fff}
.hdi-modern .main-banner{background:linear-gradient(135deg,#fff 0%,#f5f9fd 100%);color:#0a2545}
.hdi-modern .main-banner-grid{grid-template-columns:1fr 1.1fr;min-height:560px}
.hdi-modern .main-banner-content{padding:82px 0}
.hdi-modern .main-banner h1{color:#082e59;max-width:720px;font-size:clamp(3.2rem,5.5vw,6rem);line-height:.95;text-transform:uppercase;letter-spacing:-.045em}
.hdi-modern .main-banner-lede{color:#243a52;max-width:650px}
.hdi-modern .main-banner .kicker{color:#1375c8}
.hdi-modern .license-badge{background:#07569b;border-color:#07569b;color:#fff}
.hdi-modern .btn-gold{background:#1375c8;border-color:#1375c8;color:#fff}.hdi-modern .btn-ghost{color:#07569b;border-color:#07569b}
.hdi-modern .trust-item{color:#173b60}.hdi-modern .trust-item .dot{background:#1375c8}
.hdi-modern .logo-showcase{display:grid;place-items:center;background:radial-gradient(circle at center,#fff 0,#edf5fc 72%,#dceaf6 100%);padding:55px;overflow:hidden}
.hdi-modern .hdi-banner .logo-showcase img{width:min(100%,760px);height:auto;object-fit:contain;transform:none;border-radius:0;filter:drop-shadow(0 24px 30px rgba(4,39,72,.14))}
.hdi-modern .feature-strip{background:#fff;border-top:1px solid #dce8f2;border-bottom:1px solid #dce8f2}
.hdi-modern .feature h3{color:#07569b}.hdi-modern .eyebrow,.hdi-modern .kicker{color:#1375c8}
.hdi-modern .heading{color:#082e59}.hdi-modern .hdi-band{background:linear-gradient(90deg,#082e59,#0b6eb8)}
.hdi-modern .credential-strip{background:linear-gradient(90deg,#07569b,#0b71bd)}
.hdi-modern .site-footer{background:linear-gradient(135deg,#061d34,#083e70)}
.modern-page-banner{background:linear-gradient(135deg,#f7fbff,#eaf3fb);padding:0;color:#0a2545}
.modern-page-banner .page-banner-grid{display:grid;grid-template-columns:1.05fr .95fr;min-height:390px;padding:0}
.modern-page-banner .page-banner-copy{padding:72px 55px 65px 0;align-self:center}
.modern-page-banner h1{color:#082e59;font-size:clamp(2.8rem,5vw,5rem);line-height:1;text-transform:uppercase;letter-spacing:-.035em}
.modern-page-banner p{color:#314b65;font-size:1.18rem;max-width:680px}
.modern-page-banner .breadcrumbs a,.modern-page-banner .breadcrumbs span{color:#47647f}
.modern-page-banner .page-banner-visual{min-height:390px;overflow:hidden;background:#dceaf6}
.modern-page-banner .page-banner-visual img{width:100%;height:100%;object-fit:cover}
.modern-page-banner .page-banner-visual.logo-panel{display:grid;place-items:center;padding:45px;background:#fff}
.modern-page-banner .page-banner-visual.logo-panel img{object-fit:contain;filter:drop-shadow(0 18px 24px rgba(4,39,72,.12))}
.hdi-modern .card,.hdi-modern .service-card,.hdi-modern .quote-panel,.hdi-modern .timeline article{border-radius:16px;box-shadow:0 14px 38px rgba(5,47,89,.09)}
@media(max-width:980px){
 .hdi-modern .site-header{background:#fff}.hdi-modern .nav-wrap{min-height:82px}.hdi-modern .hdi-brand img{width:200px;height:66px}.hdi-modern .menu-toggle{color:#07569b}
 .hdi-modern .nav-links{background:#083b6d}.hdi-modern .main-banner-grid,.modern-page-banner .page-banner-grid{grid-template-columns:1fr}.hdi-modern .main-banner-content{padding:58px 0 38px}.hdi-modern .logo-showcase{min-height:380px}.modern-page-banner .page-banner-copy{padding:55px 0 42px}.modern-page-banner .page-banner-visual{min-height:310px}
}
@media(max-width:640px){.hdi-modern .hdi-brand{padding-right:10px}.hdi-modern .hdi-brand img{width:165px;height:56px}.hdi-modern .main-banner h1{font-size:clamp(2.55rem,12vw,4.1rem)}.hdi-modern .logo-showcase{padding:25px;min-height:260px}.modern-page-banner h1{font-size:clamp(2.35rem,11vw,3.5rem)}.modern-page-banner .page-banner-visual{min-height:230px}}

/* Professional agency refinement — compact, high-contrast header and page introductions */
.hdi-modern .utility-bar{
  padding:4px 0;
  background:linear-gradient(90deg,#062d55,#075f9f);
}
.hdi-modern .utility-inner{min-height:34px}
.hdi-modern .site-header{
  background:linear-gradient(90deg,#ffffff 0 29%,#082f59 29%,#075f9f 100%);
}
.hdi-modern .nav-wrap{min-height:78px}
.hdi-modern .hdi-brand{padding:5px 20px 5px 0;border-radius:0 18px 18px 0}
.hdi-modern .hdi-brand img{width:210px;height:68px}
.hdi-modern .nav-link{color:#ffffff;text-shadow:0 1px 2px rgba(0,0,0,.22)}
.hdi-modern .nav-link:hover,.hdi-modern .nav-link.active{color:#bfe7ff}
.hdi-modern .nav-link::after{background:#ffffff}
.hdi-modern .nav-cta{min-height:42px;padding:0 16px;background:#1280d2;border-color:#56b8f1}

.hdi-modern .main-banner-grid{min-height:470px}
.hdi-modern .main-banner-content{padding:56px 0 60px}
.hdi-modern .main-banner h1{font-size:clamp(2.8rem,4.7vw,5.1rem);line-height:.96}
.hdi-modern .logo-showcase{padding:38px;min-height:470px}
.hdi-modern .hdi-banner .logo-showcase img{width:min(92%,650px)}

.modern-page-banner{
  background:linear-gradient(120deg,#072c52 0%,#075b99 58%,#0a76bd 100%);
  color:#ffffff;
}
.modern-page-banner .page-banner-grid{min-height:310px}
.modern-page-banner .page-banner-copy{padding:52px 48px 48px 0}
.modern-page-banner h1{
  color:#ffffff;
  font-size:clamp(2.45rem,4.3vw,4.25rem);
  line-height:1;
  text-shadow:0 2px 8px rgba(0,0,0,.18);
}
.modern-page-banner p{color:#eef7ff;font-size:1.08rem}
.modern-page-banner .kicker{color:#ffffff}
.modern-page-banner .breadcrumbs,
.modern-page-banner .breadcrumbs a,
.modern-page-banner .breadcrumbs span{color:#d9efff}
.modern-page-banner .page-banner-visual{min-height:310px}
.modern-page-banner .page-banner-visual img{filter:saturate(.95) contrast(1.04)}
.modern-page-banner .page-banner-visual.logo-panel{background:#f7fbff;padding:32px}
.modern-page-banner .license-badge{background:#ffffff;color:#07569b;border-color:#ffffff;box-shadow:0 10px 28px rgba(0,0,0,.16)}

@media(max-width:980px){
  .hdi-modern .site-header{background:#ffffff}
  .hdi-modern .nav-wrap{min-height:72px}
  .hdi-modern .hdi-brand img{width:178px;height:58px}
  .hdi-modern .main-banner-grid{min-height:auto}
  .hdi-modern .logo-showcase{min-height:320px}
  .modern-page-banner .page-banner-grid{min-height:auto}
  .modern-page-banner .page-banner-copy{padding:44px 0 38px}
  .modern-page-banner .page-banner-visual{min-height:250px}
}
@media(max-width:640px){
  .hdi-modern .utility-bar{padding:2px 0}
  .hdi-modern .utility-inner{min-height:32px}
  .hdi-modern .hdi-brand img{width:150px;height:50px}
  .hdi-modern .main-banner-content{padding:44px 0 34px}
  .hdi-modern .logo-showcase{min-height:235px;padding:22px}
  .modern-page-banner .page-banner-copy{padding:38px 0 32px}
  .modern-page-banner .page-banner-visual{min-height:210px}
}


/* Approved responsive white-and-blue presentation */
.hdi-modern .utility-bar{
  padding:0;
  background:#07569b;
}
.hdi-modern .utility-inner{
  min-height:34px;
  font-size:.76rem;
  letter-spacing:.02em;
}
.hdi-modern .site-header{
  position:sticky;
  top:0;
  background:linear-gradient(90deg,#ffffff 0 31%,#082d58 31%,#07569b 100%);
  box-shadow:0 5px 20px rgba(5,47,89,.15);
  border-bottom:0;
}
.hdi-modern .nav-wrap{
  min-height:82px;
}
.hdi-modern .hdi-brand{
  min-width:190px;
  padding:3px 25px 3px 0;
  background:#fff;
  border-radius:0 18px 18px 0;
}
.hdi-modern .hdi-brand img{
  width:190px;
  height:70px;
  object-fit:contain;
}
.hdi-modern .nav-links{gap:18px}
.hdi-modern .nav-link{
  color:#fff;
  font-size:.79rem;
  font-weight:800;
  letter-spacing:.02em;
  text-shadow:none;
}
.hdi-modern .nav-cta{
  min-height:38px;
  padding:0 14px;
  background:#1177c7;
  border-color:#52b2ef;
  font-size:.76rem;
}
.hdi-modern .main-banner{
  color:#0a2545;
  background:linear-gradient(118deg,#fff 0%,#fff 50%,#f1f6fb 100%);
}
.hdi-modern .main-banner::before{display:none}
.hdi-modern .main-banner-grid{
  min-height:485px;
  grid-template-columns:minmax(0,.88fr) minmax(430px,1.12fr);
  gap:24px;
}
.hdi-modern .main-banner-content{
  padding:58px 0 62px;
}
.hdi-modern .main-banner .kicker{
  color:#0e6db6;
  font-size:.8rem;
  letter-spacing:.13em;
}
.hdi-modern .main-banner h1{
  margin:13px 0 20px;
  color:#092f5b;
  font-size:clamp(2.8rem,4.5vw,4.85rem);
  line-height:.94;
  letter-spacing:-.055em;
  text-transform:uppercase;
}
.hdi-modern .main-banner h1 span{color:#126dc0}
.hdi-modern .main-banner-lede{
  max-width:600px;
  color:#273b50;
  font-size:clamp(.98rem,1.35vw,1.1rem);
  line-height:1.62;
}
.hdi-modern .license-badge{
  margin-top:20px;
  padding:10px 14px;
  color:#07569b;
  background:#f4f9fd;
  border:1px solid #9fc8e7;
  box-shadow:none;
  font-size:.88rem;
}
.hdi-modern .main-banner-actions{margin-top:22px}
.hdi-modern .main-banner-actions .btn{min-height:43px;font-size:.8rem}
.hdi-modern .trust-row{display:none}
.hdi-modern .logo-showcase{
  min-height:485px;
  padding:44px 28px;
  place-items:center;
  background:radial-gradient(circle at center,#fff 0,#f5f9fd 55%,#e7f0f8 100%);
}
.hdi-modern .hdi-banner .logo-showcase img{
  width:min(96%,680px);
  max-height:390px;
  object-fit:contain;
  filter:drop-shadow(0 18px 25px rgba(4,39,72,.12));
}
.approved-feature-strip{background:#fff}
.approved-features{
  grid-template-columns:repeat(6,1fr);
}
.approved-features .feature{
  min-height:168px;
  padding:24px 16px 20px;
  display:flex;
  flex-direction:column;
  text-align:center;
  justify-content:flex-start;
  align-items:center;
  gap:9px;
  border-right:1px solid #dce8f2;
}
.approved-features .feature:last-child{border-right:0}
.feature-symbol{
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  color:#fff;
  background:linear-gradient(145deg,#0d6dbb,#07569b);
  border-radius:50%;
  font-size:1.1rem;
  font-weight:900;
}
.approved-features .feature h3{
  color:#082e59;
  font-size:.78rem;
  text-transform:uppercase;
  line-height:1.22;
}
.approved-features .feature p{
  color:#344b61;
  font-size:.73rem;
  line-height:1.42;
}

@media(max-width:1040px){
  .hdi-modern .site-header{background:#fff}
  .hdi-modern .nav-wrap{min-height:72px}
  .hdi-modern .hdi-brand{padding-right:10px}
  .hdi-modern .hdi-brand img{width:174px;height:58px}
  .hdi-modern .menu-toggle{color:#07569b}
  .hdi-modern .nav-links{background:#073864}
  .hdi-modern .main-banner-grid{grid-template-columns:1fr;min-height:auto}
  .hdi-modern .main-banner-content{padding:48px 0 26px;text-align:center}
  .hdi-modern .main-banner-lede{margin-left:auto;margin-right:auto}
  .hdi-modern .license-badge{justify-content:center}
  .hdi-modern .main-banner-actions{justify-content:center}
  .hdi-modern .logo-showcase{min-height:300px;padding:20px 30px 38px;background:#f4f8fc}
  .hdi-modern .hdi-banner .logo-showcase img{width:min(82%,590px);max-height:270px}
  .approved-features{grid-template-columns:repeat(3,1fr)}
  .approved-features .feature:nth-child(3){border-right:0}
  .approved-features .feature:nth-child(-n+3){border-bottom:1px solid #dce8f2}
}
@media(max-width:620px){
  .hdi-modern .utility-group:first-child .utility-item:first-child{display:inline}
  .hdi-modern .utility-group:first-child .utility-item:nth-child(2){display:none}
  .hdi-modern .utility-link{font-size:.72rem}
  .hdi-modern .utility-inner{min-height:32px}
  .hdi-modern .hdi-brand img{width:145px;height:49px}
  .hdi-modern .main-banner-content{padding:38px 0 20px}
  .hdi-modern .main-banner h1{font-size:clamp(2.25rem,11vw,3.35rem)}
  .hdi-modern .main-banner-lede{font-size:.96rem}
  .hdi-modern .license-badge{width:100%;flex-wrap:wrap;border-radius:10px}
  .hdi-modern .main-banner-actions{display:grid;grid-template-columns:1fr;width:100%}
  .hdi-modern .main-banner-actions .btn{width:100%}
  .hdi-modern .logo-showcase{min-height:220px;padding:12px 20px 28px}
  .hdi-modern .hdi-banner .logo-showcase img{width:100%;max-height:205px}
  .approved-features{grid-template-columns:repeat(2,1fr)}
  .approved-features .feature{min-height:178px;padding:22px 12px;border-bottom:1px solid #dce8f2}
  .approved-features .feature:nth-child(odd){border-right:1px solid #dce8f2}
  .approved-features .feature:nth-child(even){border-right:0}
  .approved-features .feature:nth-last-child(-n+2){border-bottom:0}
}


/* Image presentation refinements: keep designed artwork and all embedded text fully visible. */
.hdi-modern .gallery-item.artwork{background:#f4f7fa}
.hdi-modern .gallery-item.artwork img,
.hdi-modern .product-image.artwork img{
  object-fit:contain !important;
  background:#f4f7fa;
  padding:0;
}
.hdi-modern .gallery-item.artwork::after{background:linear-gradient(180deg,transparent 68%,rgba(4,31,57,.82))}
.hdi-modern .product-image.artwork{background:#f4f7fa}

/* Detailed commercial plumbing plan section. */
.blueprint-section{background:#f4f8fc;border-top:1px solid #dbe6ef;border-bottom:1px solid #dbe6ef}
.blueprint-grid{display:grid;grid-template-columns:minmax(280px,.72fr) minmax(0,1.45fr);gap:42px;align-items:center}
.blueprint-copy .btn{margin-top:10px}
.blueprint-frame{margin:0;background:#fff;border:1px solid #cbd9e5;border-radius:14px;box-shadow:0 18px 44px rgba(5,47,89,.12);overflow:hidden}
.blueprint-frame img{display:block;width:100%;height:auto;object-fit:contain;background:#fff}
.blueprint-frame figcaption{padding:11px 16px;border-top:1px solid #dce6ee;color:#526477;font-size:.78rem;line-height:1.45;background:#fff}
@media(max-width:900px){
  .blueprint-grid{grid-template-columns:1fr;gap:26px}
  .blueprint-copy{text-align:center}
  .blueprint-copy .subheading{margin-left:auto;margin-right:auto}
}
@media(max-width:640px){
  .blueprint-frame{border-radius:9px;overflow-x:auto}
  .blueprint-frame img{min-width:760px;max-width:none}
  .blueprint-frame figcaption{position:sticky;left:0;width:100vw;max-width:100%;font-size:.73rem}
}

/* July 2026 visual refinements */
.logo-showcase { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:14px; padding:28px 34px; }
.logo-showcase .logo-label { color:var(--blue); font-size:clamp(1rem,1.8vw,1.45rem); font-weight:900; letter-spacing:.15em; text-transform:uppercase; text-align:center; }
.logo-showcase img { width:min(78%,620px) !important; max-height:430px; object-fit:contain; }
@media (max-width:880px){ .logo-showcase { min-height:330px; padding:24px 20px 34px; } .logo-showcase img { width:min(82%,520px) !important; } }
@media (max-width:640px){ .logo-showcase { min-height:235px; gap:8px; padding:18px 16px 28px; } .logo-showcase .logo-label { font-size:.9rem; letter-spacing:.12em; } .logo-showcase img { width:min(84%,390px) !important; } }


/* Our Work: images with embedded design text display without added caption overlays. */
.hdi-modern .gallery-no-captions .gallery-item::after{content:none !important;display:none !important;}
.hdi-modern .gallery-no-captions .gallery-item:hover img{transform:none;}


/* Final production pass: footer repair, compact spacing, employment downloads */
.site-footer{margin-top:0!important;}
main > section:last-child{margin-bottom:0;}
.footer-top{align-items:start;}
.footer-wordmark{display:inline-flex;flex-direction:column;line-height:.88;color:#fff;margin-bottom:22px;letter-spacing:.08em;}
.footer-wordmark strong{font-size:3rem;letter-spacing:-.04em;}
.footer-wordmark span{font-size:.88rem;font-weight:900;letter-spacing:.28em;margin-left:.15rem;margin-top:.5rem;}
.footer-brand p{max-width:430px;}
.footer-service-area{color:#d9edff;font-weight:700;margin-top:8px;}
.footer-logo{display:none!important;}
.footer-top{padding-top:56px;padding-bottom:42px;}
.footer-bottom{padding-top:20px;padding-bottom:20px;}
.employment-section{background:#f5f9fc;}
.employment-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:clamp(34px,6vw,80px);align-items:start;}
.application-panel,.career-card{background:#fff;border:1px solid #d8e5ef;border-radius:16px;padding:30px;box-shadow:0 14px 38px rgba(5,47,89,.08);}
.application-panel{margin-top:28px;border-left:5px solid #07569b;}
.application-panel h3,.career-card h3{margin:0 0 10px;color:#082e59;font-size:1.5rem;}
.download-actions{display:flex;flex-wrap:wrap;gap:12px;margin:22px 0 12px;}
.download-note{font-size:.9rem;color:#5c6b7a;margin-bottom:0;}
.check-list{padding:0;margin:18px 0 28px;list-style:none;}
.check-list li{position:relative;padding:9px 0 9px 30px;border-bottom:1px solid #e3ebf2;}
.check-list li::before{content:'✓';position:absolute;left:0;top:9px;width:auto;height:auto;border:0;transform:none;color:#07569b;font-weight:900;}
@media(max-width:900px){.employment-grid{grid-template-columns:1fr}.footer-top{grid-template-columns:1fr 1fr;gap:34px}.footer-brand{grid-column:1/-1}.footer-wordmark strong{font-size:2.5rem}}
@media(max-width:620px){.footer-top{grid-template-columns:1fr;padding-top:42px}.footer-brand{grid-column:auto}.footer-wordmark strong{font-size:2.25rem}.application-panel,.career-card{padding:22px}.download-actions{display:grid}.download-actions .btn{width:100%}}


/* Quote page: preserve the complete designed image instead of cropping its built-in text */
.quote-page-banner .page-banner-grid{grid-template-columns:.82fr 1.18fr;min-height:430px}
.quote-page-banner .page-banner-visual{min-height:430px;background:#050b10;display:flex;align-items:center;justify-content:center}
.quote-page-banner .quote-banner-image img{width:100%;height:100%;object-fit:contain;object-position:center center;filter:none}
@media(max-width:980px){
  .quote-page-banner .page-banner-grid{grid-template-columns:1fr;min-height:auto}
  .quote-page-banner .page-banner-visual{min-height:0;background:#050b10}
  .quote-page-banner .quote-banner-image img{height:auto;max-height:none;object-fit:contain}
}


/* Online employment application */
.online-application-section{background:#f4f8fb;padding-top:52px}.application-form-wrap{max-width:1120px}.application-intro{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:22px}.application-intro .heading{margin-bottom:5px}.application-intro p{margin:0;color:var(--muted)}.application-trust{padding:12px 16px;border-radius:999px;background:#e5f1fb;color:#07569b;font-weight:900;white-space:nowrap}.application-trust span{margin:0 6px}.privacy-callout{margin:0 0 24px;padding:16px 18px;border-left:5px solid #d4a540;border-radius:10px;background:#fff8e8;color:#3b4651;line-height:1.55}.online-application-form{display:grid;gap:22px}.online-application-form fieldset{margin:0;padding:26px;border:1px solid #d8e5ef;border-radius:16px;background:#fff;box-shadow:0 12px 34px rgba(5,47,89,.06)}.online-application-form legend{padding:0 10px;color:#082e59;font-size:1.25rem;font-weight:900}.online-application-form .form-group span{color:#263c52;font-size:.83rem;font-weight:800}.option-group{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 20px;padding:12px 0}.option-group>span{grid-column:1/-1}.option-group label,.consent-box{display:flex!important;grid-template-columns:none!important;align-items:flex-start;gap:10px;color:#344b60;font-weight:600}.option-group input,.consent-box input{width:auto!important;margin-top:3px}.employment-history-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.history-card{padding:20px;border:1px solid #e2ebf2;border-radius:12px;background:#f8fbfd}.history-card h3{margin:0 0 15px;color:#07569b}.acknowledgement-text{margin-bottom:18px;padding:18px;border-radius:10px;background:#f7fafc;color:#42586b;font-size:.9rem;line-height:1.65}.application-submit{text-align:center;padding:12px 0 0}.application-submit p{max-width:680px;margin:12px auto 0;color:var(--muted);font-size:.85rem}.btn-large{padding:15px 24px;font-size:1rem}.hp-wrap{position:absolute!important;left:-10000px!important;top:auto!important;width:1px!important;height:1px!important;overflow:hidden!important}.hp-field{width:1px!important;height:1px!important;opacity:0!important}.application-banner .page-banner-visual img{object-fit:cover}
@media(max-width:820px){.application-intro{align-items:flex-start;flex-direction:column}.application-trust{white-space:normal}.employment-history-grid{grid-template-columns:1fr}.option-group{grid-template-columns:1fr}.online-application-form fieldset{padding:20px 16px}}



/* HDI Master 2: consolidated mobile header and home hero layout */
@media (max-width: 880px) {
  .hdi-modern .site-header { background:#fff; }
  .hdi-modern .nav-wrap { min-height:76px; align-items:center; padding-top:6px; padding-bottom:6px; }
  .hdi-modern .hdi-brand { display:flex; align-items:center; min-width:0; padding:0 8px 0 0; }
  .hdi-modern .hdi-brand img { display:block; width:174px; height:58px; object-fit:contain; }
  .hdi-modern .menu-toggle { margin-left:auto; align-self:center; }

  .hdi-modern .hdi-banner .main-banner-grid { display:flex; flex-direction:column; min-height:auto; }
  .hdi-modern .hdi-banner .main-banner-art.logo-showcase {
    order:-1; width:100%; min-height:320px; padding:28px 16px 24px;
    display:flex; flex-direction:column; align-items:center; justify-content:center; gap:12px; text-align:center;
  }
  .hdi-modern .hdi-banner .main-banner-art.logo-showcase img {
    order:1; display:block; width:min(96%,520px) !important; max-height:270px; margin:0 auto; object-fit:contain;
  }
  .hdi-modern .hdi-banner .main-banner-art.logo-showcase .logo-label {
    order:2; display:block; margin:2px auto 0; line-height:1.25; text-align:center;
  }
  .hdi-modern .hdi-banner .main-banner-content { width:100%; padding:34px 0 28px; text-align:center; }
  .hdi-modern .hdi-banner .main-banner-content .kicker,
  .hdi-modern .hdi-banner .main-banner-content h1,
  .hdi-modern .hdi-banner .main-banner-lede { text-align:center; }
  .hdi-modern .hdi-banner .main-banner-lede { margin-left:auto; margin-right:auto; }
  .hdi-modern .hdi-banner .license-badge,
  .hdi-modern .hdi-banner .main-banner-actions { justify-content:center; margin-left:auto; margin-right:auto; }
}
@media (max-width: 620px) {
  .hdi-modern .nav-wrap { min-height:70px; }
  .hdi-modern .hdi-brand img { width:150px; height:52px; }
  .hdi-modern .hdi-banner .main-banner-art.logo-showcase { min-height:285px; padding:24px 14px 22px; gap:10px; }
  .hdi-modern .hdi-banner .main-banner-art.logo-showcase img { width:min(98%,430px) !important; max-height:235px; }
  .hdi-modern .hdi-banner .main-banner-art.logo-showcase .logo-label { font-size:.95rem; letter-spacing:.11em; }
  .hdi-modern .hdi-banner .main-banner-content { padding:30px 0 24px; }
  .hdi-modern .hdi-banner .main-banner-actions { display:grid; grid-template-columns:1fr; width:100%; }
  .hdi-modern .hdi-banner .main-banner-actions .btn { width:100%; text-align:center; }
}
@media (max-width: 360px) {
  .hdi-modern .hdi-brand img { width:136px; height:48px; }
  .hdi-modern .hdi-banner .main-banner-art.logo-showcase { min-height:265px; padding-left:10px; padding-right:10px; }
  .hdi-modern .hdi-banner .main-banner-art.logo-showcase img { max-height:215px; }
}

/* HDI Master 3.1: desktop-only home hero refinement.
   Mobile/tablet formatting at 880px and below remains unchanged. */
@media (min-width: 881px) {
  .hdi-modern .hdi-banner .main-banner-grid {
    min-height: 430px;
    align-items: stretch;
  }

  .hdi-modern .hdi-banner .main-banner-content {
    padding-top: 44px;
    padding-bottom: 46px;
  }

  .hdi-modern .hdi-banner .main-banner-art.logo-showcase {
    min-height: 430px;
    justify-content: flex-start;
    gap: 6px;
    padding: 22px 20px 24px;
  }

  .hdi-modern .hdi-banner .main-banner-art.logo-showcase .logo-label {
    margin: 0;
    line-height: 1.1;
  }

  .hdi-modern .hdi-banner .main-banner-art.logo-showcase img {
    width: min(100%, 760px) !important;
    max-height: 365px;
    margin-top: -2px;
  }
}


/* Home specialists section desktop correction: preserve image proportions and top-align copy. */
@media (min-width:981px){
  .home-specialists{padding-top:52px;}
  .home-specialists .split{align-items:start;gap:clamp(38px,4.5vw,68px);}
  .home-specialists .media-frame img{display:block;width:100%;height:auto;aspect-ratio:auto;object-fit:contain;}
  .home-specialists .split>div:last-child{padding-top:4px;min-width:0;}
  .home-specialists .heading{font-size:clamp(2.35rem,3.2vw,3.35rem);max-width:690px;}
  .home-specialists .subheading{max-width:690px;}
}

/* Version 3.3: preserve project-image aspect ratios without stretching or unnecessary cropping. */
.hdi-modern .modern-page-banner:not(.quote-page-banner) .page-banner-visual{
  min-height:0;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  background:#eef4f8;
}
.hdi-modern .modern-page-banner:not(.quote-page-banner) .page-banner-visual img{
  display:block;
  width:100%;
  height:auto;
  max-width:100%;
  max-height:none;
  object-fit:contain;
  object-position:center;
}

.hdi-modern .gallery-grid{
  grid-template-columns:repeat(2,minmax(0,1fr));
  grid-auto-rows:auto;
  align-items:start;
}
.hdi-modern .gallery-item,
.hdi-modern .gallery-item:nth-child(n){
  grid-column:auto;
  grid-row:auto;
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:0;
  background:#f4f7fa;
}
.hdi-modern .gallery-item img,
.hdi-modern .gallery-item.artwork img{
  display:block;
  width:100%;
  height:auto;
  max-width:100%;
  object-fit:contain !important;
  object-position:center;
  transform:none;
}
.hdi-modern .gallery-item:hover img{transform:none;}

@media(max-width:720px){
  .hdi-modern .gallery-grid{grid-template-columns:1fr;}
  .hdi-modern .gallery-item:first-child,
  .hdi-modern .gallery-item:nth-child(n){grid-column:auto;grid-row:auto;}
  .hdi-modern .modern-page-banner:not(.quote-page-banner) .page-banner-visual{min-height:0;}
}

/* Version 3.4: home-page tankless image — crop the sides on mobile without stretching. */
@media (max-width: 880px) {
  .home-specialists .media-frame {
    width: 100%;
    aspect-ratio: 5 / 4;
    overflow: hidden;
  }

  .home-specialists .media-frame img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center center;
  }
}


/* HDI Master 4 - About page mobile image fix */
@media (max-width: 768px){
  .story-intro .media-frame{
    overflow:hidden;
  }
  .story-intro .media-frame img{
    display:block;
    width:100%;
    height:auto !important;
    max-width:100%;
    aspect-ratio:auto !important;
    object-fit:contain !important;
    transform:none !important;
  }
}


/* HDI Master 4.1 - About page reliability image: preserve the source image's 4:3 proportions on desktop and mobile. */
.hdi-modern .about-reliability-section .media-frame {
  width: 100%;
  height: auto !important;
  aspect-ratio: auto !important;
  overflow: hidden;
}
.hdi-modern .about-reliability-section .media-frame img {
  display: block;
  width: 100% !important;
  height: auto !important;
  max-width: 100%;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center center;
  transform: none !important;
}
