/*
Theme Name: PMP System
Theme URI: https://pmpsystem.pl
Author: PMP System
Description: Dedykowany motyw firmowy PMP System dla realizacji fit-out, suchej zabudowy, sufitów, akustyki i generalnego wykonawstwa.
Version: 1.3.1
Requires at least: 6.6
Requires PHP: 8.0
Text Domain: pmp-system
*/

:root {
  --ink: #0b1019;
  --ink-soft: #151c29;
  --paper: #f5f6f8;
  --white: #ffffff;
  --muted: #667080;
  --line: #d9dee5;
  --purple: #67227f;
  --teal: #00b499;
  --blue: #3d70bd;
  --gradient: linear-gradient(105deg, var(--purple), var(--teal) 52%, var(--blue));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.admin-bar .site-header {
  top: 32px;
}

.brand .custom-logo-link,
.footer-logo .custom-logo-link {
  display: block;
  width: 100%;
}

.brand .custom-logo,
.footer-logo .custom-logo {
  width: 100%;
  height: auto;
  object-fit: contain;
}

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

.card-stretch {
  position: absolute;
  z-index: 5;
  inset: 0;
}

.card-stretch:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: -5px;
}

.path-card > .card-stretch {
  position: absolute;
  z-index: 6;
  inset: 0;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-shell {
  overflow: hidden;
  background: var(--white);
}

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  display: grid;
  grid-template-columns: 240px 1fr auto;
  align-items: center;
  gap: 38px;
  min-height: 106px;
  padding: 13px clamp(24px, 5vw, 78px);
  border-bottom: 1px solid rgb(255 255 255 / 18%);
  background: linear-gradient(180deg, rgb(5 9 15 / 82%), rgb(5 9 15 / 48%));
  color: var(--white);
}

.brand {
  display: inline-flex;
  width: 212px;
}

