/* ==========================================================================
   Frontend Stylesheet
   ========================================================================== */

/* ─── Design Tokens ─────────────────────────────────────────────────────── */
:root {
  /* Surfaces */
  --bg-page:        #FAF9F7;
  --bg-white:       #FFFFFF;
  --bg-alt:         #F5F0E8;
  --bg-subtle:      #F0EBE1;
  --bg-dark:        #1A1917;
  --bg-dark-mid:    #2C2A27;

  /* Text Scale */
  --text-heading:   #1A1917;
  --text-body:      #44403A;
  --text-muted:     #78716C;
  --text-light:     #A8A29E;
  --text-inverted:  #FFFFFF;

  /* Border */
  --border-warm:    #E7E0D6;
  --border-mid:     #D4C9BB;
  --border-dark:    rgba(255,255,255,0.1);

  /* Accent */
  --accent:         #C96442;
  --accent-hover:   #B05637;
  --accent-light:   #FDF3EE;
  --accent-border:  #F0C4AD;

  /* Semantic */
  --success:        #16A34A;
  --success-bg:     #F0FDF4;
  --success-border: #BBF7D0;
  --warning:        #B45309;
  --warning-bg:     #FFFBEB;
  --warning-border: #FDE68A;
  --danger:         #DC2626;
  --danger-bg:      #FEF2F2;
  --danger-border:  #FECACA;
  --info:           #1D4ED8;
  --info-bg:        #EFF6FF;
  --info-border:    #BFDBFE;

  /* WhatsApp */
  --wa-color:       #16A34A;
  --wa-hover:       #15803D;

  /* Typography — DM Sans geometric warm sans */
  --font-body:      'DM Sans', 'Inter', system-ui, -apple-system, sans-serif;
  --font-heading:   'DM Sans', 'Inter', system-ui, sans-serif;
  --font-serif:     'DM Serif Display', Georgia, serif;

  /* Radii — Subtle, not rounded */
  --r-xs:   3px;
  --r-sm:   5px;
  --r-md:   8px;
  --r-lg:   12px;
  --r-xl:   16px;
  --r-full: 9999px;

  /* ZERO SHADOWS */
  --shadow: none;

  /* Layout */
  --container-max: 1160px;
  --container-px:  1.5rem;
  --section-py:    5.5rem;
}

/* ─── Reset & Base ───────────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  box-shadow: none !important;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-body);
  background-color: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-heading);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}

a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }

/* Icons */
.icon-xs { width: 14px; height: 14px; display: inline-block; vertical-align: middle; }
.icon-sm { width: 18px; height: 18px; display: inline-block; vertical-align: middle; }
.icon-md { width: 22px; height: 22px; display: inline-block; vertical-align: middle; }
.icon-lg { width: 28px; height: 28px; display: inline-block; vertical-align: middle; }
svg { flex-shrink: 0; }

/* ─── Layout ─────────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-px);
  padding-right: var(--container-px);
}

.section {
  padding-top: var(--section-py);
  padding-bottom: var(--section-py);
  background-color: var(--bg-page);
}

.section-alt {
  background-color: var(--bg-alt);
  border-top: 1px solid var(--border-warm);
  border-bottom: 1px solid var(--border-warm);
}

.section-dark {
  background-color: var(--bg-dark);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-light);
  border: 1px solid var(--accent-border);
  padding: 0.25rem 0.75rem;
  border-radius: var(--r-full);
  margin-bottom: 0.875rem;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.375rem);
  font-weight: 700;
  color: var(--text-heading);
  letter-spacing: -0.025em;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ─── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.4;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.18s ease;
}
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn svg { width: 16px; height: 16px; }

.btn-primary {
  background-color: var(--accent);
  border-color: var(--accent);
  color: #FFFFFF;
}
.btn-primary:hover:not(:disabled) {
  background-color: var(--accent-hover);
  border-color: var(--accent-hover);
}

.btn-secondary {
  background-color: var(--bg-white);
  border-color: var(--border-warm);
  color: var(--text-body);
}
.btn-secondary:hover:not(:disabled) {
  background-color: var(--bg-alt);
  border-color: var(--border-mid);
}

.btn-dark {
  background-color: var(--text-heading);
  border-color: var(--text-heading);
  color: #FFFFFF;
}
.btn-dark:hover:not(:disabled) {
  background-color: var(--bg-dark-mid);
}

.btn-outline-white {
  background-color: transparent;
  border-color: rgba(255,255,255,0.35);
  color: #FFFFFF;
}
.btn-outline-white:hover:not(:disabled) {
  background-color: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--border-warm);
  color: var(--text-body);
}
.btn-outline:hover:not(:disabled) {
  background-color: var(--bg-alt);
  border-color: var(--border-mid);
}

.btn-whatsapp {
  background-color: #1A1917;
  border-color: #1A1917;
  color: #FFFFFF;
}
.btn-whatsapp:hover:not(:disabled) {
  background-color: #2C2A27;
  border-color: #2C2A27;
}

.btn-sm { padding: 0.375rem 0.875rem; font-size: 0.8125rem; border-radius: var(--r-xs); }
.btn-lg { padding: 0.75rem 1.75rem; font-size: 0.9375rem; }
.btn-block { width: 100%; }

/* ─── Badges ─────────────────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.5625rem;
  border-radius: var(--r-xs);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid transparent;
}
.badge-success  { background: var(--success-bg);  color: var(--success);  border-color: var(--success-border); }
.badge-warning  { background: var(--warning-bg);  color: var(--warning);  border-color: var(--warning-border); }
.badge-danger   { background: var(--danger-bg);   color: var(--danger);   border-color: var(--danger-border); }
.badge-info     { background: var(--info-bg);     color: var(--info);     border-color: var(--info-border); }
.badge-accent   { background: var(--accent-light); color: var(--accent); border-color: var(--accent-border); }
.badge-default  { background: var(--bg-subtle);   color: var(--text-muted); border-color: var(--border-warm); }

/* ─── Announcement Bar ───────────────────────────────────────────────────── */
.announcement-bar {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.85);
  padding: 0.5625rem 0;
  font-size: 0.8125rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: relative;
  z-index: 50;
}
.announcement-content {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-right: 2rem;
  text-align: center;
}
.announcement-content p { margin: 0; line-height: 1.4; }
.announcement-content a {
  color: #E8A882;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-left: 0.375rem;
}
.announcement-close {
  position: absolute;
  right: var(--container-px);
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  padding: 0.25rem;
  line-height: 0;
  display: flex;
  align-items: center;
}
.announcement-close:hover { color: rgba(255,255,255,0.9); }

