/* =========================================================
   WAVE GARDENS — Phase II  Luxury Landing Page Stylesheet
   Palette: Emerald (#0d4d3f), Deep green (#0a3a30), Gold (#d4af37),
            Champagne (#e8d9a7), Ivory (#f8f4ec)
   Type:    Playfair Display (display), Cormorant (accents),
            Poppins (body/UI)
   ========================================================= */

:root {
  --wg-green: #0d4d3f;
  --wg-green-dark: #0a3a30;
  --wg-green-soft: #14614f;
  --wg-gold: #d4af37;
  --wg-gold-light: #e8c871;
  --wg-champagne: #e8d9a7;
  --wg-ivory: #f8f4ec;
  --wg-cream: #faf7f1;
  --wg-text-dark: #1b2a26;
  --wg-text-muted: #6c7972;
  --wg-shadow: 0 18px 40px rgba(10, 58, 48, 0.18);
  --wg-shadow-sm: 0 6px 18px rgba(10, 58, 48, 0.12);
  --wg-radius: 14px;
  --wg-radius-lg: 22px;
  --wg-green-bg: url("../img/brochure/leaf-bg.webp");
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--wg-text-dark);
  background: var(--wg-cream);
  overflow-x: hidden;
  margin: 0;
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
.wg-section-title {
  font-family: "Playfair Display", serif;
  letter-spacing: 0.2px;
}

em {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  color: var(--wg-gold);
  font-weight: 600;
}

a {
  color: var(--wg-green);
  text-decoration: none;
  transition: color 0.25s ease;
}

a:hover {
  color: var(--wg-gold);
}




/* ============ BUTTONS ============ */
.btn.wg-btn-gold {
  background: linear-gradient(135deg, var(--wg-gold) 0%, #b9932a 100%);
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.6px;
  padding: 12px 28px;
  border-radius: 50px;
  border: none;
  font-size: 14px;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(212, 175, 55, 0.35);
  transition: all 0.3s ease;
}

.btn.wg-btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(212, 175, 55, 0.5);
  color: #fff;
}

.btn.wg-btn-outline-gold {
  background: transparent;
  color: var(--wg-gold-light);
  border: 1.5px solid var(--wg-gold);
  font-weight: 600;
  letter-spacing: 0.6px;
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 14px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.btn.wg-btn-outline-gold:hover {
  background: var(--wg-gold);
  color: #fff;
}

.btn.wg-btn-sm-gold {
  background: transparent;
  color: var(--wg-green);
  border: 1.5px solid var(--wg-gold);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 12.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.25s ease;
}

.btn.wg-btn-sm-gold:hover {
  background: var(--wg-gold);
  color: #fff;
}

/* ============ TOP BAR ============ */
.wg-topbar {
  background:
    linear-gradient(rgba(10, 58, 48, 0.88), rgba(10, 58, 48, 0.88)),
    var(--wg-green-bg);
  background-size:
    auto,
    280px auto;
  background-repeat: repeat;
  color: #e8d9a7;
  padding: 8px 0;
  font-size: 13px;
  letter-spacing: 0.3px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1031;
}

.wg-topbar .wg-rera {
  opacity: 0.85;
  font-size: 12px;
}

.wg-topbar-right a {
  color: #e8d9a7;
  margin: 0 8px;
  font-size: 12.5px;
}

.wg-topbar-right a:hover {
  color: var(--wg-gold);
}

.wg-topbar-right .divider {
  opacity: 0.4;
}

/* ============ NAV BAR ============ */
.wg-navbar {
  background: rgba(10, 58, 48, 0.92);
  backdrop-filter: blur(12px);
  padding: 12px 0;
  top: 0;
  transition: all 0.35s ease;
  border-bottom: 1px solid rgba(212, 175, 55, 0.18);
}

.wg-navbar.scrolled {
  background: var(--wg-green-dark);
  top: 0;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

@media (max-width: 991px) {
  .wg-navbar {
    top: 0 !important;
  }
  .wg-topbar {
    display: none !important;
  }
}

.wg-navbar .navbar-brand {
  color: #fff;
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 0;
}

.wg-navbar .brand-mark {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  letter-spacing: 3px;
  font-size: 18px;
  color: #fff;
}

.wg-navbar .brand-name {
  font-family: "Playfair Display", serif;
  font-size: 26px;
  color: var(--wg-gold);
  font-style: italic;
  line-height: 1;
}

.wg-nav-links .nav-link {
  color: #e8d9a7 !important;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px !important;
  position: relative;
  transition: color 0.25s ease;
}

.wg-nav-links .nav-link:hover {
  color: var(--wg-gold) !important;
}

.wg-nav-links .nav-link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 1.5px;
  background: var(--wg-gold);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.wg-nav-links .nav-link:hover::after {
  transform: scaleX(1);
}

.navbar-toggler {
  border: 1px solid var(--wg-gold);
  color: var(--wg-gold);
  padding: 4px 10px;
}

.navbar-toggler .navbar-toggler-icon i {
  color: var(--wg-gold);
  font-size: 18px;
  display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

@media (max-width: 991px) {
  .wg-navbar .navbar-collapse {
    background: var(--wg-green-dark);
    margin-top: 12px;
    padding: 16px;
    border-radius: 10px;
    border: 1px solid rgba(212, 175, 55, 0.2);
  }
}

/* ============ HERO ============ */
.wg-hero {
  position: relative;
  width: 100%;
  line-height: 0;
  margin-top: 70px;
}

.wg-hero-img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 991px) {
  .wg-hero {
    margin-top: 64px;
  }
}

/* Fixed bottom CTA bar (desktop only) — Brochure bottom-left,
   Enquire bottom-right of the viewport. Both buttons share the
   gold background for visual consistency. */
.wg-bottom-cta {
  position: fixed;
  bottom: 22px;
  left: 22px;
  right: 22px;
  z-index: 1045;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
}

.wg-bottom-cta .btn {
  pointer-events: auto;
  box-shadow: 0 12px 28px rgba(10, 58, 48, 0.25);
}

/* ============ SECTION TYPOGRAPHY ============ */
.wg-section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--wg-gold);
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 14px;
  font-weight: 500;
}

.wg-section-eyebrow.center {
  justify-content: center;
}

.wg-section-eyebrow.light {
  color: var(--wg-gold-light);
}

.wg-section-eyebrow .line {
  width: 32px;
  height: 1px;
  background: var(--wg-gold);
}

.wg-section-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--wg-green-dark);
  margin: 0 0 16px;
}

.wg-section-title.light {
  color: #fff;
}

