/*
Theme Name: Premium Residence
Theme URI: https://example.com/
Author: Golden Key Realty
Description: Custom landing-page theme for Godrej Global Business City, DMIC Greater Noida.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: premium-residence
*/

/* ==========================================================
   GODREJ GLOBAL BUSINESS CITY – Landing page styles
   ========================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
  /* Greens */
  --dk: #103e2b;
  --dk2: #165338;
  --dk3: #216c49;
  --footer-bg: #0b2c1e;
  --accent: #2a9d64;
  --accent-hover: #218455;
  --accent-dark: #176d43;
  --accent-light: #7be0a8;
  --accent-pale: #8ee6b5;

  /* Neutrals */
  --white: #ffffff;
  --surface: #f5faf6;
  --surface-2: #edf7f0;
  --text: #183b2a;
  --muted: #5f7768;
  --muted-2: #8ba99a;
  --border: #dcece0;

  /* Type & shape */
  --serif: "Playfair Display", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 8px;
  --radius-lg: 12px;
  --nav-h: 64px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- 3. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 28px;
  border: none;
  border-radius: 4px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.3px;
  line-height: 1;
  cursor: pointer;
  transition: all 0.25s ease;
}
.btn-sm {
  padding: 9px 20px;
  font-size: 13px;
}
.btn-full {
  width: 100%;
}

.btn-gold {
  background: var(--accent);
  color: var(--white);
}
.btn-gold:hover {
  background: var(--accent-hover);
}
.btn-dark {
  background: var(--dk);
  color: var(--surface);
}
.btn-dark:hover {
  background: var(--dk2);
}
.btn-outline {
  background: transparent;
  border: 1px solid var(--dk2);
  color: var(--dk2);
}
.btn-outline:hover {
  background: var(--dk);
  color: var(--surface);
}
.btn-ghost-light {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
}
.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.2);
}
.btn-mob-outline {
  background: transparent;
  border: 1px solid var(--accent-light);
  color: var(--accent-light);
}
.btn-whatsapp {
  background: #25d366;
  color: var(--white);
}

/* ---------- 4. Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0 24px;
  background: var(--dk);
  transition: box-shadow 0.25s;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  height: var(--nav-h);
  flex-shrink: 0;
}
.logo-img {
  height: 140px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-link {
  font-size: 13px;
  letter-spacing: 0.3px;
  color: var(--surface);
  opacity: 0.7;
  transition: opacity 0.2s;
}
.nav-link:hover {
  opacity: 1;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--surface);
  font-size: 24px;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  position: absolute;
  top: var(--nav-h);
  left: 0;
  right: 0;
  z-index: 99;
  flex-direction: column;
  gap: 4px;
  padding: 16px 24px 24px;
  background: var(--dk);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.mobile-menu.open {
  display: flex;
}
.mobile-link {
  padding: 10px 0;
  font-size: 15px;
  color: var(--surface);
  opacity: 0.8;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.mobile-link:hover {
  opacity: 1;
}

/* ---------- 5. Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  background: var(--dk);
}
.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}
.hero-bg {
  background:
    linear-gradient(
      90deg,
      rgba(7, 45, 29, 0.92),
      rgba(7, 45, 29, 0.52) 58%,
      rgba(7, 45, 29, 0.2)
    ),
    url("assets/images/godrej-DMIC-Greater-Noida-banner-69057.jpg") center / cover
      no-repeat;
}
.hero-overlay {
  background: linear-gradient(90deg, rgba(10, 55, 34, 0.65), transparent 76%);
}
.hero-glow {
  position: absolute;
  right: 10%;
  top: 15%;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(120, 210, 145, 0.12),
    transparent 70%
  );
}

#threeContainer {
  position: absolute;
  right: 3%;
  top: 12%;
  z-index: 1;
  width: 320px;
  height: 320px;
  opacity: 0.4;
  pointer-events: none;
}
#threeContainer canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 48px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 24px 80px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-light);
}
.eyebrow span {
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--accent-light);
}

.hero h1 {
  margin-bottom: 20px;
  font-family: var(--serif);
  font-size: 46px;
  font-weight: 500;
  line-height: 1.15;
  color: var(--white);
}
.hero h1 em {
  font-style: italic;
  color: var(--accent);
}

.hero-desc {
  max-width: 500px;
  margin-bottom: 32px;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.7);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.hero-content h1,
.hero-desc,
.hero-actions,
.price-card {
  backface-visibility: hidden;
}

/* Hero stats – animated glass cards */
/* Hero facts – glass cards */
.hero-desc { margin-bottom: 24px; }

