/* ============================================================
   COMPONENTS.CSS — BVardhan Group
   Reusable components: cards, forms, footer, WhatsApp, etc.
   ============================================================ */

/* ── Project Cards ──────────────────────────────────────── */
.project-card {
  background: var(--white);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease,
              border-color 0.3s ease;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.10);
  border-color: var(--gold);
}

.project-card__image {
  width: 100%;
  aspect-ratio: 16/9;
}

.project-card__body {
  padding: 28px;
}

.project-card__location {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--stone);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.project-card__name {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 12px;
  line-height: 1.2;
}

.project-card__config {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--espresso);
  margin-bottom: 16px;
}

.project-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  margin-top: 16px;
}

.project-card__link {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--gold);
  text-transform: uppercase;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease;
}

.project-card__link:hover {
  gap: 10px;
}

/* ── Stats / Counter Strip ──────────────────────────────── */
.stats-strip {
  background: var(--ivory);
  padding: 60px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-item {
  text-align: center;
  padding: 24px 32px;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--border);
}

.stat-number {
  font-family: var(--font-serif);
  font-size: clamp(40px, 5vw, 60px);
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  display: block;
}

.stat-label {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone);
  margin-top: 8px;
  display: block;
}

/* ── Differentiators Grid ───────────────────────────────── */
.differ-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.differ-item {
  padding: 48px 40px;
  border-right: 1px solid rgba(248,245,239,0.08);
  text-align: center;
}

.differ-item:last-child {
  border-right: none;
}

.differ-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 24px;
  color: var(--gold);
}

.differ-title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--ivory);
  margin-bottom: 12px;
}

.differ-text {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  color: var(--stone);
  line-height: 1.7;
}

/* ── Testimonials ───────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 40px 36px;
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  font-family: var(--font-serif);
  font-size: 80px;
  font-weight: 300;
  color: var(--gold);
  opacity: 0.3;
  position: absolute;
  top: 16px;
  left: 28px;
  line-height: 1;
  pointer-events: none;
}

.testimonial-quote {
  font-family: var(--font-sans);   /* Marcellus SC has no italic — keep quotes in Montserrat italic */
  font-style: italic;
  font-size: 16px;
  font-weight: 300;
  color: var(--espresso);
  line-height: 1.8;
  margin-bottom: 24px;
  margin-top: 24px;
}

.testimonial-name {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--charcoal);
  display: block;
}

.testimonial-role {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--stone);
  display: block;
  margin-top: 4px;
}

/* ── Forms ──────────────────────────────────────────────── */
.form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--border-solid);
  border-radius: 1px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  color: var(--charcoal);
  transition: border-color 0.2s ease;
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--gold);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--stone);
  opacity: 0.7;
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237B7B7B' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
  cursor: pointer;
}

/* Dark form variant */
.form--dark .form-input,
.form--dark .form-select,
.form--dark .form-textarea {
  background: rgba(255,255,255,0.05);
  border-color: rgba(184,155,94,0.3);
  color: var(--ivory);
}

.form--dark .form-input:focus,
.form--dark .form-select:focus,
.form--dark .form-textarea:focus {
  border-color: var(--gold);
}

.form--dark .form-input::placeholder,
.form--dark .form-textarea::placeholder {
  color: var(--stone);
}

.form--dark .form-label {
  color: rgba(248,245,239,0.5);
}

.form--dark .form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23B89B5E' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
}

.form-submit {
  width: 100%;
  padding: 16px;
  background: var(--charcoal);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--charcoal);
  border-radius: 1px;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.form-submit:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: var(--white);
}

/* Dark form variant — black button would vanish on dark, so invert */
.form--dark .form-submit {
  background: var(--white);
  color: var(--charcoal);
  border-color: var(--white);
}

.form--dark .form-submit:hover {
  background: var(--gold-light);
  color: var(--charcoal);
  border-color: var(--gold-light);
}

.form-disclaimer {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 300;
  color: var(--stone);
  line-height: 1.6;
}

/* ── Timeline ───────────────────────────────────────────── */
.timeline {
  position: relative;
  padding-left: 58px;
}

/* faint full rail */
.timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--border);
}

/* gold line that draws itself downward as you scroll */
.timeline__line {
  position: absolute;
  left: 7px;
  top: 8px;
  width: 2px;
  height: 0;
  background: linear-gradient(var(--gold-light), var(--gold));
  z-index: 1;
}
@media (prefers-reduced-motion: no-preference) {
  .timeline__line { transition: height 0.12s linear; }
}

