/* ==========================================================================
   TIRATH OCTAVIA — OFFICIAL COMMERCIAL DESTINATION
   High-Performance, Mobile-First, SEO-Optimized CSS
   Design Language for Tirath Octavia Commercial Landmark
   ========================================================================== */

:root {
  --td-gold: #d8a11b;
  --td-gold-dark: #b9820d;
  --td-gold-light: #fef8eb;
  --td-gold-glow: rgba(216, 161, 27, 0.25);
  
  --td-charcoal: #303033;
  --td-charcoal-2: #414145;
  --td-ink: #1f1f22;
  --td-muted: #6e6e73;
  --td-paper: #fbfaf7;
  --td-soft: #f4efe6;
  --td-card-bg: #ffffff;
  --td-line: rgba(48, 48, 51, 0.12);
  --td-line-dark: rgba(255, 255, 255, 0.12);
  
  --td-white: #ffffff;
  --td-black: #141416;
  --td-black-pure: #0b0b0c;
  
  --td-success: #27ae60;
  --td-success-bg: #eafaf1;
  --td-error: #e74c3c;
  --td-error-bg: #fdf2f2;
  
  --td-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --td-shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.05);
  --td-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  --td-shadow-lg: 0 25px 70px rgba(0, 0, 0, 0.14);
  --td-radius-sm: 8px;
  --td-radius: 14px;
  --td-radius-lg: 20px;
}

/* Base Reset & Mobile Performance Defaults */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

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

body {
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--td-ink);
  background-color: var(--td-paper);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.td-modal-open,
body.td-menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  content-visibility: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: 16px; /* Critical: prevents iOS auto-zoom on mobile tap */
}

button {
  cursor: pointer;
  border: none;
  background: none;
  touch-action: manipulation;
}

.td-container {
  width: min(1280px, calc(100% - 32px));
  margin-inline: auto;
}

@media (min-width: 768px) {
  .td-container {
    width: min(1280px, calc(100% - 64px));
  }
}

@media (min-width: 1200px) {
  .td-container {
    width: min(1280px, calc(100% - 80px));
  }
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4, .td-serif {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  color: var(--td-ink);
  line-height: 1.25;
}

h1 {
  font-size: clamp(2.1rem, 5.5vw, 3.8rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.75rem, 3.8vw, 2.75rem);
  letter-spacing: -0.015em;
}

h3 {
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
}

p {
  color: #4e4e52;
}

em {
  font-style: italic;
  font-weight: 400;
  color: var(--td-gold-dark);
}

/* Section Header Shared */
.td-section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--td-gold);
  margin-bottom: 12px;
}

.td-section-label span:first-child {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--td-gold-light);
  border: 1px solid var(--td-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--td-gold-dark);
}

.td-eyebrow {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--td-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

/* ==========================================================================
   BUTTONS & BADGES (Minimum 44px touch target)
   ========================================================================== */
.td-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 26px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.25s var(--td-ease);
  position: relative;
  text-decoration: none;
}

.td-btn span {
  transition: transform 0.25s var(--td-ease);
}

.td-btn:hover span {
  transform: translate(2px, -2px);
}

.td-btn-gold {
  background: linear-gradient(135deg, #e3af2b, #b9820d);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(216, 161, 27, 0.28);
}

.td-btn-gold:hover {
  background: linear-gradient(135deg, #eab835, #c98e10);
  box-shadow: 0 12px 28px rgba(216, 161, 27, 0.38);
  transform: translateY(-2px);
  color: #fff;
}

.td-btn-outline {
  border: 1.5px solid var(--td-charcoal);
  color: var(--td-charcoal);
  background: transparent;
}

.td-btn-outline:hover {
  background: var(--td-charcoal);
  color: #ffffff;
  transform: translateY(-2px);
}

.td-btn-block {
  width: 100%;
}

.td-rera-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid rgba(216, 161, 27, 0.35);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--td-charcoal);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.td-rera-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--td-gold);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(216, 161, 27, 0.2);
}

/* ==========================================================================
   PRELOADER (Lightweight & Smooth)
   ========================================================================== */
