/* ─────────────────────────────────────────────────────────────
   our-pro.css — Individual project page styles (antriksh, ananta-vilasa)
   Fixes applied:
   - var(--font-heading) → var(--font-display) — undefined variable was falling
     through to browser default sans-serif on amenity card headings
   - .proj-breadcrumb right: 290px removed — hardcoded pixel value caused
     overflow at mobile widths with no breakpoint override; replaced with
     position: static flow within the hero content column
   - .adv-card h3 a added — advantage headings now contain internal links (SEO),
     override needed so links don't default to browser blue/underline
   - .proj-overview__title margin-top: 0 added — tag changed from <p> to <h2>
     for correct heading hierarchy; without this, default UA h2 top margin
     would add unwanted spacing that wasn't present before
   - .proj-layout__crosslink added — new cross-link paragraph between
     Antriksh and Ananta Vilasa pages
   - All decorative section comment dividers removed
───────────────────────────────────────────────────────────── */

/* Page base */
.project-page {
  background: #000;
  color: #fff;
}

/* Section label */
.section-label {
  font-family: var(--font-accent, 'Cormorant Garamond', Georgia, serif);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold, #c8a45d);
  display: block;
  margin-bottom: 14px;
}

/* Section heading */
.section-heading {
  font-family: var(--font-display, 'Playfair Display', Georgia, serif);
  font-size: clamp(1.9rem, 3vw, 2.9rem);
  font-weight: 700;
  line-height: 1.18;
  color: #fff;
  margin-bottom: 20px;
}

.section-heading em {
  font-style: italic;
  color: var(--gold, #c8a45d);
}

/* Gold rule divider */
.gold-rule {
  width: 44px;
  height: 1px;
  background: var(--gold, #c8a45d);
  margin-bottom: 28px;
}

/* Scroll reveal base states */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-delay="1"] { transition-delay: 0.1s; }
[data-delay="2"] { transition-delay: 0.2s; }
[data-delay="3"] { transition-delay: 0.32s; }

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Shared button base */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-family: var(--font-body, 'Jost', sans-serif);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s, color 0.3s, transform 0.3s;
  border: 1px solid transparent;
  text-decoration: none;
}

.btn:hover { transform: translateY(-2px); }

.btn-gold {
  background: var(--gold, #c8a45d);
  color: #000;
}

.btn-gold:hover { background: #b8943f; }

.btn-outline-white {
  border-color: rgba(255,255,255,0.35);
  color: #fff;
  background: rgba(255,255,255,0.05);
}

.btn-outline-white:hover {
  border-color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.1);
}

/* Hero secondary button */
.btn-proj-secondary {
  margin-top: 21px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  font-family: var(--font-body, 'Jost', sans-serif);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 4px;
  border: 1px solid rgba(200,164,93,0.55);
  color: var(--gold, #c8a45d);
  background: rgba(200,164,93,0.08);
  text-decoration: none;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
}

.btn-proj-secondary:hover {
  background: rgba(200,164,93,0.18);
  border-color: rgba(200,164,93,0.9);
  transform: translateY(-2px);
}

.btn-proj-secondary i { font-size: 13px; }

/* Hero section */
.proj-hero {
  position: relative;
  height: 40vh;
  min-height: 380px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-top: 100px;
}

.proj-hero__bg {
  position: absolute;
  inset: 0;
}

.proj-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.proj-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.95) 0%,
    rgba(0,0,0,0.55) 40%,
    rgba(0,0,0,0.20) 100%
  );
}

.proj-hero__content {
  position: relative;
  z-index: 2;
  padding-top: 140px;
  padding-bottom: 80px;
}

/* Kicker pill */
.proj-hero__kicker {
  display: inline-block;
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: 0.80rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(212,175,100,0.9);
  border: 1px solid rgba(212,175,100,0.4);
  border-radius: 999px;
  padding: 7px 18px;
  margin-top: 0;
  margin-bottom: 20px;
}

