/* ==========================================================================
   ORIENT HOME COMFORT — DESIGN SYSTEM & MAIN STYLESHEET
   ========================================================================== */

/* 1. DESIGN TOKENS & THEMING - DEFAULT TO LOGO DARK ONYX THEME */
:root {
  /* Color Palette - Default Dark Metallic Onyx Mode */
  --bg-primary: #0a0c10;
  --bg-surface: #121620;
  --bg-surface-elevated: #1a202c;
  --bg-glass: rgba(18, 22, 32, 0.92);
  
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #64748b;
  --text-inverse: #0a0c10;

  --border-color: #1e293b;
  --border-hover: #334155;

  /* Brand Accents from Logo */
  --color-primary: #00b4d8;       /* Ice Blue / Cooling */
  --color-primary-hover: #0284c7;
  --color-accent: #10b981;        /* Emerald Air Quality */
  --color-accent-hover: #059669;
  --color-warm: #ff5500;          /* Flame Orange / Heating */
  --color-warm-hover: #e64a00;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 25px rgba(0, 180, 216, 0.3);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Outfit', 'Inter', system-ui, sans-serif;

  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Light Theme Overrides */
[data-theme="light"] {
  --bg-primary: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #f1f5f9;
  --bg-glass: rgba(255, 255, 255, 0.92);

  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-inverse: #ffffff;

  --border-color: #e2e8f0;
  --border-hover: #cbd5e1;

  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.nav-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  display: block;
}

.footer-logo-img {
  height: 58px;
  width: auto;
  object-fit: contain;
  margin-bottom: 1rem;
  display: block;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  transition: background-color var(--transition-normal), color var(--transition-normal);
  overflow-x: hidden;
  padding-bottom: 70px; /* Padding for mobile sticky bar */
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.25;
  color: var(--text-primary);
  font-weight: 700;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-primary-hover);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 4.5rem 0;
}

.text-center { text-align: center; }
.hidden { display: none !important; }

/* 3. BUTTON SYSTEM */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--color-primary);
  color: #ffffff;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background-color: var(--color-primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.btn-warm {
  background-color: var(--color-warm);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(255, 85, 0, 0.3);
}

.btn-warm:hover {
  background-color: var(--color-warm-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 85, 0, 0.4);
}

.btn-secondary {
  background-color: var(--bg-surface-elevated);
  color: var(--text-primary);
  border-color: var(--border-color);
}

.btn-secondary:hover {
  border-color: var(--border-hover);
  background-color: var(--border-color);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-outline:hover {
  background-color: var(--color-primary);
  color: #ffffff;
}

.btn-large {
  padding: 0.95rem 2rem;
  font-size: 1.05rem;
}

.btn-full { width: 100%; }

/* 4. TOP BAR & NAVIGATION */
.top-bar {
  background-color: #05070a;
  color: #94a3b8;
  font-size: 0.85rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-info {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.badge-live {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.78rem;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background-color: #34d399;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(52, 211, 153, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.phone-link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #ffffff;
  font-weight: 700;
}

.phone-link:hover { color: var(--color-primary); }

.theme-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 0.25rem;
  display: flex;
  align-items: center;
}

[data-theme="light"] .sun-icon { display: none; }
[data-theme="light"] .moon-icon { display: block; }
[data-theme="dark"] .sun-icon { display: block; }
[data-theme="dark"] .moon-icon { display: none; }

/* MAIN NAV */
.main-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--bg-glass);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.25rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-link {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-link:hover, .nav-highlight {
  color: var(--color-primary);
  font-weight: 700;
}

.nav-cta-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 24px;
  height: 2.5px;
  background-color: var(--text-primary);
}

/* 5. HERO SECTION */
.hero-section {
  position: relative;
  padding: 4rem 0 5rem 0;
  background: radial-gradient(circle at 10% 20%, rgba(0, 180, 216, 0.12) 0%, transparent 50%),
              radial-gradient(circle at 90% 80%, rgba(255, 85, 0, 0.12) 0%, transparent 50%);
  border-bottom: 1px solid var(--border-color);
}

.hero-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.star-badge {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.35rem 0.85rem;
  background-color: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: 3rem;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.highlight-text {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 1.75rem;
}

.hero-trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.trust-pill {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.trust-pill svg { color: var(--color-accent); }

.hero-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* HERO QUICK ACTION CARD */
.hero-quick-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-xl);
  position: relative;
}

.hero-quick-card::before {
  content: '';
  position: absolute;
  top: -1px; left: 2rem; right: 2rem;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-warm));
}

.card-header {
  margin-bottom: 1.25rem;
}

.card-badge {
  background: rgba(0, 180, 216, 0.15);
  color: var(--color-primary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-sm);
}

.card-header h3 {
  font-size: 1.3rem;
  margin: 0.3rem 0 0.15rem 0;
}

