/* =============================================================
   BasmatDecor — Project Details Luxury Showcase (.pdx-*)
   Designed for high-end interior architecture & villa finishing.
   Award-winning editorial aesthetic: Pentagram / Architectural Digest grade.
   ============================================================= */

/* --- Smooth Scrolling (anchor must clear the sticky jump nav, and the fixed
       header only while it is actually on screen — site.js toggles
       body.header-hidden-active while scrolling down) --- */
html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: calc(var(--header-h, 97px) + var(--jumpnav-h, 0px) + 16px);
}

body.header-hidden-active [id] {
  scroll-margin-top: calc(var(--jumpnav-h, 0px) + 16px);
}

/* --- Preview Banner --- */
.pdx-preview-bar {
  background: #fdf6e3;
  border-bottom: 1px solid rgba(180, 130, 20, .35);
  padding: 12px 0;
}

.pdx-preview-content {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #8a6d1a;
  font-size: 14px;
  font-weight: 700;
}

.pdx-preview-badge {
  background: #d89e1b;
  color: #fff;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
}

/* --- Section Rhythm & Typography ---
   Three levels of voice so the page has a hierarchy instead of six
   identical shouting headers:
   .is-lead  - the two hero moments (before/after, gallery)
   default   - content sections (story)
   -sm       - supporting sections (process, related)                */
.pdx-section-head {
  margin-bottom: clamp(26px, 3.4vw, 42px);
}

.pdx-section-head.is-center {
  text-align: center;
}