/* ─── Header & Navigation ────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0.875rem 0;
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--border-warm);
  transition: all 0.2s ease;
}

.site-header.scrolled {
  background-color: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.header-logo { display: flex; align-items: center; gap: 0.625rem; text-decoration: none; }
.logo-img { max-height: 34px; width: auto; }
.logo-text {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-heading);
  letter-spacing: -0.025em;
}

.header-nav { display: none; }
@media (min-width: 900px) { .header-nav { display: block; } }

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.125rem;
  list-style: none;
}
.nav-link {
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--r-xs);
  transition: all 0.15s ease;
}
.nav-link:hover {
  color: var(--text-heading);
  background-color: var(--bg-alt);
}
.nav-link.active {
  color: var(--text-heading);
  background-color: var(--bg-subtle);
  font-weight: 600;
}

.header-cta {
  background-color: var(--accent);
  border-color: var(--accent);
  color: #FFFFFF;
}
.header-cta:hover {
  background-color: var(--accent-hover);
  border-color: var(--accent-hover);
}

.hamburger {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-alt);
  border: 1px solid var(--border-warm);
  color: var(--text-body);
  padding: 0.4rem;
  border-radius: var(--r-xs);
  cursor: pointer;
}
@media (min-width: 900px) { .hamburger { display: none; } }

.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(26,25,23,0.5);
  z-index: 2000;
}
.mobile-nav-overlay.open { display: block; }
.mobile-nav {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 82%;
  max-width: 300px;
  background: var(--bg-white);
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--border-warm);
}
.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-warm);
}
.mobile-nav-close {
  background: var(--bg-alt);
  border: 1px solid var(--border-warm);
  border-radius: var(--r-xs);
  padding: 0.35rem;
  cursor: pointer;
  color: var(--text-body);
}
.mobile-nav-list { list-style: none; padding: 0.75rem 0; flex: 1; overflow-y: auto; }
.mobile-nav-link {
  display: block;
  padding: 0.6875rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-body);
  border-bottom: 1px solid var(--border-warm);
}
.mobile-nav-link:hover { background-color: var(--bg-alt); color: var(--text-heading); }
.mobile-nav-cta { padding: 1.25rem 1.5rem; border-top: 1px solid var(--border-warm); }

/* ─── Hero Section ───────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 0 4.5rem;
  background-color: var(--bg-dark);
  overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.hero-bg img, .hero-bg video {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  opacity: 0.28;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    160deg,
    rgba(26,25,23,0.82) 0%,
    rgba(26,25,23,0.70) 60%,
    rgba(201,100,66,0.18) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 3;
  color: var(--text-inverted);
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.hero-price-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(201,100,66,0.2);
  border: 1px solid rgba(201,100,66,0.4);
  padding: 0.375rem 1rem;
  border-radius: var(--r-full);
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  color: #F0C4AD;
}
.hero-price-tag strong { color: #FFFFFF; font-size: 0.9375rem; }
.price-label { opacity: 0.8; }

.hero-heading {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.5vw, 3.375rem);
  font-weight: 700;
  color: var(--text-inverted);
  margin-bottom: 1.125rem;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.hero-subheading {
  font-size: clamp(0.9375rem, 1.6vw, 1.0625rem);
  font-weight: 400;
  color: rgba(255,255,255,0.75);
  margin-bottom: 1.25rem;
  line-height: 1.7;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-location-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  border: 1px solid rgba(255,255,255,0.2);
  padding: 0.25rem 0.75rem;
  border-radius: var(--r-full);
  font-size: 0.7813rem;
  font-weight: 500;
  margin-bottom: 2rem;
  color: rgba(255,255,255,0.8);
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.875rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.4375rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
}

/* ─── Benefits Section ───────────────────────────────────────────────────── */
.section-benefits { background-color: var(--bg-white); }

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) { .benefits-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .benefits-grid { grid-template-columns: repeat(3, 1fr); } }

.benefit-card {
  background: var(--bg-page);
  border: 1px solid var(--border-warm);
  border-radius: var(--r-md);
  padding: 1.75rem 1.5rem;
  transition: border-color 0.2s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.benefit-card:hover { border-color: var(--border-mid); }

.benefit-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--r-sm);
  background: var(--bg-white);
  border: 1px solid var(--border-warm);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.125rem;
}
.benefit-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 0.375rem;
}
.benefit-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ─── Property Types — pt-card System ───────────────────────────────────── */
.pt-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) { .pt-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .pt-grid { grid-template-columns: repeat(3, 1fr); } }

/* Card */
.pt-card {
  background: var(--bg-white);
  border: 1px solid var(--border-warm);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.pt-card:hover {
  border-color: var(--border-mid);
  transform: translateY(-2px);
}
.pt-card--soldout { opacity: 0.7; }
.pt-card--soldout:hover { transform: none; }

/* Card — Image */
.pt-card__image {
  position: relative;
  aspect-ratio: 3/2;
  overflow: hidden;
  background: var(--bg-alt);
}
.pt-card__image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}
.pt-card:hover .pt-card__image img { transform: scale(1.05); }

/* Status badge on card */
.pt-card__badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.2rem 0.625rem;
  border-radius: var(--r-xs);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.pt-badge--available  { background: #ECFDF5; color: #065F46; border: 1px solid #A7F3D0; }
.pt-badge--indent     { background: #FDF3EE; color: #9A3412; border: 1px solid #FDBA74; }
.pt-badge--limited    { background: #FDF3EE; color: #9A3412; border: 1px solid #F0C4AD; }
.pt-badge--sold_out   { background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; }
.pt-badge--coming_soon { background: var(--bg-subtle); color: var(--text-muted); border: 1px solid var(--border-warm); }

/* Quick-view hover button */
.pt-card__quickview {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  width: 34px; height: 34px;
  border-radius: var(--r-xs);
  background: rgba(26,25,23,0.75);
  border: 1px solid rgba(255,255,255,0.15);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.2s, transform 0.2s;
}
.pt-card__quickview svg { width: 15px; height: 15px; }
.pt-card:hover .pt-card__quickview {
  opacity: 1;
  transform: translateY(0);
}

/* Card — Body */
.pt-card__body {
  padding: 1.375rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.875rem;
}
.pt-card__meta { display: flex; flex-direction: column; gap: 0.25rem; }
.pt-card__name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1.3;
}
.pt-card__price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-heading);
  letter-spacing: -0.02em;
}