.card-header p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-primary);
}

/* 6. SPECIAL OFFERS SECTION */
.offers-section {
  background-color: var(--bg-surface-elevated);
  border-bottom: 1px solid var(--border-color);
}

.offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.offer-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform var(--transition-fast);
}

.offer-card:hover {
  transform: translateY(-4px);
}

.offer-featured {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-glow);
}

.offer-badge {
  position: absolute;
  top: -12px;
  right: 1.5rem;
  background: var(--color-warm);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.2rem 0.75rem;
  border-radius: var(--radius-full);
}

.offer-header h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.offer-price {
  margin-bottom: 1.25rem;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.price-val {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--color-primary);
}

.price-orig {
  text-decoration: line-through;
  color: var(--text-muted);
}

.price-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.offer-features {
  list-style: none;
  margin-bottom: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  flex: 1;
}

/* 7. SERVICES GRID */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.service-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
}

.service-tag {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background-color: var(--color-accent);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.duct-icon { background: rgba(16, 185, 129, 0.15); color: var(--color-accent); }
.heat-icon { background: rgba(255, 85, 0, 0.15); color: var(--color-warm); }
.cool-icon { background: rgba(0, 180, 216, 0.15); color: var(--color-primary); }

.service-card h3 { font-size: 1.35rem; margin-bottom: 0.75rem; }
.service-card p { color: var(--text-secondary); font-size: 0.95rem; margin-bottom: 1.25rem; }

.service-list {
  list-style: none;
  margin-bottom: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-top: auto;
}

.service-btn {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-primary);
}

/* 8. SHOWCASE & BEFORE/AFTER */
.showcase-section {
  background-color: var(--bg-surface-elevated);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.benefit-points {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.benefit-item { display: flex; gap: 1rem; }

.check-box {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.slider-container { width: 100%; }

.slider-wrapper {
  position: relative;
  width: 100%;
  height: 380px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  user-select: none;
  cursor: ew-resize;
  border: 1px solid var(--border-color);
}

.image-after, .image-before {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
}

.image-before {
  overflow: hidden;
  border-right: 2px solid #ffffff;
}

.slider-badge {
  position: absolute;
  bottom: 1.25rem;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  color: #ffffff;
}

.badge-after { right: 1.25rem; background: rgba(16, 185, 129, 0.85); }
.badge-before { left: 1.25rem; background: rgba(239, 68, 68, 0.85); }

.slider-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 40px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 10;
}

.handle-line {
  position: absolute;
  top: 0; bottom: 0;
  width: 3px;
  background-color: #ffffff;
}

.handle-button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #ffffff;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
}

.slider-hint {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

/* 9. BOOKING WIZARD */
.booking-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-xl);
  max-width: 900px;
  margin: 0 auto;
}

.booking-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.wizard-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.step-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.5;
}

.step-item.active { opacity: 1; }

.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--bg-surface-elevated);
  border: 2px solid var(--border-color);
  color: var(--text-secondary);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
}

.step-item.active .step-num {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: #ffffff;
}

.step-text {
  font-weight: 600;
  font-size: 0.9rem;
}

.step-line {
  width: 40px;
  height: 2px;
  background-color: var(--border-color);
}

.wizard-step { display: none; }
.wizard-step.active { display: block; animation: fadeIn 0.3s ease; }

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

.service-options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

.radio-card {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 1.25rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  cursor: pointer;
  background-color: var(--bg-primary);
}

.radio-card input[type="radio"] { accent-color: var(--color-primary); }

.radio-title {
  display: block;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.radio-desc { font-size: 0.85rem; color: var(--text-secondary); }

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.wizard-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}