.timeline-item {
  position: relative;
  padding-bottom: 56px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

/* marker — hollow until the line reaches it, then it lights up */
.timeline-item::before {
  content: '';
  position: absolute;
  left: -57px;
  top: 12px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--ivory-deep);
  border: 2px solid var(--border-solid);
  z-index: 2;
  transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}
.timeline-item.is-reached::before {
  background: var(--gold-light);
  border-color: var(--gold-light);
  box-shadow: 0 0 0 5px rgba(221,153,51,0.16);
}

.timeline-year {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(28px, 5vw, 46px);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1;
  color: var(--gold);
  opacity: 0.5;
  margin-bottom: 10px;
  transition: opacity 0.5s ease;
}
.timeline-item.is-reached .timeline-year { opacity: 1; }

.timeline-title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 8px;
}

.timeline-text {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  color: var(--stone);
  line-height: 1.7;
  max-width: 560px;
}

/* ── Day / Night comparison slider ──────────────────────── */
.compare {
  --split: 50%;
  position: relative;
  width: min(440px, 100%);
  margin: 0 auto;
  aspect-ratio: 350 / 500;
  overflow: hidden;
  border-radius: 2px;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;        /* let the handle drag without scrolling the page */
}
.compare img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}
.compare__day {
  clip-path: inset(0 calc(100% - var(--split)) 0 0);
}
.compare__label {
  position: absolute;
  top: 14px;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(0,0,0,0.4);
  padding: 4px 10px;
  border-radius: 2px;
  pointer-events: none;
}
.compare__label--day { left: 14px; }
.compare__label--night { right: 14px; }
.compare__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--split);
  width: 2px;
  background: var(--gold-light);
  transform: translateX(-1px);
  cursor: ew-resize;
}
.compare__grip {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 14px rgba(0,0,0,0.45);
}
.compare__grip svg { width: 20px; height: 20px; color: var(--charcoal); }
.compare__handle:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* ── Mumbai footprint map ───────────────────────────────── */
/* Two-column map block: project list (left) + map (right) */
.mapsec {
  display: flex;
  max-width: 1100px;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
  min-height: 500px;
}
.mapsec__list {
  flex: 0 0 290px;
  max-height: 500px;
  overflow-y: auto;
  background: #0d0d0d;
  border-right: 1px solid var(--border);
}
.mapsec__item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 18px 22px;
  background: none;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  border-left: 3px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.mapsec__item:hover { background: rgba(255,255,255,0.04); }
.mapsec__item.is-active { background: rgba(221,153,51,0.09); border-left-color: var(--gold-light); }
.mapsec__item-name {
  display: block; font-family: var(--font-serif); font-size: 17px;
  color: var(--ivory); line-height: 1.15; margin-bottom: 4px;
}
.mapsec__item-area {
  display: block; font-family: var(--font-sans); font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-light);
}
.mapsec__item-status {
  display: block; font-family: var(--font-sans); font-size: 11px;
  font-weight: 300; color: var(--stone); margin-top: 4px;
}
.mapsec__map {
  flex: 1 1 auto;
  height: 500px; width: auto;
  background: #0a0a0a;
  z-index: 1;                       /* keep Leaflet panes under the site nav */
}
@media (max-width: 760px) {
  /* Stack as two separate cards with clear space between them (phone only) */
  .mapsec { flex-direction: column; min-height: 0; border: none; overflow: visible; gap: 22px; }
  .mapsec__list {
    flex: none; max-height: 240px;
    border: 1px solid var(--border); border-radius: 2px;
  }
  .mapsec__map {
    height: 380px;
    border: 1px solid var(--border); border-radius: 2px; overflow: hidden;
  }
}
/* Gold project marker */
.mapmark__dot {
  display: block; width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--gold-light);
  border: 2px solid #000;
  box-shadow: 0 0 0 4px rgba(221,153,51,0.28), 0 2px 6px rgba(0,0,0,0.5);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