.pdx-section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  color: var(--gold-700, #8c725d);
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.pdx-section-kicker::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 2.5px;
  background: var(--primary-color, #cda274);
  border-radius: 2px;
}

.pdx-section-kicker-center {
  justify-content: center;
}

.pdx-section-title {
  margin: 0 0 16px;
  color: var(--secondary-color, #292f36);
  font-size: clamp(26px, 2.9vw, 37px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -.015em;
}

.pdx-section-head.is-lead .pdx-section-title {
  font-size: clamp(30px, 3.6vw, 46px);
}

.pdx-section-head.pdx-section-head-sm .pdx-section-title {
  font-size: clamp(23px, 2.4vw, 31px);
}

.pdx-section-head.pdx-section-head-sm .pdx-section-sub {
  margin-bottom: 0;
  font-size: clamp(15px, 1.1vw, 16.5px);
}

.pdx-section-sub {
  margin: 0 0 32px;
  color: #616770;
  font-size: clamp(15.5px, 1.2vw, 18px);
  line-height: 1.85;
  max-width: 720px;
}

.pdx-section-sub-center {
  margin-inline: auto;
  text-align: center;
}

/* --- 1. Hero Section --- */
.pdx-hero {
  position: relative;
  background: linear-gradient(180deg, #f8f5f0 0%, #ffffff 100%);
  padding: clamp(38px, 5vw, 68px) 0 clamp(42px, 6vw, 76px);
  overflow: hidden;
}

.pdx-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 25% 20%, rgba(205, 162, 116, .10), transparent 60%),
    radial-gradient(ellipse at 80% 15%, rgba(205, 162, 116, .10), transparent 55%);
  pointer-events: none;
}

.pdx-hero-header {
  max-width: 900px;
  margin-bottom: clamp(32px, 4vw, 48px);
}

.pdx-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  font-size: 13.5px;
  font-weight: 600;
  color: #7b8087;
}

.pdx-crumb a {
  color: #5c626a;
  text-decoration: none;
  transition: color .2s ease;
}

.pdx-crumb a:hover {
  color: var(--primary-color, #cda274);
}

.pdx-crumb-sep {
  color: var(--primary-color, #cda274);
  font-weight: 700;
  font-size: 12px;
}

/* Architectural Stamps / Badges */
.pdx-badges-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.pdx-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  backdrop-filter: blur(8px);
  transition: transform .2s ease, box-shadow .2s ease;
}

.pdx-badge:hover {
  transform: translateY(-1px);
}

.pdx-badge-gold {
  background: rgba(205, 162, 116, .16);
  color: #93632f;
  border: 1px solid rgba(205, 162, 116, .4);
}

.pdx-badge-slate {
  background: rgba(255, 255, 255, .9);
  color: #444b53;
  border: 1px solid rgba(205, 162, 116, .25);
  box-shadow: 0 4px 14px rgba(31, 37, 45, .04);
}

.pdx-badge-success {
  background: rgba(39, 174, 96, .09);
  color: #1e874b;
  border: 1px solid rgba(39, 174, 96, .3);
}

.pdx-badge-icon {
  width: 15px;
  height: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pdx-title {
  margin: 0 0 20px;
  color: var(--secondary-color, #292f36);
  font-size: clamp(34px, 4.5vw, 60px);
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: -.02em;
  text-wrap: balance;
}

.pdx-title-accent {
  color: var(--primary-color, #cda274);
  font-weight: 800;
}

.pdx-lede {
  margin: 0 0 30px;
  color: #4e555e;
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 2.05;
  max-width: 840px;
}

.pdx-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

/* Phase 3 #3 absorption (§3.6 promise): the pdx button joins the site's CTA
   grammar — flat ink fill, gold fill on hover, the shared 10px CTA radius and
   shadow values. The old private gold gradient + sweep is retired; geometry
   (padding/type scale) stays this page's own. */
.pdx-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 10px;
  background: var(--secondary-color, #292f36);
  color: #fff !important;
  font-size: 15.5px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(31, 37, 45, .16);
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
  position: relative;
}

.pdx-btn-primary:hover,
.pdx-btn-primary:focus-visible {
  background: var(--primary-color, #cda274);
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(194, 145, 91, .25);
}

.pdx-btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 10px;
  background: var(--secondary-color, #292f36);
  border: 1px solid rgba(205, 162, 116, .35);
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(41, 47, 54, .18);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.pdx-btn-wa:hover {
  transform: translateY(-2px);
  border-color: var(--primary-color, #cda274);
  box-shadow: 0 12px 28px rgba(41, 47, 54, .28);
}

.pdx-btn-wa svg {
  width: 20px;
  height: 20px;
  fill: #25D366;
}

/* --- Hero Showcase (Editorial Mosaic) --- */
.pdx-mosaic {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: clamp(16px, 2vw, 24px);
  align-items: stretch;
  margin-top: clamp(26px, 3.5vw, 44px);
}

/* No companion tiles: give the cover the full row instead of leaving a hole */
.pdx-mosaic.is-single {
  grid-template-columns: minmax(0, 1fr);
}

.pdx-mosaic.is-single .pdx-mosaic-main img {
  max-height: 660px;
}

.pdx-mosaic-main {
  position: relative;
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 26px 54px rgba(31, 37, 45, .15);
  background: var(--sand-line);
  border: 1px solid rgba(205, 162, 116, .2);
}

/* Tone balance: the cover sits next to much lighter companion tiles, so give it
   a light grade + a faint cream wash to keep the mosaic from reading as a
   white/dark left-right split. */
.pdx-mosaic-main::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(247, 241, 233, .16);
  pointer-events: none;
}

.pdx-mosaic-main button,
.pdx-mosaic-side button {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: none;
  background: transparent;
  cursor: zoom-in;
  position: relative;
  text-align: inherit;
}

.pdx-mosaic-main img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  max-height: 600px;
  object-fit: cover;
  object-position: center bottom;
  filter: brightness(1.08) saturate(.97);
  transition: transform .6s cubic-bezier(.25, .46, .45, .94);
}

.pdx-mosaic-side {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2vw, 24px);
}

.pdx-mosaic-tile {
  position: relative;
  flex: 1 1 0;
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 38px rgba(31, 37, 45, .1);
  background: var(--sand-line);
  border: 1px solid rgba(205, 162, 116, .2);
}

.pdx-mosaic-tile img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 195px;
  object-fit: cover;
  object-position: center;
  transition: transform .6s cubic-bezier(.25, .46, .45, .94);
}

.pdx-mosaic-main:hover img,
.pdx-mosaic-tile:hover img {
  transform: scale(1.045);
}

/* Frosted glass micro tags */
.pdx-mosaic-badge {
  position: absolute;
  bottom: 16px;
  inset-inline-start: 16px;
  z-index: 2;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(23, 27, 32, .68);
  border: 1px solid rgba(255, 255, 255, .22);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  backdrop-filter: blur(12px);
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .2);
}

.pdx-mosaic-more-btn {
  position: absolute;
  bottom: 16px;
  inset-inline-end: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(205, 162, 116, .35);
  color: var(--secondary-color, #292f36);
  font-size: 13.5px;
  font-weight: 800;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
  backdrop-filter: blur(10px);
  text-decoration: none;
  transition: background-color .2s ease, transform .2s ease, color .2s ease;
}

.pdx-mosaic-more-btn:hover {
  background: #fff;
  color: var(--primary-color, #cda274);
  transform: translateY(-2px);
}

@media screen and (max-width: 860px) {
  .pdx-mosaic {
    grid-template-columns: 1fr;
  }

  .pdx-mosaic-main img {
    min-height: 290px;
    max-height: 440px;
  }

  .pdx-mosaic-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .pdx-mosaic-tile img {
    min-height: 170px;
  }
}

@media screen and (max-width: 540px) {
  .pdx-mosaic-side {
    grid-template-columns: 1fr;
  }
}

/* --- 2. Facts Strip (the single source of truth for project data) --- */
.pdx-specs-section {
  position: relative;
  z-index: 5;
  margin-top: -34px;
  padding-bottom: clamp(34px, 4.5vw, 58px);
}

.pdx-specs-card {
  background: var(--surface-card);
  border: 1px solid rgba(205, 162, 116, .32);
  border-radius: 24px;
  padding: clamp(20px, 2.8vw, 32px);
  box-shadow: 0 24px 60px rgba(31, 37, 45, .09);
  position: relative;
}

.pdx-specs-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary-color, #cda274), transparent);
  border-radius: 2px;
}

.pdx-specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
}

.pdx-spec-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px 18px;
  border-inline-start: 1px solid rgba(205, 162, 116, .22);
}

.pdx-spec-item:first-child {
  border-inline-start: 0;
}

.pdx-spec-header {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #7b8088;
  font-size: 13px;
  font-weight: 700;
}

.pdx-spec-icon {
  width: 16px;
  height: 16px;
  color: var(--primary-color, #cda274);
  flex-shrink: 0;
}

.pdx-spec-value {
  color: var(--secondary-color, #292f36);
  font-size: clamp(17px, 1.25vw, 20.5px);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: -.01em;
}

@media screen and (max-width: 767px) {
  .pdx-specs-section {
    margin-top: 0;
    padding-top: 26px;
  }

  .pdx-specs-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px 16px;
  }

  /* Dividers only work on a single row — on a wrapping 2-col grid they
     would cut halfway across, so let spacing do the separating. */
  .pdx-spec-item {
    border-inline-start: 0;
    border-bottom: 0;
    padding: 10px 4px;
  }
}

/* --- 3. Sticky Jump Nav (the page is long; give the client an elevator) --- */
/* The site header is fixed but slides away on scroll-down (site.js), so the
   bar rests under it only while the header is on screen; the moment the
   header retracts, the bar takes the true top instead of leaving a dead
   band of page content above it. */
.pdx-jumpnav {
  position: sticky;
  top: var(--header-h, 97px);
  transition: top .3s ease;
  z-index: 900;
  background: rgba(255, 255, 255, .93);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-block: 1px solid rgba(205, 162, 116, .26);
  box-shadow: 0 10px 30px rgba(31, 37, 45, .07);
}

body.header-hidden-active .pdx-jumpnav {
  top: 0;
}

.pdx-jumpnav-inner {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-block: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.pdx-jumpnav-inner::-webkit-scrollbar {
  display: none;
}

.pdx-jumpnav a {
  flex: 0 0 auto;
  padding: 9px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  color: #5c626a;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.pdx-jumpnav a:hover {
  background: rgba(205, 162, 116, .14);
  color: var(--secondary-color, #292f36);
}

.pdx-jumpnav a.is-active {
  background: var(--secondary-color, #292f36);
  border-color: var(--secondary-color, #292f36);
  color: #ffffff;
}

/* --- 4. Interactive Before & After Transformation Slider (Tactile Upgrade) --- */
.pdx-compare-section {
  padding: clamp(52px, 6.5vw, 92px) 0;
  background: linear-gradient(180deg, #ffffff 0%, #fbf8f4 50%, #ffffff 100%);
  border-top: 1px solid rgba(205, 162, 116, .18);
  border-bottom: 1px solid rgba(205, 162, 116, .18);
}

.pdx-compare-wrapper {
  max-width: 980px;
  margin: 0 auto;
}

.pdx-slider-container {
  --pos: 50%;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(31, 37, 45, .18);
  user-select: none;
  background: #1f252d;
  border: 1px solid rgba(205, 162, 116, .3);
  touch-action: pan-y;
  direction: ltr;
}

.pdx-slider-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.pdx-img-after {
  z-index: 1;
}

.pdx-img-before {
  z-index: 2;
  clip-path: inset(0 0 0 var(--pos, 50%));
  will-change: clip-path;
}

.pdx-slider-badge {
  position: absolute;
  top: 22px;
  z-index: 5;
  padding: 8px 20px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: .02em;
  backdrop-filter: blur(12px);
  pointer-events: none;
  transition: opacity .25s ease;
}

.pdx-badge-before-tag {
  inset-inline-start: 22px;
  background: rgba(23, 27, 32, .75);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .25);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
}

.pdx-badge-after-tag {
  inset-inline-end: 22px;
  background: rgba(205, 162, 116, .92);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .4);
  box-shadow: 0 6px 18px rgba(205, 162, 116, .45);
}

/* Handle line & Tactile Glowing Handle */
.pdx-slider-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos, 50%);
  z-index: 6;
  width: 3px;
  background: var(--surface-card);
  box-shadow: 0 0 18px rgba(0, 0, 0, .45);
  transform: translateX(-50%);
  pointer-events: none;
  will-change: left;
}

@keyframes pdx-pulse-glow {
  0% {
    box-shadow: 0 0 0 0 rgba(205, 162, 116, 0.7), 0 8px 24px rgba(0, 0, 0, .32);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(205, 162, 116, 0), 0 8px 24px rgba(0, 0, 0, .32);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(205, 162, 116, 0), 0 8px 24px rgba(0, 0, 0, .32);
  }
}

.pdx-handle-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #cda274 0%, #b8864e 100%);
  border: 3px solid #ffffff;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pdx-pulse-glow 3s infinite;
}

.pdx-handle-circle svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* Full overlay invisible range input for drag / touch */
.pdx-slider-range {
  position: absolute;
  inset: 0;
  z-index: 8;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  margin: 0;
  padding: 0;
  touch-action: pan-y;
  direction: ltr;
}

/* Quick Toggle Buttons */
.pdx-slider-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
}

.pdx-btn-toggle {
  padding: 9px 20px;
  border-radius: 999px;
  background: var(--surface-card);
  border: 1px solid rgba(205, 162, 116, .38);
  color: #555b63;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s ease;
  box-shadow: 0 2px 8px rgba(31, 37, 45, .04);
}

.pdx-btn-toggle:hover {
  border-color: var(--primary-color, #cda274);
  color: var(--secondary-color, #292f36);
  transform: translateY(-1px);
}

.pdx-btn-toggle.active {
  background: var(--secondary-color, #292f36);
  border-color: var(--secondary-color, #292f36);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(41, 47, 54, .18);
}

@media screen and (max-width: 767px) {
  .pdx-slider-container {
    aspect-ratio: 4 / 3;
    border-radius: 18px;
  }

  .pdx-handle-circle {
    width: 44px;
    height: 44px;
  }

  .pdx-handle-circle svg {
    width: 20px;
    height: 20px;
  }

  .pdx-slider-badge {
    top: 14px;
    padding: 6px 14px;
    font-size: 12px;
  }

  .pdx-badge-before-tag { inset-inline-start: 14px; }
  .pdx-badge-after-tag { inset-inline-end: 14px; }

  .pdx-slider-controls {
    flex-wrap: wrap;
    gap: 8px;
  }
}

/* --- 6. Story, Brief & Material Reference --- */
.pdx-blueprint-section {
  padding: clamp(52px, 6.5vw, 92px) 0;
  background: var(--surface-inset);
}

.pdx-blueprint-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(320px, 1fr);
  gap: clamp(32px, 4.5vw, 60px);
  align-items: start;
}

.pdx-blueprint-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.pdx-blueprint-block {
  background: var(--surface-card);
  border: 1px solid rgba(205, 162, 116, .24);
  border-radius: 22px;
  padding: clamp(26px, 3.2vw, 40px);
}

.pdx-blueprint-block-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: var(--secondary-color, #292f36);
  font-size: clamp(20px, 1.85vw, 26px);
  font-weight: 800;
}

.pdx-blueprint-block-icon {
  width: 24px;
  height: 24px;
  color: var(--primary-color, #cda274);
  flex-shrink: 0;
}

.pdx-blueprint-text {
  margin: 0 0 16px;
  color: #4e555e;
  font-size: clamp(16.5px, 1.2vw, 18.5px);
  line-height: 2.1;
}

.pdx-blueprint-text:last-child {
  margin-bottom: 0;
}

/* Material & Color Palette */
.pdx-materials-wrap {
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid rgba(205, 162, 116, .22);
}

.pdx-materials-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--secondary-color, #292f36);
  font-size: 17px;
  font-weight: 800;
}

.pdx-materials-head svg {
  width: 20px;
  height: 20px;
  color: var(--primary-color, #cda274);
}

.pdx-materials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.pdx-material-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border-radius: 18px;
  background: var(--surface-card);
  border: 1px solid rgba(205, 162, 116, .26);
  box-shadow: 0 6px 18px rgba(31, 37, 45, .04);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative;
  overflow: hidden;
}

.pdx-material-card::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--primary-color, #cda274) 0%, transparent 100%);
  opacity: 0;
  transition: opacity .25s ease;
}

.pdx-material-card:hover {
  transform: translateY(-3px);
  border-color: rgba(205, 162, 116, .55);
  box-shadow: 0 12px 28px rgba(205, 162, 116, .14);
}

.pdx-material-card:hover::before {
  opacity: 1;
}

.pdx-swatch-box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: #fdfaf6;
  border: 1px solid rgba(205, 162, 116, .22);
  flex-shrink: 0;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, .03);
}

.pdx-swatch-circle {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .16);
  border: 2px solid #ffffff;
}

.pdx-material-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 0;
}