.hero-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 600px;
  margin-bottom: 16px;
}

.fact-card {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 10px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  opacity: 0;
  transform: translateY(16px);
  animation: factIn 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.fact-card:hover { border-color: rgba(123,224,168,0.5); background: rgba(255,255,255,0.1); }

.fact-card:nth-child(1) { animation-delay: 0.35s; }
.fact-card:nth-child(2) { animation-delay: 0.45s; }
.fact-card:nth-child(3) { animation-delay: 0.55s; }
.fact-card:nth-child(4) { animation-delay: 0.65s; }

/* Shine sweep */
.fact-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -60%;
  width: 50%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.12), transparent);
  transform: skewX(-20deg);
  animation: factShine 6s ease-in-out infinite;
  pointer-events: none;
}
.fact-card:nth-child(1)::after { animation-delay: 1.6s; }
.fact-card:nth-child(2)::after { animation-delay: 1.9s; }
.fact-card:nth-child(3)::after { animation-delay: 2.2s; }
.fact-card:nth-child(4)::after { animation-delay: 2.5s; }

/* Highlighted price card with soft pulsing glow */
.fact-card.fact-highlight {
  background: linear-gradient(135deg, rgba(42,157,100,0.38), rgba(42,157,100,0.08));
  border-color: rgba(123,224,168,0.55);
  animation:
    factIn 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) 0.35s forwards,
    factGlow 2.8s ease-in-out 1.4s infinite;
}

.fact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(42,157,100,0.22);
  color: var(--accent-light);
  font-size: 20px;
}
.fact-highlight .fact-icon { background: var(--accent); color: var(--white); }

.fact-label {
  margin-bottom: 3px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.fact-value {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--white);
  font-variant-numeric: tabular-nums;
}
.fact-highlight .fact-value { font-size: 20px; }

.stat-num {
  background: linear-gradient(90deg, var(--white) 0%, var(--accent-pale) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Possession / RERA pills */
.hero-status {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
  opacity: 0;
  animation: factIn 0.6s ease 0.8s forwards;
}
.hero-status span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  font-size: 12px;
  color: rgba(255,255,255,0.75);
}
.hero-status i      { font-size: 14px; color: var(--accent-light); }
.hero-status strong { font-weight: 600; color: var(--white); }

.hero-note {
  margin-top: 14px;
  font-size: 11px;
  line-height: 1.5;
  color: rgba(255,255,255,0.45);
}

@keyframes factIn    { to { opacity: 1; transform: none; } }
@keyframes factShine { 0% { left: -60%; } 30%, 100% { left: 130%; } }
@keyframes factGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(123,224,168,0); }
  50%      { box-shadow: 0 0 22px 2px rgba(123,224,168,0.28); }
}

/* ---------- 6. Lead card + Fluent Forms ---------- */
.lead-card {
  position: relative;
  padding: 34px 30px 30px;
  background: var(--white);
  border-top: 4px solid var(--accent);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}
.lead-tag {
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-dark);
}
.lead-title {
  margin-bottom: 8px;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  line-height: 1.25;
  color: var(--text);
}
.lead-title em {
  font-style: italic;
  color: var(--accent);
}
.lead-sub,
.form-sub {
  margin-bottom: 22px;
  font-size: 13px;
  color: var(--muted);
}

.ff-wrap .fluentform .ff-el-group {
  margin-bottom: 14px;
}

