/* ==========================================================================
   PVC SOLUTIONS USA — Section blocks (custom Elementor widgets)
   ========================================================================== */

/* --- Hero --------------------------------------------------------------- */

.pvc-hero {
  position: relative;
  background: var(--pvc-navy-deep);
  color: var(--pvc-text-invert);
  overflow: hidden;
}

.pvc-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  align-items: center;
  min-height: clamp(440px, 46vw, 620px);
}

.pvc-hero__copy {
  padding-block: clamp(2.5rem, 2rem + 4vw, 5rem);
  padding-right: clamp(1.5rem, 3vw, 3.5rem);
  position: relative;
  z-index: 2;
}

.pvc-hero__title {
  margin-bottom: var(--pvc-s-5);
  font-size: var(--pvc-fs-display);
  font-weight: var(--pvc-fw-black);
  line-height: var(--pvc-lh-tight);
  letter-spacing: var(--pvc-ls-display);
  color: var(--pvc-white);
}
.pvc-hero__title em { font-style: normal; color: var(--pvc-red); }

.pvc-hero__text {
  max-width: 46ch;
  margin-bottom: var(--pvc-s-6);
  font-size: var(--pvc-fs-lead);
  line-height: var(--pvc-lh-normal);
  color: rgba(255, 255, 255, .78);
}

/* The angled media panel — the one flourish on this page.
   Slanted leading edge echoes the chamfered cut in the logo's "V". */
.pvc-hero__media {
  position: relative;
  align-self: stretch;
  min-height: 320px;
  clip-path: polygon(11% 0, 100% 0, 100% 100%, 0 100%);
  margin-left: -6%;
}
.pvc-hero__media img,
.pvc-hero__media video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.pvc-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(3, 32, 63, .78) 0%, rgba(3, 32, 63, .12) 40%, transparent 65%);
}

.pvc-hero--center .pvc-hero__grid { grid-template-columns: minmax(0, 1fr); }
.pvc-hero--center .pvc-hero__copy { text-align: center; padding-right: 0; }
.pvc-hero--center .pvc-hero__text { margin-inline: auto; }

@media (max-width: 900px) {
  .pvc-hero__grid { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .pvc-hero__media {
    order: -1;
    clip-path: none;
    margin-left: 0;
    aspect-ratio: 16 / 9;
    min-height: 0;
  }
  .pvc-hero__copy { padding-right: 0; }
}

/* --- Page banner (interior pages) --------------------------------------- */

.pvc-banner {
  position: relative;
  padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem);
  background: var(--pvc-navy);
  color: var(--pvc-text-invert);
  overflow: hidden;
}
.pvc-banner__bg {
  position: absolute; inset: 0;
  object-fit: cover;
  width: 100%; height: 100%;
  opacity: .26;
}
.pvc-banner__inner { position: relative; z-index: 1; }
.pvc-banner__title { margin-bottom: var(--pvc-s-3); color: var(--pvc-white); }
.pvc-banner__text  { max-width: 62ch; color: rgba(255, 255, 255, .78); margin: 0; }
.pvc-banner .pvc-breadcrumb { margin-bottom: var(--pvc-s-4); }
.pvc-banner .pvc-breadcrumb,
.pvc-banner .pvc-breadcrumb a { color: rgba(255, 255, 255, .6); }
.pvc-banner .pvc-breadcrumb a:hover { color: var(--pvc-white); }
.pvc-banner .pvc-breadcrumb span[aria-current] { color: var(--pvc-white); }

/* --- Statement band (full-bleed image + centred headline) --------------- */

.pvc-band {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(300px, 30vw, 430px);
  padding-block: var(--pvc-s-9);
  text-align: center;
  overflow: hidden;
}
.pvc-band__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.pvc-band::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(3, 32, 63, .55);
}
.pvc-band__inner { position: relative; z-index: 1; }
.pvc-band__title {
  margin-bottom: var(--pvc-s-5);
  font-size: var(--pvc-fs-h1);
  color: var(--pvc-white);
  text-shadow: 0 2px 24px rgba(0, 0, 0, .35);
}
.pvc-band__text {
  max-width: 58ch;
  margin: 0 auto var(--pvc-s-6);
  font-size: var(--pvc-fs-lead);
  color: rgba(255, 255, 255, .88);
}

