/*
 * Product Collection Template
 * Only layout and component styles unique to this template.
 * Buttons, forms, cards base styles are in site.css.
 */

/* ==========================================================================
   Breadcrumb (top of product pages)
   Full-bleed dark strip with light-on-dark text + accent hover.
   ========================================================================== */
.pc-breadcrumb {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: var(--hs-title);
  color: rgba(255, 255, 255, 0.85);
  padding: 14px 0;
  font-size: 14px;
  line-height: 1.5;
}

.pc-breadcrumb__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
}

.pc-breadcrumb__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.85);
}

.pc-breadcrumb__link {
  color: #ffffff;
  text-decoration: none;
  transition: color var(--hs-transition);
}

.pc-breadcrumb__link:hover,
.pc-breadcrumb__link:focus {
  color: var(--hs-accent);
}

.pc-breadcrumb__current {
  color: var(--hs-accent);
  font-weight: 500;
}

.pc-breadcrumb__sep {
  opacity: 0.5;
  color: #ffffff;
}

/* ==========================================================================
   Eyebrow — small uppercase label above section headings
   Three variants: default (on light bg), center (for centered sections),
   on-accent (white text on accent-red card), on-dark (on dark hero).
   ========================================================================== */
.pc-eyebrow {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--hs-accent);
  margin: 0 0 12px;
}

.pc-eyebrow--center { text-align: center; }

.pc-eyebrow--on-accent {
  color: #ffffff;
  opacity: 0.88;
}

.pc-eyebrow--on-dark {
  color: var(--hs-accent);
}

/* ==========================================================================
   Hero Banner (used by tpl-product-collection-hero.php)
   Full-width wrapper, 1140px inner content, left-aligned
   ========================================================================== */

/* Hide GeneratePress featured page-header image so it doesn't appear above the hero */
body.page-template-tpl-product-collection-hero .featured-image,
body.page-template-tpl-product-collection-hero .page-header-image,
body.page-template-tpl-product-collection .featured-image,
body.page-template-tpl-product-collection .page-header-image {
  display: none !important;
}

/* Break the hero out of GP's centered container.
   GP sets .site-content { display: flex } by default, which makes .pc-hero
   and .pc-page siblings render side-by-side. Force block layout + full width. */
body.page-template-tpl-product-collection-hero .site-content,
body.page-template-tpl-product-collection .site-content,
body.page-template-tpl-product-collection-hero #page,
body.page-template-tpl-product-collection #page {
  display: block !important;
  max-width: none !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.pc-hero {
  position: relative;
  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: #ffffff !important;
  overflow: hidden;
}

.pc-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  /* Brand-aligned overlay: 45% of --hs-title (#1A1B25) instead of the
     previous rgba(15,23,42,0.45) which was a different blue tone. */
  background: rgba(26, 27, 37, 0.45);
  z-index: 0;
}

.pc-hero__inner {
  position: relative;
  z-index: 1;
  width: min(100% - 40px, 1140px);
  margin: 0 auto;
  padding: 80px 0;
  text-align: left;
}

/* All text inside hero is WHITE. We target an explicit list of text-bearing
   elements instead of `.pc-hero *` so future content (icons, badges, etc.)
   can keep their own colors without fighting a universal !important. */
.pc-hero,
.pc-hero .pc-richtext,
.pc-hero .pc-richtext :is(p, li, a, strong, em, h1, h2, h3, h4),
.pc-hero__heading,
.pc-hero__text,
.pc-hero__text :is(p, li, a, strong, em) {
  color: #ffffff !important;
}

.pc-hero__heading {
  margin: 0 0 20px;
  font-size: 52px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 900px;
}

.pc-hero__text {
  margin: 0 0 28px;
  font-size: 18px;
  line-height: 1.65;
  max-width: 720px;
  text-align: left;
}

.pc-hero__text p { margin: 0 0 0.8em; }
.pc-hero__text p:last-child { margin-bottom: 0; }
.pc-hero__text a { text-decoration: underline; }

/* Ghost button: transparent + white border + white text, hover fills white */
.pc-hero .pc-btn,
.pc-hero .pc-btn-inquiry {
  background: transparent !important;
  color: #ffffff !important;
  border-color: #ffffff !important;
}

.pc-hero .pc-btn:hover,
.pc-hero .pc-btn:focus-visible,
.pc-hero .pc-btn-inquiry:hover,
.pc-hero .pc-btn-inquiry:focus-visible {
  background: #ffffff !important;
  color: var(--hs-accent) !important;
  border-color: #ffffff !important;
}