/* Hero title */
.proj-hero__title {
  font-family: var(--font-display, 'Playfair Display', Georgia, serif);
  font-size: clamp(1.6rem, 3vw, 3rem);
  font-weight: 700;
  line-height: 1.08;
  color: #fff;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.proj-hero__title em {
  font-style: italic;
  color: var(--gold, #c8a45d);
}

/* Hero subtitle */
.proj-hero__subtitle {
  font-family: var(--font-body, 'Jost', sans-serif);
  font-size: 15px;
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.04em;
  margin-bottom: 32px;
  max-width: 480px;
}

/* Scroll hint */
.proj-hero__scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.proj-hero__scroll-hint span {
  display: block;
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, transparent, var(--gold, #c8a45d));
  margin: auto;
  animation: scrollPulse 1.8s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 0; }
  40%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  60%  { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* Breadcrumb — static flow inside hero content; absolute positioning removed
   because the hardcoded right: 290px caused horizontal overflow at mobile widths */
.proj-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  font-family: var(--font-body, 'Jost', sans-serif);
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.45);
}

.proj-breadcrumb a {
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.3s;
}

.proj-breadcrumb a:hover { color: var(--gold, #c8a45d); }
.proj-breadcrumb span:last-child { color: var(--gold, #c8a45d); }

/* Advantages section */
.proj-advantages {
  padding: 100px 0 110px;
  background: #000;
  overflow: hidden;
  position: relative;
}

/* Ambient glow behind advantage cards */
.proj-advantages::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(200,164,93,0.07) 0%, transparent 70%);
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.proj-advantages__header {
  text-align: center;
  margin-bottom: 70px;
  position: relative;
  z-index: 2;
}

.proj-advantages__header .gold-rule { margin: 0 auto; }

.proj-advantages__subtitle {
  max-width: 700px;
  margin: 20px auto 0;
  color: rgba(255,255,255,0.65);
  line-height: 1.8;
  font-size: 15px;
}

/* 4-column advantages grid */
.adv-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 2;
}

/* Advantage card */
.adv-card {
  background: linear-gradient(145deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 34px 26px;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: 0.4s ease;
  position: relative;
  overflow: hidden;
}

/* Gold top bar reveals on hover */
.adv-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(to right, #c8a45d, #f3d392);
  transition: 0.4s;
}

.adv-card:hover::before { width: 100%; }

.adv-card:hover {
  transform: translateY(-8px);
  border-color: rgba(200,164,93,0.4);
  box-shadow: 0 18px 40px rgba(0,0,0,0.45);
}

.adv-card i {
  font-size: 34px;
  color: var(--gold, #c8a45d);
  margin-bottom: 20px;
}

.adv-card h3 {
  color: #fff;
  font-size: 18px;
  margin-bottom: 12px;
  font-family: var(--font-display, 'Playfair Display', Georgia, serif);
}

/* New: some advantage headings now contain links to related pages (internal
   linking for SEO). Without this override, the <a> would inherit browser
   default blue/underline instead of matching the plain-text headings. */
.adv-card h3 a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s;
}

.adv-card h3 a:hover {
  color: var(--gold, #c8a45d);
}

.adv-card p {
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  font-size: 14px;
}

/* Project overview section */
.proj-overview {
  padding: 70px 0 90px;
  background: #000;
  overflow: visible;
}

/* Glassmorphic card with background image */
.proj-overview__card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  min-height: 420px;
  display: flex;
  align-items: center;
  box-shadow: 0 18px 45px rgba(0,0,0,0.28);
}

.proj-overview__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.proj-overview__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.proj-overview__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(35,28,15,0.419), rgba(0,0,0,0.35));
}

.proj-overview__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  width: 100%;
  gap: 0;
}

/* Pin image — decorative left element */
.proj-overview__pin {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  width: 360px;
  margin-left: -20px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  align-self: stretch;
}

.proj-overview__pin img {
  width: 360px;
  height: auto;
  display: block;
  filter: drop-shadow(0 16px 32px rgba(0,0,0,0.35));
  margin-bottom: -4px;
}

/* Overview stats content */
.proj-overview__content {
  flex: 1;
  padding: 44px 52px 44px 18px;
}

.proj-overview__title {
  font-family: var(--font-body, 'Jost', sans-serif);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  /* margin-top: 0 added — tag changed from <p> to <h2> for correct heading
     hierarchy; without this the browser's default h2 top margin adds
     unwanted spacing above this label that wasn't there before */
  margin-top: 0;
  margin-bottom: 26px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* 2-column stat cards */
.proj-overview__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.ov-card {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.26);
  border-radius: 18px;
  padding: 30px 28px;
  backdrop-filter: blur(8px);
  transition: transform 0.28s ease, background 0.28s ease, box-shadow 0.28s ease;
  box-shadow: 0 10px 24px rgba(0,0,0,0.12);
}

.ov-card:hover {
  background: rgba(255,255,255,0.24);
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0,0,0,0.18);
}

