/* ============================================================
   SWARAJYA BRIGHT ENERGY — Complete Responsive Design System
   Updated with Proprietor Photo, Mobile Responsive Fixes,
   Grid-Tied Featured Badge & Password-Protected #admin Portal
   ============================================================ */

:root {
  /* Brand Colors */
  --primary-blue: #0F2C59;
  --primary-blue-light: #1a4080;
  --primary-blue-dark: #0a1f3f;
  --accent-green: #10B981;
  --accent-green-light: #34d399;
  --accent-green-dark: #059669;
  --accent-yellow: #F59E0B;
  --accent-yellow-light: #FBBF24;
  --accent-yellow-dark: #D97706;

  /* Light Mode */
  --bg-primary: #FFFFFF;
  --bg-secondary: #F8FAFC;
  --bg-tertiary: #EFF6FF;
  --surface-1: #FFFFFF;
  --surface-2: #F1F5F9;
  --surface-3: #E2E8F0;
  --text-primary: #0F172A;
  --text-secondary: #334155;
  --text-muted: #64748B;
  --text-inverse: #FFFFFF;
  --border-color: #E2E8F0;
  --border-light: #F1F5F9;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.10), 0 4px 16px rgba(0,0,0,0.06);
  --shadow-xl: 0 25px 60px rgba(0,0,0,0.12), 0 10px 30px rgba(0,0,0,0.08);

  /* Dark Mode Surfaces */
  --dark-bg-primary: #070D1A;
  --dark-bg-secondary: #0D1B33;
  --dark-surface-1: #111C30;
  --dark-surface-2: #162240;
  --dark-surface-3: #1E2E52;
  --dark-text-primary: #F0F6FF;
  --dark-text-secondary: #94AACF;
  --dark-text-muted: #64748B;
  --dark-border: #1E2E52;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Typography */
  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-md: 1.125rem;
  --font-size-lg: 1.25rem;
  --font-size-xl: 1.5rem;
  --font-size-2xl: 1.875rem;
  --font-size-3xl: 2.25rem;
  --font-size-4xl: 3rem;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
  --bg-primary: var(--dark-bg-primary);
  --bg-secondary: var(--dark-bg-secondary);
  --bg-tertiary: var(--dark-surface-1);
  --surface-1: var(--dark-surface-1);
  --surface-2: var(--dark-surface-2);
  --surface-3: var(--dark-surface-3);
  --text-primary: var(--dark-text-primary);
  --text-secondary: var(--dark-text-secondary);
  --text-muted: var(--dark-text-muted);
  --border-color: var(--dark-border);
  --border-light: var(--dark-surface-2);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.4);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.5);
  --shadow-xl: 0 25px 60px rgba(0,0,0,0.6);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  color: var(--text-primary);
  background-color: var(--bg-primary);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  transition: background-color var(--transition-slow), color var(--transition-slow);
}

#root {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  width: 100%;
  overflow-x: hidden;
}

.app-main-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100%;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* Container & Sections */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
  width: 100%;
  box-sizing: border-box;
}

.section-padding {
  padding: var(--space-4xl) 0;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--font-size-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-green);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-md);
}

.section-label--yellow {
  color: var(--accent-yellow);
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.2);
}

.section-title {
  font-size: clamp(1.6rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.18;
  margin-bottom: var(--space-md);
}

.section-subtitle {
  font-size: var(--font-size-md);
  color: var(--text-muted);
  max-width: 640px;
  line-height: 1.7;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-header--light .section-title,
.section-header--light .section-subtitle {
  color: var(--text-inverse);
}

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

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  background: linear-gradient(135deg, var(--accent-green), var(--accent-green-dark));
  color: white;
  font-weight: 700;
  font-size: var(--font-size-sm);
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-md);
  border: none;
  transition: all var(--transition-base);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.45);
  background: linear-gradient(135deg, var(--accent-green-light), var(--accent-green));
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  background: transparent;
  color: var(--text-inverse);
  font-weight: 700;
  font-size: var(--font-size-sm);
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-md);
  border: 2px solid rgba(255,255,255,0.4);
  transition: all var(--transition-base);
  backdrop-filter: blur(8px);
  cursor: pointer;
  white-space: nowrap;
}

.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.7);
  transform: translateY(-2px);
}

.btn-large {
  padding: 0.95rem 1.85rem;
  font-size: var(--font-size-base);
  border-radius: var(--radius-lg);
}

.btn-full { width: 100%; }

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: #25D366;
  color: white;
  font-weight: 700;
  font-size: var(--font-size-sm);
  padding: 0.65rem 1.1rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