/* Light variant — no scrim, dark text over a pale image */
.pvc-band--light::after { background: rgba(255, 255, 255, .78); }
.pvc-band--light .pvc-band__title { color: var(--pvc-navy); text-shadow: none; }
.pvc-band--light .pvc-band__text  { color: var(--pvc-text-muted); }

/* --- Feature rows (alternating image / copy) ---------------------------- */

.pvc-feature + .pvc-feature { margin-top: var(--pvc-s-9); }

.pvc-feature__media {
  position: relative;
  border-radius: var(--pvc-radius-1);
  overflow: hidden;
}
/* Offset flag block behind the image */
.pvc-feature__media::before {
  content: "";
  position: absolute;
  left: -14px; bottom: -14px;
  width: 96px; height: 96px;
  background:
    linear-gradient(var(--pvc-red), var(--pvc-red)) 0 0 / 100% 33.3% no-repeat,
    linear-gradient(var(--pvc-white), var(--pvc-white)) 0 50% / 100% 33.3% no-repeat,
    linear-gradient(var(--pvc-navy), var(--pvc-navy)) 0 100% / 100% 33.3% no-repeat;
  z-index: -1;
}

.pvc-feature__num {
  display: block;
  margin-bottom: var(--pvc-s-2);
  font-family: var(--pvc-font-display);
  font-size: var(--pvc-fs-h2);
  font-weight: var(--pvc-fw-black);
  line-height: 1;
  color: var(--pvc-line);
}

/* --- Quality band (3-image strip + centred copy) ------------------------ */

.pvc-quality { text-align: center; }
.pvc-quality__head { max-width: 780px; margin: 0 auto var(--pvc-s-7); }
.pvc-quality__strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--pvc-s-4);
}
.pvc-quality__strip figure { position: relative; overflow: hidden; }
.pvc-quality__strip img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform var(--pvc-dur-slow) var(--pvc-ease-out);
}
.pvc-quality__strip figure:hover img { transform: scale(1.05); }
.pvc-quality__cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: var(--pvc-s-3);
  margin: 0;
  background: var(--pvc-navy);
  color: var(--pvc-white);
  font-family: var(--pvc-font-util);
  font-size: var(--pvc-fs-sm);
  font-weight: var(--pvc-fw-semibold);
  letter-spacing: .1em;
  text-transform: uppercase;
}
@media (max-width: 720px) {
  .pvc-quality__strip { grid-template-columns: minmax(0, 1fr); }
}

/* --- Dealer CTA --------------------------------------------------------- */

.pvc-dealercta {
  position: relative;
  padding-block: clamp(3rem, 2rem + 4vw, 5rem);
  background: var(--pvc-navy);
  color: var(--pvc-text-invert);
  overflow: hidden;
}
/* Diagonal red wedge */
.pvc-dealercta::before {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 46%;
  background: var(--pvc-red);
  clip-path: polygon(28% 0, 100% 0, 100% 100%, 0 100%);
  opacity: .92;
}
.pvc-dealercta__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: var(--pvc-s-7);
  align-items: center;
}
.pvc-dealercta__title { color: var(--pvc-white); margin-bottom: var(--pvc-s-3); }
.pvc-dealercta__text  { max-width: 52ch; color: rgba(255, 255, 255, .82); margin: 0; }
.pvc-dealercta__actions { display: flex; flex-wrap: wrap; gap: var(--pvc-s-3); justify-content: flex-end; }

@media (max-width: 880px) {
  .pvc-dealercta::before { display: none; }
  .pvc-dealercta__inner { grid-template-columns: minmax(0, 1fr); }
  .pvc-dealercta__actions { justify-content: flex-start; }
}

/* --- Gallery ------------------------------------------------------------ */

