/* ============================================================
   VEERAMREDDY REAL ESTATE — style.css
   Vanilla CSS conversion from Tailwind/React/TSX
   ============================================================ */

/* ---------- Google Font ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  --amber-50:  #fffbeb;
  --amber-100: #fef3c7;
  --amber-200: #fde68a;
  --amber-400: #fbbf24;
  --amber-500: #f59e0b;
  --amber-600: #d97706;
  --amber-700: #b45309;
  --amber-800: #92400e;

  --slate-50:  #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --slate-950: #020617;

  --green-50:  #f0fdf4;
  --green-100: #dcfce7;
  --green-200: #bbf7d0;
  --green-500: #22c55e;
  --green-700: #15803d;

  --red-50:   #fef2f2;
  --red-200:  #fecaca;
  --red-500:  #ef4444;
  --red-700:  #b91c1c;

  --whatsapp-green: #25D366;
  --whatsapp-dark:  #128C7E;

  --radius-sm: 0.5rem;
  --radius:    0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.25rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
  color: var(--slate-800);
  background-color: var(--slate-50);
  line-height: 1.6;
}

/* ---------- Blink animation (matches hub) ---------- */
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}
.blink { animation: blink 1s step-end infinite; }

img { max-width: 100%; display: block; }
a  { text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (min-width: 768px) {
  .container { padding-left: 1.5rem; padding-right: 1.5rem; }
}

/* ============================================================
   NAVBAR
   ============================================================ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: background 0.3s, padding 0.3s, box-shadow 0.3s;
  padding: 1.25rem 0;
  background: rgba(15, 23, 42, 0.80);
  backdrop-filter: blur(8px);
}
#navbar.scrolled {
  background: #fff;
  box-shadow: 0 1px 8px rgba(0,0,0,.08);
  padding: 0.75rem 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo — hub style: text-only with blinking dot */
.nav-logo {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: #fff;
  display: flex;
  align-items: center;
  transition: color 0.3s;
}
.nav-logo .blink { color: var(--amber-500); }
#navbar.scrolled .nav-logo { color: var(--slate-900); }

/* Desktop Nav Links */
.nav-desktop {
  display: none;
  align-items: center;
  gap: 2rem;
}
@media (min-width: 768px) { .nav-desktop { display: flex; } }

.nav-links { display: flex; align-items: center; gap: 1.5rem; }
.nav-links a {
  font-size: 0.875rem; font-weight: 500;
  color: var(--slate-200);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--amber-500); }
#navbar.scrolled .nav-links a { color: var(--slate-600); }

.nav-call-btn {
  display: flex; align-items: center; gap: 0.5rem;
  background: var(--amber-500);
  color: var(--slate-900) !important;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-weight: 600; font-size: 0.875rem;
  transition: background 0.2s;
}
.nav-call-btn:hover { background: var(--amber-600); }

/* Mobile Toggle */
.nav-toggle {
  display: flex;
  background: none; border: none;
  color: #fff;
  padding: 0.5rem;
  transition: color 0.3s;
}
@media (min-width: 768px) { .nav-toggle { display: none; } }
#navbar.scrolled .nav-toggle { color: var(--slate-900); }

/* Mobile Menu */
#mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0;
  background: #fff;
  border-top: 1px solid var(--slate-100);
  padding: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
}
#mobile-menu.open { display: flex; }
#mobile-menu a {
  color: var(--slate-800);
  font-weight: 500;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--slate-100);
  transition: color 0.2s;
}
#mobile-menu a:hover { color: var(--amber-500); }
#mobile-menu .nav-call-btn {
  margin-top: 0.5rem;
  justify-content: center;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  border: none;
}

/* ============================================================
   HERO
   ============================================================ */
#home {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding-top: 5rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.70);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 48rem;
}

.hero-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  background: rgba(245,158,11,0.15);
  color: var(--amber-400);
  font-weight: 500;
  font-size: 0.875rem;
  border: 1px solid rgba(245,158,11,0.3);
  margin-bottom: 1rem;
  animation: fadeInUp 0.6s ease both;
}