.pdx-material-name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.pdx-material-name {
  color: var(--secondary-color, #292f36);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
}

.pdx-material-chip {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(205, 162, 116, .14);
  color: #93632f;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .02em;
  white-space: nowrap;
}

.pdx-material-sub {
  color: #6a717b;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.5;
}

/* Technical Checklist */
.pdx-checklist {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 18px;
  padding: 0;
  list-style: none;
}

.pdx-checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  background: var(--surface-card);
  border: 1px solid rgba(205, 162, 116, .2);
  border-radius: 14px;
  color: #3b4249;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.7;
}

.pdx-checklist-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(205, 162, 116, .18);
  color: var(--primary-color, #cda274);
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Sticky conversion rail — a single ask that follows the reading, no spec table */
.pdx-sidebar-spec {
  position: sticky;
  top: calc(var(--header-h, 97px) + var(--jumpnav-h, 0px) + 22px);
  transition: top .3s ease;
  background: var(--surface-card);
  border: 1px solid rgba(205, 162, 116, .32);
  border-radius: 24px;
  padding: clamp(24px, 3.2vw, 34px);
  box-shadow: 0 18px 45px rgba(31, 37, 45, .07);
}

body.header-hidden-active .pdx-sidebar-spec {
  top: calc(var(--jumpnav-h, 0px) + 22px);
}

.pdx-spec-cta-box {
  text-align: center;
}

.pdx-spec-cta-title {
  margin: 0 0 8px;
  color: var(--secondary-color, #292f36);
  font-size: 17px;
  font-weight: 800;
}

.pdx-spec-cta-desc {
  margin: 0 0 18px;
  color: #646a73;
  font-size: 13.5px;
  line-height: 1.65;
}

.pdx-spec-cta-box .pdx-btn-primary {
  width: 100%;
  justify-content: center;
  padding: 13px 20px;
  font-size: 14.5px;
}

@media screen and (max-width: 991px) {
  .pdx-blueprint-grid {
    grid-template-columns: 1fr;
  }

  .pdx-sidebar-spec {
    position: static;
  }
}

/* --- 5. Full Gallery Section (Asymmetric Bento Grid) --- */
.pdx-gallery-section {
  padding: clamp(52px, 6.5vw, 92px) 0;
  background: var(--surface-card);
}

/* Curatorial Segmented Control */
.pdx-gallery-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: clamp(30px, 4vw, 48px);
}

.pdx-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: 999px;
  background: var(--surface-inset);
  border: 1px solid rgba(205, 162, 116, .3);
  color: #555b63;
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all .25s ease;
}