/* Highlighted marker (clicked from the side list) — no zoom, just stands out */
.mapmark--active { z-index: 1000 !important; }
.mapmark--active .mapmark__dot {
  transform: scale(1.45);
  box-shadow: 0 0 0 6px rgba(221,153,51,0.40), 0 2px 10px rgba(0,0,0,0.6);
}
/* Branded Leaflet popup */
.leaflet-popup-content-wrapper {
  background: var(--ivory); color: var(--charcoal);
  border-radius: 2px; box-shadow: 0 12px 44px rgba(0,0,0,0.5);
}
.leaflet-popup-content { margin: 14px 18px; }
.leaflet-popup-tip { background: var(--ivory); }
.mappop__area {
  display: block; font-family: var(--font-sans); font-size: 10px;
  letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px;
}
.mappop__name {
  display: block; font-family: var(--font-serif); font-size: 20px;
  color: var(--charcoal); line-height: 1.1; margin-bottom: 6px;
}
.mappop__status {
  display: block; font-family: var(--font-sans); font-size: 12px; color: var(--stone); margin-bottom: 10px;
}
.leaflet-popup-content a.mappop__link {
  display: block; margin-top: 4px;
  font-family: var(--font-sans); font-size: 12px; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold-dark); text-decoration: none;
}
.leaflet-popup-content a.mappop__link:hover { color: var(--charcoal); }
.leaflet-popup-content a.mappop__link--dir { color: var(--stone); }
.leaflet-popup-content a.mappop__link--dir:hover { color: var(--gold-dark); }
.mapsec__map .leaflet-control-attribution {
  background: rgba(0,0,0,0.55); color: rgba(255,255,255,0.5); font-size: 10px;
}
.mapsec__map .leaflet-control-attribution a { color: rgba(255,255,255,0.7); }

/* ── Team Cards ─────────────────────────────────────────── */
.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  overflow: hidden;
}

.team-card__image {
  width: 100%;
  aspect-ratio: 3/4;
}

.team-card__body {
  padding: 32px;
}

.team-card__name {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 6px;
}

.team-card__title {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  display: block;
}

.team-card__bio {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  color: var(--espresso);
  line-height: 1.8;
}

/* ── Gallery Grid ───────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.gallery-item {
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.gallery-item .img-placeholder {
  width: 100%;
  height: 100%;
  transition: transform 0.4s ease;
}

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

/* gallery images zoom on hover + show an "expand" cue (clickable → lightbox) */
.gallery-item img { transition: transform 0.5s var(--ease-out); }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item::after {
  content: "";
  position: absolute;
  top: 12px; right: 12px;
  width: 30px; height: 30px;
  background: rgba(20,20,20,0.55) center/15px no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7'/%3E%3C/svg%3E");
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}
.gallery-item:hover::after { opacity: 1; transform: translateY(0); }

/* ── Gallery Lightbox ───────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9600;
  background: #0b0b0b;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__fig {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.lightbox__img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  display: block;
  box-shadow: 0 14px 60px rgba(0,0,0,0.55);
  background: #111;
  cursor: zoom-in;                 /* zoom appears here, after opening */
  transform-origin: center center;
  transition: transform 0.22s var(--ease-out);
  will-change: transform;
  touch-action: none;              /* we handle pinch/pan ourselves */
  -webkit-user-select: none;
  user-select: none;
}
.lightbox.is-zoomed .lightbox__img { cursor: grab; }
.lightbox.is-grabbing .lightbox__img { cursor: grabbing; transition: none; }
.lightbox__cap {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.82);
  text-align: center;
  max-width: 80vw;
}
.lightbox__close {
  position: absolute;
  top: 18px; right: 22px;
  width: 46px; height: 46px;
  border: 1px solid rgba(255,255,255,0.35);
  background: transparent;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  transition: background 0.2s ease;
}
.lightbox__close:hover { background: rgba(255,255,255,0.12); }
.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 54px; height: 54px;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(0,0,0,0.3);
  color: #fff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease;
}
.lightbox__nav:hover { background: rgba(255,255,255,0.14); }
.lightbox__prev { left: 18px; }
.lightbox__next { right: 18px; }
.lightbox__count {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.7);
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.12em;
}
@media (max-width: 600px) {
  .lightbox__nav { width: 44px; height: 44px; font-size: 24px; }
  .lightbox__prev { left: 6px; }
  .lightbox__next { right: 6px; }
  .lightbox__img { max-height: 74vh; }
}

/* ── Page Hero ──────────────────────────────────────────── */
.page-hero {
  position: relative;
  height: clamp(320px, 50vw, 560px);
  overflow: hidden;
  margin-top: var(--nav-h);
}