/* Placeholder-only look: labels hidden visually, kept for screen readers */
.ff-wrap .fluentform .ff-el-input--label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.ff-wrap .fluentform .ff-el-form-control {
  height: 54px;
  padding: 0 18px;
  border: 1px solid #dfe5e1;
  border-radius: 6px;
  background: var(--white);
  font-size: 15px;
  color: var(--text);
  box-shadow: none;
}
.ff-wrap .fluentform .ff-el-form-control::placeholder {
  color: #8a958f;
}
.ff-wrap .fluentform .ff-el-form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(42, 157, 100, 0.12);
}
.ff-wrap .fluentform .ff-el-form-check-label,
.ff-wrap .fluentform .ff-el-tc label {
  font-size: 11px;
  line-height: 1.5;
  color: var(--muted);
}

.ff-wrap .fluentform .ff-btn-submit {
  width: 100%;
  height: 54px;
  border: none;
  border-radius: 6px;
  background: linear-gradient(
    90deg,
    var(--accent-dark) 0%,
    var(--accent) 50%,
    var(--accent-dark) 100%
  ) !important;
  color: var(--white) !important;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: filter 0.2s;
}
.ff-wrap .fluentform .ff-btn-submit:hover {
  filter: brightness(1.08);
}
.ff-wrap .fluentform .error.text-danger {
  margin-top: 4px;
  font-size: 12px;
}
.ff-wrap .ff-message-success {
  border: none;
  border-radius: 6px;
  background: var(--surface);
  color: var(--dk);
  font-size: 13px;
  box-shadow: none;
}

/* ---------- 7. Trust strip ---------- */
.trust-strip {
  padding: 16px 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.trust-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 36px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--dk2);
}
.trust-item i {
  font-size: 16px;
  color: var(--accent);
}

/* ---------- 8. Shared section styles ---------- */
.section {
  padding: 88px 0;
}
.section-cream {
  background: var(--surface-2);
}
.section-dark {
  background: var(--dk);
}

.section-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
}
.section-label span {
  display: inline-block;
  width: 20px;
  height: 1px;
  background: var(--accent);
}
.section-label.center {
  justify-content: center;
}

.section h2,
.cta-band h2,
.visit-text h2 {
  margin-bottom: 16px;
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 500;
  line-height: 1.25;
  color: var(--text);
}
.section h2 em,
.cta-band h2 em,
.visit-text h2 em {
  font-style: italic;
  color: var(--accent);
}

.text-cream {
  color: var(--surface) !important;
}
.text-cream-muted {
  color: rgba(255, 255, 255, 0.6) !important;
}

.section-header {
  margin-bottom: 44px;
  text-align: center;
}
.section-desc {
  max-width: 580px;
  margin-bottom: 36px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
}
.section-subtitle {
  max-width: 540px;
  margin: 10px auto 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}
.body-text {
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}
.center-cta {
  margin-top: 28px;
  text-align: center;
}

/* ---------- 9. Overview ---------- */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}
.check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--accent-dark);
  transition: all 0.3s ease;
}
.check-item i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  min-width: 22px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-size: 13px;
}
.check-item:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(42, 157, 100, 0.12);
}

/* ---------- 10. Images ---------- */
.img-box {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
}

.img-box,
.gallery-item,
.amenity-item {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.img-box::before,
.gallery-item::before,
.amenity-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0, 35, 18, 0.45));
  pointer-events: none;
}

.img-tower,
.img-exterior {
  background-image: url("assets/images/Global\ Business\ City\ Under\ Authentic\ Daylight.webp");
}
.img-pool {
  background-image: url("assets/images/swimming\ pool.jpg");
}
.img-amenities {
  background-image: url("assets/images/Godrej\ DMIC\ spacious\ bedroom\ concept.jpg");
}
.img-garden {
  background-image: url("assets/images/godrej-DMIC-Greater-Noida-banner-69057.jpg");
}
.img-aerial {
  background-image: url("assets/images/Master\ plan\ of\ Godrej\ DMIC\ township\ in\ Greater\ Noida.jpg");
}
.img-lobby {
  background-image: url("assets/images/Living\ room\ with\ wood\ partition.jpg");
}
.img-gym {
  background-image: url("assets/images/Fitness\ studio\ amenity\,\ representative\ image.jpg");
}
.img-play {
  background-image: url("assets/images/godrej-global-business-city-amenities-sports-complex.webp");
}
.img-balcony {
  background-image: url("assets/images/Sunlit\ Balcony\ Overlooking\ the\ Urban\ Skyline.webp");
}