.pdx-tab-btn:hover {
  background: #f5ede2;
  border-color: var(--primary-color, #cda274);
  color: var(--secondary-color, #292f36);
  transform: translateY(-1px);
}

.pdx-tab-btn.is-active {
  background: var(--secondary-color, #292f36);
  border-color: var(--secondary-color, #292f36);
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(41, 47, 54, .2);
}

.pdx-tab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .08);
  font-size: 12px;
}

.pdx-tab-btn.is-active .pdx-tab-count {
  background: rgba(255, 255, 255, .22);
  color: #fff;
}

/* Asymmetric Bento Gallery Grid */
.pdx-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-flow: dense;
  gap: clamp(18px, 2.2vw, 28px);
}

.pdx-gallery-card {
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  background: #f0ebe4;
  box-shadow: 0 12px 30px rgba(31, 37, 45, .08);
  border: 1px solid rgba(205, 162, 116, .2);
  transition: transform .35s ease, box-shadow .35s ease;
  position: relative;
}

/* Hero Shot: spans 2 columns on wide screens */
.pdx-gallery-card.bento-wide {
  grid-column: span 2;
}

.pdx-gallery-card.bento-wide .pdx-gallery-trigger img {
  aspect-ratio: 16 / 9;
}

.pdx-gallery-card.is-hidden {
  display: none !important;
}

.pdx-gallery-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 48px rgba(31, 37, 45, .15);
}