.btn-whatsapp:hover {
  background: #1da851;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp-large {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  background: #25D366;
  color: white;
  font-weight: 700;
  font-size: var(--font-size-base);
  padding: 1rem 1.75rem;
  border-radius: var(--radius-lg);
  width: 100%;
  transition: all var(--transition-base);
  margin-top: var(--space-md);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp-large:hover {
  background: #1da851;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
}

/* 3D Floating Logo Keyframes */
@keyframes floatLogo3D {
  0%, 100% {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) translateY(0);
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.95)) drop-shadow(0 12px 25px rgba(0, 0, 0, 0.8)) drop-shadow(0 20px 50px rgba(245, 158, 11, 0.65));
  }
  50% {
    transform: perspective(1000px) rotateY(12deg) rotateX(-6deg) translateY(-16px);
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 1)) drop-shadow(0 24px 40px rgba(0, 0, 0, 0.9)) drop-shadow(0 35px 70px rgba(245, 158, 11, 0.85));
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Header & Mobile Menu Overlay */
#main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all var(--transition-slow);
  background: rgba(7, 13, 26, 0.85);
  backdrop-filter: blur(18px);
}

#main-header.scrolled {
  background: rgba(7, 13, 26, 0.98);
  backdrop-filter: blur(22px);
  border-bottom: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}

[data-theme="light"] #main-header.scrolled {
  background: rgba(255,255,255,0.98);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
}

.nav-container {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100px;
  gap: var(--space-md);
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-brand-logo-container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background: transparent;
  border: none;
  padding: 0;
  box-shadow: none;
}

.nav-brand-logo {
  height: 80px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.95)) drop-shadow(0 6px 14px rgba(0, 0, 0, 0.75)) drop-shadow(0 12px 28px rgba(245, 158, 11, 0.6));
  transition: transform 0.4s ease;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.nav-link {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: white;
  background: rgba(255,255,255,0.16);
}

[data-theme="light"] #main-header.scrolled .nav-link {
  color: var(--text-secondary);
}

[data-theme="light"] #main-header.scrolled .nav-link:hover,
[data-theme="light"] #main-header.scrolled .nav-link.active {
  color: var(--primary-blue);
  background: var(--bg-tertiary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.theme-toggle {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: white;
  transition: all var(--transition-base);
}

[data-theme="light"] #main-header.scrolled .theme-toggle {
  background: var(--surface-2);
  border-color: var(--border-color);
  color: var(--text-primary);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius-sm);
  z-index: 2005;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all var(--transition-base);
  display: block;
}

[data-theme="light"] #main-header.scrolled .hamburger span {
  background: var(--text-primary);
}

.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(160deg, #0a1628 0%, #0F2C59 40%, #0d3d2e 100%);
  background-image: url('assets/hero-bg.jpg');
  background-size: cover;
  background-position: center 30%;
  background-blend-mode: multiply;
  padding-top: 130px;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 40%, rgba(15,44,89,0.3) 0%, rgba(7,13,26,0.9) 100%);
  z-index: 0;
}

#particle-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: left;
  padding: var(--space-xl);
}

.hero-grid-wrapper {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.hero-logo-emblem {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
}

.hero-brand-logo-img {
  max-height: 250px;
  width: auto;
  object-fit: contain;
  animation: floatLogo3D 6s ease-in-out infinite;
}

.hero-text-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(245,158,11,0.15);
  border: 1px solid rgba(245,158,11,0.35);
  color: var(--accent-yellow);
  font-size: var(--font-size-sm);
  font-weight: 600;
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-md);
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-yellow);
  animation: pulse 2s ease-in-out infinite;
}

.hero-headline {
  font-size: clamp(2rem, 5vw, 4.25rem);
  font-weight: 900;
  color: white;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
  text-align: left;
}

.hero-subheadline {
  font-size: clamp(0.95rem, 1.8vw, 1.2rem);
  color: rgba(255,255,255,0.88);
  max-width: 720px;
  margin: 0 0 var(--space-xl) 0;
  line-height: 1.7;
  text-align: left;
}

.hero-subheadline strong { color: var(--accent-yellow); }

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-bottom: var(--space-2xl);
}

.trust-badges {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  color: rgba(255,255,255,0.9);
  font-size: var(--font-size-xs);
  font-weight: 600;
  background: rgba(255,255,255,0.06);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255,255,255,0.1);
}

.trust-badge i { color: var(--accent-yellow); }

.hero-stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(255,255,255,0.05);
  border-top: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
}

.stat-card {
  padding: var(--space-lg) var(--space-md);
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.1);
}

.stat-card:last-child { border-right: none; }
.stat-number { font-size: clamp(1.5rem, 3.5vw, 2.5rem); font-weight: 900; color: var(--accent-yellow); line-height: 1; margin-bottom: var(--space-xs); }
.stat-label { font-size: var(--font-size-xs); color: rgba(255,255,255,0.7); font-weight: 500; }

/* About Section & Proprietor Profile Card */
.about-section { background: var(--bg-primary); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.about-image-wrapper {
  position: relative;
}

.proprietor-img-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 4px solid var(--surface-1);
  background: var(--surface-1);
}

