/* =========================================================
   Protector Glass — Landing (Variación B / Producción)
   ========================================================= */

/* ---------- FONTS ---------- */
@font-face { font-family: "Montserrat"; src: url("../fonts/Montserrat-Regular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/Montserrat-Medium.ttf") format("truetype"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/Montserrat-SemiBold.ttf") format("truetype"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/Montserrat-Bold.ttf") format("truetype"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/Montserrat-ExtraBold.ttf") format("truetype"); font-weight: 800; font-style: normal; font-display: swap; }

/* ---------- TOKENS ---------- */
:root {
  --pg-navy-900: #062536;
  --pg-navy-800: #0A3650;
  --pg-navy-700: #0F4868;
  --pg-blue-600: #145E84;
  --pg-blue-500: #1E7BA8;
  --pg-blue-400: #3A98C5;
  --pg-cyan-300: #8FCDE6;
  --pg-grey-100: #F5F6F7;
  --pg-grey-200: #E5E7EA;
  --pg-grey-300: #C9CED3;
  --pg-grey-700: #4A5560;
  --pg-ink:      #0E1A23;
  --pg-white:    #FFFFFF;
  --pg-whatsapp: #25D366;
  --pg-whatsapp-dark: #128C7E;

  --ff-sans: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;

  --shadow-sm: 0 1px 2px rgba(10,42,63,.08), 0 2px 8px rgba(10,42,63,.06);
  --shadow-md: 0 4px 12px rgba(10,42,63,.10), 0 12px 32px rgba(10,42,63,.10);
  --shadow-lg: 0 12px 40px rgba(10,42,63,.18), 0 24px 80px rgba(10,42,63,.16);

  --container: 1320px;
  --gutter: 40px;
}

/* ---------- BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--ff-sans);
  color: var(--pg-ink);
  background: var(--pg-white);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }

/* ---------- REVEAL ANIMATIONS ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s ease, transform .8s ease;
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .pgB-hero__marquee-track { animation: none !important; }
}

/* =========================================================
   HEADER
   ========================================================= */
.pgB-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--pg-grey-200);
}
.pgB-header__inner {
  max-width: var(--container); margin: 0 auto;
  padding: 22px var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.pgB-header__spacer { display: block; }
.pgB-header__logo {
  display: inline-flex; align-items: center; justify-content: center;
  transition: opacity .2s ease;
}
.pgB-header__logo:hover { opacity: .82; }
.pgB-header__logo img { height: 76px; width: auto; display: block; }
.pgB-header__cta {
  justify-self: end;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px;
  background: var(--pg-blue-500); color: #fff;
  font-weight: 700; font-size: 13px; letter-spacing: .04em;
  border: 0; transition: background .2s, gap .2s;
  text-decoration: none;
  white-space: nowrap;
}
.pgB-header__cta:hover { background: var(--pg-navy-800); gap: 14px; }

/* =========================================================
   HERO
   ========================================================= */
.pgB-hero {
  position: relative; height: 760px; overflow: hidden;
  background: var(--pg-navy-900);
}
.pgB-hero__bg {
  position: absolute; inset: -8% 0 0 0; height: 116%;
  background-image: url("../img/protectorglass-2.jpg");
  background-size: cover; background-position: center;
  will-change: transform;
}
.pgB-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,37,54,.45), rgba(6,37,54,.85));
}
.pgB-hero__inner {
  position: relative; z-index: 2;
  max-width: var(--container); margin: 0 auto;
  padding: 0 var(--gutter) 80px;
  height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: #fff;
}
.pgB-hero__meta {
  display: flex; gap: 24px; align-items: center;
  font-size: 12px; font-weight: 600; letter-spacing: .25em;
  color: var(--pg-blue-400); margin-bottom: 32px;
  text-transform: uppercase;
}
.pgB-hero__meta-line {
  flex: 1; height: 1px;
  background: rgba(143,205,230,.4);
  max-width: 220px;
}
.pgB-hero__title {
  font-size: 96px; line-height: .98; font-weight: 800;
  letter-spacing: -.03em; margin: 0 0 28px;
  max-width: 1100px;
  text-wrap: balance;
}
.pgB-hero__title .pgB-italic {
  font-style: italic; font-weight: 500; color: var(--pg-blue-400);
}
.pgB-hero__row {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 60px; flex-wrap: wrap; width: 100%;
}
.pgB-hero__lead {
  font-size: 18px; line-height: 1.55;
  color: rgba(255,255,255,.9);
  max-width: 520px;
  margin: 0;
}
.pgB-hero__cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 18px;
  background: #fff; color: var(--pg-navy-800);
  font-weight: 700; font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; border: 0;
  transition: all .2s ease;
  margin-right: -16px;
  align-self: flex-end;
}
.pgB-hero__cta:hover {
  background: var(--pg-blue-500); color: #fff; gap: 14px;
}