/* Specs strip */
.pt-card__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-warm);
}
.pt-spec {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg-page);
  border: 1px solid var(--border-warm);
  padding: 0.1875rem 0.5rem;
  border-radius: var(--r-xs);
}
.pt-spec svg { width: 12px; height: 12px; color: var(--text-light); }

/* Actions */
.pt-card__actions {
  display: flex;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.25rem;
}
.pt-btn-detail {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  padding: 0.5rem 0.875rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-body);
  background: var(--bg-page);
  border: 1px solid var(--border-warm);
  border-radius: var(--r-xs);
  cursor: pointer;
  transition: all 0.15s;
  font-family: inherit;
}
.pt-btn-detail:hover {
  background: var(--bg-alt);
  border-color: var(--border-mid);
  color: var(--text-heading);
}
.pt-btn-wa {
  flex: 1.4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  padding: 0.5rem 0.875rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #FFFFFF;
  background: var(--text-heading);
  border: 1px solid var(--text-heading);
  border-radius: var(--r-xs);
  cursor: pointer;
  transition: all 0.15s;
  text-decoration: none;
}
.pt-btn-wa:hover { background: #2C2A27; border-color: #2C2A27; }
.pt-sold-label {
  font-size: 0.8125rem;
  color: var(--text-light);
  font-style: italic;
}

/* Backwards-compat for any remaining old class refs */
.property-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.property-card, .property-content, .property-image, .property-actions { display: none; }
@media (max-width: 1023px) { .property-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 639px) { .property-grid { grid-template-columns: 1fr; } }

/* ─── Property Detail Modal ─────────────────────────────────────────── */
.pd-overlay {
  position: fixed;
  inset: 0;
  background: rgba(12,10,9,0.72);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  backdrop-filter: blur(3px);
}

/* Dialog shell */
.pd-modal {
  background: var(--bg-white);
  border: 1px solid var(--border-warm);
  border-radius: var(--r-lg);
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  scrollbar-width: thin;
  scrollbar-color: var(--border-mid) transparent;
}
.pd-modal::-webkit-scrollbar { width: 4px; }
.pd-modal::-webkit-scrollbar-track { background: transparent; }
.pd-modal::-webkit-scrollbar-thumb { background: var(--border-mid); border-radius: 9px; }

/* ── Close button ───────────────────────────────────────────────────────── */
.pd-close {
  position: absolute;
  top: 0.875rem;
  right: 0.875rem;
  z-index: 20;
  width: 34px; height: 34px;
  border-radius: var(--r-xs);
  background: rgba(26,25,23,0.65);
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.9);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.15s;
}
.pd-close:hover { background: rgba(26,25,23,0.9); }
.pd-close svg { width: 16px; height: 16px; }

/* ── Hero (image + gradient + meta) ─────────────────────────────────────── */
.pd-hero {
  position: relative;
  height: 300px;
  overflow: hidden;
  flex-shrink: 0;
}
@media (min-width: 640px) { .pd-hero { height: 340px; } }

/* Background image as CSS background for smooth cover */
.pd-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: var(--bg-alt);
  transition: transform 0.4s ease;
}
.pd-hero:hover .pd-hero__bg { transform: scale(1.025); }

/* Dark gradient overlay — stronger at bottom */
.pd-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(12,10,9,0.08) 0%,
    rgba(12,10,9,0.15) 40%,
    rgba(12,10,9,0.72) 80%,
    rgba(12,10,9,0.88) 100%
  );
  z-index: 1;
}

/* Meta text on top of image */
.pd-hero__meta {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 1.625rem 1.25rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

/* Badge on image */
.pd-hero__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.1875rem 0.625rem;
  border-radius: var(--r-xs);
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 0.125rem;
  align-self: flex-start;
}
/* Override badge colors to be visible on dark hero */
.pd-hero__badge.pd-badge--available  { background: rgba(16,185,129,0.25); color: #6EE7B7; border: 1px solid rgba(110,231,183,0.35); }
.pd-hero__badge.pd-badge--indent     { background: rgba(201,100,66,0.25); color: #FCA98D; border: 1px solid rgba(252,169,141,0.35); }
.pd-hero__badge.pd-badge--limited    { background: rgba(201,100,66,0.25); color: #FCA98D; border: 1px solid rgba(252,169,141,0.35); }
.pd-hero__badge.pd-badge--sold_out   { background: rgba(220,38,38,0.25);  color: #FCA5A5; border: 1px solid rgba(252,165,165,0.35); }
.pd-hero__badge.pd-badge--coming_soon { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.6); border: 1px solid rgba(255,255,255,0.2); }

.pd-hero__name {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: -0.025em;
  line-height: 1.2;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
.pd-hero__price {
  font-size: clamp(1rem, 2.5vw, 1.375rem);
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  letter-spacing: -0.02em;
}

/* Zoom button */
.pd-hero__zoom {
  position: absolute;
  bottom: 1.125rem;
  right: 1.125rem;
  z-index: 3;
  width: 34px; height: 34px;
  border-radius: var(--r-xs);
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.85);
  display: flex; align-items: center; justify-content: center;
  cursor: zoom-in;
  transition: background 0.15s;
}
.pd-hero__zoom:hover { background: rgba(255,255,255,0.28); color: #fff; }
.pd-hero__zoom svg { width: 15px; height: 15px; }

/* ── Thumbnail strip (horizontal, below hero) ───────────────────────── */
.pd-thumbstrip {
  display: flex;
  gap: 8px;
  background: #141312;
  overflow-x: auto;
  padding: 10px 1.5rem;
  flex-shrink: 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.15) transparent;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: relative;
  z-index: 10;
}
.pd-thumbstrip::-webkit-scrollbar { height: 4px; }
.pd-thumbstrip::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 4px; }

.pd-thumb {
  flex-shrink: 0;
  width: 80px;
  height: 56px;
  border-radius: var(--r-xs);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: #2C2A27;
  border: 1px solid rgba(255,255,255,0.15);
  padding: 0;
  transition: all 0.15s ease;
  outline: none;
}
.pd-thumb:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.pd-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.75;
  transition: opacity 0.15s;
  pointer-events: none;
}
.pd-thumb:hover img {
  opacity: 1;
}
.pd-thumb--more img { opacity: 0.35; }
.pd-thumb__more {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFF;
  font-weight: 700;
  font-size: 0.875rem;
  background: rgba(26,25,23,0.6);
  pointer-events: none;
}

/* ── Body — two column ───────────────────────────────────────────────────── */
.pd-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
@media (min-width: 700px) {
  .pd-body { grid-template-columns: 1fr 288px; align-items: start; }
}

/* LEFT — info */
.pd-info {
  padding: 1.5rem 1.625rem 2rem;
  border-right: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
@media (min-width: 700px) {
  .pd-info { border-right: 1px solid var(--border-warm); }
}

.pd-section__label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.pd-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin: 0;
}

/* Feature list — 2-column grid */
.pd-features__list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1rem;
}
@media (max-width: 480px) { .pd-features__list { grid-template-columns: 1fr; } }