.pvc-gallery__filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--pvc-s-2);
  justify-content: center;
  margin-bottom: var(--pvc-s-7);
}
.pvc-gallery__filter {
  padding: .55rem 1.15rem;
  background: none;
  border: 1px solid var(--pvc-border);
  border-radius: var(--pvc-radius-pill);
  font-family: var(--pvc-font-util);
  font-size: var(--pvc-fs-sm);
  font-weight: var(--pvc-fw-semibold);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--pvc-graphite);
  cursor: pointer;
  transition: background-color var(--pvc-dur-fast) var(--pvc-ease),
              border-color var(--pvc-dur-fast) var(--pvc-ease),
              color var(--pvc-dur-fast) var(--pvc-ease);
}
.pvc-gallery__filter:hover { border-color: var(--pvc-navy); color: var(--pvc-navy); }
.pvc-gallery__filter.is-active {
  background: var(--pvc-navy);
  border-color: var(--pvc-navy);
  color: var(--pvc-white);
}

.pvc-gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--pvc-s-4);
}
@media (max-width: 900px) {
  .pvc-gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .pvc-gallery__grid { grid-template-columns: minmax(0, 1fr); }
}
.pvc-gallery__item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--pvc-radius-1);
  background: var(--pvc-mist);
}
.pvc-gallery__item img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform var(--pvc-dur-slow) var(--pvc-ease-out);
}
.pvc-gallery__item:hover img { transform: scale(1.055); }
.pvc-gallery__item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(3, 32, 63, .85), transparent 52%);
  opacity: 1;
}
.pvc-gallery__cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 1;
  padding: var(--pvc-s-4);
  color: var(--pvc-white);
  font-family: var(--pvc-font-util);
  font-size: var(--pvc-fs-body);
  font-weight: var(--pvc-fw-semibold);
  letter-spacing: .06em;
  text-transform: uppercase;
  line-height: 1.3;
  /* Always visible — a caption that only appears on hover is invisible on
     touch devices, where most of this gallery will be seen. */
}
.pvc-gallery__item.is-hidden { display: none; }

/* --- Lightbox ----------------------------------------------------------- */

.pvc-lightbox {
  position: fixed;
  inset: 0;
  z-index: var(--pvc-z-modal);
  display: grid;
  place-items: center;
  padding: var(--pvc-s-5);
  background: rgba(3, 32, 63, .93);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--pvc-dur) var(--pvc-ease), visibility var(--pvc-dur);
}
.pvc-lightbox.is-open { opacity: 1; visibility: visible; }
.pvc-lightbox img { max-width: min(1100px, 92vw); max-height: 84vh; object-fit: contain; }
.pvc-lightbox__cap {
  margin-top: var(--pvc-s-4);
  text-align: center;
  color: rgba(255, 255, 255, .8);
  font-size: var(--pvc-fs-sm);
}
.pvc-lightbox__btn {
  position: absolute;
  display: grid; place-items: center;
  width: 48px; height: 48px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .25);
  color: var(--pvc-white);
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
}
.pvc-lightbox__btn:hover { background: var(--pvc-red); border-color: var(--pvc-red); }
.pvc-lightbox__close { top: var(--pvc-s-5); right: var(--pvc-s-5); }
.pvc-lightbox__prev  { left: var(--pvc-s-5); top: 50%; transform: translateY(-50%); }
.pvc-lightbox__next  { right: var(--pvc-s-5); top: 50%; transform: translateY(-50%); }

/* --- Instructions / downloads list -------------------------------------- */

.pvc-doc {
  display: flex;
  align-items: center;
  gap: var(--pvc-s-4);
  padding: var(--pvc-s-4) var(--pvc-s-5);
  background: var(--pvc-white);
  border: 1px solid var(--pvc-border);
  border-left: 3px solid var(--pvc-red);
  transition: box-shadow var(--pvc-dur) var(--pvc-ease),
              transform var(--pvc-dur) var(--pvc-ease);
}
.pvc-doc:hover { box-shadow: var(--pvc-shadow-1); transform: translateX(3px); }
.pvc-doc__icon {
  flex: 0 0 auto;
  display: grid; place-items: center;
  width: 44px; height: 44px;
  background: var(--pvc-navy-tint);
  color: var(--pvc-navy);
}
.pvc-doc__icon svg { width: 22px; height: 22px; }
.pvc-doc__body { flex: 1 1 auto; min-width: 0; }
.pvc-doc__title {
  margin: 0 0 2px;
  font-family: var(--pvc-font-display);
  font-size: var(--pvc-fs-body);
  font-weight: var(--pvc-fw-semibold);
  color: var(--pvc-navy);
}
.pvc-doc__meta {
  margin: 0;
  font-family: var(--pvc-font-util);
  font-size: var(--pvc-fs-xs);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--pvc-steel);
}