.pgB-hero__marquee {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,.06);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255,255,255,.08);
  overflow: hidden; padding: 14px 0;
  white-space: nowrap;
}
.pgB-hero__marquee-track {
  display: inline-flex; gap: 60px;
  animation: pgB-marquee 30s linear infinite;
  font-size: 12px; font-weight: 600; letter-spacing: .3em;
  color: rgba(255,255,255,.7);
  padding-left: 60px;
}
.pgB-hero__marquee-track span {
  display: inline-flex; align-items: center; gap: 60px;
}
.pgB-hero__marquee-track span::after {
  content: "★"; color: var(--pg-blue-400);
}
@keyframes pgB-marquee { to { transform: translateX(-50%); } }

/* =========================================================
   INTRO
   ========================================================= */
.pgB-intro {
  padding: 120px var(--gutter);
  background: #fff;
}
.pgB-intro__inner {
  max-width: var(--container); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.pgB-intro__label {
  font-size: 12px; font-weight: 700; letter-spacing: .3em;
  color: var(--pg-blue-500); text-transform: uppercase;
  margin-bottom: 18px;
  display: flex; align-items: center; gap: 14px;
}
.pgB-intro__label::before {
  content: ""; width: 32px; height: 1px; background: var(--pg-blue-500);
}
.pgB-intro__heading {
  font-size: 52px; line-height: 1.05; font-weight: 800;
  letter-spacing: -.02em; color: var(--pg-navy-800);
  margin: 0 0 24px;
  text-wrap: balance;
}
.pgB-intro__heading em {
  font-style: italic; font-weight: 500; color: var(--pg-blue-500);
}
.pgB-intro__copy {
  font-size: 16.5px; line-height: 1.7; color: var(--pg-grey-700);
  margin: 0 0 16px;
}
.pgB-intro__media {
  position: relative; aspect-ratio: 4 / 5;
  overflow: hidden; background: var(--pg-navy-800);
}
.pgB-intro__media img {
  width: 100%; height: 100%; object-fit: cover;
}
.pgB-intro__media-tag {
  position: absolute; left: 24px; bottom: 24px;
  background: #fff; color: var(--pg-navy-800);
  padding: 12px 18px;
  font-size: 11px; font-weight: 800;
  letter-spacing: .2em; text-transform: uppercase;
}

/* =========================================================
   PRODUCTS (dark navy band, accordion list)
   ========================================================= */
.pgB-products {
  background: var(--pg-navy-800); color: #fff;
  padding: 120px var(--gutter);
  position: relative; overflow: hidden;
}
.pgB-products__inner { max-width: var(--container); margin: 0 auto; }
.pgB-products__head {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: end; margin-bottom: 60px;
}
.pgB-products__title {
  font-size: 56px; font-weight: 800; line-height: 1.05;
  letter-spacing: -.02em; margin: 0;
  text-wrap: balance;
}
.pgB-products__lead {
  font-size: 16.5px; line-height: 1.6;
  color: rgba(255,255,255,.75); margin: 0;
}
.pgB-products__list {
  border-top: 1px solid rgba(255,255,255,.15);
}
.pgB-product-row {
  border-bottom: 1px solid rgba(255,255,255,.15);
  transition: background .25s ease;
}
.pgB-product-row:hover { background: rgba(255,255,255,.03); }
.pgB-product-row__main {
  display: grid; grid-template-columns: 80px 1fr auto;
  align-items: center; padding: 30px 0; gap: 32px;
  transition: padding .25s ease;
}
.pgB-product-row--expandable .pgB-product-row__main {
  cursor: pointer;
}
.pgB-product-row:hover .pgB-product-row__main {
  padding-left: 16px; padding-right: 16px;
}
.pgB-product-row__num {
  font-size: 13px; font-weight: 700;
  color: var(--pg-blue-400); letter-spacing: .15em;
}
.pgB-product-row__name {
  font-size: 28px; font-weight: 700; letter-spacing: -.01em;
}
.pgB-product-row__spacer { width: 44px; height: 44px; }
.pgB-product-row__toggle {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.3);
  background: transparent;
  display: flex; align-items: center; justify-content: center;
  color: #fff; transition: all .25s; cursor: pointer; padding: 0;
}
.pgB-product-row:hover .pgB-product-row__toggle {
  background: var(--pg-blue-500); border-color: var(--pg-blue-500);
}
.pgB-product-row__plus {
  position: relative; width: 16px; height: 16px;
  display: inline-block;
}
.pgB-product-row__plus-h, .pgB-product-row__plus-v {
  position: absolute; left: 50%; top: 50%; background: #fff;
  transition: transform .3s ease;
}
.pgB-product-row__plus-h {
  width: 16px; height: 2px; transform: translate(-50%, -50%);
}
.pgB-product-row__plus-v {
  width: 2px; height: 16px; transform: translate(-50%, -50%);
}
.pgB-product-row.is-open .pgB-product-row__plus-v {
  transform: translate(-50%, -50%) scaleY(0);
}
.pgB-product-row.is-open .pgB-product-row__toggle {
  background: var(--pg-blue-500); border-color: var(--pg-blue-500);
}