.pd-features__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--text-body);
  line-height: 1.4;
}

/* Green check pill */
.pd-check {
  flex-shrink: 0;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #DCFCE7;
  border: 1px solid #BBF7D0;
  color: #16A34A;
  display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
}
.pd-check svg { width: 11px; height: 11px; }

/* RIGHT — sidebar */
.pd-sidebar {
  padding: 1.5rem 1.25rem 2rem;
  background: var(--bg-page);
  border-top: 1px solid var(--border-warm);
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
}
@media (min-width: 700px) {
  .pd-sidebar { border-top: none; padding: 1.5rem 1.25rem 2rem; }
}

/* ── Spec card — 2×N grid layout ─────────────────────────────────────────── */
.pd-specs-card {
  background: var(--bg-white);
  border: 1px solid var(--border-warm);
  border-radius: var(--r-md);
  padding: 1rem 1.125rem 1.125rem;
}
.pd-specs-card__title {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-light);
  margin-bottom: 0.875rem;
}

/* 2-column spec grid */
.pd-specs-grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.625rem;
}

.pd-spec2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3125rem;
  background: var(--bg-page);
  border: 1px solid var(--border-warm);
  border-radius: var(--r-sm);
  padding: 0.75rem 0.5rem;
  text-align: center;
}

.pd-spec2__icon {
  width: 36px; height: 36px;
  border-radius: var(--r-xs);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.pd-spec2__icon svg { width: 16px; height: 16px; }

/* Colourful icon backgrounds per type */
.pd-spec2__icon--land  { background: #FDF3EE; color: #C96442; }
.pd-spec2__icon--build { background: #EFF6FF; color: #3B82F6; }
.pd-spec2__icon--bed   { background: #F5F3FF; color: #8B5CF6; }
.pd-spec2__icon--bath  { background: #ECFDF5; color: #16A34A; }
.pd-spec2__icon--car   { background: #FFFBEB; color: #B45309; }

.pd-spec2__val {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-heading);
  letter-spacing: -0.02em;
  line-height: 1;
}
.pd-spec2__lbl {
  font-size: 0.6875rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ── CTA block ───────────────────────────────────────────────────────────── */
.pd-cta-block { display: flex; flex-direction: column; gap: 0.625rem; }

.pd-cta-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.8125rem 1rem;
  background: #1A1917;
  color: #FFFFFF;
  border: 1px solid #1A1917;
  border-radius: var(--r-sm);
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s;
  line-height: 1.3;
}
.pd-cta-wa:hover { background: #2C2A27; }
.pd-cta-wa svg { flex-shrink: 0; }

/* Assurance badges row */
.pd-cta-assurance {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
}
.pd-cta-assurance span {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-white);
  border: 1px solid var(--border-warm);
  border-radius: var(--r-xs);
  padding: 0.2rem 0.5rem;
}
.pd-cta-assurance span svg { width: 11px; height: 11px; color: var(--success); }

/* Sold-out notice */
.pd-soldout-notice {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  background: #FEF2F2;
  border: 1px solid #FECACA;
  border-radius: var(--r-sm);
  padding: 0.875rem 1rem;
  font-size: 0.8125rem;
  color: #991B1B;
  line-height: 1.55;
}
.pd-soldout-notice svg { flex-shrink: 0; margin-top: 1px; }

/* Backwards compat — old pd-modal classes (no-op) */
.pd-gallery, .pd-gallery__main, .pd-gallery__thumbs,
.pd-gallery__thumb, .pd-gallery__zoom { }
.pd-name, .pd-price, .pd-status { }
.pd-spec-item, .pd-spec-icon, .pd-spec-label, .pd-spec-val { }
.pd-cta-note { font-size: 0.75rem; text-align: center; color: var(--text-light); }




/* Dialog */
.pd-modal {
  background: var(--bg-white);
  border: 1px solid var(--border-warm);
  border-radius: var(--r-lg);
  width: 100%;
  max-width: 880px;
  max-height: 92vh;
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  scrollbar-width: thin;
  scrollbar-color: var(--border-mid) transparent;
}
.pd-modal::-webkit-scrollbar { width: 5px; }
.pd-modal::-webkit-scrollbar-track { background: transparent; }
.pd-modal::-webkit-scrollbar-thumb { background: var(--border-mid); border-radius: 9px; }

/* Close button */
.pd-close {
  position: absolute;
  top: 0.875rem;
  right: 0.875rem;
  z-index: 10;
  width: 32px; height: 32px;
  border-radius: var(--r-xs);
  background: rgba(255,255,255,0.9);
  border: 1px solid var(--border-warm);
  color: var(--text-muted);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all 0.15s;
}
.pd-close:hover { background: var(--bg-alt); color: var(--text-heading); }
.pd-close svg { width: 16px; height: 16px; }

/* Gallery — top strip */
.pd-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
@media (min-width: 600px) {
  .pd-gallery {
    grid-template-columns: 1fr 140px;
    min-height: 280px;
    max-height: 340px;
  }
}
.pd-gallery__main {
  position: relative;
  background: var(--bg-alt);
  overflow: hidden;
  aspect-ratio: 16/9;
  cursor: zoom-in;
}
@media (min-width: 600px) { .pd-gallery__main { aspect-ratio: unset; } }
.pd-gallery__main img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.pd-gallery__main:hover img { transform: scale(1.03); }
.pd-gallery__zoom {
  position: absolute;
  bottom: 0.625rem;
  right: 0.625rem;
  width: 28px; height: 28px;
  background: rgba(26,25,23,0.65);
  border-radius: var(--r-xs);
  color: #FFF;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
.pd-gallery__zoom svg { width: 14px; height: 14px; }

/* Thumbs column */
.pd-gallery__thumbs {
  display: flex;
  flex-direction: row;
  gap: 2px;
  background: var(--bg-dark);
  overflow-x: auto;
}
@media (min-width: 600px) {
  .pd-gallery__thumbs {
    flex-direction: column;
    overflow-x: hidden;
    overflow-y: auto;
  }
}
.pd-gallery__thumb {
  position: relative;
  flex: 1;
  min-width: 80px;
  min-height: 65px;
  overflow: hidden;
  cursor: zoom-in;
  background: var(--bg-alt);
}
.pd-gallery__thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.75;
  transition: opacity 0.2s;
}
.pd-gallery__thumb:hover img { opacity: 1; }
.pd-gallery__thumb--more img { opacity: 0.35; }
.pd-gallery__more-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFF;
  font-weight: 700;
  font-size: 1.125rem;
  background: rgba(26,25,23,0.4);
}

/* Body */
.pd-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
@media (min-width: 720px) {
  .pd-body {
    grid-template-columns: 1fr 300px;
    align-items: start;
  }
}

/* Left — info column */
.pd-info {
  padding: 1.625rem 1.5rem;
  border-right: 0;
}
@media (min-width: 720px) {
  .pd-info {
    border-right: 1px solid var(--border-warm);
    padding: 1.75rem 1.75rem 2rem;
  }
}

.pd-status {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.625rem;
  border-radius: var(--r-xs);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}
.pd-name {
  font-size: clamp(1.25rem, 2vw, 1.625rem);
  font-weight: 700;
  color: var(--text-heading);
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 0.375rem;
}
.pd-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-heading);
  letter-spacing: -0.03em;
  margin-bottom: 1.125rem;
}
.pd-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1.25rem;
  border-top: 1px solid var(--border-warm);
  padding-top: 1rem;
}
.pd-features { margin-top: 0.5rem; }
.pd-features__label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.625rem;
}
.pd-features__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}
.pd-features__list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-body);
}
.pd-features__list li svg { color: #16A34A; flex-shrink: 0; }

/* Right — sidebar */
.pd-sidebar {
  padding: 1.625rem 1.5rem;
  background: var(--bg-page);
  border-top: 1px solid var(--border-warm);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (min-width: 720px) {
  .pd-sidebar {
    border-top: none;
    padding: 1.75rem 1.5rem 2rem;
    min-height: 200px;
  }
}

/* Specs card */
.pd-specs-card {
  background: var(--bg-white);
  border: 1px solid var(--border-warm);
  border-radius: var(--r-md);
  padding: 1.125rem;
}
.pd-specs-card__title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.875rem;
}
.pd-specs-grid {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.pd-spec-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.pd-spec-icon {
  width: 32px; height: 32px;
  border-radius: var(--r-xs);
  background: var(--bg-alt);
  border: 1px solid var(--border-warm);
  color: var(--text-muted);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.pd-spec-icon svg { width: 15px; height: 15px; }
.pd-spec-label {
  display: block;
  font-size: 0.6875rem;
  color: var(--text-muted);
  font-weight: 500;
}
.pd-spec-val {
  display: block;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-heading);
  letter-spacing: -0.01em;
}

/* CTA Block */
.pd-cta-block {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.pd-cta-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.75rem 1.25rem;
  background: #1A1917;
  color: #FFFFFF;
  border: 1px solid #1A1917;
  border-radius: var(--r-sm);
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s;
}
.pd-cta-wa:hover { background: #2C2A27; }
.pd-cta-note {
  font-size: 0.75rem;
  text-align: center;
  color: var(--text-light);
}

/* Soldout notice */
.pd-soldout-notice {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  background: var(--danger-bg);
  border: 1px solid var(--danger-border);
  border-radius: var(--r-sm);
  padding: 0.75rem 1rem;
  font-size: 0.8125rem;
  color: var(--danger);
  line-height: 1.5;
}
.pd-soldout-notice svg { flex-shrink: 0; margin-top: 1px; }



/* ─── Gallery ────────────────────────────────────────────────────────────── */
.gallery-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  flex-wrap: wrap;
  margin-bottom: 2.25rem;
}
.filter-btn {
  background: var(--bg-white);
  border: 1px solid var(--border-warm);
  color: var(--text-muted);
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 0.375rem 1rem;
  border-radius: var(--r-full);
  cursor: pointer;
  transition: all 0.15s;
}
.filter-btn:hover { border-color: var(--border-mid); color: var(--text-heading); }
.filter-btn.active {
  background: var(--text-heading);
  border-color: var(--text-heading);
  color: #FFFFFF;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.875rem;
}
@media (min-width: 768px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }

.gallery-item {
  position: relative;
  border-radius: var(--r-sm);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--bg-alt);
  cursor: pointer;
  border: 1px solid var(--border-warm);
  transition: border-color 0.2s;
}
.gallery-item:hover { border-color: var(--border-mid); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item figcaption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(26,25,23,0.85));
  color: #FFFFFF;
  padding: 1.25rem 0.875rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.2s;
}
.gallery-item:hover figcaption { opacity: 1; }