/* --- Panel size selector (product pages) -------------------------------- */

.pvc-sizes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--pvc-s-4);
}
.pvc-size {
  display: block;
  padding: var(--pvc-s-4);
  background: var(--pvc-white);
  border: 1px solid var(--pvc-border);
  border-radius: var(--pvc-radius-1);
  text-align: center;
  text-decoration: none;
  transition: border-color var(--pvc-dur-fast) var(--pvc-ease),
              box-shadow var(--pvc-dur-fast) var(--pvc-ease),
              transform var(--pvc-dur-fast) var(--pvc-ease);
}
.pvc-size:hover {
  border-color: var(--pvc-red);
  box-shadow: var(--pvc-shadow-1);
  transform: translateY(-2px);
}
.pvc-size img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; margin-bottom: var(--pvc-s-3); }
.pvc-size__name {
  font-family: var(--pvc-font-display);
  font-size: var(--pvc-fs-sm);
  font-weight: var(--pvc-fw-bold);
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--pvc-navy);
}

/* --- Dealer portal ------------------------------------------------------ */

.pvc-portal {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: var(--pvc-s-7);
  align-items: start;
}
.pvc-portal__aside {
  position: sticky;
  top: calc(var(--pvc-header-h-sticky) + 1.5rem);
  padding: var(--pvc-s-5);
  background: var(--pvc-mist);
  border-top: 3px solid var(--pvc-navy);
}
.pvc-portal__aside ul { list-style: none; margin: 0; padding: 0; }
.pvc-portal__aside li { margin-bottom: var(--pvc-s-2); }
.pvc-portal__aside a {
  display: block;
  padding: .5rem .7rem;
  font-size: var(--pvc-fs-sm);
  font-weight: var(--pvc-fw-medium);
  color: var(--pvc-navy);
  border-left: 2px solid transparent;
}
.pvc-portal__aside a:hover,
.pvc-portal__aside a.is-active {
  background: var(--pvc-white);
  border-left-color: var(--pvc-red);
  color: var(--pvc-red);
}

.pvc-login {
  max-width: 440px;
  margin-inline: auto;
  padding: clamp(1.75rem, 1.25rem + 2vw, 2.75rem);
  background: var(--pvc-white);
  border: 1px solid var(--pvc-border);
  border-top: 4px solid var(--pvc-red);
  box-shadow: var(--pvc-shadow-1);
}
.pvc-login__title { text-align: center; margin-bottom: var(--pvc-s-2); }
.pvc-login__sub { text-align: center; margin-bottom: var(--pvc-s-6); font-size: var(--pvc-fs-sm); color: var(--pvc-text-muted); }
.pvc-login__alt {
  margin-top: var(--pvc-s-5);
  padding-top: var(--pvc-s-5);
  border-top: 1px solid var(--pvc-border);
  text-align: center;
  font-size: var(--pvc-fs-sm);
  color: var(--pvc-text-muted);
}

@media (max-width: 860px) {
  .pvc-portal { grid-template-columns: minmax(0, 1fr); }
  .pvc-portal__aside { position: static; }
}

/* --- Contact split ------------------------------------------------------ */

.pvc-contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: clamp(2rem, 1.25rem + 3vw, 4rem);
  align-items: start;
}
.pvc-contact__info {
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  background: var(--pvc-navy);
  color: var(--pvc-text-invert-mut);
}
.pvc-contact__info h2, .pvc-contact__info h3 { color: var(--pvc-white); }
.pvc-contact__row {
  display: flex;
  gap: var(--pvc-s-4);
  padding-block: var(--pvc-s-4);
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}
.pvc-contact__row:last-child { border-bottom: none; }
.pvc-contact__row svg { flex: 0 0 auto; width: 20px; height: 20px; color: var(--pvc-red); margin-top: .2em; }
.pvc-contact__label {
  font-family: var(--pvc-font-util);
  font-size: var(--pvc-fs-xs);
  letter-spacing: var(--pvc-ls-eyebrow);
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
}
.pvc-contact__value { color: var(--pvc-white); font-size: var(--pvc-fs-body); }
.pvc-contact__value a { color: var(--pvc-white); }
.pvc-contact__value a:hover { color: #FF6B5E; }

@media (max-width: 860px) {
  .pvc-contact { grid-template-columns: minmax(0, 1fr); }
}

/* --- Scroll reveal ------------------------------------------------------ */

.pvc-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity var(--pvc-dur-slow) var(--pvc-ease-out),
              transform var(--pvc-dur-slow) var(--pvc-ease-out);
}
.pvc-reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .pvc-reveal { opacity: 1; transform: none; }
}