/* ---------- 11. Quote ---------- */
.quote-section {
  padding: 48px 0;
  background: var(--dk2);
  text-align: center;
}
.quote-section blockquote {
  max-width: 700px;
  margin: 0 auto;
  font-family: var(--serif);
  font-size: 22px;
  font-style: italic;
  line-height: 1.6;
  color: var(--surface);
}
.quote-mark {
  display: block;
  margin-bottom: -16px;
  font-family: var(--serif);
  font-size: 52px;
  color: var(--accent-light);
}
.quote-author {
  margin-top: 18px;
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--accent-light);
}

/* ---------- 12. Highlights ---------- */
.usp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.usp-card {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  transition: all 0.3s ease;
}
.usp-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}
.usp-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--dk2);
  font-size: 22px;
}
.usp-card h4 {
  margin-bottom: 8px;
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 500;
  color: var(--dk);
}
.usp-card p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

/* ---------- 13. Pricing ---------- */
/* ---------- 13. Pricing ---------- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1040px;
  margin: 0 auto;
  align-items: stretch;
}

.price-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: translate 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.price-card:hover {
  translate: 0 -4px;
  border-color: var(--accent);
  box-shadow: 0 14px 34px rgba(16,62,43,0.1);
}
.price-card.featured {
  border: 2px solid var(--accent);
  box-shadow: 0 12px 30px rgba(42,157,100,0.15);
}

.price-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 16px 20px;
  background: var(--surface);
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  color: var(--dk);
}

.price-head.dark       { background: var(--dk); color: var(--surface); }

.price-head { justify-content: center; }

.price-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  padding: 22px 20px;
  text-align: center;
}

.price-area {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
}
.price-area i { font-size: 15px; color: var(--accent); }

.price-range {
  margin: 8px 0 6px;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--accent-dark);
}
.price-range sup { font-size: 14px; }

.price-lock {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 18px;
  font-size: 11.5px;
  color: var(--muted);
}
.price-lock i { font-size: 13px; color: var(--accent); }

.price-disclaimer {
  max-width: 760px;
  margin: 24px auto 0;
  font-size: 11px;
  line-height: 1.6;
  text-align: center;
  color: var(--muted-2);
}

/* ---------- 14. Amenities ---------- */
.amenity-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.amenity-item {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  aspect-ratio: 1;
  border-radius: var(--radius);
}
.amenity-label {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  font-size: 13px;
  font-weight: 500;
  color: var(--white);
}
.amenity-label i {
  font-size: 15px;
  color: var(--accent-light);
}

.amenity-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}
.amenity-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  font-size: 12px;
  color: var(--white);
}
.amenity-tag i {
  font-size: 13px;
  color: var(--accent-light);
}

/* ---------- 15. Gallery (Swiper) ---------- */
.propertySwiper {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-bottom: 55px;
}
.propertySwiper .swiper-wrapper {
  display: flex;
  align-items: stretch;
}
.propertySwiper .swiper-slide {
  display: flex;
  height: auto;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 300px;
  border-radius: var(--radius-lg);
  transition: transform 0.4s ease;
}
.gallery-item:hover {
  transform: scale(1.02);
}
.gallery-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 10px 14px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.5));
  font-size: 12px;
  color: rgba(255, 255, 255, 0.9);
}

