/* product-collection-v3.css — v3-template-only extras (4.8.26 split).
   Loads on top of product-shared.css for v3 template pages. Contains
   blocks that pd template never uses:
     - Connected sections (Types Intro ↔ first Category gap reducer)
     - Banner Hero variant (full-width bg + overlay)
     - 5 · Categories grid + item layout
     - 10 · Contact card (left text + right form, gray bg) */

/* Connected sections — used between Types Intro and first Category.
   Reduce padding so the visible gap is ~50px (25 + 25) instead of 140px. */
.hs-pcv3-section--connected-bottom { padding-bottom: 25px; }
.hs-pcv3-section--connected-top    { padding-top: 25px; }
/* -------------------------------------------------------------------------
   1b · Hero — Banner variant (full-width bg image + overlay)
   Activated when ACF field `hero_layout` = "banner".
   ------------------------------------------------------------------------- */

.hs-pcv3-hero--banner {
  position: relative;
  padding: 0;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  min-height: 480px;
  display: flex;
  align-items: center;
  background-color: var(--hs-title);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--hs-text-inverse);
  overflow: hidden;
}

.hs-pcv3-hero--banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 0;
}

.hs-pcv3-hero__inner--banner {
  position: relative;
  z-index: 1;
  display: block;
  width: min(100% - 40px, 1140px);
  margin: 0 auto;
  padding: 80px 0;
  text-align: left;
  grid-template-columns: none;
  gap: 0;
}

/* All text inside banner hero is WHITE. */
.hs-pcv3-hero--banner,
.hs-pcv3-hero--banner *,
.hs-pcv3-hero--banner .hs-eyebrow,
.hs-pcv3-hero--banner .hs-pcv3-richtext,
.hs-pcv3-hero--banner .hs-pcv3-richtext p,
.hs-pcv3-hero--banner .hs-pcv3-richtext strong,
.hs-pcv3-hero--banner .hs-pcv3-richtext em,
.hs-pcv3-hero--banner .hs-pcv3-richtext a,
.hs-pcv3-hero--banner .hs-pcv3-richtext li,
.hs-pcv3-hero--banner .hs-pcv3-richtext h2,
.hs-pcv3-hero--banner .hs-pcv3-richtext h3,
.hs-pcv3-hero--banner .hs-pcv3-richtext h4 {
  color: var(--hs-text-inverse);
}

.hs-pcv3-hero--banner .hs-pcv3-hero__title {
  margin: 0 0 20px;
  font-size: 52px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 900px;
  color: var(--hs-text-inverse);
}

.hs-pcv3-hero--banner .hs-pcv3-hero__desc {
  margin: 0 0 28px;
  font-size: 18px;
  line-height: 1.65;
  max-width: 720px;
  width: auto;
}
.hs-pcv3-hero--banner .hs-pcv3-hero__desc p { font-size: 18px; }
.hs-pcv3-hero--banner .hs-pcv3-hero__desc a { text-decoration: underline; }

/* Banner buttons (.hs-btn / .hs-btn-inquiry on .hs-pcv3-hero--banner)
   forced to transparent + white outline so they stay readable on the
   banner's dark or image background. */
.hs-pcv3-hero--banner .hs-btn,
.hs-pcv3-hero--banner .hs-btn-inquiry {
  background: transparent;
  color: var(--hs-text-inverse);
  border-color: #ffffff;
}
.hs-pcv3-hero--banner .hs-btn:hover,
.hs-pcv3-hero--banner .hs-btn:focus-visible,
.hs-pcv3-hero--banner .hs-btn-inquiry:hover,
.hs-pcv3-hero--banner .hs-btn-inquiry:focus-visible {
  background: #ffffff;
  color: var(--hs-accent);
}

/* 4.5.9: Stats Strip now uses site-wide .hs-pg-stats + .hs-section--accent
   (see assets/css/site.css). Old .hs-pcv3-stats / __grid / __value classes
   removed — v3 template markup updated to emit the unified .hs-pg-stats. */

/* =========================================================================
   5 · Categories
   ========================================================================= */

.hs-pcv3-categories__desc {
  text-align: left;
  margin: 0 0 28px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--hs-text);
}


/* =========================================================================
   10 · Contact card (left text + right image, centered on gray bg)
   ========================================================================= */

/* Contact section uses zebra bg (no forced color). Card stays white with
   shadow + subtle border so it reads as elevated on either white or alt bg. */
.hs-pcv3-contact__card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #fff;
  border: 1px solid var(--hs-border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  min-height: 520px;
}

.hs-pcv3-contact__body {
  padding: 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.hs-pcv3-contact__eyebrow { margin-bottom: 16px; }

.hs-pcv3-contact__title {
  font-size: 36px;
  line-height: 1.2;
  color: var(--hs-title);
  margin: 0 0 18px;
  letter-spacing: -0.01em;
}

.hs-pcv3-contact__desc {
  color: var(--hs-text);
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 28px;
  width: 100%;
}
.hs-pcv3-contact__desc p { margin: 0 0 12px; }
.hs-pcv3-contact__desc p:last-child { margin-bottom: 0; }

/* Right column: inquiry form */
.hs-pcv3-contact__form {
  padding: 48px;
  background: var(--hs-bg-alt);
  display: flex;
  align-items: center;
}
.hs-pcv3-contact__form .hs-form {
  width: 100%;
  margin: 0;
}


/* v3-only mobile (<768px) overrides for Contact / Banner Hero / 2-col Hero
   image — base styles live in this file, so responsive overrides do too. */
@media (max-width: 768px) {
  .hs-pcv3-contact { padding: 50px 0; }
  .hs-pcv3-contact__card { grid-template-columns: 1fr; min-height: 0; }
  .hs-pcv3-contact__body { padding: 36px 28px; }
  .hs-pcv3-contact__title { font-size: 26px; }
  .hs-pcv3-contact__form { padding: 28px; }
  .hs-pcv3-hero__image { max-width: 100%; justify-self: stretch; }
  .hs-pcv3-hero--banner { min-height: 360px; }
  .hs-pcv3-hero__inner--banner { padding: 56px 0; }
  .hs-pcv3-hero--banner .hs-pcv3-hero__title { font-size: 32px; }
  .hs-pcv3-hero--banner .hs-pcv3-hero__desc { font-size: 16px; }
  .hs-pcv3-hero--banner .hs-pcv3-hero__desc p { font-size: 16px; }
}

/* === v3 2-col Hero image (right column, 4:3 box, never used on pd) === */
.hs-pcv3-hero__image {
  width: 100%;
  max-width: 600px;
  aspect-ratio: 600 / 450;
  margin-left: auto;
  justify-self: end;
}
.hs-pcv3-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  display: block;
}