.proprietor-photo {
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: contain;
  display: block;
  transition: transform 0.5s ease;
}

.proprietor-img-card:hover .proprietor-photo {
  transform: scale(1.03);
}

.proprietor-overlay-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(15, 44, 89, 0.96) 0%, rgba(15, 44, 89, 0.75) 70%, transparent 100%);
  padding: var(--space-lg);
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(8px);
}

.proprietor-info-text strong {
  display: block;
  font-size: var(--font-size-lg);
  font-weight: 800;
  color: white;
}

.proprietor-info-text span {
  font-size: var(--font-size-xs);
  color: var(--accent-yellow);
  font-weight: 600;
}

.proprietor-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-green);
  color: white;
  font-size: var(--font-size-xs);
  font-weight: 700;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.about-description {
  color: var(--text-muted);
  font-size: var(--font-size-md);
  line-height: 1.8;
  margin-bottom: var(--space-xl);
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.about-feature {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.feature-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(16,185,129,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent-green);
}

/* Projects Gallery */
.projects-section { background: var(--bg-secondary); }

.project-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-bottom: var(--space-2xl);
}

.filter-tab {
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: 600;
  border: 1.5px solid var(--border-color);
  background: var(--surface-1);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.filter-tab:hover { border-color: var(--accent-green); color: var(--accent-green); }
.filter-tab.active { background: var(--accent-green); border-color: var(--accent-green); color: white; box-shadow: 0 4px 12px rgba(16,185,129,0.3); }

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

.project-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--surface-1);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-slow);
  cursor: pointer;
}

.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }
.project-img-wrapper { position: relative; height: 340px; overflow: hidden; }
.project-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.project-card:hover .project-img { transform: scale(1.08); }

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7,13,26,0.95) 0%, rgba(7,13,26,0.4) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-xl);
  color: white;
}

.project-category-badge {
  align-self: flex-start;
  font-size: var(--font-size-xs);
  font-weight: 700;
  text-transform: uppercase;
  background: rgba(245,158,11,0.9);
  color: white;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-xs);
}

.project-card h3 { font-size: var(--font-size-lg); font-weight: 800; margin-bottom: 4px; color: white; }
.project-meta-row { display: flex; gap: var(--space-md); font-size: var(--font-size-xs); color: rgba(255,255,255,0.8); }
.project-meta-row span { display: flex; align-items: center; gap: 4px; }

/* Lightbox Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(7, 13, 26, 0.92);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
}

.modal-content-wrap {
  position: relative;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--surface-1);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-color);
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0,0,0,0.6);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.modal-body { display: grid; grid-template-columns: 1.2fr 1fr; }
.modal-img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.modal-details { padding: var(--space-2xl); display: flex; flex-direction: column; justify-content: center; }

/* Services */
.services-section { background: var(--bg-primary); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-bottom: var(--space-3xl);
}

.service-card {
  background: var(--surface-1);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  transition: all var(--transition-slow);
  position: relative;
  display: flex;
  flex-direction: column;
}

.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); border-color: var(--accent-green); }

.service-card--featured {
  border-color: var(--accent-green);
  background: linear-gradient(160deg, rgba(16,185,129,0.04), var(--surface-1));
  box-shadow: var(--shadow-lg);
}

.service-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent-yellow), var(--accent-yellow-dark));
  color: white;
  font-size: var(--font-size-xs);
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-md);
  align-self: flex-start;
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(15,44,89,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-blue);
  margin-bottom: var(--space-lg);
}

.service-icon--green { background: rgba(16,185,129,0.1); color: var(--accent-green); }
.service-icon--yellow { background: rgba(245,158,11,0.1); color: var(--accent-yellow); }

.service-card h3 { font-size: var(--font-size-lg); font-weight: 700; margin-bottom: var(--space-xs); }
.service-card p { font-size: var(--font-size-sm); color: var(--text-muted); margin-bottom: var(--space-lg); flex-grow: 1; }

.service-features { display: flex; flex-direction: column; gap: var(--space-xs); margin-bottom: var(--space-lg); }
.service-features li { display: flex; items-center; gap: var(--space-sm); font-size: var(--font-size-sm); color: var(--text-secondary); }
.service-features li i { color: var(--accent-green); }

.service-cta { display: inline-flex; align-items: center; gap: var(--space-sm); font-size: var(--font-size-sm); font-weight: 700; color: var(--accent-green); }

/* Brands */
.brands-section { text-align: center; padding-top: var(--space-2xl); border-top: 1px solid var(--border-color); }
.brands-title { font-size: var(--font-size-sm); font-weight: 700; color: var(--text-muted); margin-bottom: var(--space-xl); text-transform: uppercase; letter-spacing: 0.08em; }
.brands-grid { display: flex; align-items: center; justify-content: center; gap: var(--space-xl); flex-wrap: wrap; }
.brand-card { padding: var(--space-md) var(--space-lg); border-radius: var(--radius-md); border: 1px solid var(--border-color); background: var(--surface-1); }