.propertySwiper .swiper-button-prev,
.propertySwiper .swiper-button-next {
  --swiper-navigation-size: 16px;
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-top: -18px;
  padding: 0;
  border-radius: var(--radius);
  background: rgba(16, 62, 43, 0.88);
  color: var(--white);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12);
  transition: background 0.25s ease;
}
.propertySwiper .swiper-button-prev {
  left: 12px;
}
.propertySwiper .swiper-button-next {
  right: 12px;
}
.propertySwiper .swiper-button-prev:hover,
.propertySwiper .swiper-button-next:hover {
  background: var(--accent-hover);
}
.propertySwiper .swiper-button-prev svg,
.propertySwiper .swiper-button-next svg {
  width: 12px;
  height: 12px;
  color: var(--white);
}
.propertySwiper .swiper-button-prev::after,
.propertySwiper .swiper-button-next::after {
  display: none;
}
.propertySwiper .swiper-button-disabled {
  opacity: 0.25;
}
.propertySwiper .swiper-pagination-bullet {
  background: var(--accent-hover);
  opacity: 0.35;
}
.propertySwiper .swiper-pagination-bullet-active {
  opacity: 1;
}

/* ---------- 16. CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  padding: 64px 0;
  background: var(--dk);
  text-align: center;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(42, 157, 100, 0.08) 0%,
    transparent 50%,
    rgba(42, 157, 100, 0.05) 100%
  );
}
.cta-inner {
  position: relative;
  z-index: 2;
}
.cta-band h2 {
  margin-bottom: 12px;
  color: var(--surface);
}
.cta-band p {
  margin-bottom: 28px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
}

/* ---------- 17. Location ---------- */
/* ---------- 17. Location ---------- */
.loc-section { background: var(--surface-2); }

/* Tabs */
.loc-tabs {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
}
.loc-tab {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px 10px 10px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(16,62,43,0.04);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--dk2);
  cursor: pointer;
  transition: translate 0.3s ease, background 0.3s ease, color 0.3s ease,
              border-color 0.3s ease, box-shadow 0.3s ease;
}
.loc-tab i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--accent);
  font-size: 17px;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}
.loc-tab:hover   { translate: 0 -2px; border-color: var(--accent); }
.loc-tab:hover i { transform: rotate(-8deg) scale(1.08); }
.loc-tab.active {
  background: linear-gradient(135deg, var(--dk), var(--dk3));
  border-color: transparent;
  color: var(--white);
  box-shadow: 0 10px 24px rgba(16,62,43,0.25);
}
.loc-tab.active i { background: var(--accent); color: var(--white); }
.loc-tab:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Panel */
.loc-panel {
  padding: 24px 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 14px 40px rgba(16,62,43,0.07);
}
.loc-panel[hidden] { display: none; }

.loc-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px 32px;
  list-style: none;
}
.loc-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 10px;
  border-bottom: 1px dashed var(--border);
  border-radius: var(--radius);
  opacity: 0;
  transform: translateY(10px);
  animation: locItemIn 0.45s ease forwards;
  animation-delay: calc(var(--i, 0) * 45ms);
  transition: background 0.25s ease;
}
.loc-list li:hover { background: var(--surface); }
.loc-list li > i {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--accent);
  font-size: 16px;
  transition: background 0.25s ease, color 0.25s ease;
}
.loc-list li:hover > i { background: var(--accent); color: var(--white); }

.loc-name { flex: 1; font-size: 14px; line-height: 1.45; color: var(--text); }
.loc-time {
  flex-shrink: 0;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(42,157,100,0.1);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  color: var(--accent-dark);
}

.loc-note {
  margin-top: 14px;
  font-size: 11px;
  text-align: center;
  color: var(--muted-2);
}

/* Full-width map */
.loc-map { margin-top: 40px; }

.map-frame {
  position: relative;
  overflow: hidden;
  height: 460px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 14px 40px rgba(16,62,43,0.1);
}
.map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-badge {
  position: absolute;
  left: 20px;
  bottom: 20px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: calc(100% - 40px);
  padding: 14px 16px;
  background: var(--white);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}