/* ─── Promotions ─────────────────────────────────────────────────────────── */
.promo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  max-width: 960px;
  margin: 0 auto;
}
@media (min-width: 768px) { .promo-grid { grid-template-columns: repeat(2, 1fr); } }

.promo-card {
  background: var(--bg-white);
  border: 1px solid var(--border-warm);
  border-radius: var(--r-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s;
}
.promo-card:hover { border-color: var(--border-mid); }

.promo-image { aspect-ratio: 16/9; overflow: hidden; background: var(--bg-alt); }
.promo-image img { width: 100%; height: 100%; object-fit: cover; }

.promo-content {
  padding: 1.5rem 1.375rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.promo-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 0.625rem;
  line-height: 1.35;
}
.promo-desc { font-size: 0.875rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 1rem; }
.promo-countdown {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background: var(--accent-light);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  padding: 0.25rem 0.625rem;
  border-radius: var(--r-xs);
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.promo-terms {
  background: var(--bg-alt);
  border: 1px solid var(--border-warm);
  border-radius: var(--r-xs);
  padding: 0.5rem 0.75rem;
  margin-bottom: 1.25rem;
  font-size: 0.7813rem;
  color: var(--text-muted);
}
.promo-terms summary { font-weight: 600; color: var(--text-body); cursor: pointer; outline: none; }
.promo-terms p { margin-top: 0.375rem; line-height: 1.55; }
.promo-content .btn-whatsapp { margin-top: auto; align-self: flex-start; }

/* ─── Location ───────────────────────────────────────────────────────────── */
.location-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
}
@media (min-width: 992px) { .location-wrapper { grid-template-columns: 1.2fr 1fr; } }

.location-map {
  background: var(--bg-white);
  border: 1px solid var(--border-warm);
  border-radius: var(--r-md);
  overflow: hidden;
}
.map-embed { aspect-ratio: 16/10; width: 100%; }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
.location-address {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  padding: 1rem 1.25rem;
  background: var(--bg-alt);
  border-top: 1px solid var(--border-warm);
  font-size: 0.8438rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.location-address svg { color: var(--accent); margin-top: 2px; }

.location-points {
  background: var(--bg-white);
  border: 1px solid var(--border-warm);
  border-radius: var(--r-md);
  padding: 1.5rem;
}
.location-points h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 1rem;
  padding-bottom: 0.625rem;
  border-bottom: 1px solid var(--border-warm);
}
.point-category { margin-bottom: 1rem; }
.point-category-title {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 0.4375rem;
}
.point-category-title svg { color: var(--accent); }
.point-list { list-style: none; display: flex; flex-direction: column; gap: 0.25rem; }
.point-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.375rem 0.625rem;
  background: var(--bg-alt);
  border: 1px solid var(--border-warm);
  border-radius: var(--r-xs);
  font-size: 0.7813rem;
}
.point-name { color: var(--text-body); font-weight: 500; }
.point-distance {
  color: var(--accent);
  font-weight: 700;
  background: var(--accent-light);
  border: 1px solid var(--accent-border);
  padding: 0.125rem 0.4375rem;
  border-radius: var(--r-xs);
  font-size: 0.6875rem;
}
.location-points .btn { margin-top: 1rem; }