.ov-card__icon {
  font-size: 40px;
  color: #fff;
  margin-bottom: 18px;
}

.ov-card__num {
  font-family: var(--font-body, 'Jost', sans-serif);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  color: #fff;
  margin-bottom: 10px;
}

.ov-card__label {
  font-family: var(--font-body, 'Jost', sans-serif);
  font-size: 15px;
  font-weight: 600;
  color: rgba(255,255,255,0.95);
  line-height: 1.45;
}

.proj-overview__dl {
  margin-top: 28px;
  display: flex;
  justify-content: center;
}

/* Download brochure button */
.btn-dl {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 34px;
  font-family: var(--font-body, 'Jost', sans-serif);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  background: var(--gold, #c8a45d);
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.18);
  cursor: pointer;
  transition: transform 0.28s ease, background 0.28s ease, box-shadow 0.28s ease;
  box-shadow: 0 10px 24px rgba(200,164,93,0.4);
}

.btn-dl:hover {
  background: #b8943f;
  transform: translateY(-2px);
}

/* Premium amenities section */
.proj-amenities {
  position: relative;
  padding: 120px 0;
  background: #050505;
  overflow: hidden;
}

/* Ambient radial glow */
.proj-amenities::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  background: rgba(201,153,74,0.08);
  filter: blur(120px);
  top: -120px;
  right: -120px;
  border-radius: 50%;
}

.proj-amenities__header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 70px;
  position: relative;
  z-index: 2;
}

.amenities-subtext {
  margin-top: 18px;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255,255,255,0.65);
}

/* 4-column amenities grid */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 2;
}

/* Amenity card */
.amenity-card {
  position: relative;
  padding: 38px 28px;
  background: linear-gradient(145deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  text-align: center;
  transition: all 0.4s ease;
  overflow: hidden;
  backdrop-filter: blur(8px);
}

/* Gold top bar reveals on hover */
.amenity-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(to right, #d4a24c, #f6d58a);
  transition: 0.4s ease;
}

.amenity-card:hover::before { width: 100%; }

.amenity-card:hover {
  transform: translateY(-10px);
  border-color: rgba(212,162,76,0.5);
  box-shadow: 0 18px 40px rgba(0,0,0,0.45);
}

/* Icon container */
.amenity-card__icon {
  width: 74px;
  height: 74px;
  margin: 0 auto 22px;
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(212,162,76,0.18), rgba(212,162,76,0.05));
  border: 1px solid rgba(212,162,76,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s ease;
}

.amenity-card:hover .amenity-card__icon {
  transform: rotate(-6deg) scale(1.08);
}

.amenity-card__icon i {
  font-size: 28px;
  color: #d4a24c;
}

.amenity-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
  font-family: var(--font-display, 'Playfair Display', Georgia, serif);
}

.amenity-card p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.68);
}

/* Gallery section */
.proj-gallery {
  background: #000;
  padding: 0;
  line-height: 0;
}

/* Mosaic grid layout — 4 columns, 2 rows, spanning items */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr 1.3fr;
  grid-template-rows: 1fr 1fr;
  gap: 4px;
  height: 560px;
}

