/*
Theme Name: Pracownia Mebla
Theme URI: https://adamkuzia.pl
Author: Adam Kuzia
Author URI: https://adamkuzia.pl
Description: Kompletny motyw dla producenta mebli na wymiar z realizacjami, formularzem wyceny, sklepem demonstracyjnym i interaktywnym konfiguratorem.
Version: 1.0.0
Requires at least: 6.2
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pracownia-mebla
Tags: portfolio, e-commerce, custom-logo, custom-menu, featured-images, translation-ready
*/

:root {
  --pm-ink: #0d0d0f;
  --pm-navy: #101012;
  --pm-navy-2: #19191d;
  --pm-orange: #c1121f;
  --pm-orange-dark: #8f0f19;
  --pm-cream: #fff5f5;
  --pm-paper: #ffffff;
  --pm-surface: #f4f2f2;
  --pm-border: #ded9d9;
  --pm-muted: #625d60;
  --pm-success: #16845b;
  --pm-shadow: 0 24px 70px rgba(13, 13, 15, 0.16);
  --pm-radius: 22px;
  --pm-radius-sm: 12px;
  --pm-container: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--pm-ink);
  background: var(--pm-paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

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

button,
input,
textarea,
select {
  font: inherit;
}

button,
[type="submit"] {
  cursor: pointer;
}

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

h1,
h2,
h3,
h4 {
  color: var(--pm-ink);
  font-weight: 850;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

h1 {
  font-size: clamp(2.8rem, 6.8vw, 5.6rem);
}

h2 {
  font-size: clamp(2.15rem, 4.4vw, 3.8rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.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;
}

.skip-link:focus {
  position: fixed !important;
  z-index: 99999;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  padding: 12px 18px;
  clip: auto;
  background: var(--pm-paper);
  color: var(--pm-ink);
  border-radius: 8px;
}

.pm-container {
  width: min(calc(100% - 40px), var(--pm-container));
  margin-inline: auto;
}

.pm-section {
  position: relative;
  padding: clamp(76px, 9vw, 126px) 0;
}

.pm-section--soft {
  background: var(--pm-surface);
}

.pm-section--dark {
  color: #d9e0ea;
  background:
    radial-gradient(circle at 80% 10%, rgba(193, 18, 31, 0.17), transparent 30%),
    var(--pm-navy);
}

.pm-section--dark h2,
.pm-section--dark h3 {
  color: var(--pm-paper);
}

.pm-eyebrow {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  margin-bottom: 18px;
  color: var(--pm-orange-dark);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.pm-eyebrow::before {
  width: 32px;
  height: 3px;
  content: "";
  background: currentColor;
}

.pm-section--dark .pm-eyebrow {
  color: #ff7d86;
}

.pm-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 52px;
}

.pm-section-head h2 {
  max-width: 780px;
  margin-bottom: 0;
}

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

.pm-section--dark .pm-section-head p {
  color: #b7c1cf;
}

.pm-btn {
  display: inline-flex;
  min-height: 54px;
  padding: 0 24px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #fff;
  background: var(--pm-orange);
  border: 2px solid var(--pm-orange);
  border-radius: 999px;
  box-shadow: 0 14px 28px rgba(193, 18, 31, 0.24);
  font-weight: 800;
  line-height: 1.1;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.pm-btn:hover,
.pm-btn:focus-visible {
  color: #fff;
  background: var(--pm-orange-dark);
  border-color: var(--pm-orange-dark);
  box-shadow: 0 18px 34px rgba(193, 18, 31, 0.3);
  transform: translateY(-2px);
}

.pm-btn--outline {
  color: var(--pm-paper);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.52);
  box-shadow: none;
}

.pm-btn--outline:hover,
.pm-btn--outline:focus-visible {
  color: var(--pm-ink);
  background: var(--pm-paper);
  border-color: var(--pm-paper);
}

.pm-btn--dark {
  color: var(--pm-paper);
  background: var(--pm-navy);
  border-color: var(--pm-navy);
  box-shadow: none;
}

.pm-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--pm-orange-dark);
  font-weight: 800;
}

.pm-text-link::after {
  content: "→";
  transition: transform 0.2s ease;
}

.pm-text-link:hover::after {
  transform: translateX(4px);
}

/* Header */
.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  background: rgba(11, 18, 32, 0.94);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
}