/* ─── Facilities ─────────────────────────────────────────────────────────── */
.facilities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 640px) { .facilities-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .facilities-grid { grid-template-columns: repeat(4, 1fr); } }

.facility-card {
  background: var(--bg-white);
  border: 1px solid var(--border-warm);
  border-radius: var(--r-md);
  padding: 1.5rem 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: border-color 0.2s;
}
.facility-card:hover { border-color: var(--border-mid); }
.facility-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-sm);
  background: var(--accent-light);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.875rem;
}
.facility-name { font-size: 0.875rem; font-weight: 700; color: var(--text-heading); }

/* ─── Testimonials / Cerita Pemilik ──────────────────────────────────────── */
.testimonial-slider {
  position: relative;
  overflow: hidden;
  max-width: 1000px;
  margin: 0 auto;
}
.testimonial-track {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0.25rem 0;
}
.testimonial-track::-webkit-scrollbar { display: none; }

.testimonial-card {
  flex: 0 0 100%;
  background: var(--bg-white);
  border: 1px solid var(--border-warm);
  border-radius: var(--r-md);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s;
}
@media (min-width: 768px) { .testimonial-card { flex: 0 0 calc(50% - 0.625rem); } }
@media (min-width: 1024px) { .testimonial-card { flex: 0 0 calc(33.333% - 0.85rem); } }

.testimonial-stars { display: flex; gap: 0.25rem; margin-bottom: 0.875rem; }
.star-filled { color: var(--accent); fill: var(--accent); }
.star-empty { color: var(--border-mid); }

.testimonial-content {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 0.875rem;
  border-top: 1px solid var(--border-warm);
  margin-top: auto;
}
.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border-warm);
}
.testimonial-avatar-placeholder {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-alt);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-warm);
}
.testimonial-name { font-size: 0.875rem; font-weight: 700; color: var(--text-heading); display: block; }
.testimonial-role { font-size: 0.75rem; color: var(--text-muted); display: block; }

.testimonial-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.75rem;
}
.testimonial-prev,
.testimonial-next {
  width: 36px;
  height: 36px;
  border-radius: var(--r-xs);
  background: var(--bg-white);
  border: 1px solid var(--border-warm);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s;
}
.testimonial-prev:hover, .testimonial-next:hover {
  background: var(--bg-alt);
  border-color: var(--border-mid);
  color: var(--text-heading);
}
.testimonial-dots { display: flex; align-items: center; gap: 0.375rem; }
.testimonial-dot {
  width: 7px;
  height: 7px;
  border-radius: var(--r-full);
  background: var(--border-mid);
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  padding: 0;
}
.testimonial-dot.active { width: 22px; background: var(--accent); }

/* ─── KPR Calculator ─────────────────────────────────────────────────────── */
.kpr-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}
@media (min-width: 900px) { .kpr-wrapper { grid-template-columns: 1.15fr 1fr; } }

.kpr-form {
  background: var(--bg-white);
  border: 1px solid var(--border-warm);
  border-radius: var(--r-md);
  padding: 1.75rem;
}
.form-group { margin-bottom: 1.125rem; }
.form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 0.375rem;
}
.form-input {
  width: 100%;
  padding: 0.5625rem 0.75rem;
  border: 1px solid var(--border-warm);
  border-radius: var(--r-xs);
  font-size: 0.875rem;
  color: var(--text-heading);
  background: var(--bg-page);
  transition: border-color 0.18s;
}
.form-input:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--bg-white);
}
.form-range { width: 100%; accent-color: var(--accent); cursor: pointer; }
.range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.7188rem;
  color: var(--text-light);
  margin-top: 0.25rem;
}