.pgB-product-row__sublist {
  list-style: none;
  padding: 0 0 0 112px; margin: 0;
  max-height: 0; overflow: hidden;
  transition: max-height .45s ease, padding .35s ease, opacity .35s ease;
  opacity: 0;
}
.pgB-product-row__sublist[data-open="true"] {
  max-height: 360px;
  padding-bottom: 28px;
  opacity: 1;
}
.pgB-product-row__sublist li {
  display: flex; align-items: center; gap: 14px;
  font-size: 15px; color: rgba(255,255,255,.78);
  padding: 8px 0;
  opacity: 0; transform: translateY(6px);
  transition: opacity .35s ease, transform .35s ease;
}
.pgB-product-row__sublist[data-open="true"] li {
  opacity: 1; transform: none;
}
.pgB-product-row__sublist li::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--pg-blue-400); flex-shrink: 0;
}
.pgB-product-row__sublist--desc li {
  display: block;
  font-size: 15.5px; line-height: 1.6;
  color: rgba(255,255,255,.78);
  max-width: 720px;
  padding: 0;
}
.pgB-product-row__sublist--desc li::before { content: none; }
.pgB-product-row__sublist--desc[data-open="true"] {
  padding-bottom: 24px;
}

/* =========================================================
   TYPES (3 cards with image overlay caption)
   ========================================================= */
.pgB-types { padding: 120px var(--gutter); background: #fff; }
.pgB-types__inner { max-width: var(--container); margin: 0 auto; }
.pgB-types__head { text-align: center; margin-bottom: 64px; }
.pgB-types__heading {
  font-size: 52px; font-weight: 800; line-height: 1.05;
  letter-spacing: -.02em; margin: 0 0 16px;
  color: var(--pg-navy-800);
  text-wrap: balance;
}
.pgB-types__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.pgB-type {
  position: relative; background: transparent;
  display: flex; flex-direction: column;
  margin: 0;
}
.pgB-type__media {
  position: relative; aspect-ratio: 3 / 4; overflow: hidden;
  background: var(--pg-navy-800);
}
.pgB-type__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s ease, opacity .3s;
  opacity: .75;
}
.pgB-type:hover .pgB-type__media img {
  transform: scale(1.06); opacity: .9;
}
.pgB-type__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(6,37,54,.92) 100%);
  pointer-events: none;
}
.pgB-type__caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 32px 28px; color: #fff;
}
.pgB-type__index {
  font-size: 11px; font-weight: 700; letter-spacing: .25em;
  color: var(--pg-blue-400); margin-bottom: 8px;
  text-transform: uppercase;
}
.pgB-type__title {
  font-size: 22px; font-weight: 800; letter-spacing: -.01em;
  margin: 0; line-height: 1.15; color: #fff;
}
.pgB-type__body {
  font-size: 14.5px; line-height: 1.6;
  color: var(--pg-grey-700);
  margin: 22px 4px 0; padding: 0;
}

