/* ============================================
   СтройНН — ZROBIM-style architectural magazine
   ============================================ */

/* --- Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: auto;
}

html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto;
}

body {
  overflow-x: hidden;
  background: #1b1b1b;
}

body.loaded {
  overflow: visible;
}

::selection {
  background: rgba(201, 168, 122, 0.35);
  color: #faf7f0;
}

@media (min-width: 1024px) {
  body.cursor-active, body.cursor-active * {
    cursor: none !important;
  }
}

/* --- Custom cursor --- */
#cursor, #cursor-follower {
  will-change: transform;
}

#cursor-follower.hover {
  width: 80px;
  height: 80px;
  border-color: rgba(232, 225, 211, 0.7);
}

/* --- Preloader --- */
#preloader {
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

#preloader.done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

#preloader-text {
  transition: transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}

#preloader-text.visible {
  transform: translateY(0);
}

#preloader-line {
  transition: width 2.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Header --- */
#header {
  transition: opacity 0.5s ease;
}

/* --- Pill navigation --- */
.pill-btn {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(232, 225, 211, 0.8);
  border: 1px solid rgba(232, 225, 211, 0.18);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  background: rgba(30, 28, 25, 0.4);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.pill-btn:hover {
  border-color: rgba(232, 225, 211, 0.5);
  color: #e8e1d3;
}

.pill-btn.pill-active {
  background: #e8e1d3;
  color: #1e1c19;
  border-color: #e8e1d3;
}

/* --- Burger / mobile menu --- */
#burger.active .burger-line:nth-child(1) {
  transform: rotate(45deg) translate(3px, 3px);
}

#burger.active .burger-line:nth-child(2) {
  width: 1.5rem;
  transform: rotate(-45deg) translate(2px, -2px);
}

#mobile-menu.active {
  opacity: 1;
  pointer-events: auto;
}

#mobile-menu.active .mobile-nav-link {
  transform: translateY(0);
  opacity: 1;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

#mobile-menu .mobile-nav-link:nth-child(1) { transition-delay: 0.1s; }
#mobile-menu .mobile-nav-link:nth-child(2) { transition-delay: 0.15s; }
#mobile-menu .mobile-nav-link:nth-child(3) { transition-delay: 0.2s; }
#mobile-menu .mobile-nav-link:nth-child(4) { transition-delay: 0.25s; }
#mobile-menu .mobile-nav-link:nth-child(5) { transition-delay: 0.3s; }

/* --- Hero mega title --- */
.hero-letter {
  position: relative;
  font-feature-settings: "kern" 1;
}

#hero-title {
  letter-spacing: -0.02em;
}

/* Hero image overlap */
#hero-visual {
  position: relative;
  z-index: 5;
}

/* Info card — sharp corners, strong blur */
#hero-info-card {
  border-radius: 0 !important;
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
}

#hero-image {
  transition: transform 8s ease-out;
}

/* --- Markers on hero image --- */
.marker {
  z-index: 10;
}

.marker-dot {
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #cda173;
  position: relative;
  box-shadow: 0 0 0 2px #1b1b1b, 0 0 0 3px rgba(205, 161, 115, 0.4);
  cursor: pointer;
}

.marker-dot::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 1.5px solid rgba(205, 161, 115, 0.7);
  animation: markerPulse 2s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

@keyframes markerPulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(3.5);
    opacity: 0;
  }
}

.marker[data-tip]:hover::after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  background: rgba(30, 28, 25, 0.92);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(232, 225, 211, 0.15);
  color: #e8e1d3;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 6px 12px;
  border-radius: 4px;
  pointer-events: none;
}

/* --- Service items --- */
.service-item {
  position: relative;
  overflow: hidden;
}

.service-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(201, 168, 122, 0.06), transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-item:hover::before {
  transform: translateX(0);
}

/* --- Project cards --- */
.project-card {
  display: block;
  cursor: pointer;
}

.project-card > div:first-child {
  position: relative;
}

.project-card > div:first-child::after {
  content: 'РАССЧИТАТЬ ТАКОЙ ЖЕ ДОМ →';
  position: absolute;
  inset: 0;
  background: rgba(27, 27, 27, 0.55);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cda173;
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  opacity: 0;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  z-index: 5;
}

.project-card:hover > div:first-child::after {
  opacity: 1;
}

/* --- FAQ accordion --- */
.faq-content {
  max-height: 0;
  opacity: 0;
  transition: max-height 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.5s ease;
}

.faq-item.active .faq-content {
  max-height: 400px;
  opacity: 1;
}