.td-preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: #ffffff;
  display: grid;
  place-items: center;
  transition: opacity 0.5s var(--td-ease), visibility 0.5s;
}

.td-preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.td-loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.td-loader-logo {
  height: 52px;
  width: auto;
}

.td-loader-title {
  font-family: "Playfair Display", serif;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--td-ink);
  text-transform: uppercase;
}

.td-loader-title span {
  color: var(--td-gold);
}

.td-loader-line {
  width: 100px;
  height: 2.5px;
  background: rgba(216, 161, 27, 0.2);
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}

.td-loader-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--td-gold);
  transform: translateX(-100%);
  animation: td-load 1.2s infinite var(--td-ease);
}

@keyframes td-load {
  to { transform: translateX(100%); }
}

/* ==========================================================================
   HEADER / NAVIGATION
   ========================================================================== */
.td-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10000;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(48, 48, 51, 0.08);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.td-header.is-scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border-bottom-color: rgba(48, 48, 51, 0.12);
}

.td-header-inner {
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

@media (min-width: 768px) {
  .td-header-inner {
    height: 82px;
  }
}

.td-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.td-brand-logo {
  height: 42px;
  width: auto;
}

@media (min-width: 768px) {
  .td-brand-logo {
    height: 48px;
  }
}

.td-brand-divider {
  width: 1px;
  height: 28px;
  background: var(--td-line);
}

.td-brand-text {
  display: flex;
  flex-direction: column;
}

.td-brand-builder {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--td-gold);
  line-height: 1;
}

.td-brand-project {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--td-ink);
  line-height: 1.2;
}

.td-nav {
  display: none;
  align-items: center;
  gap: 26px;
}

@media (min-width: 1024px) {
  .td-nav {
    display: flex;
  }
}

.td-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--td-charcoal);
  position: relative;
  padding: 6px 0;
}

.td-nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--td-gold);
  transition: width 0.25s ease;
}

.td-nav a:hover {
  color: var(--td-gold-dark);
}

.td-nav a:hover::after {
  width: 100%;
}

.td-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.td-header-phone {
  display: none;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--td-charcoal);
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--td-line);
}

@media (min-width: 640px) {
  .td-header-phone {
    display: inline-flex;
  }
}

.td-header-phone:hover {
  border-color: var(--td-gold);
  color: var(--td-gold-dark);
  background: var(--td-gold-light);
}

.td-menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: var(--td-soft);
  border-radius: 8px;
}

@media (min-width: 1024px) {
  .td-menu-btn {
    display: none;
  }
}

.td-menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--td-charcoal);
  transition: transform 0.25s ease;
}

.td-menu-btn.active span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.td-menu-btn.active span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* Mobile Nav Drawer */
.td-mobile-drawer {
  position: fixed;
  inset: 0;
  background: rgba(18, 18, 20, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.td-mobile-drawer.is-open {
  opacity: 1;
  visibility: visible;
}

.td-mobile-drawer-content {
  position: absolute;
  top: 0;
  right: 0;
  width: min(340px, 85vw);
  height: 100%;
  background: #ffffff;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateX(100%);
  transition: transform 0.35s var(--td-ease);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
  overflow-y: auto;
}

.td-mobile-drawer.is-open .td-mobile-drawer-content {
  transform: translateX(0);
}

.td-mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 30px;
}

.td-mobile-nav a {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--td-charcoal);
  padding: 8px 0;
  border-bottom: 1px solid var(--td-line);
}

.td-mobile-nav a:hover {
  color: var(--td-gold-dark);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.td-hero {
  padding-top: 105px;
  padding-bottom: 60px;
  background: linear-gradient(180deg, #fbfaf7 0%, #f4efe6 100%);
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .td-hero {
    padding-top: 120px;
    padding-bottom: 70px;
  }
}

.td-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}

@media (min-width: 992px) {
  .td-hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
  }
}

.td-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--td-gold-dark);
  background: rgba(216, 161, 27, 0.12);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.td-hero-title {
  margin-bottom: 16px;
  line-height: 1.18;
}

.td-hero-title span {
  color: var(--td-gold-dark);
}