@media (max-width: 992px) {
  .pc-hero { min-height: 400px; }
  .pc-hero__inner { padding: 60px 0; }
  .pc-hero__heading { font-size: 40px; }
  .pc-hero__text { font-size: 17px; }
}

@media (max-width: 576px) {
  .pc-hero { min-height: 340px; }
  .pc-hero__inner { padding: 48px 0; width: min(100% - 24px, 1140px); }
  .pc-hero__heading { font-size: 30px; }
  .pc-hero__text { font-size: 16px; }
}

/* Base */
.pc-page {
  width: 100%;
  font-family: var(--hs-font-base);
  color: var(--hs-text);
}

.pc-page ~ .page-header,
body.page-template-tpl-product-collection .page-header,
body.page-template-tpl-product-collection .entry-header {
  display: none !important;
}

/* Alternating section backgrounds */
.pc-bg-white { background: #fff; }
.pc-bg-alt   { background: var(--hs-bg-alt); }

.pc-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Sections */
.pc-definition,
.pc-types,
.pc-categories,
.pc-specs,
.pc-why,
.pc-applications,
.pc-faq,
.pc-related,
.pc-reviews,
.pc-support {
  padding: 50px 0;
}

.pc-types { padding-bottom: 20px; }
.pc-types + .pc-categories { padding-top: 20px; }
.pc-why-block { padding: 50px 0; }


/* Headings */
.pc-container h2 {
  font-size: 34px;
  font-weight: 700;
  color: var(--hs-title);
  line-height: 1.22;
  margin: 0 0 16px;
  text-align: center;
  letter-spacing: -0.015em;
}

.pc-container h2 + .pc-richtext,
.pc-container h2 + p {
  margin-bottom: 32px;
}

.pc-cat-dimension h3 {
  font-size: 26px;
  font-weight: 700;
  color: var(--hs-title);
  margin: 0 0 12px;
  text-align: center;
  letter-spacing: -0.01em;
}

.pc-cat-dimension h3 + p { margin-bottom: 24px; }

/* Richtext */
.pc-richtext {
  font-size: 16px;
  line-height: 1.7;
  color: var(--hs-text);
  text-align: left;
}

.pc-richtext p { margin: 0 0 1em; }
.pc-richtext ul, .pc-richtext ol { padding-left: 1.5em; margin: 0 0 1em; }
.pc-richtext strong { font-weight: 700; color: var(--hs-title); }
.pc-richtext a { color: var(--hs-accent); text-decoration: none; }
.pc-richtext a:hover { color: var(--hs-accent-dark); text-decoration: underline; }
.pc-richtext li { margin-bottom: 0.3em; }
.pc-richtext table { width: 100%; border-collapse: collapse; margin: 1em 0; }
.pc-richtext th, .pc-richtext td { padding: 10px 14px; border: 1px solid var(--hs-border); text-align: left; }
.pc-richtext th { background: var(--hs-bg-alt); color: var(--hs-title); font-weight: 700; }

/* (Banner section removed — Definition now plays the banner role.
   See .pc-definition--banner rules below.) */

/* Grid — CSS Grid, equal columns, cards auto-fill row, left-aligned */
.pc-grid {
  display: grid;
  gap: 24px;
}

.pc-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pc-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pc-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Cards (extends .hs-card from site.css) */
.pc-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--hs-shadow-card);
  border: 1px solid var(--hs-border);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.pc-card:hover { transform: translateY(-2px); box-shadow: var(--hs-shadow-card-hover); }
.pc-card__image img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }

.pc-card__body { padding: 20px; }
.pc-card__body h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--hs-title);
  margin: 0 0 8px;
  text-align: center;
  letter-spacing: -0.01em;
}

.pc-card__body .pc-richtext { font-size: 14px; color: var(--hs-text-muted); margin-bottom: 16px; line-height: 1.6; }
.pc-card__body .pc-btn { display: table; margin: 0 auto; }

/* ==========================================================================
   Why Us Blocks — alternating (zig-zag) + step numbers + accent decorations
   ========================================================================== */
.pc-why-block {
  position: relative;
  overflow: hidden;
}

/* Giant faded step number sitting behind the content as design element */
.pc-why-block::before {
  content: attr(data-step);
  position: absolute;
  top: -26px;
  right: 48px;
  font-size: 200px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--hs-accent);
  opacity: 0.07;
  pointer-events: none;
  z-index: 0;
  font-family: var(--hs-font-base);
}