.pdx-gallery-trigger {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  overflow: hidden;
  text-align: inherit;
}

.pdx-gallery-trigger img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.25, .46, .45, .94);
}

.pdx-gallery-card:hover .pdx-gallery-trigger img {
  transform: scale(1.055);
}

/* Frosted glass micro tag */
.pdx-gallery-tag {
  position: absolute;
  top: 14px;
  inset-inline-start: 14px;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(23, 27, 32, .68);
  border: 1px solid rgba(255, 255, 255, .2);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  backdrop-filter: blur(10px);
  pointer-events: none;
}

.pdx-gallery-zoom-icon {
  position: absolute;
  top: 14px;
  inset-inline-end: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .9);
  color: var(--secondary-color, #292f36);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(.8);
  transition: all .25s ease;
  backdrop-filter: blur(8px);
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
}

.pdx-gallery-card:hover .pdx-gallery-zoom-icon {
  opacity: 1;
  transform: scale(1);
}

.pdx-gallery-caption {
  padding: 14px 18px;
  background: var(--surface-card);
  color: #555b64;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
  border-top: 1px solid rgba(205, 162, 116, .18);
}

@media screen and (max-width: 991px) {
  .pdx-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pdx-gallery-card.bento-wide {
    grid-column: span 2;
  }
}

@media screen and (max-width: 600px) {
  .pdx-gallery-grid {
    grid-template-columns: 1fr;
  }

  .pdx-gallery-card.bento-wide {
    grid-column: span 1;
  }

  .pdx-gallery-card.bento-wide .pdx-gallery-trigger img {
    aspect-ratio: 4 / 3;
  }
}

/* --- 7. Execution Methodology (Slim Supporting Band) ---
   Deliberately quieter than the visual sections above it: this is
   process reassurance, not the product. */
.pdx-process-section {
  padding: clamp(44px, 5vw, 66px) 0;
  background: var(--surface-card);
  border-top: 1px solid rgba(205, 162, 116, .18);
}

.pdx-process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 1.6vw, 20px);
  margin-top: clamp(24px, 3vw, 36px);
  position: relative;
}

.pdx-process-grid::before {
  content: "";
  position: absolute;
  top: 34px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg,
    rgba(205, 162, 116, .2),
    rgba(205, 162, 116, .6) 50%,
    rgba(205, 162, 116, .2));
  z-index: 1;
}