.kpr-result { display: flex; flex-direction: column; }
.kpr-result-card {
  background: var(--bg-dark);
  color: var(--text-inverted);
  border-radius: var(--r-md);
  padding: 2rem 1.75rem;
  text-align: center;
  border: 1px solid rgba(201,100,66,0.25);
}
.kpr-result-card h3 { font-size: 1rem; font-weight: 600; color: rgba(255,255,255,0.7); margin-bottom: 0.375rem; }
.kpr-monthly {
  font-size: clamp(1.875rem, 3vw, 2.5rem);
  font-weight: 700;
  color: #E8A882;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0.5rem 0;
}
.kpr-monthly-label { font-size: 0.75rem; color: rgba(255,255,255,0.45); margin-bottom: 1.5rem; }
.kpr-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  text-align: left;
}
.kpr-detail-item {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-xs);
  padding: 0.625rem;
}
.kpr-detail-label {
  font-size: 0.625rem;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: block;
}
.kpr-detail-value { font-size: 0.875rem; font-weight: 700; color: var(--text-inverted); margin-top: 0.125rem; display: block; }
.kpr-disclaimer { font-size: 0.7188rem; color: var(--text-muted); margin-top: 0.75rem; line-height: 1.5; text-align: center; }

/* ─── Buying Process ─────────────────────────────────────────────────────── */
.process-timeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 1000px;
  margin: 0 auto 2.5rem;
}
@media (min-width: 640px) { .process-timeline { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .process-timeline { grid-template-columns: repeat(5, 1fr); } }

.process-step {
  background: var(--bg-white);
  border: 1px solid var(--border-warm);
  border-radius: var(--r-md);
  padding: 1.5rem 1.125rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: border-color 0.2s;
}
.process-step:hover { border-color: var(--accent-border); }
.process-number {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--accent);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}
.process-icon {
  width: 44px; height: 44px;
  border-radius: var(--r-sm);
  background: var(--accent-light);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}
.process-title { font-size: 0.9375rem; font-weight: 700; color: var(--text-heading); margin-bottom: 0.25rem; }
.process-desc { font-size: 0.7813rem; color: var(--text-muted); line-height: 1.5; }
.process-cta { text-align: center; }

/* ─── Developer ──────────────────────────────────────────────────────────── */
.developer-card {
  background: var(--bg-white);
  border: 1px solid var(--border-warm);
  border-radius: var(--r-md);
  padding: 2.5rem 1.75rem;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.developer-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.875rem;
  margin-bottom: 1rem;
}
.developer-logo { max-height: 42px; width: auto; }
.developer-name { font-size: 1.375rem; font-weight: 700; color: var(--text-heading); }
.developer-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.75rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.developer-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-warm);
}
.stat-number {
  font-size: clamp(1.5rem, 2.5vw, 2.125rem);
  font-weight: 700;
  color: var(--accent);
  display: block;
}
.stat-label { font-size: 0.75rem; color: var(--text-muted); font-weight: 500; }

/* ─── Legalitas ──────────────────────────────────────────────────────────── */
.legalitas-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 880px;
  margin: 0 auto;
}
@media (min-width: 640px) { .legalitas-grid { grid-template-columns: repeat(3, 1fr); } }

.legalitas-card {
  background: var(--bg-white);
  border: 1px solid var(--border-warm);
  border-radius: var(--r-md);
  padding: 1.5rem 1.125rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: border-color 0.2s;
}
.legalitas-card:hover { border-color: var(--accent-border); }
.legalitas-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--success-bg);
  border: 1px solid var(--success-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.875rem;
}
.legalitas-icon svg { width: 22px; height: 22px; color: var(--success); }
.legalitas-title { font-size: 1rem; font-weight: 700; color: var(--text-heading); margin-bottom: 0.25rem; }
.legalitas-desc { font-size: 0.7813rem; color: var(--text-muted); line-height: 1.5; margin-bottom: 0.75rem; }

/* ─── FAQ ────────────────────────────────────────────────────────────────── */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.faq-item {
  background: var(--bg-white);
  border: 1px solid var(--border-warm);
  border-radius: var(--r-sm);
  overflow: hidden;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}
.faq-item.open {
  border-color: var(--accent-border);
  background: #FCFAF7;
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.125rem 1.25rem;
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-heading);
  cursor: pointer;
  text-align: left;
  transition: color 0.2s ease;
}
.faq-item.open .faq-question {
  color: var(--accent);
}
.faq-chevron {
  width: 18px;
  height: 18px;
  color: var(--text-light);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
  flex-shrink: 0;
}
.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  color: var(--accent);
}

/* Smooth Accordion Height with CSS Grid */
.faq-collapse {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq-item.open .faq-collapse {
  grid-template-rows: 1fr;
}
.faq-answer-inner {
  overflow: hidden;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.25s ease 0.05s, transform 0.25s ease 0.05s;
}
.faq-item.open .faq-answer-inner {
  opacity: 1;
  transform: translateY(0);
}
.faq-answer {
  padding: 0 1.25rem 1.25rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ─── Final CTA ──────────────────────────────────────────────────────────── */
.section-cta {
  background: var(--bg-dark);
  color: var(--text-inverted);
  text-align: center;
  padding: 5.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.cta-content { max-width: 640px; margin: 0 auto; }
.cta-heading {
  font-size: clamp(1.875rem, 3.5vw, 2.625rem);
  font-weight: 700;
  color: var(--text-inverted);
  margin-bottom: 0.875rem;
  letter-spacing: -0.025em;
  line-height: 1.2;
}
.cta-desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 2.25rem;
  line-height: 1.7;
}
.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.875rem;
  flex-wrap: wrap;
}

/* ─── Footer ─────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.5);
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }

.footer-col { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-brand { font-size: 1.125rem; font-weight: 700; color: var(--text-inverted); letter-spacing: -0.02em; }
.footer-logo { max-width: 130px; height: auto; margin-bottom: 0.375rem; }
.footer-address {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
}
.footer-heading {
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.25rem;
}
.footer-link {
  display: flex;
  align-items: center;
  gap: 0.4375rem;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.15s;
}
.footer-link:hover { color: rgba(255,255,255,0.9); }
.footer-social { display: flex; gap: 0.5rem; }
.social-link {
  width: 32px; height: 32px;
  border-radius: var(--r-xs);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: all 0.15s;
}
.social-link:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #FFFFFF;
}
.social-link svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}
.footer-bottom {
  text-align: center;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
}
.footer-flazcloud {
  margin-bottom: 0.375rem;
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.75);
  text-transform: uppercase;
}

/* ─── Floating WhatsApp & Sticky CTA ─────────────────────────────────────── */
.floating-wa {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 900;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #1A1917;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255,255,255,0.15);
  transition: transform 0.2s ease;
}
.floating-wa:hover { transform: scale(1.06); background: #2C2A27; }
.floating-wa-pulse { display: none; }
.floating-wa-label { display: none; }

.sticky-cta-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--bg-dark);
  padding: 0.625rem 1rem;
  z-index: 800;
  border-top: 1px solid rgba(255,255,255,0.1);
  gap: 0.625rem;
}
@media (max-width: 768px) {
  .sticky-cta-bar.is-visible { display: flex; }
  .sticky-cta-bar .btn { flex: 1; }
  .floating-wa { bottom: 4.25rem; }
}