.pc-why-block--reversed::before {
  right: auto;
  left: 48px;
}

.pc-why-block__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 48px;
}

.pc-why-block--reversed .pc-why-block__inner { flex-direction: row-reverse; }

/* Image with offset accent-colored shadow block behind it */
.pc-why-block__image {
  flex: 0 0 560px;
  max-width: 560px;
  position: relative;
  display: flex;
}

.pc-why-block__image::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translate(18px, 18px);
  background: var(--hs-accent);
  opacity: 0.14;
  border-radius: var(--hs-radius-card);
  z-index: 0;
  transition: transform var(--hs-transition), opacity var(--hs-transition);
}

.pc-why-block--reversed .pc-why-block__image::before {
  transform: translate(-18px, 18px);
}

.pc-why-block__image img {
  position: relative;
  z-index: 1;
  width: 560px;
  max-width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  border-radius: var(--hs-radius-card);
  display: block;
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.12);
  transition: transform var(--hs-transition);
}

.pc-why-block:hover .pc-why-block__image img { transform: translateY(-3px); }
.pc-why-block:hover .pc-why-block__image::before { transform: translate(10px, 10px); opacity: 0.22; }
.pc-why-block--reversed:hover .pc-why-block__image::before { transform: translate(-10px, 10px); opacity: 0.22; }

/* Text column */
.pc-why-block__text { flex: 1; min-width: 0; }

.pc-why-block__text h4 {
  font-size: 26px;
  font-weight: 700;
  color: var(--hs-title);
  margin: 0 0 16px;
  letter-spacing: -0.015em;
  line-height: 1.25;
  position: relative;
  padding-bottom: 14px;
}

.pc-why-block__text h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48px;
  height: 3px;
  background: var(--hs-accent);
  border-radius: 2px;
}

.pc-why-block__text .pc-richtext { margin-bottom: 22px; }

/* FAQ */
.pc-faq__list { max-width: 1140px; margin: 0 auto; }

.pc-faq__item {
  border: 1px solid var(--hs-border);
  border-radius: 10px;
  margin-bottom: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
}

.pc-faq__item[open] { border-color: var(--hs-accent); }
.pc-faq__item:hover { box-shadow: 0 10px 24px rgba(0, 0, 0, 0.07); }

.pc-faq__item summary {
  padding: 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.22s ease, color 0.22s ease;
}

.pc-faq__item summary::-webkit-details-marker { display: none; }
.pc-faq__item summary h4 { font-weight: 700; font-size: 17px; color: inherit; margin: 0; padding: 18px 24px; flex: 1; }
.pc-faq__item summary:hover,
.pc-faq__item[open] summary { background: var(--hs-accent-soft); }

.pc-faq__item summary::after {
  content: "+";
  font-size: 24px;
  color: var(--hs-accent);
  font-weight: 300;
  flex-shrink: 0;
  margin-right: 24px;
  transition: color 0.22s ease;
}

.pc-faq__item[open] summary::after { content: "\2212"; }

.pc-faq__answer {
  padding: 20px 24px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--hs-text);
  border-top: 1px solid var(--hs-border);
}

/* Responsive: Tablet */
@media (max-width: 992px) {
  .pc-grid--3, .pc-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pc-faq__list { max-width: 100%; }
  .pc-definition--banner .pc-definition__heading { font-size: 38px; }
  .pc-container h2 { font-size: 30px; }
}

@media (max-width: 768px) {
  .pc-definition--banner .pc-definition__heading { font-size: 32px; }
  .pc-container h2 { font-size: 26px; }

  .pc-why-block__inner { flex-direction: column; gap: 24px; }
  .pc-why-block--reversed .pc-why-block__inner { flex-direction: column; }
  .pc-why-block__image { flex: 1 1 100%; max-width: 100%; }
  .pc-why-block__image img { width: 100%; }
  .pc-why-block__image::before { transform: translate(12px, 12px); }
  .pc-why-block--reversed .pc-why-block__image::before { transform: translate(-12px, 12px); }
  .pc-why-block::before { font-size: 140px; top: -14px; right: 20px; }
  .pc-why-block--reversed::before { left: 20px; }
  .pc-why-block__text h4 { font-size: 22px; }

  .pc-faq__item summary h4 { font-size: 15px; padding: 14px 18px; }
  .pc-faq__item summary::after { margin-right: 18px; }

  .pc-contact-belt__card .pc-contact-belt__heading { font-size: 28px; }
  .pc-contact-belt__copy { font-size: 15px; }
}