.pm-topbar {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pm-topbar__inner {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #b9c3d2;
  font-size: 0.78rem;
  font-weight: 650;
}

.pm-topbar__contact {
  display: flex;
  gap: 22px;
}

.pm-topbar__contact a:hover {
  color: #fff;
}

.pm-nav {
  display: flex;
  min-height: 80px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.custom-logo-link,
.pm-brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
}

.custom-logo {
  width: auto;
  max-width: 190px;
  max-height: 52px;
}

.pm-brand img {
  width: 192px;
  height: auto;
}

.pm-menu {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 30px);
  padding: 0;
  margin: 0;
  list-style: none;
}

.pm-menu a {
  position: relative;
  display: block;
  padding: 28px 0;
  color: #e6e1e2;
  font-size: 0.9rem;
  font-weight: 750;
}

.pm-menu a::after {
  position: absolute;
  right: 0;
  bottom: 21px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--pm-orange);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.22s ease;
}

.pm-menu a:hover,
.pm-menu .current-menu-item > a,
.pm-menu .current_page_item > a {
  color: #fff;
}

.pm-menu a:hover::after,
.pm-menu .current-menu-item > a::after,
.pm-menu .current_page_item > a::after {
  transform: scaleX(1);
  transform-origin: left;
}

.pm-nav__cta {
  min-height: 46px;
  padding-inline: 20px;
  font-size: 0.88rem;
}

.pm-menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 0;
  border-radius: 12px;
}

.pm-menu-toggle svg {
  width: 25px;
  height: 25px;
}

/* Hero */
.pm-hero {
  position: relative;
  display: grid;
  min-height: min(760px, calc(100vh - 118px));
  align-items: center;
  color: #fff;
  background: var(--pm-navy);
  isolation: isolate;
}

.pm-hero::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  content: "";
  background-image: var(--pm-hero-image);
  background-position: center;
  background-size: cover;
}

.pm-hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(8, 8, 10, 0.96) 0%, rgba(8, 8, 10, 0.84) 46%, rgba(8, 8, 10, 0.25) 76%, rgba(8, 8, 10, 0.16) 100%),
    linear-gradient(0deg, rgba(8, 8, 10, 0.36), transparent 44%);
}

.pm-hero__inner {
  padding: 92px 0 104px;
}

.pm-hero__content {
  max-width: 790px;
}

.pm-hero .pm-eyebrow {
  color: #ff7d86;
}

.pm-hero h1 {
  margin-bottom: 24px;
  color: #fff;
  text-wrap: balance;
}

.pm-hero__lead {
  max-width: 670px;
  margin-bottom: 34px;
  color: #e6e1e2;
  font-size: clamp(1.08rem, 1.7vw, 1.28rem);
}

.pm-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 38px;
}

.pm-hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  padding: 0;
  margin: 0;
  color: #f0eced;
  font-size: 0.9rem;
  font-weight: 700;
  list-style: none;
}

.pm-hero__proof li {
  display: flex;
  align-items: center;
  gap: 9px;
}

.pm-hero__proof li::before {
  display: grid;
  width: 22px;
  height: 22px;
  content: "✓";
  place-items: center;
  color: var(--pm-ink);
  background: var(--pm-orange);
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 900;
}

.pm-trust-strip {
  color: #fff;
  background: var(--pm-orange);
}

.pm-trust-strip__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.pm-trust-item {
  padding: 25px 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.28);
}

.pm-trust-item:first-child {
  border-left: 1px solid rgba(255, 255, 255, 0.28);
}

.pm-trust-item strong {
  display: block;
  font-size: 1.12rem;
  line-height: 1.25;
}

.pm-trust-item span {
  display: block;
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.83);
  font-size: 0.78rem;
  font-weight: 650;
}

