:root {
  --pm-ink: #101828;
  --pm-muted: #6a7282;
  --pm-line: #e5e7eb;
  --pm-soft: #f3f4f6;
  --pm-dark: #030712;
  --pm-accent: #cc6fe6;
  --pm-wrap-max: 88rem;
  --pm-page-pad: clamp(1.5rem, 4vw, 4rem);
  --pm-header-height: 104px;
  --pm-font-sans: var(--font-sans), "DM Sans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --pm-font-heading: var(--pm-font-sans);
  --pm-weight-heading: 700;
  --pm-weight-label: 800;
  --pm-radius: 8px;
  --pm-radius-control: 999px;
  --pm-tracking-label: .12em;
  --pm-surface: #ffffff;
  --pm-surface-soft: #f7f8fb;
  --pm-shadow-soft: 0 18px 44px rgba(16, 24, 40, .08);
  --pm-shadow-lift: 0 28px 68px rgba(16, 24, 40, .16);
  --pm-ease: cubic-bezier(.16, 1, .3, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--pm-surface);
  color: var(--pm-ink);
  font-family: var(--pm-font-sans);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: rgba(204, 111, 230, .22);
  color: var(--pm-ink);
}

a {
  color: inherit;
  text-decoration: none;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
}

button {
  color: inherit;
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--pm-font-heading);
  font-weight: var(--pm-weight-heading);
  letter-spacing: 0;
  text-wrap: balance;
}

.wrap {
  width: min(var(--pm-wrap-max), calc(100% - var(--pm-page-pad)));
  margin: 0 auto;
}

.topbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 120;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(16px);
  transition: background .2s ease, backdrop-filter .2s ease;
}

.topbar-inner {
  min-height: var(--pm-header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand img {
  width: 280px;
  height: auto;
  max-height: 76px;
  object-fit: contain;
}

.menu-button {
  position: relative;
  z-index: 130;
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border: 1px solid #d1d5dc;
  border-radius: 999px;
  background: #f3f4f6;
  cursor: pointer;
  padding: 0;
  transition: background .2s ease, border-color .2s ease;
}

.menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--pm-ink);
  transition: transform .2s ease, background .2s ease;
}

.menu-button span + span {
  margin-top: 5px;
}

.menu-open .topbar {
  background: transparent;
  backdrop-filter: none;
}

.menu-open .menu-button {
  border-color: rgba(255, 255, 255, .18);
  background: transparent;
}

.menu-open .menu-button span {
  background: #fff;
}

.menu-open .menu-button span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-open .menu-button span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.menu-open .back-link {
  border-color: rgba(255, 255, 255, .18);
  background: transparent;
  color: #fff;
}

.back-link,
.primary,
.tab,
.filter,
.pill,
.counter,
.crumbs {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.back-link {
  display: inline-flex;
  align-items: center;
  border: 1px solid #d1d5dc;
  border-radius: 999px;
  background: #f3f4f6;
  color: var(--pm-ink);
  padding: 10px 14px;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.back-link:hover {
  border-color: var(--pm-ink);
  background: var(--pm-ink);
  color: #fff;
}

.site-menu-overlay {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0f0f0f;
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity .24s ease, transform .24s ease;
}

.site-menu-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.site-menu-overlay nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 108px 24px 48px;
  text-align: center;
}

.site-menu-overlay a {
  color: rgba(255, 255, 255, .42);
  font-family: var(--pm-font-sans);
  font-size: clamp(2rem, 7vw, 3.6rem);
  font-weight: 700;
  line-height: 1.08;
  transition: color .2s ease;
}

.site-menu-overlay a:hover,
.site-menu-overlay a[aria-current="page"] {
  color: #fff;
}

@media (min-width: 901px) {
  :root {
    --pm-wrap-max: 80vw;
  }

  .menu-button {
    display: none;
  }

  .site-menu-overlay {
    position: fixed;
    top: 0;
    right: calc((100vw - var(--pm-wrap-max)) / 2 + 70px);
    bottom: auto;
    left: auto;
    z-index: 125;
    width: auto;
    height: var(--pm-header-height);
    background: transparent;
    color: var(--pm-ink);
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .site-menu-overlay nav {
    height: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 28px;
    padding: 0;
    text-align: right;
  }

  .site-menu-overlay a {
    color: rgba(16, 24, 40, .62);
    font-family: var(--pm-font-sans);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: var(--pm-tracking-label);
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
  }

  .site-menu-overlay a:hover,
  .site-menu-overlay a[aria-current="page"] {
    color: var(--pm-ink);
  }

  .dark-nav .site-menu-overlay a {
    color: rgba(255, 255, 255, .62);
  }

  .dark-nav .site-menu-overlay a:hover,
  .dark-nav .site-menu-overlay a[aria-current="page"] {
    color: #fff;
  }

  .topbar-actions .back-link {
    display: none;
  }

  .topbar-actions {
    margin-left: auto;
    padding-left: 22px;
  }
}

@media (min-width: 901px) and (max-width: 1120px) {
  .brand img {
    width: 236px;
  }

  .site-menu-overlay nav {
    gap: 18px;
  }

  .site-menu-overlay a,
  .back-link,
  .primary,
  .tab,
  .filter,
  .pill,
  .counter,
  .crumbs {
    font-size: 13px;
  }
}

.demo-hero {
  margin-bottom: 64px;
  background: var(--pm-dark);
  color: #fff;
  padding: 190px 0 88px;
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--pm-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.demo-hero h1,
.detail-hero h1 {
  max-width: 980px;
  margin-bottom: 24px;
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: .98;
}

.demo-hero p,
.hero-text {
  max-width: 760px;
  color: var(--pm-muted);
  font-size: clamp(1.125rem, 2vw, 1.45rem);
  line-height: 1.4;
}

.demo-hero .eyebrow,
.demo-hero p {
  color: rgba(255, 255, 255, .52);
}

.tabs {
  display: flex;
  gap: 8px;
  margin-top: 38px;
  overflow-x: auto;
  scrollbar-width: none;
}

.tabs::-webkit-scrollbar {
  display: none;
}

.tab,
.filter,
.pill {
  border: 1px solid var(--pm-line);
  border-radius: 999px;
  background: #fff;
  color: var(--pm-muted);
  cursor: pointer;
  flex: 0 0 auto;
  padding: 10px 14px;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.demo-hero .tab {
  border-color: rgba(255, 255, 255, .14);
  background: transparent;
  color: rgba(255, 255, 255, .62);
}

.demo-hero .tab.is-active,
.demo-hero .tab:hover {
  border-color: #fff;
  background: #fff;
  color: var(--pm-ink);
}

.tab.is-active,
.filter.is-active,
.pill.is-active {
  border-color: var(--pm-ink);
  background: var(--pm-ink);
  color: #fff;
}

.solution {
  display: none;
  padding: 0 0 100px;
}

.solution.is-active {
  display: block;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 56px;
}

.section-head h2,
.gallery-head h2 {
  margin-bottom: 10px;
  font-size: clamp(2rem, 4.5vw, 3.75rem);
  font-weight: 700;
  line-height: 1;
}

.section-head p,
.gallery-head p,
.section-block-head p {
  margin-bottom: 0;
  color: var(--pm-muted);
  font-size: 1.125rem;
}

.badge {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  color: var(--pm-accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.badge::after {
  content: "→";
  font-size: 18px;
  line-height: 1;
}

.main-sections {
  display: grid;
  gap: 58px;
}

.section-block {
  border-top: 1px solid var(--pm-line);
  padding-top: 34px;
}

.section-block-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.section-block-head h3 {
  margin-bottom: 0;
  font-size: clamp(1.75rem, 3.2vw, 3.25rem);
  font-weight: 700;
  line-height: 1;
}

.section-subgrid,
.category-grid,
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.category-card,
.portfolio-card {
  display: block;
  position: relative;
  min-height: 300px;
  overflow: hidden;
  border: 0;
  border-radius: var(--pm-radius);
  background: var(--pm-soft);
  cursor: pointer;
  padding: 0;
  text-align: left;
}

.portfolio-card {
  min-height: 280px;
}

.portfolio-card:nth-child(2n) {
  min-height: 330px;
}

.category-card img,
.portfolio-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s cubic-bezier(.16, 1, .3, 1), filter .3s ease;
}

.category-card::after,
.portfolio-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(3, 7, 18, 0), rgba(3, 7, 18, .76));
}

.category-card:hover img,
.portfolio-card:hover img {
  transform: scale(1.045);
}

.card-label {
  position: absolute;
  z-index: 2;
  right: 24px;
  bottom: 24px;
  left: 24px;
  color: #fff;
}

.card-label span,
.thumb span {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.card-label span {
  margin-bottom: 9px;
  color: rgba(255, 255, 255, .68);
}

.card-label strong {
  display: block;
  font-family: var(--pm-font-sans);
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  line-height: 1.04;
}

.filter-row,
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.pills {
  margin-top: 32px;
  margin-bottom: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.return-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #d1d5dc;
  border-radius: 999px;
  background: #f3f4f6;
  color: var(--pm-ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  padding: 12px 16px;
  text-transform: uppercase;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.return-cta:hover {
  border-color: #fff;
  background: #fff;
  color: var(--pm-ink);
}

.detail-hero {
  margin-bottom: 58px;
  background: var(--pm-dark);
  color: #fff;
}

.detail-hero-inner {
  padding: 112px 0 76px;
}

.detail-hero .hero-text {
  color: rgba(255, 255, 255, .58);
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: rgba(255, 255, 255, .45);
}

.crumbs span:last-child {
  color: #fff;
}

.detail-hero .pill {
  border-color: rgba(255, 255, 255, .15);
  background: transparent;
  color: rgba(255, 255, 255, .62);
}

.detail-hero .pill.is-active,
.detail-hero .pill:hover {
  border-color: #fff;
  background: #fff;
  color: var(--pm-ink);
}

.gallery-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

#gallery.wrap {
  width: min(var(--pm-wrap-max), calc(100% - var(--pm-page-pad)));
  margin-left: auto;
  padding-right: 0;
  padding-left: 0;
}

.counter {
  color: var(--pm-muted);
}

.thumb-grid {
  --pm-gallery-gap: 10px;
  --pm-gallery-min-thumb: 116px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, max(var(--pm-gallery-min-thumb), calc((100% - (var(--pm-gallery-gap) * 7)) / 8))), 1fr));
  gap: var(--pm-gallery-gap);
  padding-bottom: 92px;
}

.thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 0;
  border-radius: .5rem;
  background: var(--pm-soft);
  cursor: pointer;
  padding: 0;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.thumb:hover img {
  transform: scale(1.045);
}

.thumb span {
  display: none;
  position: absolute;
  bottom: 14px;
  left: 14px;
  max-width: calc(100% - 28px);
  border-radius: 999px;
  background: rgba(3, 7, 18, .72);
  color: #fff;
  padding: 7px 10px;
}

.lightbox {
  position: fixed;
  z-index: 220;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(18, 28, 45, .42);
  backdrop-filter: blur(30px) saturate(130%);
  -webkit-backdrop-filter: blur(30px) saturate(130%);
  padding: 14px;
}

.lightbox.is-open {
  display: flex;
}

.lightbox-figure {
  width: min(1500px, calc(100vw - 28px));
}

.lightbox img {
  width: auto;
  max-width: 100%;
  max-height: 86vh;
  border-radius: 8px;
  background: transparent;
  margin: 0 auto;
  object-fit: contain;
  box-shadow: 0 24px 80px rgba(3, 7, 18, .24);
}

.lightbox-caption {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  color: #fff;
}

.lightbox-caption p {
  display: none;
  margin: 0;
}

.lightbox-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.icon-btn {
  display: inline-flex;
  min-width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .82);
  border-radius: 999px;
  background: rgba(255, 255, 255, .68);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  color: var(--pm-ink);
  cursor: pointer;
  font-size: 2rem;
  font-weight: 800;
  padding: 0 18px;
  box-shadow: 0 16px 40px rgba(3, 7, 18, .22);
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.icon-btn:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, .9);
  transform: translateY(-1px);
}