@media (max-width: 576px) {
  .pc-definition, .pc-types, .pc-categories, .pc-specs,
  .pc-why, .pc-applications, .pc-faq, .pc-related, .pc-reviews,
  .pc-support { padding: 40px 0; }
  .pc-grid--2, .pc-grid--3, .pc-grid--4, .pc-grid--5 { grid-template-columns: 1fr; }
  .pc-grid { gap: 16px; }
  .pc-container { padding: 0 16px; }
}

/* ==========================================================================
   Definition — doubles as banner/first-section (H1 when no hero).
   Layout: text left + image right when def_image is set; text full-width otherwise.
   ========================================================================== */
.pc-definition__inner { max-width: 100%; }

.pc-definition--split .pc-definition__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: center;
}

.pc-definition__image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--hs-radius-card);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.1);
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.pc-definition__text h2,
.pc-definition__text .pc-definition__heading { margin-top: 0; text-align: left; }

/* Banner-role styling (H1 treatment) — applies only when Definition renders H1 */
.pc-definition--banner .pc-definition__heading {
  font-size: 46px;
  font-weight: 700;
  color: var(--hs-title);
  line-height: 1.18;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
  text-align: left;
}

/* When Definition acts as banner AND is H1, use larger top/bottom breathing room */
.pc-definition--banner { padding-top: 60px; padding-bottom: 60px; }

.pc-definition__text h1.pc-definition__heading { /* h1 variant only — same as banner style */
  font-size: 46px;
}

.pc-definition__text h2.pc-definition__heading { /* h2 variant when hero owns the H1 */
  font-size: 34px;
  font-weight: 700;
  color: var(--hs-title);
  line-height: 1.22;
  letter-spacing: -0.015em;
}

.pc-definition__text .pc-richtext { margin-bottom: 20px; }

.pc-feature-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 24px;
}

.pc-feature-list li {
  position: relative;
  padding: 6px 0 6px 28px;
  color: var(--hs-text);
  line-height: 1.55;
}

.pc-feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 16px;
  height: 16px;
  background-color: var(--hs-accent);
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='white' d='M13.485 3.929 5.85 11.564 2.515 8.23 3.93 6.816 5.85 8.736l6.22-6.22z'/></svg>") no-repeat center / contain;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='white' d='M13.485 3.929 5.85 11.564 2.515 8.23 3.93 6.816 5.85 8.736l6.22-6.22z'/></svg>") no-repeat center / contain;
}

/* ==========================================================================
   Specs / Details — Tabs
   ========================================================================== */
.pc-specs { padding: var(--hs-section-y) 0; }

.pc-tabs { margin-top: 28px; }

.pc-tabs__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  border-bottom: 2px solid var(--hs-border);
  margin-bottom: 24px;
}

.pc-tabs__tab {
  appearance: none;
  background: transparent;
  border: 0;
  padding: 12px 24px;
  font: inherit;
  font-weight: 600;
  color: var(--hs-text);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: color var(--hs-transition), background-color var(--hs-transition), border-color var(--hs-transition);
}

.pc-tabs__tab:hover {
  background: var(--hs-accent);
  color: #ffffff;
}

.pc-tabs__tab.is-active {
  color: var(--hs-accent);
  border-bottom-color: var(--hs-accent);
}

/* Hover on active keeps solid accent fill for strong visual feedback */
.pc-tabs__tab.is-active:hover {
  background: var(--hs-accent);
  color: #ffffff;
}

.pc-tabs__tab:focus-visible {
  outline: 2px solid var(--hs-accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.pc-tabs__panel {
  display: none;
  padding: 16px 0;
}

/* display: flow-root creates a new block formatting context, which contains
   any floated children (e.g. WordPress WYSIWYG images with class="alignleft").
   Without this, floated images inside a tab cause the panel to collapse and
   the next section (Why Us) overlaps with the tab content. */
.pc-tabs__panel.is-active {
  display: flow-root;
  animation: pc-tab-fade 0.2s ease;
}

/* Also clear any lingering floats at the end of the panel's rich text,
   so the next flow (button / next section) still renders below, as a belt-and-suspenders safeguard. */
.pc-tabs__panel .pc-richtext::after {
  content: "";
  display: block;
  clear: both;
}

/* Slight breathing room around floated WYSIWYG images inside tabs */
.pc-tabs__panel .pc-richtext img.alignleft,
.pc-tabs__panel .pc-richtext img.alignnone,
.pc-tabs__panel .pc-richtext img.alignright {
  margin: 0 12px 12px 0;
}

.pc-tabs__panel table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0;
}

.pc-tabs__panel th,
.pc-tabs__panel td {
  border: 1px solid var(--hs-border);
  padding: 10px 14px;
  text-align: left;
  font-size: 15px;
}

.pc-tabs__panel th {
  background: var(--hs-bg-alt);
  font-weight: 600;
  color: var(--hs-title);
}

@keyframes pc-tab-fade {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: none; }
}