/* Cards and services */
.pm-services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.pm-card {
  position: relative;
  padding: 32px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--pm-border);
  border-radius: var(--pm-radius);
  box-shadow: 0 14px 45px rgba(11, 18, 32, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border 0.25s ease;
}

.pm-card:hover {
  border-color: rgba(193, 18, 31, 0.45);
  box-shadow: var(--pm-shadow);
  transform: translateY(-6px);
}

.pm-card__icon {
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 28px;
  place-items: center;
  color: var(--pm-orange-dark);
  background: var(--pm-cream);
  border-radius: 16px;
}

.pm-card__icon svg {
  width: 29px;
  height: 29px;
}

.pm-card h3 {
  margin-bottom: 14px;
}

.pm-card p {
  margin-bottom: 24px;
  color: var(--pm-muted);
}

.pm-card--accent {
  color: #f0eced;
  background: var(--pm-navy);
  border-color: var(--pm-navy);
}

.pm-card--accent h3 {
  color: #fff;
}

.pm-card--accent p {
  color: #bcc6d3;
}

.pm-card--accent .pm-card__icon {
  color: #fff;
  background: var(--pm-orange);
}

.pm-card--accent .pm-text-link {
  color: #ff7d86;
}

/* Before / after */
.pm-compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.pm-compare-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--pm-border);
  border-radius: var(--pm-radius);
  box-shadow: 0 18px 54px rgba(11, 18, 32, 0.08);
}

.pm-compare-frame {
  --position: 50%;
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #d7dce3;
}

.pm-compare-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pm-compare-after {
  z-index: 2;
  clip-path: inset(0 calc(100% - var(--position)) 0 0);
}

.pm-compare-range {
  position: absolute;
  z-index: 5;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}

.pm-compare-line {
  position: absolute;
  z-index: 4;
  top: 0;
  bottom: 0;
  left: var(--position);
  width: 3px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(11, 18, 32, 0.18);
  transform: translateX(-50%);
  pointer-events: none;
}

.pm-compare-line::after {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 48px;
  height: 48px;
  content: "↔";
  place-items: center;
  color: var(--pm-ink);
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 10px 25px rgba(11, 18, 32, 0.25);
  font-weight: 900;
  transform: translate(-50%, -50%);
}

.pm-compare-label {
  position: absolute;
  z-index: 3;
  top: 16px;
  padding: 7px 11px;
  color: #fff;
  background: rgba(11, 18, 32, 0.8);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  pointer-events: none;
}

.pm-compare-label--before {
  left: 16px;
}

.pm-compare-label--after {
  right: 16px;
  background: var(--pm-orange);
}

.pm-compare-copy {
  padding: 24px 26px 28px;
}

.pm-compare-copy h3 {
  margin-bottom: 8px;
}

.pm-compare-copy p {
  margin: 0;
  color: var(--pm-muted);
  font-size: 0.92rem;
}

/* About and feature splits */
.pm-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(42px, 7vw, 92px);
  align-items: center;
}

.pm-split__media {
  position: relative;
}

.pm-split__media > img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--pm-radius);
  box-shadow: var(--pm-shadow);
}

.pm-split__badge {
  position: absolute;
  right: -24px;
  bottom: 42px;
  width: min(210px, 46%);
  padding: 22px;
  color: #fff;
  background: var(--pm-orange);
  border: 8px solid #fff;
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(11, 18, 32, 0.18);
}

.pm-split__badge strong {
  display: block;
  font-size: 2.1rem;
  line-height: 1;
}

.pm-split__badge span {
  display: block;
  margin-top: 7px;
  font-size: 0.78rem;
  font-weight: 750;
  line-height: 1.35;
}

.pm-split__content h2 {
  margin-bottom: 24px;
}

.pm-split__content > p {
  color: var(--pm-muted);
}

.pm-check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 28px 0 34px;
  list-style: none;
}

.pm-check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-weight: 700;
}

