/* Shared visual layer for the valve-page stage-one sample. */
:root {
  --blue: #0057B8;
  --blue-dark: #003D82;
  --blue-light: #EAF1FB;
  --gray: #5A6472;
  --gray-light: #F4F6F8;
  --border: #E3E8EE;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: clip; }
body { background: #fff; color: #0F1E33; }
main { overflow: clip; }

.hero, .product-hero, .article-hero, .article-list-hero {
  background-color: var(--blue-dark) !important;
  background-image: linear-gradient(90deg, rgba(0,61,130,.92), rgba(0,87,184,.72)), url("/assets/hero-factory-1920w-pub20261110.jpg") !important;
  background-size: cover !important;
  background-position: center !important;
  padding-top: calc(var(--nav-h, 72px) + 32px) !important;
  padding-bottom: 72px !important;
  color: #fff !important;
}
.hero h1, .hero h2, .hero p, .hero a, .hero .eyebrow,
.product-hero h1, .product-hero h2, .product-hero p, .product-hero a,
.article-hero h1, .article-hero h2, .article-hero p, .article-hero a,
.article-list-hero h1, .article-list-hero h2, .article-list-hero p, .article-list-hero a { color: #fff !important; }

.hero img, .product-hero img, .article-hero img, .article-list-hero img { width: 100% !important; height: auto !important; object-fit: contain !important; display: block; }
.section.alt { background: var(--gray-light) !important; }
.lead, .card p { color: var(--gray) !important; }
.card, .panel { border-color: var(--border) !important; }
.cards li { list-style: none; padding: 24px; background: #fff; border: 1px solid var(--border); border-radius: 12px; }
.cards li a { color: var(--blue); font-weight: 800; text-decoration: none; }
.unified-content .section { padding: 64px 0; }
.unified-content { max-width: none !important; margin: 0 !important; padding: 0 !important; }
.unified-content .wrap { max-width: 1180px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.unified-content .cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 28px; }
.unified-content .card { padding: 24px; background: #fff; border: 1px solid var(--border); border-radius: 12px; }
.unified-content .card a { color: var(--blue); font-weight: 800; text-decoration: none; }
.unified-content .cta { margin-top: 32px; padding: 46px 24px; background: #f3f5f8 !important; color: #0f1e33 !important; text-align: center; border: 1px solid var(--border); border-radius: 12px; }
.unified-content .cta a { display: inline-block; margin-top: 0; }
.card h3 a, .head a, .logo { color: var(--blue) !important; }
.card h3 a:hover, .head a:hover { color: var(--blue-dark) !important; }
.cta { background: #f3f5f8 !important; color: #0f1e33 !important; border: 1px solid var(--border); }
.cta h2, .cta p, .unified-content .cta h2, .unified-content .cta p { color: #0f1e33 !important; }
.cta a, .btn, .btn-primary, .view-details {
  background: #fff !important;
  border: 1px solid #fff !important;
  color: var(--blue) !important;
  border-radius: 6px !important;
  padding: 13px 22px !important;
}
.cta a, .unified-content .cta a { background: var(--blue) !important; border-color: var(--blue) !important; color: #fff !important; }
.cta a:hover, .btn:hover, .btn-primary:hover, .view-details:hover { background: #fff !important; color: var(--blue-dark) !important; }
.cta a:hover, .unified-content .cta a:hover { background: var(--blue-dark) !important; color: #fff !important; }
.site > .container, .site .container { max-width: 1180px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.footer-bottom { padding-top: 18px !important; padding-bottom: 18px !important; line-height: 1.6 !important; }
.site { background: var(--blue-dark) !important; color: #fff !important; }
.site a, .site .footer-bottom { color: #fff !important; }
.has-hs-header { min-height: 100vh; display: flex; flex-direction: column; }
.has-hs-header main { flex: 1 0 auto; }

.unified-contact { background: rgb(63,102,150) !important; color: #fff !important; padding: 56px 0 !important; }
.section.contact, section.contact, .contact { background: rgb(63,102,150) !important; color: #fff !important; }
.cta#contact { background: rgb(63,102,150) !important; color: #fff !important; }
.section.contact .contact-wrap, section.contact .contact-wrap, .contact .contact-wrap { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; }
.section.contact .contact-sub, section.contact .contact-sub, .contact .contact-sub { color: #eef4fb !important; }
.section.contact .item, section.contact .item, .contact .item { margin-top: 12px; }
.section.contact .qr-box img, section.contact .qr-box img, .contact .qr-box img { width: 144px; height: auto; }
.section.contact h2, .section.contact p, .section.contact .lbl, .section.contact .val,
section.contact h2, section.contact p, section.contact .lbl, section.contact .val,
.contact h2, .contact p, .contact .lbl, .contact .val { color: #fff !important; }
.unified-contact .container { max-width: 1180px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.unified-contact .contact-wrap { display: grid; grid-template-columns: 1fr auto; gap: 36px; align-items: center; }
.unified-contact .eyebrow, .unified-contact h2, .unified-contact p, .unified-contact .lbl, .unified-contact .val { color: #fff !important; }
.unified-contact .contact-sub { color: #eef4fb !important; max-width: 620px; }
.unified-contact .item { display: flex; gap: 12px; align-items: center; margin-top: 12px; }
.unified-contact .ic { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.14); }
.unified-contact .val { text-decoration: none; font-weight: 700; }
.unified-contact .qr-box { padding: 16px; background: #fff; border-radius: 12px; text-align: center; color: var(--blue-dark); }
.unified-contact .qr-box img { display: block; width: 144px; height: auto; border-radius: 6px; }
.unified-contact .cap { margin-top: 10px; color: var(--blue-dark); font-size: 13px; }
.unified-contact .hs-wa-btn { display: inline-flex; align-items: center; gap: 8px; margin-top: 26px; padding: 11px 18px; border-radius: 999px; background: #25D366; color: #fff !important; text-decoration: none; font-weight: 800; }
.unified-contact .hs-wa-btn svg { width: 20px; height: 20px; fill: currentColor; }

.hs-wa-float {
  position: fixed;
  right: 24px;
  bottom: 92px;
  z-index: 180;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25D366;
  box-shadow: 0 8px 22px rgba(15,30,51,.18);
}
.hs-wa-float svg { width: 30px; height: 30px; fill: #fff; }

@media (max-width: 760px) {
  .hero, .product-hero, .article-hero, .article-list-hero { padding-top: calc(var(--nav-h, 56px) + 32px) !important; padding-bottom: 48px !important; }
  .hero h1, .product-hero h1, .article-hero h1, .article-list-hero h1 { font-size: 36px !important; }
  .hero-grid, .grid { grid-template-columns: 1fr !important; }
  .cards { grid-template-columns: 1fr !important; }
  .unified-content .cards { grid-template-columns: 1fr; }
  .wrap { max-width: 100%; padding-left: 18px !important; padding-right: 18px !important; }
  .hero img, .product-hero img, .article-hero img, .article-list-hero img { max-height: 190px !important; width: 100% !important; height: auto !important; object-fit: contain !important; border-radius: 12px !important; overflow: hidden; }
  .site > .container, .site .container { padding-left: 18px; padding-right: 18px; }
  .unified-contact { padding: 30px 0 !important; }
  .unified-contact .container { padding-left: 18px; padding-right: 18px; }
  .unified-contact .contact-wrap { grid-template-columns: 1fr; gap: 16px; }
  .unified-contact .qr-box { justify-self: start; }
  .unified-contact .qr-box img { width: 120px; }
  .section.contact, section.contact, .contact { padding: 18px 0 !important; }
  .section.contact .container, section.contact .container, .contact .container { padding-left: 18px; padding-right: 18px; }
  .section.contact .contact-wrap, section.contact .contact-wrap, .contact .contact-wrap { grid-template-columns: 1fr; gap: 8px; }
  .section.contact .contact-info h2, section.contact .contact-info h2, .contact .contact-info h2 { font-size: 25px !important; margin-bottom: 6px !important; }
  .section.contact .contact-info p, section.contact .contact-info p, .contact .contact-info p { margin-bottom: 8px !important; font-size: 13px !important; line-height: 1.45 !important; }
  .section.contact .item, section.contact .item, .contact .item { margin-top: 4px; font-size: 13px; line-height: 1.35; }
  .section.contact .qr-box, section.contact .qr-box, .contact .qr-box { justify-self: start; padding: 8px; }
  .section.contact .qr-box img, section.contact .qr-box img, .contact .qr-box img { width: 120px; }
  .section.contact .cap, section.contact .cap, .contact .cap { margin-top: 4px; font-size: 11px; }
  .section.contact .hs-wa-btn, section.contact .hs-wa-btn, .contact .hs-wa-btn { margin-top: 6px; padding: 8px 12px; }
  .hs-wa-float { right: 16px; bottom: 80px; width: 52px; height: 52px; }
  .hs-wa-float svg { width: 28px; height: 28px; }
}
.cta#contact h2, .cta#contact p { color:#fff !important; }