/* ==========================================================================
   Applications — image + caption cards (lighter than category cards)
   ========================================================================== */
.pc-applications { padding: var(--hs-section-y) 0; }

.pc-applications__grid { margin-top: 28px; }

.pc-app-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--hs-surface);
  border: 1px solid var(--hs-border);
  border-radius: var(--hs-radius-card);
  overflow: hidden;
  transition: transform var(--hs-transition), box-shadow var(--hs-transition);
}

a.pc-app-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--hs-shadow-card-hover);
}

.pc-app-card__image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.pc-app-card__label {
  margin: 0;
  padding: 14px 18px;
  font-size: 16px;
  font-weight: 600;
  color: var(--hs-title);
  text-align: center;
}

/* ==========================================================================
   Customer Reviews + Inquiry Form — two-column section
   Left column: stacked testimonial cards
   Right column: embedded inquiry form
   ========================================================================== */
.pc-reviews { padding: var(--hs-section-y) 0; }

.pc-reviews__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
  margin-top: 24px;
}

.pc-reviews__heading { margin-top: 0; text-align: left; }
.pc-reviews__intro { margin-bottom: 24px; }

.pc-reviews__stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.pc-review-card {
  background: var(--hs-surface);
  border: 1px solid var(--hs-border);
  border-radius: var(--hs-radius-card);
  padding: 24px 26px 20px;
  margin: 0;
  position: relative;
  box-shadow: var(--hs-shadow-card);
  transition: transform var(--hs-transition), box-shadow var(--hs-transition);
}

.pc-review-card:hover { transform: translateY(-2px); box-shadow: var(--hs-shadow-card-hover); }

.pc-review-card::before {
  content: "“";
  position: absolute;
  top: 6px;
  left: 14px;
  font-size: 54px;
  line-height: 1;
  color: var(--hs-accent);
  opacity: 0.28;
  font-family: Georgia, serif;
  pointer-events: none;
}

.pc-review-card__text {
  margin: 0 0 14px;
  padding-top: 14px;
  font-style: italic;
  color: var(--hs-text);
  line-height: 1.65;
  border: 0;
  font-size: 15px;
}

.pc-review-card__text p { margin: 0 0 6px; }
.pc-review-card__text p:last-child { margin-bottom: 0; }

.pc-review-card__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 10px;
  border-top: 1px solid var(--hs-border);
}

.pc-review-card__name {
  font-weight: 600;
  color: var(--hs-title);
  font-size: 15px;
}

.pc-review-card__role {
  font-size: 13px;
  color: var(--hs-text);
  opacity: 0.8;
}

/* Form column — sticky card with accent top border */
.pc-reviews__col--form {
  background: var(--hs-surface);
  border-radius: var(--hs-radius-card);
  border: 1px solid var(--hs-border);
  padding: 28px;
  box-shadow: var(--hs-shadow-card);
  position: relative;
}

.pc-reviews__col--form::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--hs-accent);
  border-radius: var(--hs-radius-card) var(--hs-radius-card) 0 0;
}

.pc-reviews__form-heading {
  margin: 0 0 16px;
  font-size: 22px;
  font-weight: 700;
  color: var(--hs-title);
  letter-spacing: -0.01em;
}

/* ==========================================================================
   Contact — floating accent-color card on neutral background
   Layout: light neutral section bg → centered accent-red card → two columns
   (text + contact info on left, big CTA button on right).
   All text white. Bottom section padding 50px (tight by design).
   ========================================================================== */
.pc-contact-belt {
  position: relative;
  overflow: hidden;
  padding: 0;
}

.pc-contact-belt__outer {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: var(--hs-bg-alt);
  padding: 60px 20px 50px; /* bottom = 50px per spec */
}