.pm-check-list li::before {
  display: grid;
  flex: 0 0 25px;
  width: 25px;
  height: 25px;
  margin-top: 1px;
  content: "✓";
  place-items: center;
  color: #fff;
  background: var(--pm-success);
  border-radius: 50%;
  font-size: 0.72rem;
}

/* Process */
.pm-process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  counter-reset: process;
}

.pm-process__item {
  position: relative;
  padding: 28px 28px 18px;
  counter-increment: process;
}

.pm-process__item:not(:last-child)::after {
  position: absolute;
  top: 48px;
  right: -12px;
  width: 24px;
  height: 2px;
  content: "";
  background: rgba(255, 255, 255, 0.24);
}

.pm-process__number {
  display: grid;
  width: 50px;
  height: 50px;
  margin-bottom: 22px;
  place-items: center;
  color: #fff;
  background: var(--pm-orange);
  border-radius: 14px;
  font-weight: 900;
}

.pm-process__number::before {
  content: "0" counter(process);
}

.pm-process__item h3 {
  margin-bottom: 10px;
  color: #fff;
}

.pm-process__item p {
  margin: 0;
  color: #b7c1cf;
  font-size: 0.9rem;
}

/* Stats and testimonials */
.pm-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--pm-border);
  border-radius: var(--pm-radius);
  box-shadow: var(--pm-shadow);
}

.pm-stat {
  padding: 34px 24px;
  text-align: center;
  border-right: 1px solid var(--pm-border);
}

.pm-stat:last-child {
  border-right: 0;
}

.pm-stat strong {
  display: block;
  color: var(--pm-orange-dark);
  font-size: clamp(2rem, 4vw, 3.3rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
}

.pm-stat span {
  display: block;
  margin-top: 9px;
  color: var(--pm-muted);
  font-size: 0.78rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

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

.pm-review {
  padding: 30px;
  background: #fff;
  border: 1px solid var(--pm-border);
  border-radius: var(--pm-radius);
}

.pm-review__stars {
  margin-bottom: 18px;
  color: var(--pm-orange);
  letter-spacing: 0.12em;
}

.pm-review blockquote {
  margin: 0 0 22px;
  color: #2c3543;
  font-size: 0.96rem;
}

.pm-review footer {
  color: var(--pm-muted);
  font-size: 0.8rem;
  font-weight: 750;
}

.pm-review footer strong {
  display: block;
  color: var(--pm-ink);
  font-size: 0.9rem;
}

/* CTA band */
.pm-cta-band {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--pm-orange);
}

.pm-cta-band::after {
  position: absolute;
  top: -90px;
  right: -70px;
  width: 340px;
  height: 340px;
  content: "";
  border: 58px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
}

.pm-cta-band__inner {
  position: relative;
  z-index: 2;
  display: flex;
  padding-block: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.pm-cta-band h2 {
  max-width: 760px;
  margin-bottom: 8px;
  color: #fff;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
}

.pm-cta-band p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.85);
}

.pm-cta-band .pm-btn {
  flex: 0 0 auto;
}

/* Page hero and content */
.pm-page-hero {
  position: relative;
  padding: clamp(76px, 10vw, 132px) 0;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(8, 8, 10, 0.95), rgba(8, 8, 10, 0.65)),
    var(--pm-page-image) center / cover no-repeat,
    var(--pm-navy);
}

.pm-page-hero h1 {
  max-width: 920px;
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(2.5rem, 5vw, 4.7rem);
}

.pm-page-hero p {
  max-width: 700px;
  margin: 0;
  color: #e6e1e2;
  font-size: 1.1rem;
}

.pm-breadcrumbs {
  margin-bottom: 18px;
  color: #ff7d86;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pm-breadcrumbs a:hover {
  color: #fff;
}

.pm-content {
  width: min(calc(100% - 40px), 860px);
  padding: 72px 0 100px;
  margin-inline: auto;
}

.pm-content > *:last-child {
  margin-bottom: 0;
}

.pm-content p,
.pm-content li {
  color: #475365;
}