.gallery-item:nth-child(1) { grid-column: 1;     grid-row: 1 / 3; }
.gallery-item:nth-child(2) { grid-column: 2 / 4;  grid-row: 1; }
.gallery-item:nth-child(3) { grid-column: 4;       grid-row: 1; }
.gallery-item:nth-child(4) { grid-column: 2;       grid-row: 2; }
.gallery-item:nth-child(5) { grid-column: 3 / 5;   grid-row: 2; }

.gallery-item {
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

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

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

.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.gallery-item:hover .gallery-item__overlay { background: rgba(0,0,0,0.35); }

.gallery-item__zoom {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.8);
  background: rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.3s, transform 0.3s;
}

.gallery-item:hover .gallery-item__zoom {
  opacity: 1;
  transform: scale(1);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox.is-open { display: flex; }

.lightbox__inner {
  position: relative;
  max-width: 1100px;
  width: 100%;
  max-height: 90vh;
}

.lightbox__img {
  width: 100%;
  max-height: 85vh;
  object-fit: contain;
  display: block;
  border-radius: 4px;
}

.lightbox__close {
  position: absolute;
  top: -48px;
  right: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  background: transparent;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.lightbox__close:hover { background: rgba(255,255,255,0.1); }

.lightbox__prev,
.lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(0,0,0,0.5);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, border-color 0.3s;
}

.lightbox__prev { left: -60px; }
.lightbox__next { right: -60px; }

.lightbox__prev:hover,
.lightbox__next:hover {
  background: rgba(200,164,93,0.2);
  border-color: var(--gold, #c8a45d);
}

.lightbox__counter {
  position: absolute;
  bottom: -36px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-body, 'Jost', sans-serif);
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.1em;
}

/* Plot layout section */
.proj-layout {
  padding: 100px 0;
  background: #000;
}

.proj-layout__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.proj-layout__img-wrap {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
}

.proj-layout__img-wrap img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.proj-layout__img-wrap:hover img { transform: scale(1.02); }

.proj-layout__img-border {
  position: absolute;
  inset: 12px -12px -12px 12px;
  border: 1px solid rgba(200,164,93,0.2);
  border-radius: 4px;
  pointer-events: none;
}

.proj-layout__project-title {
  font-family: var(--font-display, 'Playfair Display', Georgia, serif);
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 16px;
}

.proj-layout__project-title em {
  font-style: italic;
  color: var(--gold, #c8a45d);
}

.proj-layout__sub {
  font-family: var(--font-body, 'Jost', sans-serif);
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.06em;
  margin-bottom: 36px;
}

.proj-layout__divider {
  width: 44px;
  height: 1px;
  background: var(--gold, #c8a45d);
  margin-bottom: 32px;
}

.proj-layout__label {
  font-family: var(--font-accent, 'Cormorant Garamond', Georgia, serif);
  font-size: 1.35rem;
  font-style: italic;
  color: rgba(255,255,255,0.7);
  margin-bottom: 28px;
  display: block;
}

/* New: cross-link paragraph between Antriksh and Ananta Vilasa pages */
.proj-layout__crosslink {
  font-family: var(--font-body, 'Jost', sans-serif);
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  margin-top: -8px;
  margin-bottom: 26px;
}

.proj-layout__crosslink a {
  color: var(--gold, #c8a45d);
  text-decoration: underline;
  transition: color 0.3s;
}

.proj-layout__crosslink a:hover {
  color: #fff;
}

.proj-layout__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Site visit CTA button */
.btn-site-visit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-family: var(--font-body, 'Jost', sans-serif);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 3px;
  background: var(--gold, #c8a45d);
  color: #000;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.btn-site-visit:hover {
  background: #b8943f;
  transform: translateY(-2px);
}

/* Local container override — project pages use 1240px max-width
   (slightly tighter than the global 1300px for better reading rhythm) */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ─────────────────────────────────────────────────────────
   Responsive breakpoints
───────────────────────────────────────────────────────── */

@media (max-width: 1100px) {
  /* Overview: stack pin image above content */
  .proj-overview__inner   { flex-direction: column; gap: 0; padding: 40px 0 0; }
  .proj-overview__pin     { width: 160px; margin-left: 0; align-self: center; }
  .proj-overview__pin img { width: 140px; max-width: 100%; }
  .proj-overview__content { padding: 28px 36px 40px; width: 100%; min-width: 0; }
  .proj-overview__card    { min-height: auto; }
}

@media (max-width: 1024px) {
  /* Layout: single column */
  .proj-layout__inner    { grid-template-columns: 1fr; gap: 40px; }
  .proj-layout__img-border { display: none; }

  .gallery-grid          { height: 400px; }
  .adv-grid              { grid-template-columns: repeat(2, 1fr); }

  /* Amenities: 3-col at tablet — avoids cramped 2-col word-wrap */
  .amenities-grid        { grid-template-columns: repeat(3, 1fr); gap: 18px; }

  /* Lightbox nav pulled inside frame */
  .lightbox__prev        { left: 8px; }
  .lightbox__next        { right: 8px; }
}

@media (max-width: 768px) {
  /* Hero */
  .proj-hero             { height: auto; min-height: 380px; padding-top: 80px; align-items: flex-end; }
  .proj-hero__content    { padding-top: 100px; padding-bottom: 50px; }
  .proj-hero__title      { font-size: clamp(2rem, 7vw, 3.2rem); }
  .proj-hero__subtitle   { max-width: 100%; }

  /* Advantages */
  .proj-advantages       { padding: 60px 0 70px; }
  .proj-advantages__header { margin-bottom: 36px; }
  .adv-grid              { grid-template-columns: repeat(2, 1fr); gap: 14px; }

  /* Overview */
  .proj-overview         { padding: 50px 0 60px; }
  .proj-overview__inner  { flex-direction: column; gap: 0; padding: 30px 0 0; }
  .proj-overview__pin    { width: 130px; margin-left: 0; align-self: center; padding-bottom: 0; }
  .proj-overview__pin img { width: 110px; max-width: 100%; margin-bottom: 0; }
  .proj-overview__content { padding: 20px 24px 32px; min-width: 0; }
  .proj-overview__title  { font-size: 15px; margin-bottom: 18px; }
  .proj-overview__cards  { grid-template-columns: 1fr 1fr; gap: 12px; }
  .ov-card               { min-height: 130px; padding: 20px 16px; border-radius: 14px; }
  .ov-card__icon         { font-size: 28px; margin-bottom: 10px; }
  .ov-card__num          { font-size: clamp(1.8rem, 7vw, 2.4rem); margin-bottom: 6px; }
  .ov-card__label        { font-size: 13px; line-height: 1.35; }
  .proj-overview__dl     { margin-top: 20px; }
  .btn-dl                { width: 100%; justify-content: center; padding: 13px 24px; font-size: 12px; }

  /* Amenities */
  .proj-amenities        { padding: 70px 0; }
  .proj-amenities__header { margin-bottom: 36px; }
  .amenities-grid        { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .amenity-card          { padding: 28px 20px; border-radius: 18px; }
  .amenity-card__icon    { width: 58px; height: 58px; margin-bottom: 16px; }
  .amenity-card__icon i  { font-size: 22px; }
  .amenity-card h3       { font-size: 15px; margin-bottom: 8px; line-height: 1.3; }
  .amenity-card p        { font-size: 13px; line-height: 1.6; }

  /* Gallery: 2-column layout */
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    height: auto;
  }
  .gallery-item:nth-child(1) { grid-column: 1;      grid-row: 1; }
  .gallery-item:nth-child(2) { grid-column: 2;      grid-row: 1; }
  .gallery-item:nth-child(3) { grid-column: 1;      grid-row: 2; }
  .gallery-item:nth-child(4) { grid-column: 2;      grid-row: 2; }
  .gallery-item:nth-child(5) { grid-column: 1 / -1; grid-row: 3; }
  .gallery-item              { aspect-ratio: 4/3; }

  .lightbox__prev { left: 4px; }
  .lightbox__next { right: 4px; }

  /* Layout */
  .proj-layout           { padding: 60px 0; }
  .proj-layout__inner    { gap: 36px; }
}

@media (max-width: 576px) {
  .container             { padding: 0 18px; }

  /* Hero */
  .proj-hero__content    { padding-top: 90px; padding-bottom: 44px; }
  .proj-hero__kicker     { font-size: 0.70rem; padding: 5px 13px; }
  .proj-breadcrumb       { font-size: 12px; gap: 6px; margin-top: 16px; }

  /* Advantages: single column so card text has room */
  .proj-advantages       { padding: 50px 0 55px; }
  .proj-advantages__header { margin-bottom: 28px; }
  .adv-grid              { grid-template-columns: 1fr; gap: 12px; }
  .adv-card              { padding: 26px 22px; border-radius: 18px; }
  .adv-card i            { font-size: 28px; margin-bottom: 14px; }
  .adv-card h3           { font-size: 16px; }

  /* Overview */
  .proj-overview         { padding: 44px 0 52px; }
  .proj-overview__pin    { width: 100px; }
  .proj-overview__pin img { width: 88px; }
  /* Stat cards: row layout saves vertical space */
  .proj-overview__cards  { grid-template-columns: 1fr; gap: 10px; }
  .ov-card               { min-height: auto; flex-direction: row; align-items: center; gap: 16px; padding: 18px 20px; }
  .ov-card__icon         { font-size: 26px; margin-bottom: 0; flex-shrink: 0; }
  .ov-card__num          { font-size: 2rem; margin-bottom: 2px; }
  .ov-card__label        { font-size: 13px; }

  /* Amenities: 2-col at 576 — 1-col only at 400px */
  .proj-amenities        { padding: 55px 0; }
  .proj-amenities__header { margin-bottom: 28px; }
  .amenities-grid        { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .amenity-card          { padding: 22px 14px; border-radius: 14px; }
  .amenity-card__icon    { width: 52px; height: 52px; border-radius: 14px; }
  .amenity-card__icon i  { font-size: 20px; }
  .amenity-card h3       { font-size: 14px; }
  .amenity-card p        { font-size: 12px; line-height: 1.55; }

  /* Layout actions */
  .proj-layout           { padding: 50px 0; }
  .proj-layout__actions  { flex-direction: column; }
  .proj-layout__actions .btn-site-visit,
  .proj-layout__actions .btn { width: 100%; justify-content: center; }
}

@media (max-width: 400px) {
  .container             { padding: 0 14px; }
  .proj-hero__title      { font-size: clamp(1.7rem, 9vw, 2.4rem); }

  /* Amenities: 1-col at smallest screens — row layout for readability */
  .amenities-grid        { grid-template-columns: 1fr; gap: 10px; }
  .amenity-card          { padding: 22px 20px; text-align: left; display: flex; flex-direction: row; align-items: center; gap: 16px; }
  .amenity-card__icon    { flex-shrink: 0; margin: 0; width: 52px; height: 52px; }
  /* Disable icon rotation in row layout — looks odd when horizontal */
  .amenity-card:hover .amenity-card__icon { transform: none; }
  .amenity-card h3       { font-size: 15px; margin-bottom: 4px; text-align: left; }
  .amenity-card p        { font-size: 13px; text-align: left; }

  .adv-card              { padding: 22px 18px; }

  /* Gallery: single column */
  .gallery-grid          { grid-template-columns: 1fr; }
  .gallery-item:nth-child(1),
  .gallery-item:nth-child(2),
  .gallery-item:nth-child(3),
  .gallery-item:nth-child(4),
  .gallery-item:nth-child(5) { grid-column: 1; grid-row: auto; }

  .lightbox              { padding: 10px; }
  .lightbox__close       { top: -40px; width: 38px; height: 38px; }
}