.faq-item.active .faq-icon {
  background: #e8e1d3;
  border-color: #e8e1d3;
}

.faq-item.active .faq-icon svg {
  transform: rotate(45deg);
  color: #1e1c19;
}

.faq-toggle {
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
}

/* --- Quiz steps --- */
.quiz-step {
  display: none;
  animation: quizFade 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.quiz-step.active {
  display: block;
}

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

/* --- Reveal animations --- */
.reveal-up {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* --- Modal --- */
#modal.active {
  opacity: 1;
  pointer-events: auto;
}

#modal.active #modal-content {
  transform: scale(1);
}

/* --- Form states --- */
.form-loading button[type="submit"] {
  position: relative;
  color: transparent;
  pointer-events: none;
}

.form-loading button[type="submit"]::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  border: 1.5px solid rgba(30, 28, 25, 0.2);
  border-top-color: #1e1c19;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-track {
  background: #1e1c19;
}

::-webkit-scrollbar-thumb {
  background: #3a3530;
  border-radius: 2px;
}

::-webkit-scrollbar-thumb:hover {
  background: #c9a87a;
}

/* --- Responsive tweaks --- */
@media (max-width: 767px) {
  .marker {
    transform: scale(0.7);
  }

  #hero-info-card {
    max-width: calc(100% - 2rem);
  }
}

/* ============================================
   PROJECT DETAIL MODAL (fullscreen)
   ============================================ */

#project-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: #1b1b1b;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  display: flex;
  flex-direction: column;
  height: 100vh;
  height: 100dvh;
  width: 100vw;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

#project-modal.active {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

/* Когда модалка открыта — блокируем фоновый скролл */
body.pm-open {
  overflow: hidden !important;
}

html.pm-open {
  overflow: hidden !important;
}

/* --- Header (now flex item, not sticky) --- */
.pm-header {
  flex-shrink: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: rgba(27, 27, 27, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(232, 225, 211, 0.08);
}

@media (min-width: 768px) {
  .pm-header {
    padding: 24px 40px;
  }
}

.pm-header-left {
  display: flex;
  align-items: baseline;
  gap: 16px;
  min-width: 0;
}

.pm-header-num {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #7e7e7e;
  font-weight: 500;
}

.pm-header-name {
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #fff;
}

.pm-header-center {
  display: none;
  align-items: center;
  gap: 16px;
}

@media (min-width: 768px) {
  .pm-header-center {
    display: flex;
  }
}

.pm-nav-btn {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(232, 225, 211, 0.18);
  border-radius: 9999px;
  background: transparent;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.pm-nav-btn:hover {
  background: #cda173;
  border-color: #cda173;
  color: #1b1b1b;
}

.pm-header-counter {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  font-weight: 500;
}

.pm-close {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(232, 225, 211, 0.18);
  border-radius: 9999px;
  background: transparent;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.pm-close:hover {
  background: #fff;
  color: #1b1b1b;
  transform: rotate(90deg);
}

/* --- Scroll container --- */
.pm-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.pm-scroll::-webkit-scrollbar {
  width: 4px;
}
.pm-scroll::-webkit-scrollbar-track { background: #1b1b1b; }
.pm-scroll::-webkit-scrollbar-thumb { background: #3a3a3a; }
.pm-scroll::-webkit-scrollbar-thumb:hover { background: #cda173; }

/* --- Container --- */
.pm-container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 768px) {
  .pm-container {
    padding: 0 40px;
  }
}

.pm-section {
  padding: 80px 0;
}

@media (min-width: 768px) {
  .pm-section {
    padding: 120px 0;
  }
}

@media (min-width: 1024px) {
  .pm-section {
    padding: 160px 0;
  }
}

/* --- HERO --- */
.pm-hero {
  position: relative;
  height: 80vh;
  min-height: 600px;
  overflow: hidden;
}

.pm-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: pmHeroZoom 8s ease-out;
}

@keyframes pmHeroZoom {
  from { transform: scale(1.1); }
  to { transform: scale(1); }
}

.pm-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(27, 27, 27, 0.95), rgba(27, 27, 27, 0.2) 50%, rgba(27, 27, 27, 0.4));
}

.pm-hero-content {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 60px;
  z-index: 2;
}

@media (min-width: 768px) {
  .pm-hero-content {
    left: 40px;
    right: 40px;
    bottom: 80px;
  }
}

.pm-hero-eyebrow {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #cda173;
  margin-bottom: 16px;
  font-weight: 500;
}

.pm-hero-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: clamp(60px, 16vw, 220px);
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: #fff;
  margin-bottom: 24px;
  position: relative;
  display: inline-block;
}

.pm-hero-script {
  font-family: 'Pinyon Script', cursive;
  font-weight: 400;
  font-size: 0.35em;
  color: #cda173;
  position: absolute;
  right: -0.2em;
  bottom: 0;
  transform: rotate(-6deg);
  letter-spacing: 0;
}

@media (max-width: 767px) {
  .pm-hero-script {
    position: static;
    display: block;
    margin-top: 8px;
    transform: rotate(-3deg);
    transform-origin: left center;
  }
}

.pm-hero-meta {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(232, 225, 211, 0.7);
  font-weight: 500;
}

/* --- Scroll hint --- */
.pm-scroll-hint {
  position: absolute;
  bottom: 24px;
  right: 24px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

@media (min-width: 768px) {
  .pm-scroll-hint {
    bottom: 40px;
    right: 40px;
  }
}

.pm-scroll-hint-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(232, 225, 211, 0.6);
  font-weight: 500;
  writing-mode: vertical-rl;
}

.pm-scroll-hint-line {
  width: 1px;
  height: 60px;
  background: rgba(232, 225, 211, 0.15);
  position: relative;
  overflow: hidden;
}

.pm-scroll-hint-line span {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 30px;
  background: #cda173;
  animation: pmScrollHint 2s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

@keyframes pmScrollHint {
  0% { transform: translateY(-100%); }
  60%, 100% { transform: translateY(200%); }
}

/* --- Eyebrows + section titles --- */
.pm-eyebrow {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #7e7e7e;
  font-weight: 500;
  margin-bottom: 24px;
}

.pm-section-header {
  margin-bottom: 60px;
}

@media (min-width: 768px) {
  .pm-section-header {
    margin-bottom: 80px;
  }
}

.pm-section-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: clamp(40px, 8vw, 120px);
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: #fff;
  margin: 0;
}

/* --- Grid utilities --- */
.pm-grid-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 32px;
}