.hero-title {
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.6s ease 0.05s both;
}
.hero-title .accent { color: var(--amber-500); }

.hero-desc {
  font-size: 1.1rem;
  color: var(--slate-300);
  margin-bottom: 2.5rem;
  max-width: 40rem;
  animation: fadeInUp 0.6s ease 0.1s both;
}

/* Search Box */
.hero-search {
  background: #fff;
  padding: 1rem;
  border-radius: var(--radius-2xl);
  box-shadow: 0 20px 40px rgba(0,0,0,.25);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  animation: fadeInUp 0.6s ease 0.2s both;
}
@media (min-width: 768px) {
  .hero-search { flex-direction: row; }
}

.search-field {
  flex: 1;
  display: flex;
  align-items: center;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 0.75rem 1rem;
  gap: 0.75rem;
}
.search-field svg { color: var(--slate-400); flex-shrink: 0; }
.search-field select {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: var(--slate-700);
  font-size: 0.95rem;
  cursor: pointer;
  appearance: none;
}

.search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--amber-500);
  color: var(--slate-900);
  border: none;
  border-radius: var(--radius-xl);
  padding: 0.75rem 2rem;
  font-weight: 700;
  font-size: 1rem;
  transition: background 0.2s;
}
.search-btn:hover { background: var(--amber-600); }

/* ============================================================
   SECTION SHARED STYLES
   ============================================================ */
section { padding: 5rem 0; }

.section-header {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 4rem;
}
.section-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 1rem;
}
.section-header p { color: var(--slate-600); }

/* ============================================================
   PROPERTY TYPES
   ============================================================ */
#property-types { background: var(--slate-50); }

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

.prop-card {
  background: #fff;
  border-radius: var(--radius-2xl);
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
  border: 1px solid var(--slate-100);
  cursor: pointer;
  transition: box-shadow 0.3s, transform 0.3s;
  animation: fadeInUp 0.5s ease both;
}
.prop-card:hover {
  box-shadow: 0 12px 30px rgba(0,0,0,.1);
  transform: translateY(-4px);
}

.prop-icon {
  width: 3.5rem; height: 3.5rem;
  background: var(--amber-50);
  color: var(--amber-500);
  border-radius: var(--radius-xl);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
  transition: background 0.3s, color 0.3s;
}
.prop-card:hover .prop-icon { background: var(--amber-500); color: #fff; }

.prop-card h3 { font-size: 1.2rem; font-weight: 700; color: var(--slate-900); margin-bottom: 0.25rem; }
.prop-card p  { font-size: 0.875rem; color: var(--slate-500); }

/* ============================================================
   FEATURED LISTINGS
   ============================================================ */
#featured { background: #fff; }

.featured-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 3rem;
}
@media (min-width: 768px) {
  .featured-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }
}

.featured-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 0.5rem;
}
.featured-header p { color: var(--slate-600); max-width: 36rem; }

.view-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--amber-600);
  font-weight: 600;
  background: none;
  border: none;
  font-size: 1rem;
  transition: color 0.2s;
  white-space: nowrap;
}
.view-all-btn:hover { color: var(--amber-700); }

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

.listing-card {
  background: #fff;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,.08);
  border: 1px solid var(--slate-100);
  animation: fadeInUp 0.5s ease both;
  transition: box-shadow 0.3s;
}
.listing-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,.12); }

.listing-img-wrap {
  position: relative;
  height: 16rem;
  overflow: hidden;
}
.listing-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.listing-card:hover .listing-img-wrap img { transform: scale(1.1); }

.listing-badge {
  position: absolute;
  top: 1rem; left: 1rem;
  background: var(--amber-500);
  color: var(--slate-900);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 6px rgba(0,0,0,.2);
}
.listing-price {
  position: absolute;
  bottom: 1rem; left: 1rem;
  background: rgba(15,23,42,0.80);
  backdrop-filter: blur(4px);
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
}

.listing-body { padding: 1.5rem; }
.listing-body h3 { font-size: 1.15rem; font-weight: 700; color: var(--slate-900); margin-bottom: 0.5rem; }

