/* ============================================================
   PALM JEBEL ALI — EDITORIAL LUXURY REDESIGN
   Typography: Playfair Display (serif) + Inter (sans)
   Palette: Warm ivory, deep charcoal, muted gold accents
   ============================================================ */

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

:root {
  --ivory: #F5F0EB;
  --charcoal: #1A1A1A;
  --warm-gray: #6B6460;
  --muted-gold: #B8A088;
  --deep-sand: #D4C5B2;
  --off-white: #FAFAF8;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Inter', 'Helvetica Neue', sans-serif;
  --ease-luxury: cubic-bezier(0.22, 1, 0.36, 1);
  --transition-slow: 1s var(--ease-luxury);
  --transition-med: 0.6s var(--ease-luxury);
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  font-family: var(--sans);
  background: var(--ivory);
  color: var(--charcoal);
  line-height: 1.6;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: var(--sans); }

/* ---------- Preloader ---------- */
.pja-preloader {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--charcoal);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}
.pja-preloader.is-hidden {
  opacity: 0; visibility: hidden; pointer-events: none;
}
.pja-preloader__text {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 4vw, 3rem);
  color: var(--deep-sand);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0;
  animation: preloaderPulse 1.6s ease infinite alternate;
}
@keyframes preloaderPulse {
  from { opacity: 0.3; }
  to { opacity: 1; }
}

/* ---------- Navigation ---------- */
.pja-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  padding: 1.5rem 3rem;
  display: flex; align-items: center; justify-content: space-between;
  transition: background var(--transition-med), padding 0.4s ease;
}
.pja-nav.scrolled {
  background: rgba(26, 26, 26, 0.92);
  backdrop-filter: blur(12px);
  padding: 1rem 3rem;
}
.pja-nav__logo img {
  height: 36px; width: auto;
  filter: brightness(10);
  transition: filter var(--transition-med);
}
.pja-nav.scrolled .pja-nav__logo img { filter: brightness(10); }