.page-hero__image {
  width: 100%;
  height: 100%;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(29,29,29,0.6);
  display: flex;
  align-items: flex-end;
  padding: clamp(32px, 5vw, 80px);
}

.page-hero__content {
  max-width: 640px;
}

.page-hero__label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  display: block;
}

.page-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 300;
  color: var(--ivory);
  line-height: 1.15;
}

/* ── Hero status + RERA badges — readable over hero photography ──
   Scoped to the hero (.hero-badges) so the light-background project
   cards keep their original outline badge styling. A dark translucent
   pill + blur lets the text stay legible on any photo. */
.hero-badges .badge {
  background: rgba(12,12,12,0.55);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  border-color: rgba(255,255,255,0.30);
  color: rgba(255,255,255,0.95);
  padding: 7px 14px;
  font-size: 11px;
}
.hero-badges .badge--gold  { color: var(--gold-light); border-color: rgba(221,153,51,0.75); }
.hero-badges .badge--green { color: #5EC98E; border-color: rgba(94,201,142,0.70); }
.hero-badges .badge--stone { color: rgba(255,255,255,0.92); border-color: rgba(255,255,255,0.42); }

/* ── Specs Table ────────────────────────────────────────── */
.specs-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--border-solid);
}

.specs-table tr {
  border-bottom: 1px solid var(--border);
}

.specs-table tr:last-child {
  border-bottom: none;
}

.specs-table td {
  padding: 14px 20px;
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.5;
}

.specs-table td:first-child {
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone);
  width: 140px;
  border-right: 1px solid var(--border);
  background: var(--ivory-deep);
}

.specs-table td:last-child {
  font-weight: 300;
  color: var(--espresso);
}

/* ── Floor Plan Tabs ────────────────────────────────────── */
.tabs {
  margin-bottom: 40px;
}

.tabs__nav {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border-solid);
  overflow-x: auto;                 /* swipe the tab row, not the whole page */
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;            /* Firefox: hide scrollbar */
}
.tabs__nav::-webkit-scrollbar { display: none; }  /* Chrome/Safari: hide scrollbar */

.tabs__btn {
  padding: 12px 32px;
  flex-shrink: 0;                   /* keep tabs full-size in one scrollable row */
  white-space: nowrap;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
  margin-bottom: -1px;
}

@media (max-width: 600px) {
  .tabs__btn { padding: 12px 20px; }   /* a touch more compact on phones */
}

.tabs__btn.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.tabs__panel {
  display: none;
  padding-top: 32px;
}

.tabs__panel.active {
  display: block;
}

/* ── Location Proximity List ─────────────────────────────── */
.proximity-list {
  list-style: none;
  padding: 0;
}

.proximity-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-sans);
}

.proximity-list li:last-child {
  border-bottom: none;
}

.proximity-name {
  font-size: 14px;
  font-weight: 400;
  color: var(--espresso);
}

.proximity-dist {
  font-size: 12px;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.05em;
}

/* ── Amenity Grid ───────────────────────────────────────── */
.amenity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.amenity-item {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 32px 24px;
  text-align: center;
  transition: border-color 0.3s ease;
}

.amenity-item:hover {
  border-color: var(--gold);
}

.amenity-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 16px;
  color: var(--gold);
}

.amenity-name {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--charcoal);
}

/* ── RERA Block ─────────────────────────────────────────── */
.rera-block {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px 28px;
  background: var(--ivory-deep);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
}

.rera-block__qr {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
}

.rera-block__label {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
  display: block;
  margin-bottom: 4px;
}

.rera-block__number {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--charcoal);
  letter-spacing: 0.05em;
}

/* ── Trust / Bank-approval strip ────────────────────────── */
.trust-bar {
  background: var(--ivory-deep);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust-bar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 28px 56px;
  padding: 34px 0;
}
.trust-shield {
  display: flex;
  align-items: center;
  gap: 14px;
}
.trust-shield svg {
  width: 30px; height: 30px;
  color: var(--gold);
  flex-shrink: 0;
}
.trust-shield__text strong {
  display: block;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--charcoal);
}
.trust-shield__text span {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 300;
  color: var(--stone);
}
.trust-divider {
  width: 1px;
  align-self: stretch;
  background: var(--border);
}
.trust-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.trust-group__label {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--stone);
}
.bank-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.bank-badge {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--espresso);
  background: var(--white);
  border: 1px solid var(--border-solid);
  padding: 9px 16px;
  white-space: nowrap;
  transition: border-color 0.25s ease, transform 0.25s var(--ease-out);
}
.bank-badge:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}
@media (max-width: 720px) {
  .trust-divider { display: none; }
  .trust-bar__inner { gap: 24px; }
}