.map-badge > i {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-size: 19px;
}
.map-badge > i::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  animation: pinPulse 2s ease-out infinite;
}
.map-badge div    { display: flex; flex-direction: column; gap: 2px; }
.map-badge strong { font-size: 14px; font-weight: 600; line-height: 1.35; color: var(--text); }
.map-badge span   { font-size: 12px; color: var(--muted); }
.map-badge .btn   { flex-shrink: 0; margin-left: 6px; }

@keyframes locItemIn { to { opacity: 1; transform: none; } }
@keyframes pinPulse {
  0%   { box-shadow: 0 0 0 0 rgba(42,157,100,0.5); }
  100% { box-shadow: 0 0 0 14px rgba(42,157,100,0); }
}

/* ---------- 18. Lifestyle ---------- */
.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.lifestyle-card {
  padding: 28px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
}
.lifestyle-card h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-family: var(--serif);
  font-size: 16px;
  color: var(--surface);
}
.lifestyle-card h4 i {
  font-size: 18px;
  color: var(--accent-light);
}
.lifestyle-card p {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
}

/* ---------- 19. Floor plans ---------- */
.doc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.doc-card {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  transition: border-color 0.2s;
}
.doc-card:hover {
  border-color: var(--accent);
}
.doc-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 14px;
  border-radius: 10px;
  background: var(--surface);
  color: var(--dk2);
  font-size: 22px;
}
.doc-card h4 {
  margin-bottom: 6px;
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 500;
  color: var(--dk);
}
.doc-card p {
  margin-bottom: 14px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}

.layout-section {
  margin-top: 44px;
}
.layout-heading {
  margin-bottom: 20px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  text-align: center;
  color: var(--dk);
}
.layout-heading em {
  color: var(--accent);
}
.layout-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.layout-card {
  padding: 24px;
  background: var(--surface);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.layout-card h4 {
  margin-bottom: 6px;
  font-family: var(--serif);
  font-size: 14px;
  color: var(--dk);
}
.layout-card p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

/* ---------- 20. FAQ ---------- */
.faq-list {
  max-width: 740px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 20px 0;
  background: none;
  border: none;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  text-align: left;
  color: var(--dk);
  cursor: pointer;
  transition: color 0.2s;
}
.faq-question:hover {
  color: var(--accent-dark);
}
.faq-question i {
  flex-shrink: 0;
  font-size: 14px;
  color: var(--muted-2);
  transition: transform 0.3s;
}
.faq-question.open i {
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-answer p {
  padding-bottom: 20px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

/* ---------- 21. Site visit ---------- */
.visit-section {
  position: relative;
  padding: 88px 0;
  background: var(--dk);
}
.visit-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 50%,
    rgba(42, 157, 100, 0.06) 100%
  );
}
.visit-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 48px;
  align-items: center;
}
.visit-text h2 {
  color: var(--surface);
}

/* ---------- 22. Footer ---------- */
.footer {
  padding: 32px 0 20px;
  background: var(--footer-bg);
  color: rgba(255, 255, 255, 0.65);
}
.footer-brand-col {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-logo {
  flex-shrink: 0;
  padding-right: 18px;
  border-right: 1px solid rgba(255,255,255,0.15);
}

.footer-logo-img {
  height: 114px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  opacity: 0.9;
  transition: opacity 0.2s ease;
}
.footer-logo:hover .footer-logo-img { opacity: 1; }
.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-brand {
  margin-bottom: 5px;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  color: var(--white);
}
.footer-sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}

.footer-contact-col {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-size: 12px;
}
.footer-contact-col a,
.footer-details a {
  color: var(--accent-light);
}
.footer-contact-col a:hover,
.footer-details a:hover {
  text-decoration: underline;
}
.footer-separator {
  color: rgba(255, 255, 255, 0.25);
}

.footer-details {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 11px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.45);
}
.footer-details strong {
  font-weight: 400;
  color: rgba(255, 255, 255, 0.75);
}
.footer-details > span {
  color: rgba(255, 255, 255, 0.2);
}