/* Calculator */
.calculator-section { background: var(--bg-secondary); }

.calculator-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

.calc-inputs, .calc-results {
  background: var(--surface-1);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-md);
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.calc-section-title {
  font-size: var(--font-size-xl);
  font-weight: 700;
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--border-color);
  color: var(--text-primary);
}

.calc-field { margin-bottom: var(--space-xl); }

.calc-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: var(--font-size-sm);
  font-weight: 600;
  margin-bottom: var(--space-md);
  color: var(--text-primary);
}

.calc-value-display {
  font-size: var(--font-size-base);
  font-weight: 800;
  color: var(--accent-green);
  background: rgba(16,185,129,0.1);
  padding: 2px 10px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.calc-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: var(--radius-full);
  outline: none;
  cursor: pointer;
  touch-action: pan-y;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-green);
  border: 3px solid white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  cursor: pointer;
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  margin-top: var(--space-xs);
  font-size: var(--font-size-xs);
  color: var(--text-muted);
}

.property-type-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-sm);
}

.property-option { cursor: pointer; }
.property-option input { display: none; }

.property-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-md) var(--space-xs);
  border-radius: var(--radius-md);
  border: 2px solid var(--border-color);
  font-size: var(--font-size-xs);
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-secondary);
  text-align: center;
  word-break: break-word;
}

.property-option input:checked + .property-card {
  border-color: var(--accent-green);
  background: rgba(16,185,129,0.08);
  color: var(--accent-green);
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.result-card {
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-sizing: border-box;
  overflow: hidden;
  min-width: 0;
}

.result-card--blue { background: rgba(15,44,89,0.06); border: 1px solid rgba(15,44,89,0.15); }
.result-card--green { background: rgba(16,185,129,0.06); border: 1px solid rgba(16,185,129,0.15); }
.result-card--yellow { background: rgba(245,158,11,0.06); border: 1px solid rgba(245,158,11,0.15); }
.result-card--purple { background: rgba(139,92,246,0.06); border: 1px solid rgba(139,92,246,0.15); }

.result-label {
  font-size: var(--font-size-xs);
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.result-value {
  font-size: clamp(1.15rem, 3.5vw, 1.45rem);
  font-weight: 900;
  line-height: 1.2;
  word-break: break-word;
  overflow-wrap: break-word;
}

.result-sub {
  font-size: var(--font-size-xs);
  color: var(--text-muted);
  line-height: 1.2;
}

.calc-chart-wrapper {
  height: 200px;
  width: 100%;
  max-width: 100%;
  margin-bottom: var(--space-lg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 8px;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}

/* Subsidy */
.subsidy-section { background: linear-gradient(160deg, var(--primary-blue-dark) 0%, var(--primary-blue) 50%, #0d3d2e 100%); position: relative; }
.subsidy-highlight-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-xl); margin-bottom: var(--space-3xl); }
.subsidy-highlight-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius-xl); padding: var(--space-2xl); text-align: center; position: relative; }
.subsidy-highlight-card--featured { border-color: rgba(245,158,11,0.4); background: rgba(245,158,11,0.1); }
.sh-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--accent-yellow); color: white; font-size: var(--font-size-xs); font-weight: 700; padding: 3px 12px; border-radius: var(--radius-full); }
.sh-amount { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 900; color: white; }
.sh-label { font-size: var(--font-size-sm); color: rgba(255,255,255,0.7); }

.process-timeline { display: flex; flex-direction: column; gap: var(--space-lg); margin-bottom: var(--space-3xl); }
.process-step { display: grid; grid-template-columns: 56px 1fr; gap: var(--space-lg); align-items: flex-start; }
.step-number { width: 56px; height: 56px; border-radius: 50%; border: 2px solid rgba(245,158,11,0.4); background: rgba(245,158,11,0.1); display: flex; align-items: center; justify-content: center; font-weight: 900; color: var(--accent-yellow); }
.step-content { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-lg); padding: var(--space-lg); }
.step-content h3 { color: white; font-size: var(--font-size-lg); margin-bottom: var(--space-xs); }
.step-content p { color: rgba(255,255,255,0.7); font-size: var(--font-size-sm); }

.subsidy-docs { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-xl); padding: var(--space-2xl); }
.subsidy-docs h3 { color: white; text-align: center; margin-bottom: var(--space-xl); }
.docs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-md); }
.doc-item { display: flex; align-items: center; gap: var(--space-sm); color: rgba(255,255,255,0.85); font-size: var(--font-size-sm); padding: var(--space-sm) var(--space-md); background: rgba(255,255,255,0.05); border-radius: var(--radius-md); border: 1px solid rgba(255,255,255,0.08); }

