/* Shared project detail page — matches site theme */
.pj-hero {
  position: relative;
  display: flex;
  align-items: center;
  padding: 100px 0 72px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--cream) 0%, var(--cream3) 45%, var(--cream2) 100%);
}

.pj-hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 48px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.pj-breadcrumb {
  font-size: .68rem;
  letter-spacing: .5px;
  color: var(--text-faint);
  margin-bottom: 18px;
}

.pj-breadcrumb a {
  color: var(--primary);
  text-decoration: none;
}

.pj-breadcrumb a:hover {
  color: var(--gold-dk);
}

.pj-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface-dark);
  color: var(--accent-on-dark);
  font-size: .58rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 18px;
}

.pj-badge--warn {
  background: #92400e;
  color: #fef3c7;
}

.pj-badge--rera {
  background: var(--gold);
  color: var(--white);
}

.pj-badge-num {
  background: rgba(255, 255, 255, .15);
  padding: 2px 9px;
  border-radius: 10px;
  font-size: .54rem;
}

.pj-hero h1 {
  font-family: var(--fd);
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--text);
  margin-bottom: 10px;
}

.pj-hero h1 em {
  font-style: italic;
  color: var(--primary);
}

.pj-hero-sub {
  font-size: .76rem;
  color: var(--text-faint);
  letter-spacing: .5px;
  margin-bottom: 18px;
}

.pj-hero-desc {
  font-size: .84rem;
  line-height: 1.95;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 28px;
}

.pj-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.pj-pill {
  padding: 6px 15px;
  border: 1.5px solid var(--border2);
  background: rgba(255, 255, 255, .75);
  font-size: .63rem;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--primary);
  border-radius: 20px;
  font-weight: 500;
}

.pj-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.pj-hero-visual {
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--border2);
  box-shadow: var(--shadow2);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--cream3), var(--cream2));
  position: relative;
}

.pj-hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pj-hero-visual-ph {
  font-size: 5rem;
  opacity: .25;
}

.pj-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.pj-about-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--r);
  border: 1px solid var(--border);
  background: var(--cream3);
}

.pj-about-ph {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--r);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  background: linear-gradient(145deg, var(--cream3), var(--cream2));
}

.pj-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.pj-gallery-item {
  margin: 0;
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 4/3;
  background: var(--cream3);
}

.pj-gallery-item--wide {
  grid-column: span 2;
  aspect-ratio: 16/9;
}

.pj-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}

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

@media (max-width: 900px) {
  .pj-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .pj-gallery-item--wide {
    grid-column: span 2;
  }
}

@media (max-width: 560px) {
  .pj-gallery {
    grid-template-columns: 1fr;
  }

  .pj-gallery-item--wide {
    grid-column: span 1;
  }
}

.pj-about-body p {
  font-size: .83rem;
  line-height: 1.95;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.pj-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.pj-chip {
  padding: 7px 16px;
  background: var(--cream3);
  color: var(--primary);
  font-size: .65rem;
  letter-spacing: .8px;
  text-transform: uppercase;
  border-radius: 20px;
  font-weight: 500;
  border: 1px solid var(--border2);
}

.pj-specs-banner {
  background: linear-gradient(135deg, var(--surface-dark) 0%, #1a4d35 60%, #0f5132 100%);
  border-radius: 14px;
  padding: 46px 50px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  color: var(--text-on-dark);
  margin-top: 36px;
}

.pj-specs-banner h3 {
  font-family: var(--fd);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.pj-specs-banner p {
  font-size: .8rem;
  line-height: 1.85;
  color: var(--text-on-dark-muted);
}

.pj-specs-rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pj-spec-row {
  background: rgba(255, 255, 255, .07);
  border-radius: 8px;
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, .1);
}

.pj-spec-row span:first-child {
  font-size: .68rem;
  color: var(--text-on-dark-muted);
  letter-spacing: .5px;
}

.pj-spec-row span:last-child {
  font-family: var(--fd);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--accent-on-dark);
}

.pj-why-g {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 48px;
}

.pj-why-c {
  background: var(--white);
  border-radius: var(--r);
  padding: 30px 26px;
  border: 1.5px solid var(--border);
  transition: all .3s;
  position: relative;
  overflow: hidden;
}

.pj-why-c::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--gold-lt));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s;
}

.pj-why-c:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.pj-why-c:hover::after {
  transform: scaleX(1);
}

.pj-why-n {
  font-family: var(--fd);
  font-size: 2.5rem;
  color: var(--cream3);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 14px;
}

.pj-why-c h3 {
  font-family: var(--fd);
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--text);
  font-weight: 600;
}

.pj-why-c p {
  font-size: .74rem;
  line-height: 1.85;
  color: var(--text-muted);
}

.pj-am-g {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 46px;
}

.pj-am {
  background: var(--white);
  border-radius: 10px;
  padding: 28px 18px;
  text-align: center;
  border: 1.5px solid var(--border);
  transition: all .3s;
}

.pj-am:hover {
  background: var(--cream2);
  border-color: var(--primary);
  transform: translateY(-3px);
}

.pj-am-ico {
  font-size: 2rem;
  margin-bottom: 10px;
}

.pj-am-t {
  font-size: .72rem;
  font-weight: 500;
  color: var(--text);
}

.pj-loc-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: start;
}

.pj-map-wrap {
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 360px;
  background: var(--cream3);
}

.pj-map-wrap iframe {
  display: block;
  width: 100%;
  height: 360px;
}

.pj-map-wrap.is-loaded {
  background: transparent;
}

.pj-dist-list {
  display: flex;
  flex-direction: column;
}

.pj-di {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.pj-di:last-child {
  border-bottom: none;
}

.pj-di-l {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pj-di-ico {
  font-size: 1.1rem;
  width: 28px;
  text-align: center;
}

.pj-di-name {
  font-size: .8rem;
  font-weight: 500;
  color: var(--text);
}

.pj-di-type {
  font-size: .63rem;
  color: var(--text-faint);
}

.pj-di-km {
  font-family: var(--fd);
  font-size: 1.1rem;
  color: var(--primary);
  font-weight: 600;
  white-space: nowrap;
}

.pj-faq-g {
  display: grid;
  gap: 12px;
  max-width: 820px;
  margin: 36px auto 0;
}

.pj-faq-item {
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: var(--white);
  overflow: hidden;
}

.pj-faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 24px;
  font-family: var(--fd);
  font-size: 1.05rem;
  color: var(--text);
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

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

.pj-faq-item summary::after {
  content: '+';
  color: var(--primary);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.pj-faq-item[open] summary::after {
  content: '−';
}

.pj-faq-answer {
  padding: 0 24px 20px;
  font-size: .82rem;
  line-height: 1.9;
  color: var(--text-muted);
}

.pj-disclaimer {
  background: #fffbeb;
  border: 1px solid #fcd34d;
  border-radius: var(--r);
  padding: 18px 22px;
  font-size: .76rem;
  line-height: 1.8;
  color: #78350f;
  margin-top: 28px;
}

@media (max-width: 1024px) {
  .pj-hero-inner {
    grid-template-columns: 1fr;
    padding: 48px 32px 60px;
  }

  .pj-about-grid,
  .pj-loc-grid,
  .pj-specs-banner {
    grid-template-columns: 1fr;
  }

  .pj-why-g {
    grid-template-columns: 1fr 1fr;
  }

  .pj-am-g {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .pj-hero-inner {
    padding: 0 20px 56px;
  }

  .pj-hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .pj-hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .pj-why-g,
  .pj-am-g {
    grid-template-columns: 1fr;
  }
}