/* ── Vision / Mission Cards ─────────────────────────────── */
.vm-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
}

.vm-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold);
}

.vm-card__icon {
  width: 48px;
  height: 48px;
  color: var(--gold);
  margin-bottom: 24px;
}

.vm-card__heading {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  display: block;
}

.vm-card__title {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 300;
  color: var(--charcoal);
  margin-bottom: 20px;
  line-height: 1.3;
}

/* ── Pull Quote ─────────────────────────────────────────── */
.pull-quote {
  font-family: var(--font-sans);   /* Montserrat italic — Marcellus SC has no italic */
  font-style: italic;
  font-size: clamp(22px, 2.7vw, 33px);
  font-weight: 300;
  color: var(--espresso);
  line-height: 1.55;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
  position: relative;
}

.pull-quote::before,
.pull-quote::after {
  content: '';
  display: block;
  width: 48px;
  height: 1px;
  background: var(--gold);
  margin: 24px auto;
}

/* ── Contact Info ───────────────────────────────────────── */
.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.contact-method:last-child {
  border-bottom: none;
}

.contact-method__icon {
  width: 20px;
  height: 20px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-method__label {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--stone);
  display: block;
  margin-bottom: 4px;
}

.contact-method__value {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 300;
  color: var(--espresso);
  line-height: 1.5;
}

.contact-method__value a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-method__value a:hover {
  color: var(--gold);
}

/* ── WhatsApp Float Button ──────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37,211,102,0.45);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  color: #fff;
}

@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.35); }
  50%       { box-shadow: 0 4px 28px rgba(37,211,102,0.55), 0 0 0 8px rgba(37,211,102,0.12); }
}

.whatsapp-float {
  animation: wa-pulse 3s ease-in-out infinite;
}

/* ── Jam-E Jamshed wide teaser card ─────────────────────── */
.jj-teaser { display: flex; gap: 0; overflow: hidden; }
.jj-teaser__img {
  width: 340px;
  flex-shrink: 0;
  min-height: 200px;
  object-fit: cover;
  display: block;
}
.jj-teaser__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (max-width: 720px) {
  .jj-teaser { flex-direction: column; }
  .jj-teaser__img { width: 100%; height: auto; min-height: 0; }
}

/* ── Back-to-top button ─────────────────────────────────── */
.back-to-top {
  position: fixed;
  right: 32px;
  bottom: 104px;                  /* sits above the WhatsApp float */
  z-index: 940;
  width: 46px; height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--charcoal);
  color: var(--gold-light);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(0,0,0,0.28);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease, background 0.2s ease, color 0.2s ease;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--gold-light); color: var(--charcoal); }
.back-to-top svg { width: 20px; height: 20px; }
@media (max-width: 720px) {
  .back-to-top {
    right: 16px;
    bottom: calc(80px + env(safe-area-inset-bottom, 0px));  /* above the mobile action bar */
    width: 42px; height: 42px;
  }
}

/* ── Mobile sticky action bar (Enquire / WhatsApp / Call) ── */
.mobile-action-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 980;                       /* under mobile menu (1000), over content */
  display: none;                      /* shown only on mobile (below) */
  background: #141414;
  border-top: 1px solid rgba(188,122,26,0.38);
  box-shadow: 0 -4px 22px rgba(0,0,0,0.30);
}
.mab__btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 10px 4px;
  padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  color: var(--ivory);
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  -webkit-tap-highlight-color: transparent;
}
.mab__btn + .mab__btn { border-left: 1px solid rgba(255,255,255,0.08); }
.mab__btn svg { width: 21px; height: 21px; }
.mab__btn--wa svg { color: #25D366; }
.mab__btn--call svg, .mab__btn--enquire svg { color: var(--gold-light); }
.mab__btn:active { background: rgba(255,255,255,0.07); }

@media (max-width: 720px) {
  .mobile-action-bar { display: flex; }
  body { padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px)); }
  .whatsapp-float { display: none !important; }
}

/* ── Cookie Bar ─────────────────────────────────────────── */
.cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--charcoal);
  border-top: 1px solid var(--border);
  padding: 16px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  z-index: 998;
  transform: translateY(100%);
  transition: transform 0.4s var(--ease-out);
}