.wg-section-sub {
  color: var(--wg-text-muted);
  font-size: 15.5px;
  max-width: 720px;
  margin: 0 auto;
}

.wg-section-sub.light {
  color: rgba(255, 255, 255, 0.8);
}

.wg-sub-title {
  font-family: "Playfair Display", serif;
  font-size: 26px;
  color: var(--wg-green-dark);
  font-weight: 600;
}

/* ============ OVERVIEW SECTION ============ */
.wg-overview {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--wg-cream) 0%, #fff 100%);
  position: relative;
}

.wg-overview::before {
  content: "";
  position: absolute;
  top: 60px;
  right: -80px;
  width: 260px;
  height: 260px;
  background: radial-gradient(
    circle,
    rgba(212, 175, 55, 0.08),
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
}

.wg-overview-content .wg-lead {
  font-size: 17px;
  color: var(--wg-text-dark);
  margin-bottom: 14px;
  line-height: 1.7;
}

.wg-overview-content .wg-desc {
  color: var(--wg-text-muted);
  font-size: 15px;
  margin-bottom: 22px;
  line-height: 1.7;
}

.wg-feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}

.wg-feature-list li {
  padding: 8px 0;
  color: var(--wg-text-dark);
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.wg-feature-list i {
  width: 26px;
  height: 26px;
  background: var(--wg-green);
  color: var(--wg-gold);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}

/* ============ FORM CARD ============ */
.wg-form-card {
  background: #fff;
  border-radius: var(--wg-radius-lg);
  box-shadow: var(--wg-shadow);
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.18);
}

.wg-form-card-head {
  background:
    linear-gradient(
      135deg,
      rgba(13, 77, 63, 0.72) 0%,
      rgba(10, 58, 48, 0.82) 100%
    ),
    var(--wg-green-bg);
  background-size:
    auto,
    340px auto;
  background-repeat: repeat;
  color: #fff;
  padding: 26px 28px 22px;
  position: relative;
}

.wg-form-card-head::after {
  content: "";
  display: block;
  width: 50px;
  height: 2px;
  background: var(--wg-gold);
  margin-top: 14px;
}

.wg-form-card-head h3 {
  font-size: 26px;
  margin: 0 0 6px;
  color: #fff;
}

.wg-form-card-head p {
  margin: 0;
  color: var(--wg-champagne);
  font-size: 13.5px;
  opacity: 0.9;
}

.wg-form {
  padding: 26px 28px 28px;
}

.wg-input-group {
  position: relative;
  margin-bottom: 6px;
}

.wg-input-group i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--wg-green);
  font-size: 14px;
}

.wg-input {
  width: 100%;
  padding: 13px 16px 13px 44px;
  border: 1.5px solid #e4dfd2;
  border-radius: 10px;
  font-size: 14.5px;
  color: var(--wg-text-dark);
  background: #fff;
  transition:
    border 0.2s,
    box-shadow 0.2s;
  font-family: "Poppins", sans-serif;
}

.wg-input:focus {
  outline: none;
  border-color: var(--wg-gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.wg-input::placeholder {
  color: #a0a89f;
}

select.wg-input {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230d4d3f'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  padding-right: 40px;
}

.wg-error {
  color: #c0392b;
  font-size: 12.5px;
  min-height: 18px;
  margin: 2px 4px 8px;
}

.wg-input.is-invalid {
  border-color: #c0392b !important;
  background-color: rgba(192, 57, 43, 0.04);
}

.wg-input.is-invalid:focus {
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.18) !important;
}

.wg-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 8px 0 18px;
  font-size: 12px;
  color: var(--wg-text-muted);
  line-height: 1.45;
  cursor: pointer;
}

.wg-consent input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--wg-gold);
}

.wg-form-trust {
  text-align: center;
  margin-top: 14px;
  font-size: 12px;
  color: var(--wg-text-muted);
}

.wg-form-trust i {
  color: var(--wg-green);
  margin-right: 4px;
}

/* ============ UNIT PLANS SECTION ============ */
.wg-unit-plans {
  padding: 100px 0;
  background: #fff;
  position: relative;
}

.wg-table-wrap {
  background: #fff;
  border-radius: var(--wg-radius-lg);
  box-shadow: var(--wg-shadow);
  overflow: hidden;
  border: 1px solid #eee5d0;
}

.wg-table {
  margin: 0;
  font-size: 14.5px;
}

.wg-table thead th {
  background: var(--wg-green-dark);
  color: var(--wg-gold-light);
  padding: 18px 20px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 12px;
  border: none;
  white-space: nowrap;
  text-align: center;
}

.wg-table tbody tr {
  border-bottom: 1px solid #f2ecd9;
  transition: background 0.25s ease;
}

.wg-table tbody tr:hover {
  background: var(--wg-ivory);
}

.wg-table tbody td {
  padding: 16px 20px;
  color: var(--wg-text-dark);
  vertical-align: middle;
  border: none;
  text-align: center;
}

.wg-table .price {
  color: var(--wg-gold);
  font-weight: 600;
  white-space: nowrap;
}

.wg-table .price .btn {
  padding: 7px 18px;
  font-size: 12px;
  letter-spacing: 0.6px;
}

.wg-table-highlight {
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.06), transparent);
}

.wg-table-highlight td:first-child::before {
  content: "★";
  color: var(--wg-gold);
  margin-right: 6px;
}

/* Unit cards / blurred carousel */
.wg-unit-swiper {
  padding: 10px 10px 60px;
  position: relative;
}

.wg-unit-card {
  background: #fff;
  border-radius: var(--wg-radius);
  overflow: hidden;
  box-shadow: var(--wg-shadow-sm);
  border: 1px solid #eee5d0;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.wg-unit-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--wg-shadow);
}

.wg-unit-img {
  position: relative;
  height: 340px;
  overflow: hidden;
  background: var(--wg-ivory);
}

@media (max-width: 767px) {
  .wg-unit-img {
    height: 280px;
  }
}

.wg-unit-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: blur(8px) grayscale(0.25);
  transition: filter 0.35s ease;
  padding: 20px;
  background: #fff;
}

.wg-blur-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 58, 48, 0.55),
    rgba(10, 58, 48, 0.85)
  );
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  gap: 12px;
  text-align: center;
  padding: 20px;
}

.wg-blur-overlay i {
  font-size: 30px;
  color: var(--wg-gold);
}

.wg-blur-overlay p {
  font-family: "Playfair Display", serif;
  font-size: 18px;
  margin: 0;
  color: #fff;
}

.wg-unit-caption {
  padding: 18px 20px 22px;
  text-align: center;
}