/* Hero Rental Assurance Highlight Card */
.td-hero-rental-card {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: #ffffff;
  border: 1.5px solid var(--td-gold);
  border-radius: var(--td-radius);
  padding: 12px 20px;
  margin-bottom: 20px;
  box-shadow: 0 8px 24px rgba(216, 161, 27, 0.16);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.td-hero-rental-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(216, 161, 27, 0.28);
  border-color: #b8830b;
}

.td-hero-rental-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--td-gold);
  transition: width 0.3s ease;
}

.td-hero-rental-card:hover::before {
  width: 6px;
}

/* Light gleam effect on hover */
.td-hero-rental-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(216, 161, 27, 0.2), transparent);
  transform: skewX(-25deg);
  transition: left 0.7s ease;
  pointer-events: none;
}

.td-hero-rental-card:hover::after {
  left: 160%;
}

.td-rental-badge-price {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.td-hero-rental-card:hover .td-rental-badge-price {
  transform: scale(1.06) translateX(2px);
}

.td-rental-amount {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 2.15rem;
  font-weight: 800;
  color: var(--td-gold-dark);
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.td-hero-rental-card:hover .td-rental-amount {
  color: #b8830b;
  text-shadow: 0 2px 10px rgba(216, 161, 27, 0.25);
}

.td-rental-unit {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--td-muted);
  letter-spacing: 0.04em;
  transition: color 0.3s ease;
}

.td-hero-rental-card:hover .td-rental-unit {
  color: var(--td-charcoal);
}

.td-rental-divider {
  width: 1px;
  height: 32px;
  background: var(--td-line);
  transition: background-color 0.3s ease;
}

.td-hero-rental-card:hover .td-rental-divider {
  background: var(--td-gold);
}

.td-rental-info strong {
  display: block;
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--td-ink);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.td-hero-desc {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #4b4b4e;
  margin-bottom: 20px;
  max-width: 540px;
}

/* Clean Simple Hero Key Points */
.td-hero-key-points {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

@media (min-width: 600px) {
  .td-hero-key-points {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
  }
}

.td-key-point {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid var(--td-line);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  color: var(--td-charcoal);
  box-shadow: var(--td-shadow-sm);
}

.td-key-point .icon {
  color: var(--td-success);
  font-weight: 700;
  font-size: 0.85rem;
}

.td-hero-cta-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

/* Hero Visual Card */
.td-hero-visual-card {
  position: relative;
  border-radius: var(--td-radius-lg);
  overflow: hidden;
  box-shadow: var(--td-shadow-lg);
  background: #ffffff;
}

.td-hero-img-wrap {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
}

@media (min-width: 640px) {
  .td-hero-img-wrap {
    height: 340px;
  }
}

.td-hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translateZ(0);
}

.td-hero-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.6) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
}

/* ==========================================================================
   24-HOUR COOLDOWN & ANTI-SPAM FORM STYLING
   ========================================================================== */
.td-form-card {
  background: #ffffff;
  padding: 24px 20px;
  border-radius: var(--td-radius);
  border: 1px solid var(--td-line);
}

@media (min-width: 768px) {
  .td-form-card {
    padding: 30px 24px;
  }
}

.td-hero-form-box {
  padding: 20px 18px;
  background: #ffffff;
}

@media (min-width: 640px) {
  .td-hero-form-box {
    padding: 24px;
  }
}

.td-form-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--td-charcoal);
  margin-bottom: 4px;
}

.td-form-subtitle {
  font-size: 0.82rem;
  color: var(--td-muted);
  margin-bottom: 16px;
}

.td-form-group {
  margin-bottom: 12px;
  position: relative;
}

.td-form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--td-charcoal);
  margin-bottom: 6px;
}

.td-form-control {
  width: 100%;
  height: 48px;
  padding: 10px 14px;
  border: 1.5px solid #dcdce0;
  border-radius: 8px;
  background: #fafafc;
  color: var(--td-charcoal);
  font-size: 16px; /* Critical: prevent iOS auto-zoom on mobile */
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.td-form-control:focus {
  background: #ffffff;
  border-color: var(--td-gold);
  box-shadow: 0 0 0 3px rgba(216, 161, 27, 0.15);
}

.td-form-control.input-valid {
  border-color: var(--td-success) !important;
  background: #fdfefe;
}

.td-form-control.input-invalid {
  border-color: var(--td-error) !important;
  background: var(--td-error-bg);
}

.td-error-msg {
  display: none;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--td-error);
  margin-top: 4px;
  text-align: left;
}