/* Reviews */
.reviews-section { background: var(--bg-primary); }
.rating-overview { display: flex; align-items: center; gap: var(--space-md); margin-top: var(--space-xs); }
.rating-stars { color: var(--accent-yellow); font-size: 1.25rem; }
.rating-score { font-size: var(--font-size-2xl); font-weight: 900; }
.rating-count { font-size: var(--font-size-sm); color: var(--text-muted); }

.reviews-carousel-wrapper { overflow: hidden; position: relative; }
.reviews-carousel { display: flex; transition: transform 0.5s ease; width: 100%; }
.review-card { min-width: 33.333%; box-sizing: border-box; padding: var(--space-md); background: var(--surface-1); border: 1px solid var(--border-color); border-radius: var(--radius-xl); margin-right: var(--space-md); display: flex; flex-direction: column; }
.review-header { display: flex; align-items: center; gap: var(--space-sm); margin-bottom: var(--space-md); }
.reviewer-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--primary-blue); color: white; display: flex; align-items: center; justify-content: center; font-weight: 800; }
.reviewer-info strong { display: block; font-size: var(--font-size-sm); }
.reviewer-info span { font-size: var(--font-size-xs); color: var(--text-muted); }
.review-stars { color: var(--accent-yellow); margin-left: auto; }
.review-text { font-size: var(--font-size-sm); color: var(--text-secondary); font-style: italic; margin-bottom: var(--space-md); flex-grow: 1; }
.review-meta { display: flex; gap: var(--space-xs); flex-wrap: wrap; }
.review-system, .review-savings { font-size: var(--font-size-xs); font-weight: 600; padding: 3px 8px; border-radius: var(--radius-full); }
.review-system { background: rgba(15,44,89,0.08); color: var(--primary-blue); }
.review-savings { background: rgba(16,185,129,0.08); color: var(--accent-green); }

.carousel-controls { display: flex; align-items: center; justify-content: center; gap: var(--space-md); margin-top: var(--space-xl); }
.carousel-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border-color); background: var(--surface-1); display: flex; align-items: center; justify-content: center; color: var(--text-primary); }
.carousel-dots { display: flex; gap: 6px; }
.carousel-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border-color); border: none; }
.carousel-dot.active { background: var(--accent-green); width: 20px; border-radius: 4px; }

/* Contact Form */
.contact-section { background: linear-gradient(160deg, var(--primary-blue-dark) 0%, #0d2a1c 100%); }
.contact-wrapper { display: grid; grid-template-columns: 1fr 1.3fr; gap: var(--space-3xl); align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: var(--space-xl); }
.contact-info-card { display: flex; gap: var(--space-md); align-items: flex-start; }
.contact-info-card i { color: var(--accent-yellow); margin-top: 2px; }
.contact-info-card strong { color: white; display: block; margin-bottom: 2px; }
.contact-info-card p, .contact-info-card a { color: rgba(255,255,255,0.7); font-size: var(--font-size-sm); }

.contact-form-wrapper { background: var(--surface-1); border-radius: var(--radius-xl); padding: var(--space-2xl); box-shadow: var(--shadow-xl); }
.form-progress { display: flex; align-items: center; margin-bottom: var(--space-xl); }
.progress-step { display: flex; flex-direction: column; align-items: center; gap: 4px; flex: 1; }
.progress-step span { width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--border-color); background: var(--bg-secondary); display: flex; align-items: center; justify-content: center; font-size: var(--font-size-sm); font-weight: 700; color: var(--text-muted); }
.progress-step.active span { border-color: var(--accent-green); background: var(--accent-green); color: white; }
.progress-step small { font-size: var(--font-size-xs); color: var(--text-muted); }
.progress-line { height: 2px; background: var(--border-color); flex: 1; margin: 0 var(--space-xs); margin-bottom: 20px; }

.form-step-title { font-size: var(--font-size-xl); font-weight: 700; margin-bottom: var(--space-lg); }
.form-group { margin-bottom: var(--space-lg); }
.form-label { display: block; font-size: var(--font-size-sm); font-weight: 600; margin-bottom: var(--space-xs); }
.form-input { width: 100%; padding: 0.75rem 1rem; font-size: var(--font-size-base); font-family: var(--font-family); color: var(--text-primary); background: var(--bg-secondary); border: 2px solid var(--border-color); border-radius: var(--radius-md); outline: none; }
.form-input:focus { border-color: var(--accent-green); }
.form-btn-row { display: flex; gap: var(--space-md); }
.form-btn-row .btn-outline { color: var(--text-primary); border-color: var(--border-color); }
.form-summary { background: var(--bg-secondary); border-radius: var(--radius-lg); padding: var(--space-lg); margin-bottom: var(--space-lg); }
.summary-item { display: flex; justify-content: space-between; padding: var(--space-xs) 0; border-bottom: 1px solid var(--border-light); font-size: var(--font-size-sm); }
.form-consent { margin-bottom: var(--space-lg); }
.checkbox-label { display: flex; gap: var(--space-sm); font-size: var(--font-size-sm); color: var(--text-muted); cursor: pointer; }

.form-success { text-align: center; padding: var(--space-xl); }
.success-icon { font-size: 3rem; margin-bottom: var(--space-md); }

/* Footer */
.site-footer { background: var(--primary-blue-dark); color: rgba(255,255,255,0.75); }
.footer-main { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--space-3xl); padding: var(--space-4xl) var(--space-xl); }
.footer-brand-logo-wrap { display: inline-flex; background: transparent; border: none; padding: 0; margin-bottom: var(--space-md); }
.footer-brand-logo { height: 90px; width: auto; object-fit: contain; filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.95)) drop-shadow(0 8px 18px rgba(0, 0, 0, 0.75)); }
.footer-tagline { font-size: var(--font-size-sm); color: rgba(255,255,255,0.6); margin: var(--space-xs) 0 var(--space-xl); max-width: 340px; }
.footer-socials { display: flex; gap: var(--space-sm); }
.social-icon { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.7); }
.footer-links-group h4 { font-size: var(--font-size-sm); color: white; margin-bottom: var(--space-lg); text-transform: uppercase; letter-spacing: 0.08em; }
.footer-links-group ul { display: flex; flex-direction: column; gap: var(--space-sm); }
.footer-links-group a { font-size: var(--font-size-sm); color: rgba(255,255,255,0.6); }
.footer-links-group a:hover { color: var(--accent-yellow); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: var(--space-xl); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--space-md); }
.footer-bottom p { font-size: var(--font-size-xs); color: rgba(255,255,255,0.5); }