.pja-nav__links {
  display: flex; gap: 2.5rem; list-style: none;
}
.pja-nav__links a {
  font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  transition: color var(--transition-med);
  position: relative;
}
.pja-nav__links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1px; background: var(--muted-gold);
  transition: width var(--transition-med);
}
.pja-nav__links a:hover { color: #fff; }
.pja-nav__links a:hover::after { width: 100%; }

.pja-nav__cta {
  font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
  font-weight: 500;
  color: var(--charcoal); 
  background: var(--muted-gold);
  border: 1px solid var(--muted-gold);
  padding: 0.7rem 1.8rem; 
  transition: all 0.4s var(--ease-luxury);
  box-shadow: 0 2px 12px rgba(184,160,136,0.3);
}
.pja-nav__cta:hover {
  background: #C4AD95; 
  border-color: #C4AD95;
  color: var(--charcoal);
  box-shadow: 0 4px 20px rgba(184,160,136,0.5);
  transform: translateY(-1px);
}

.pja-nav__burger {
  display: none; flex-direction: column; gap: 6px; padding: 8px;
}
.pja-nav__burger span {
  display: block; width: 28px; height: 1px; background: #fff;
  transition: transform 0.4s ease, opacity 0.3s ease;
}

/* Mobile Nav Overlay */
.pja-mobile-nav {
  position: fixed; inset: 0; z-index: 950;
  background: var(--charcoal);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: all 0.5s ease;
}
.pja-mobile-nav.open {
  opacity: 1; visibility: visible; pointer-events: all;
}
.pja-mobile-nav__close {
  position: absolute; top: 1.5rem; right: 2rem;
  color: #fff; font-size: 2rem;
}
.pja-mobile-nav a {
  font-family: var(--serif); font-size: clamp(1.5rem, 5vw, 2.5rem);
  color: rgba(255,255,255,0.8); margin: 0.5rem 0;
  transition: color 0.3s ease;
}
.pja-mobile-nav a:hover { color: var(--muted-gold); }

/* ---------- Opening Cinematic (Hero) ---------- */
.pja-opening {
  position: relative; height: 100vh; width: 100%;
  overflow: hidden; display: flex; align-items: flex-end;
}
.pja-opening__media {
  position: absolute; inset: 0; z-index: 1;
}
.pja-opening__media img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.08);
  animation: heroZoom 12s var(--ease-luxury) forwards;
}
@keyframes heroZoom {
  to { transform: scale(1); }
}
.pja-opening__overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(
    to right,
    rgba(26,26,26,0.85) 0%,
    rgba(26,26,26,0.6) 35%,
    rgba(26,26,26,0.25) 65%,
    rgba(26,26,26,0.05) 100%
  );
}
.pja-opening__content {
  position: relative; z-index: 3;
  padding: 0 6vw 8vh;
  max-width: 900px;
}
.pja-opening__eyebrow {
  font-size: 0.7rem; letter-spacing: 0.35em; text-transform: uppercase;
  color: var(--muted-gold); margin-bottom: 1.5rem;
  opacity: 0; transform: translateY(20px);
  animation: fadeSlideUp 1s 0.5s var(--ease-luxury) forwards;
}
.pja-opening__title {
  font-family: var(--serif);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 400; line-height: 1.05;
  color: #fff; margin-bottom: 1.5rem;
  opacity: 0; transform: translateY(40px);
  animation: fadeSlideUp 1.2s 0.7s var(--ease-luxury) forwards;
}
.pja-opening__subtitle {
  font-size: 1.05rem; font-weight: 300;
  color: rgba(255,255,255,0.65); max-width: 500px;
  line-height: 1.7; margin-bottom: 2.5rem;
  opacity: 0; transform: translateY(20px);
  animation: fadeSlideUp 1s 1s var(--ease-luxury) forwards;
}
.pja-opening__scroll-cue {
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  opacity: 0; animation: fadeSlideUp 1s 1.4s var(--ease-luxury) forwards;
}
.pja-opening__scroll-line {
  width: 40px; height: 1px; background: rgba(255,255,255,0.3);
  position: relative; overflow: hidden;
}
.pja-opening__scroll-line::after {
  content: ''; position: absolute; left: 0; top: 0;
  width: 100%; height: 100%; background: var(--muted-gold);
  animation: scrollLine 2s ease infinite;
}
@keyframes scrollLine {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
@keyframes fadeSlideUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Section Shared ---------- */
.pja-section {
  padding: clamp(5rem, 10vw, 10rem) clamp(2rem, 6vw, 8rem);
}
.pja-section--dark {
  background: var(--charcoal); color: var(--ivory);
}
.pja-section--cream {
  background: var(--off-white);
}

.pja-reveal {
  opacity: 0; transform: translateY(50px);
  transition: opacity 1.2s var(--ease-luxury), transform 1.2s var(--ease-luxury);
}
.pja-reveal.is-visible {
  opacity: 1; transform: translateY(0);
}

/* ---------- Prologue / Vision ---------- */
.pja-vision {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 8rem);
  align-items: center;
}
.pja-vision__text-col { max-width: 540px; }
.pja-vision__eyebrow {
  font-size: 0.65rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--muted-gold); margin-bottom: 1.5rem;
}
.pja-vision__heading {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400; line-height: 1.2;
  margin-bottom: 2rem;
}
.pja-vision__body {
  font-size: 0.95rem; line-height: 1.85;
  color: var(--warm-gray); margin-bottom: 2rem;
}
.pja-vision__stat-row {
  display: flex; gap: 3rem; margin-top: 2.5rem;
  padding-top: 2rem; border-top: 1px solid rgba(26,26,26,0.08);
}
.pja-vision__stat-num {
  font-family: var(--serif);
  font-size: clamp(2rem, 3vw, 3rem); font-weight: 400;
  color: var(--charcoal);
}
.pja-vision__stat-label {
  font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--warm-gray); margin-top: 0.3rem;
}
.pja-vision__image-col {
  position: relative;
}
.pja-vision__image-col img {
  width: 100%; aspect-ratio: 3/4; object-fit: cover;
}
.pja-vision__image-accent {
  position: absolute; bottom: -2rem; left: -2rem;
  width: 40%; aspect-ratio: 1; border: 1px solid var(--deep-sand);
  z-index: -1;
}