.wg-unit-caption h4 {
  font-size: 20px;
  margin: 0 0 6px;
  color: var(--wg-green-dark);
}

.wg-unit-caption p {
  margin: 0;
  font-size: 13.5px;
  color: var(--wg-text-muted);
}

/* Swiper arrows & pagination */
.swiper-button-prev,
.swiper-button-next {
  width: 40px;
  height: 40px;
  background: var(--wg-green);
  border-radius: 50%;
  color: #fff !important;
  box-shadow: var(--wg-shadow-sm);
  transition: background 0.25s ease;
}

.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 14px;
  font-weight: 700;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  background: var(--wg-gold);
}

/* Arrows-below-slides wrapper: the swiper holds the slides; prev/next
   buttons are siblings positioned in a centered row at the bottom,
   flanking the pagination dots. Swiper's own overflow stays intact. */
.wg-swiper-outer {
  position: relative;
  padding-bottom: 70px;
}

.wg-swiper-outer > .swiper-button-prev,
.wg-swiper-outer > .swiper-button-next {
  position: absolute;
  top: auto;
  bottom: 14px;
  margin: 0;
  transform: none;
  z-index: 10;
}

.wg-swiper-outer > .swiper-button-prev {
  left: 50%;
  margin-left: -48px;
}

.wg-swiper-outer > .swiper-button-next {
  right: 50%;
  margin-right: -48px;
}

/* Let the pagination sit centered between the two arrows */
.wg-swiper-outer .swiper-pagination {
  bottom: 22px;
  display: none;
}

@media (max-width: 575px) {
  .wg-swiper-outer > .swiper-button-prev,
  .wg-swiper-outer > .swiper-button-next {
    width: 34px;
    height: 34px;
    bottom: 16px;
  }

  .wg-swiper-outer > .swiper-button-prev {
    margin-left: -40px;
  }

  .wg-swiper-outer > .swiper-button-next {
    margin-right: -40px;
  }
}

.swiper-pagination-bullet {
  background: var(--wg-green);
  opacity: 0.4;
}

.swiper-pagination-bullet-active {
  background: var(--wg-gold);
  opacity: 1;
  width: 26px;
  border-radius: 10px;
}

/* ============ AMENITIES ============ */
.wg-amenities {
  padding: 100px 0;
  background: var(--wg-green-bg);
  background-size: 620px auto;
  background-repeat: repeat;
  background-attachment: fixed;
  position: relative;
  overflow: hidden;
}

.wg-amenities::before,
.wg-amenities::after {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(212, 175, 55, 0.12),
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
}

.wg-amenities::before {
  top: -120px;
  left: -120px;
}

.wg-amenities::after {
  bottom: -120px;
  right: -120px;
}

.wg-amenity {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: var(--wg-radius);
  padding: 28px 20px;
  text-align: center;
  height: 100%;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.wg-amenity::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(212, 175, 55, 0.08),
    transparent 50%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
}

.wg-amenity:hover {
  transform: translateY(-6px);
  border-color: var(--wg-gold);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.wg-amenity:hover::before {
  opacity: 1;
}

.wg-amenity i {
  font-size: 38px;
  color: var(--wg-gold);
  margin-bottom: 16px;
  display: inline-block;
}

.wg-amenity h5 {
  color: #fff;
  font-size: 17px;
  margin: 0 0 6px;
  font-weight: 600;
}

.wg-amenity p {
  color: var(--wg-champagne);
  font-size: 13px;
  margin: 0;
  opacity: 0.85;
}

/* ============ GALLERY ============ */
.wg-gallery {
  padding: 100px 0;
  background: var(--wg-cream);
  position: relative;
  overflow: hidden;
}

.wg-gallery-card {
  position: relative;
  display: block;
  border-radius: var(--wg-radius);
  overflow: hidden;
  box-shadow: var(--wg-shadow-sm);
  height: 440px;
  cursor: zoom-in;
  text-decoration: none;
}

@media (max-width: 767px) {
  .wg-gallery-card {
    height: 320px;
  }
}

.wg-gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.wg-gallery-card:hover img {
  transform: scale(1.07);
}

/* Zoom hint badge */
.wg-gallery-zoom {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.6);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--wg-green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  opacity: 0;
  transition:
    opacity 0.4s var(--wg-ease-premium, ease),
    transform 0.5s var(--wg-ease-premium, ease);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  z-index: 3;
  pointer-events: none;
}