@media (min-width: 768px) {
  .pm-grid-12 {
    gap: 60px;
  }
}

.pm-col-7, .pm-col-5 {
  grid-column: span 12;
}

@media (min-width: 1024px) {
  .pm-col-7 { grid-column: span 7; }
  .pm-col-5 { grid-column: span 5; }
}

/* --- Concept --- */
.pm-concept {
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: clamp(20px, 2.4vw, 32px);
  line-height: 1.4;
  color: rgba(232, 225, 211, 0.85);
  letter-spacing: -0.01em;
  max-width: 700px;
}

/* --- Meta table --- */
.pm-meta-table {
  border-top: 1px solid rgba(232, 225, 211, 0.1);
}

.pm-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(232, 225, 211, 0.1);
}

.pm-meta-key {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #7e7e7e;
  font-weight: 500;
  flex-shrink: 0;
}

.pm-meta-value {
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  color: #fff;
  font-weight: 600;
  text-align: right;
}

/* --- Blueprints --- */
.pm-blueprints-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 768px) {
  .pm-blueprints-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

.pm-blueprint {
  margin: 0;
}

.pm-blueprint-img-wrap {
  aspect-ratio: 4/5;
  overflow: hidden;
  background: #262626;
  border: 1px solid rgba(232, 225, 211, 0.08);
  margin-bottom: 16px;
}

.pm-blueprint-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.3) brightness(0.95);
  transition: filter 0.6s ease, transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.pm-blueprint:hover .pm-blueprint-img {
  filter: grayscale(0) brightness(1);
  transform: scale(1.03);
}

.pm-blueprint-title {
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

.pm-blueprint-caption {
  font-size: 11px;
  color: #7e7e7e;
  font-weight: 400;
}

/* --- Process: сетка 4 колонки --- */
.pm-process-wrap {
  position: relative;
  width: 100%;
}

.pm-process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  width: 100%;
}

.pm-process-step {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

@media (max-width: 1280px) {
  .pm-process-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .pm-process-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

@media (max-width: 600px) {
  .pm-process-grid { grid-template-columns: 1fr; }
}

.pm-process-img {
  aspect-ratio: 9 / 16;
  width: 100%;
  background-size: cover;
  background-position: center;
  background-color: #1a1a1a;
  margin-bottom: 20px;
  border: 1px solid rgba(232, 225, 211, 0.08);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}

.pm-process-img-video {
  background: #0a0a0a;
}

.pm-process-img-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #0a0a0a;
}

.pm-process-img-empty {
  background: rgba(255, 255, 255, 0.02);
}

.pm-blueprint-img-wrap video,
.pm-gallery-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pm-process-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 12px;
}