.footer-legal {
  max-width: 1000px;
  margin-top: 16px;
  font-size: 11px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.35);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
}
.footer-bottom > div {
  display: flex;
  gap: 16px;
}
.footer-bottom a {
  color: rgba(255, 255, 255, 0.55);
}
.footer-bottom a:hover {
  color: var(--accent-light);
}

/* ---------- 23. Mobile bar + WhatsApp ---------- */
.mobile-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  gap: 8px;
  padding: 10px 12px;
  background: var(--dk);
  border-top: 1px solid var(--dk3);
}
.mobile-bar .btn {
  flex: 1;
  padding: 11px 8px;
  font-size: 12px;
}

.whatsapp-float {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  font-size: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s;
}
.whatsapp-float:hover {
  transform: scale(1.08);
}

/* ---------- 24. Modal ---------- */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(5, 30, 19, 0.78);
}
.modal-overlay.open {
  display: flex;
}
.modal-box {
  position: relative;
  width: 100%;
  max-width: 440px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px;
  background: var(--white);
  border-top: 4px solid var(--accent);
  border-radius: var(--radius-lg);
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: none;
  border: none;
  font-size: 20px;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s;
}
.modal-close:hover {
  color: var(--dk);
}

/* ---------- 25. Scroll fade-in ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* ---------- 26. Lenis ---------- */
html.lenis,
html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-stopped {
  overflow: hidden;
}

/* ---------- 27. Mobile slider dots (hidden on desktop) ---------- */
.slider-dots {
  display: none;
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr 380px;
    gap: 36px;
  }
  .amenity-grid {
    grid-template-columns: repeat(2, 1fr);
  }
    .price-grid { gap: 14px; }
  .price-range { font-size: 22px; }
}