/* ---------- Full-Bleed Image Divider ---------- */
.pja-divider-image {
  position: relative; height: 70vh; overflow: hidden;
}
.pja-divider-image img {
  width: 100%; height: 100%; object-fit: cover;
}
.pja-divider-image__overlay {
  position: absolute; inset: 0;
  background: rgba(26,26,26,0.4);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0;
}
.pja-divider-image__text {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 3.5rem);
  font-weight: 400; color: #fff; text-align: center;
  max-width: 700px; line-height: 1.35;
  padding: 0 2rem;
}

/* ---------- Residences Showcase ---------- */
.pja-residences__header {
  text-align: center; margin-bottom: clamp(3rem, 6vw, 5rem);
}
.pja-residences__eyebrow {
  font-size: 0.65rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--muted-gold); margin-bottom: 1rem;
}
.pja-residences__title {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 400;
}

/* Villa Showcase — asymmetrical layout */
.pja-villa-showcase {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2rem, 4vw, 5rem);
  margin-bottom: clamp(5rem, 10vw, 9rem);
  align-items: center;
}
.pja-villa-showcase:nth-child(even) {
  direction: rtl;
}
.pja-villa-showcase:nth-child(even) > * {
  direction: ltr;
}
.pja-villa-showcase__image {
  position: relative; overflow: hidden;
}
.pja-villa-showcase__image img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  transition: transform 1.5s var(--ease-luxury);
}
.pja-villa-showcase:hover .pja-villa-showcase__image img {
  transform: scale(1.04);
}
.pja-villa-showcase__info {
  padding: clamp(1rem, 3vw, 3rem) 0;
}
.pja-villa-showcase__label {
  font-size: 0.65rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--muted-gold); margin-bottom: 1rem;
}
.pja-villa-showcase__name {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 400; line-height: 1.2; margin-bottom: 1.5rem;
}
.pja-villa-showcase__desc {
  font-size: 0.92rem; line-height: 1.85;
  color: var(--warm-gray); margin-bottom: 2rem;
}
.pja-villa-showcase__specs {
  display: flex; gap: 2rem; margin-bottom: 2.5rem;
  padding-bottom: 2rem; border-bottom: 1px solid rgba(26,26,26,0.08);
}
.pja-villa-showcase__spec-val {
  font-family: var(--serif); font-size: 1.4rem; color: var(--charcoal);
}
.pja-villa-showcase__spec-key {
  font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--warm-gray); margin-top: 0.2rem;
}

/* ---------- Lifestyle Amenities ---------- */
.pja-lifestyle {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1px;
  background: rgba(26,26,26,0.1);
}
.pja-lifestyle__item {
  background: var(--charcoal);
  padding: clamp(2.5rem, 4vw, 4rem);
  display: flex; flex-direction: column;
  min-height: 280px; justify-content: flex-end;
  transition: background 0.6s ease;
}
.pja-lifestyle__item:hover {
  background: #222;
}
.pja-lifestyle__icon {
  width: 40px; height: 40px; margin-bottom: 1.5rem;
  filter: brightness(0) invert(0.75);
}
.pja-lifestyle__item-title {
  font-family: var(--serif);
  font-size: 1.3rem; font-weight: 400;
  color: var(--ivory); margin-bottom: 0.8rem;
}
.pja-lifestyle__item-text {
  font-size: 0.82rem; line-height: 1.7;
  color: rgba(245,240,235,0.5);
}
.pja-lifestyle__cta-row {
  background: var(--charcoal);
  padding: clamp(3rem, 5vw, 5rem);
  display: flex; align-items: center; justify-content: center;
}

/* ---------- Gallery Mosaic ---------- */
.pja-gallery__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 0.5rem;
  height: 85vh;
}
.pja-gallery__item {
  overflow: hidden; position: relative; cursor: pointer;
}
.pja-gallery__item:nth-child(1) { grid-column: 1/6; grid-row: 1/2; }
.pja-gallery__item:nth-child(2) { grid-column: 6/10; grid-row: 1/2; }
.pja-gallery__item:nth-child(3) { grid-column: 10/13; grid-row: 1/3; }
.pja-gallery__item:nth-child(4) { grid-column: 1/4; grid-row: 2/3; }
.pja-gallery__item:nth-child(5) { grid-column: 4/7; grid-row: 2/3; }
.pja-gallery__item:nth-child(6) { grid-column: 7/10; grid-row: 2/3; }
.pja-gallery__item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease-luxury);
}
.pja-gallery__item:hover img { transform: scale(1.06); }

