:root {
  --cb-blue: #0b2f58;
  --cb-green: #4f8a36;
  --cb-soft: #f4f8f5
}

body {
  background: linear-gradient(180deg, #fff 0, #fbfdfc 42%, #f4f8f5 100%)
}

.nav {
  box-shadow: 0 8px 28px rgba(13, 36, 56, .07)
}

.hero {
  padding-top: 54px
}

.hero-grid {
  gap: 54px
}

.hero-art {
  min-height: 470px;
  background-size: cover !important;
  background-position: center !important;
  border: 0 !important;
  box-shadow: 0 30px 70px -36px rgba(13, 36, 56, .55) !important
}

.hero-art svg {
  display: none !important
}

body.page-home .hero-art {
  background-image: url('images/home-hero.webp') !important
}

body.page-pharma .hero-art {
  background-image: url('images/pharma-category.webp') !important
}

body.page-food .hero-art {
  background-image: url('images/food-category.webp') !important
}

body.page-wall .hero-art {
  background-image: url('images/wall-panels-category.webp') !important
}

body.page-quality .hero-art {
  background-image: url('images/manufacturing.webp') !important
}

body.page-contact .hero-art {
  background-image: url('images/warehouse.webp') !important
}

.cb-visual-strip {
  max-width: 1180px;
  margin: 30px auto 0;
  padding: 0 28px
}

.cb-visual-strip img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 26px 60px -34px rgba(13, 36, 56, .55);
  border: 1px solid rgba(13, 36, 56, .08)
}

.prod,
.card,
.seg,
.step {
  border-radius: 16px !important;
  box-shadow: 0 16px 42px -34px rgba(13, 36, 56, .45);
  transition: transform .25s ease, box-shadow .25s ease
}

.prod:hover,
.card:hover,
.seg:hover,
.step:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 44px -30px rgba(13, 36, 56, .52)
}

.sec-head h2 {
  color: var(--cb-blue)
}

.btn-signal {
  background: linear-gradient(135deg, var(--cb-green), #2d6d2f) !important;
  box-shadow: 0 12px 28px -14px rgba(79, 138, 54, .75) !important
}

.footer {
  background: linear-gradient(135deg, #071a31, #0b315a) !important
}

@media(max-width:800px) {
  .hero-art {
    min-height: 330px
  }

  .cb-visual-strip img {
    height: 250px
  }
}

/* 2026-07 image refresh: all photography is ChatGPT-generated. */
.hero-art {
  background-repeat: no-repeat !important;
  background-color: #fff !important;
}

body.page-home .hero {
  padding-top: 48px;
}

body.page-home .hero-grid {
  grid-template-columns: 1fr !important;
  gap: 34px !important;
}

body.page-home .hero-grid>div:first-child {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

body.page-home .hero p.lede {
  margin-left: auto;
  margin-right: auto;
  max-width: 62ch
}

body.page-home .hero-cta,
body.page-home .hero-stats {
  justify-content: center
}

body.page-home .hero-art {
  order: 2 !important;
  width: 100%;
  min-height: 0 !important;
  aspect-ratio: 1536/380;
  background-size: cover !important;
  background-position: center 48% !important;
  border-radius: 20px !important;
}

body:not(.page-home) .hero-art {
  background-size: cover !important;
  background-position: center !important;
}

.cb-visual-strip img {
  object-position: center;
}

@media(max-width:800px) {
  body.page-home .hero-art {
    aspect-ratio: 16/7;
    background-size: cover !important
  }
}


/* 2026-07-29 verified hero and catalog image layout */
body.page-home .hero-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr) !important;
  grid-template-areas: "visual copy";
  align-items: center !important;
  gap: 52px !important;
}

body.page-home .hero-grid>.hero-art {
  grid-area: visual;
  width: 100% !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
  background: none !important;
  border-radius: 22px !important;
  overflow: hidden !important;
  box-shadow: 0 30px 70px -34px rgba(13, 36, 56, .5) !important;
}

body.page-home .hero-grid>div:not(.hero-art) {
  grid-area: copy;
  max-width: none !important;
  margin: 0 !important;
  text-align: left !important;
}

body.page-home .hero-product-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 14/8.5;
  object-fit: cover;
  object-position: center;
}