.cookie-bar.visible {
  transform: translateY(0);
}

.cookie-bar__text {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 300;
  color: var(--stone);
}

.cookie-bar__text a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-bar__btn {
  flex-shrink: 0;
  padding: 8px 24px;
  background: var(--white);
  color: var(--charcoal);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--white);
  border-radius: 1px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.cookie-bar__btn:hover {
  background: var(--gold-light);
  color: var(--charcoal);
  border-color: var(--gold-light);
}

/* ── Footer ─────────────────────────────────────────────── */
.site-footer {
  background: var(--charcoal);
  border-top: 1px solid rgba(184,155,94,0.15);
}

.footer-main {
  padding: 80px 0 64px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 60px;
}

.footer-logo-col {}

.footer-logo {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.footer-logo__name {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--ivory);
  letter-spacing: 0.05em;
}

/* Footer brand lockup — the white logo replaces the text wordmark */
.footer-logo__img {
  width: 190px;
  height: auto;
  display: block;
  margin-bottom: 8px;
}

.footer-logo__sub {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 2px;
}

.footer-tagline {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 300;
  color: var(--stone);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 260px;
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social__link {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(184,155,94,0.3);
  border-radius: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--stone);
  transition: color 0.2s ease, border-color 0.2s ease;
  text-decoration: none;
}

.footer-social__link:hover {
  color: var(--gold);
  border-color: var(--gold);
}

.footer-social__link svg {
  width: 16px;
  height: 16px;
}

.footer-col__heading {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  display: block;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 300;
  color: var(--stone);
  text-decoration: none;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-contact-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 16px;
}

.footer-contact-item__label {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(184,155,94,0.6);
}

.footer-contact-item__value {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 300;
  color: var(--stone);
  line-height: 1.5;
}