/* Chatbot */
.chatbot-container { position: fixed; bottom: var(--space-xl); right: var(--space-xl); z-index: 9995; }
.chatbot-toggle { position: relative; display: flex; align-items: center; gap: var(--space-sm); background: linear-gradient(135deg, var(--primary-blue), var(--accent-green-dark)); color: white; padding: 0.75rem 1.25rem; border-radius: var(--radius-full); font-weight: 700; font-size: var(--font-size-sm); box-shadow: 0 8px 30px rgba(15,44,89,0.4); }
.chatbot-pulse { position: absolute; top: -3px; right: -3px; width: 14px; height: 14px; background: var(--accent-yellow); border-radius: 50%; border: 2px solid var(--bg-primary); }
.chatbot-window { position: absolute; bottom: 60px; right: 0; width: 380px; height: 520px; background: var(--surface-1); border: 1px solid var(--border-color); border-radius: var(--radius-xl); box-shadow: var(--shadow-xl); display: flex; flex-direction: column; overflow: hidden; }
.chatbot-header { display: flex; align-items: center; gap: var(--space-md); padding: var(--space-md) var(--space-lg); background: linear-gradient(135deg, var(--primary-blue), var(--accent-green-dark)); color: white; }
.chatbot-avatar { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; }
.chatbot-header-info strong { display: block; font-size: var(--font-size-sm); }
.chatbot-status { font-size: var(--font-size-xs); opacity: 0.85; }
.chatbot-close { color: white; font-size: 1.25rem; margin-left: auto; }
.chatbot-messages { flex: 1; overflow-y: auto; padding: var(--space-md); display: flex; flex-direction: column; gap: var(--space-md); }
.chat-msg { display: flex; gap: var(--space-xs); align-items: flex-start; }
.chat-msg.user { flex-direction: row-reverse; }
.chat-msg-avatar { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; flex-shrink: 0; }
.bot-avatar { background: var(--primary-blue); color: white; }
.user-avatar { background: var(--accent-yellow-dark); color: white; }
.chat-bubble { max-width: 80%; padding: var(--space-xs) var(--space-md); border-radius: var(--radius-lg); font-size: var(--font-size-sm); line-height: 1.5; }
.bot-bubble { background: var(--bg-secondary); border-bottom-left-radius: 2px; }
.user-bubble { background: var(--accent-green); color: white; border-bottom-right-radius: 2px; }
.chatbot-quick-replies { padding: var(--space-xs) var(--space-md); display: flex; flex-wrap: wrap; gap: 6px; background: var(--bg-secondary); border-top: 1px solid var(--border-light); }
.quick-reply-btn { font-size: 11px; padding: 4px 10px; border-radius: var(--radius-full); border: 1px solid var(--accent-green); color: var(--accent-green); }
.quick-reply-btn:hover { background: var(--accent-green); color: white; }
.chatbot-input-row { display: flex; gap: var(--space-sm); padding: var(--space-md); border-top: 1px solid var(--border-color); }
.chatbot-input { flex: 1; padding: 0.6rem 1rem; font-size: var(--font-size-sm); border: 1px solid var(--border-color); border-radius: var(--radius-full); outline: none; background: var(--bg-secondary); color: var(--text-primary); }
.chatbot-send-btn { width: 38px; height: 38px; border-radius: 50%; background: var(--accent-green); color: white; display: flex; align-items: center; justify-content: center; }