.brand img,
.footer-logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.desktop-nav {
  display: flex;
  justify-content: center;
  gap: clamp(22px, 3vw, 46px);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.desktop-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3vw, 46px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.desktop-nav a {
  position: relative;
  padding: 12px 0;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 2px;
  background: var(--gradient);
  content: "";
  opacity: 0;
  transform: scaleX(0.2);
  transition: opacity 160ms ease, transform 160ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-language-switcher {
  display: flex;
  align-items: center;
  color: var(--white);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.header-language-switcher .trp-language-switcher {
  width: auto;
  height: auto;
}

.header-language-switcher .trp-language-switcher > div {
  width: auto !important;
  min-width: 68px;
  border-color: rgb(255 255 255 / 40%);
  background: rgb(7 12 20 / 82%);
}

.header-language-switcher img {
  width: 18px;
  height: auto;
}

.header-cta {
  padding: 14px 20px;
  border: 1px solid rgb(255 255 255 / 55%);
  font-size: 12px;
  font-weight: 900;
  transition: background 160ms ease, border-color 160ms ease;
}

.header-cta:hover,
.header-cta:focus-visible {
  border-color: var(--teal);
  background: var(--teal);
  color: var(--ink);
}

.mobile-menu {
  display: none;
  position: relative;
}

.mobile-menu summary {
  display: flex;
  min-width: 56px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 12px 14px;
  border: 1px solid rgb(255 255 255 / 45%);
  cursor: pointer;
  font-size: 11px;
  font-weight: 900;
  list-style: none;
  text-transform: uppercase;
}

.mobile-menu summary::-webkit-details-marker {
  display: none;
}

.mobile-menu nav {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  display: grid;
  width: 210px;
  border: 1px solid rgb(255 255 255 / 18%);
  background: #0d131e;
  box-shadow: 0 24px 55px rgb(0 0 0 / 35%);
}

.mobile-menu nav ul {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mobile-menu nav li {
  margin: 0;
}

.mobile-menu nav a {
  display: flex;
  min-height: 48px;
  align-items: center;
  padding: 15px 17px;
  border-bottom: 1px solid rgb(255 255 255 / 12%);
  font-size: 12px;
  font-weight: 800;
}

.mobile-menu nav a:last-child {
  border-bottom: 0;
}

.hero {
  position: relative;
  min-height: 820px;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(90deg, rgb(5 9 15 / 97%) 0%, rgb(5 9 15 / 86%) 38%, rgb(5 9 15 / 28%) 73%, rgb(5 9 15 / 18%) 100%),
    linear-gradient(0deg, rgb(5 9 15 / 80%) 0%, transparent 34%);
}

.hero-copy {
  position: relative;
  z-index: 3;
  display: flex;
  min-height: 760px;
  max-width: 1040px;
  flex-direction: column;
  justify-content: center;
  padding: 154px clamp(24px, 7vw, 118px) 150px;
}

.eyebrow {
  margin: 0 0 21px;
  color: var(--teal);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.eyebrow.light {
  color: #40d7bd;
}

.hero h1 {
  margin: 0;
  font-size: clamp(56px, 6.4vw, 104px);
  font-weight: 900;
  letter-spacing: -0.065em;
  line-height: 0.92;
}

.hero h1 span {
  display: inline-block;
  margin-top: 11px;
  background: var(--gradient);
  background-clip: text;
  color: transparent;
}

.hero-copy > p:last-of-type {
  max-width: 720px;
  margin: 31px 0 0;
  color: #d2d8e0;
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.65;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 25px;
  border: 1px solid;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.02em;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-bright {
  border-color: var(--teal);
  background: var(--teal);
  color: var(--ink);
}

.button-bright:hover,
.button-bright:focus-visible {
  border-color: var(--white);
  background: var(--white);
}

.button-ghost {
  border-color: rgb(255 255 255 / 45%);
  background: rgb(12 17 27 / 42%);
  color: var(--white);
  backdrop-filter: blur(10px);
}

.hero-caption {
  position: absolute;
  z-index: 3;
  right: clamp(24px, 5vw, 78px);
  bottom: 100px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 16px;
  border: 1px solid rgb(255 255 255 / 22%);
  background: rgb(9 14 23 / 62%);
  color: #d9dfe8;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.hero-caption i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--teal);
}

.hero-rail {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid rgb(255 255 255 / 20%);
  background: rgb(7 11 18 / 90%);
  backdrop-filter: blur(12px);
}

.hero-rail a {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border-right: 1px solid rgb(255 255 255 / 12%);
  color: #d4dae3;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-align: center;
  text-transform: uppercase;
}

.hero-rail a:last-child {
  border-right: 0;
}

.key-grid {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(1380px, calc(100% - 72px));
  margin: -42px auto 0;
  box-shadow: 0 28px 70px rgb(16 22 36 / 16%);
}

.key-grid article {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 230px;
  padding: 34px clamp(25px, 3vw, 46px);
  border-right: 1px solid rgb(255 255 255 / 20%);
  background: var(--ink-soft);
  color: var(--white);
}

.key-grid article:first-child {
  background: var(--purple);
}

.key-grid article:nth-child(2) {
  background: #008d7c;
}

.key-grid article:last-child {
  border-right: 0;
  background: var(--blue);
}

.key-grid h2 {
  margin: 0;
  font-size: clamp(24px, 2.2vw, 34px);
  letter-spacing: -0.035em;
}

.key-grid p {
  max-width: 400px;
  margin: 14px 0 0;
  color: rgb(255 255 255 / 80%);
  font-size: 13px;
  line-height: 1.65;
}

.offer-section {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  padding: 86px clamp(24px, 6vw, 96px) 92px;
  background: var(--paper);
}

.offer-intro {
  align-self: center;
  padding: 0 clamp(8px, 4vw, 68px) 0 0;
}

.offer-intro h2,
.section-heading h2,
.portfolio-heading h2,
.process-title h2 {
  margin: 0;
  font-size: clamp(40px, 4.8vw, 74px);
  letter-spacing: -0.06em;
  line-height: 0.99;
}

.offer-intro > p:last-child,
.section-heading > p:last-child {
  max-width: 620px;
  margin: 27px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.72;
}

.offer-visual {
  position: relative;
  min-height: 530px;
  overflow: hidden;
  background: var(--ink);
}

.offer-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.offer-visual::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgb(6 10 16 / 86%) 0%, transparent 55%);
  content: "";
}

.offer-visual-label {
  position: absolute;
  z-index: 2;
  right: 28px;
  bottom: 28px;
  left: 28px;
  padding: 23px 25px;
  border-left: 4px solid var(--teal);
  background: rgb(8 13 21 / 78%);
  color: var(--white);
  backdrop-filter: blur(12px);
}

.offer-visual-label span {
  display: block;
  margin-bottom: 8px;
  color: #51d7c0;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.offer-visual-label strong {
  font-size: clamp(22px, 2.2vw, 34px);
  letter-spacing: -0.035em;
}

.service-list {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 42px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: var(--white);
}

.service-list article {
  position: relative;
  display: block;
  min-height: 164px;
  padding: 27px 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 160ms ease, color 160ms ease;
}

.service-list article:hover {
  background: var(--ink);
  color: var(--white);
}

.service-list article:hover p {
  color: #b8c1ce;
}

.service-list h3 {
  margin: 0;
  font-size: clamp(20px, 1.8vw, 27px);
  letter-spacing: -0.035em;
}

.service-list p {
  max-width: 580px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
  transition: color 160ms ease;
}

.brand-band {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  min-height: 500px;
  background:
    radial-gradient(circle at 10% 100%, rgb(103 34 127 / 46%), transparent 38%),
    radial-gradient(circle at 90% 0%, rgb(0 180 153 / 22%), transparent 34%),
    var(--ink);
  color: var(--white);
}

.brand-band-logo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px clamp(30px, 6vw, 100px);
  border-right: 1px solid rgb(255 255 255 / 13%);
}

.brand-band-logo::before,
.brand-band-logo::after {
  position: absolute;
  border: 1px solid rgb(255 255 255 / 10%);
  content: "";
}

.brand-band-logo::before {
  inset: 12%;
}

.brand-band-logo::after {
  inset: 24%;
}

.brand-band-logo img {
  position: relative;
  z-index: 2;
  width: min(540px, 92%);
  height: auto;
}

.brand-band-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px clamp(36px, 7vw, 115px);
}

.brand-band-copy h2,
.installations-copy h2,
.path-card h2,
.contact-section h2 {
  margin: 0;
  font-size: clamp(42px, 4.8vw, 75px);
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.brand-band-copy > p:last-child,
.installations-copy > p:last-child,
.path-card > p:last-of-type {
  max-width: 680px;
  margin: 26px 0 0;
  color: #b8c1ce;
  font-size: 16px;
  line-height: 1.75;
}

.trust-section {
  padding: 90px clamp(24px, 7vw, 118px) 100px;
  background: var(--paper);
}

.trust-heading {
  display: grid;
  grid-template-columns: 1.12fr 0.62fr;
  column-gap: 8vw;
  align-items: end;
  margin-bottom: 48px;
}

.trust-heading .eyebrow {
  grid-column: 1 / -1;
}

.trust-heading h2 {
  margin: 0;
  font-size: clamp(38px, 4.8vw, 70px);
  letter-spacing: -0.055em;
  line-height: 1;
}

.trust-heading > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.trust-grid article {
  min-height: 235px;
  padding: 30px 27px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.trust-grid article > span {
  display: block;
  width: 42px;
  height: 5px;
  margin-bottom: 45px;
  background: var(--gradient);
}

.trust-grid h3 {
  margin: 0;
  font-size: 21px;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.trust-grid p {
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.installations-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(45px, 7vw, 120px);
  padding: 88px clamp(24px, 7vw, 118px);
  background: #121a27;
  color: var(--white);
}

.installations-copy {
  align-self: center;
}

.installation-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-content: center;
  border-top: 1px solid rgb(255 255 255 / 16%);
  border-left: 1px solid rgb(255 255 255 / 16%);
}

.installation-grid div {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 126px;
  padding: 25px;
  border-right: 1px solid rgb(255 255 255 / 16%);
  border-bottom: 1px solid rgb(255 255 255 / 16%);
  transition: background 160ms ease;
}

.installation-grid div:hover {
  background: rgb(0 180 153 / 11%);
}

.installation-grid strong {
  display: block;
  font-size: 14px;
  line-height: 1.45;
}

.sectors-section {
  padding: 90px clamp(24px, 7vw, 118px);
  background: var(--white);
}

.section-heading {
  display: grid;
  grid-template-columns: 1.12fr 0.62fr;
  column-gap: 8vw;
  align-items: end;
  margin-bottom: 49px;
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
}

.sector-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.sector-grid div {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 120px;
  padding: 25px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  transition: background 160ms ease, color 160ms ease;
}

.sector-grid div:nth-child(3n + 2) {
  background: var(--white);
}

.sector-grid div:hover {
  background: var(--purple);
  color: var(--white);
}

.sector-grid strong {
  font-size: 13px;
  line-height: 1.4;
}

.two-paths {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 590px;
}

.path-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: 72px clamp(34px, 7vw, 116px);
  color: var(--white);
}

.path-private {
  background:
    linear-gradient(135deg, rgb(5 10 18 / 38%), rgb(5 10 18 / 92%)),
    linear-gradient(145deg, #355e96, #0d1523 68%);
}

.path-private::after {
  position: absolute;
  right: -140px;
  bottom: -170px;
  width: 430px;
  height: 430px;
  border: 1px solid rgb(255 255 255 / 15%);
  border-radius: 50%;
  box-shadow: 0 0 0 65px rgb(255 255 255 / 3%), 0 0 0 130px rgb(255 255 255 / 2%);
  content: "";
}

.path-build {
  background:
    radial-gradient(circle at 100% 0%, rgb(0 180 153 / 27%), transparent 33%),
    linear-gradient(135deg, #25102e, #101620 76%);
}

.path-outline {
  position: absolute;
  top: 9%;
  right: 8%;
  width: 43%;
  height: 35%;
  border: 2px solid rgb(0 180 153 / 48%);
  box-shadow: -42px 42px 0 -2px transparent, -42px 42px 0 0 rgb(61 112 189 / 44%);
  transform: skewY(-7deg);
}

.path-card > *:not(.path-outline) {
  position: relative;
  z-index: 2;
}

.path-card ul {
  display: grid;
  gap: 10px;
  margin: 25px 0 0;
  padding: 0;
  color: #e0e5ec;
  font-size: 13px;
  font-weight: 800;
  list-style: none;
}

.path-card li::before {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 12px;
  border: 2px solid var(--teal);
  content: "";
}

.portfolio-section {
  padding: 86px clamp(24px, 7vw, 118px) 96px;
  background: var(--ink);
  color: var(--white);
}

.portfolio-heading {
  display: grid;
  grid-template-columns: 1fr 0.52fr;
  gap: 8vw;
  align-items: end;
  margin-bottom: 47px;
}

.portfolio-heading > p {
  margin: 0;
  color: #aeb8c6;
  font-size: 14px;
  line-height: 1.7;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 12px;
}

.portfolio-grid article {
  position: relative;
  min-height: 350px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 14%);
  background:
    linear-gradient(145deg, rgb(255 255 255 / 5%), transparent),
    repeating-linear-gradient(135deg, transparent 0 38px, rgb(255 255 255 / 5%) 39px 40px),
    #141c29;
}

.portfolio-grid article:first-child {
  background:
    radial-gradient(circle at 100% 0%, rgb(103 34 127 / 50%), transparent 42%),
    repeating-linear-gradient(90deg, transparent 0 58px, rgb(255 255 255 / 5%) 59px 60px),
    #141c29;
}

.portfolio-grid article:nth-child(2) {
  background:
    radial-gradient(circle at 100% 100%, rgb(0 180 153 / 36%), transparent 42%),
    #141c29;
}

.portfolio-grid article:nth-child(3) {
  background:
    radial-gradient(circle at 0% 100%, rgb(61 112 189 / 44%), transparent 46%),
    #141c29;
}

.portfolio-grid article > span {
  color: var(--teal);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.portfolio-grid h3 {
  max-width: 310px;
  margin: 150px 0 0;
  font-size: clamp(23px, 2vw, 31px);
  letter-spacing: -0.035em;
}

.portfolio-grid p {
  margin: 12px 0 0;
  color: #aab4c2;
  font-size: 12px;
}

.process-section {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 7vw;
  padding: 82px clamp(24px, 7vw, 118px);
  background: var(--paper);
}

.process-title {
  align-self: center;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.process-grid article {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 190px;
  padding: 27px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.process-grid h3 {
  margin: 0;
  font-size: 21px;
}

.process-grid p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.contact-section {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 9vw;
  align-items: center;
  padding: 88px clamp(24px, 7vw, 118px);
  background:
    radial-gradient(circle at 0% 100%, rgb(103 34 127 / 44%), transparent 39%),
    radial-gradient(circle at 100% 0%, rgb(0 180 153 / 25%), transparent 34%),
    var(--ink);
  color: var(--white);
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 35px;
  border: 1px solid rgb(255 255 255 / 17%);
  background: rgb(255 255 255 / 7%);
  backdrop-filter: blur(12px);
}

.contact-card > p {
  margin: 0 0 27px;
  color: #b8c1ce;
  font-size: 13px;
  line-height: 1.6;
}

.contact-card > a:not(.button) {
  max-width: 100%;
  overflow-wrap: anywhere;
  font-size: clamp(21px, 2.4vw, 34px);
  font-weight: 900;
  letter-spacing: -0.035em;
}

.contact-card > a.contact-phone {
  margin-top: 10px;
  color: #d7dde6;
  font-size: 18px;
  letter-spacing: 0;
}

.contact-card address {
  display: grid;
  gap: 3px;
  margin: 24px 0 0;
  color: #d7dde6;
  font-size: 14px;
  font-style: normal;
  line-height: 1.55;
}

.contact-card > a.contact-map {
  margin-top: 9px;
  color: var(--teal);
  font-size: 12px;
  letter-spacing: 0;
  text-decoration: underline;
}

.contact-card > span {
  margin-top: 9px;
  color: #aeb8c6;
  font-size: 13px;
}

.contact-card .button {
  width: 100%;
  margin-top: 31px;
}

.site-footer {
  border-top: 1px solid rgb(255 255 255 / 12%);
  background: #070b12;
  color: var(--white);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr 1fr 0.65fr;
  gap: clamp(32px, 5vw, 78px);
  padding: 58px clamp(24px, 5vw, 78px) 52px;
}

.footer-logo {
  display: inline-flex;
  width: 158px;
}

.site-footer p,
.site-footer span,
.site-footer a {
  margin: 0;
  color: #9ba5b4;
  font-size: 12px;
  line-height: 1.65;
}

.footer-brand-column p {
  max-width: 390px;
  margin-top: 21px;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
}

.footer-column strong {
  margin-bottom: 10px;
  color: var(--white);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-column a:hover,
.footer-column a:focus-visible,
.footer-bottom a:hover,
.footer-bottom a:focus-visible {
  color: var(--teal);
}

.footer-company span {
  display: block;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 19px clamp(24px, 5vw, 78px);
  border-top: 1px solid rgb(255 255 255 / 10%);
}

.footer-bottom span,
.footer-bottom a {
  font-size: 10px;
  font-weight: 800;
}

.footer-bottom div {
  display: flex;
  gap: 24px;
}

@media (max-width: 1050px) {
  .site-header {
    grid-template-columns: 190px 1fr auto;
    gap: 22px;
  }

  .brand {
    width: 180px;
  }

  .desktop-nav {
    gap: 20px;
  }

  .offer-section,
  .brand-band,
  .installations-section,
  .process-section {
    grid-template-columns: 1fr;
  }

  .offer-intro {
    padding: 0 0 38px;
  }

  .offer-visual {
    min-height: 470px;
  }

  .brand-band-logo {
    min-height: 380px;
    border-right: 0;
    border-bottom: 1px solid rgb(255 255 255 / 13%);
  }

  .sector-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .portfolio-grid {
    grid-template-columns: 1fr 1fr;
  }

  .portfolio-grid article:first-child {
    grid-column: 1 / -1;
  }

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

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: 1fr auto;
    min-height: 88px;
  }

  .desktop-nav {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  .brand {
    width: 170px;
  }

  .hero {
    min-height: 760px;
  }

  .hero-copy {
    min-height: 700px;
    padding-top: 140px;
    padding-bottom: 150px;
  }

  .hero-caption {
    display: none;
  }

  .hero-rail {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-rail a {
    min-height: 46px;
    border-bottom: 1px solid rgb(255 255 255 / 10%);
  }

  .key-grid {
    grid-template-columns: 1fr;
    width: calc(100% - 44px);
    margin-top: 0;
  }

  .key-grid article {
    min-height: 155px;
    padding: 28px 26px;
  }

  .service-list,
  .installation-grid,
  .sector-grid,
  .two-paths,
  .portfolio-grid,
  .process-grid,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .portfolio-heading,
  .trust-heading {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .offer-section,
  .sectors-section,
  .portfolio-section,
  .process-section,
  .contact-section,
  .trust-section {
    padding-right: 28px;
    padding-left: 28px;
  }

  .installations-section {
    padding: 75px 28px;
  }

  .path-card {
    min-height: 520px;
    padding: 70px 28px;
  }

  .portfolio-grid article:first-child {
    grid-column: auto;
  }

  .portfolio-grid article {
    min-height: 310px;
  }

  .portfolio-grid h3 {
    margin-top: 110px;
  }

  .process-title {
    margin-bottom: 38px;
  }

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

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  .site-header {
    padding: 11px 18px;
  }

  .brand {
    width: 148px;
  }

  .header-cta {
    display: none;
  }

  .hero-copy {
    padding-right: 22px;
    padding-left: 22px;
  }

  .hero h1 {
    font-size: clamp(38px, 11.5vw, 54px);
    overflow-wrap: anywhere;
  }

  .offer-intro h2,
  .section-heading h2,
  .portfolio-heading h2,
  .process-title h2,
  .brand-band-copy h2,
  .installations-copy h2,
  .path-card h2,
  .contact-section h2,
  .trust-heading h2,
  .pmp-content h1,
  .pmp-content .entry-content h2 {
    font-size: clamp(32px, 9.5vw, 44px);
    overflow-wrap: anywhere;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .button {
    width: 100%;
  }

  .key-grid {
    width: calc(100% - 28px);
  }

  .offer-section,
  .sectors-section,
  .portfolio-section,
  .process-section,
  .contact-section,
  .trust-section {
    padding-right: 21px;
    padding-left: 21px;
  }

  .offer-section {
    padding-top: 68px;
  }

  .offer-visual {
    min-height: 360px;
  }

  .service-list article {
    padding: 24px 20px;
  }

  .brand-band-copy,
  .path-card {
    padding-right: 22px;
    padding-left: 22px;
  }

  .installations-section {
    padding-right: 21px;
    padding-left: 21px;
  }

  .portfolio-heading {
    margin-bottom: 35px;
  }

  .contact-card {
    padding: 28px 22px;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .footer-main,
  .footer-bottom {
    padding-right: 21px;
    padding-left: 21px;
  }

  .footer-bottom div {
    flex-wrap: wrap;
    gap: 10px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

/* WordPress content templates */
.pmp-content {
  min-height: 70vh;
  padding: 150px clamp(24px, 7vw, 118px) 90px;
  background: var(--paper);
}

.pmp-content-inner {
  width: min(900px, 100%);
  margin: 0 auto;
}

.pmp-content h1 {
  margin: 0 0 30px;
  font-size: clamp(42px, 6vw, 78px);
  letter-spacing: -0.055em;
  line-height: 1;
}

.pmp-content .entry-content {
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.75;
}

.pmp-content .entry-content a {
  color: var(--teal);
  text-decoration: underline;
}

.pmp-content .entry-content .lead {
  max-width: 800px;
  margin: 0 0 42px;
  color: var(--muted);
  font-size: clamp(20px, 2.4vw, 29px);
  line-height: 1.5;
}

.pmp-content .entry-content h2 {
  margin: 48px 0 18px;
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.pmp-page-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 36px 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.pmp-page-cards > a,
.pmp-page-cards > span {
  display: flex;
  min-height: 150px;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  text-decoration: none !important;
  transition: background 160ms ease, color 160ms ease;
}

.pmp-page-cards > a:hover,
.pmp-page-cards > a:focus-visible {
  background: var(--ink);
  color: var(--white);
}

.pmp-page-cards strong {
  font-size: 21px;
}

.pmp-page-cards span span,
.pmp-page-cards a span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.pmp-page-cards > a:hover span,
.pmp-page-cards > a:focus-visible span {
  color: #b8c1ce;
}

.pmp-contact-panel {
  margin-top: 34px;
  padding: 34px;
  border-left: 5px solid var(--teal);
  background: var(--ink);
  color: var(--white);
}

.pmp-contact-panel a {
  display: inline-block;
  max-width: 100%;
  overflow-wrap: anywhere;
  color: var(--teal) !important;
  font-size: clamp(24px, 4vw, 42px);
  font-weight: 900;
}

.pmp-contact-page {
  min-height: 70vh;
  background: var(--paper);
}

.pmp-contact-hero {
  padding: 172px clamp(24px, 7vw, 118px) 86px;
  background:
    radial-gradient(circle at 0% 100%, rgb(103 34 127 / 48%), transparent 38%),
    radial-gradient(circle at 100% 0%, rgb(0 180 153 / 24%), transparent 34%),
    var(--ink);
  color: var(--white);
}

.pmp-contact-hero h1 {
  max-width: 960px;
  margin: 0;
  font-size: clamp(46px, 7vw, 92px);
  letter-spacing: -0.06em;
  line-height: 0.96;
}

.pmp-contact-hero > p:last-child {
  max-width: 680px;
  margin: 30px 0 0;
  color: #bac3d0;
  font-size: 17px;
  line-height: 1.7;
}

.pmp-contact-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 68px clamp(24px, 7vw, 118px) 90px;
}

.pmp-contact-details article {
  min-width: 0;
  padding: clamp(31px, 4vw, 58px);
}

.pmp-contact-primary {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--ink);
  color: var(--white);
}

.pmp-contact-label {
  margin-bottom: 30px;
  color: var(--teal) !important;
  font-size: 10px !important;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.pmp-contact-email {
  max-width: 100%;
  overflow-wrap: anywhere;
  font-size: clamp(23px, 3.2vw, 46px);
  font-weight: 900;
  letter-spacing: -0.04em;
}

.pmp-contact-phone {
  margin-top: 13px;
  color: #d8dee7;
  font-size: 21px;
  font-weight: 800;
}

.pmp-contact-primary > p {
  margin: 23px 0 0;
  color: #aeb8c6;
  font-size: 13px;
}

.pmp-contact-primary .button {
  width: 100%;
  margin-top: 42px;
}

.pmp-company-card {
  border: 1px solid var(--line);
  background: var(--white);
}

.pmp-company-card h2 {
  margin: 0 0 25px;
  font-size: clamp(28px, 3.4vw, 48px);
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.pmp-company-card address,
.pmp-registration-data {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 15px;
  font-style: normal;
  line-height: 1.55;
}

.pmp-registration-data {
  padding-top: 22px;
  margin-top: 25px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  font-weight: 800;
}

.pmp-map-link {
  display: inline-block;
  margin-top: 28px;
  color: var(--purple);
  font-size: 13px;
  font-weight: 900;
  text-decoration: underline;
}

.portfolio-grid article.has-project-image {
  background-position: center;
  background-size: cover;
}

.portfolio-grid article.has-project-image::after {
  position: absolute;
  z-index: 0;
  inset: 0;
  background: linear-gradient(180deg, rgb(7 12 20 / 18%), rgb(7 12 20 / 90%));
  content: "";
}

.portfolio-grid article.has-project-image > * {
  position: relative;
  z-index: 1;
}

.portfolio-grid article.has-project-image > .card-stretch {
  position: absolute;
  z-index: 6;
  inset: 0;
}

@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }

  .pmp-page-cards {
    grid-template-columns: 1fr;
  }

  .pmp-contact-details {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .pmp-content {
    padding-right: 21px;
    padding-left: 21px;
  }

  .pmp-contact-panel {
    padding: 28px 22px;
  }

  .pmp-contact-panel a {
    font-size: clamp(18px, 6vw, 30px);
  }

  .pmp-contact-hero,
  .pmp-contact-details {
    padding-right: 21px;
    padding-left: 21px;
  }

  .pmp-contact-hero {
    padding-top: 145px;
  }

  .pmp-contact-hero h1 {
    font-size: clamp(38px, 11vw, 56px);
    overflow-wrap: anywhere;
  }

  .pmp-contact-email {
    font-size: clamp(20px, 6.5vw, 31px);
  }
}
