/* Product pages. Everything is scoped under .pv2. */
.pv2 { --navy: #0e0129; --red: #af2f30; --line: #dfe1e8; --mute: #555a6b; --soft: #f5f6f8; color: #2b2f3d; overflow-x: clip; }
.pv2 h1, .pv2 h2, .pv2 h3 { text-transform: none; letter-spacing: -.02em; }
.pv2 h2 { font-size: clamp(28px, 3.2vw, 42px); line-height: 1.15; margin: 0; }
.pv2 p { font-size: 17px; line-height: 1.75; }
.pv2-sec { padding: clamp(56px, 8vw, 110px) 0; }
.pv2-soft { background: var(--soft); }
.pv2-navy { background: var(--navy); color: #d9d6e3; }
.pv2-navy h2 { color: #fff; }
.pv2-head { margin-bottom: clamp(28px, 4vw, 52px); }
.pv2-head::before { content: ""; display: block; width: 44px; height: 3px; margin-bottom: 20px; background: var(--red); }
.pv2-head p { margin: 16px 0 0; }

/* Buttons */
.pv2-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 12px 28px; border: 1px solid var(--red); background: var(--red); color: #fff; font-size: 15px; font-weight: 600; transition: background-color .2s, border-color .2s, color .2s; }
.pv2-btn:hover { background: #8f2425; border-color: #8f2425; color: #fff; }
.pv2-btn-line { background: transparent; border-color: rgba(255, 255, 255, .45); }
.pv2-btn-line:hover { background: #fff; border-color: #fff; color: var(--navy); }
.pv2-btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.pv2-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* Hero (the site header overlays the top of it) */
.pv2-hero { padding: 210px 0 130px; background-color: var(--navy); background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px); background-size: 72px 72px; }
.pv2-crumbs { display: flex; flex-wrap: wrap; gap: 6px 10px; margin-bottom: 26px; font-size: 14px; color: #b9b4c9; }
.pv2-crumbs a { color: #fff; }
.pv2-crumbs li + li::before { content: "/"; margin-right: 10px; color: #7d7694; }
.pv2-hero h1 { margin: 0 0 18px; color: #fff; font-size: clamp(34px, 4.4vw, 58px); line-height: 1.08; text-wrap: balance; }
.pv2-hero p { margin: 0; color: #d9d6e3; font-size: clamp(18px, 1.8vw, 22px); }
/* Desktop: the light panel bleeds to the right edge, starting below the header */
@media (min-width: 992px) {
  .pv2-hero { position: relative; isolation: isolate; min-height: 820px; display: flex; align-items: center; }
  .pv2-hero::after { content: ""; position: absolute; z-index: -1; top: 170px; right: 0; bottom: 0; left: 54%; background: linear-gradient(160deg, #fff 35%, #d5d8e0); }
  .pv2 .pv2-hero-media .pv2-stage { padding: 0 0 0 80px; background: none; }
  .pv2-hero-media img { filter: drop-shadow(0 26px 24px rgba(14, 1, 41, .28)); }
  .pv2-hero .col-lg-6:first-child { padding-right: 48px; }
  .pv2-spec-side { position: sticky; top: 120px; }
}
.pv2-stage { padding: clamp(16px, 3vw, 40px); background: linear-gradient(160deg, #fff 30%, #d5d8e0); }
.pv2-stage img { display: block; width: 100%; height: auto; }

/* Figures strip */
.pv2-figs { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); margin: -64px 0 0; background: #fff; border-top: 3px solid var(--red); box-shadow: 0 18px 50px rgba(14, 1, 41, .13); }
.pv2-figs div { display: flex; flex-direction: column-reverse; justify-content: flex-end; padding: 30px 28px; border-left: 1px solid var(--line); }
.pv2-figs div:first-child { border-left: 0; }
.pv2-figs dt { font-size: 14px; font-weight: 500; color: var(--mute); }
.pv2-figs dd { margin: 0 0 4px; font-size: clamp(22px, 2.2vw, 30px); font-weight: 700; line-height: 1.2; color: var(--navy); }

/* Introduction */
.pv2-intro { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.pv2-intro p { margin: 0; }
.pv2-intro p:first-child { font-size: clamp(19px, 1.7vw, 23px); line-height: 1.6; color: var(--navy); }
.pv2-intro p:last-child { padding-left: 28px; border-left: 3px solid var(--red); }

/* Hairline grids */
.pv2-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.pv2-grid-3 { grid-template-columns: repeat(3, 1fr); }
.pv2-grid-4 { grid-template-columns: repeat(4, 1fr); }
.pv2-grid li { transition: box-shadow .25s; display: flex; gap: 18px; padding: 30px 28px; background: #fff; color: var(--navy); font-size: 16px; font-weight: 600; line-height: 1.5; }
.pv2-grid li:hover { position: relative; box-shadow: inset 0 -3px 0 var(--red); }
.pv2-grid i { flex: none; width: 28px; padding-top: 3px; font-size: 20px; text-align: center; color: var(--red); }
.pv2-grid-4 li { flex-direction: column; min-height: 150px; }
.pv2-grid-4 i { width: auto; text-align: left; font-size: 24px; }

/* Architecture */
.pv2-flow { display: grid; grid-template-columns: 1.3fr auto 1fr auto 1fr auto 1fr; gap: 18px; align-items: stretch; }
.pv2-flow-in { display: grid; gap: 18px; }
.pv2-node { display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: 28px 24px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .05); color: #fff; font-size: 17px; font-weight: 600; line-height: 1.45; }
.pv2-node i { font-size: 28px; }
.pv2-flow-in .pv2-node { flex-direction: row; justify-content: flex-start; align-items: center; }
.pv2-flow-in .pv2-node i { flex: none; width: 32px; text-align: center; }
.pv2-flow > .pv2-node:last-child { background: var(--red); border-color: var(--red); }
.pv2-arrow { align-self: center; color: #fff; opacity: .6; font-size: 18px; }
.pv2-opt { margin: 28px 0 0; padding: 20px 24px; border: 1px dashed rgba(255, 255, 255, .35); }

/* Specifications */
.pv2-spec { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.pv2 table { width: 100%; border-collapse: collapse; font-size: 16px; font-variant-numeric: tabular-nums; }
.pv2 th, .pv2 td { padding: 18px 20px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.pv2 thead th { border-bottom: 2px solid var(--navy); color: var(--navy); font-weight: 700; }
.pv2 tbody th { font-weight: 500; color: var(--mute); }
.pv2 tbody td { font-weight: 600; color: var(--navy); }
.pv2-note { margin: 16px 0 0; font-style: italic; color: var(--mute); }
.pv2 .pv2-note { font-size: 15px; }

/* Variant cards */
.pv2-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.pv2-card { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--navy); transition: opacity .6s ease, transform .6s ease, box-shadow .3s, border-color .3s; }
.pv2-card:hover { border-top-color: var(--red); box-shadow: 0 22px 50px rgba(14, 1, 41, .12); }
.pv2-card-media { padding: clamp(20px, 3vw, 44px); background: linear-gradient(180deg, #fff, #eceef2); }
.pv2-card-media img { display: block; width: 100%; height: auto; aspect-ratio: 784 / 610; object-fit: contain; }
.pv2-card-body { padding: clamp(22px, 2.6vw, 36px); }
.pv2-card h3 { margin: 0 0 18px; font-size: clamp(24px, 2.2vw, 30px); font-weight: 700; }
.pv2-card dl { margin: 0; }
.pv2-card dl div { display: grid; grid-template-columns: 2fr 3fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.pv2-card dt { font-weight: 500; color: var(--mute); }
.pv2-card dd { margin: 0; font-weight: 600; color: var(--navy); }

/* Enquiry */
.pv2-enquiry { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.pv2-contact li { display: flex; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); font-size: 16px; color: var(--navy); }
.pv2-contact i { flex: none; width: 22px; padding-top: 5px; text-align: center; color: var(--red); }
.pv2-contact a { color: var(--navy); font-weight: 600; }
.pv2-contact a:hover { color: var(--red); }
.pv2-form { padding: clamp(22px, 3.4vw, 48px); background: #fff; border-top: 3px solid var(--red); box-shadow: 0 18px 50px rgba(14, 1, 41, .1); }
.pv2-form #contactBtn { min-height: 52px; padding: 12px 32px; border-radius: 0; font-weight: 600; }
.pv2-form #msgSubmit { font-size: 16px; }
#enquiry { scroll-margin-top: 90px; }

/* Reveal */
.pv2 [data-reveal] { transition: opacity .6s ease, transform .6s ease; }
.pv2 .pv2-card[data-reveal] { transition: opacity .6s ease, transform .6s ease, box-shadow .3s, border-color .3s; }
.pv2 .pv2-wait { opacity: 0; transform: translateY(24px); }

/* Closing */
.pv2-close { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.pv2-close p { margin: 20px 0 0; }
.pv2-close .pv2-stage img { max-width: 436px; margin: 0 auto; }

@media (max-width: 1199px) {
  .pv2-flow { grid-template-columns: 1fr; }
  .pv2-flow-in { grid-template-columns: repeat(2, 1fr); }
  .pv2-flow > .pv2-node { flex-direction: row; justify-content: flex-start; align-items: center; }
  .pv2-flow > .pv2-node i { flex: none; width: 32px; text-align: center; }
  .pv2-arrow { justify-self: center; transform: rotate(90deg); }
}
@media (max-width: 991px) {
  .pv2-hero { padding: 170px 0 110px; }
  .pv2-figs, .pv2-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .pv2-figs div:nth-child(odd) { border-left: 0; }
  .pv2-figs div:nth-child(n+3) { border-top: 1px solid var(--line); }
  /* an odd last item spans the row so no grey cell is left over */
  .pv2-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .pv2-grid-3 li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .pv2-intro, .pv2-spec, .pv2-close, .pv2-enquiry { grid-template-columns: 1fr; }
}
@media (max-width: 575px) {
  .pv2-grid-3, .pv2-grid-4, .pv2-flow-in, .pv2-cards { grid-template-columns: 1fr; }
  .pv2-grid-4 li { flex-direction: row; min-height: 0; }
  .pv2-grid-4 i { width: 28px; text-align: center; font-size: 20px; }
  .pv2-grid li { padding: 22px 20px; }
  .pv2-figs div { padding: 20px 16px; }
  .pv2 th, .pv2 td { padding: 14px 12px; font-size: 15px; }
  .pv2-actions .pv2-btn { width: 100%; }
}

/* Phone and tablet */
.pv2-bar { display: none; }
@media (max-width: 991px) {
  /* the mobile header bar is a fixed 64px and no longer overlays the hero */
  .pv2-hero { padding: 48px 0 112px; }
}
@media (max-width: 767px) {
  body { padding-bottom: 72px; }
  .go-top.active { bottom: 88px; }
  .pv2 .container { padding-left: 20px; padding-right: 20px; }
  .pv2-sec { padding: 52px 0; }
  .pv2 p { font-size: 16px; line-height: 1.7; }
  .pv2 h2 { font-size: 27px; }
  .pv2-head { margin-bottom: 26px; }
  .pv2-head::before { margin-bottom: 16px; }

  .pv2-hero { padding: 28px 0 88px; background-size: 48px 48px; }
  .pv2-hero .row { --bs-gutter-y: 28px; }
  .pv2-crumbs { margin-bottom: 18px; }
  .pv2-hero h1 { font-size: clamp(29px, 8.4vw, 36px); margin-bottom: 12px; }
  .pv2-hero p { font-size: 17px; }
  .pv2-actions { gap: 12px; margin-top: 24px; }
  .pv2-stage { padding: 14px; }

  .pv2-figs { margin-top: -52px; }
  .pv2-figs div { padding: 18px 16px; }
  .pv2-figs dd { font-size: 20px; }
  .pv2-figs dt { font-size: 13px; line-height: 1.4; }

  .pv2-intro { gap: 24px; }
  .pv2-intro p:first-child { font-size: 18px; }
  .pv2-intro p:last-child { padding-left: 18px; }

  .pv2-grid li { align-items: center; gap: 16px; padding: 17px 18px; font-size: 15px; }
  .pv2-grid i { padding-top: 0; }

  .pv2-flow { gap: 12px; }
  .pv2-flow-in { gap: 12px; }
  .pv2-node { gap: 16px; padding: 18px; font-size: 15px; }
  .pv2-node i, .pv2-flow > .pv2-node i { font-size: 22px; }
  .pv2-opt { margin-top: 20px; padding: 16px 18px; }

  /* this render appears again in the variant cards just below */
  .pv2-spec-side .pv2-stage { display: none; }
  .pv2-spec { gap: 0; }
  .pv2 table { table-layout: fixed; }
  .pv2 th, .pv2 td { padding: 14px 0; font-size: 15px; line-height: 1.45; }
  .pv2 th:first-child { padding-right: 16px; }

  .pv2-cards { gap: 20px; }
  .pv2-card-media { padding: 18px 24px; }
  .pv2-card-body { padding: 22px 20px 12px; }
  .pv2-card h3 { margin-bottom: 14px; }
  .pv2-card dl div { gap: 12px; padding: 12px 0; font-size: 15px; line-height: 1.45; }

  .pv2-contact li { padding: 15px 0; }
  .pv2-contact a, .pv2-contact span { min-width: 0; overflow-wrap: anywhere; }
  .pv2-form { padding: 22px 18px; }
  .pv2-form .form-control { font-size: 16px; } /* below 16px iOS zooms into the field */
  .pv2-form #contactBtn { width: 100%; }

  .pv2-bar { position: fixed; z-index: 1020; left: 0; right: 0; bottom: 0; display: flex; gap: 10px; padding: 10px 14px max(10px, env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -4px 20px rgba(14, 1, 41, .14); transition: transform .25s; }
  .pv2-bar-off { transform: translateY(110%); visibility: hidden; }
  .pv2-bar a { flex: 1; min-height: 50px; padding: 8px 12px; font-size: 15px; white-space: nowrap; }
  .pv2-bar .pv2-bar-call { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 20px; border: 1px solid var(--navy); color: var(--navy); font-weight: 600; }
}
@media (max-width: 359px) {
  .pv2-bar .pv2-bar-call { font-size: 0; gap: 0; padding: 8px 16px; }
  .pv2-bar-call i { font-size: 17px; }
}
@media (min-width: 576px) and (max-width: 767px) {
  .pv2-cards { grid-template-columns: 1fr; }
}