/* Floating Quick Bar */
.floating-quick-bar { position: fixed; bottom: 20px; left: 20px; z-index: 9990; display: flex; gap: 10px; }
.quick-bar-item { display: flex; align-items: center; gap: 8px; background: rgba(15, 44, 89, 0.92); color: white; padding: 10px 16px; border-radius: var(--radius-full); font-size: var(--font-size-xs); font-weight: 700; box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,0.15); backdrop-filter: blur(10px); transition: transform var(--transition-fast); }
.quick-bar-item:hover { transform: translateY(-3px); background: var(--primary-blue); }

/* ============================================================
   PASSWORD-PROTECTED OWNER #ADMIN PORTAL STYLES
   ============================================================ */
.admin-overlay {
  position: fixed;
  inset: 0;
  z-index: 20000;
  background: rgba(7, 13, 26, 0.95);
  backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
}

.admin-modal {
  background: var(--surface-1);
  border-radius: var(--radius-xl);
  max-width: 1100px;
  width: 100%;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.admin-header {
  background: linear-gradient(135deg, var(--primary-blue-dark), var(--primary-blue));
  color: white;
  padding: var(--space-md) var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-title-row {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.admin-avatar-small {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-yellow);
}

.admin-title-text h3 {
  font-size: var(--font-size-lg);
  font-weight: 800;
  color: white;
  margin: 0;
}

.admin-title-text p {
  font-size: var(--font-size-xs);
  color: var(--accent-yellow);
  margin: 0;
}

.admin-header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.admin-close-btn {
  background: rgba(255,255,255,0.15);
  color: white;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.admin-body {
  padding: var(--space-xl);
  overflow-y: auto;
  flex: 1;
}

.admin-login-box {
  max-width: 420px;
  margin: 40px auto;
  text-align: center;
  background: var(--surface-1);
  padding: var(--space-2xl);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-xl);
}

.admin-lock-icon {
  font-size: 3rem;
  margin-bottom: var(--space-md);
}

.admin-stats-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.admin-stat-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  text-align: center;
}

.admin-stat-num {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--accent-green);
}

.admin-stat-lbl {
  font-size: var(--font-size-xs);
  color: var(--text-muted);
  font-weight: 600;
}

.admin-table-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-md);
  gap: var(--space-md);
  flex-wrap: wrap;
}

.admin-lead-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
}

.admin-lead-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: var(--font-size-sm);
}

.admin-lead-table th {
  background: var(--bg-secondary);
  color: var(--text-secondary);
  font-weight: 700;
  padding: var(--space-md);
  border-bottom: 2px solid var(--border-color);
  white-space: nowrap;
}

.admin-lead-table td {
  padding: var(--space-md);
  border-bottom: 1px solid var(--border-light);
  color: var(--text-primary);
}

.admin-lead-table tr:hover {
  background: rgba(16, 185, 129, 0.04);
}

.admin-status-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  font-weight: 700;
}

.status-new { background: rgba(245, 158, 11, 0.15); color: var(--accent-yellow-dark); }
.status-contacted { background: rgba(16, 185, 129, 0.15); color: var(--accent-green-dark); }

.admin-act-btn {
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  margin-right: 4px;
}