.td-checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 12px;
  margin-bottom: 14px;
  font-size: 0.76rem;
  color: var(--td-muted);
  line-height: 1.4;
  text-align: left;
}

.td-checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: var(--td-gold);
  flex-shrink: 0;
  cursor: pointer;
}

.td-checkbox-group a {
  color: var(--td-gold-dark);
  text-decoration: underline;
}

/* 24-HOUR COOLDOWN BANNER */
.form-cooldown-banner {
  background: var(--td-success-bg);
  border: 1.5px solid var(--td-success);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 16px;
  text-align: left;
  animation: tdFadeIn 0.3s ease;
}

.form-cooldown-banner .form-cooldown-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #1e7e43;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

.form-cooldown-banner .form-cooldown-desc {
  font-size: 0.8rem;
  color: #2e5a3c;
  line-height: 1.45;
}

.form-cooldown-banner .form-cooldown-timer {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--td-gold-dark);
  margin-top: 6px;
  display: inline-block;
  background: rgba(255, 255, 255, 0.85);
  padding: 3px 8px;
  border-radius: 4px;
}

.input-cooldown-disabled {
  background: #f4f4f6 !important;
  border-color: #e0e0e4 !important;
  color: #99999d !important;
  cursor: not-allowed;
}

.btn-cooldown-disabled {
  background: #a5d6a7 !important;
  color: #1e4620 !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
  transform: none !important;
}

.btn-loading {
  opacity: 0.8;
  pointer-events: none;
}

/* ==========================================================================
   SECTIONS SHARED
   ========================================================================== */
.td-section {
  padding: 60px 0;
  position: relative;
}

@media (min-width: 768px) {
  .td-section {
    padding: 85px 0;
  }
}

.td-section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .td-section-head {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: flex-end;
  }
}

.td-section-head.center {
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
  display: block;
}

.td-section-head p.td-head-copy {
  font-size: 1rem;
  color: #555558;
  line-height: 1.65;
}

/* ==========================================================================
   01 OVERVIEW
   ========================================================================== */
.td-overview-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

@media (min-width: 992px) {
  .td-overview-grid {
    grid-template-columns: 1fr 1fr;
    gap: 50px;
  }
}

.td-overview-visual {
  position: relative;
}

.td-overview-img-main {
  border-radius: var(--td-radius-lg);
  overflow: hidden;
  box-shadow: var(--td-shadow);
  border: 4px solid #ffffff;
}

.td-overview-badge-float {
  position: absolute;
  bottom: -16px;
  right: 16px;
  background: #ffffff;
  padding: 16px 20px;
  border-radius: var(--td-radius);
  box-shadow: var(--td-shadow-lg);
  border: 1px solid var(--td-line);
  display: flex;
  align-items: center;
  gap: 14px;
}

.td-overview-badge-float strong {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.8rem;
  color: var(--td-gold-dark);
  line-height: 1;
}

.td-overview-badge-float span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--td-charcoal);
  line-height: 1.3;
}

.td-highlight-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 24px;
}

@media (min-width: 640px) {
  .td-highlight-cards {
    grid-template-columns: 1fr 1fr;
  }
}

.td-highlight-card {
  background: #ffffff;
  padding: 18px;
  border-radius: var(--td-radius-sm);
  border: 1px solid var(--td-line);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.td-highlight-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--td-shadow-sm);
  border-color: var(--td-gold);
}