.wg-gallery-card:hover .wg-gallery-zoom {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.wg-gallery-swiper {
  padding: 10px 10px 20px;
}

/* ============ LOCATION ============ */
.wg-location {
  padding: 100px 0;
  background: var(--wg-green-bg);
  background-size: 620px auto;
  background-repeat: repeat;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.wg-location-map {
  border-radius: var(--wg-radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(212, 175, 55, 0.25);
}

.wg-location-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}

.wg-loc-heading {
  font-family: "Playfair Display", serif;
  color: var(--wg-gold);
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 12px;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.wg-loc-heading::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--wg-gold);
  display: inline-block;
}

.wg-loc-item {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: all 0.25s ease;
}

.wg-loc-item:hover {
  background: rgba(212, 175, 55, 0.12);
  border-color: var(--wg-gold);
}

.wg-loc-item i {
  width: 40px;
  height: 40px;
  background: var(--wg-gold);
  color: var(--wg-green-dark);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.wg-loc-item strong {
  display: block;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
}

.wg-loc-item span {
  display: block;
  color: var(--wg-gold-light);
  font-size: 12px;
  letter-spacing: 1px;
}

@media (max-width: 575px) {
  .wg-location-list {
    grid-template-columns: 1fr;
  }
}

/* ---- Location Accordion ---- */
.wg-loc-accordion .accordion-item {
  background: #ffffff;
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: 10px !important;
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
}

.wg-loc-accordion .accordion-header {
  margin: 0;
}

.wg-loc-accordion .accordion-button {
  background: #ffffff;
  color: var(--wg-green-dark);
  font-family: "Playfair Display", serif;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 16px 20px;
  box-shadow: none;
  border: none;
}

.wg-loc-accordion .accordion-button i {
  color: var(--wg-gold);
}

.wg-loc-accordion .accordion-button:not(.collapsed) {
  background: var(--wg-ivory, #fbf6ea);
  color: var(--wg-green-dark);
  box-shadow: inset 0 -1px 0 rgba(212, 175, 55, 0.4);
}

.wg-loc-accordion .accordion-button:focus {
  box-shadow: none;
  border-color: rgba(212, 175, 55, 0.5);
}

.wg-loc-accordion .accordion-button::after {
  filter: invert(22%) sepia(20%) saturate(2000%) hue-rotate(120deg)
    brightness(40%) contrast(90%);
}

.wg-loc-accordion .accordion-body {
  padding: 16px 18px 18px;
  background: #ffffff;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.wg-loc-accordion .wg-location-list {
  margin-bottom: 0;
}

.wg-loc-accordion .wg-loc-item {
  background: var(--wg-ivory, #fbf6ea);
  border-color: rgba(212, 175, 55, 0.3);
}

.wg-loc-accordion .wg-loc-item strong {
  color: var(--wg-green-dark);
}

.wg-loc-accordion .wg-loc-item span {
  color: #6c7e78;
}

.wg-loc-accordion .wg-loc-item:hover {
  background: #fff4d6;
  border-color: var(--wg-gold);
}

/* ============ ABOUT ============ */
.wg-about {
  padding: 100px 0;
  background: #fff;
  position: relative;
  overflow: hidden;
}

.wg-about-img img {
  width: 100%;
  border-radius: var(--wg-radius-lg);
  box-shadow: var(--wg-shadow);
}

.wg-about-stats {
  margin-top: 28px;
}

.wg-about-stats .stat {
  background: var(--wg-ivory);
  border: 1px solid #eee5d0;
  border-radius: var(--wg-radius);
  padding: 18px 14px;
  text-align: center;
  height: 100%;
}

.wg-about-stats .stat strong {
  display: block;
  font-family: "Playfair Display", serif;
  font-size: 32px;
  color: var(--wg-gold);
  line-height: 1;
  margin-bottom: 4px;
}

.wg-about-stats .stat span {
  color: var(--wg-text-muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* ============ CONTACT ============ */
.wg-contact {
  padding: 100px 0;
  background: var(--wg-cream);
  position: relative;
}

.wg-contact-card {
  background: #fff;
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: var(--wg-radius-lg);
  box-shadow: var(--wg-shadow-sm);
  padding: 32px 28px;
  height: 100%;
}

.wg-contact-card h4 {
  font-family: "Playfair Display", serif;
  color: var(--wg-green-dark);
  font-size: 22px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.wg-contact-card h4 i {
  color: var(--wg-gold);
  font-size: 20px;
}

.wg-contact-card p {
  color: var(--wg-text-dark);
  margin-bottom: 10px;
  font-size: 15px;
}

.wg-contact-card hr {
  border-color: rgba(212, 175, 55, 0.3);
  margin: 18px 0;
}

.wg-contact-phone i {
  color: var(--wg-gold);
  margin-right: 8px;
  width: 18px;
}

.wg-contact-phone a {
  color: var(--wg-green-dark);
  font-weight: 600;
}

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

.wg-contact-note {
  font-size: 12.5px !important;
  color: var(--wg-text-muted) !important;
  line-height: 1.55;
  margin-top: 18px !important;
  padding-top: 14px;
  border-top: 1px dashed rgba(212, 175, 55, 0.3);
}

/* ============ FOOTER ============ */
.wg-footer {
  background:
    linear-gradient(180deg, rgba(10, 58, 48, 0.8), rgba(10, 58, 48, 0.88)),
    var(--wg-green-bg);
  background-size:
    auto,
    520px auto;
  background-repeat: repeat;
  color: rgba(255, 255, 255, 0.75);
  padding: 70px 0 0;
  font-size: 14px;
  position: relative;
}

.wg-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--wg-gold),
    transparent,
    var(--wg-gold)
  );
}

.wg-foot-brand {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 14px;
}

.wg-foot-brand .brand-mark {
  font-weight: 700;
  letter-spacing: 3px;
  font-size: 20px;
  color: #fff;
}

.wg-foot-brand .brand-name {
  font-family: "Playfair Display", serif;
  font-size: 30px;
  color: var(--wg-gold);
  font-style: italic;
  line-height: 1;
}

.wg-footer h5 {
  color: #fff;
  font-family: "Playfair Display", serif;
  font-size: 20px;
  margin-bottom: 14px;
}

.wg-footer p {
  margin: 0 0 10px;
}

.wg-footer i {
  color: var(--wg-gold);
  width: 18px;
}

.wg-footer a {
  color: rgba(255, 255, 255, 0.75);
}

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

.wg-foot-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.wg-foot-links li {
  padding: 4px 0;
}

.wg-foot-rera {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  font-size: 13px;
}

.wg-foot-bottom {
  margin-top: 50px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}

.wg-foot-bottom p {
  margin: 0;
}

.wg-foot-policy {
  margin-top: 10px !important;
  font-size: 12px;
}

.wg-foot-policy a {
  color: rgba(255, 255, 255, 0.7);
  margin: 0 4px;
}

.wg-foot-policy a:hover {
  color: var(--wg-gold);
}

.wg-foot-policy .sep {
  color: rgba(255, 255, 255, 0.25);
  margin: 0 4px;
}

/* ============ MOBILE STICKY ============ */
.wg-mobile-sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1050;
  display: grid;
  grid-template-columns: 1fr 1fr;
  box-shadow: 0 -8px 24px rgba(10, 58, 48, 0.18);
}

.wg-sticky-btn {
  padding: 14px 10px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.5px;
  background: var(--wg-green);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-transform: uppercase;
}

.wg-sticky-btn.gold {
  background: linear-gradient(135deg, var(--wg-gold), #b9932a);
}

.wg-sticky-btn i {
  font-size: 15px;
}

@media (max-width: 991px) {
  body {
    padding-bottom: 56px;
  }
}

/* ============ FLOATING BUTTONS (DESKTOP) ============ */
.wg-float-call,
.wg-float-wa {
  position: fixed;
  right: 22px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  color: #fff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  z-index: 1040;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
  transition: transform 0.25s ease;
}

.wg-float-call {
  bottom: 160px;
  background: var(--wg-gold);
}

.wg-float-wa {
  bottom: 96px;
  background: #25d366;
}

.wg-float-call:hover,
.wg-float-wa:hover {
  transform: translateY(-4px) scale(1.05);
  color: #fff;
}

/* ============ MODALS ============ */
.wg-modal .modal-dialog {
  max-width: 820px;
}

.wg-modal .modal-content {
  border: none;
  border-radius: var(--wg-radius-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 30px 80px rgba(10, 58, 48, 0.35);
  position: relative;
}

.wg-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 10;
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(10, 58, 48, 0.9);
  color: #fff;
  font-size: 16px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}

.wg-modal-close:hover {
  background: var(--wg-gold);
  color: var(--wg-green-dark);
  transform: rotate(90deg);
}

.wg-modal-close i {
  pointer-events: none;
}

.wg-modal-left {
  background:
    linear-gradient(135deg, rgba(10, 58, 48, 0.72), rgba(13, 77, 63, 0.78)),
    var(--wg-green-bg);
  background-size:
    auto,
    360px auto;
  background-repeat: repeat;
  color: #fff;
  padding: 40px 30px;
  position: relative;
  overflow: hidden;
}

.wg-modal-left::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 180px;
  height: 180px;
  background: radial-gradient(
    circle,
    rgba(212, 175, 55, 0.18),
    transparent 70%
  );
  border-radius: 50%;
}

.wg-modal-left-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.wg-modal-left h4 {
  font-family: "Playfair Display", serif;
  font-size: 28px;
  color: #fff;
  margin-bottom: 8px;
}

.wg-modal-left h4 span {
  color: var(--wg-gold);
  font-style: italic;
  display: block;
  font-size: 22px;
}

.wg-modal-left p {
  color: var(--wg-champagne);
  font-size: 14px;
  margin-bottom: 22px;
}

.wg-modal-left ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.wg-modal-left ul li {
  padding: 6px 0;
  font-size: 13.5px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.wg-modal-left ul li i {
  color: var(--wg-gold);
  font-size: 11px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.wg-modal-form {
  padding: 36px 32px 32px;
}

.wg-modal-form h3 {
  font-family: "Playfair Display", serif;
  color: var(--wg-green-dark);
  margin-bottom: 6px;
  font-size: 26px;
}

.wg-modal-form h3::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: var(--wg-gold);
  margin-top: 10px;
}

.wg-modal-form > p {
  color: var(--wg-text-muted);
  font-size: 13.5px;
  margin-bottom: 22px;
}

.wg-modal-form .wg-form {
  padding: 0;
}

/* ============ UTILITIES ============ */
@media (max-width: 767px) {
  .wg-overview,
  .wg-unit-plans,
  .wg-amenities,
  .wg-gallery,
  .wg-location,
  .wg-about {
    padding: 60px 0;
  }

  .wg-form-card-head {
    padding: 22px 22px 18px;
  }

  .wg-form {
    padding: 22px;
  }

  .wg-modal-form {
    padding: 28px 22px 24px;
  }

  .wg-table thead th,
  .wg-table tbody td {
    padding: 12px 14px;
    font-size: 13px;
  }
}

/* =====================================================================
   GLOBAL RESPONSIVE REFINEMENTS
   Fine-tuned breakpoints so the landing page adapts cleanly from
   small phones (320px) up to ultra-wide displays.
===================================================================== */

/* ===== Custom fluid container used across all wg- sections =====
   Replaces Bootstrap .container to give more consistent premium
   padding and tighter max-widths at ultra-wide sizes. */
.wg-container {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-right: 20px;
  padding-left: 20px;
}

/* Navbar needs its children laid out side-by-side, vertically centered,
   matching how Bootstrap treats `.navbar > .container`. */
.navbar > .wg-container {
  display: flex;
  flex-wrap: inherit;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 576px) {
  .wg-container {
    max-width: 540px;
    padding-right: 24px;
    padding-left: 24px;
  }
}

@media (min-width: 768px) {
  .wg-container {
    max-width: 720px;
    padding-right: 28px;
    padding-left: 28px;
  }
}

@media (min-width: 992px) {
  .wg-container {
    max-width: 960px;
    padding-right: 32px;
    padding-left: 32px;
  }
}

@media (min-width: 1200px) {
  .wg-container {
    max-width: 1140px;
    padding-right: 36px;
    padding-left: 36px;
  }
}

@media (min-width: 1400px) {
  .wg-container {
    max-width: 1280px;
    padding-right: 40px;
    padding-left: 40px;
  }
}

@media (min-width: 1700px) {
  .wg-container {
    max-width: 1360px;
  }
}

/* Prevent horizontal overflow from oversized decorative elements */
html,
body {
  overflow-x: clip;
  max-width: 100%;
}

.wg-amenities,
.wg-contact,
.wg-footer {
  overflow-x: clip;
}

img {
  max-width: 100%;
  height: auto;
}

/* Fixed background-attachment breaks on iOS / mobile — fall back to scroll */
@media (max-width: 991px) {
  .wg-amenities,
  .wg-location {
    background-attachment: scroll !important;
  }
}

/* ───────── Ultra-wide (≥1400px) ───────── */
@media (min-width: 1400px) {
  .wg-section-title {
    font-size: clamp(30px, 3vw, 48px);
  }
}

/* ───────── Large desktops (1200–1399) ───────── */
@media (max-width: 1199px) {
  .wg-overview,
  .wg-unit-plans,
  .wg-amenities,
  .wg-gallery,
  .wg-location,
  .wg-about {
    padding: 90px 0;
  }

  .wg-form-card-head {
    padding: 22px 24px 18px;
  }
}

/* ───────── Tablets (992–1199) ───────── */
@media (max-width: 991px) {
  .wg-overview,
  .wg-unit-plans,
  .wg-amenities,
  .wg-gallery,
  .wg-location,
  .wg-about {
    padding: 80px 0;
  }

  /* Form card stacks below overview content on tablets */
  .wg-form-card {
    max-width: 560px;
    margin: 0 auto;
  }

  .wg-about-img {
    max-width: 560px;
    margin: 0 auto;
  }

  .wg-location-map iframe {
    height: 380px;
  }

  .wg-modal .modal-dialog {
    max-width: 92%;
  }
}

/* ───────── Small tablets / large phones (≤767) ───────── */
@media (max-width: 767px) {
  .wg-navbar .navbar-brand .brand-name {
    font-size: 22px;
  }

  .wg-navbar .navbar-brand .brand-mark {
    font-size: 16px;
  }

  .wg-section-title {
    font-size: clamp(24px, 6vw, 32px);
  }

  .wg-section-sub {
    font-size: 14px;
  }

  .wg-sub-title {
    font-size: 22px;
  }

  .wg-amenity {
    padding: 20px 14px;
  }

  .wg-amenity i {
    font-size: 28px;
  }

  .wg-amenity h5 {
    font-size: 15px;
  }

  .wg-amenity p {
    font-size: 12px;
  }

  .wg-location-map iframe {
    height: 300px;
  }

  .wg-loc-item {
    padding: 12px;
  }

  .wg-loc-item strong {
    font-size: 13.5px;
  }

  .wg-about-stats .stat {
    padding: 14px 10px;
  }

  .wg-about-stats .stat strong {
    font-size: 26px;
  }

  .wg-footer {
    padding-top: 50px;
    text-align: center;
  }

  .wg-footer h5 {
    margin-top: 10px;
  }

  .wg-foot-brand {
    justify-content: center;
  }

  .wg-foot-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 18px;
  }

  .wg-foot-bottom {
    margin-top: 30px;
    font-size: 11.5px;
  }

  /* Mobile sticky CTA: make room at bottom */
  body {
    padding-bottom: 60px;
  }

  /* Hide desktop floating buttons */
  .wg-float-call,
  .wg-float-wa {
    display: none !important;
  }

  /* Modals go near-full-width */
  .wg-modal .modal-dialog {
    margin: 0.75rem;
  }

  .wg-modal-left {
    display: none !important;
  }

  .wg-modal-form {
    padding: 30px 20px 24px;
  }

  .wg-modal-form h3 {
    font-size: 22px;
  }
}

/* ───────── Small phones (≤480) ───────── */
@media (max-width: 480px) {
  .btn.wg-btn-gold,
  .btn.wg-btn-outline-gold {
    font-size: 13px;
    padding: 12px 18px;
  }

  .wg-overview,
  .wg-unit-plans,
  .wg-amenities,
  .wg-gallery,
  .wg-location,
  .wg-about {
    padding: 50px 0;
  }

  .wg-section-title {
    font-size: 24px;
  }

  .wg-section-eyebrow {
    font-size: 10.5px;
    letter-spacing: 2px;
  }

  .wg-form-card-head {
    padding: 20px 18px 16px;
  }

  .wg-form-card-head h3 {
    font-size: 22px;
  }

  .wg-form {
    padding: 20px 18px;
  }

  .wg-input {
    font-size: 14px;
  }

  .wg-table thead th,
  .wg-table tbody td {
    padding: 10px;
    font-size: 12px;
    white-space: nowrap;
    text-align: center;
  }

  .wg-unit-caption h4 {
    font-size: 16px;
  }

  .wg-about-stats .stat strong {
    font-size: 22px;
  }

  .wg-about-stats .stat span {
    font-size: 10.5px;
    letter-spacing: 1px;
  }

  .wg-sticky-btn {
    font-size: 12px;
    padding: 12px 6px;
    letter-spacing: 0.3px;
  }

  .wg-sticky-btn i {
    font-size: 13px;
  }
}

/* ───────── Very small phones (≤360) ───────── */
@media (max-width: 360px) {
  .wg-section-title {
    font-size: 22px;
  }

  .wg-navbar .navbar-brand .brand-name {
    font-size: 20px;
  }

  .wg-amenity h5 {
    font-size: 14px;
  }

  .wg-sticky-btn {
    font-size: 11px;
    letter-spacing: 0;
  }

  .wg-sticky-btn i {
    display: none;
  }
}

/* =====================================================================
   ANIMATIONS — continuous motion & entrance polish across the page
===================================================================== */

@keyframes wgFadeSlideDown {
  from {
    opacity: 0;
    transform: translateY(-24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes wgFadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes wgFloat {
  0%,
  100% {
    transform: translateY(0) rotate(var(--wg-rot, 0deg));
  }

  50% {
    transform: translateY(-8px) rotate(var(--wg-rot, 0deg));
  }
}

@keyframes wgFloatMirror {
  0%,
  100% {
    transform: translateY(0) scale(-1, -1);
  }

  50% {
    transform: translateY(-8px) scale(-1, -1);
  }
}

@keyframes wgFloatFlipX {
  0%,
  100% {
    transform: translateY(0) scaleX(-1);
  }

  50% {
    transform: translateY(-8px) scaleX(-1);
  }
}

@keyframes wgFloatFlipY {
  0%,
  100% {
    transform: translateY(0) scaleY(-1);
  }

  50% {
    transform: translateY(6px) scaleY(-1);
  }
}

@keyframes wgPulse {
  0%,
  100% {
    box-shadow:
      0 10px 24px rgba(0, 0, 0, 0.2),
      0 0 0 0 rgba(212, 175, 55, 0.4);
  }

  50% {
    box-shadow:
      0 10px 24px rgba(0, 0, 0, 0.2),
      0 0 0 14px rgba(212, 175, 55, 0);
  }
}

@keyframes wgPulseWA {
  0%,
  100% {
    box-shadow:
      0 10px 24px rgba(0, 0, 0, 0.2),
      0 0 0 0 rgba(37, 211, 102, 0.5);
  }

  50% {
    box-shadow:
      0 10px 24px rgba(0, 0, 0, 0.2),
      0 0 0 14px rgba(37, 211, 102, 0);
  }
}

@keyframes wgShimmer {
  0% {
    background-position: -220px 0;
  }

  100% {
    background-position: 220px 0;
  }
}

@keyframes wgGlow {
  0%,
  100% {
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.25);
  }

  50% {
    box-shadow: 0 10px 28px rgba(212, 175, 55, 0.55);
  }
}

@keyframes wgBreathe {
  0%,
  100% {
    opacity: 0.85;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.06);
  }
}

/* Navbar slides down on load */
.wg-navbar {
  animation: wgFadeSlideDown 0.8s ease-out 0.1s both;
}

.wg-topbar {
  animation: wgFadeSlideDown 0.6s ease-out both;
}


/* Hero eyebrow line grows in */
.wg-eyebrow .line {
  animation: wgEyebrowLine 1.2s ease-out 0.4s both;
}

@keyframes wgEyebrowLine {
  from {
    width: 0;
    opacity: 0;
  }

  to {
    width: 40px;
    opacity: 1;
  }
}

/* ============ BROCHURE FLOWER CORNER ORNAMENTS ============ */
/* Gold line-art flowers extracted from brochure pages 10/20/21/39.
   Each corner uses a flower image from the brochure, mirrored so the
   stems anchor the corner edges and the blooms drape inward. */
.wg-overview,
.wg-unit-plans,
.wg-gallery,
.wg-location,
.wg-about {
  position: relative;
  overflow: hidden;
}

.wg-overview,
.wg-unit-plans,
.wg-gallery,
.wg-about {
  --wg-ornament-opacity: 0.9;
}

.wg-location {
  --wg-ornament-opacity: 1;
}

.wg-unit-plans::before,
.wg-unit-plans::after,
.wg-gallery::before,
.wg-gallery::after,
.wg-location::before,
.wg-location::after,
.wg-about::before,
.wg-about::after,
.wg-overview::after {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: var(--wg-ornament-opacity);
  pointer-events: none;
  z-index: 1;
}

/* Overview — small cherry branch top-left */
.wg-overview::after {
  top: 10px;
  left: 10px;
  width: 210px;
  height: 200px;
  background-image: url("../img/brochure/flower-corner-3.png");
  background-position: top left;
}

/* Unit Plans — cherry branch TL + mirrored BR */
.wg-unit-plans::before {
  top: 14px;
  left: 14px;
  background-image: url("../img/brochure/flower-corner-1.png");
  background-position: top left;
}
.wg-unit-plans::after {
  bottom: 14px;
  right: 14px;
  background-image: url("../img/brochure/flower-corner-1.png");
  background-position: bottom right;
  transform: scale(-1, -1);
}

/* Gallery — cherry branch TR + tall lily BL */
.wg-gallery::before {
  top: 14px;
  right: 14px;
  left: auto;
  background-image: url("../img/brochure/flower-corner-1.png");
  background-position: top right;
  transform: scaleX(-1);
}
.wg-gallery::after {
  bottom: 14px;
  left: 14px;
  right: auto;
  width: 190px;
  height: 240px;
  background-image: url("../img/brochure/flower-corner-4.png");
  background-position: bottom left;
}

/* Location (dark green) — lily bloom TL + cherry branch BR */
.wg-location::before {
  top: 18px;
  left: 18px;
  width: 190px;
  height: 220px;
  background-image: url("../img/brochure/flower-corner-2.png");
  background-position: top left;
  transform: rotate(-6deg);
}
.wg-location::after {
  bottom: 14px;
  right: 14px;
  background-image: url("../img/brochure/flower-corner-3.png");
  background-position: bottom right;
  transform: scale(-1, -1);
}

/* About — cherry branch TL + tall lily BR */
.wg-about::before {
  top: 14px;
  left: 14px;
  background-image: url("../img/brochure/flower-corner-1.png");
  background-position: top left;
}
.wg-about::after {
  bottom: 14px;
  right: 14px;
  width: 190px;
  height: 240px;
  background-image: url("../img/brochure/flower-corner-4.png");
  background-position: bottom right;
  transform: scaleX(-1);
}

/* keep content above ornaments */
.wg-overview > .wg-container,
.wg-unit-plans > .wg-container,
.wg-gallery > .wg-container,
.wg-location > .wg-container,
.wg-about > .wg-container {
  position: relative;
  z-index: 2;
}

@media (max-width: 991px) {
  .wg-unit-plans::before,
  .wg-unit-plans::after,
  .wg-gallery::before,
  .wg-gallery::after,
  .wg-location::before,
  .wg-location::after,
  .wg-about::before,
  .wg-about::after,
  .wg-overview::after {
    width: 160px !important;
    height: 160px !important;
  }
}

@media (max-width: 767px) {
  .wg-unit-plans::before,
  .wg-unit-plans::after,
  .wg-gallery::before,
  .wg-gallery::after,
  .wg-location::before,
  .wg-location::after,
  .wg-about::before,
  .wg-about::after,
  .wg-overview::after {
    display: none !important;
  }
}

/* Corner ornaments slowly breathe in opacity — no transform conflict */
.wg-overview::after,
.wg-unit-plans::before,
.wg-unit-plans::after,
.wg-gallery::before,
.wg-gallery::after,
.wg-location::before,
.wg-location::after,
.wg-about::before,
.wg-about::after {
  animation: wgOrnamentBreathe 6s ease-in-out infinite;
}

@keyframes wgOrnamentBreathe {
  0%,
  100% {
    opacity: var(--wg-ornament-opacity, 0.9);
  }

  50% {
    opacity: calc(var(--wg-ornament-opacity, 0.9) * 0.85);
  }
}

/* Amenity cards: icon breathes softly */
.wg-amenity i {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.wg-amenity:hover i {
  animation: wgBreathe 1.6s ease-in-out infinite;
  color: var(--wg-gold);
}

/* Gold CTA buttons: subtle glow pulse to draw the eye */
.btn.wg-btn-gold {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    filter 0.3s ease;
}

.btn.wg-btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(212, 175, 55, 0.35);
  filter: brightness(1.05);
}

.btn.wg-btn-outline-gold {
  transition: all 0.3s ease;
}

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

/* Floating buttons pulse to catch attention */
.wg-float-call {
  animation: wgPulse 2.4s ease-out infinite;
}

.wg-float-wa {
  animation: wgPulseWA 2.4s ease-out infinite 0.8s;
}

/* Gold top-line on footer shimmers */
.wg-footer::before {
  background-size: 220px 100%;
  animation: wgShimmer 4s linear infinite;
}

/* Nav links subtle entrance */
.wg-nav-links .nav-link {
  opacity: 0;
  animation: wgFadeSlideUp 0.6s ease-out forwards;
}

.wg-nav-links .nav-item:nth-child(1) .nav-link {
  animation-delay: 0.3s;
}
.wg-nav-links .nav-item:nth-child(2) .nav-link {
  animation-delay: 0.4s;
}
.wg-nav-links .nav-item:nth-child(3) .nav-link {
  animation-delay: 0.5s;
}
.wg-nav-links .nav-item:nth-child(4) .nav-link {
  animation-delay: 0.6s;
}
.wg-nav-links .nav-item:nth-child(5) .nav-link {
  animation-delay: 0.7s;
}
.wg-nav-links .nav-item:nth-child(6) .nav-link {
  animation-delay: 0.8s;
}

/* ============ HIGH-QUALITY GLOBAL ANIMATIONS ============ */

/* Smooth native scroll + accent-aware focus */
html {
  scroll-behavior: smooth;
}

/* Custom cubic easings for premium feel */
:root {
  --wg-ease-premium: cubic-bezier(0.2, 0.8, 0.2, 1);
  --wg-ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --wg-ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* AOS override: longer, smoother reveal */
[data-aos] {
  transition-timing-function: var(--wg-ease-premium) !important;
  will-change: transform, opacity;
}

/* ============ OFFER POPUP ============ */
.wg-offer-modal .modal-dialog {
  max-width: 440px;
}

.wg-offer-modal .modal-content {
  overflow: visible;
  border: 1px solid rgba(212, 175, 55, 0.4);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  border-radius: 16px;
  background: #fff;
}

.wg-offer-form {
  padding: 40px 34px 30px !important;
  position: relative;
  border-radius: 16px;
}

.wg-offer-badge {
  position: absolute;
  top: -26px;
  left: 50%;
  transform: translateX(-50%);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--wg-gold), #b8892d);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.5);
  animation: wgOfferBadgeBob 2.4s ease-in-out infinite;
  z-index: 2;
}

@keyframes wgOfferBadgeBob {
  0%,
  100% {
    transform: translateX(-50%) translateY(0) rotate(-8deg);
  }
  50% {
    transform: translateX(-50%) translateY(-6px) rotate(8deg);
  }
}

.wg-offer-form h3 {
  font-family: "Playfair Display", serif;
  color: var(--wg-green-dark);
  font-size: 24px;
  font-weight: 700;
  margin: 8px 0 8px;
  text-align: center;
}

.wg-offer-form > p {
  color: #6c7e78;
  font-size: 14px;
  margin-bottom: 18px;
  text-align: center;
}

.wg-offer-form > p strong {
  color: var(--wg-gold);
}

.wg-offer-trust {
  text-align: center;
  font-size: 12px;
  color: #8a8a8a;
  margin: 12px 0 0;
}

.wg-offer-trust i {
  color: var(--wg-gold);
  margin-right: 4px;
}

/* Popup entrance animation */
.wg-offer-modal.show .modal-dialog {
  animation: wgOfferPopIn 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes wgOfferPopIn {
  0% {
    opacity: 0;
    transform: scale(0.85) translateY(30px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@media (max-width: 575px) {
  .wg-offer-modal .modal-dialog {
    max-width: 92%;
    margin: 1rem auto;
  }
  .wg-offer-form {
    padding: 34px 22px 24px !important;
  }
  .wg-offer-form h3 {
    font-size: 20px;
  }
  .wg-offer-badge {
    width: 48px;
    height: 48px;
    font-size: 18px;
    top: -22px;
  }
}

/* Section titles: gold underline reveal — scoped to centered titles only */
.text-center .wg-section-title {
  position: relative;
  padding-bottom: 18px;
}

.text-center .wg-section-title.aos-animate::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--wg-gold), transparent);
  transform: translateX(-50%);
  animation: wgLineReveal 1.6s var(--wg-ease-premium) 1s forwards;
}

.text-center .wg-section-title.light.aos-animate::after {
  background: linear-gradient(
    90deg,
    transparent,
    var(--wg-gold-light, #e8c872),
    transparent
  );
}

@keyframes wgLineReveal {
  to {
    width: 140px;
  }
}

/* Amenity cards: 3D tilt + gold gleam on hover */
.wg-amenity {
  transition:
    transform 0.5s var(--wg-ease-premium),
    box-shadow 0.5s var(--wg-ease-premium),
    border-color 0.5s ease,
    background 0.5s ease;
  transform-style: preserve-3d;
  position: relative;
  overflow: hidden;
}

.wg-amenity::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 40%,
    rgba(212, 175, 55, 0.15) 50%,
    transparent 60%
  );
  transform: translateX(-100%);
  transition: transform 0.9s var(--wg-ease-premium);
  pointer-events: none;
}

.wg-amenity:hover {
  transform: translateY(-8px) rotateX(2deg);
  box-shadow: 0 22px 50px rgba(10, 58, 48, 0.28);
}

.wg-amenity:hover::before {
  transform: translateX(100%);
}

/* Unit cards: premium lift */
.wg-unit-card {
  transition:
    transform 0.45s var(--wg-ease-premium),
    box-shadow 0.45s var(--wg-ease-premium) !important;
}

.wg-unit-card:hover {
  transform: translateY(-10px) scale(1.015) !important;
  box-shadow: 0 28px 50px rgba(10, 58, 48, 0.2) !important;
}

/* Gallery cards: soft reveal + zoom */
.wg-gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--wg-radius-lg, 14px);
  transition:
    transform 0.5s var(--wg-ease-premium),
    box-shadow 0.5s var(--wg-ease-premium);
}

.wg-gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10, 58, 48, 0.55));
  opacity: 0;
  transition: opacity 0.5s var(--wg-ease-premium);
  pointer-events: none;
}