/* ---------- Location ---------- */
.pja-location {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 60vh;
}
.pja-location__map {
  position: relative;
}
.pja-location__map img {
  width: 100%; height: 100%; object-fit: cover;
}
.pja-location__info {
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(3rem, 6vw, 6rem);
  background: var(--charcoal); color: var(--ivory);
}
.pja-location__eyebrow {
  font-size: 0.65rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--muted-gold); margin-bottom: 1.5rem;
}
.pja-location__heading {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 400; margin-bottom: 2rem; line-height: 1.2;
}
.pja-location__body {
  font-size: 0.9rem; line-height: 1.8;
  color: rgba(245,240,235,0.6);
}

/* ---------- Developer ---------- */
.pja-developer {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(3rem, 6vw, 7rem);
  align-items: center;
}
.pja-developer__info { display: block; }
.pja-developer__eyebrow {
  font-size: 0.65rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--muted-gold); margin-bottom: 1rem;
}
.pja-developer__name {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 400; margin-bottom: 2rem;
}
.pja-developer__text {
  font-size: 0.92rem; line-height: 1.85;
  color: var(--warm-gray);
}
.pja-developer__images {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0.6rem;
}
.pja-developer__images img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover;
  transition: transform 0.6s var(--ease-luxury);
}
.pja-developer__images img:hover {
  transform: scale(1.03);
}

/* ---------- Concierge Inquiry (Lead Form) ---------- */
.pja-inquiry {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 80vh;
}
.pja-inquiry__visual {
  position: relative; overflow: hidden;
}
.pja-inquiry__visual img {
  width: 100%; height: 100%; object-fit: cover;
}
.pja-inquiry__visual-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(26,26,26,0.6), rgba(26,26,26,0.2));
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(2rem, 5vw, 5rem);
}
.pja-inquiry__visual-title {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 400; color: #fff; margin-bottom: 0.5rem;
}
.pja-inquiry__visual-sub {
  font-size: 0.85rem; color: rgba(255,255,255,0.6);
}
.pja-inquiry__form-wrap {
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(3rem, 5vw, 6rem);
  background: var(--charcoal);
}
.pja-inquiry__form-eyebrow {
  font-size: 0.65rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--muted-gold); margin-bottom: 1rem;
}
.pja-inquiry__form-title {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 400; color: var(--ivory); margin-bottom: 0.8rem;
}
.pja-inquiry__form-sub {
  font-size: 0.85rem; color: rgba(245,240,235,0.5);
  margin-bottom: 2.5rem; line-height: 1.6;
}
.pja-inquiry__field {
  margin-bottom: 1.5rem;
}
.pja-inquiry__field input,
.pja-inquiry__field select {
  width: 100%; padding: 1rem 0;
  background: transparent;
  border: none; border-bottom: 1px solid rgba(245,240,235,0.15);
  color: var(--ivory); font-size: 0.9rem;
  transition: border-color var(--transition-med);
  outline: none;
}
.pja-inquiry__field input::placeholder { color: rgba(245,240,235,0.35); }
.pja-inquiry__field input:focus {
  border-bottom-color: var(--muted-gold);
}

/* Phone Input */
.pja-phone-row {
  display: flex; align-items: center; gap: 0;
  border-bottom: 1px solid rgba(245,240,235,0.15);
  transition: border-color var(--transition-med);
}
.pja-phone-row:focus-within { border-bottom-color: var(--muted-gold); }
.pja-phone-row .pja-phone-prefix {
  display: flex; align-items: center; gap: 6px;
  padding: 1rem 0.8rem 1rem 0;
  white-space: nowrap;
}
.pja-phone-row .pja-phone-flag {
  width: 20px; height: 14px; background-size: cover;
  background-position: center; border-radius: 2px;
}
.pja-phone-row .pja-phone-code {
  font-size: 0.85rem; color: rgba(245,240,235,0.6);
}
.pja-phone-row .country-select {
  position: absolute; left: 0; top: 0;
  width: 80px; height: 100%; opacity: 0; cursor: pointer; z-index: 2;
}
.pja-phone-row .pja-phone-wrapper {
  position: relative; display: flex; align-items: center;
}
.pja-phone-row input[type="tel"] {
  flex: 1; padding: 1rem 0;
  background: transparent; border: none;
  color: var(--ivory); font-size: 0.9rem; outline: none;
}
.pja-phone-row input[type="tel"]::placeholder { color: rgba(245,240,235,0.35); }