/* --- Image placeholder (until real photography is supplied) ------------- */

.pvc-placeholder {
  display: grid;
  place-items: center;
  background:
    repeating-linear-gradient(
      45deg,
      var(--pvc-mist) 0, var(--pvc-mist) 12px,
      #E7ECF3 12px, #E7ECF3 24px
    );
  color: var(--pvc-steel);
  font-family: var(--pvc-font-util);
  font-size: var(--pvc-fs-sm);
  letter-spacing: .1em;
  text-transform: uppercase;
  text-align: center;
  padding: var(--pvc-s-4);
}

/* Filter count pill */
.pvc-gallery__n {
  display: inline-block;
  min-width: 1.35em;
  margin-left: .45em;
  padding: 0 .3em;
  border-radius: var(--pvc-radius-pill);
  background: var(--pvc-line);
  color: var(--pvc-graphite);
  font-size: .82em;
  line-height: 1.5;
  text-align: center;
  transition: background-color var(--pvc-dur-fast) var(--pvc-ease),
              color var(--pvc-dur-fast) var(--pvc-ease);
}
.pvc-gallery__filter.is-active .pvc-gallery__n {
  background: rgba(255, 255, 255, .22);
  color: var(--pvc-white);
}

/* Shown by JS when a filter matches nothing */
.pvc-gallery__empty {
  padding: var(--pvc-s-8) var(--pvc-s-4);
  text-align: center;
  color: var(--pvc-text-muted);
  font-size: var(--pvc-fs-lead);
}

/* --- About page ---------------------------------------------------------- */

.pvc-about__title {
  font-size: var(--pvc-fs-h2);
  line-height: 1.1;
  margin-bottom: var(--pvc-s-5);
  text-transform: uppercase;
}
.pvc-about__title em {
  font-style: normal;
  color: var(--pvc-red);
  display: block;
}

.pvc-about__badge {
  display: grid;
  place-items: center;
  padding: var(--pvc-s-4);
}
.pvc-about__badge img {
  width: 100%;
  max-width: 280px;
  height: auto;
}

.pvc-about__media {
  position: relative;
  overflow: hidden;
  border-radius: var(--pvc-radius-1);
}
.pvc-about__media img {
  width: 100%;
  display: block;
}

@media (max-width: 880px) {
  .pvc-about__badge { order: -1; padding-bottom: var(--pvc-s-6); }
  .pvc-about__badge img { max-width: 200px; }
}

/* Band heading lockup — icon beside the headline */
.pvc-band__lockup {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.75rem, 0.4rem + 1.2vw, 1.5rem);
  margin-bottom: var(--pvc-s-5);
}
.pvc-band__lockup .pvc-band__title { margin: 0; }
.pvc-band__icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: clamp(48px, 3.5vw, 74px);
  height: clamp(48px, 3.5vw, 74px);
  color: var(--pvc-navy);
}
.pvc-band__icon svg { width: 100%; height: 100%; stroke-width: 1.5; }
.pvc-band--light .pvc-band__icon { color: var(--pvc-navy); }
.pvc-band:not(.pvc-band--light) .pvc-band__icon { color: var(--pvc-white); }

@media (max-width: 600px) {
  .pvc-band__lockup { flex-direction: column; gap: var(--pvc-s-3); }
}

/* Full-bleed quality strip — tiles run edge to edge */
.pvc-quality__strip--bleed {
  gap: 0;
  width: 100%;
}
.pvc-quality__strip--bleed figure { border-radius: 0; }
.pvc-quality__strip--bleed img { aspect-ratio: 16 / 11; }
.pvc-quality__strip--bleed .pvc-quality__cap {
  padding: var(--pvc-s-4) var(--pvc-s-3);
  font-size: var(--pvc-fs-body);
  letter-spacing: .12em;
}