.listing-location {
  display: flex; align-items: center; gap: 0.25rem;
  color: var(--slate-500);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}
.listing-location svg { color: var(--amber-500); flex-shrink: 0; }

.listing-meta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1rem 0;
  border-top: 1px solid var(--slate-100);
  border-bottom: 1px solid var(--slate-100);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.listing-meta-item {
  display: flex; align-items: center; gap: 0.4rem;
  color: var(--slate-600); font-size: 0.875rem; font-weight: 500;
}
.listing-meta-item svg { color: var(--slate-400); }

.enquire-btn {
  width: 100%;
  background: var(--slate-900);
  color: #fff;
  border: none;
  border-radius: var(--radius-xl);
  padding: 0.75rem;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.2s;
}
.enquire-btn:hover { background: var(--slate-800); }

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
#why-us {
  background: var(--slate-900);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.why-blob-1, .why-blob-2 {
  position: absolute;
  width: 24rem; height: 24rem;
  border-radius: var(--radius-full);
  filter: blur(80px);
  pointer-events: none;
}
.why-blob-1 { top: 0; right: 0; background: rgba(245,158,11,0.10); transform: translate(33%, -50%); }
.why-blob-2 { bottom: 0; left: 0; background: rgba(59,130,246,0.10); transform: translate(-33%, 50%); }

.why-inner {
  position: relative; z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}
@media (min-width: 1024px) { .why-inner { flex-direction: row; align-items: center; } }

.why-left { flex: 1; }
.why-label {
  color: var(--amber-500);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.875rem;
  margin-bottom: 1rem;
  display: block;
}
.why-left h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}
.why-left h2 .accent { color: var(--amber-500); }
.why-left p {
  color: var(--slate-300);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.why-stats { display: flex; gap: 1.5rem; }
.stat-box {
  background: var(--slate-800);
  border: 1px solid var(--slate-700);
  border-radius: var(--radius-xl);
  padding: 1rem;
}
.stat-box h4 { font-size: 1.75rem; font-weight: 800; color: var(--amber-500); margin-bottom: 0.25rem; }
.stat-box p  { font-size: 0.875rem; color: var(--slate-400); }

.why-right {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) { .why-right { grid-template-columns: 1fr 1fr; } }

.feature-card {
  background: rgba(30,41,59,0.5);
  backdrop-filter: blur(4px);
  border: 1px solid var(--slate-700);
  border-radius: var(--radius-2xl);
  padding: 1.5rem;
  transition: border-color 0.3s;
  animation: fadeInUp 0.5s ease both;
}
.feature-card:hover { border-color: rgba(245,158,11,0.5); }

.feature-icon {
  width: 3rem; height: 3rem;
  background: rgba(245,158,11,0.2);
  color: var(--amber-500);
  border-radius: var(--radius-xl);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.feature-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }
.feature-card p  { font-size: 0.875rem; color: var(--slate-400); line-height: 1.6; }

/* ============================================================
   CONTACT SECTION
   ============================================================ */
#contact { background: var(--slate-50); }

.contact-grid {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  max-width: 72rem;
  margin: 0 auto;
}
@media (min-width: 1024px) { .contact-grid { flex-direction: row; } }

/* Contact Info Card */
.contact-info {
  background: #fff;
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-2xl);
  padding: 2rem;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
}
@media (min-width: 1024px) { .contact-info { flex: 0 0 30%; } }

.contact-info h3 { font-size: 1.5rem; font-weight: 700; color: var(--slate-900); margin-bottom: 1.5rem; }

.contact-item { display: flex; align-items: flex-start; margin-bottom: 1.5rem; }
.contact-item:last-child { margin-bottom: 0; }
.contact-item-icon {
  width: 3rem; height: 3rem;
  background: var(--amber-50);
  color: var(--amber-500);
  border-radius: var(--radius-xl);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-right: 1rem;
}
.contact-item-label { font-size: 0.75rem; color: var(--slate-500); font-weight: 500; margin-bottom: 0.25rem; }
.contact-item a, .contact-item p.val {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--slate-900);
  transition: color 0.2s;
}
.contact-item a:hover { color: var(--amber-500); }
.contact-item p.sub { color: var(--slate-600); font-size: 0.875rem; margin-top: 0.25rem; }