.pja-inquiry__submit {
  margin-top: 1.5rem;
  padding: 1.15rem 2.8rem;
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--charcoal); 
  background: linear-gradient(135deg, var(--muted-gold) 0%, #C4AD95 50%, var(--muted-gold) 100%);
  background-size: 200% 200%;
  border: none; 
  width: 100%;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.5s var(--ease-luxury), box-shadow 0.5s var(--ease-luxury);
  box-shadow: 0 4px 20px rgba(184, 160, 136, 0.3);
}
.pja-inquiry__submit::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.2) 40%,
    rgba(255, 255, 255, 0.35) 50%,
    rgba(255, 255, 255, 0.2) 60%,
    transparent 100%
  );
  background-size: 250% 100%;
  animation: shimmerCTA 3s ease-in-out infinite;
}
.pja-inquiry__submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 36px rgba(184, 160, 136, 0.5);
}
.pja-inquiry__submit:active {
  transform: translateY(0);
  box-shadow: 0 2px 12px rgba(184, 160, 136, 0.2);
}

/* ---------- Footer ---------- */
.pja-footer {
  background: var(--charcoal);
  padding: clamp(3rem, 6vw, 5rem) clamp(2rem, 6vw, 8rem);
}
.pja-footer__top {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(245,240,235,0.08);
  margin-bottom: 2rem;
}
.pja-footer__logo img {
  height: 32px; filter: brightness(10);
}
.pja-footer__contact-col { text-align: right; }
.pja-footer__phone {
  font-family: var(--serif);
  font-size: 1.2rem; color: var(--ivory);
  margin-bottom: 0.5rem;
}
.pja-footer__phone a { color: var(--ivory); }
.pja-footer__social {
  display: flex; justify-content: flex-end; gap: 1rem; margin-top: 0.5rem;
}
.pja-footer__social a {
  width: 36px; height: 36px;
  border: 1px solid rgba(245,240,235,0.15);
  display: flex; align-items: center; justify-content: center;
  transition: border-color var(--transition-med);
}
.pja-footer__social a:hover { border-color: var(--muted-gold); }
.pja-footer__social a svg { width: 16px; height: 16px; fill: rgba(245,240,235,0.7); }

.pja-footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
}
.pja-footer__copy {
  font-size: 0.7rem; color: rgba(245,240,235,0.3);
  letter-spacing: 0.1em;
}
.pja-footer__bottom-links {
  display: flex; gap: 2rem; list-style: none;
}
.pja-footer__bottom-links a {
  font-size: 0.7rem; color: rgba(245,240,235,0.4);
  letter-spacing: 0.1em; text-transform: uppercase;
  transition: color 0.3s ease;
}
.pja-footer__bottom-links a:hover { color: var(--muted-gold); }

.pja-footer__disclaimer {
  border-top: 1px solid rgba(245,240,235,0.08);
  padding-top: 1.5rem;
  margin-bottom: 1.5rem;
}
.pja-footer__disclaimer p {
  font-size: 0.68rem;
  line-height: 1.7;
  color: rgba(245,240,235,0.3);
  letter-spacing: 0.02em;
  max-width: 100%;
}

/* Form consent text */
.pja-form-consent {
  font-size: 0.68rem;
  line-height: 1.5;
  color: rgba(245,240,235,0.4);
  margin-top: 0.75rem;
  text-align: center;
}
.pja-form-consent a {
  color: var(--muted-gold);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.3s ease;
}
.pja-form-consent a:hover {
  color: var(--deep-sand);
}