.pc-contact-belt__card {
  position: relative;
  background: var(--hs-cta-bg, var(--hs-accent));
  color: #ffffff;
  border-radius: 20px;
  padding: 48px 56px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: center;
  box-shadow: none;
  overflow: hidden;
}

/* Subtle radial highlight on top-right (like a soft light source) for depth */
.pc-contact-belt__card::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.12) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.pc-contact-belt__text {
  position: relative;
  z-index: 1;
  min-width: 0;
  text-align: left;
}

/* Scoped with .pc-contact-belt__card to beat .pc-container h2 specificity (0,1,1).
   Without this prefix, the generic h2 rule forces centered + dark text on the contact heading. */
.pc-contact-belt__card .pc-contact-belt__heading {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
  text-align: left;
}

.pc-contact-belt__copy {
  color: #ffffff;
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 24px;
  max-width: 620px;
}

.pc-contact-belt__copy p {
  color: #ffffff;
  margin: 0 0 8px;
}

.pc-contact-belt__copy p:last-child { margin-bottom: 0; }
.pc-contact-belt__copy strong { color: #ffffff; }
.pc-contact-belt__copy a { color: #ffffff; text-decoration: underline; }

/* Contact info list — clean label/value rows */
.pc-contact-belt__meta {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  padding-top: 20px;
}

.pc-contact-belt__meta-row {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.pc-contact-belt__meta dt {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0;
  padding-top: 2px;
}

.pc-contact-belt__meta dd {
  font-size: 15px;
  color: #ffffff;
  line-height: 1.5;
  margin: 0;
}

.pc-contact-belt__meta dd a {
  color: #ffffff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.pc-contact-belt__meta dd a:hover {
  border-bottom-color: #ffffff;
}

.pc-contact-belt__cta {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.pc-contact-belt__cta .pc-btn,
.pc-contact-belt__cta .pc-btn-inquiry {
  background: #ffffff;
  color: var(--hs-cta-bg, var(--hs-accent));
  border: 2px solid #ffffff;
  padding: 18px 44px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: var(--hs-radius-btn);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  white-space: nowrap;
  transition: background-color var(--hs-transition), color var(--hs-transition), border-color var(--hs-transition);
}

/* Inverse-color hover — bg <-> text swap.
   Normal: white bg + cta-color text.
   Hover:  cta-color bg + white text.
   No transform / no shadow change (per user spec, only colors invert). */
.pc-contact-belt__cta .pc-btn:hover,
.pc-contact-belt__cta .pc-btn-inquiry:hover,
.pc-contact-belt__cta .pc-btn:focus-visible,
.pc-contact-belt__cta .pc-btn-inquiry:focus-visible {
  background: var(--hs-cta-bg, var(--hs-accent));
  color: #ffffff;
  border-color: #ffffff;
  transform: none;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

/* ==========================================================================
   Grid helper: 5-column support (applications can use 5)
   ========================================================================== */
.pc-grid--5 {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
  .pc-definition--split .pc-definition__inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .pc-reviews__layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .pc-grid--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .pc-contact-belt__outer { padding: 48px 20px 50px; }
  .pc-contact-belt__card {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 40px 36px;
  }
  .pc-contact-belt__card .pc-contact-belt__heading { font-size: 28px; }
  .pc-contact-belt__cta { justify-self: start; }
}

@media (max-width: 600px) {
  .pc-tabs__nav { gap: 0; }
  .pc-tabs__tab { padding: 10px 16px; font-size: 15px; }
  .pc-grid--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pc-app-card__image img { height: 160px; }
  .pc-reviews__col--form { padding: 22px; }

  .pc-contact-belt__outer { padding: 40px 14px 50px; }
  .pc-contact-belt__card {
    padding: 32px 24px;
    border-radius: 16px;
  }
  .pc-contact-belt__card .pc-contact-belt__heading { font-size: 24px; }
  .pc-contact-belt__copy { font-size: 15px; }
  .pc-contact-belt__meta-row { grid-template-columns: 72px minmax(0, 1fr); gap: 10px; }
  .pc-contact-belt__meta dt { font-size: 11px; }
  .pc-contact-belt__meta dd { font-size: 14px; }
  .pc-contact-belt__cta .pc-btn,
  .pc-contact-belt__cta .pc-btn-inquiry { padding: 15px 30px; font-size: 15px; width: 100%; text-align: center; }
}

@media print {
  .pc-btn-inquiry, form { display: none !important; }
  .pc-card { box-shadow: none !important; break-inside: avoid; }
}