/* =========================================================
   PROCESS + FORM
   ========================================================= */
.pgB-process {
  background: var(--pg-grey-200);
  padding: 120px var(--gutter) 70px;
}
.pgB-process__inner { max-width: var(--container); margin: 0 auto; }
.pgB-process__head {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: end; margin-bottom: 56px;
}
.pgB-process__heading {
  font-size: 52px; font-weight: 800; line-height: 1.05;
  letter-spacing: -.02em; color: var(--pg-navy-800);
  margin: 0; text-wrap: balance;
}
.pgB-process__lead {
  font-size: 16px; line-height: 1.6;
  color: var(--pg-grey-700); margin: 0;
}
.pgB-process__layout {
  display: grid;
  grid-template-columns: 2fr 0.8fr;
  gap: 56px; align-items: center;
}
.pgB-process__diagram {
  position: relative; padding: 0;
  display: flex; align-items: center; justify-content: center;
}
.pgB-process__diagram img {
  width: 100%; height: auto; display: block;
}
.pgB-process__outro {
  text-align: center; margin: 56px auto 0;
  font-size: 19px; color: var(--pg-navy-800);
  font-weight: 700; letter-spacing: -.005em;
  max-width: 820px;
  line-height: 1.5;
  text-wrap: balance;
  position: relative;
  padding: 22px 28px;
}
.pgB-process__outro::before,
.pgB-process__outro::after {
  content: ""; position: absolute; left: 50%;
  transform: translateX(-50%);
  width: 56px; height: 2px;
  background: var(--pg-blue-500);
}
.pgB-process__outro::before { top: 0; }
.pgB-process__outro::after { bottom: 0; }