/* Contact Form */
.contact-form-wrap {
  flex: 1;
  background: #fff;
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-2xl);
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,.07);
}
.contact-form-wrap h3 { font-size: 1.5rem; font-weight: 700; color: var(--slate-900); margin-bottom: 1.5rem; }

.form-grid-2 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .form-grid-2 { grid-template-columns: 1fr 1fr; } }

.form-group { display: flex; flex-direction: column; }
.form-group label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--slate-700);
  margin-bottom: 0.5rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--slate-200);
  outline: none;
  font-size: 0.95rem;
  color: var(--slate-700);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--amber-500);
  box-shadow: 0 0 0 3px rgba(245,158,11,0.15);
}
.form-group textarea { resize: none; }
.form-group .error-input { border-color: var(--red-500); }
.form-group .error-input:focus { box-shadow: 0 0 0 3px rgba(239,68,68,0.15); }
.error-msg { color: var(--red-500); font-size: 0.75rem; margin-top: 0.25rem; }

.form-mb { margin-bottom: 1.5rem; }

.submit-btn {
  width: 100%;
  background: var(--amber-500);
  color: var(--slate-900);
  border: none;
  border-radius: var(--radius-xl);
  padding: 1rem;
  font-weight: 700;
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  transition: background 0.2s;
}
.submit-btn:hover:not(:disabled) { background: var(--amber-600); }
.submit-btn:disabled { opacity: 0.7; cursor: not-allowed; }

.alert-success, .alert-error {
  display: none;
  padding: 1rem;
  border-radius: var(--radius-xl);
  margin-bottom: 1.5rem;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
}
.alert-success { background: var(--green-50); border: 1px solid var(--green-200); color: var(--green-700); }
.alert-error   { background: var(--red-50);   border: 1px solid var(--red-200);   color: var(--red-700); }
.alert-success.show, .alert-error.show { display: flex; }
.alert-dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--green-500); flex-shrink: 0; }

/* Spinner */
@keyframes spin { to { transform: rotate(360deg); } }
.spinner {
  width: 1.25rem; height: 1.25rem;
  border: 2px solid rgba(15,23,42,0.3);
  border-top-color: var(--slate-900);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: none;
}
.spinner.show { display: inline-block; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--slate-950);
  color: var(--slate-400);
  padding: 3rem 0;
  border-top: 1px solid var(--slate-900);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
@media (min-width: 768px)  { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; } }

/* Footer logo — hub style */
.footer-logo {
  display: inline-block;
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: #fff;
  margin-bottom: 1rem;
}
.footer-logo .blink { color: var(--amber-500); }
.footer-about { font-size: 0.875rem; line-height: 1.7; }


.footer-col h4 { color: #fff; font-weight: 700; margin-bottom: 1.5rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-col ul a { font-size: 0.875rem; transition: color 0.2s; }
.footer-col ul a:hover { color: var(--amber-500); }

.footer-contact-list { display: flex; flex-direction: column; gap: 1rem; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.875rem; }
.footer-contact-item .icon { color: var(--amber-500); margin-top: 2px; flex-shrink: 0; }
.footer-contact-item a { transition: color 0.2s; }
.footer-contact-item a:hover { color: #fff; }

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--slate-800);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  font-size: 0.875rem;
}
@media (min-width: 768px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}
.footer-bottom-links { display: flex; gap: 1rem; }
.footer-bottom-links a:hover { color: #fff; }

/* ============================================================
   FLOATING WHATSAPP
   ============================================================ */
#whatsapp-float {
  position: fixed;
  bottom: 1.5rem; right: 1.5rem;
  z-index: 40;
  background: var(--whatsapp-green);
  color: #fff;
  width: 3.75rem; height: 3.75rem;
  border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 15px rgba(0,0,0,.2);
  transition: background 0.3s, transform 0.3s;
}
#whatsapp-float:hover { background: var(--whatsapp-dark); transform: scale(1.1); }
#whatsapp-float .tooltip {
  position: absolute;
  right: calc(100% + 0.75rem);
  top: 50%; transform: translateY(-50%);
  background: var(--slate-900);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