.wg-gallery-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(10, 58, 48, 0.3);
}

.wg-gallery-card:hover::after {
  opacity: 1;
}

/* USP bar cells — stagger hover */
.usp-cell {
  transition:
    transform 0.4s var(--wg-ease-premium),
    background 0.4s ease;
}

.usp-cell:hover {
  transform: translateY(-3px);
  background: rgba(212, 175, 55, 0.08);
}

/* Stats counter reveal */
.wg-about-stats .stat strong {
  display: inline-block;
  transition:
    transform 0.6s var(--wg-ease-premium),
    color 0.3s ease;
}

.wg-about-stats .stat.aos-animate strong {
  animation: wgPop 0.7s var(--wg-ease-bounce) 0.3s both;
}

@keyframes wgPop {
  0% {
    transform: scale(0.6);
    opacity: 0;
  }
  60% {
    transform: scale(1.12);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Navbar scroll shrink */
.wg-navbar {
  transition:
    padding 0.35s var(--wg-ease-premium),
    background 0.35s ease,
    box-shadow 0.35s ease,
    backdrop-filter 0.35s ease;
}

.wg-navbar.scrolled {
  backdrop-filter: blur(14px);
}

/* Form card float on scroll */
.wg-form-card {
  transition:
    transform 0.5s var(--wg-ease-premium),
    box-shadow 0.5s var(--wg-ease-premium);
}

.wg-form-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 52px rgba(10, 58, 48, 0.15);
}

/* Premium button shine */
.btn.wg-btn-gold {
  position: relative;
  overflow: hidden;
}

.btn.wg-btn-gold::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.45),
    transparent
  );
  transition: left 0.7s var(--wg-ease-premium);
  pointer-events: none;
}