/* --- Product pages ------------------------------------------------------- */

.pvc-trim {
  text-align: center;
  padding: var(--pvc-s-4);
  background: var(--pvc-white);
  border: 1px solid var(--pvc-border);
  border-radius: var(--pvc-radius-1);
}
.pvc-trim img { width: 100%; height: auto; margin-bottom: var(--pvc-s-3); }
.pvc-trim figcaption { margin: 0; text-transform: none; letter-spacing: 0; }
.pvc-trim strong {
  display: block;
  font-family: var(--pvc-font-display);
  font-size: var(--pvc-fs-body);
  color: var(--pvc-navy);
  margin-bottom: 2px;
}
.pvc-trim span {
  display: block;
  font-family: var(--pvc-font-body);
  font-size: var(--pvc-fs-sm);
  color: var(--pvc-text-muted);
  line-height: 1.4;
}

/* Flatwall feature columns on the navy band */
.pvc-feature-col__icon {
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  margin-bottom: var(--pvc-s-3);
  color: var(--pvc-white);
}
.pvc-feature-col__icon svg { width: 28px; height: 28px; }
.pvc-feature-col h3 {
  font-size: var(--pvc-fs-h4);
  color: var(--pvc-white);
  margin-bottom: var(--pvc-s-3);
}
.pvc-feature-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: var(--pvc-fs-sm);
}
.pvc-feature-col li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: var(--pvc-s-2);
  color: rgba(255, 255, 255, .78);
}
.pvc-feature-col li::before {
  content: "";
  position: absolute;
  left: 0; top: .62em;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--pvc-red);
}

/* Accessory grid */
.pvc-acc-group {
  font-size: var(--pvc-fs-h3);
  color: var(--pvc-navy);
  padding-bottom: var(--pvc-s-3);
  margin-bottom: var(--pvc-s-5);
  border-bottom: 2px solid var(--pvc-red);
}
.pvc-acc {
  margin: 0;
  background: var(--pvc-white);
  border: 1px solid var(--pvc-border);
  border-radius: var(--pvc-radius-1);
  overflow: hidden;
  transition: box-shadow var(--pvc-dur) var(--pvc-ease),
              transform var(--pvc-dur) var(--pvc-ease);
}
.pvc-acc:hover { box-shadow: var(--pvc-shadow-1); transform: translateY(-2px); }
.pvc-acc img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.pvc-acc figcaption {
  margin: 0;
  padding: var(--pvc-s-3);
  font-family: var(--pvc-font-body);
  font-size: var(--pvc-fs-sm);
  font-weight: var(--pvc-fw-medium);
  letter-spacing: 0;
  text-transform: none;
  color: var(--pvc-navy);
  text-align: center;
  line-height: 1.35;
}

.pvc-colour-block { padding: var(--pvc-s-5); background: var(--pvc-white); border: 1px solid var(--pvc-border); }
.pvc-swatch-sets { align-items: start; }

/* Checkbox group on the contact form */
.pvc-checkgroup {
  display: flex;
  flex-wrap: wrap;
  gap: var(--pvc-s-3) var(--pvc-s-5);
}
.pvc-checkgroup__item {
  display: flex;
  align-items: center;
  gap: var(--pvc-s-2);
  margin: 0;
  font-family: var(--pvc-font-body);
  font-size: var(--pvc-fs-body);
  font-weight: var(--pvc-fw-regular);
  letter-spacing: 0;
  text-transform: none;
  color: var(--pvc-text);
  cursor: pointer;
}
.pvc-checkgroup__item input[type="checkbox"] {
  width: 18px; height: 18px;
  margin: 0;
  flex: 0 0 auto;
  accent-color: var(--pvc-red);
}

/* Centred single-column form page */
.pvc-form--centred { max-width: 800px; margin-inline: auto; }
.pvc-form--centred .pvc-btn { width: 100%; }

/* Contact page image column, replacing the old info panel */
.pvc-contact__media {
  overflow: hidden;
  border-radius: var(--pvc-radius-1);
  align-self: stretch;
  min-height: 320px;
}
.pvc-contact__media img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  display: block;
}
@media (max-width: 860px) {
  .pvc-contact__media { min-height: 220px; }
  .pvc-contact__media img { min-height: 220px; }
}