#whatsapp-float .tooltip::after {
  content: '';
  position: absolute;
  top: 50%; right: -4px;
  transform: translateY(-50%) rotate(45deg);
  width: 8px; height: 8px;
  background: var(--slate-900);
}
#whatsapp-float:hover .tooltip { opacity: 1; }

/* ============================================================
   CHATBOT WIDGET
   ============================================================ */
#chatbot-toggle {
  position: fixed;
  bottom: 1.5rem; left: 1.5rem;
  z-index: 40;
  background: var(--slate-900);
  color: #fff;
  width: 3.75rem; height: 3.75rem;
  border-radius: var(--radius-full);
  border: none;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 15px rgba(0,0,0,.2);
  transition: background 0.3s, transform 0.3s;
}
#chatbot-toggle:hover { background: var(--slate-800); transform: scale(1.1); }
#chatbot-toggle svg { color: var(--amber-500); }
#chatbot-toggle .tooltip {
  position: absolute;
  left: calc(100% + 0.75rem);
  top: 50%; transform: translateY(-50%);
  background: var(--slate-900);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
#chatbot-toggle .tooltip::before {
  content: '';
  position: absolute;
  top: 50%; left: -4px;
  transform: translateY(-50%) rotate(45deg);
  width: 8px; height: 8px;
  background: var(--slate-900);
}
#chatbot-toggle:hover .tooltip { opacity: 1; }

#chatbot-window {
  position: fixed;
  bottom: 1.5rem; left: 1.5rem;
  z-index: 50;
  width: 20rem;
  height: 500px;
  max-height: 80vh;
  background: #fff;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: 0 20px 50px rgba(0,0,0,.2);
  border: 1px solid var(--slate-100);
  /* animation states */
  opacity: 0;
  transform: translateY(1rem) scale(0.95);
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
}
@media (min-width: 640px) { #chatbot-window { width: 24rem; } }
#chatbot-window.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.chatbot-header {
  background: var(--slate-900);
  color: #fff;
  padding: 1rem;
  display: flex; align-items: center; justify-content: space-between;
}
.chatbot-header-info { display: flex; align-items: center; gap: 0.75rem; }
.chatbot-avatar {
  width: 2.5rem; height: 2.5rem;
  background: var(--amber-500);
  border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  color: var(--slate-900);
}
.chatbot-header h3 { font-size: 0.875rem; font-weight: 700; margin-bottom: 0.1rem; }
.chatbot-status { font-size: 0.75rem; color: var(--slate-400); display: flex; align-items: center; gap: 0.3rem; }
.status-dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--green-500); }
.chatbot-close {
  background: none; border: none;
  color: var(--slate-400); padding: 0.25rem;
  transition: color 0.2s;
}
.chatbot-close:hover { color: #fff; }

.chatbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  background: var(--slate-50);
  display: flex; flex-direction: column; gap: 1rem;
  scroll-behavior: smooth;
}

.msg-row { display: flex; flex-direction: column; }
.msg-row.user { align-items: flex-end; }
.msg-row.bot  { align-items: flex-start; }

.msg-bubble-wrap {
  display: flex; align-items: flex-end; gap: 0.5rem;
  max-width: 85%;
}
.msg-row.user .msg-bubble-wrap { flex-direction: row-reverse; }

.msg-avatar {
  width: 2rem; height: 2rem;
  border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.msg-row.user .msg-avatar { background: var(--slate-200); color: var(--slate-600); }
.msg-row.bot  .msg-avatar { background: var(--amber-100); color: var(--amber-600); }

.msg-bubble {
  padding: 0.75rem;
  border-radius: 1rem;
  font-size: 0.875rem;
  line-height: 1.5;
}
.msg-row.user .msg-bubble {
  background: var(--slate-900); color: #fff;
  border-bottom-right-radius: 0.25rem;
}
.msg-row.bot .msg-bubble {
  background: #fff; color: var(--slate-800);
  border: 1px solid var(--slate-100);
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
  border-bottom-left-radius: 0.25rem;
}

.msg-options {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin-top: 0.5rem;
  margin-left: 2.5rem;
}
.msg-option-btn {
  font-size: 0.75rem;
  background: #fff;
  border: 1px solid var(--amber-200);
  color: var(--amber-700);
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius-full);
  transition: background 0.2s;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
}
.msg-option-btn:hover { background: var(--amber-50); }