.pm-content a:not(.pm-btn) {
  color: var(--pm-orange-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pm-service-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 58px;
  align-items: start;
}

.pm-service-main h2 {
  margin-top: 46px;
  margin-bottom: 20px;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
}

.pm-service-main h2:first-child {
  margin-top: 0;
}

.pm-service-sidebar {
  position: sticky;
  top: 140px;
  padding: 28px;
  background: var(--pm-surface);
  border: 1px solid var(--pm-border);
  border-radius: var(--pm-radius);
}

.pm-service-sidebar h3 {
  margin-bottom: 12px;
}

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

.pm-service-sidebar .pm-btn {
  width: 100%;
  margin-top: 10px;
}

.pm-scope-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  list-style: none;
}

.pm-scope-grid li {
  position: relative;
  padding: 17px 16px 17px 46px;
  color: #293445;
  background: var(--pm-surface);
  border: 1px solid var(--pm-border);
  border-radius: 12px;
  font-weight: 700;
}

.pm-scope-grid li::before {
  position: absolute;
  top: 16px;
  left: 16px;
  color: var(--pm-success);
  content: "✓";
  font-weight: 900;
}

/* Contact */
.pm-contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 52px;
  align-items: start;
}

.pm-contact-panel {
  padding: 38px;
  color: #e6e1e2;
  background: var(--pm-navy);
  border-radius: var(--pm-radius);
}

.pm-contact-panel h2,
.pm-contact-panel h3 {
  color: #fff;
}

.pm-contact-panel > p {
  color: #b9c3d2;
}

.pm-contact-list {
  display: grid;
  gap: 16px;
  padding: 0;
  margin: 32px 0 0;
  list-style: none;
}

.pm-contact-list a,
.pm-contact-list span {
  display: block;
  padding: 18px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
}

.pm-contact-list small {
  display: block;
  margin-bottom: 2px;
  color: #ff7d86;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pm-contact-form {
  padding: 38px;
  background: #fff;
  border: 1px solid var(--pm-border);
  border-radius: var(--pm-radius);
  box-shadow: var(--pm-shadow);
}

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

.pm-form-field {
  display: grid;
  gap: 7px;
}

.pm-form-field--full {
  grid-column: 1 / -1;
}

.pm-form-field label {
  font-size: 0.82rem;
  font-weight: 800;
}

.pm-form-field input,
.pm-form-field select,
.pm-form-field textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  color: var(--pm-ink);
  background: #fff;
  border: 1px solid #cdd4de;
  border-radius: 10px;
  outline: none;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.pm-form-field textarea {
  min-height: 150px;
  resize: vertical;
}

.pm-form-field input:focus,
.pm-form-field select:focus,
.pm-form-field textarea:focus {
  border-color: var(--pm-orange);
  box-shadow: 0 0 0 4px rgba(193, 18, 31, 0.13);
}

.pm-form-note {
  margin: 16px 0 0;
  color: var(--pm-muted);
  font-size: 0.74rem;
}

.pm-form-status {
  padding: 15px 18px;
  margin-bottom: 20px;
  border-radius: 10px;
  font-weight: 750;
}

.pm-form-status--success {
  color: #0d5138;
  background: #dff7ed;
  border: 1px solid #a9e3cd;
}

.pm-form-status--error {
  color: #7d241d;
  background: #fff0ee;
  border: 1px solid #f0b9b3;
}

.pm-honeypot {
  position: absolute;
  left: -9999px;
}

/* FAQ */
.pm-faq {
  display: grid;
  gap: 12px;
  max-width: 900px;
  margin-inline: auto;
}

.pm-faq details {
  background: #fff;
  border: 1px solid var(--pm-border);
  border-radius: 14px;
}

.pm-faq summary {
  position: relative;
  padding: 21px 58px 21px 22px;
  list-style: none;
  font-weight: 820;
  cursor: pointer;
}

.pm-faq summary::-webkit-details-marker {
  display: none;
}