.pm-process-num {
  font-family: 'Manrope', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: #cda173;
  letter-spacing: -0.03em;
  line-height: 1;
}

.pm-process-duration {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #7e7e7e;
  font-weight: 500;
}

.pm-process-title {
  font-family: 'Manrope', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 12px 0;
  letter-spacing: -0.01em;
}

.pm-process-desc {
  font-size: 13px;
  color: rgba(232, 225, 211, 0.6);
  line-height: 1.6;
  font-weight: 300;
}

/* --- Galleries (exterior + interior) --- */
.pm-gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 768px) {
  .pm-gallery-grid {
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
  }

  .pm-gallery-item:nth-child(1) { grid-column: span 7; }
  .pm-gallery-item:nth-child(2) { grid-column: span 5; }
  .pm-gallery-item:nth-child(3) { grid-column: span 5; }
  .pm-gallery-item:nth-child(4) { grid-column: span 7; }
}

.pm-gallery-item {
  overflow: hidden;
  background: #262626;
}

.pm-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* --- Specs --- */
.pm-specs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 768px) {
  .pm-specs-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
  }
}

.pm-specs-group-title {
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #cda173;
  font-weight: 600;
  margin: 0 0 24px 0;
}

.pm-specs-list {
  border-top: 1px solid rgba(232, 225, 211, 0.1);
}

.pm-specs-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(232, 225, 211, 0.08);
}

.pm-specs-key {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #7e7e7e;
  font-weight: 500;
  flex-shrink: 0;
}

.pm-specs-value {
  font-size: 13px;
  color: #fff;
  font-weight: 500;
  text-align: right;
  letter-spacing: -0.01em;
}

/* --- CTA section --- */
.pm-section-cta {
  background: #262626;
}

.pm-cta-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.pm-cta-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: clamp(48px, 10vw, 140px);
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: #fff;
  margin: 0 0 24px 0;
}

.pm-cta-text {
  font-size: 16px;
  color: rgba(232, 225, 211, 0.6);
  line-height: 1.6;
  margin-bottom: 48px;
  font-weight: 300;
}

.pm-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #cda173;
  color: #1b1b1b;
  padding: 18px 40px;
  border-radius: 9999px;
  border: none;
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.pm-cta-btn:hover {
  background: #fff;
  transform: translateY(-2px);
}

.pm-cta-btn svg {
  transition: transform 0.4s ease;
}

.pm-cta-btn:hover svg {
  transform: translateX(4px);
}

/* --- Show more button --- */
.pm-show-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}
.pm-show-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 32px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 9999px;
  background: transparent;
  color: #7e7e7e;
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.4s ease;
}
.pm-show-more-btn:hover {
  border-color: #cda173;
  color: #cda173;
}
.pm-show-more-btn svg {
  transition: transform 0.3s ease;
}
.pm-show-more-btn:hover svg {
  transform: translateY(3px);
}

/* --- Project lead form overlay (like header modal) --- */
.pm-form-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.pm-form-overlay.active {
  opacity: 1;
}
.pm-form-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(27, 27, 27, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.pm-form-dialog {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin: 0 32px;
  transform: scale(0.95);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.pm-form-overlay.active .pm-form-dialog {
  transform: scale(1);
}
.pm-form-close {
  position: absolute;
  top: -48px;
  right: 0;
  background: none;
  border: none;
  color: #7e7e7e;
  cursor: pointer;
  transition: color 0.4s ease;
}
.pm-form-close:hover {
  color: #fff;
}

.pm-cta-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid rgba(232, 225, 211, 0.1);
}

.pm-cta-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: transparent;
  border: none;
  color: rgba(232, 225, 211, 0.5);
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.4s ease;
}

.pm-cta-nav-btn:hover {
  color: #cda173;
}

.pm-cta-nav-btn:first-child svg {
  transition: transform 0.4s ease;
}

.pm-cta-nav-btn:first-child:hover svg {
  transform: translateX(-4px);
}

.pm-cta-nav-btn:last-child svg {
  transition: transform 0.4s ease;
}

.pm-cta-nav-btn:last-child:hover svg {
  transform: translateX(4px);
}

/* --- Reduced motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal-up {
    opacity: 1;
    transform: none;
  }
  #preloader {
    display: none;
  }
  .marker-dot::before,
  .marker-dot::after {
    display: none;
  }
}