/* ---------- Popup / Modal ---------- */
.pja-modal-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(26,26,26,0.85);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: all 0.5s ease;
}
.pja-modal-overlay.is-open {
  opacity: 1; visibility: visible; pointer-events: all;
}
.pja-modal {
  background: var(--charcoal);
  display: grid; grid-template-columns: 1fr 1fr;
  max-width: 900px; width: 90vw; max-height: 90vh;
  overflow: hidden;
}
.pja-modal__image {
  position: relative;
}
.pja-modal__image::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(
    to top,
    rgba(26,26,26,0.7) 0%,
    rgba(26,26,26,0.25) 40%,
    rgba(26,26,26,0.05) 100%
  );
  pointer-events: none;
}
.pja-modal__image img {
  width: 100%; height: 100%; object-fit: cover;
}
.pja-modal__image-title {
  position: absolute; bottom: 2rem; left: 2rem; right: 2rem;
  font-family: var(--serif); font-size: 1.2rem;
  color: #fff; font-weight: 400;
}
.pja-modal__form {
  padding: clamp(2rem, 4vw, 3rem);
  display: flex; flex-direction: column; justify-content: center;
}
.pja-modal__form h4 {
  font-family: var(--serif); font-size: 1.3rem;
  font-weight: 400; color: var(--ivory); margin-bottom: 0.5rem;
}
.pja-modal__form p {
  font-size: 0.8rem; color: rgba(245,240,235,0.4);
  margin-bottom: 2rem;
}
.pja-modal__form .pja-inquiry__field { margin-bottom: 1.2rem; }
.pja-modal__form .pja-inquiry__submit { margin-top: 1rem; }
.pja-modal__close {
  position: absolute; top: 1.2rem; right: 1.2rem; z-index: 10;
  color: #fff; font-size: 1.5rem; padding: 0.5rem;
  opacity: 0.6; transition: opacity 0.3s ease;
}
.pja-modal__close:hover { opacity: 1; }

/* ---------- Lightbox ---------- */
.pja-lightbox {
  position: fixed; inset: 0; z-index: 3000;
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.pja-lightbox.is-open {
  opacity: 1; visibility: visible; pointer-events: all;
}
.pja-lightbox__img-wrap {
  position: relative;
  width: 90vw; height: 85vh;
  display: flex; align-items: center; justify-content: center;
  user-select: none; -webkit-user-select: none;
}
.pja-lightbox__img-wrap img {
  max-width: 100%; max-height: 100%;
  object-fit: contain;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.pja-lightbox__img-wrap img.is-fading { opacity: 0; }
.pja-lightbox__close {
  position: absolute; top: 1.5rem; right: 2rem; z-index: 10;
  color: #fff; font-size: 1.8rem; padding: 0.5rem;
  opacity: 0.6; transition: opacity 0.3s ease;
  background: none; border: none; cursor: pointer;
  font-family: var(--sans);
}
.pja-lightbox__close:hover { opacity: 1; }
.pja-lightbox__arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 10; background: none; border: none; cursor: pointer;
  color: #fff; font-size: 2.5rem; padding: 1rem;
  opacity: 0.5; transition: opacity 0.3s ease;
  font-family: var(--sans); line-height: 1;
}
.pja-lightbox__arrow:hover { opacity: 1; }
.pja-lightbox__arrow--prev { left: 1rem; }
.pja-lightbox__arrow--next { right: 1rem; }
.pja-lightbox__counter {
  position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%);
  font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

@media (max-width: 768px) {
  .pja-lightbox__arrow { font-size: 1.8rem; padding: 0.6rem; }
  .pja-lightbox__arrow--prev { left: 0.3rem; }
  .pja-lightbox__arrow--next { right: 0.3rem; }
  .pja-lightbox__img-wrap { width: 96vw; height: 80vh; }
}

/* ---------- WhatsApp Float ---------- */
.pja-whatsapp-float {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 800;
  width: 56px; height: 56px;
  background: #25D366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.pja-whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37,211,102,0.4);
}
.pja-whatsapp-float svg { width: 28px; height: 28px; }

/* ---------- CTA Button Shared ---------- */
.pja-cta-btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--charcoal); padding: 0;
  position: relative;
  transition: color 0.4s var(--ease-luxury);
}
.pja-cta-btn::after {
  content: '→'; transition: transform 0.4s var(--ease-luxury);
}
.pja-cta-btn:hover { color: var(--muted-gold); }
.pja-cta-btn:hover::after { transform: translateX(4px); }