.btn.wg-btn-gold:hover::before {
  left: 100%;
}

/* Accordion button hover subtle nudge */
.wg-loc-accordion .accordion-button {
  transition:
    background 0.35s ease,
    color 0.35s ease,
    transform 0.35s var(--wg-ease-premium);
}

.wg-loc-accordion .accordion-button:hover {
  transform: translateX(2px);
}

/* Gallery cards: smooth image zoom on hover */
.wg-gallery-card img {
  transition: transform 0.6s ease;
}

.wg-gallery-card:hover img {
  transform: scale(1.06);
}

/* Unit plan cards hover lift */
.wg-unit-card {
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.wg-unit-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(10, 58, 48, 0.15);
}

/* Location items hover slide */
.wg-loc-item {
  transition:
    transform 0.3s ease,
    background 0.3s ease,
    border-color 0.3s ease;
}

.wg-loc-item:hover {
  transform: translateX(4px);
  background: rgba(212, 175, 55, 0.12);
  border-color: rgba(212, 175, 55, 0.5);
}

/* About stat cards hover lift */
.wg-about-stats .stat {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.wg-about-stats .stat:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(10, 58, 48, 0.08);
}

/* Form input focus glow */
.wg-input {
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease;
}

.wg-input:focus {
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.18);
  outline: none;
}

/* Reduce motion preference — respect user accessibility setting */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