.td-highlight-card .icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--td-gold-light);
  color: var(--td-gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.td-highlight-card h4 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.td-highlight-card p {
  font-size: 0.82rem;
  color: var(--td-muted);
  line-height: 1.45;
}

/* ==========================================================================
   02 SPACES & CONFIGURATIONS
   ========================================================================== */
.td-spaces {
  background: var(--td-soft);
}

.td-spaces-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  .td-spaces-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .td-spaces-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.td-space-card {
  background: #ffffff;
  border-radius: var(--td-radius);
  overflow: hidden;
  box-shadow: var(--td-shadow-sm);
  border: 1px solid var(--td-line);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s var(--td-ease), box-shadow 0.25s var(--td-ease);
}

.td-space-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--td-shadow);
  border-color: var(--td-gold);
}

.td-space-thumb {
  height: 190px;
  position: relative;
  overflow: hidden;
  background: #ece9e2;
}

.td-space-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.td-space-level {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(18, 18, 20, 0.85);
  backdrop-filter: blur(4px);
  color: var(--td-gold);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 9px;
  border-radius: 4px;
}

.td-space-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.td-space-body h3 {
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.td-space-desc {
  font-size: 0.85rem;
  color: var(--td-muted);
  line-height: 1.5;
  margin-bottom: 14px;
}

.td-space-specs {
  list-style: none;
  margin-bottom: 18px;
  margin-top: auto;
  border-top: 1px dashed var(--td-line);
  padding-top: 12px;
}

.td-space-specs li {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  padding: 3px 0;
  color: var(--td-charcoal);
}

.td-space-specs li span:first-child {
  color: var(--td-muted);
}

.td-space-specs li span:last-child {
  font-weight: 600;
}

/* ==========================================================================
   03 VISUAL GALLERY
   ========================================================================== */
.td-gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 30px;
}

.td-gallery-filter {
  min-height: 40px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--td-line);
  background: #ffffff;
  color: var(--td-charcoal);
  font-size: 0.84rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.td-gallery-filter.active,
.td-gallery-filter:hover {
  background: var(--td-charcoal);
  color: #ffffff;
  border-color: var(--td-charcoal);
}

.td-gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 600px) {
  .td-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .td-gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.td-gallery-item {
  position: relative;
  border-radius: var(--td-radius);
  overflow: hidden;
  height: 250px;
  cursor: pointer;
  box-shadow: var(--td-shadow-sm);
  background: #1a1a1c;
}

.td-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--td-ease), opacity 0.3s;
}

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

.td-gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(18, 18, 20, 0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  color: #ffffff;
}

.td-gallery-cat {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--td-gold);
  margin-bottom: 2px;
}

.td-gallery-title {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.3;
}

/* ==========================================================================
   04 AMENITIES
   ========================================================================== */
.td-amenities-section {
  background: #ffffff;
}

.td-amenities-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) {
  .td-amenities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .td-amenities-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.td-amenity-card {
  padding: 22px 20px;
  background: var(--td-paper);
  border-radius: var(--td-radius);
  border: 1px solid var(--td-line);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  gap: 16px;
}

.td-amenity-card:hover {
  background: #ffffff;
  box-shadow: var(--td-shadow-sm);
  border-color: var(--td-gold);
  transform: translateY(-3px);
}

.td-amenity-icon {
  width: 46px;
  height: 46px;
  min-width: 46px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid rgba(216, 161, 27, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--td-gold-dark);
}

.td-amenity-text h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.td-amenity-text p {
  font-size: 0.84rem;
  color: var(--td-muted);
  line-height: 1.5;
}

/* ==========================================================================
   05 ARCHITECTURAL SPOTLIGHT (Replaced Video for 4G Speed)
   ========================================================================== */
.td-spotlight-section {
  background: var(--td-black);
  color: #ffffff;
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .td-spotlight-section {
    padding: 90px 0;
  }
}

.td-spotlight-section h2 {
  color: #ffffff;
}

.td-spotlight-card {
  border-radius: var(--td-radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: #1b1b1e;
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 850px) {
  .td-spotlight-card {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.td-spotlight-img {
  position: relative;
  min-height: 260px;
}

.td-spotlight-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.td-spotlight-content {
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 768px) {
  .td-spotlight-content {
    padding: 40px 32px;
  }
}

.td-spotlight-content h3 {
  color: #ffffff;
  font-size: 1.6rem;
  margin-bottom: 14px;
}

.td-spotlight-content p {
  color: #c0c0c5;
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 20px;
}

.td-spotlight-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}

.td-spotlight-feature {
  background: rgba(255, 255, 255, 0.06);
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  border-left: 2px solid var(--td-gold);
}

/* ==========================================================================
   06 LOCATION & CONNECTIVITY
   ========================================================================== */
.td-location-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 992px) {
  .td-location-grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }
}

.td-location-map-wrap {
  border-radius: var(--td-radius-lg);
  overflow: hidden;
  box-shadow: var(--td-shadow);
  border: 4px solid #ffffff;
  height: 360px;
}

.td-location-map-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.td-distance-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 20px;
}