@media (max-width: 768px) {
  /* Layout */
  .container {
    padding: 0 16px;
  }
  .section {
    padding: 56px 0;
  }
  .section h2,
  .cta-band h2,
  .visit-text h2 {
    font-size: 26px;
  }
  body {
    padding-bottom: 62px;
  } /* room for the fixed mobile bar */

  /* Nav */
  .nav {
    padding: 0 16px;
  }
  .nav-links {
    display: none;
  }
  .hamburger {
    display: block;
  }
  .logo-img {
    height: 32px;
    max-width: 160px;
  }

  /* Hero */
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 44px 16px 52px;
  }
  .hero h1 {
    font-size: 32px;
  }
  #threeContainer {
    display: none;
  }

    .hero-facts { gap: 10px; max-width: none; }
  .fact-card  { gap: 10px; padding: 12px; }
  .fact-icon  { width: 34px; height: 34px; font-size: 17px; }
  .fact-label { font-size: 9.5px; letter-spacing: 0.8px; }
  .fact-value { font-size: 14px; }
  .fact-highlight .fact-value { font-size: 17px; }
  .lead-card {
    padding: 28px 20px 24px;
  }
  .lead-title {
    font-size: 24px;
  }

  /* Trust strip */
  .trust-inner {
    justify-content: flex-start;
    gap: 12px;
  }
  .trust-item {
    font-size: 12px;
  }

  /* Single-column layouts */
  .split-grid,
  .visit-grid,
  .two-col-grid {
    grid-template-columns: 1fr;
  }
  .split-grid {
    gap: 32px;
  }

    .check-list { gap: 8px; }
  .check-item { gap: 8px; padding: 10px; font-size: 12px; line-height: 1.35; }
  .check-item i { width: 20px; height: 20px; min-width: 20px; font-size: 12px; }

  /* ---- Swipe sliders: Highlights, Pricing, Amenities, Floor plans ---- */
  .usp-grid,
  .price-grid,
  .amenity-grid,
  .doc-grid,
  .layout-cards {
    position: relative;
    display: flex;
    gap: 14px;
    max-width: none;
    margin: 0 -16px;
    padding: 6px 16px 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 16px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .usp-grid::-webkit-scrollbar,
  .price-grid::-webkit-scrollbar,
  .amenity-grid::-webkit-scrollbar,
  .doc-grid::-webkit-scrollbar,
  .layout-cards::-webkit-scrollbar {
    display: none;
  }

  .usp-card,
  .price-card,
  .amenity-item,
  .doc-card,
  .layout-card {
    flex: 0 0 82%;
    scroll-snap-align: start;
  }
    .price-head  { padding: 14px 16px; }
  .price-body  { padding: 16px; }
  .price-range { font-size: 22px; }

  .slider-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 14px;
  }
  .slider-dots button {
    width: 8px;
    height: 8px;
    padding: 0;
    border: none;
    border-radius: 4px;
    background: var(--border);
    cursor: pointer;
    transition:
      width 0.3s ease,
      background 0.3s ease;
  }
  .slider-dots button.active {
    width: 22px;
    background: var(--accent);
  }
  .section-dark .slider-dots button {
    background: rgba(255, 255, 255, 0.25);
  }
  .section-dark .slider-dots button.active {
    background: var(--accent-light);
  }

  /* Gallery */
  .propertySwiper {
    padding-bottom: 45px;
  }
  .gallery-item {
    min-height: 240px;
  }
  .propertySwiper .swiper-button-prev,
  .propertySwiper .swiper-button-next {
    width: 32px;
    height: 32px;
    margin-top: -16px;
  }

  /* Location */
    /* Location */
  .loc-tabs {
    flex-wrap: nowrap;
    justify-content: flex-start;
    margin: 0 -16px 18px;
    padding: 4px 16px 8px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }
  .loc-tabs::-webkit-scrollbar { display: none; }
  .loc-tab   { flex-shrink: 0; padding: 8px 16px 8px 8px; font-size: 13px; scroll-snap-align: start; }
  .loc-tab i { width: 28px; height: 28px; font-size: 15px; }

  .loc-panel   { padding: 10px 12px; border-radius: var(--radius-lg); }
  .loc-list    { grid-template-columns: 1fr; }
  .loc-list li { gap: 10px; padding: 11px 6px; }
  .loc-list li > i { width: 28px; height: 28px; font-size: 14px; }
  .loc-name { font-size: 13px; }
  .loc-time { padding: 3px 8px; font-size: 11px; }

  .loc-map   { margin-top: 28px; }
  .map-frame { height: 400px; }
  .map-badge {
    left: 12px;
    right: 12px;
    bottom: 12px;
    flex-wrap: wrap;
    max-width: none;
    padding: 12px;
  }
  .map-badge .btn { width: 100%; margin-left: 0; }

  /* Footer */
  .footer {
    padding: 28px 0 20px;
  }
    .footer-brand-col { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-logo      { padding-right: 0; border-right: none; }
  .footer-logo-img  { height: 66px; }
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .footer-brand {
    font-size: 17px;
  }
  .footer-contact-col {
    gap: 8px;
  }
  .footer-details {
    align-items: flex-start;
    gap: 6px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  /* Mobile bar replaces the floating WhatsApp button */
  .mobile-bar {
    display: flex;
  }
  .whatsapp-float {
    display: none;
  }


  
}

@media (max-width: 480px) {
  .logo-img {
    height: 88px;
    max-width: 140px;
  }
  .hero h1 {
    font-size: 28px;
  }

    .fact-card { flex-direction: column; align-items: flex-start; gap: 8px; }
  .hero-status span { font-size: 11px; }

  .usp-card,
  .price-card,
  .amenity-item,
  .doc-card,
  .layout-card {
    flex-basis: 86%;
  }

  .check-item { font-size: 11.5px; }

}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }
  #threeContainer {
    display: none;
  }
  .gallery-item,
  .gallery-item:hover {
    transition: none;
    transform: none;
  }
   .fact-card, .fact-card.fact-highlight, .hero-status { opacity: 1; transform: none; animation: none; }
  .fact-card::after { display: none; }
  .fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
    .loc-list li { opacity: 1; transform: none; animation: none; }
  .map-badge > i::after { animation: none; }
}