.pja-cta-btn--light { color: #fff; }
.pja-cta-btn--light:hover { color: var(--muted-gold); }

/* ---------- Primary CTA (the big eye-catching buttons) ---------- */
.pja-cta-primary {
  display: inline-flex; align-items: center; gap: 1rem;
  font-family: var(--sans);
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, var(--charcoal) 0%, #2D2926 50%, var(--charcoal) 100%);
  background-size: 200% 200%;
  padding: 1.15rem 2.8rem;
  border: none;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.5s var(--ease-luxury), box-shadow 0.5s var(--ease-luxury);
  box-shadow: 0 4px 20px rgba(26, 26, 26, 0.25);
}
.pja-cta-primary::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(184, 160, 136, 0.15) 40%,
    rgba(212, 197, 178, 0.25) 50%,
    rgba(184, 160, 136, 0.15) 60%,
    transparent 100%
  );
  background-size: 250% 100%;
  animation: shimmerCTA 3s ease-in-out infinite;
}
.pja-cta-primary::after {
  content: '→';
  font-size: 1.1rem;
  transition: transform 0.5s var(--ease-luxury);
}
.pja-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 36px rgba(26, 26, 26, 0.35), 0 0 0 1px rgba(184, 160, 136, 0.2);
}
.pja-cta-primary:hover::after {
  transform: translateX(5px);
}
.pja-cta-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 12px rgba(26, 26, 26, 0.2);
}

@keyframes shimmerCTA {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Gold variant — for dark backgrounds */
.pja-cta-primary--gold {
  background: linear-gradient(135deg, var(--muted-gold) 0%, #C4AD95 50%, var(--muted-gold) 100%);
  background-size: 200% 200%;
  color: var(--charcoal);
  box-shadow: 0 4px 24px rgba(184, 160, 136, 0.35);
}
.pja-cta-primary--gold::before {
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.2) 40%,
    rgba(255, 255, 255, 0.35) 50%,
    rgba(255, 255, 255, 0.2) 60%,
    transparent 100%
  );
  background-size: 250% 100%;
  animation: shimmerCTA 3s ease-in-out infinite;
}
.pja-cta-primary--gold:hover {
  box-shadow: 0 8px 40px rgba(184, 160, 136, 0.5), 0 0 0 1px rgba(255,255,255,0.15);
}

/* Outline variant — secondary prominence */
.pja-cta-primary--outline {
  background: transparent;
  border: 1.5px solid var(--charcoal);
  color: var(--charcoal);
  box-shadow: none;
}
.pja-cta-primary--outline::before { display: none; }
.pja-cta-primary--outline:hover {
  background: var(--charcoal);
  color: #fff;
  box-shadow: 0 6px 28px rgba(26, 26, 26, 0.25);
}

/* Light outline — for dark backgrounds */
.pja-cta-primary--outline-light {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.35);
  color: #fff;
  box-shadow: none;
}
.pja-cta-primary--outline-light::before { display: none; }
.pja-cta-primary--outline-light:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
  box-shadow: 0 4px 20px rgba(255,255,255,0.1);
}

/* Legacy bordered for collection links (keep slim) */
.pja-cta-btn--bordered {
  border: 1px solid rgba(26,26,26,0.15);
  padding: 0.9rem 2rem; gap: 1rem;
  transition: all 0.4s var(--ease-luxury);
}
.pja-cta-btn--bordered:hover {
  background: var(--charcoal); color: #fff;
  border-color: var(--charcoal);
}
.pja-cta-btn--bordered.pja-cta-btn--light {
  border-color: rgba(255,255,255,0.2);
}
.pja-cta-btn--bordered.pja-cta-btn--light:hover {
  background: var(--muted-gold); border-color: var(--muted-gold);
  color: var(--charcoal);
}