/* ─── Modals & Lightbox ──────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26,25,23,0.65);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal {
  background: var(--bg-white);
  border: 1px solid var(--border-warm);
  border-radius: var(--r-md);
  max-width: 480px;
  width: 100%;
  overflow: hidden;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}
.modal-lg { max-width: 780px; }
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.125rem 1.375rem;
  border-bottom: 1px solid var(--border-warm);
}
.modal-header h3 { font-size: 1rem; font-weight: 700; }
.modal-close {
  background: var(--bg-alt);
  border: 1px solid var(--border-warm);
  border-radius: var(--r-xs);
  padding: 0.3rem;
  cursor: pointer;
  color: var(--text-muted);
}
.modal-body { padding: 1.375rem; overflow-y: auto; }

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 14, 12, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  animation: lightboxFadeIn 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes lightboxFadeIn {
  from {
    opacity: 0;
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
  }
  to {
    opacity: 1;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }
}

.lightbox-content {
  position: relative;
  max-width: 92vw;
  max-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: lightboxScaleUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes lightboxScaleUp {
  from {
    transform: scale(0.92);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.lightbox-content img {
  max-width: 100%;
  max-height: 86vh;
  border-radius: var(--r-md);
  border: 1px solid rgba(255, 255, 255, 0.18);
  object-fit: contain;
  display: block;
}

.lightbox-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #1A1917;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s;
  z-index: 10;
}
.lightbox-close:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.08);
}

/* ─── Lead Form Modal & Alerts ───────────────────────────────────────────── */
.lead-form .form-group { margin-bottom: 1rem; }
.lead-form .form-label { font-weight: 600; font-size: 0.8125rem; color: var(--text-heading); margin-bottom: 0.375rem; display: block; }
.lead-form .form-input { width: 100%; }

.form-alert {
  padding: 0.75rem 1rem;
  border-radius: var(--r-sm);
  font-size: 0.8438rem;
  line-height: 1.5;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.form-alert-success {
  background-color: #F0FDF4;
  border: 1px solid #BBF7D0;
  color: #166534;
}
.form-alert-error {
  background-color: #FEF2F2;
  border: 1px solid #FECACA;
  color: #991B1B;
}

/* ─── Scroll Reveal & Micro-Animations ──────────────────────────────────── */
.reveal-item {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1), transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal-item.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered transition delays for grid cards */
.benefit-card.reveal-item:nth-child(2),
.pt-card.reveal-item:nth-child(2),
.facility-card.reveal-item:nth-child(2),
.gallery-item.reveal-item:nth-child(2),
.testimonial-card.reveal-item:nth-child(2),
.step-card.reveal-item:nth-child(2) {
  transition-delay: 0.08s;
}

.benefit-card.reveal-item:nth-child(3),
.pt-card.reveal-item:nth-child(3),
.facility-card.reveal-item:nth-child(3),
.gallery-item.reveal-item:nth-child(3),
.testimonial-card.reveal-item:nth-child(3),
.step-card.reveal-item:nth-child(3) {
  transition-delay: 0.16s;
}

.benefit-card.reveal-item:nth-child(4),
.facility-card.reveal-item:nth-child(4),
.gallery-item.reveal-item:nth-child(4),
.step-card.reveal-item:nth-child(4) {
  transition-delay: 0.24s;
}

/* Hero Staggered Entrance on Page Load */
.hero-tag {
  animation: heroFadeDown 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero-title {
  animation: heroFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}
.hero-subtitle {
  animation: heroFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}
.hero-cta-group {
  animation: heroFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}
.hero-trust-badges {
  animation: heroFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}

@keyframes heroFadeDown {
  from { opacity: 0; transform: translateY(-16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Developer Stat Numbers & Counter Effect */
.developer-stats {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}
.stat-item {
  text-align: center;
  transition: transform 0.25s ease;
}
.stat-item:hover {
  transform: translateY(-4px);
}
.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1.1;
  display: block;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  transition: color 0.25s ease;
}
.stat-item.is-counting .stat-number {
  color: var(--accent-hover);
}
.stat-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 0.25rem;
  display: block;
}

/* Floating WA Gentle Pulse */
.floating-wa {
  animation: waBounceIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both, waPulse 2s ease-in-out 3.5s 2;
}

@keyframes waBounceIn {
  from { opacity: 0; transform: scale(0.6) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes waPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

/* Subtle Cards Lift on Hover */
.benefit-card,
.pt-card,
.facility-card,
.promo-card,
.testimonial-card {
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease;
}
.benefit-card:hover,
.pt-card:hover,
.facility-card:hover,
.promo-card:hover,
.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-mid);
}

/* Respect Users with Reduced Motion Preferences */
@media (prefers-reduced-motion: reduce) {
  .reveal-item,
  .hero-tag,
  .hero-title,
  .hero-subtitle,
  .hero-cta-group,
  .hero-trust-badges,
  .floating-wa {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ─── Trust Indicators Strip ─────────────────────────────────────────────── */
.trust-indicators-bar {
  background: var(--bg-dark);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 1.125rem 0;
}
.trust-indicators-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.trust-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
}
.trust-indicator svg { color: #E8A882; }

/* ─── Responsive Utilities ───────────────────────────────────────────────── */
@media (max-width: 768px) {
  :root { --section-py: 3.5rem; }
  .container { padding-left: 1rem; padding-right: 1rem; }
}