body.page-home .hero p.lede {
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: 58ch !important
}

body.page-home .hero-cta,
body.page-home .hero-stats {
  justify-content: flex-start !important
}

.cb-visual-strip img {
  height: auto !important;
  aspect-ratio: 12/7;
  object-fit: cover !important
}

@media(max-width:900px) {
  body.page-home .hero-grid {
    grid-template-columns: 1fr !important;
    grid-template-areas: "visual" "copy";
    gap: 30px !important;
  }

  body.page-home .hero-grid>div:not(.hero-art) {
    text-align: left !important
  }

  body.page-home .hero-product-image {
    aspect-ratio: 16/10
  }
}

@media(max-width:560px) {
  body.page-home .hero {
    padding-top: 28px !important
  }

  body.page-home .hero-product-image {
    aspect-ratio: 4/3
  }

  body.page-home .hero-stats {
    gap: 18px !important
  }
}

/* Realistic page-specific AI image set */
body.page-pharma .hero-art {
  background-image: url('images/pharma-category-realistic.webp') !important
}

body.page-food .hero-art {
  background-image: url('images/food-category-realistic.webp') !important
}

body.page-wall .hero-art {
  background-image: url('images/wall-panels-realistic.webp') !important
}

body.page-quality .hero-art {
  background-image: url('images/quality-lab-realistic.webp') !important
}

body.page-contact .hero-art {
  background-image: url('images/warehouse-realistic.webp') !important
}

/* Replace legacy catalog illustrations with realistic AI product photography */
.vis {
  padding: 0 !important;
  overflow: hidden !important;
  background: #f7faf8 !important;
  min-height: 210px
}

.vis .catalog-photo {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 210px;
  object-fit: cover;
  object-position: center;
  transition: transform .35s ease
}

.prod:hover .vis .catalog-photo {
  transform: scale(1.035)
}

@media(max-width:640px) {

  .vis,
  .vis .catalog-photo {
    min-height: 180px
  }
}

.prod {
  display: flex;
  flex-direction: column;
  height: 100%
}

.prod .body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1
}

.prod .coord {
  color: var(--cb-green);
  font-size: 12px;
  letter-spacing: 1.5px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

.prod h3 {
  font-size: 20px;
  margin: 0 0 10px;
  line-height: 1.3
}

.prod .body>p:first-of-type {
  color: #555;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 0
}

.size-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px
}

.size-row span {
  border: 1px solid #ddd;
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 13px;
  color: #333;
  background: #fafafa;
  transition: all .2s ease;
}

.size-row span:hover {
  border-color: var(--cb-green);
  color: var(--cb-green);
  background: var(--cb-soft);
}

.prod .body>p:last-child {
  margin-top: auto !important;
  padding-top: 12px
}

/* 2026-07-29 v5: compact top imagery and corrected category assets */
.hero-art {
  min-height: 300px !important;
  max-height: 340px !important;
  background-size: cover !important;
  background-position: center !important;
}

body.page-home .hero-grid>.hero-art {
  max-height: 420px !important;
}

body.page-home .hero-product-image {
  height: 420px !important;
  aspect-ratio: auto !important;
  object-fit: cover !important;
  object-position: center 54% !important;
}

.cb-visual-strip {
  margin-top: 22px !important
}

.cb-visual-strip img {
  height: 270px !important;
  aspect-ratio: auto !important;
  object-fit: cover !important;
}

/* Preserve the earlier warehouse and manufacturing photography on these pages. */
body.page-contact .hero-art {
  background-image: url('images/warehouse.webp') !important
}

body.page-quality .hero-art {
  background-image: url('images/manufacturing.webp') !important
}

@media(max-width:900px) {
  .hero-art {
    min-height: 240px !important;
    max-height: 280px !important
  }

  body.page-home .hero-grid>.hero-art {
    max-height: 340px !important
  }

  body.page-home .hero-product-image {
    height: 340px !important
  }

  .cb-visual-strip img {
    height: 220px !important
  }
}

@media(max-width:560px) {
  .hero-art {
    min-height: 205px !important;
    max-height: 235px !important
  }

  body.page-home .hero-product-image {
    height: 255px !important
  }

  .cb-visual-strip img {
    height: 185px !important
  }
}