.pdx-process-card {
  position: relative;
  z-index: 2;
  background: var(--surface-card);
  border: 1px solid rgba(205, 162, 116, .26);
  border-radius: 16px;
  padding: clamp(18px, 2vw, 24px);
  box-shadow: 0 6px 16px rgba(31, 37, 45, .04);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.pdx-process-card:hover {
  transform: translateY(-3px);
  border-color: rgba(205, 162, 116, .5);
  box-shadow: 0 12px 26px rgba(31, 37, 45, .08);
}

.pdx-process-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--surface-inset);
  border: 2px solid var(--primary-color, #cda274);
  color: var(--gold-700, #8c725d);
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 12px;
  box-shadow: 0 3px 9px rgba(205, 162, 116, .2);
}

.pdx-process-title {
  margin: 0 0 8px;
  color: var(--secondary-color, #292f36);
  font-size: 16.5px;
  font-weight: 800;
  line-height: 1.45;
}

.pdx-process-desc {
  margin: 0 0 12px;
  color: #60666f;
  font-size: 14px;
  line-height: 1.75;
}

.pdx-process-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 6px;
  background: rgba(205, 162, 116, .12);
  color: #8c6d46;
  font-size: 11.5px;
  font-weight: 700;
}

@media screen and (max-width: 991px) {
  .pdx-process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pdx-process-grid::before {
    display: none;
  }
}

@media screen and (max-width: 540px) {
  .pdx-process-grid {
    grid-template-columns: 1fr;
  }
}

/* --- 8. Client Testimonial --- */
.pdx-testimonial-section {
  padding: clamp(52px, 6.5vw, 92px) 0;
  background: var(--surface-card);
  border-top: 1px solid rgba(205, 162, 116, .18);
}

.pdx-testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(20px, 2.4vw, 30px);
  margin-top: clamp(28px, 3.5vw, 44px);
}

.pdx-testimonial-grid .pdx-testimonial-card {
  max-width: none;
  margin: 0;
}

.pdx-testimonial-card {
  max-width: 880px;
  margin: 0 auto;
  background: linear-gradient(135deg, #fdfbf8 0%, #faf3eb 100%);
  border: 1px solid rgba(205, 162, 116, .38);
  border-radius: 26px;
  padding: clamp(32px, 4.8vw, 54px);
  box-shadow: 0 20px 50px rgba(205, 162, 116, .14);
  text-align: right;
  position: relative;
}

.pdx-testimonial-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}

.pdx-stars {
  color: #e6a23c;
  font-size: 22px;
  letter-spacing: 4px;
}

.pdx-verified-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(39, 174, 96, .12);
  color: #219653;
  font-size: 13px;
  font-weight: 700;
}

.pdx-quote-icon {
  width: 48px;
  height: auto;
  opacity: .5;
  margin-bottom: 16px;
}

.pdx-testimonial-text {
  margin: 0 0 26px;
  color: var(--secondary-color, #292f36);
  font-size: clamp(18.5px, 1.65vw, 23px);
  font-weight: 600;
  line-height: 2.1;
}

.pdx-testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 3px;
  border-top: 1px solid rgba(205, 162, 116, .25);
  padding-top: 18px;
}

.pdx-author-name {
  color: var(--secondary-color, #292f36);
  font-size: 17.5px;
  font-weight: 800;
}

.pdx-author-role {
  color: #8c725d;
  font-size: 14.5px;
  font-weight: 700;
}

/* --- 9. Related Projects (same design system as everything above) --- */
.pdx-related-section {
  padding: clamp(52px, 6.5vw, 92px) 0;
  background: var(--surface-inset);
  border-top: 1px solid rgba(205, 162, 116, .18);
}

.pdx-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.4vw, 30px);
}

.pdx-related-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: var(--surface-card);
  border: 1px solid rgba(205, 162, 116, .24);
  box-shadow: 0 12px 30px rgba(31, 37, 45, .06);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.pdx-related-card:hover {
  transform: translateY(-5px);
  border-color: rgba(205, 162, 116, .5);
  box-shadow: 0 22px 46px rgba(31, 37, 45, .12);
}

.pdx-related-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.pdx-related-media {
  position: relative;
  margin: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--sand-line);
}

.pdx-related-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.25, .46, .45, .94);
}

.pdx-related-card:hover .pdx-related-media img {
  transform: scale(1.055);
}

.pdx-related-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 30% 25%, rgba(205, 162, 116, .35), transparent 60%),
    var(--sand-line);
}

.pdx-related-flag {
  position: absolute;
  top: 14px;
  inset-inline-start: 14px;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(23, 27, 32, .72);
  border: 1px solid rgba(255, 255, 255, .22);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  backdrop-filter: blur(10px);
  pointer-events: none;
}

.pdx-related-body {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 20px 22px 22px;
}