.chatbot-input-area {
  padding: 0.75rem;
  background: #fff;
  border-top: 1px solid var(--slate-100);
  display: flex; align-items: center; gap: 0.5rem;
}
.chatbot-input {
  flex: 1;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-full);
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.chatbot-input:focus {
  border-color: var(--amber-500);
  box-shadow: 0 0 0 2px rgba(245,158,11,0.15);
}
.chatbot-send {
  width: 2.5rem; height: 2.5rem;
  border-radius: var(--radius-full);
  background: var(--amber-500);
  color: var(--slate-900);
  border: none;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
  flex-shrink: 0;
}
.chatbot-send:hover:not(:disabled) { background: var(--amber-600); }
.chatbot-send:disabled { opacity: 0.5; cursor: not-allowed; }

/* ============================================================
   ENQUIRY MODAL
   ============================================================ */
#enquiry-overlay {
  position: fixed; inset: 0; z-index: 50;
  background: rgba(15,23,42,0.65);
  backdrop-filter: blur(4px);
  display: none; align-items: center; justify-content: center;
  padding: 1rem;
}
#enquiry-overlay.open { display: flex; }

.modal-box {
  background: #fff;
  border-radius: var(--radius-2xl);
  box-shadow: 0 25px 60px rgba(0,0,0,.25);
  width: 100%; max-width: 32rem;
  overflow: hidden;
  animation: modalIn 0.25s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.95) translateY(1rem); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid var(--slate-100);
  background: var(--slate-50);
}
.modal-header h3 { font-size: 1.2rem; font-weight: 700; color: var(--slate-900); }
.modal-close {
  background: none; border: none;
  color: var(--slate-400); padding: 0.25rem;
  border-radius: var(--radius-full);
  transition: color 0.2s, background 0.2s;
}
.modal-close:hover { color: var(--slate-600); background: var(--slate-200); }

.modal-body { padding: 1.5rem; }

.modal-prop-tag {
  padding: 1rem;
  background: var(--amber-50);
  border: 1px solid var(--amber-200);
  border-radius: var(--radius-xl);
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  color: var(--amber-800);
}
.modal-prop-tag span { font-weight: 700; }

.modal-form .form-group { margin-bottom: 1rem; }

.modal-btns { display: flex; gap: 1rem; margin-top: 1.5rem; }
.modal-cancel {
  flex: 1;
  border: 1px solid var(--slate-200);
  color: var(--slate-700);
  background: none;
  border-radius: var(--radius-xl);
  padding: 0.75rem;
  font-weight: 600;
  transition: background 0.2s;
}
.modal-cancel:hover { background: var(--slate-50); }
.modal-submit {
  flex: 1;
  background: var(--amber-500);
  color: var(--slate-900);
  border: none;
  border-radius: var(--radius-xl);
  padding: 0.75rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  transition: background 0.2s;
}
.modal-submit:hover:not(:disabled) { background: var(--amber-600); }
.modal-submit:disabled { opacity: 0.7; cursor: not-allowed; }

.modal-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 0;
}
.modal-success.show { display: flex; }
.modal-success-icon {
  width: 4rem; height: 4rem;
  background: var(--green-100);
  color: var(--green-500);
  border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.modal-success h4 { font-size: 1.25rem; font-weight: 700; color: var(--slate-900); margin-bottom: 0.5rem; }
.modal-success p  { color: var(--slate-600); }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Intersection Observer animation classes */
.will-animate {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.will-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   UTILITY
   ============================================================ */
.hidden { display: none !important; }