.pm-faq summary::after {
  position: absolute;
  top: 16px;
  right: 18px;
  display: grid;
  width: 34px;
  height: 34px;
  content: "+";
  place-items: center;
  color: var(--pm-orange-dark);
  background: var(--pm-cream);
  border-radius: 50%;
  font-size: 1.25rem;
}

.pm-faq details[open] summary::after {
  content: "−";
}

.pm-faq details p {
  padding: 0 22px 22px;
  margin: 0;
  color: var(--pm-muted);
}

/* Footer */
.site-footer {
  color: #b8c2cf;
  background: #080e19;
}

.pm-footer-main {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.8fr 1fr;
  gap: 50px;
  padding: 72px 0 54px;
}

.pm-footer-brand img {
  width: 200px;
  height: auto;
  margin-bottom: 22px;
}

.pm-footer-brand p {
  max-width: 340px;
  margin-bottom: 22px;
  color: #9aa7b8;
  font-size: 0.9rem;
}

.pm-footer-col h3 {
  margin-bottom: 20px;
  color: #fff;
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.pm-footer-col ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.pm-footer-col a:hover {
  color: #fff;
}

.pm-footer-bottom {
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #7e8b9b;
  font-size: 0.78rem;
}

.pm-footer-bottom p {
  margin: 0;
}

.pm-footer-bottom a:hover {
  color: #fff;
}

/* WordPress content */
.alignwide {
  width: min(1180px, calc(100vw - 40px));
  max-width: none;
  margin-right: 50%;
  margin-left: 50%;
  transform: translateX(-50%);
}

.alignfull {
  width: 100vw;
  max-width: none;
  margin-right: 50%;
  margin-left: 50%;
  transform: translateX(-50%);
}

.wp-caption,
.gallery-caption {
  color: var(--pm-muted);
  font-size: 0.8rem;
}

.bypostauthor {
  display: block;
}

/* Motion */
.is-ready .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.is-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

@media (max-width: 1060px) {
  .pm-menu-toggle {
    display: inline-flex;
  }

  .pm-nav__cta {
    margin-left: auto;
  }

  .pm-nav-menu-wrap {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    visibility: hidden;
    padding: 12px 20px 22px;
    opacity: 0;
    background: var(--pm-navy);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 40px rgba(5, 10, 18, 0.3);
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  }

  .pm-nav-menu-wrap.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .pm-menu {
    display: grid;
    gap: 0;
  }

  .pm-menu a {
    padding: 13px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }

  .pm-menu a::after {
    display: none;
  }

  .pm-footer-main {
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
  }

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

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

  .pm-section-head,
  .pm-split,
  .pm-contact-grid,
  .pm-service-layout {
    grid-template-columns: 1fr;
  }

  .pm-section-head {
    gap: 20px;
  }

  .pm-services-grid,
  .pm-testimonials {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .pm-process__item:nth-child(2)::after {
    display: none;
  }

  .pm-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .pm-stat:nth-child(2) {
    border-right: 0;
  }

  .pm-stat:nth-child(-n+2) {
    border-bottom: 1px solid var(--pm-border);
  }

  .pm-service-sidebar {
    position: static;
  }

  .pm-cta-band__inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .pm-container {
    width: min(calc(100% - 28px), var(--pm-container));
  }

  .pm-topbar__inner {
    min-height: 34px;
  }

  .pm-topbar__inner > span,
  .pm-topbar__contact a:first-child {
    display: none;
  }

  .pm-topbar__contact {
    width: 100%;
    justify-content: center;
  }

  .pm-nav {
    min-height: 70px;
    gap: 10px;
  }

  .pm-brand img,
  .custom-logo {
    max-width: 145px;
  }

  .pm-nav__cta {
    display: none;
  }

  .pm-hero {
    min-height: auto;
  }

  .pm-hero::after {
    background: rgba(8, 8, 10, 0.81);
  }

  .pm-hero__inner {
    padding: 78px 0 82px;
  }

  .pm-hero__actions {
    display: grid;
  }

  .pm-hero__actions .pm-btn {
    width: 100%;
  }

  .pm-hero__proof {
    display: grid;
  }

  .pm-trust-strip__inner,
  .pm-services-grid,
  .pm-compare-grid,
  .pm-testimonials,
  .pm-process,
  .pm-scope-grid,
  .pm-form-grid,
  .pm-footer-main {
    grid-template-columns: 1fr;
  }

  .pm-trust-item,
  .pm-trust-item:first-child {
    padding: 18px 6px;
    text-align: center;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.26);
    border-left: 0;
  }

  .pm-trust-item:last-child {
    border-bottom: 0;
  }

  .pm-split__badge {
    right: -6px;
    bottom: 20px;
  }

  .pm-process__item {
    padding-inline: 6px;
  }

  .pm-process__item::after {
    display: none;
  }

  .pm-stats {
    grid-template-columns: 1fr;
  }

  .pm-stat,
  .pm-stat:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--pm-border);
  }

  .pm-stat:last-child {
    border-bottom: 0;
  }

  .pm-card,
  .pm-contact-panel,
  .pm-contact-form {
    padding: 25px;
  }

  .pm-footer-main {
    gap: 36px;
  }

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

  .pm-footer-bottom {
    padding: 22px 0;
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 380px) {
  .pm-brand img,
  .custom-logo {
    max-width: 128px;
  }

  .pm-menu-toggle {
    width: 44px;
    height: 44px;
  }
}