@media (min-width: 600px) {
  .td-distance-list {
    grid-template-columns: 1fr 1fr;
  }
}

.td-distance-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid var(--td-line);
}

.td-distance-time {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--td-gold-dark);
  min-width: 55px;
}

.td-distance-dest {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--td-charcoal);
  line-height: 1.3;
}

.td-distance-dest small {
  display: block;
  font-weight: 400;
  color: var(--td-muted);
}

/* ==========================================================================
   07 BUILDER HERITAGE
   ========================================================================== */
.td-builder-section {
  background: var(--td-soft);
}

.td-builder-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

@media (min-width: 992px) {
  .td-builder-grid {
    grid-template-columns: 1fr 1fr;
    gap: 50px;
  }
}

.td-builder-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 24px;
}

.td-builder-stat-box {
  background: #ffffff;
  padding: 20px;
  border-radius: var(--td-radius);
  border: 1px solid var(--td-line);
  box-shadow: var(--td-shadow-sm);
}

.td-builder-stat-box strong {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2.1rem;
  color: var(--td-gold-dark);
  line-height: 1;
  display: block;
  margin-bottom: 4px;
}

.td-builder-stat-box span {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--td-charcoal);
  line-height: 1.3;
}

.td-portfolio-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 20px;
}

.td-portfolio-pill {
  font-size: 0.76rem;
  background: rgba(48, 48, 51, 0.06);
  padding: 5px 12px;
  border-radius: 999px;
  color: var(--td-charcoal);
  font-weight: 500;
}

/* ==========================================================================
   08 FAQ SECTION (SEO & Google Rich Snippets)
   ========================================================================== */
.td-faq-section {
  background: #ffffff;
  border-top: 1px solid var(--td-line);
}

.td-faq-list {
  max-width: 840px;
  margin: 0 auto;
}

.td-faq-item {
  border-bottom: 1px solid var(--td-line);
  padding: 16px 0;
}

.td-faq-question {
  width: 100%;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--td-ink);
  gap: 16px;
  padding: 6px 0;
  cursor: pointer;
}

.td-faq-question span.arrow {
  color: var(--td-gold);
  font-size: 1.2rem;
  transition: transform 0.25s ease;
}

.td-faq-item.is-open .td-faq-question span.arrow {
  transform: rotate(45deg);
}

.td-faq-answer {
  display: none;
  padding: 10px 0 6px 0;
  font-size: 0.92rem;
  color: #555558;
  line-height: 1.65;
}

.td-faq-item.is-open .td-faq-answer {
  display: block;
}

/* ==========================================================================
   09 CONTACT & CONSULTATION
   ========================================================================== */
.td-contact-section {
  background: var(--td-paper);
}

.td-contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 992px) {
  .td-contact-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 50px;
    align-items: flex-start;
  }
}

.td-contact-info-box {
  padding: 28px 22px;
  background: #ffffff;
  border-radius: var(--td-radius);
  border: 1px solid var(--td-line);
  box-shadow: var(--td-shadow-sm);
}

.td-contact-method {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
}

.td-contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--td-gold-light);
  color: var(--td-gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.td-contact-details strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--td-muted);
  letter-spacing: 0.06em;
  margin-bottom: 2px;
}

.td-contact-details a,
.td-contact-details span {
  font-size: 1rem;
  font-weight: 600;
  color: var(--td-ink);
}