/* 10. REVIEWS & WHY US */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-box {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(0, 180, 216, 0.15);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.reviews-carousel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.review-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.review-stars { color: #f59e0b; margin-bottom: 1rem; }
.review-text { font-style: italic; color: var(--text-secondary); margin-bottom: 1.5rem; }

/* 11. FOOTER */
.footer {
  background-color: #05070a;
  color: #cbd5e1;
  padding: 4rem 0 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-container {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-desc { font-size: 0.9rem; color: #94a3b8; margin: 1rem 0; }
.tssa-tag { font-size: 0.8rem; font-weight: 700; color: var(--color-accent); }

.footer-col h4 { color: #ffffff; margin-bottom: 1.25rem; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; font-size: 0.9rem; }
.footer-links a { color: #94a3b8; }
.footer-contact { font-size: 0.9rem; line-height: 1.8; color: #94a3b8; }
.footer-contact a { color: #ffffff; font-weight: 700; }

.footer-bottom {
  background-color: #020305;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.85rem;
  color: #64748b;
}

.footer-bottom-content { display: flex; justify-content: space-between; align-items: center; }

/* 12. FREE QUOTATION DIALOG */
.quote-dialog {
  border: none;
  border-radius: var(--radius-lg);
  padding: 0;
  max-width: 580px;
  width: 90%;
  margin: auto;
  background: var(--bg-surface);
  color: var(--text-primary);
  box-shadow: var(--shadow-xl);
}

.quote-dialog::backdrop {
  background: rgba(5, 7, 10, 0.85);
  backdrop-filter: blur(6px);
}

.dialog-content { padding: 2.5rem; position: relative; }
.dialog-close { position: absolute; top: 1.25rem; right: 1.25rem; background: none; border: none; font-size: 1.75rem; color: var(--text-muted); cursor: pointer; }

/* 13. WHATSAPP CHATBOT WIDGET */
.whatsapp-widget {
  position: fixed;
  bottom: 5.5rem;
  right: 2rem;
  z-index: 1000;
}

.wa-trigger-btn {
  background-color: #25d366;
  color: #ffffff;
  border: none;
  border-radius: var(--radius-full);
  padding: 0.85rem 1.4rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  cursor: pointer;
}

.online-indicator {
  position: absolute; top: 2px; left: 2px;
  width: 12px; height: 12px;
  background-color: #10b981;
  border: 2px solid #ffffff;
  border-radius: 50%;
}

.wa-chat-box {
  position: absolute;
  bottom: 4.5rem;
  right: 0;
  width: 380px;
  height: 520px;
  min-width: 300px;
  min-height: 380px;
  max-width: calc(100vw - 2.5rem);
  max-height: calc(100vh - 100px);
  resize: both;
  overflow: hidden; /* Prevent scrollbars on the outer resizable container */
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  z-index: 1001;
  transition: box-shadow var(--transition-normal);
}

.wa-chat-header {
  background: linear-gradient(135deg, #075e54, #128c7e);
  color: #ffffff;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  position: relative;
  flex-shrink: 0;
}

.wa-chat-messages {
  padding: 1.25rem;
  flex: 1 1 auto; /* Allow messages area to grow/shrink based on parent resize */
  min-height: 180px;
  overflow-y: auto;
  background-color: var(--bg-primary);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  scroll-behavior: smooth;
}

.chat-msg {
  max-width: 90%;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  line-height: 1.5;
  word-break: break-word;
}

.msg-bot {
  background-color: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  align-self: flex-start;
  box-shadow: var(--shadow-sm);
}

.msg-user {
  background-color: #056162;
  color: #ffffff;
  align-self: flex-end;
  border-bottom-right-radius: 2px;
}

.msg-time {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
  text-align: right;
}

.wa-quick-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.65rem 1rem;
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  flex-shrink: 0;
}

.chip-btn {
  background-color: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  padding: 0.35rem 0.75rem;
  font-size: 0.78rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.chip-btn:hover {
  background-color: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
}

.wa-chat-input-area {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  gap: 0.5rem;
  flex-shrink: 0;
}

.wa-chat-input-area input {
  flex: 1; padding: 0.6rem 0.85rem; border-radius: var(--radius-full); border: 1px solid var(--border-color); background-color: var(--bg-primary); color: var(--text-primary); outline: none; font-size: 0.88rem;
}

.wa-send-btn {
  width: 36px; height: 36px; border-radius: 50%; background-color: #25d366; color: #ffffff; border: none; display: flex; align-items: center; justify-content: center; cursor: pointer;
}

/* 14. MOBILE STICKY CONVERSION BAR */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 60px;
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  padding: 0.5rem 1rem;
  z-index: 999;
  gap: 0.5rem;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.4);
}

.btn-sticky {
  flex: 1;
  padding: 0.5rem 0.75rem;
  font-size: 0.9rem;
  border-radius: var(--radius-md);
}

/* 15. RESPONSIVE BREAKPOINTS */
@media (max-width: 992px) {
  .hero-container { grid-template-columns: 1fr; gap: 2.5rem; }
  .showcase-grid { grid-template-columns: 1fr; }
  .footer-container { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hero-title { font-size: 2.2rem; }
  .nav-links {
    position: absolute; top: 4.25rem; left: 0; right: 0; background-color: var(--bg-surface); flex-direction: column; padding: 1.5rem; border-bottom: 1px solid var(--border-color); display: none;
  }
  .nav-links.active { display: flex; }
  .nav-toggle { display: flex; }
  .nav-cta-group { display: none; }
  .top-info span:not(.badge-live) { display: none; }
  .service-options-grid, .form-grid-2 { grid-template-columns: 1fr; }
  .booking-card { padding: 1.5rem; }
  .wizard-steps { gap: 0.4rem; }
  .step-text { display: none; }
  .mobile-sticky-bar { display: flex; }
  .whatsapp-widget { bottom: 4.5rem; }
  .wa-chat-box { width: calc(100vw - 2rem); right: -1rem; }
}