/* Furniture project grids, shop and configurator */
.pm-center-action {
  margin: 42px 0 0;
  text-align: center;
}

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

.pm-project {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  color: #fff;
  background: var(--pm-navy);
  border-radius: var(--pm-radius);
  box-shadow: var(--pm-shadow);
  isolation: isolate;
}

.pm-project::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, rgba(8, 8, 10, 0.92), rgba(8, 8, 10, 0.06) 64%);
}

.pm-project img {
  position: absolute;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.pm-project:hover img {
  transform: scale(1.04);
}

.pm-project > span {
  position: absolute;
  right: 28px;
  bottom: 26px;
  left: 28px;
  display: grid;
  gap: 4px;
}

.pm-project small {
  color: #ff8d95;
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.pm-project strong {
  font-size: 1.28rem;
  line-height: 1.2;
}

.pm-config-teaser {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  gap: clamp(54px, 8vw, 110px);
  align-items: center;
}

.pm-config-teaser h2,
.pm-config-teaser h3 {
  color: #fff;
}

.pm-config-teaser p {
  color: #c8c2c4;
}

.pm-config-preview {
  padding: clamp(28px, 5vw, 52px);
  color: var(--pm-ink);
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 28px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.38);
}

.pm-config-preview__top {
  display: flex;
  margin-bottom: 34px;
  justify-content: space-between;
}

.pm-config-preview__top span {
  display: grid;
  width: 38px;
  height: 38px;
  color: #fff;
  background: var(--pm-navy);
  border-radius: 50%;
  place-items: center;
  font-weight: 850;
}

.pm-config-preview__top span:first-child {
  background: var(--pm-orange);
}

.pm-config-preview > strong {
  display: block;
  margin-bottom: 20px;
  font-size: 1.42rem;
}

.pm-config-preview__option {
  padding: 13px 16px;
  margin-top: 10px;
  background: var(--pm-surface);
  border: 2px solid transparent;
  border-radius: 12px;
  font-weight: 750;
}

.pm-config-preview__option.is-active {
  color: var(--pm-orange-dark);
  background: #fff1f2;
  border-color: var(--pm-orange);
}

.pm-config-preview__bar {
  width: 58%;
  height: 12px;
  margin-top: 28px;
  background: var(--pm-orange);
  border-radius: 99px;
}

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

.pm-product {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--pm-border);
  border-radius: var(--pm-radius);
  box-shadow: 0 14px 40px rgba(13, 13, 15, 0.08);
}

.pm-product > img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.pm-product > div {
  padding: 25px;
}

.pm-product small {
  color: var(--pm-orange-dark);
  font-weight: 800;
  text-transform: uppercase;
}