.icon-btn[data-close] {
  min-width: 92px;
  background: rgba(255, 255, 255, .76);
  color: var(--pm-ink);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.site-footer {
  margin-top: clamp(56px, 6vw, 84px);
  background:
    radial-gradient(circle at 8% 0%, rgba(204, 111, 230, .18), transparent 32%),
    linear-gradient(135deg, #080b12 0%, #10131c 62%, #080b12 100%);
  color: #fff;
}

.site-footer-grid {
  display: grid;
  grid-template-columns: minmax(300px, 1.25fr) minmax(180px, .58fr) minmax(320px, .95fr);
  gap: clamp(38px, 5vw, 84px);
  padding: clamp(58px, 7vw, 88px) 0 clamp(42px, 5vw, 64px);
}

.site-footer-logo {
  display: block;
  width: 280px;
  max-width: 100%;
  height: auto;
  margin-bottom: 22px;
}

.site-footer-brand p {
  max-width: 410px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, .62);
  font-size: clamp(.98rem, 1.1vw, 1.08rem);
  line-height: 1.55;
}

.site-footer-cta {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: var(--pm-radius-control);
  background: #fff;
  color: var(--pm-ink);
  font-size: 12px;
  font-weight: var(--pm-weight-label);
  letter-spacing: var(--pm-tracking-label);
  padding: 12px 16px;
  text-transform: uppercase;
  transition: transform .2s var(--pm-ease), box-shadow .2s ease;
}

.site-footer-cta:hover,
.site-footer-cta:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .22);
}

.site-footer-col,
.site-footer-contact {
  display: grid;
  align-content: start;
  gap: 11px;
  font-style: normal;
}

.site-footer-col h2,
.site-footer-contact h2 {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, .42);
  font-size: 12px;
  font-weight: var(--pm-weight-label);
  letter-spacing: var(--pm-tracking-label);
  line-height: 1;
  text-transform: uppercase;
}

.site-footer-col a,
.site-footer-contact a,
.site-footer-contact span,
.site-footer-legal a {
  color: rgba(255, 255, 255, .72);
  font-size: .98rem;
  line-height: 1.35;
  text-decoration: none;
  transition: color .2s ease, opacity .2s ease;
}

.site-footer-legal button {
  appearance: none;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, .72);
  cursor: pointer;
  font: inherit;
  font-size: .98rem;
  line-height: 1.35;
  padding: 0;
  transition: color .2s ease;
}

.site-footer-legal button:hover,
.site-footer-legal button:focus-visible {
  color: #fff;
}

.pm-cookie-banner {
  position: fixed;
  z-index: 1000;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  left: max(20px, env(safe-area-inset-left));
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px 32px;
  width: min(760px, calc(100% - 40px));
  margin-left: auto;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 12px;
  background: rgba(3, 7, 18, .96);
  box-shadow: 0 24px 72px rgba(0, 0, 0, .32);
  color: #fff;
  padding: 24px;
}

.pm-cookie-banner[hidden] {
  display: none;
}

.pm-cookie-banner__summary h2 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 1.15rem;
}

.pm-cookie-banner__summary p {
  max-width: 560px;
  margin: 0 0 8px;
  color: rgba(255, 255, 255, .72);
  font-size: .92rem;
  line-height: 1.5;
}

.pm-cookie-banner__summary a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pm-cookie-banner__preferences {
  grid-column: 1 / -1;
  display: grid;
  gap: 10px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  padding-top: 16px;
}

.pm-cookie-banner__preferences label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255, 255, 255, .86);
  font-size: .92rem;
}

.pm-cookie-banner__preferences input {
  width: 17px;
  height: 17px;
  margin: 2px 0 0;
  accent-color: #fff;
}

.pm-cookie-banner__preferences small {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, .62);
}

.pm-cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.pm-cookie-button {
  min-height: 40px;
  border: 1px solid #fff;
  border-radius: 999px;
  background: #fff;
  color: var(--pm-ink);
  cursor: pointer;
  font-family: var(--pm-font-sans);
  font-size: 11px;
  font-weight: var(--pm-weight-label);
  letter-spacing: .1em;
  padding: 10px 14px;
  text-transform: uppercase;
}

.pm-cookie-button--secondary {
  border-color: rgba(255, 255, 255, .3);
  background: transparent;
  color: #fff;
}

.quote-consent a {
  color: var(--pm-ink);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-section {
  padding: clamp(60px, 8vw, 112px) 0;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr);
  gap: clamp(36px, 7vw, 104px);
  align-items: start;
}

.legal-intro {
  position: sticky;
  top: calc(var(--pm-header-height) + 28px);
}

.legal-intro p {
  max-width: 28rem;
  color: var(--pm-muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.legal-content {
  display: grid;
  gap: 34px;
}

.legal-content section {
  border-top: 1px solid var(--pm-line);
  padding-top: 22px;
}

.legal-content h2 {
  margin: 0 0 10px;
  color: var(--pm-ink);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.legal-content p,
.legal-content li {
  color: var(--pm-muted);
  font-size: 1rem;
  line-height: 1.65;
}

.legal-content p:last-child,
.legal-content ul:last-child {
  margin-bottom: 0;
}

.legal-content ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 20px;
}

.legal-content a {
  color: var(--pm-ink);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer-contact span {
  color: rgba(255, 255, 255, .48);
}

.site-footer-col a:hover,
.site-footer-contact a:hover,
.site-footer-legal a:hover {
  color: #fff;
}

.site-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 26px 0 38px;
  color: rgba(255, 255, 255, .42);
  font-size: 12px;
}

.site-footer-legal {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.site-footer-col[aria-label="Navigazione"] {
  justify-self: center;
  min-width: 180px;
}

.site-footer-contact {
  justify-self: end;
  width: min(100%, 390px);
}

.site-footer-contact .pm-whatsapp-link--footer {
  margin-top: 10px;
  margin-bottom: 10px;
}

.primary {
  display: inline-flex;
  border-radius: 999px;
  background: #fff;
  color: var(--pm-ink);
  padding: 13px 16px;
  white-space: nowrap;
}

.dark-nav .topbar {
  background: rgba(3, 7, 18, .9);
  backdrop-filter: blur(16px);
}

.dark-nav .back-link,
.dark-nav .menu-button {
  border-color: rgba(255, 255, 255, .16);
  background: transparent;
  color: #fff;
}

.dark-nav .menu-button span {
  background: #fff;
}

.site-hero {
  padding: 168px 0 76px;
}

.site-hero.is-dark {
  background: var(--pm-dark);
  color: #fff;
}

.site-hero h1 {
  max-width: 980px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 6.7vw, 5.6rem);
  font-weight: 700;
  line-height: .96;
}

.site-hero p {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--pm-muted);
  font-size: clamp(1.08rem, 1.9vw, 1.42rem);
  line-height: 1.45;
}

.site-hero.is-dark p {
  color: rgba(255, 255, 255, .58);
}

.home-page .topbar {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.home-page .site-menu-overlay a {
  color: rgba(255, 255, 255, .68);
}

.home-page .site-menu-overlay a:hover,
.home-page .site-menu-overlay a[aria-current="page"] {
  color: #fff;
}

.home-hero {
  position: relative;
  min-height: min(680px, 78vh);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background: #111827;
  color: #fff;
  padding: 132px 0 64px;
}

.home-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(3, 7, 18, .86) 0%, rgba(3, 7, 18, .62) 38%, rgba(3, 7, 18, .18) 78%),
    linear-gradient(180deg, rgba(3, 7, 18, .46) 0%, rgba(3, 7, 18, .16) 42%, rgba(3, 7, 18, .82) 100%);
}

.home-hero-content {
  position: relative;
  z-index: 1;
}

.home-kicker,
.home-capability-card span,
.home-materials-list span {
  display: inline-flex;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, .64);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.home-hero h1 {
  max-width: 1040px;
  margin: 0;
  font-size: clamp(2.9rem, 4.95vw, 5.15rem);
  font-weight: 700;
  line-height: .96;
}

.home-hero p {
  max-width: 740px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, .76);
  font-size: clamp(1.08rem, 1.45vw, 1.28rem);
  line-height: 1.55;
}

.home-hero strong {
  color: #fff;
  font-weight: 800;
}

.home-about-copy strong,
.section-head strong {
  color: var(--pm-ink);
  font-weight: 800;
}

.home-hero-actions,
.home-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.home-hero-actions .primary,
.home-action-row .primary,
.home-hero-actions .back-link,
.home-action-row .back-link {
  min-height: 48px;
  align-items: center;
}

.home-hero-actions .back-link,
.home-action-row .back-link {
  border-color: rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .12);
  color: #fff;
}

.home-hero-actions .back-link:hover,
.home-action-row .back-link:hover {
  border-color: #fff;
  background: #fff;
  color: var(--pm-ink);
}

