/* The product photograph and copy share one unframed, full-width opening. */
.home-opening { margin-top: 70px; background: #243238; color: #fff; border-bottom: 4px solid #3498db; }
.home-stage { position: relative; max-width: 1440px; margin: 0 auto; isolation: isolate; }
.home-stage > .container { position: relative; padding-top: 48px; padding-bottom: 54px; min-height: 530px; }
.home-message { max-width: 570px; position: relative; z-index: 1; }
.home-tagline { margin: 0 0 20px; }
.home-tagline img { display: block; width: 330px; max-width: 100%; height: auto; filter: invert(1); }
.home-opening h1 { color: #fff; font-size: 52px; line-height: 1.12; margin: 0; letter-spacing: 0; text-shadow: none; }
.home-description { color: #e0e8ec; font-size: 20px; line-height: 1.6; max-width: 490px; margin: 24px 0 28px; }
.home-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.home-actions .btn { font-weight: 700; padding: 13px 24px; width: auto; }
.home-actions .btn-primary { background: #087db3; border: 2px solid #087db3; }
.home-actions .btn-primary:hover { background: #096b9b; border-color: #096b9b; }
.home-actions .btn-secondary { color: #fff; border: 2px solid #a2c0ce; background: transparent; }
.home-actions .btn-secondary:hover { color: #243238; background: #e5f4fa; border-color: #e5f4fa; }
.home-product-photo { position: absolute; right: max(30px, calc((100% - 1200px) / 2)); top: 28px; height: calc(100% - 82px); width: 42%; object-fit: contain; object-position: center; z-index: 0; }
.home-product-caption { position: absolute; right: 20px; bottom: 22px; color: #d8e7ed; font-size: 14px; text-decoration: none; }
.home-product-caption span { margin-left: 8px; }
.home-product-caption:hover { color: #fff; text-decoration: underline; }
.home-opening :focus-visible { outline: 3px solid #9cddf4; outline-offset: 5px; }
.home-credentials { background: #eef2f3; border-bottom: 1px solid #cbd6db; }
.home-credentials > .container { display: grid; grid-template-columns: 1.2fr 1fr 1.15fr 1fr; padding-block: 24px; gap: 24px; }
.home-credentials .container > * { border-left: 1px solid #bbcbd2; padding-left: 24px; }
.home-credentials .container > :first-child { border: 0; padding-left: 0; }
.home-credentials strong { display: block; font-size: 18px; color: #243238; line-height: 1.4; }
.home-credentials span { display: block; font-size: 14px; color: #4c6069; margin-top: 4px; }
.home-credentials .credential-series { text-decoration: none; }
.home-credentials .credential-series span { color: #096b9b; font-weight: 700; margin: 0 0 4px; }
.home-credentials .credential-series:hover strong { text-decoration: underline; }
.home-credentials + .featured-product { padding-top: 40px; }
.home-credentials + .featured-product h2 { text-align: left; margin-bottom: 28px; border-left: 4px solid #096b9b; padding-left: 18px; }
/* Keep certification marks in their own row, never over the product photograph. */
.featured-product .product-image { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; min-width: 0; }
.featured-product .product-image > .product-img { display: block; width: 100%; height: auto; }
.featured-product .product-image .certification-logos { position: static; justify-content: flex-end; flex-wrap: wrap; padding: 0; }
@media (max-width: 1100px) and (min-width: 769px) {
  .home-message { max-width: 52%; }
  .home-opening h1 { font-size: 42px; }
  .home-stage > .container { min-height: 510px; }
}
@media (max-width: 768px) {
  .home-stage > .container { padding-top: 26px; padding-bottom: 212px; min-height: 0; }
  .home-message { max-width: 540px; }
  .home-opening h1 { font-size: 34px; line-height: 1.13; }
  .home-tagline { margin-bottom: 14px; }
  .home-tagline img { width: 224px; }
  .home-description { font-size: 17px; line-height: 1.5; margin: 18px 0 20px; }
  .home-actions { gap: 12px; }
  .home-actions .btn { padding: 11px 16px; font-size: 15px; flex: 0 1 auto; }
  .home-product-photo { top: auto; bottom: 40px; right: 20px; width: calc(100% - 40px); height: 160px; }
  .home-product-caption { bottom: 13px; right: 20px; left: 20px; text-align: center; font-size: 13px; }
  .home-credentials > .container { grid-template-columns: 1fr 1fr; gap: 20px 16px; padding-block: 20px; }
  .home-credentials .container > * { padding-left: 16px; }
  .home-credentials .container > :nth-child(odd) { padding-left: 0; border-left: 0; }
  .home-credentials strong { font-size: 16px; }
  .home-credentials span { font-size: 13px; }
}
@media (max-width: 768px) and (max-height: 740px) {
  .home-opening h1 { font-size: 30px; }
  .home-stage > .container { padding-top: 20px; padding-bottom: 160px; }
  .home-product-photo { height: 118px; bottom: 34px; }
}
@media (max-width: 360px) {
  .home-actions .btn { font-size: 14px; padding-inline: 12px; }
}
@media (max-width: 768px) and (max-height: 640px) {
  .home-stage > .container { padding-bottom: 140px; }
  .home-product-photo { height: 100px; }
}