.pm-product h3 {
  margin: 9px 0;
}

.pm-product p {
  color: var(--pm-ink);
  font-size: 1.1rem;
  font-weight: 850;
}

.pm-product a {
  color: var(--pm-orange-dark);
  font-weight: 850;
}

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

.pm-gallery figure {
  margin: 0;
  overflow: hidden;
  background: #fff;
  border-radius: var(--pm-radius);
  box-shadow: var(--pm-shadow);
}

.pm-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.pm-gallery figcaption {
  padding: 22px 24px 26px;
}

.pm-gallery figcaption strong {
  display: block;
  margin-bottom: 5px;
  font-size: 1.22rem;
}

.pm-gallery figcaption span {
  color: var(--pm-muted);
}

.pm-configurator {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--pm-border);
  border-radius: 28px;
  box-shadow: var(--pm-shadow);
}

.pm-configurator__progress {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--pm-navy);
}

.pm-configurator__progress span {
  padding: 17px 10px;
  color: #aaa5a7;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.86rem;
  font-weight: 800;
}

.pm-configurator__progress span.is-active {
  color: #fff;
  background: var(--pm-orange);
}

.pm-configurator__body {
  padding: clamp(28px, 6vw, 64px);
}

.pm-config-step[hidden] {
  display: none;
}

.pm-config-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 28px 0;
}

.pm-config-option {
  position: relative;
}

.pm-config-option input {
  position: absolute;
  opacity: 0;
}

.pm-config-option span {
  display: grid;
  min-height: 96px;
  padding: 18px;
  place-items: center;
  background: var(--pm-surface);
  border: 2px solid transparent;
  border-radius: 14px;
  text-align: center;
  font-weight: 800;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.pm-config-option input:checked + span,
.pm-config-option input:focus-visible + span {
  color: var(--pm-orange-dark);
  background: #fff1f2;
  border-color: var(--pm-orange);
}

.pm-config-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 26px 0;
}

.pm-config-field {
  display: grid;
  gap: 7px;
}

.pm-config-field--full {
  grid-column: 1 / -1;
}

.pm-config-field label {
  font-size: 0.9rem;
  font-weight: 800;
}

.pm-config-field input,
.pm-config-field textarea,
.pm-config-field select {
  width: 100%;
  padding: 14px 15px;
  color: var(--pm-ink);
  background: #fff;
  border: 1px solid #cfc9cb;
  border-radius: 11px;
}

.pm-config-actions {
  display: flex;
  margin-top: 28px;
  justify-content: space-between;
  gap: 12px;
}

.pm-config-summary {
  padding: 22px;
  margin: 24px 0;
  background: var(--pm-surface);
  border-left: 5px solid var(--pm-orange);
  border-radius: 10px;
  white-space: pre-line;
}

.pm-map {
  overflow: hidden;
  min-height: 440px;
  background: var(--pm-surface);
  border-radius: var(--pm-radius);
  box-shadow: var(--pm-shadow);
}

.pm-map iframe {
  width: 100%;
  height: 440px;
  border: 0;
}

.woocommerce ul.products li.product,
.woocommerce div.product {
  color: var(--pm-ink);
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  color: #fff;
  background: var(--pm-orange);
  border-radius: 999px;
}

@media (max-width: 900px) {
  .pm-project-grid,
  .pm-products,
  .pm-config-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pm-config-teaser {
    grid-template-columns: 1fr;
  }

  .pm-project:last-child,
  .pm-product:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .pm-project-grid,
  .pm-products,
  .pm-gallery,
  .pm-config-options,
  .pm-config-fields {
    grid-template-columns: 1fr;
  }

  .pm-project,
  .pm-project:last-child,
  .pm-product:last-child {
    grid-column: auto;
  }

  .pm-project {
    min-height: 360px;
  }

  .pm-configurator__progress span {
    padding: 12px 4px;
    font-size: 0.7rem;
  }

  .pm-config-field--full {
    grid-column: auto;
  }

  .pm-config-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }
}