/* ---------- QUOTE FORM ---------- */
.pgB-form {
  background: #fff;
  padding: 32px 28px;
  box-shadow: var(--shadow-md);
  border-top: 4px solid var(--pg-blue-500);
}
.pgB-form__title {
  font-size: 22px; font-weight: 800;
  color: var(--pg-navy-800); margin: 0 0 22px;
  text-align: center;
}
.pgB-form__field { margin-bottom: 14px; }
.pgB-form__label {
  display: block; font-size: 11px; font-weight: 700;
  letter-spacing: .12em; color: var(--pg-grey-700);
  text-transform: uppercase; margin-bottom: 6px;
}
.pgB-form__input {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid var(--pg-grey-300); border-radius: var(--r-sm);
  font-family: inherit; font-size: 14px;
  background: var(--pg-grey-100); color: var(--pg-ink);
  transition: border-color .2s, background .2s;
}
.pgB-form__input:focus {
  outline: none;
  border-color: var(--pg-blue-500);
  background: #fff;
}
.pgB-form__intent {
  font-size: 11px; font-weight: 700; letter-spacing: .1em;
  color: var(--pg-grey-700); text-transform: uppercase;
  margin: 18px 0 10px;
}
.pgB-form__checks {
  display: flex; flex-direction: column; gap: 8px;
  margin-bottom: 22px;
}
.pgB-form__check {
  display: flex; align-items: center; gap: 10px;
  font-size: 13.5px; color: var(--pg-ink); cursor: pointer;
}
.pgB-form__check input {
  appearance: none; -webkit-appearance: none;
  width: 18px; height: 18px;
  border: 1.5px solid var(--pg-grey-300);
  border-radius: 4px; background: #fff; cursor: pointer;
  display: grid; place-items: center; flex-shrink: 0;
}
.pgB-form__check input:checked {
  background: var(--pg-blue-500); border-color: var(--pg-blue-500);
}
.pgB-form__check input:checked::after {
  content: ""; width: 9px; height: 5px;
  border-left: 2px solid #fff; border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translate(1px, -1px);
}
.pgB-form__submit {
  width: 100%; padding: 14px;
  background: var(--pg-navy-800); color: #fff; border: 0;
  border-radius: var(--r-sm); font-weight: 800;
  letter-spacing: .12em; font-size: 13px;
  text-transform: uppercase;
  transition: background .2s, transform .15s;
}
.pgB-form__submit:hover {
  background: var(--pg-blue-500); transform: translateY(-1px);
}
.pgB-form__submit[disabled] { opacity: .6; cursor: progress; transform: none; }
.pgB-form__status {
  margin-top: 14px; font-size: 13px; line-height: 1.45;
  text-align: center;
}
.pgB-form__status[data-state="ok"]    { color: #1d7c4d; font-weight: 600; }
.pgB-form__status[data-state="error"] { color: #b3261e; font-weight: 600; }

/* =========================================================
   FINAL CTA
   ========================================================= */
.pgB-finalCta {
  background: var(--pg-navy-900); color: #fff;
  padding: 140px var(--gutter); position: relative; overflow: hidden;
}
.pgB-finalCta::before {
  content: ""; position: absolute; inset: 0;
  background: url("../img/protectorglass-2.jpg") center / cover;
  opacity: .15;
}
.pgB-finalCta__inner {
  max-width: 980px; margin: 0 auto; text-align: center;
  position: relative; z-index: 1;
}
.pgB-finalCta__title {
  font-size: 64px; font-weight: 800; letter-spacing: -.02em;
  line-height: 1.05; margin: 0 0 24px;
  text-wrap: balance;
}
.pgB-finalCta__title em {
  font-style: italic; font-weight: 500; color: var(--pg-blue-400);
}
.pgB-finalCta__body {
  font-size: 17px; line-height: 1.65;
  color: rgba(255,255,255,.85);
  max-width: 640px; margin: 0 auto 36px;
}
.pgB-finalCta__row {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
}
.pgB-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px; border-radius: 999px;
  font-size: 14px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: all .25s ease;
}
.pgB-btn--primary { background: var(--pg-blue-500); color: #fff; }
.pgB-btn--primary:hover {
  background: #fff; color: var(--pg-navy-800);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,0,0,.25);
}
.pgB-btn--ghost {
  background: transparent; color: #fff;
  border-color: rgba(255,255,255,.4);
}
.pgB-btn--ghost:hover {
  background: rgba(255,255,255,.1); border-color: #fff;
}

/* =========================================================
   FOOTER
   ========================================================= */
.pgB-footer {
  background: #000; color: rgba(255,255,255,.7);
  padding: 80px var(--gutter) 32px;
}
.pgB-footer__inner {
  max-width: var(--container); margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px;
}
.pgB-footer__logo {
  display: inline-flex; margin-bottom: 18px;
  filter: brightness(0) invert(1);
  transition: opacity .2s;
}
.pgB-footer__logo:hover { opacity: .82; }
.pgB-footer__logo img { height: 56px; width: auto; }
.pgB-footer h4 {
  font-size: 11px; letter-spacing: .25em;
  text-transform: uppercase; font-weight: 700;
  color: #fff; margin: 0 0 18px;
}
.pgB-footer ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
  font-size: 13.5px;
}
.pgB-footer li {
  display: flex; align-items: center; gap: 10px;
}
.pgB-footer li a { transition: color .2s; }
.pgB-footer li a:hover { color: var(--pg-blue-400); }
.pgB-footer__about {
  font-size: 14px; line-height: 1.6;
  max-width: 360px; margin: 18px 0 0;
  color: rgba(255,255,255,.55);
}
.pgB-footer__bar {
  max-width: var(--container); margin: 56px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex; justify-content: space-between;
  font-size: 12px; color: rgba(255,255,255,.45);
  letter-spacing: .04em; gap: 12px; flex-wrap: wrap;
}

/* =========================================================
   QUOTE MODAL
   ========================================================= */
.pgB-modal[hidden] { display: none; }
.pgB-modal {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.pgB-modal__overlay {
  position: absolute; inset: 0;
  background: rgba(6, 37, 54, .72);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  animation: pgB-modal-fade .25s ease both;
  cursor: pointer;
}
.pgB-modal__panel {
  position: relative; z-index: 1;
  width: 100%; max-width: 480px;
  max-height: calc(100vh - 48px);
  overflow: auto;
  background: #fff;
  border-top: 4px solid var(--pg-blue-500);
  box-shadow: var(--shadow-lg);
  animation: pgB-modal-pop .3s cubic-bezier(.2,.8,.25,1) both;
}
.pgB-modal__close {
  position: absolute; top: 14px; right: 14px;
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  background: transparent; color: var(--pg-navy-800);
  border: 0; border-radius: 50%;
  transition: background .2s, color .2s, transform .2s;
  z-index: 2;
}
.pgB-modal__close:hover {
  background: var(--pg-grey-200);
  color: var(--pg-blue-500);
  transform: rotate(90deg);
}
.pgB-form--modal {
  border-top: 0;
  box-shadow: none;
  padding: 36px 32px 32px;
}
.pgB-form__subtitle {
  margin: -14px 0 22px;
  text-align: center;
  font-size: 13.5px; line-height: 1.5;
  color: var(--pg-grey-700);
}
@keyframes pgB-modal-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes pgB-modal-pop {
  from { opacity: 0; transform: translateY(16px) scale(.98); }
  to   { opacity: 1; transform: none; }
}
body.pgB-modal-open { overflow: hidden; }

@media (max-width: 720px) {
  .pgB-modal { padding: 0; align-items: flex-end; }
  .pgB-modal__panel {
    max-width: 100%;
    max-height: 92vh;
    border-radius: 16px 16px 0 0;
  }
  .pgB-form--modal { padding: 30px 22px 26px; }
  .pgB-form__subtitle { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  .pgB-modal__overlay,
  .pgB-modal__panel { animation: none; }
}

/* =========================================================
   WHATSAPP FAB
   ========================================================= */
.pgB-fab {
  position: fixed; bottom: 22px; right: 22px; z-index: 60;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px 12px 14px;
  background: var(--pg-whatsapp); color: #fff;
  border-radius: 999px; font-weight: 700; font-size: 13px;
  letter-spacing: .04em; text-transform: uppercase;
  box-shadow: 0 10px 28px rgba(37,211,102,.45);
  border: 0;
  transition: transform .2s, background .2s;
}
.pgB-fab:hover {
  background: var(--pg-whatsapp-dark); transform: translateY(-2px);
}
.pgB-fab__pulse {
  position: absolute; inset: 0; border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(37,211,102,.5);
  animation: pgB-pulse 2s infinite;
  pointer-events: none;
}
@keyframes pgB-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(37,211,102,.55); }
  70%  { box-shadow: 0 0 0 18px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

/* Tablet — ≤ 1024px */
@media (max-width: 1024px) {
  :root { --gutter: 28px; }

  .pgB-header__inner { padding: 16px var(--gutter); }
  .pgB-header__logo img { height: 60px; }
  .pgB-header__cta { padding: 10px 16px; font-size: 12px; }

  .pgB-hero { height: 640px; }
  .pgB-hero__inner { padding-bottom: 70px; }
  .pgB-hero__title { font-size: 64px; }
  .pgB-hero__lead { font-size: 16px; max-width: 100%; }
  .pgB-hero__row { gap: 32px; }

  .pgB-intro { padding: 90px var(--gutter); }
  .pgB-intro__inner { gap: 48px; }
  .pgB-intro__heading { font-size: 40px; }

  .pgB-products { padding: 90px var(--gutter); }
  .pgB-products__head { gap: 32px; margin-bottom: 40px; }
  .pgB-products__title { font-size: 44px; }
  .pgB-product-row__name { font-size: 22px; }
  .pgB-product-row__main { grid-template-columns: 60px 1fr auto; gap: 20px; padding: 24px 0; }
  .pgB-product-row__sublist { padding-left: 80px; }

  .pgB-types { padding: 90px var(--gutter); }
  .pgB-types__heading { font-size: 40px; }
  .pgB-types__grid { gap: 18px; }
  .pgB-type__title { font-size: 19px; }

  .pgB-process { padding: 90px var(--gutter) 56px; }
  .pgB-process__heading { font-size: 40px; }
  .pgB-process__head { gap: 32px; margin-bottom: 40px; }
  .pgB-process__layout { grid-template-columns: 1.6fr 1fr; gap: 32px; }

  .pgB-finalCta { padding: 110px var(--gutter); }
  .pgB-finalCta__title { font-size: 48px; }

  .pgB-footer__inner { grid-template-columns: 1fr 1fr; gap: 40px; }
}

/* Mobile — ≤ 720px */
@media (max-width: 720px) {
  :root { --gutter: 20px; }

  .pgB-header__inner {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 12px var(--gutter) 0;
    gap: 10px;
  }
  .pgB-header__spacer { display: none; }
  .pgB-header__logo img { height: 52px; }
  .pgB-header__cta {
    display: inline-flex;
    justify-self: stretch;
    justify-content: center;
    margin: 0 calc(var(--gutter) * -1);
    width: calc(100% + var(--gutter) * 2);
    padding: 11px 16px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .14em;
  }

  .pgB-hero { height: auto; min-height: 560px; }
  .pgB-hero__inner { padding: 120px var(--gutter) 80px; }
  .pgB-hero__meta { font-size: 11px; gap: 14px; margin-bottom: 24px; flex-wrap: wrap; }
  .pgB-hero__meta-line { max-width: 80px; }
  .pgB-hero__title { font-size: 40px; line-height: 1.04; margin-bottom: 22px; }
  .pgB-hero__row { gap: 22px; flex-direction: column; align-items: stretch; }
  .pgB-hero__lead { font-size: 15.5px; }
  .pgB-hero__cta { align-self: flex-start; margin-right: 0; padding: 12px 18px; }
  .pgB-hero__marquee { padding: 10px 0; }
  .pgB-hero__marquee-track { font-size: 11px; gap: 36px; padding-left: 36px; }
  .pgB-hero__marquee-track span { gap: 36px; }

  .pgB-intro { padding: 70px var(--gutter); }
  .pgB-intro__inner { grid-template-columns: 1fr; gap: 36px; }
  .pgB-intro__heading { font-size: 32px; }
  .pgB-intro__copy { font-size: 15.5px; }
  .pgB-intro__media { aspect-ratio: 4 / 5; max-width: 480px; margin: 0 auto; width: 100%; }

  .pgB-products { padding: 70px var(--gutter); }
  .pgB-products__head { grid-template-columns: 1fr; gap: 18px; margin-bottom: 28px; }
  .pgB-products__title { font-size: 34px; }
  .pgB-products__lead { font-size: 15px; }
  .pgB-product-row__main {
    grid-template-columns: 1fr auto;
    grid-template-areas: "num toggle" "name name";
    row-gap: 10px; column-gap: 16px;
    padding: 20px 0;
  }
  .pgB-product-row__num   { grid-area: num; font-size: 12px; }
  .pgB-product-row__name  { grid-area: name; font-size: 18px; line-height: 1.3; }
  .pgB-product-row__toggle, .pgB-product-row__spacer { grid-area: toggle; width: 38px; height: 38px; }
  .pgB-product-row__plus, .pgB-product-row__plus-h, .pgB-product-row__plus-v { /* sizes unchanged */ }
  .pgB-product-row:hover .pgB-product-row__main { padding-left: 0; padding-right: 0; }
  .pgB-product-row__sublist { padding-left: 0; }
  .pgB-product-row__sublist li { font-size: 14px; }

  .pgB-types { padding: 70px var(--gutter); }
  .pgB-types__head { margin-bottom: 36px; }
  .pgB-types__heading { font-size: 32px; }
  .pgB-types__grid { grid-template-columns: 1fr; gap: 28px; }
  .pgB-type__media { aspect-ratio: 4 / 5; }
  .pgB-type__caption { padding: 22px 20px; }
  .pgB-type__title { font-size: 18px; }
  .pgB-type__body { font-size: 14px; margin-top: 16px; }

  .pgB-process { padding: 70px var(--gutter) 40px; }
  .pgB-process__head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 28px; }
  .pgB-process__heading { font-size: 32px; }
  .pgB-process__layout { grid-template-columns: 1fr; gap: 32px; }
  .pgB-process__outro { font-size: 16px; padding: 18px 18px; margin-top: 36px; }
  .pgB-form { padding: 24px 20px; }

  .pgB-finalCta { padding: 80px var(--gutter); }
  .pgB-finalCta__title { font-size: 36px; }
  .pgB-finalCta__body { font-size: 15px; }
  .pgB-btn { padding: 14px 22px; font-size: 12px; }

  .pgB-footer { padding: 56px var(--gutter) 28px; }
  .pgB-footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .pgB-footer__bar { flex-direction: column; align-items: flex-start; gap: 6px; }

  .pgB-fab {
    bottom: 14px; right: 14px;
    padding: 10px 14px 10px 12px;
    font-size: 12px;
  }
  .pgB-fab__label { display: none; }
}

/* Very small screens */
@media (max-width: 380px) {
  .pgB-hero__title { font-size: 34px; }
  .pgB-products__title,
  .pgB-types__heading,
  .pgB-process__heading,
  .pgB-intro__heading { font-size: 28px; }
}