.pdx-related-title {
  margin: 0;
  color: var(--secondary-color, #292f36);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.5;
}

.pdx-related-meta {
  color: #7b8088;
  font-size: 13.5px;
  font-weight: 700;
}

.pdx-related-more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 6px;
  color: var(--gold-700, #8c725d);
  font-size: 13.5px;
  font-weight: 800;
}

.pdx-related-more svg {
  transition: transform .25s ease;
}

.pdx-related-card:hover .pdx-related-more svg {
  transform: translateX(-4px);
}

@media screen and (max-width: 991px) {
  .pdx-related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 600px) {
  .pdx-related-grid {
    grid-template-columns: 1fr;
  }
}

/* --- 10. Closing High-Converting CTA Banner --- */
.pdx-cta-section {
  padding: clamp(52px, 6.5vw, 92px) 0;
  background: var(--surface-card);
}

.pdx-cta-card {
  position: relative;
  background: linear-gradient(135deg, #242930 0%, #171b20 100%);
  border-radius: 30px;
  padding: clamp(40px, 5.5vw, 70px) clamp(30px, 4.5vw, 62px);
  color: #ffffff;
  overflow: hidden;
  box-shadow: 0 28px 65px rgba(23, 27, 32, .32);
  border: 1px solid rgba(205, 162, 116, .25);
}

.pdx-cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 10% 20%, rgba(205, 162, 116, .18), transparent 48%),
                    radial-gradient(circle at 90% 80%, rgba(205, 162, 116, .12), transparent 48%);
  pointer-events: none;
}

.pdx-cta-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(290px, 1fr);
  gap: 40px;
  align-items: center;
}

.pdx-cta-kicker {
  color: var(--primary-color, #cda274);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .06em;
  margin-bottom: 12px;
}

.pdx-cta-title {
  color: #ffffff;
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 800;
  line-height: 1.35;
  margin: 0 0 18px;
}

.pdx-cta-desc {
  color: rgba(255, 255, 255, .82);
  font-size: clamp(15.5px, 1.2vw, 17.5px);
  line-height: 1.9;
  margin: 0 0 26px;
}

.pdx-cta-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pdx-cta-trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, .92);
  font-size: 14.5px;
  font-weight: 600;
}

.pdx-cta-trust li span {
  color: var(--primary-color, #cda274);
  font-weight: 800;
}

.pdx-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pdx-cta-actions .pdx-btn-primary {
  justify-content: center;
  padding: 16px 28px;
  font-size: 16px;
}

.pdx-cta-actions .pdx-btn-wa {
  justify-content: center;
  padding: 15px 24px;
  font-size: 15px;
}

@media screen and (max-width: 860px) {
  .pdx-cta-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .pdx-cta-trust {
    justify-content: center;
  }
}

/* --- 11. Lightbox --- */
.project-details-lightbox {
  padding: 0;
  border: none;
  background: transparent;
  max-width: 92vw;
  max-height: 92vh;
  margin: auto;
  overflow: visible;
}

.project-details-lightbox::backdrop {
  background: rgba(18, 22, 28, .88);
  backdrop-filter: blur(12px);
}

.project-details-lightbox-image {
  display: block;
  max-width: 90vw;
  max-height: 80vh;
  margin: 0 auto;
  border-radius: 14px;
  box-shadow: 0 26px 75px rgba(0, 0, 0, .55);
  object-fit: contain;
}

.project-details-lightbox-caption {
  margin: 14px 0 0;
  color: #e1e4e8;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
}

.project-details-lightbox-close {
  position: absolute;
  top: -48px;
  inset-inline-end: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .28);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s ease;
}

.project-details-lightbox-close:hover {
  background: rgba(255, 255, 255, .32);
  transform: scale(1.08);
}

.project-details-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .28);
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s ease;
}