/* ---------- Timed Popup ---------- */
.pja-timed-popup-overlay {
  position: fixed; inset: 0; z-index: 3000;
  background: rgba(26,26,26,0.8);
  backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.pja-timed-popup-overlay.is-open {
  opacity: 1; visibility: visible; pointer-events: all;
}
.pja-timed-popup {
  background: var(--charcoal);
  display: grid; grid-template-columns: 1fr 1fr;
  max-width: 820px; width: 92vw; max-height: 90vh;
  overflow: hidden;
  position: relative;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  animation: popupSlideIn 0.6s var(--ease-luxury) both;
}
@keyframes popupSlideIn {
  from { opacity: 0; transform: translateY(30px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.pja-timed-popup__close {
  position: absolute; top: 1rem; right: 1rem; z-index: 10;
  color: #fff; font-size: 1.4rem; padding: 0.5rem;
  opacity: 0.5; transition: opacity 0.3s ease;
  background: none; border: none; cursor: pointer;
}
.pja-timed-popup__close:hover { opacity: 1; }

.pja-timed-popup__visual {
  position: relative; min-height: 100%;
}
.pja-timed-popup__visual img {
  width: 100%; height: 100%; object-fit: cover;
}
.pja-timed-popup__visual-overlay {
  position: absolute; top: 0; left: 0; right: 0;
  padding: 1.5rem;
  background: linear-gradient(to bottom, rgba(26,26,26,0.6) 0%, transparent 100%);
}
.pja-timed-popup__badge {
  display: inline-block;
  font-size: 0.65rem; font-weight: 500;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--charcoal);
  background: var(--muted-gold);
  padding: 0.45rem 1.2rem;
  animation: badgePulse 2s ease-in-out infinite alternate;
}
@keyframes badgePulse {
  from { box-shadow: 0 0 0 0 rgba(184,160,136,0.4); }
  to { box-shadow: 0 0 0 8px rgba(184,160,136,0); }
}

.pja-timed-popup__content {
  padding: clamp(2rem, 4vw, 3rem);
  display: flex; flex-direction: column; justify-content: center;
}
.pja-timed-popup__title {
  font-family: var(--serif); font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  font-weight: 400; color: var(--ivory); margin-bottom: 0.6rem;
  line-height: 1.3;
}
.pja-timed-popup__sub {
  font-size: 0.82rem; color: rgba(245,240,235,0.45);
  margin-bottom: 1.8rem; line-height: 1.7;
}
.pja-timed-popup__note {
  margin-top: 1.2rem;
  font-size: 0.7rem; color: rgba(245,240,235,0.35);
  text-align: center; letter-spacing: 0.05em;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .pja-nav__links { display: none; }
  .pja-nav__burger { display: flex; }

  .pja-vision { grid-template-columns: 1fr; }
  .pja-vision__image-accent { display: none; }

  .pja-villa-showcase { grid-template-columns: 1fr; }
  .pja-villa-showcase:nth-child(even) { direction: ltr; }

  .pja-lifestyle { grid-template-columns: 1fr 1fr; }

  .pja-gallery__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    height: auto;
  }
  .pja-gallery__item:nth-child(n) { grid-column: auto; grid-row: auto; }
  .pja-gallery__item { aspect-ratio: 4/3; }

  .pja-location { grid-template-columns: 1fr; }
  .pja-location__map { min-height: 50vh; }

  .pja-developer { grid-template-columns: 1fr; }
  .pja-developer__images { order: -1; }

  .pja-inquiry { grid-template-columns: 1fr; }
  .pja-inquiry__visual { min-height: 40vh; }

  .pja-modal { grid-template-columns: 1fr; }
  .pja-modal__image { height: 200px; }

  .pja-timed-popup { grid-template-columns: 1fr; }
  .pja-timed-popup__visual { height: 180px; }
}

@media (max-width: 768px) {
  .pja-nav { padding: 1rem 1.5rem; }
  .pja-nav.scrolled { padding: 0.8rem 1.5rem; }
  .pja-nav__cta { display: none; }

  .pja-opening__content { padding: 0 1.5rem 5vh; }

  .pja-section { padding: clamp(3rem, 8vw, 6rem) 1.5rem; }

  .pja-lifestyle { grid-template-columns: 1fr; }

  .pja-gallery__grid { grid-template-columns: 1fr; }
  .pja-gallery__item { aspect-ratio: 16/9; }

  .pja-footer__top { flex-direction: column; gap: 2rem; }
  .pja-footer__contact-col { text-align: left; }
  .pja-footer__social { justify-content: flex-start; }
  .pja-footer__bottom { flex-direction: column; gap: 1rem; align-items: flex-start; }

  .pja-vision__stat-row { flex-direction: column; gap: 1.5rem; }
}

/* ---------- Utility ---------- */
.pja-sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