/* --- Technical drawings: show the whole image --------------------------- */
/*
 * Panel diagrams, size charts and exploded views carry dimensions and labels
 * around their edges. Cropping them to a fixed ratio cuts those off, so these
 * are contained rather than covered and keep their own proportions.
 */
.pvc-diagram {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  aspect-ratio: auto;
  background: transparent;
}

.pvc-about__media--diagram,
.pvc-split__media--diagram {
  display: grid;
  place-items: center;
  border-radius: 0;
  overflow: visible;
  background: transparent;
}
.pvc-about__media--diagram img,
.pvc-split__media--diagram img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  max-height: 620px;
}

/* Size selector cards hold panel profiles — contain, not crop */
.pvc-size img {
  aspect-ratio: auto;
  object-fit: contain;
  max-height: 200px;
  background: transparent;
}

/* Trim profile drawings */
.pvc-trim img {
  aspect-ratio: auto;
  object-fit: contain;
  max-height: 160px;
}

/* --- Client revisions ---------------------------------------------------- */

/* Homepage band: dark type on an unfilmed photo */
.pvc-band--plain::after { background: none; }
.pvc-band--plain .pvc-band__title {
  color: #16181C;
  text-shadow: none;
}
.pvc-band--plain .pvc-band__text { color: #16181C; }

/* Dealer section eyebrow reads white against the navy */
.pvc-dealercta .pvc-eyebrow { color: #FFFFFF; }

/* Banner standfirst: full width, larger */
.pvc-banner__text {
  max-width: none;
  font-size: clamp(1.15rem, 1rem + 0.75vw, 1.6rem);
  line-height: 1.45;
}

/* Slatwall intro block: larger, centred vertically, left aligned */
.pvc-intro-lead {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
  text-align: left;
}
.pvc-intro-lead p {
  font-size: clamp(1.15rem, 1rem + 0.8vw, 1.65rem);
  line-height: 1.5;
  margin: 0;
}

/* The flag rule is dropped from interior page sections */
.pvc-section .pvc-rule,
.pvc-section__head .pvc-rule { display: none; }
/* …but kept where it is doing structural work */
.pvc-footer__rule,
.pvc-divider-flag,
.pvc-header::after { display: block; }

/* Gallery: no caption bar */
.pvc-gallery__cap { display: none; }
.pvc-gallery__item::after { background: none; }

/* Flatwall colour chips show the whole panel */
.pvc-swatch__chip--panel {
  aspect-ratio: auto;
  background: transparent;
  border: none;
  display: grid;
  place-items: center;
  padding: var(--pvc-s-3);
}
.pvc-swatch__chip--panel img {
  width: auto;
  max-width: 100%;
  max-height: 240px;
  height: auto;
  object-fit: contain;
}

/* About heading on one line where there is room */
.pvc-about__title { text-wrap: nowrap; }
.pvc-about__title em { display: inline; }
@media (max-width: 700px) {
  .pvc-about__title { text-wrap: balance; }
}

/* --- Wide layout adjustments -------------------------------------------- */
/*
 * With sections now full width, a few blocks would otherwise stretch past
 * comfortable reading. These keep their own measure while the section around
 * them fills the viewport.
 */
.pvc-section__head--center { max-width: 900px; margin-inline: auto; }
.pvc-band__text            { max-width: 70ch; margin-inline: auto; }
.pvc-quality__head         { max-width: 900px; margin-inline: auto; }

/* Prose columns inside a split: cap the line length, keep the column filling */
.pvc-split .pvc-prose > p,
.pvc-split .pvc-prose > ul { max-width: 68ch; }

/* Form pages stay centred on a comfortable width */
.pvc-form--centred { max-width: 860px; margin-inline: auto; }

/* On very wide screens, hold the grids to a sensible maximum so tiles do not
   become absurdly large */
@media (min-width: 1800px) {
  .pvc-grid--3,
  .pvc-grid--4,
  .pvc-grid--6,
  .pvc-quality__strip,
  .pvc-gallery__grid { max-width: 1720px; margin-inline: auto; }
}