.admin-act-call { background: var(--primary-blue); color: white; }
.admin-act-wa { background: #25D366; color: white; }
.admin-act-del { background: rgba(239,68,68,0.1); color: #EF4444; }

/* ============================================================
   MOBILE RESPONSIVE COMPREHENSIVE FIXES (320px - 768px)
   ============================================================ */
section[id] {
  scroll-margin-top: 90px;
}

.calc-slider {
  touch-action: pan-y;
  -webkit-appearance: none;
  appearance: none;
}

@media (max-width: 1024px) {
  .hero-grid-wrapper { grid-template-columns: 1fr; text-align: center; }
  .hero-logo-emblem { justify-content: center; }
  .hero-brand-logo-img { max-height: 190px; }
  .hero-text-block { align-items: center; }
  .hero-headline, .hero-subheadline { text-align: center; }
  .hero-ctas, .trust-badges { justify-content: center; }

  .about-grid { grid-template-columns: 1fr; gap: var(--space-xl); }
  .proprietor-photo { height: auto; max-height: 420px; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .calculator-wrapper { grid-template-columns: 1fr; }
  .contact-wrapper { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: var(--space-2xl); }
  .projects-grid { grid-template-columns: 1fr; }
  .modal-body { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-container { height: 80px; padding: 0 var(--space-md); }
  .nav-brand-logo { height: 60px; }

  /* Mobile Fullscreen Navigation Drawer */
  .nav-links {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(7, 13, 26, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: var(--space-2xl) var(--space-xl);
    gap: var(--space-md);
    z-index: 2000;
    overflow-y: auto;
    align-items: flex-start;
  }

  .nav-links.open { display: flex; }
  .nav-link { color: white !important; font-size: var(--font-size-lg); width: 100%; padding: var(--space-sm) 0; border-bottom: 1px solid rgba(255,255,255,0.08); display: block; }
  
  .hamburger { display: flex; }
  .btn-whatsapp { display: none; }
  .nav-quote-btn { display: none; }

  .hero-section { padding-top: 110px; min-height: auto; padding-bottom: 40px; }
  .hero-brand-logo-img { max-height: 140px; }
  .hero-headline { font-size: 1.85rem; line-height: 1.2; text-align: center; }
  .hero-subheadline { font-size: 0.95rem; text-align: center; }
  .hero-ctas { flex-direction: column; width: 100%; gap: var(--space-sm); }
  .hero-ctas .btn-primary, .hero-ctas .btn-outline { width: 100%; font-size: 0.95rem; }

  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .stat-card { padding: var(--space-md); border-bottom: 1px solid rgba(255,255,255,0.1); }
  .stat-number { font-size: 1.5rem; }

  .proprietor-photo { height: auto; max-height: 360px; }
  .proprietor-overlay-badge { flex-direction: column; align-items: flex-start; gap: 8px; }

  .services-grid { grid-template-columns: 1fr; }
  .subsidy-highlight-cards { grid-template-columns: 1fr; }
  .docs-grid { grid-template-columns: 1fr; }

  .review-card { min-width: 100%; margin-right: 0; }
  .calc-inputs, .calc-results { padding: 1.25rem 1rem; width: 100%; box-sizing: border-box; overflow: hidden; }
  .calc-section-title { font-size: 1.3rem; margin-bottom: 1rem; padding-bottom: 6px; }
  .calc-label { font-size: 13px; flex-wrap: wrap; gap: 6px; }
  .results-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .result-card { padding: 12px 10px; }
  .result-value { font-size: 1.2rem; }
  .property-type-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .property-card { padding: 10px 4px; font-size: 11px; }

  .contact-form-wrapper { padding: var(--space-lg); }

  .chatbot-window {
    position: fixed;
    bottom: 75px;
    left: 10px;
    right: 10px;
    width: auto;
    height: 65vh;
  }

  /* Fixed Sticky Mobile Bottom Contact Bar */
  .floating-quick-bar {
    display: flex !important;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9990;
    background: rgba(7, 13, 26, 0.95);
    backdrop-filter: blur(14px);
    padding: 10px 14px;
    border-top: 1px solid rgba(255,255,255,0.15);
    gap: 10px;
    justify-content: center;
  }

  .quick-bar-item {
    flex: 1;
    justify-content: center;
    padding: 10px 12px;
    font-size: 13px;
    border-radius: var(--radius-md);
  }

  .admin-modal {
    max-height: 94vh;
    margin: 10px;
  }
  .admin-stats-summary { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .container { padding: 0 var(--space-md); }
  .section-padding { padding: var(--space-2xl) 0; }
  .hero-headline { font-size: 1.6rem; }
  .stat-number { font-size: 1.35rem; }
  
  /* Calculator Ultra-Mobile Fit */
  .calc-inputs, .calc-results { padding: 0.95rem 0.8rem; border-radius: var(--radius-md); }
  .calc-section-title { font-size: 1.15rem; margin-bottom: 0.75rem; padding-bottom: 4px; }
  .calc-label { font-size: 12px; margin-bottom: 6px; }
  .calc-value-display { font-size: 12px; padding: 2px 6px; }
  .slider-labels { font-size: 10px; }
  .property-type-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .property-card { padding: 8px 4px; font-size: 10.5px; }
  .results-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .result-card { padding: 8px 6px; }
  .result-label { font-size: 9.5px; }
  .result-value { font-size: 1.05rem; }
  .result-sub { font-size: 9.5px; }
  .calc-chart-wrapper { height: 175px; padding: 4px; margin-bottom: 12px; }
  .calc-submit-btn, .calc-cta-btn { font-size: 0.82rem; padding: 10px 6px; white-space: normal; text-align: center; }

  .footer-main { grid-template-columns: 1fr; gap: var(--space-xl); }
  .footer-bottom { flex-direction: column; text-align: center; margin-bottom: 60px; }
  .chatbot-container { right: 12px; bottom: 65px; }
  .chatbot-toggle-label { display: none; }
  .chatbot-toggle { padding: 0.75rem; border-radius: 50%; }
}