.home-capabilities {
  padding: 58px 0 112px;
  background: linear-gradient(180deg, #fff 0%, #fbfcfe 100%);
}

.home-capabilities .section-head {
  margin-bottom: clamp(34px, 4vw, 58px);
}

.home-capabilities .section-head h2 {
  max-width: 980px;
  font-size: clamp(2.25rem, 3.55vw, 3.35rem);
  line-height: 1.04;
}

.home-capabilities .section-head p {
  max-width: 900px;
}

.home-capability-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.home-capability-card {
  overflow: hidden;
  border: 1px solid var(--pm-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(15, 23, 42, .06);
}

.home-capability-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.home-capability-card-body {
  display: grid;
  min-height: 270px;
  align-content: start;
  padding: clamp(22px, 2.4vw, 30px);
}

.home-capability-card span,
.home-materials-list span {
  color: var(--pm-muted);
}

.home-capability-card h2 {
  max-width: 340px;
  margin-bottom: 14px;
  font-size: clamp(1.35rem, 1.85vw, 1.78rem);
  line-height: 1.08;
}

.home-capability-card p {
  margin-bottom: 0;
  color: var(--pm-muted);
  font-size: 1rem;
  line-height: 1.48;
}

.home-materials {
  padding: 92px 0 116px;
  background:
    radial-gradient(circle at 12% 18%, rgba(59, 130, 246, .08), transparent 30%),
    linear-gradient(180deg, #f7f8fb 0%, #eef2f6 100%);
}

.home-materials-grid {
  display: grid;
  grid-template-columns: minmax(300px, .78fr) minmax(520px, 1.22fr);
  gap: clamp(34px, 5vw, 84px);
  align-items: start;
}

.home-materials-copy {
  position: sticky;
  top: 126px;
  padding-top: 10px;
}

.home-materials-copy h2 {
  max-width: 640px;
  margin-bottom: 24px;
  font-size: clamp(2.25rem, 4.15vw, 4.2rem);
  font-weight: 700;
  line-height: 1;
}

.home-materials-copy p {
  max-width: 580px;
  color: var(--pm-muted);
  font-size: 1.12rem;
  line-height: 1.52;
}

.home-materials .home-kicker {
  color: var(--pm-muted);
}

.home-materials .primary {
  background: var(--pm-ink);
  color: #fff;
}

.home-materials-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.home-materials-checks li {
  border: 1px solid rgba(15, 23, 42, .12);
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  color: var(--pm-ink);
  font-size: .88rem;
  font-weight: 700;
  padding: 9px 13px;
}

.home-materials-list {
  display: grid;
  gap: 14px;
}

.home-materials-list article {
  display: grid;
  grid-template-columns: minmax(180px, .42fr) minmax(0, .58fr);
  gap: 26px;
  align-items: start;
  border: 1px solid rgba(15, 23, 42, .09);
  border-radius: 8px;
  background: rgba(255, 255, 255, .76);
  box-shadow: 0 18px 46px rgba(15, 23, 42, .06);
  padding: clamp(22px, 2.5vw, 30px);
  transition: transform .24s cubic-bezier(.16, 1, .3, 1), box-shadow .24s ease, border-color .24s ease;
}

.home-materials-list article:hover {
  transform: translateY(-4px);
  border-color: rgba(15, 23, 42, .18);
  box-shadow: 0 24px 58px rgba(15, 23, 42, .1);
}

.home-materials-list article > div {
  display: grid;
  gap: 18px;
  align-content: start;
}

.home-materials-list span {
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--pm-ink);
  color: #fff;
  letter-spacing: .06em;
  margin-bottom: 0;
}

.home-materials-list h3 {
  margin-bottom: 0;
  font-size: clamp(1.28rem, 1.8vw, 1.65rem);
  line-height: 1.08;
}

.home-materials-list p {
  margin-bottom: 0;
  color: var(--pm-muted);
  font-size: 1.05rem;
  line-height: 1.5;
}

.home-about-visual {
  padding: 110px 0 124px;
}

.home-about-visual-inner {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(360px, 1.05fr);
  gap: clamp(32px, 5vw, 70px);
  align-items: center;
}

.home-about-copy span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--pm-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.home-about-copy h2 {
  max-width: 560px;
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.03;
}

.home-about-copy p {
  max-width: 610px;
  margin: 22px 0 24px;
  color: var(--pm-muted);
  font-size: 1.1rem;
  line-height: 1.6;
}

.home-about-photo {
  overflow: hidden;
  margin: 0;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  background: var(--pm-soft);
}

.home-about-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-product-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 54px;
}

.home-product-links a {
  border: 1px solid var(--pm-line);
  border-radius: 999px;
  color: var(--pm-muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  padding: 10px 14px;
  text-transform: uppercase;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.home-product-links a:hover {
  border-color: var(--pm-ink);
  background: var(--pm-ink);
  color: #fff;
}

.home-next-actions {
  padding: 8px 0 124px;
}

.pm-final-cta {
  display: flex;
  min-height: clamp(240px, 21vw, 340px);
  align-items: center;
  justify-content: space-between;
  gap: clamp(26px, 4vw, 64px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 8px;
  background:
    radial-gradient(circle at 10% 0%, rgba(204, 111, 230, .22), transparent 34%),
    linear-gradient(135deg, #080b12 0%, #10131c 62%, #080b12 100%);
  color: #fff;
  padding: clamp(34px, 5vw, 68px);
  box-shadow: 0 28px 68px rgba(15, 23, 42, .14);
}

.pm-final-cta h2 {
  max-width: 780px;
  margin: 0;
  color: #fff;
  font-size: clamp(2.35rem, 4.8vw, 5rem);
  line-height: .96;
}

.pm-final-cta .primary {
  min-height: 58px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 1px solid #fff;
  background: #fff;
  color: var(--pm-ink);
  padding: 16px 24px;
  font-size: 14px;
}

.home-next-actions-inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.home-next-card {
  display: flex;
  min-height: 300px;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--pm-line);
  border-radius: 8px;
  background: #fff;
  padding: clamp(32px, 4.6vw, 58px);
}

.home-next-card.is-dark {
  border-color: #0f0f0f;
  background: #0f0f0f;
  color: #fff;
}

.home-next-card h2 {
  max-width: 650px;
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.7rem);
  font-weight: 700;
  line-height: 1;
}

.home-next-card p {
  max-width: 620px;
  color: var(--pm-muted);
  font-size: 1.08rem;
}

.home-next-card.is-dark p {
  color: rgba(255, 255, 255, .68);
}

.category-section {
  padding: 96px 0 130px;
}

.category-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.service-card {
  position: relative;
  min-height: 370px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--pm-soft);
  color: #fff;
}

.service-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s cubic-bezier(.16, 1, .3, 1);
}

.service-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(3, 7, 18, .05), rgba(3, 7, 18, .8));
}

.service-card:hover img {
  transform: scale(1.045);
}

.service-card-body {
  position: absolute;
  z-index: 2;
  right: 24px;
  bottom: 24px;
  left: 24px;
}

.service-card-kicker,
.service-number,
.service-meta,
.gallery-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.service-number {
  display: inline-flex;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, .62);
}

.service-card h3 {
  margin-bottom: 12px;
  font-size: clamp(1.65rem, 2.7vw, 2.35rem);
  font-weight: 700;
  line-height: 1;
}

.service-card p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, .72);
}

.service-card-wide {
  grid-column: 1 / -1;
  min-height: 300px;
  background: #0f0f0f;
}

.service-card-wide::after {
  background: linear-gradient(90deg, rgba(3, 7, 18, .92), rgba(3, 7, 18, .62));
}

.service-card-wide .service-card-body {
  max-width: 820px;
}

.service-proof {
  padding: 10px 0 74px;
}

.service-proof-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr);
  gap: 28px;
  align-items: stretch;
}

.service-proof-copy {
  background: #0f0f0f;
  border-radius: var(--pm-radius);
  color: #fff;
  padding: clamp(28px, 5vw, 48px);
}

.service-proof-copy h2 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.02;
}

.service-proof-copy p:last-child {
  color: rgba(255, 255, 255, .66);
  font-size: 17px;
  line-height: 1.65;
  margin: 22px 0 0;
  max-width: 650px;
}

.service-proof-list {
  display: grid;
  gap: 10px;
}

.service-proof-list a {
  display: flex;
  min-height: 94px;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--pm-line);
  border-radius: var(--pm-radius);
  padding: 20px 22px;
  background: #fff;
  transition: border-color .2s ease, transform .2s ease;
}

.service-proof-list a:hover {
  border-color: var(--pm-ink);
  transform: translateX(4px);
}

.service-proof-list strong {
  color: var(--pm-ink);
  font-size: 20px;
  line-height: 1.1;
}

.service-proof-list span {
  color: var(--pm-muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  margin-top: 8px;
  text-transform: uppercase;
}

.service-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
  gap: 42px;
  align-items: start;
  padding: 88px 0 72px;
}

.service-copy p {
  color: var(--pm-muted);
  font-size: 1.12rem;
}

.service-points {
  display: grid;
  gap: 14px;
}

.service-point {
  border-top: 1px solid var(--pm-line);
  padding-top: 18px;
}

.service-point strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.1rem;
}

.service-point p {
  margin-bottom: 0;
  color: var(--pm-muted);
}

.gallery-block {
  border-top: 0;
  padding: 34px 0 30px;
}

.gallery-block:first-child {
  border-top: 0;
}

.gallery-block .thumb-grid {
  padding-bottom: 20px;
}

.gallery-block.is-collapsed .thumb:nth-child(n+5) {
  display: block;
}

.gallery-block.is-expanded .thumb:nth-child(n+5) {
  animation: galleryThumbIn .24s ease both;
}

@keyframes galleryThumbIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.gallery-more {
  display: none;
  align-items: center;
  justify-content: center;
  border: 1px solid #d1d5dc;
  border-radius: 999px;
  background: #f3f4f6;
  color: var(--pm-ink);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  padding: 12px 16px;
  text-transform: uppercase;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.gallery-more:hover {
  border-color: var(--pm-ink);
  background: var(--pm-ink);
  color: #fff;
}

.service-nav-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 56px 0 96px;
}

.service-nav-item {
  border: 1px solid var(--pm-line);
  border-radius: .75rem;
  padding: 20px;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.service-nav-item:hover {
  border-color: var(--pm-ink);
  background: var(--pm-ink);
  color: #fff;
}

.service-nav-item span {
  display: block;
  margin-bottom: 8px;
  color: var(--pm-muted);
}

.service-nav-item:hover span {
  color: rgba(255, 255, 255, .58);
}

.quote-shell {
  padding: 86px 0 110px;
}

.quote-form {
  display: block;
  max-width: 100%;
  margin: 0 auto;
}

.quote-progress {
  position: relative;
  margin-bottom: 28px;
  padding: 0;
}

.quote-progress-bar {
  position: absolute;
  top: 27px;
  right: 16.666%;
  left: 16.666%;
  height: 2px;
  overflow: hidden;
  border-radius: 999px;
  background: #d8dde7;
}

.quote-progress-bar span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--pm-ink);
  transition: width .32s ease;
}

.quote-steps {
  display: grid;
  position: relative;
  z-index: 1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 0;
}