.project-details-lightbox-nav:hover {
  background: var(--primary-color, #cda274);
  color: #fff;
  transform: translateY(-50%) scale(1.08);
}

.project-details-lightbox-prev {
  inset-inline-end: -62px;
}

.project-details-lightbox-next {
  inset-inline-start: -62px;
}

.project-details-lightbox-counter {
  position: absolute;
  top: -44px;
  inset-inline-start: 0;
  color: rgba(255, 255, 255, .8);
  font-size: 14px;
  font-weight: 700;
}

@media screen and (max-width: 767px) {
  .project-details-lightbox-prev {
    inset-inline-end: 10px;
    bottom: -62px;
    top: auto;
    transform: none;
  }

  .project-details-lightbox-next {
    inset-inline-start: 10px;
    bottom: -62px;
    top: auto;
    transform: none;
  }
}

/* =============================================================
   Print (Phase 2.5) - the client prints the project spec and
   takes it to the table: site chrome and interactions out,
   content and covers in, colors print-safe.
   ============================================================= */
/* ==============================================================
   Dark-mode layer (Phase 2.2) — project-details specifics:
   the text grays (kept EXACT in light mode), the hero washes,
   the hover wash, the deep-gold labels, and the ink slabs.
   ============================================================== */
[data-theme='dark'] .pdx-crumb a,
[data-theme='dark'] .pdx-jumpnav a,
[data-theme='dark'] .pdx-btn-toggle,
[data-theme='dark'] .pdx-tab-btn,
[data-theme='dark'] .pdx-related-meta,
[data-theme='dark'] .pdx-spec-header {
  color: var(--ink-400); /* captions/labels role */
}

[data-theme='dark'] .pdx-lede,
[data-theme='dark'] .pdx-blueprint-text {
  color: var(--ink-700); /* long-form copy role */
}

/* the ink slabs (white text pairs) stay dark */
[data-theme='dark'] .pdx-btn-primary,
[data-theme='dark'] .pdx-btn-wa,
[data-theme='dark'] .pdx-jumpnav a.is-active,
[data-theme='dark'] .pdx-btn-toggle.active {
  background: var(--surface-dark);
  border-color: var(--surface-dark);
}

[data-theme='dark'] .pdx-tab-btn:hover {
  background: rgba(var(--gold-500-rgb), .12);
}

[data-theme='dark'] .pdx-hero {
  background: linear-gradient(180deg, #221d16 0%, #17140f 100%);
}

[data-theme='dark'] .pdx-compare-section {
  background: linear-gradient(180deg, #241f18 0%, #1e1913 50%, #241f18 100%);
}

/* deep-gold label text flips to the light gold face */
[data-theme='dark'] .pdx-badge-gold,
[data-theme='dark'] .pdx-material-chip {
  color: var(--gold-700);
}
/* the is-active pill keeps its white label in dark (the muted-ink group
   above ties specificity with the light rule and would win by file order) */
[data-theme='dark'] .pdx-jumpnav a.is-active,
[data-theme='dark'] .pdx-btn-toggle.active {
  color: #ffffff;
}
/* the contextual conversion bands (Phase 3 #3) follow the pdx card dark tone */
[data-theme='dark'] .pdx-inline-cta {
  border-color: rgba(205, 176, 145, .26);
}

/* ==============================================================
   Contextual conversion bands (Phase 3 #3, roadmap «عايز نفس
   التشطيب ده؟ ابدأ من هنا») — one slim ask riding the end of the
   compare band and the process band; the strip keeps the pdx card
   language (soft card, gold hairline) and the site button grammar.
   ============================================================== */
.pdx-inline-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 20px;
  margin-top: clamp(30px, 4.5vw, 48px);
  padding: 18px 24px;
  background: var(--surface-card, #ffffff);
  border: 1px solid rgba(205, 162, 116, .22);
  border-radius: 16px;
  text-align: center;
}

.pdx-inline-cta-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--secondary-color, #292f36);
}

.pdx-inline-cta .pdx-btn-primary {
  padding: 12px 24px;
  font-size: 15px;
  box-shadow: 0 8px 18px rgba(31, 37, 45, .14);
}

@media (max-width: 479px) {
  .pdx-inline-cta {
    flex-direction: column;
    gap: 10px;
  }
}

/* =============================================================
   12. Print - the printed project proposal (row 9 close-out)
   The client prints this page and puts it on the table: content
   only. Interactive chrome dies on paper; every gallery photo
   prints regardless of the live filter state at Ctrl+P time;
   labels that sit over photos keep their chips (economy print
   would drop those backgrounds and leave white-on-white text).
   Note: Chromium applies max-width media queries against the
   page box when printing, so the <=991px breakpoints are the
   printing ones - these rules select by class, not breakpoint.
   ============================================================= */
@media print {
  .pdx-jumpnav,
  .pdx-cta-section,
  .pdx-related-section,
  .pdx-gallery-tabs,
  .pdx-gallery-zoom-icon,
  .pdx-tab-btn,
  .pdx-btn-toggle,
  .pdx-inline-cta,
  .pdx-actions,
  .pdx-mosaic-more-btn,
  .pdx-slider-handle,
  .project-details-lightbox {
    display: none !important;
  }

  /* buttons carry no information - the footer contact block does.
     (The pre-28 print block here also hid .site-header / .site-footer,
     classes that never render or that should stay for their contact
     matter - consolidated into this block.) */
  .pdx-btn-primary,
  .pdx-btn-wa {
    display: none !important;
  }

  /* the paper wants the whole album, not the current filter tab;
     same importance + specificity as the screen rule above, later
     file order wins the cascade */
  .pdx-gallery-card.is-hidden {
    display: block !important;
  }

  /* labels over photos: print their chips exactly */
  .pdx-mosaic-badge,
  .pdx-slider-badge,
  .pdx-badge-before-tag,
  .pdx-badge-after-tag,
  .pdx-gallery-tag {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  /* the gold radial tints are a screen-only wash; the dark-mode layer
     paints hero and compare bands with literal hex gradients at higher
     specificity, so these print truths carry !important */
  .pdx-hero {
    background: #fff !important;
  }

  .pdx-compare-section {
    background: #fff !important;
  }

  .pdx-hero::before {
    display: none;
  }

  /* ink body text on paper */
  body {
    color: var(--ink-700, #3f464f);
  }

  /* whole-block integrity in print */
  .pdx-hero,
  .pdx-specs-card,
  .pdx-spec-item,
  .pdx-spec-cta-box,
  .pdx-compare-section,
  .pdx-mosaic,
  .pdx-material-card,
  .pdx-blueprint-block,
  .pdx-process-step,
  .pdx-testimonial-card,
  .pdx-related-card,
  .pdx-gallery-card {
    break-inside: avoid;
  }
}