.footer-contact-item__value a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-contact-item__value a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(184,155,94,0.12);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-rera {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 300;
  color: rgba(123,123,123,0.7);
  max-width: 540px;
  line-height: 1.6;
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 300;
  color: rgba(123,123,123,0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-legal a:hover {
  color: var(--gold);
}

.footer-copy {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 300;
  color: rgba(123,123,123,0.5);
  width: 100%;
  text-align: center;
  padding-top: 12px;
  border-top: 1px solid rgba(184,155,94,0.06);
  margin-top: 8px;
}

/* ── Footer CTA Banner ──────────────────────────────────── */
.footer-cta-banner {
  background: var(--charcoal);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid rgba(184,155,94,0.1);
  padding: 80px 0;
  text-align: center;
}

.footer-cta-banner h2 {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 300;
  color: var(--ivory);
  margin-bottom: 16px;
}

.footer-cta-banner p {
  color: var(--stone);
  margin-bottom: 40px;
  font-size: 17px;
}

.footer-cta-banner .btn-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── WhatsApp Inline CTA ────────────────────────────────── */
.whatsapp-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: #25D366;
  text-decoration: none;
  padding: 12px 24px;
  border: 1px solid rgba(37,211,102,0.35);
  border-radius: 1px;
  transition: background 0.2s ease, color 0.2s ease;
}

.whatsapp-cta:hover {
  background: #25D366;
  color: var(--white);
  border-color: #25D366;
}

.whatsapp-cta svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ── Map Placeholder ─────────────────────────────────────── */
.map-container {
  width: 100%;
  height: 400px;
  background: var(--ivory-deep);
  border: 1px solid var(--border-solid);
  overflow: hidden;
  position: relative;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ── Responsive Overrides ───────────────────────────────── */
@media (max-width: 1024px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }

  .differ-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .differ-item {
    border-bottom: 1px solid rgba(248,245,239,0.08);
    border-right: none;
  }

  .differ-item:nth-child(odd) {
    border-right: 1px solid rgba(248,245,239,0.08);
  }
}

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

  .stat-item::after {
    display: none;
  }

  .stat-item:nth-child(odd) {
    border-right: 1px solid var(--border);
  }

  .stat-item {
    border-bottom: 1px solid var(--border);
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .amenity-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .footer-main {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .cookie-bar {
    flex-direction: column;
    text-align: center;
    padding: 20px 24px;
  }

  .differ-grid {
    grid-template-columns: 1fr;
  }

  .differ-item {
    border-right: none;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .rera-block {
    flex-direction: column;
    align-items: flex-start;
  }

  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
  }
}

@media (max-width: 480px) {
  .amenity-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Interactive Floor-Plan Viewer ──────────────────────── */
.fp-viewer {
  position: relative;
  overflow: hidden;
  background: var(--ivory-deep);
  border: 1px solid var(--border);
  touch-action: pan-y;           /* let the page scroll vertically until zoomed */
  cursor: zoom-in;
  user-select: none;
  -webkit-user-select: none;
}
.fp-viewer.is-zoomed { cursor: grab; touch-action: none; }
.fp-viewer.is-grabbing { cursor: grabbing; }

.fp-viewer__img {
  display: block;
  width: 100%;
  height: auto;
  transform-origin: center center;
  transition: transform 0.18s var(--ease-out);
  will-change: transform;
  -webkit-user-drag: none;
  pointer-events: none;          /* gestures handled on the frame */
}
.fp-viewer.is-grabbing .fp-viewer__img { transition: none; }

.fp-viewer__hint {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 2;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--espresso);
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(2px);
  padding: 6px 10px;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.fp-viewer.is-zoomed .fp-viewer__hint { opacity: 0; }

.fp-viewer__controls {
  position: absolute;
  right: 12px; bottom: 12px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 1px;
  box-shadow: 0 2px 14px rgba(0,0,0,0.18);
}
.fp-viewer__controls button {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border: none;
  background: var(--charcoal);
  color: var(--ivory);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.fp-viewer__controls button:hover { background: var(--gold-light); color: var(--charcoal); }
.fp-viewer__controls button:focus-visible { outline: 2px solid var(--gold-light); outline-offset: -2px; }

.fp-specs {
  list-style: none;
  margin: 20px 0 24px;
  padding: 0;
  font-family: 'Montserrat', sans-serif;
}
.fp-specs li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.fp-specs li span:first-child {
  color: var(--stone);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 11px;
}
.fp-specs li span:last-child { color: var(--espresso); font-weight: 500; }

.fp-enquire { margin-bottom: 18px; }

/* Fullscreen lightbox */
.fp-fs {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(0,0,0,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4vmin;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.fp-fs.is-open { opacity: 1; }
.fp-fs .fp-viewer {
  max-width: 92vw;
  max-height: 92vh;
  background: transparent;
  border: none;
}
.fp-fs .fp-viewer__img { max-height: 92vh; width: auto; max-width: 92vw; margin: 0 auto; }
.fp-fs__close {
  position: absolute;
  top: 18px; right: 22px;
  z-index: 9001;
  width: 46px; height: 46px;
  border: 1px solid rgba(255,255,255,0.4);
  background: transparent;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  transition: background 0.2s ease;
}
.fp-fs__close:hover { background: rgba(255,255,255,0.12); }

/* ── Cinematic page-transition curtain ──────────────────── */
.page-wipe {
  position: fixed;
  inset: 0;
  z-index: 9500;
  background: var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transform: translateY(0);
  transition: transform 0.62s cubic-bezier(0.76, 0, 0.24, 1);
}
.page-wipe.is-up   { transform: translateY(-100%); }   /* revealed (curtain lifted) */
.page-wipe.is-cover{ transform: translateY(0); pointer-events: all; }  /* covering for outbound */

.page-wipe__chev {
  width: 60px; height: auto;
  opacity: 1;                      /* stays with the curtain (rides up on reveal,
                                      down on cover) instead of vanishing early */
}

/* ── Hero "Full view" button + fullscreen elevation viewer ── */
.hero-fs-btn {
  position: absolute;
  bottom: 16px;
  right: 16px;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  background: rgba(12,12,12,0.55);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 30px;
  color: var(--ivory);
  font-family: var(--font-sans, 'Montserrat', sans-serif);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.hero-fs-btn:hover { background: rgba(0,0,0,0.7); transform: translateY(-1px); }
.hero-fs-btn svg { width: 16px; height: 16px; }
@media (max-width: 560px) {
  .hero-fs-btn span { display: none; }        /* icon-only on small screens */
  .hero-fs-btn { padding: 10px; border-radius: 50%; }
}

.hero-fs-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.hero-fs-overlay.is-open { opacity: 1; visibility: visible; }
.hero-fs-overlay img {
  max-width: 96vw;
  max-height: 92vh;
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 20px 70px rgba(0,0,0,0.6);
}
.hero-fs-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  color: var(--ivory);
  cursor: pointer;
  transition: background 0.2s ease;
}
.hero-fs-close:hover { background: rgba(255,255,255,0.22); }
.hero-fs-close svg { width: 22px; height: 22px; }
@media (prefers-reduced-motion: reduce) {
  .hero-fs-overlay { transition: none; }
}

/* Hide floating widgets while the fullscreen elevation viewer is open */
body.hero-fs-active .bvchat-launch,
body.hero-fs-active .mobile-action-bar,
body.hero-fs-active .back-to-top,
body.hero-fs-active .whatsapp-float { display: none !important; }

/* ── About page: "Portfolio" auto-rotating carousel ─────── */
.about-carousel {
  max-width: 1100px;
  margin: 0 auto;
}
.about-carousel__track {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  background: #0a0a0a;
}
.about-carousel__slide {
  position: absolute;
  inset: 0;
  display: block;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease;
}
.about-carousel__slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}
.about-carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.about-carousel__cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 60px 28px 22px;
  font-family: var(--font-sans, 'Montserrat', sans-serif);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--ivory);
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.78) 100%);
}
.about-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 22px;
}
.about-carousel__dot {
  width: 40px;
  height: 3px;
  padding: 0;
  border: none;
  background: rgba(255,255,255,0.22);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background 0.3s ease;
}
.about-carousel__dot:hover { background: rgba(255,255,255,0.4); }
.about-carousel__dot.is-active { background: rgba(255,255,255,0.28); }
/* Fill animation inside the active dot, matching the auto-advance interval */
.about-carousel__dot.is-active::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold-light, #DD9933);
  transform-origin: left center;
  animation: bvCarouselProgress 5s linear forwards;
}
@keyframes bvCarouselProgress {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}
@media (max-width: 720px) {
  .about-carousel__dot { width: 28px; }
  .about-carousel__cap { padding: 44px 18px 16px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .about-carousel__slide { transition: none; }
  .about-carousel__dot.is-active::after { animation: none; background: var(--gold-light, #DD9933); }
}

/* ─── Breadcrumbs (SEO + navigation) ────────────────────────── */
.breadcrumbs{
  background:var(--ivory-deep);
  border-bottom:1px solid var(--border);
  padding:12px 0;
  font-family:var(--font-sans);
  font-size:12px;
  letter-spacing:.04em;
}
.breadcrumbs__list{
  list-style:none;margin:0;padding:0 24px;max-width:1280px;margin:0 auto;
  display:flex;flex-wrap:wrap;align-items:center;gap:6px;color:var(--stone);
}
.breadcrumbs__list li{display:inline-flex;align-items:center;gap:6px;}
.breadcrumbs__list a{color:var(--stone);text-decoration:none;transition:color .2s ease;}
.breadcrumbs__list a:hover{color:var(--gold-dark);}
.breadcrumbs__list li[aria-current="page"]{color:var(--espresso);font-weight:500;}
.breadcrumbs__sep{color:var(--gold);opacity:.65;font-weight:400;}
@media (max-width:600px){ .breadcrumbs{padding:10px 0;font-size:11px;} }

/* ─── Response-time promise (near every lead form) ──────────── */
.form-response-promise{
  display:inline-flex;align-items:center;gap:10px;
  margin:0 0 18px;padding:10px 18px;
  background:rgba(188,122,26,0.10);
  border:1px solid var(--border);border-radius:100px;
  color:var(--gold-dark);
  font-family:var(--font-sans);font-size:12px;font-weight:500;letter-spacing:.04em;
}
.form-response-promise::before{
  content:"";width:8px;height:8px;background:#5EC98E;border-radius:50%;
  box-shadow:0 0 0 4px rgba(94,201,142,.18);flex-shrink:0;
}
/* On dark sections (charcoal/espresso), invert */
.section--charcoal .form-response-promise,
.section--espresso .form-response-promise,
.footer-cta-banner .form-response-promise{
  background:rgba(221,153,51,0.10);border-color:rgba(221,153,51,0.25);color:var(--gold-light);
}

/* Breadcrumbs is inserted right below the fixed nav; zero out the hero's own
   nav-h offset so we don't double-space. Both hero patterns handled. */
.breadcrumbs{margin-top:var(--nav-h);}
.breadcrumbs + .page-hero,
.breadcrumbs + section.hero,
.breadcrumbs + div[style*="position:relative"]{margin-top:0 !important;}