.quote-step-button {
  display: inline-flex;
  width: 100%;
  min-width: 0;
  align-items: center;
  justify-content: flex-start;
  flex-direction: column;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: var(--pm-radius);
  background: transparent;
  color: var(--pm-muted);
  cursor: pointer;
  padding: 0 8px;
  text-align: center;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.quote-step-button span {
  display: inline-flex;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  border: 1px solid #d8dde7;
  border-radius: 999px;
  background: #fff;
  color: var(--pm-muted);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  box-shadow: 0 12px 30px rgba(16, 24, 40, .08);
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.quote-step-button strong {
  display: block;
  margin-top: 0;
  color: inherit;
  font-size: .92rem;
  line-height: 1.2;
}

.quote-step-button:hover,
.quote-step-button.is-active {
  color: var(--pm-ink);
}

.quote-step-button:hover span,
.quote-step-button.is-active span {
  border-color: var(--pm-ink);
  background: var(--pm-ink);
  color: #fff;
  transform: translateY(-1px);
}

.quote-step-button.is-complete:not(.is-active) {
  color: var(--pm-ink);
}

.quote-step-button.is-complete:not(.is-active) span {
  border-color: var(--pm-ink);
  background: #fff;
  color: var(--pm-ink);
}

.quote-summary {
  display: none;
}

.quote-summary h3 {
  margin-bottom: 14px;
  font-size: 1rem;
}

.quote-summary dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.quote-summary div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid var(--pm-line);
  padding-bottom: 10px;
}

.quote-summary dt {
  color: var(--pm-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.quote-summary dd {
  margin: 0;
  max-width: 58%;
  text-align: right;
}

.quote-panel-stack {
  position: relative;
}

.quote-step-panel {
  scroll-margin-top: 108px;
  display: none;
  border-radius: 8px;
  background: #f8fafc;
  padding: clamp(28px, 5vw, 64px);
}

.quote-step-panel.is-active {
  display: block;
  animation: quotePanelIn .28s ease both;
}

@keyframes quotePanelIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.quote-panel-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.quote-panel-head h2 {
  max-width: 940px;
  margin-bottom: 10px;
  font-size: clamp(2.4rem, 5vw, 5.2rem);
  font-weight: 700;
  line-height: 1;
}

.quote-panel-head p {
  max-width: 940px;
  margin-bottom: 0;
  color: var(--pm-muted);
  font-size: 1.08rem;
}

.quote-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.quote-options.is-category {
  align-items: stretch;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.quote-options.is-category .quote-choice {
  min-width: 0;
}

.quote-options.is-category .quote-choice span {
  display: flex;
  min-height: 178px;
  height: 100%;
  flex-direction: column;
}

.quote-options.is-category .quote-choice span em {
  margin-top: auto;
  padding-top: 12px;
}

.quote-options.is-category .quote-choice:last-child {
  grid-column: 1 / -1;
}

.quote-options.is-category .quote-choice:last-child span {
  min-height: 118px;
}

.quote-options.is-category .quote-choice:last-child span strong,
.quote-options.is-category .quote-choice:last-child span em {
  max-width: 860px;
}

.quote-choice {
  position: relative;
}

.quote-choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.quote-choice span {
  display: block;
  min-height: 132px;
  border: 1px solid #d8dde7;
  border-radius: var(--pm-radius);
  background: #fff;
  cursor: pointer;
  padding: 20px;
  transition: border-color .2s ease, background .2s ease, color .2s ease, transform .2s ease;
}

.quote-choice input:checked + span {
  border-color: var(--pm-ink);
  background: var(--pm-ink);
  color: #fff;
  transform: translateY(-2px);
}

.quote-choice.is-invalid span {
  border-color: #b42318;
}

.quote-choice span small {
  display: block;
  margin-bottom: 16px;
  color: var(--pm-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.quote-choice input:checked + span small {
  color: rgba(255, 255, 255, .58);
}

.quote-choice span strong {
  display: block;
  font-family: var(--pm-font-sans);
  font-size: clamp(1.15rem, 2.1vw, 1.55rem);
  line-height: 1.08;
}

.quote-choice span em {
  display: block;
  margin-top: 10px;
  color: var(--pm-muted);
  font-style: normal;
  line-height: 1.35;
}

.quote-choice input:checked + span em {
  color: rgba(255, 255, 255, .72);
}

.quote-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.quote-field,
.quote-conditional {
  display: grid;
  gap: 8px;
}

.quote-field.full,
.quote-conditional.full,
.quote-customer-fields.full {
  grid-column: 1 / -1;
}

.quote-label {
  color: var(--pm-ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.quote-help {
  color: var(--pm-muted);
  font-size: .94rem;
}

.quote-field input,
.quote-field textarea {
  width: 100%;
  border: 1px solid #d8dde7;
  border-radius: 12px;
  background: #fff;
  color: var(--pm-ink);
  font: inherit;
  padding: 14px 16px;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.quote-field textarea {
  min-height: 148px;
  resize: vertical;
}

.quote-field input:focus,
.quote-field textarea:focus {
  outline: 0;
  border-color: var(--pm-ink);
  box-shadow: 0 0 0 4px rgba(16, 24, 40, .08);
}

.quote-field input[aria-invalid="true"],
.quote-field textarea[aria-invalid="true"] {
  border-color: #b42318;
}

.quote-segmented {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.quote-segmented .quote-choice span {
  min-height: auto;
  border-radius: 12px;
  padding: 14px 16px;
}

.quote-segmented .quote-choice span strong {
  font-family: var(--pm-font-sans);
  font-size: 1rem;
}

.quote-conditional[hidden] {
  display: none;
}

.quote-category-field[hidden],
.quote-customer-fields[hidden] {
  display: none;
}

.quote-consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border: 1px solid #d8dde7;
  border-radius: var(--pm-radius);
  background: #fff;
  padding: 16px;
}

.quote-consent input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-top: 2px;
  accent-color: var(--pm-ink);
}

.quote-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
}

.quote-actions .primary,
.quote-actions .back-link {
  min-height: 46px;
  align-items: center;
  cursor: pointer;
}

.quote-actions .back-link {
  border-color: #d8dde7;
  background: #fff;
  color: var(--pm-ink);
}

.quote-actions .back-link:hover {
  border-color: var(--pm-ink);
  background: var(--pm-ink);
  color: #fff;
}

.quote-actions .primary {
  border: 0;
  background: var(--pm-ink);
  color: #fff;
}

.quote-message {
  min-height: 24px;
  margin: 16px 0 0;
  color: #b42318;
  font-weight: 700;
}

.quote-message.is-success {
  color: #067647;
}

@media (max-width: 980px) {
  .home-about-visual-inner,
  .home-materials-grid {
    grid-template-columns: 1fr;
  }

  .section-subgrid,
  .category-grid,
  .portfolio-grid,
  .service-nav-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-capability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .home-capability-card-body {
    min-height: 220px;
  }

  .home-materials-copy {
    position: static;
    padding-top: 0;
  }

  .service-intro-grid {
    grid-template-columns: 1fr;
  }

  .service-proof-inner {
    grid-template-columns: 1fr;
  }

  .quote-form {
    grid-template-columns: 1fr;
  }

  .quote-progress {
    position: static;
    order: 0;
  }

  .quote-panel-stack {
    order: 1;
  }

  .quote-options.is-category {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-layout .service-card {
    min-height: 300px;
  }

  .category-layout .service-card-body {
    right: 16px;
    bottom: 18px;
    left: 16px;
  }

  .category-layout .service-card h3 {
    font-size: clamp(1.1rem, 2.4vw, 1.5rem);
    overflow-wrap: anywhere;
  }

  .category-layout .service-card p {
    font-size: .86rem;
    line-height: 1.35;
  }

  .home-materials-list article {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (max-width: 680px) {
  .wrap {
    width: min(100% - 28px, var(--pm-wrap-max));
  }

  .section-head,
  .section-block-head,
  .gallery-head,
  .quote-panel-head,
  .site-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .demo-hero {
    padding: 132px 0 54px;
  }

  .topbar-inner {
    min-height: 82px;
    align-items: center;
    flex-direction: row;
  }

  .brand img {
    width: 220px;
    max-height: 66px;
  }

  .back-link {
    max-width: none;
    text-align: center;
  }

  .topbar-actions .back-link {
    display: none;
  }

  .demo-hero h1,
  .detail-hero h1,
  .site-hero h1,
  .home-hero h1 {
    font-size: clamp(2.05rem, 9.5vw, 2.45rem);
  }

  .detail-hero-inner {
    padding: 120px 0 54px;
  }

  .section-subgrid,
  .category-grid,
  .portfolio-grid,
  .category-layout,
  .home-capability-grid,
  .home-next-actions-inner,
  .service-nav-grid,
  .quote-options,
  .quote-options.is-category,
  .quote-grid {
    grid-template-columns: 1fr;
  }

  #gallery.wrap {
    padding-right: 14px;
    padding-left: 14px;
  }

  .thumb-grid {
    --pm-gallery-gap: 8px;
  }

  .quote-shell {
    padding: 52px 0 76px;
  }

  .service-proof {
    padding-bottom: 48px;
  }

  .service-proof-list a {
    min-height: 82px;
  }

  .quote-step-panel {
    border-radius: var(--pm-radius);
  }

  .quote-options.is-category .quote-choice span,
  .quote-options.is-category .quote-choice:last-child span {
    min-height: auto;
    height: auto;
  }

  .quote-options.is-category .quote-choice span em {
    margin-top: 10px;
    padding-top: 0;
  }

  .category-card,
  .portfolio-card,
  .portfolio-card:nth-child(2n),
  .service-card {
    min-height: 285px;
  }

  .service-card-wide {
    min-height: 340px;
  }

  .site-hero {
    padding: 128px 0 56px;
  }

  .home-hero {
    min-height: min(620px, 88vh);
    min-height: min(620px, 88svh);
    padding: 108px 0 32px;
  }

  .home-hero-content {
    width: 100%;
    min-width: 0;
    padding-right: 14px;
    padding-left: 14px;
  }

  .home-hero .home-kicker {
    display: block;
    max-width: 100%;
    font-size: 10px;
    line-height: 1.35;
    overflow-wrap: anywhere;
  }

  .home-hero h1 {
    max-width: calc(100vw - 48px);
    font-size: clamp(1.82rem, 8.4vw, 2.08rem);
    line-height: 1;
    overflow-wrap: normal;
  }

  .home-hero h1 span {
    display: block;
  }

  .home-hero p {
    display: block;
    width: calc(100vw - 56px) !important;
    max-width: calc(100vw - 56px) !important;
    font-size: 1rem;
    line-height: 1.48;
    white-space: normal !important;
    overflow-wrap: anywhere;
  }

  .home-hero p span {
    display: block;
  }

  .home-hero-actions,
  .home-action-row {
    align-items: stretch;
    flex-direction: column;
  }

  .home-hero-actions .primary,
  .home-action-row .primary,
  .home-hero-actions .back-link,
  .home-action-row .back-link {
    justify-content: center;
  }

  .home-materials {
    padding: 72px 0 78px;
  }

  .home-materials-copy h2 {
    font-size: clamp(2rem, 9vw, 2.65rem);
  }

  .home-materials-checks {
    gap: 8px;
  }

  .home-materials-checks li {
    font-size: .82rem;
    padding: 8px 11px;
  }

  .home-capabilities {
    padding: 64px 0 74px;
  }

  .home-capability-card-body {
    min-height: auto;
  }

  .home-about-visual {
    padding: 74px 0 82px;
  }

  .category-section {
    padding: 72px 0 88px;
  }

  .home-product-links {
    margin: 0 0 34px;
  }

  .home-next-actions {
    padding: 0 0 86px;
  }

  .home-next-card {
    min-height: 245px;
    padding: 28px;
  }
}

.topbar {
  border-bottom: 1px solid transparent;
  transition: background .24s ease, border-color .24s ease, box-shadow .24s ease, backdrop-filter .24s ease;
}

body.is-scrolled .topbar {
  border-color: rgba(16, 24, 40, .08);
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 18px 44px rgba(16, 24, 40, .08);
}

body.dark-nav.is-scrolled .topbar,
body.home-page.is-scrolled .topbar {
  border-color: rgba(255, 255, 255, .1);
  background: rgba(3, 7, 18, .78);
  box-shadow: 0 18px 44px rgba(3, 7, 18, .18);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.primary,
.badge,
.back-link,
.tab,
.filter,
.pill,
.gallery-more,
.service-nav-item,
.quote-choice span,
.quote-step-button span {
  will-change: transform;
}

.primary,
.badge,
.home-next-card,
.service-nav-item,
.quote-choice span,
.home-product-links a {
  transition: border-color .2s ease, background .2s ease, color .2s ease, transform .24s ease, box-shadow .24s ease;
}

.primary:hover,
.primary:focus-visible,
.home-product-links a:hover,
.home-product-links a:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(16, 24, 40, .12);
}

.badge::after {
  display: inline-block;
  transition: transform .2s ease;
}

.badge:hover::after,
.badge:focus-visible::after {
  transform: translateX(4px);
}

.category-card,
.portfolio-card,
.home-capability-card,
.service-card,
.home-next-card {
  transition: transform .28s cubic-bezier(.16, 1, .3, 1), box-shadow .28s ease, border-color .24s ease;
  will-change: transform;
}

.category-card:hover,
.portfolio-card:hover,
.home-capability-card:hover,
.service-card:hover,
.home-next-card:hover,
.category-card:focus-visible,
.portfolio-card:focus-visible,
.service-card:focus-visible,
.home-next-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 24px 58px rgba(16, 24, 40, .14);
}

.service-proof-list a:hover,
.service-proof-list a:focus-visible,
.service-nav-item:hover,
.service-nav-item:focus-visible {
  box-shadow: 0 16px 34px rgba(16, 24, 40, .1);
}

.quote-choice:hover span,
.quote-choice:focus-within span {
  border-color: rgba(16, 24, 40, .58);
  box-shadow: 0 14px 34px rgba(16, 24, 40, .08);
}

.thumb {
  isolation: isolate;
  transition: transform .24s ease, box-shadow .24s ease;
}

.thumb::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  border: 1px solid rgba(255, 255, 255, .46);
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(3, 7, 18, .18));
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}

.thumb:hover,
.thumb:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(16, 24, 40, .16);
}

.thumb:hover::after,
.thumb:focus-visible::after {
  opacity: 1;
}

body.lightbox-open {
  overflow: hidden;
}

.lightbox.is-open {
  animation: pmLightboxIn .22s ease both;
}

.lightbox.is-open .lightbox-figure {
  animation: pmLightboxFigureIn .24s cubic-bezier(.16, 1, .3, 1) both;
}

@keyframes pmLightboxIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes pmLightboxFigureIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .pm-hero-enter {
    animation: pmHeroEnter .54s cubic-bezier(.16, 1, .3, 1) both;
    animation-delay: var(--pm-reveal-delay, 0ms);
  }

  html.pm-enhanced [data-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .5s cubic-bezier(.16, 1, .3, 1), transform .5s cubic-bezier(.16, 1, .3, 1);
    transition-delay: var(--pm-reveal-delay, 0ms);
  }

  html.pm-enhanced [data-reveal].is-revealed {
    opacity: 1;
    transform: translateY(0);
  }

  .home-hero-bg {
    animation: pmHeroImageIn .9s ease both;
  }
}

@keyframes pmHeroEnter {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pmHeroImageIn {
  from {
    opacity: .78;
    transform: scale(1.025);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Deep visual refinement */
.topbar {
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
}

body.is-scrolled .topbar {
  box-shadow: var(--pm-shadow-soft);
}

body.dark-nav.is-scrolled .topbar,
body.home-page.is-scrolled .topbar {
  background: rgba(3, 7, 18, .72);
  box-shadow: 0 18px 54px rgba(3, 7, 18, .2);
}

.site-hero h1,
.demo-hero h1,
.detail-hero h1,
.home-hero h1 {
  text-wrap: balance;
}

.site-hero p,
.demo-hero p,
.hero-text,
.home-hero p,
.section-head p,
.home-capability-card p,
.home-materials-list p,
.service-card p,
.service-copy p,
.service-point p,
.quote-panel-head p {
  text-wrap: pretty;
}

.primary,
.back-link,
.tab,
.filter,
.pill,
.gallery-more,
.home-product-links a,
.quote-step-button span,
.icon-btn {
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.primary,
.back-link,
.gallery-more {
  border: 1px solid rgba(16, 24, 40, .12);
  font-weight: var(--pm-weight-label);
  letter-spacing: var(--pm-tracking-label);
  box-shadow: 0 12px 30px rgba(16, 24, 40, .06);
}

.home-hero-actions .primary,
.home-action-row .primary {
  border-color: rgba(255, 255, 255, .88);
}

.home-hero-actions .back-link,
.home-action-row .back-link {
  box-shadow: 0 12px 30px rgba(3, 7, 18, .18);
}

.primary:hover,
.primary:focus-visible,
.back-link:hover,
.back-link:focus-visible,
.gallery-more:hover,
.gallery-more:focus-visible,
.home-product-links a:hover,
.home-product-links a:focus-visible {
  box-shadow: 0 18px 42px rgba(16, 24, 40, .16);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid rgba(204, 111, 230, .9);
  outline-offset: 4px;
}

.home-capability-card,
.home-materials-list article,
.home-next-card,
.service-card,
.service-proof-copy,
.service-proof-list a,
.service-nav-item,
.quote-step-panel,
.quote-choice span {
  border-color: rgba(16, 24, 40, .1);
  box-shadow: var(--pm-shadow-soft);
}

.home-capability-card:hover,
.home-materials-list article:hover,
.home-next-card:hover,
.service-card:hover,
.service-proof-list a:hover,
.service-nav-item:hover,
.quote-choice:hover span,
.quote-choice:focus-within span {
  box-shadow: var(--pm-shadow-lift);
}

.home-capability-card,
.home-materials-list article,
.service-proof-list a,
.service-nav-item,
.quote-choice span {
  background: rgba(255, 255, 255, .92);
}

.service-intro-grid {
  padding-top: clamp(58px, 6vw, 78px);
  padding-bottom: clamp(42px, 5vw, 58px);
}

.service-points {
  gap: clamp(12px, 1.6vw, 18px);
}

.service-point {
  border-color: rgba(16, 24, 40, .1);
  transition: border-color .22s ease, transform .22s var(--pm-ease);
}

.service-point:hover {
  border-color: rgba(16, 24, 40, .22);
  transform: translateY(-2px);
}

.service-point strong {
  color: var(--pm-ink);
}

.service-detail-page main > section.wrap[style*="padding:0 0 86px"] {
  padding-bottom: clamp(56px, 7vw, 86px) !important;
}

.service-detail-page main > section.wrap[style*="padding:0 0 86px"] > div {
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--pm-radius) !important;
  background:
    radial-gradient(circle at 15% 0%, rgba(204, 111, 230, .22), transparent 32%),
    linear-gradient(135deg, #111827 0%, #030712 100%) !important;
  box-shadow: var(--pm-shadow-lift);
}

.service-detail-page main > section.wrap[style*="padding:0 0 86px"] h2 {
  max-width: 720px;
  text-wrap: balance;
}

.service-detail-page main > section.wrap[style*="padding:0 0 86px"] .primary {
  border-color: rgba(255, 255, 255, .92);
  background: #fff;
  color: var(--pm-ink);
}

#gallery.wrap {
  scroll-margin-top: calc(var(--pm-header-height) + 22px);
}

#gallery > .section-head {
  margin-bottom: clamp(22px, 3.2vw, 34px);
}

.gallery-block {
  padding-top: clamp(16px, 2.4vw, 24px);
}

.gallery-block .gallery-head {
  margin-bottom: clamp(16px, 2vw, 22px);
}

.thumb-grid {
  --pm-gallery-gap: 12px;
  padding-bottom: clamp(54px, 6vw, 82px);
}

.thumb {
  border: 1px solid rgba(255, 255, 255, .7);
  box-shadow: 0 10px 24px rgba(16, 24, 40, .08);
}

.thumb img,
.category-card img,
.portfolio-card img,
.service-card img,
.home-capability-card img,
.home-about-photo img {
  filter: saturate(1.02) contrast(1.02);
}

.category-card::after,
.portfolio-card::after,
.service-card::after {
  transition: opacity .24s ease;
}

.category-card:hover::after,
.portfolio-card:hover::after,
.service-card:hover::after {
  opacity: .94;
}

.quote-step-panel {
  border: 1px solid rgba(16, 24, 40, .08);
  background: linear-gradient(180deg, #ffffff 0%, #f7f8fb 100%);
}

.quote-step-button span {
  box-shadow: 0 12px 30px rgba(16, 24, 40, .1);
}

.quote-field input,
.quote-field textarea {
  background: rgba(255, 255, 255, .96);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.quote-field input:focus,
.quote-field textarea:focus {
  background: #fff;
  box-shadow: 0 0 0 4px rgba(204, 111, 230, .13);
}

.lightbox {
  background:
    linear-gradient(180deg, rgba(248, 250, 252, .34), rgba(15, 23, 42, .38)),
    rgba(18, 28, 45, .3);
}

.icon-btn {
  text-shadow: none;
}

.site-footer {
  background:
    radial-gradient(circle at 8% 0%, rgba(204, 111, 230, .18), transparent 32%),
    linear-gradient(135deg, #080b12 0%, #10131c 62%, #080b12 100%);
}

.site-footer a,
.pm-next-export footer a[class*="text-[clamp"] {
  text-wrap: balance;
}

@media (prefers-reduced-motion: no-preference) {
  html.pm-enhanced :is(.home-capability-card img, .service-card img, .category-card img, .portfolio-card img, .thumb img, .home-about-photo img) {
    opacity: .001;
    transform: scale(1.01);
    transition: opacity .38s ease, transform .55s var(--pm-ease), filter .3s ease;
  }

  html.pm-enhanced :is(.home-capability-card img, .service-card img, .category-card img, .portfolio-card img, .thumb img, .home-about-photo img).is-ready {
    opacity: 1;
    transform: scale(1);
  }

  html.pm-enhanced :is(.service-card:hover img, .category-card:hover img, .portfolio-card:hover img, .thumb:hover img) {
    transform: scale(1.045);
  }
}

@media (max-width: 680px) {
  .primary,
  .back-link,
  .gallery-more {
    white-space: normal;
    text-align: center;
  }

  #gallery > .section-head {
    margin-bottom: 18px;
  }

  .gallery-block {
    padding-top: 12px;
  }

  .thumb-grid {
    --pm-gallery-gap: 8px;
    --pm-gallery-min-thumb: 108px;
    padding-bottom: 44px;
  }

  .quote-step-button span {
    width: 48px;
    height: 48px;
  }

  .quote-step-button strong {
    font-size: .82rem;
  }

  .service-detail-page main > section.wrap[style*="padding:0 0 86px"] > div {
    align-items: stretch !important;
    padding: 28px !important;
  }

  .service-detail-page main > section.wrap[style*="padding:0 0 86px"] .primary {
    width: 100%;
  }

  .site-footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 58px;
    padding-bottom: 44px;
  }

  .site-footer-logo {
    width: 236px;
  }

  .site-footer-bottom {
    gap: 16px;
  }
}

@media (min-width: 681px) and (max-width: 1040px) {
  .site-footer-grid {
    grid-template-columns: 1.25fr 1fr;
  }

  .site-footer-brand {
    grid-column: 1 / -1;
  }
}

/* Global visual system: every exported and custom page resolves to these tokens. */
body,
button,
input,
textarea,
select,
.site-menu-overlay a,
#pmOriginalMenu a,
.card-label strong,
.site-footer a,
.quote-choice span strong,
.quote-segmented .quote-choice span strong {
  font-family: var(--pm-font-sans);
}

h1,
h2,
h3,
h4,
h5,
h6,
.site-hero h1,
.demo-hero h1,
.detail-hero h1,
.home-hero h1,
.home-materials-copy h2,
.home-next-card h2,
.quote-panel-head h2,
.service-card h3,
.section-head h2,
.gallery-head h2 {
  font-family: var(--pm-font-heading);
  font-weight: var(--pm-weight-heading);
  letter-spacing: 0;
}

.back-link,
.primary,
.tab,
.filter,
.pill,
.counter,
.crumbs,
.eyebrow,
.badge,
.card-label span,
.thumb span,
.service-card-kicker,
.service-number,
.service-meta,
.gallery-kicker,
.home-kicker,
.home-capability-card span,
.home-materials-list span,
.home-about-copy span,
.home-product-links a,
.gallery-more,
.quote-label,
.quote-summary dt,
.quote-choice span small,
.service-proof-list span,
.icon-btn[data-close] {
  font-weight: var(--pm-weight-label);
  letter-spacing: var(--pm-tracking-label);
}

#pmOriginalMenu a {
  font-weight: var(--pm-weight-label) !important;
  letter-spacing: var(--pm-tracking-label) !important;
}

.category-card,
.portfolio-card,
.home-capability-card,
.home-materials-list article,
.home-next-card,
.service-card,
.service-proof-copy,
.service-proof-list a,
.service-nav-item,
.quote-step-panel,
.quote-choice span,
.quote-field input,
.quote-field textarea,
.quote-consent,
.thumb,
.lightbox img {
  border-radius: var(--pm-radius);
}

.menu-button,
.back-link,
.primary,
.tab,
.filter,
.pill,
.return-cta,
.home-product-links a,
.home-materials-checks li,
.home-materials-list span,
.gallery-more,
.quote-progress-bar,
.quote-step-button span,
.icon-btn {
  border-radius: var(--pm-radius-control);
}

.pm-next-export {
  background: #fff;
  color: var(--pm-ink);
  font-family: var(--pm-font-sans) !important;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0;
}

.pm-next-export :is(h1, h2, h3, h4, h5, h6, p, a, button, span, li, dt, dd, input, textarea, label),
.pm-next-export [class*="font-display"],
.pm-next-export [class*="font-[family-name:var(--font-display)]"] {
  font-family: var(--pm-font-sans) !important;
  letter-spacing: 0 !important;
}

.pm-next-export :is(h1, h2, h3, h4, h5, h6),
.pm-next-export [class*="font-semibold"],
.pm-next-export [class*="font-bold"] {
  font-weight: var(--pm-weight-heading) !important;
}

.pm-next-export :is(p, li, dd) {
  line-height: 1.55;
}

.pm-next-export [class*="tracking-widest"],
.pm-next-export [class*="uppercase"],
.pm-next-export .pm-desktop-nav a,
.pm-next-export #pmOriginalMenu a {
  font-weight: var(--pm-weight-label) !important;
  letter-spacing: var(--pm-tracking-label) !important;
}

.pm-next-export [class*="tracking-[-"] {
  letter-spacing: 0 !important;
}

.pm-next-export [class*="rounded-3xl"],
.pm-next-export [class*="rounded-2xl"],
.pm-next-export [class*="rounded-xl"] {
  border-radius: var(--pm-radius) !important;
}

.pm-next-export header img[alt="Printing Market"] {
  width: 280px !important;
  height: auto !important;
  max-height: 76px !important;
  object-fit: contain !important;
}

.pm-next-export header {
  font-family: var(--pm-font-sans) !important;
  height: var(--pm-header-height) !important;
  display: flex !important;
  align-items: center !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.pm-next-export > section > div.fixed:first-child {
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .24s ease, border-color .24s ease, box-shadow .24s ease, backdrop-filter .24s ease;
}

.pm-next-export.is-scrolled > section > div.fixed:first-child {
  border-color: rgba(16, 24, 40, .08);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  box-shadow: var(--pm-shadow-soft);
}

.pm-next-export .pm-desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
  margin-right: 0;
}

.pm-next-export .pm-desktop-nav a {
  color: rgba(255, 255, 255, .66);
  font-size: 14px;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.pm-next-export .pm-desktop-nav a:hover,
.pm-next-export .pm-desktop-nav a[aria-current="page"] {
  color: #fff;
  opacity: 1 !important;
}

.pm-next-export.is-scrolled .pm-desktop-nav a {
  color: rgba(15, 23, 42, .66);
}

.pm-next-export.is-scrolled .pm-desktop-nav a:hover,
.pm-next-export.is-scrolled .pm-desktop-nav a[aria-current="page"] {
  color: #0f172a;
}

.pm-next-export footer a[class*="text-[clamp"] {
  font-family: var(--pm-font-sans) !important;
  font-size: clamp(1.55rem, 3.5vw, 3rem) !important;
  font-weight: var(--pm-weight-heading) !important;
  letter-spacing: 0 !important;
  line-height: 1.1 !important;
}

.pm-next-export main [style*="opacity:0"] {
  opacity: 1 !important;
}

.pm-next-export main [style*="transform:translateY"] {
  transform: none !important;
}

.pm-next-export main img,
.pm-next-export main video {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.pm-next-export #awwwards,
.pm-next-export footer a[aria-label="Instagram"],
.pm-next-export footer a[aria-label="LinkedIn"] {
  display: none !important;
}

@media (min-width: 901px) {
  .pm-next-export {
    --pm-page-width: 80vw;
  }

  .pm-next-export header .max-w-6xl,
  .pm-next-export main .max-w-6xl,
  .pm-next-export footer .max-w-6xl,
  .pm-next-export [data-dark-section="true"] > .mx-auto {
    width: var(--pm-page-width) !important;
    max-width: var(--pm-page-width) !important;
    box-sizing: border-box !important;
  }

  .pm-next-export header .max-w-6xl {
    padding-right: 0 !important;
    padding-left: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 0 !important;
  }

  .pm-next-export main .max-w-4xl,
  .pm-next-export main .max-w-xl {
    max-width: none !important;
  }

  .pm-next-export header button[aria-label*="menu"],
  .pm-next-export header button[aria-label*="Menu"] {
    display: none !important;
  }

  .pm-next-export .pm-desktop-nav {
    margin-left: auto !important;
    margin-right: 22px !important;
  }
}

@media (max-width: 900px) {
  .pm-next-export .pm-desktop-nav {
    display: none !important;
  }

  .pm-next-export header .max-w-6xl,
  .pm-next-export main .max-w-6xl,
  .pm-next-export footer .max-w-6xl,
  .pm-next-export [data-dark-section="true"] > .mx-auto {
    max-width: none !important;
  }
}

/* Final mobile polish: keep the header predictable and the footer compact on every page. */
@media (max-width: 900px) {
  :root {
    --pm-header-height: 82px;
  }

  .topbar-inner,
  .pm-next-export header .max-w-6xl {
    min-height: var(--pm-header-height) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
  }

  .brand,
  .pm-next-export header a {
    flex: 0 1 auto !important;
    margin-right: auto !important;
  }

  .brand img,
  .pm-next-export header img[alt="Printing Market"] {
    width: clamp(178px, 54vw, 240px) !important;
    max-height: 58px !important;
    object-fit: contain !important;
  }

  .topbar-actions,
  .pm-next-export header .max-w-6xl > div:last-child {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    margin-left: auto !important;
  }

  .menu-button,
  .pm-next-export header button[aria-label*="menu"],
  .pm-next-export header button[aria-label*="Menu"] {
    width: 55px !important;
    height: 55px !important;
    min-width: 55px !important;
    flex: 0 0 55px !important;
  }

  .menu-button span,
  .pm-next-export header button[aria-label*="menu"] span,
  .pm-next-export header button[aria-label*="Menu"] span {
    width: 24px !important;
    height: 2.4px !important;
  }

  .menu-button span + span,
  .pm-next-export header button[aria-label*="menu"] span + span,
  .pm-next-export header button[aria-label*="Menu"] span + span {
    margin-top: 6px !important;
  }

  .menu-open .menu-button span:first-child {
    transform: translateY(4.2px) rotate(45deg) !important;
  }

  .menu-open .menu-button span:last-child {
    transform: translateY(-4.2px) rotate(-45deg) !important;
  }
}

@media (max-width: 700px) {
  .site-footer {
    margin-top: 68px;
    background:
      radial-gradient(circle at 0% 0%, rgba(204, 111, 230, .2), transparent 26rem),
      linear-gradient(145deg, #080b12 0%, #10131c 64%, #080b12 100%);
  }

  .site-footer-grid {
    grid-template-columns: 1fr;
    gap: 0;
    padding-top: 50px;
    padding-bottom: 34px;
  }

  .site-footer-logo {
    width: min(260px, 72vw);
    margin-bottom: 20px;
  }

  .site-footer-brand {
    padding-bottom: 32px;
  }

  .site-footer-brand p {
    max-width: none;
    margin-bottom: 22px;
    font-size: 1.03rem;
    line-height: 1.48;
  }

  .site-footer-cta {
    width: 100%;
    min-height: 54px;
    justify-content: center;
    padding: 16px 18px;
    font-size: 12px;
  }

  .site-footer-col,
  .site-footer-contact {
    padding-top: 26px;
    padding-bottom: 2px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    gap: 10px;
  }

  .site-footer-col h2,
  .site-footer-contact h2 {
    margin-bottom: 6px;
    color: rgba(255, 255, 255, .45);
    font-size: 11px;
  }

  .site-footer-col a,
  .site-footer-contact a,
  .site-footer-contact span {
    color: rgba(255, 255, 255, .74);
    font-size: 1.04rem;
    line-height: 1.28;
  }

  .site-footer-col[aria-label="Servizi"],
  .site-footer-col[aria-label="Navigazione"] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 18px;
    row-gap: 12px;
  }

  .site-footer-col[aria-label="Servizi"] h2,
  .site-footer-col[aria-label="Navigazione"] h2 {
    grid-column: 1 / -1;
  }

  .site-footer-contact a[href^="mailto"],
  .site-footer-contact a[href^="tel"] {
    color: #fff;
    font-size: 1.1rem;
  }

  .site-footer-contact a[href*="wa.me"],
  .site-footer-contact a[href*="google.com/maps"] {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
  }

  .site-footer-bottom {
    padding-top: 24px;
    padding-bottom: 30px;
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .site-footer-legal {
    width: 100%;
    gap: 10px;
  }

  .site-footer-legal a {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 999px;
    padding: 9px 14px;
    font-size: .94rem;
  }

  .site-footer-legal button {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 999px;
    padding: 9px 14px;
    font-size: .94rem;
  }

  .pm-cookie-banner {
    right: 12px;
    bottom: 12px;
    left: 12px;
    grid-template-columns: 1fr;
    gap: 16px;
    width: auto;
    padding: 20px;
  }

  .pm-cookie-banner__actions {
    justify-content: flex-start;
  }

  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-intro {
    position: static;
  }
}

/* Quote form refinement. */
.quote-shell {
  padding-top: clamp(60px, 6vw, 78px);
}

.quote-progress {
  margin-bottom: clamp(32px, 4vw, 46px);
}

.quote-step-panel {
  border: 1px solid var(--pm-line);
  background: linear-gradient(180deg, #fff 0%, #fbfcff 100%);
  padding: clamp(34px, 4.4vw, 58px);
  box-shadow: 0 24px 80px rgba(16, 24, 40, .05);
}

.quote-panel-head {
  align-items: flex-start;
  margin-bottom: clamp(30px, 3.4vw, 46px);
}

.quote-panel-head h2 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2.25rem, 4.2vw, 4.1rem);
}

.quote-panel-head p {
  display: none;
}

.quote-grid {
  gap: clamp(22px, 2.4vw, 34px) clamp(18px, 2vw, 26px);
}

.quote-field,
.quote-conditional {
  gap: 10px;
}

.quote-field input,
.quote-field textarea {
  border-radius: 14px;
  padding: 17px 18px;
}

.quote-help {
  max-width: 760px;
  margin: 2px 0 0;
  font-size: .98rem;
  line-height: 1.45;
}

.quote-segmented {
  gap: 12px;
}

.quote-segmented .quote-choice span {
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 16px 18px;
}

.quote-field textarea {
  min-height: 168px;
}

.quote-actions {
  margin-top: clamp(34px, 4vw, 54px);
}

@media (max-width: 700px) {
  .quote-shell {
    padding-top: 44px;
  }

  .quote-step-panel {
    padding: 26px 18px;
  }

  .quote-panel-head {
    margin-bottom: 26px;
  }

  .quote-panel-head h2 {
    font-size: clamp(2rem, 9vw, 2.65rem);
  }

  .quote-grid,
  .quote-segmented {
    gap: 16px;
  }

  .quote-field input,
  .quote-field textarea {
    padding: 15px 16px;
  }

  .quote-actions {
    align-items: stretch;
    flex-direction: column-reverse;
    margin-top: 34px;
  }

  .quote-actions .primary,
  .quote-actions .back-link {
    width: 100%;
    justify-content: center;
  }
}

/* Gallery columns by viewport. */
.thumb-grid {
  --pm-gallery-gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (min-width: 1440px) {
  .thumb-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  .thumb-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .thumb-grid {
    --pm-gallery-gap: 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Stable lightbox controls. */
.lightbox {
  --pm-lightbox-bottom: max(24px, env(safe-area-inset-bottom));
  --pm-lightbox-control-space: 108px;
  align-items: center;
  padding: clamp(14px, 3vw, 42px) 14px calc(var(--pm-lightbox-control-space) + var(--pm-lightbox-bottom));
}

.lightbox-figure {
  display: flex;
  width: min(1680px, calc(100vw - 28px));
  height: calc(100vh - var(--pm-lightbox-control-space) - var(--pm-lightbox-bottom) - clamp(28px, 6vw, 80px));
  align-items: center;
  justify-content: center;
}

.lightbox.is-open .lightbox-figure {
  animation: pmLightboxFigureFade .18s ease both;
}

@keyframes pmLightboxFigureFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.lightbox img {
  max-width: 100%;
  max-height: 100%;
}

.lightbox-caption {
  margin: 0;
}

.lightbox-actions {
  position: fixed;
  left: 50%;
  bottom: var(--pm-lightbox-bottom);
  z-index: 230;
  display: grid;
  width: min(100%, 294px);
  grid-template-columns: 64px 120px 64px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 0;
  transform: translateX(-50%);
}

.lightbox-actions .icon-btn,
.lightbox-actions .icon-btn[data-close] {
  width: 100%;
  min-width: 0;
  height: 64px;
  padding: 0;
  flex: none;
  border-width: 1px;
  transform: none;
}

.lightbox-actions .icon-btn:hover,
.lightbox-actions .icon-btn:focus-visible {
  transform: none;
}

.lightbox-actions .icon-btn:focus-visible {
  outline: 3px solid rgba(204, 111, 230, .38);
  outline-offset: -6px;
}

.lightbox-actions .icon-btn[data-close] {
  font-size: 12px;
}

@media (max-width: 480px) {
  .lightbox {
    --pm-lightbox-bottom: max(16px, env(safe-area-inset-bottom));
    --pm-lightbox-control-space: 90px;
    padding-right: 10px;
    padding-left: 10px;
  }

  .lightbox-figure {
    width: calc(100vw - 20px);
    height: calc(100vh - var(--pm-lightbox-control-space) - var(--pm-lightbox-bottom) - 28px);
  }

  .lightbox-actions {
    width: min(100%, 258px);
    grid-template-columns: 56px 102px 56px;
    gap: 8px;
  }

  .lightbox-actions .icon-btn,
  .lightbox-actions .icon-btn[data-close] {
    height: 56px;
  }
}

.counter {
  display: none !important;
}

.pm-whatsapp-link {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(37, 211, 102, .38);
  border-radius: var(--pm-radius-control);
  background: #25d366;
  color: #fff !important;
  text-decoration: none;
  transition: transform .2s var(--pm-ease), box-shadow .2s ease, background .2s ease, border-color .2s ease;
}

.pm-whatsapp-link:hover,
.pm-whatsapp-link:focus-visible {
  border-color: rgba(255, 255, 255, .72);
  background: #20bd5a;
  box-shadow: 0 16px 38px rgba(37, 211, 102, .24);
  transform: translateY(-1px);
}

.pm-whatsapp-link svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.topbar .pm-whatsapp-link,
.pm-next-export header .pm-whatsapp-link {
  width: 46px;
  height: 46px;
  min-width: 46px;
  padding: 0;
}

.topbar .pm-whatsapp-link span,
.pm-next-export header .pm-whatsapp-link span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.pm-next-export header .pm-whatsapp-link {
  margin-left: 0;
  margin-right: 0 !important;
}

.site-menu-overlay .pm-whatsapp-link--nav {
  display: none;
}

.site-footer-contact .pm-whatsapp-link--footer {
  width: max-content;
  min-height: 48px;
  gap: 12px;
  margin: 4px 0 6px;
  padding: 12px 20px;
  border-color: rgba(37, 211, 102, .42);
  background: rgba(37, 211, 102, .12);
  color: #fff !important;
}

.site-footer-contact .pm-whatsapp-link--footer svg {
  color: #25d366;
}

.site-footer-contact .pm-whatsapp-link--footer:hover,
.site-footer-contact .pm-whatsapp-link--footer:focus-visible {
  background: rgba(37, 211, 102, .2);
}

@media (max-width: 900px) {
  .topbar-actions .pm-whatsapp-link--header,
  .pm-next-export header .pm-whatsapp-link {
    width: 52px;
    height: 52px;
    min-width: 52px;
  }

  .topbar-actions .pm-whatsapp-link--header {
    margin-right: 8px;
  }

  .pm-next-export header .pm-whatsapp-link {
    flex: 0 0 52px !important;
    margin-left: auto !important;
    margin-right: 10px !important;
  }
}

@media (max-width: 700px) {
  .site-footer-contact .pm-whatsapp-link--footer {
    width: 100%;
    justify-content: center;
  }
}

/* Footer navigation: same primary links as the header, with stable spacing. */
.site-footer-grid {
  align-items: start;
  grid-template-columns: minmax(300px, 1.12fr) minmax(170px, .54fr) minmax(330px, .92fr);
  column-gap: clamp(44px, 6vw, 104px);
  row-gap: clamp(36px, 4vw, 58px);
}

.site-footer-col[aria-label="Navigazione"] {
  justify-self: center;
}

.site-footer-col[aria-label="Navigazione"] a,
.site-footer-contact a,
.site-footer-contact span {
  line-height: 1.42;
}

.site-footer-contact {
  justify-self: end;
}

@media (min-width: 901px) and (max-width: 1280px) {
  .site-footer-grid {
    grid-template-columns: minmax(280px, 1fr) minmax(180px, .62fr) minmax(300px, .98fr);
    column-gap: clamp(32px, 4.5vw, 68px);
  }

  .site-footer-brand {
    grid-column: auto;
  }

  .site-footer-col[aria-label="Navigazione"] {
    justify-self: start;
  }
}

@media (max-width: 900px) {
  .site-footer-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .site-footer-brand,
  .site-footer-col[aria-label="Navigazione"],
  .site-footer-contact {
    justify-self: stretch;
  }

  .site-footer-col[aria-label="Navigazione"] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 18px;
    row-gap: 13px;
  }

  .site-footer-col[aria-label="Navigazione"] h2 {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .site-footer-grid {
    padding-top: 46px;
    padding-bottom: 30px;
  }

  .site-footer-brand {
    padding-bottom: 28px;
  }

  .site-footer-col[aria-label="Navigazione"],
  .site-footer-contact {
    padding-top: 24px;
  }

  .site-footer-col[aria-label="Navigazione"] a {
    font-size: 1rem;
  }

  .site-footer-bottom {
    padding-bottom: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }

  html.pm-enhanced [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* 2026-06-22 final shared layout: header, homepage, gallery and footer. */
@media (min-width: 901px) {
  :root {
    --pm-header-height: 120px;
  }

  .brand img,
  .pm-next-export header img[alt="Printing Market"] {
    width: 364px !important;
    max-height: 99px !important;
  }

  .site-menu-overlay {
    right: calc((100vw - var(--pm-wrap-max)) / 2 + 118px);
  }

  .site-menu-overlay nav,
  .pm-next-export .pm-desktop-nav {
    gap: 30px;
  }

  .topbar-actions,
  .pm-next-export header .max-w-6xl {
    column-gap: 8px !important;
  }

  .pm-next-export .pm-desktop-nav {
    margin-right: 12px !important;
  }
}

.pm-email-link {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: var(--pm-radius-control);
  background: rgba(255, 255, 255, .16);
  color: #fff !important;
  text-decoration: none;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  transition: transform .2s var(--pm-ease), background .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.pm-email-link:hover,
.pm-email-link:focus-visible {
  border-color: rgba(255, 255, 255, .76);
  background: rgba(255, 255, 255, .26);
  box-shadow: 0 16px 38px rgba(15, 23, 42, .18);
  transform: translateY(-1px);
}

.pm-email-link svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.topbar .pm-email-link,
.pm-next-export header .pm-email-link {
  width: 46px;
  height: 46px;
  min-width: 46px;
  padding: 0;
}

.topbar .pm-email-link span,
.pm-next-export header .pm-email-link span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

body:not(.home-page):not(.dark-nav) .topbar .pm-email-link,
.pm-next-export.is-scrolled header .pm-email-link {
  border-color: rgba(16, 24, 40, .16);
  background: rgba(255, 255, 255, .86);
  color: var(--pm-ink) !important;
}

.home-hero {
  min-height: min(760px, 86vh);
  padding-top: calc(var(--pm-header-height) + 42px);
  padding-bottom: clamp(52px, 6vw, 82px);
}

.home-hero h1 {
  max-width: 1120px;
  font-size: clamp(2.9rem, 4.45vw, 4.75rem);
  line-height: .99;
}

.home-hero p {
  max-width: 820px;
  margin-top: 24px;
  font-size: clamp(1.08rem, 1.35vw, 1.24rem);
}

.home-hero-actions .primary,
.home-hero-actions .back-link {
  min-height: 52px;
  padding-right: 20px;
  padding-left: 20px;
  font-size: 14px;
}

.home-capabilities {
  padding: clamp(82px, 8vw, 116px) 0 clamp(92px, 9vw, 132px);
}

.home-capability-grid {
  gap: 20px;
}

.home-capability-card {
  display: grid;
  grid-template-rows: auto 1fr;
}

.home-capability-card img {
  aspect-ratio: 16 / 10;
}

.home-capability-card-body {
  min-height: 390px;
  padding: clamp(24px, 2vw, 32px);
}

.home-capability-card h2 {
  font-size: clamp(1.34rem, 1.55vw, 1.68rem);
}

.home-capability-card p {
  font-size: .98rem;
  line-height: 1.55;
}

.home-materials {
  padding: clamp(92px, 9vw, 132px) 0;
}

.home-materials-copy h2 {
  margin-bottom: 32px;
  font-size: clamp(2.35rem, 3.85vw, 4rem);
}

.home-materials-list article {
  min-height: 176px;
  align-items: center;
}

.gallery-section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: clamp(34px, 4vw, 54px);
}

.gallery-section-title h2 {
  margin: 0;
  font-size: clamp(2.7rem, 5vw, 5.2rem);
  line-height: .95;
}

.home-gallery-section,
.gallery-index-section {
  padding-top: clamp(92px, 9vw, 132px);
  padding-bottom: clamp(98px, 9vw, 140px);
}

.category-layout {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 1.6vw, 24px);
}

.category-layout .service-card {
  min-height: clamp(340px, 29vw, 440px);
}

.category-layout .service-card h3 {
  margin: 10px 0 8px;
  font-size: clamp(1.48rem, 2.1vw, 2.05rem);
  line-height: 1.04;
}

.category-layout .service-card p {
  max-width: 34rem;
  margin: 0;
  color: rgba(255, 255, 255, .78);
  font-size: .98rem;
  line-height: 1.42;
}

.gallery-page-hero {
  padding-bottom: clamp(64px, 7vw, 92px);
}

.gallery-index-actions {
  padding-top: 0;
}

.gallery-direct {
  padding-top: clamp(36px, 4vw, 58px);
}

.gallery-direct .gallery-block:first-child {
  padding-top: 0;
}

.gallery-end-section {
  padding-top: clamp(72px, 8vw, 116px);
  padding-bottom: clamp(74px, 8vw, 118px);
}

.gallery-end-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.gallery-end-actions > div {
  display: flex;
  min-height: 270px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  border: 1px solid var(--pm-line);
  border-radius: var(--pm-radius);
  background: var(--pm-surface-soft);
  padding: clamp(30px, 4vw, 52px);
}

.gallery-end-actions > div:first-child {
  border-color: var(--pm-dark);
  background: var(--pm-dark);
  color: #fff;
}

.gallery-end-actions h2 {
  max-width: 600px;
  margin: 0 0 34px;
  font-size: clamp(2rem, 3.5vw, 3.6rem);
  line-height: 1;
}

.gallery-end-actions .primary,
.gallery-end-actions .back-link {
  min-height: 54px;
  align-items: center;
  padding: 15px 22px;
  font-size: 14px;
}

.gallery-end-actions > div:first-child .primary {
  border: 1px solid #fff;
  background: #fff;
  color: var(--pm-ink);
}

.site-footer-grid {
  grid-template-columns: minmax(300px, 1.2fr) minmax(180px, .58fr) minmax(320px, .95fr);
}

.site-footer-contact .pm-whatsapp-link--footer {
  min-height: 52px;
  gap: 14px;
  margin: 8px 0 10px;
  padding: 13px 22px;
}

@media (min-width: 901px) and (max-width: 1280px) {
  .brand img,
  .pm-next-export header img[alt="Printing Market"] {
    width: 310px !important;
    max-height: 84px !important;
  }

  .site-menu-overlay {
    right: calc((100vw - var(--pm-wrap-max)) / 2 + 110px);
  }

  .site-menu-overlay nav,
  .pm-next-export .pm-desktop-nav {
    gap: 18px;
  }

  .site-menu-overlay a,
  .pm-next-export .pm-desktop-nav a {
    font-size: 12px;
  }

  .home-capability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-capability-card-body {
    min-height: 290px;
  }

  .site-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  .category-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-layout .service-card {
    min-height: 370px;
  }
}

@media (max-width: 900px) {
  :root {
    --pm-header-height: 88px;
  }

  .topbar-inner,
  .pm-next-export header .max-w-6xl {
    gap: 7px !important;
  }

  .pm-next-export header .max-w-6xl {
    width: calc(100% - 28px) !important;
    max-width: none !important;
    margin-right: auto !important;
    margin-left: auto !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  .brand,
  .pm-next-export header a:first-child {
    min-width: 0;
  }

  .brand img,
  .pm-next-export header img[alt="Printing Market"] {
    width: clamp(150px, 39vw, 205px) !important;
    max-height: 62px !important;
  }

  .topbar-actions {
    gap: 7px;
  }

  .topbar .pm-email-link,
  .topbar .pm-whatsapp-link,
  .pm-next-export header .pm-email-link,
  .pm-next-export header .pm-whatsapp-link {
    width: 42px;
    height: 42px;
    min-width: 42px;
    flex: 0 0 42px !important;
    margin: 0 !important;
  }

  .menu-button,
  .pm-next-export header button[aria-label*="menu"],
  .pm-next-export header button[aria-label*="Menu"] {
    width: 50px !important;
    height: 50px !important;
    min-width: 50px !important;
    flex: 0 0 50px !important;
  }

  .home-hero {
    padding-top: calc(var(--pm-header-height) + 34px);
  }

  .gallery-end-actions {
    grid-template-columns: 1fr;
  }

  .pm-final-cta {
    min-height: 260px;
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer-grid {
    grid-template-columns: 1fr;
  }

  .site-footer-col[aria-label="Navigazione"] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 18px;
    row-gap: 12px;
  }

  .site-footer-col[aria-label="Navigazione"] h2 {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .brand img,
  .pm-next-export header img[alt="Printing Market"] {
    width: clamp(138px, 43vw, 190px) !important;
  }

  .topbar .pm-email-link,
  .topbar .pm-whatsapp-link,
  .pm-next-export header .pm-email-link,
  .pm-next-export header .pm-whatsapp-link {
    width: 38px;
    height: 38px;
    min-width: 38px;
    flex-basis: 38px !important;
  }

  .pm-email-link svg,
  .pm-whatsapp-link svg {
    width: 19px;
    height: 19px;
  }

  .menu-button,
  .pm-next-export header button[aria-label*="menu"],
  .pm-next-export header button[aria-label*="Menu"] {
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    flex-basis: 46px !important;
  }

  .home-hero {
    min-height: min(660px, 88svh);
    padding-bottom: 38px;
  }

  .home-hero-content {
    width: calc(100% - 28px) !important;
    margin-right: auto;
    margin-left: auto;
    padding-right: 0;
    padding-left: 0;
  }

  .home-hero h1 {
    max-width: 100%;
    font-size: clamp(2rem, 9.2vw, 2.72rem);
    line-height: 1.02;
  }

  .home-hero p {
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 20px;
  }

  .home-hero-actions {
    margin-top: 26px;
  }

  .home-capability-grid,
  .category-layout {
    grid-template-columns: 1fr;
  }

  .home-capability-card-body {
    min-height: auto;
  }

  .home-materials-list article {
    min-height: 0;
  }

  .category-layout .service-card {
    min-height: 340px;
  }

  .gallery-end-actions > div {
    min-height: 230px;
  }

  .site-footer-contact .pm-whatsapp-link--footer {
    min-height: 56px;
    margin-top: 12px;
  }
}

/* About and contact pages. */
.about-hero h1 {
  max-width: 1120px;
  font-size: clamp(3rem, 4.5vw, 4.5rem);
}

.about-hero h1 > span {
  white-space: nowrap;
}

.about-story-section {
  padding: clamp(82px, 8vw, 124px) 0 clamp(92px, 9vw, 138px);
  background: #fff;
}

.about-story-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(42px, 7vw, 110px);
  align-items: start;
}

.about-story-column {
  display: grid;
  gap: clamp(22px, 2.2vw, 30px);
}

.about-story-column p {
  margin: 0;
  color: #344054;
  font-size: clamp(1.08rem, 1.28vw, 1.28rem);
  font-weight: 500;
  line-height: 1.72;
}

.about-final-actions {
  padding-top: clamp(72px, 7vw, 102px);
  background: var(--pm-surface-soft);
}

.about-page .site-footer,
.contact-page .site-footer {
  margin-top: 0;
}

.contact-section {
  padding: clamp(82px, 8vw, 124px) 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(330px, .82fr) minmax(520px, 1.18fr);
  gap: clamp(42px, 7vw, 104px);
  align-items: stretch;
}

.contact-copy .home-kicker,
.contact-quote-inner .home-kicker {
  color: var(--pm-muted);
}

.contact-copy h2 {
  max-width: 580px;
  margin: 0 0 36px;
  font-size: clamp(2.35rem, 4vw, 4.1rem);
  line-height: 1;
}

.contact-details {
  border-top: 1px solid var(--pm-line);
}

.contact-details > div {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 18px;
  border-bottom: 1px solid var(--pm-line);
  padding: 19px 0;
}

.contact-details span {
  color: var(--pm-muted);
  font-size: 11px;
  font-weight: var(--pm-weight-label);
  letter-spacing: var(--pm-tracking-label);
  text-transform: uppercase;
}

.contact-details a,
.contact-details p {
  margin: 0;
  color: var(--pm-ink);
  font-size: 1.04rem;
  font-style: normal;
  line-height: 1.5;
}

.contact-details a:hover,
.contact-details a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.contact-actions .primary,
.contact-actions .back-link {
  min-height: 52px;
  align-items: center;
  padding: 14px 20px;
  font-size: 13px;
}

.contact-actions .primary {
  background: var(--pm-ink);
  color: #fff;
}

.contact-actions .contact-whatsapp-button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(37, 211, 102, .38);
  border-radius: var(--pm-radius-control);
  background: rgba(37, 211, 102, .12);
  color: #107c3b;
  font-size: 13px;
  font-weight: var(--pm-weight-label);
  letter-spacing: var(--pm-tracking-label);
  padding: 14px 20px;
  text-transform: uppercase;
}

.contact-actions .contact-whatsapp-button:hover,
.contact-actions .contact-whatsapp-button:focus-visible {
  background: #25d366;
  color: #fff;
  text-decoration: none;
}

.contact-map-wrap {
  min-height: 620px;
  overflow: hidden;
  border: 1px solid var(--pm-line);
  border-radius: var(--pm-radius);
  background: var(--pm-soft);
}

.contact-map-wrap iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 620px;
  border: 0;
}

.contact-quote-band {
  padding: clamp(74px, 8vw, 112px) 0;
  background: var(--pm-dark);
  color: #fff;
}

.contact-quote-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

.contact-quote-inner .home-kicker {
  color: rgba(255, 255, 255, .55);
}

.contact-quote-inner h2 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2.3rem, 4.5vw, 4.4rem);
  line-height: .98;
}

.contact-quote-inner .primary {
  min-height: 54px;
  flex: 0 0 auto;
  align-items: center;
  background: #fff;
  color: var(--pm-ink);
  padding: 15px 22px;
  font-size: 14px;
}

@media (max-width: 980px) {
  .about-hero h1 > span {
    white-space: normal;
  }

  .about-story-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-map-wrap,
  .contact-map-wrap iframe {
    min-height: 500px;
  }
}

@media (max-width: 680px) {
  .about-hero h1 {
    font-size: clamp(2.15rem, 10.2vw, 3rem);
    line-height: 1.02;
  }

  .about-hero h1 br {
    display: block;
  }

  .about-hero h1 > span {
    white-space: normal;
  }

  .about-story-section {
    padding: 66px 0 76px;
  }

  .about-story-grid {
    gap: 24px;
  }

  .about-story-column {
    gap: 22px;
  }

  .about-story-column p {
    font-size: 1.04rem;
    line-height: 1.68;
  }

  .about-final-actions {
    padding-top: 68px;
  }

  .contact-section {
    padding: 66px 0 74px;
  }

  .contact-copy h2 {
    font-size: clamp(2.15rem, 10vw, 2.9rem);
  }

  .contact-details > div {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 17px 0;
  }

  .contact-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .contact-actions .primary,
  .contact-actions .back-link,
  .contact-actions .contact-whatsapp-button {
    justify-content: center;
  }

  .contact-map-wrap,
  .contact-map-wrap iframe {
    min-height: 390px;
  }

  .contact-quote-inner {
    align-items: stretch;
    flex-direction: column;
  }

  .contact-quote-inner .primary {
    justify-content: center;
  }
}