.td-contact-details a:hover {
  color: var(--td-gold-dark);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.td-footer {
  background: var(--td-black);
  color: #a0a0a5;
  padding: 60px 0 25px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.88rem;
}

.td-footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
  .td-footer-top {
    grid-template-columns: 1.2fr 0.8fr;
    justify-content: space-between;
  }
}

.td-footer-brand img {
  height: 44px;
  width: auto;
  margin-bottom: 14px;
}

.td-footer-brand p {
  color: #8c8c92;
  font-size: 0.85rem;
  line-height: 1.6;
  max-width: 380px;
}

.td-footer-col h4 {
  color: #ffffff;
  font-size: 1rem;
  margin-bottom: 14px;
}

.td-footer-col a {
  display: block;
  color: #8c8c92;
  margin-bottom: 8px;
  font-size: 0.85rem;
}

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

.td-footer-disclaimer {
  padding: 24px 0 16px 0;
  font-size: 0.74rem;
  line-height: 1.6;
  color: #6a6a70;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.td-footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  font-size: 0.78rem;
  color: #6a6a70;
}

@media (min-width: 640px) {
  .td-footer-bottom {
    flex-direction: row;
  }
}

.td-footer-bottom a:hover {
  color: #ffffff;
}

/* ==========================================================================
   FLOATING BUTTONS & MOBILE STICKY BAR
   ========================================================================== */
.td-floating-whatsapp {
  position: fixed;
  right: 20px;
  bottom: 84px;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25D366;
  color: #ffffff;
  border-radius: 50%;
  z-index: 9998;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.20), 0 0 0 4px rgba(37, 211, 102, 0.12);
  transition: transform 0.25s ease;
}

.td-floating-whatsapp svg {
  width: 28px;
  height: 28px;
  fill: #ffffff;
}

.td-floating-whatsapp:hover {
  background: #20bd5a;
  transform: translateY(-3px) scale(1.05);
}

/* Mobile Sticky Bottom CTA Bar */
.td-mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid var(--td-line);
  padding: 8px 14px calc(8px + env(safe-area-inset-bottom, 0px)) 14px;
  z-index: 9995;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

@media (max-width: 767px) {
  .td-mobile-bottom-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  
  .td-floating-whatsapp {
    bottom: 70px;
    right: 14px;
    width: 48px;
    height: 48px;
  }
  
  .td-floating-whatsapp svg {
    width: 24px;
    height: 24px;
  }
}

.td-mobile-bar-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 8px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

.td-mobile-call {
  background: var(--td-soft);
  color: var(--td-charcoal);
  border: 1px solid var(--td-line);
}

.td-mobile-enquire {
  background: linear-gradient(135deg, #e3af2b, #b9820d);
  color: #ffffff;
}

/* ==========================================================================
   MODALS & LIGHTBOX
   ========================================================================== */
.td-modal {
  position: fixed;
  inset: 0;
  background: rgba(14, 14, 16, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.td-modal.is-active {
  opacity: 1;
  visibility: visible;
}

.td-modal-box {
  background: #ffffff;
  border-radius: var(--td-radius);
  max-width: 500px;
  width: 100%;
  padding: 28px 22px;
  position: relative;
  box-shadow: var(--td-shadow-lg);
  transform: translateY(15px) scale(0.98);
  transition: transform 0.25s var(--td-ease);
  max-height: 90vh;
  overflow-y: auto;
}

@media (min-width: 640px) {
  .td-modal-box {
    padding: 32px 28px;
  }
}

.td-modal.is-active .td-modal-box {
  transform: translateY(0) scale(1);
}

.td-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--td-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--td-charcoal);
  cursor: pointer;
  transition: background 0.2s;
}

.td-modal-close:hover {
  background: var(--td-gold);
  color: #fff;
}

/* Lightbox Modal */
.td-lightbox-modal-box {
  max-width: 900px;
  padding: 10px;
  background: #0b0b0c;
  text-align: center;
}

.td-lightbox-modal-box img {
  max-height: 75vh;
  width: auto;
  margin: 0 auto;
  border-radius: 6px;
}

.td-lightbox-caption {
  color: #ffffff;
  font-size: 0.9rem;
  margin-top: 10px;
  font-weight: 500;
}

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