/* ==========================================================================
   Marcus Construction & Renovation - Modern Architectural Design System
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  /* Color Palette */
  --bg-dark: #090c12;
  --bg-primary: #0d121c;
  --bg-surface: #131a28;
  --bg-card: #182132;
  --bg-card-hover: #1e2b42;
  --bg-glass: rgba(19, 26, 40, 0.82);
  --bg-glass-card: rgba(24, 33, 50, 0.7);

  /* Accents */
  --accent-gold: #f59e0b;
  --accent-gold-light: #fbbf24;
  --accent-gold-dark: #d97706;
  --accent-gold-glow: rgba(245, 158, 11, 0.25);
  
  --accent-cyan: #06b6d4;
  --accent-cyan-light: #38bdf8;
  --accent-cyan-glow: rgba(6, 182, 212, 0.2);

  --accent-emerald: #10b981;
  --accent-emerald-glow: rgba(16, 185, 129, 0.2);

  /* Typography Colors */
  --text-main: #f8fafc;
  --text-sub: #cbd5e1;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  /* Borders & Lines */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.15);
  --border-gold: rgba(245, 158, 11, 0.35);

  /* Shadows */
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -4px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 25px var(--accent-gold-glow);

  /* Transitions & Radii */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 26px;
  --radius-full: 9999px;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);

  /* Font Families */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: dark;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

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

/* Layout Containers - Full-Width Expansive Fluid Architecture */
.container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4.5vw, 5.5rem);
}

.section {
  padding: 6.5rem 0;
  position: relative;
  width: 100%;
}

.section-bg-alt {
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-primary) 50%, var(--bg-dark) 100%);
}

/* Section Header Typography */
.section-header {
  text-align: center;
  max-width: 980px;
  margin: 0 auto 4rem auto;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  color: var(--accent-gold-light);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.25;
  margin-bottom: 1rem;
}

.section-title span {
  background: linear-gradient(135deg, #ffffff 30%, var(--accent-gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto;
}

/* Header & Navbar */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10000;
  padding: 1.1rem 0;
  background: transparent;
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition);
}

.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(9, 12, 18, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: -1;
  pointer-events: none;
  transition: background 0.3s ease;
}

.site-header.scrolled {
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--border-medium);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.site-header.scrolled::before {
  background: rgba(9, 12, 18, 0.96);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: nowrap;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
  flex-shrink: 0;
  min-width: max-content;
  white-space: nowrap;
  user-select: none;
}

.logo-img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 10px;
  border: 1.5px solid rgba(56, 189, 248, 0.45);
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  background: #050811;
  display: block;
  flex-shrink: 0;
}

.logo:hover .logo-img {
  transform: scale(1.05);
  border-color: rgba(56, 189, 248, 0.85);
  box-shadow: 0 6px 20px rgba(56, 189, 248, 0.55);
}

.logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--accent-gold) 0%, #b45309 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  box-shadow: 0 4px 14px var(--accent-gold-glow);
}

.logo-text {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  white-space: nowrap;
}

.logo-name {
  color: var(--text-main);
  line-height: 1.1;
  letter-spacing: 0.03em;
  white-space: nowrap;
  font-size: 1.45rem;
  font-weight: 800;
}

.logo-tagline {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-cyan-light);
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 1.8vw, 1.8rem);
  flex-wrap: nowrap;
  flex-shrink: 1;
  justify-content: center;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-sub);
  position: relative;
  padding: 0.5rem 0.2rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-gold-light);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--accent-gold);
  border-radius: var(--radius-full);
  transition: width 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
  white-space: nowrap;
}

.mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  color: var(--text-main);
  cursor: pointer;
  padding: 0.5rem;
  transition: var(--transition);
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  position: relative;
  z-index: 1060;
}

.mobile-toggle:hover {
  background: rgba(245, 158, 11, 0.15);
  border-color: var(--accent-gold);
  color: var(--accent-gold-light);
  transform: scale(1.05);
}

.mobile-toggle svg {
  display: block;
}

/* Slide-out Navigation Backdrop */
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 8, 15, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 9990;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  cursor: pointer;
}

.nav-backdrop.active {
  opacity: 1;
  visibility: visible;
}

/* Hide drawer-only controls on desktop */
.nav-drawer-header,
.nav-drawer-footer {
  display: none !important;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-gold-light) 0%, var(--accent-gold) 100%);
  color: #0b0f17;
  font-weight: 700;
  box-shadow: 0 4px 15px var(--accent-gold-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
  background: linear-gradient(135deg, #fed7aa 0%, var(--accent-gold-light) 100%);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  border-color: var(--border-medium);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent-gold-light);
  color: var(--accent-gold-light);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 0.95rem 2.2rem;
  font-size: 1.05rem;
}

.btn-see-more {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2.5rem;
  background: linear-gradient(90deg, rgba(24, 33, 50, 0.85) 0%, rgba(30, 43, 66, 0.85) 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  color: var(--accent-gold-light);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  box-shadow: var(--shadow-md), 0 0 20px rgba(245, 158, 11, 0.1);
  transition: var(--transition);
  margin-top: 2rem;
}

.btn-see-more:hover {
  background: linear-gradient(90deg, var(--accent-gold) 0%, var(--accent-gold-light) 100%);
  color: #0b0f17;
  border-color: transparent;
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(245, 158, 11, 0.35);
}

.btn-see-more svg {
  transition: transform 0.3s ease;
}

.btn-see-more:hover svg {
  transform: translateX(6px);
}

.see-more-wrapper {
  text-align: center;
  margin-top: 3.5rem;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 7rem;
  padding-bottom: 5rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(9, 12, 18, 0.8) 0%,
    rgba(9, 12, 18, 0.88) 50%,
    var(--bg-dark) 100%
  );
  z-index: 1;
}

.hero-accent-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-gold-glow) 0%, transparent 70%);
  top: 15%;
  right: 5%;
  filter: blur(80px);
  z-index: 1;
  pointer-events: none;
}

.hero-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1.2rem;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  color: var(--accent-gold-light);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-gold);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-gold);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 5.2vw, 4.8rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-title .highlight {
  background: linear-gradient(135deg, #ffffff 20%, var(--accent-gold-light) 60%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.22rem;
  color: var(--text-sub);
  max-width: 950px;
  margin-bottom: 2.2rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1rem;
}

/* Hero Stats Bar - Spans Full Width Across the Screen */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2vw, 2.5rem);
  padding: clamp(1.5rem, 2.2vw, 2.2rem) clamp(1.5rem, 3.5vw, 3.5rem);
  background: var(--bg-glass-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  width: 100%;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 2.8vw, 3rem);
  font-weight: 800;
  color: var(--accent-gold-light);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 0.35rem;
}

/* Dual Focus Feature Banner (New Construction & Renovations) */
.specialization-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.5rem, 2.5vw, 2.5rem);
  margin-top: -1.5rem;
  position: relative;
  z-index: 10;
  width: 100%;
}

.spec-card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.spec-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-gold);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.spec-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-gold-light));
  opacity: 0;
  transition: var(--transition);
}

.spec-card:hover::before {
  opacity: 1;
}

.spec-icon-box {
  width: 58px;
  height: 58px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold-light);
  margin-bottom: 1.5rem;
}

.spec-card.renovate .spec-icon-box {
  background: rgba(6, 182, 212, 0.12);
  border-color: rgba(6, 182, 212, 0.4);
  color: var(--accent-cyan-light);
}

.spec-card.renovate:hover::before {
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-cyan-light));
}

.spec-card.renovate:hover {
  border-color: rgba(6, 182, 212, 0.5);
  box-shadow: var(--shadow-lg), 0 0 25px var(--accent-cyan-glow);
}

.spec-title {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: var(--text-main);
}

.spec-desc {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.spec-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.spec-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.92rem;
  color: var(--text-sub);
}

.spec-list li svg {
  color: var(--accent-gold);
  flex-shrink: 0;
}

.spec-card.renovate .spec-list li svg {
  color: var(--accent-cyan);
}

/* About Us Section - Full-Width Expansive Layout */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 6rem);
  align-items: center;
  width: 100%;
}

.about-visual {
  position: relative;
}

.about-img-main {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  aspect-ratio: 16/10;
}

.about-floating-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-gold);
  padding: 1.2rem 1.8rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg), 0 0 20px var(--accent-gold-glow);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.about-badge-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-weight: 800;
}

.about-badge-text h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.1;
}

.about-badge-text p {
  font-size: 0.8rem;
  color: var(--accent-gold-light);
}

.about-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.2rem;
}

.about-content p {
  color: var(--text-sub);
  margin-bottom: 1.2rem;
  line-height: 1.7;
}

.about-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  margin: 2rem 0;
}

.about-feature-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.2rem;
}

.about-feature-box h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.about-feature-box h4 svg {
  color: var(--accent-gold);
}

.about-feature-box p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Cards (Projects, Plans, Feedback) - Expansive Full-Width Layout */
.cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 2.5vw, 2.8rem);
  width: 100%;
}

/* Project Card */
.project-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-gold);
  box-shadow: var(--shadow-lg), 0 0 25px rgba(245, 158, 11, 0.15);
}

.project-thumb-box {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}

.project-thumb-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover .project-thumb-box img {
  transform: scale(1.06);
}

.project-type-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  backdrop-filter: blur(8px);
  z-index: 2;
}

.tag-new {
  background: rgba(245, 158, 11, 0.9);
  color: #000;
}

.tag-renovate {
  background: rgba(6, 182, 212, 0.9);
  color: #000;
}

.tag-commercial {
  background: rgba(139, 92, 246, 0.9);
  color: #fff;
}

.tag-interior {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.95), rgba(139, 92, 246, 0.95));
  color: #fff;
}

.project-body {
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-location {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.project-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
  color: var(--text-main);
}

.project-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 1.4rem;
  flex-grow: 1;
}

.project-specs {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1rem;
  margin-bottom: 1.2rem;
  font-size: 0.85rem;
  color: var(--text-sub);
}

.spec-mini-item strong {
  display: block;
  color: var(--accent-gold-light);
  font-weight: 700;
}

.project-photo-count {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(8px);
  color: #f8fafc;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.modal-gallery-thumbs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.4rem 0.2rem;
  margin-top: 0.75rem;
  scrollbar-width: thin;
}

.modal-gallery-thumb {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.65;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.modal-gallery-thumb:hover, .modal-gallery-thumb.active {
  opacity: 1;
  border-color: var(--accent-gold);
  transform: scale(1.05);
}

.project-upload-dropzone {
  border: 2px dashed rgba(245, 158, 11, 0.4);
  background: rgba(245, 158, 11, 0.03);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.project-upload-dropzone:hover, .project-upload-dropzone.dragover {
  border-color: var(--accent-gold);
  background: rgba(245, 158, 11, 0.08);
}

.plan-discount-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.45);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  z-index: 3;
  letter-spacing: 0.02em;
}

/* Plan Card */
.plan-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.plan-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-cyan);
  box-shadow: var(--shadow-lg), 0 0 25px var(--accent-cyan-glow);
}

.plan-thumb-box {
  position: relative;
  aspect-ratio: 16/10;
  background: #0f1523;
  overflow: hidden;
}

.plan-thumb-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.plan-card:hover .plan-thumb-box img {
  transform: scale(1.05);
}

.plan-body {
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.plan-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-cyan-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
}

.plan-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.plan-meta-row {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}

.plan-meta-row span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.plan-features-list {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.88rem;
  color: var(--text-sub);
  flex-grow: 1;
}

.plan-features-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.plan-features-list li svg {
  color: var(--accent-cyan);
}

.plan-pricing-footer {
  border-top: 1px solid var(--border-subtle);
  padding-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.plan-price-val {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent-gold-light);
}

.plan-price-label {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Feedback / Review Card */
.feedback-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.feedback-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-medium);
  box-shadow: var(--shadow-lg);
}

.feedback-quote-icon {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  color: rgba(255, 255, 255, 0.05);
  width: 48px;
  height: 48px;
}

.stars-row {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--accent-gold);
  margin-bottom: 1rem;
}

.feedback-text {
  font-size: 0.98rem;
  color: var(--text-sub);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  font-style: italic;
  position: relative;
  z-index: 1;
}

.feedback-client {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.2rem;
}

.client-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e293b, #334155);
  border: 2px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--accent-gold-light);
  font-family: var(--font-heading);
  font-size: 1.1rem;
}

.client-info h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
}

.client-project-type {
  font-size: 0.8rem;
  color: var(--accent-gold-light);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Filter Bar (Used on dedicated pages: projects, plans, feedback) */
.filter-tabs-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 3rem;
}

.filter-tab {
  padding: 0.65rem 1.4rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--text-sub);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.filter-tab:hover, .filter-tab.active {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: #0b0f17;
  box-shadow: 0 4px 15px var(--accent-gold-glow);
}

/* Cost Estimator Interactive Widget - Full-Width Expansive */
.estimator-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 4vw, 3.8rem);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(245, 158, 11, 0.1);
  margin-top: 2rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.estimator-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4.5vw, 5rem);
  align-items: center;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.estimator-controls,
.estimator-summary-col {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.form-group {
  margin-bottom: 1.5rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.form-label {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-sub);
  margin-bottom: 0.6rem;
}

.form-select, .form-input, .form-textarea {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 0.85rem 1.2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-size: 0.95rem;
  transition: var(--transition);
  outline: none;
}

.form-select:focus, .form-input:focus, .form-textarea:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 10px var(--accent-gold-glow);
}

.estimator-area-row {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.estimator-area-row .form-input {
  flex: 1;
  min-width: 0;
  width: 100%;
}

.estimator-area-row .form-select {
  width: 140px;
  flex-shrink: 0;
  min-width: 0;
}

.estimator-note-box {
  margin-top: 1.5rem;
  padding: 1.1rem 1.25rem;
  background: rgba(245, 158, 11, 0.07);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-left: 3px solid var(--accent-gold);
  border-radius: var(--radius-md);
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  word-break: break-word;
  overflow-wrap: break-word;
}

.estimator-note-icon {
  color: var(--accent-gold);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.estimator-note-text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-sub);
  word-break: break-word;
  overflow-wrap: break-word;
}

.estimator-result-card {
  background: linear-gradient(135deg, #182132 0%, #1e2b42 100%);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  text-align: center;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  overflow: hidden;
}

.result-badge {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-gold-light);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.result-price {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.5rem;
  word-break: break-word;
  overflow-wrap: break-word;
  line-height: 1.2;
}

.result-duration {
  font-size: 0.95rem;
  color: var(--accent-cyan-light);
  margin-bottom: 1.25rem;
}

.result-disclaimer {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
  word-break: break-word;
}

.btn-estimator-quote {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  text-align: center;
}

/* Page Hero Banner (for dedicated subpages) */
.page-hero {
  padding: 10rem 0 4.5rem 0;
  background: radial-gradient(circle at 50% 20%, rgba(24, 33, 50, 0.9) 0%, var(--bg-dark) 80%);
  border-bottom: 1px solid var(--border-subtle);
  text-align: center;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}

.breadcrumb a:hover {
  color: var(--accent-gold-light);
}

/* Interactive Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.modal-content {
  background: var(--bg-surface);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.5rem;
  position: relative;
  box-shadow: var(--shadow-lg), 0 0 40px var(--accent-gold-glow);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-sub);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.modal-close-btn:hover {
  color: #fff;
  background: #ef4444;
  border-color: #ef4444;
}

/* Footer */
.site-footer {
  background: #06090e;
  border-top: 1px solid var(--border-subtle);
  padding: 5rem 0 2rem 0;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: clamp(2rem, 3.5vw, 4rem);
  margin-bottom: 4rem;
  width: 100%;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1.4rem;
  color: var(--text-main);
  position: relative;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: -0.4rem;
  left: 0;
  width: 25px;
  height: 2px;
  background: var(--accent-gold);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--accent-gold-light);
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-bottom: 1rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.footer-contact-item svg {
  color: var(--accent-gold);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--text-dim);
}

/* Toast Notifications - Top Center to ensure zero overlap with bottom-right floating chat widgets */
.toast-msg {
  position: fixed;
  top: 2rem;
  left: 50%;
  transform: translate(-50%, -80px);
  background: rgba(14, 19, 29, 0.96);
  backdrop-filter: blur(14px);
  border: 1px solid var(--accent-gold);
  color: #fff;
  padding: 0.9rem 1.8rem;
  border-radius: var(--radius-md);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7), 0 0 25px rgba(245, 158, 11, 0.35);
  z-index: 100000;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
  max-width: 90vw;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
}

.toast-msg.show {
  transform: translate(-50%, 0);
  opacity: 1;
  pointer-events: auto;
}

/* Responsive Media Queries */
@media (max-width: 1280px) {
  .site-header .container.navbar {
    padding: 0 clamp(1rem, 2.5vw, 2.5rem);
  }
  .nav-links {
    gap: 1.1rem;
  }
  .nav-link {
    font-size: 0.88rem;
  }
  .logo {
    gap: 0.65rem;
  }
  .logo-img {
    width: 40px;
    height: 40px;
  }
  .logo-name {
    font-size: 1.35rem;
  }
  .logo-tagline {
    font-size: 0.58rem;
    letter-spacing: 0.09em;
  }
  .nav-actions {
    gap: 0.65rem;
  }
  .btn-contact-header {
    padding: 0.45rem 0.85rem;
    font-size: 0.82rem;
  }
  .lang-switcher-btn {
    padding: 0.4rem 0.75rem;
    font-size: 0.82rem;
  }
}

@media (max-width: 1080px) {
  .mobile-toggle {
    display: inline-flex;
    z-index: 10030;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  }

  /* Hide the header mobile toggle when the drawer is open to prevent overlapping close marks */
  .nav-links.open ~ .nav-actions .mobile-toggle,
  body.nav-open .mobile-toggle {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: scale(0.6) !important;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: 86%;
    max-width: 360px;
    height: 100vh;
    height: 100dvh;
    background: #0d121c;
    border-left: 1px solid var(--border-gold);
    box-shadow: -15px 0 50px rgba(0, 0, 0, 0.9), 0 0 35px rgba(0, 0, 0, 0.7);
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0.6rem;
    padding: 1.5rem 1.4rem 2.5rem;
    transform: translateX(105%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease;
    z-index: 10020;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav-links.open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }

  /* Drawer Top Header with prominent Back & Close buttons */
  .nav-drawer-header {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding-bottom: 1.1rem;
    margin-bottom: 0.6rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-drawer-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.95rem;
    border-radius: 999px;
    background: rgba(245, 158, 11, 0.14);
    border: 1px solid var(--border-gold);
    color: var(--accent-gold-light);
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
  }

  .nav-drawer-back-btn:hover {
    background: var(--accent-gold);
    color: #0b0f17;
    transform: translateX(-3px);
    box-shadow: 0 4px 14px var(--accent-gold-glow);
  }

  .nav-drawer-brand {
    display: flex;
    align-items: center;
  }

  .nav-drawer-badge {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: var(--accent-cyan-light);
    background: rgba(6, 182, 212, 0.12);
    border: 1px solid rgba(6, 182, 212, 0.25);
    padding: 0.2rem 0.65rem;
    border-radius: var(--radius-full);
    text-transform: uppercase;
  }

  .nav-drawer-close-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: var(--text-main);
    cursor: pointer;
    transition: var(--transition);
  }

  .nav-drawer-close-btn:hover,
  .nav-drawer-close-btn:active {
    background: rgba(239, 68, 68, 0.25);
    border-color: #ef4444;
    color: #fca5a5;
    transform: rotate(90deg) scale(1.08);
  }

  .nav-link {
    font-size: 1.05rem;
    font-weight: 600;
    padding: 0.85rem 1.1rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.02);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--text-sub);
    transition: var(--transition);
  }

  .nav-link:hover, .nav-link.active {
    background: rgba(245, 158, 11, 0.12);
    border-color: rgba(245, 158, 11, 0.35);
    color: var(--accent-gold-light);
    transform: translateX(4px);
  }

  .nav-link::after {
    display: none;
  }

  .nav-drawer-footer {
    display: flex !important;
    flex-direction: column;
    gap: 0.85rem;
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-drawer-contact-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1rem;
    background: linear-gradient(135deg, var(--accent-gold-light), var(--accent-gold));
    color: #0b0f17;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: 0 4px 14px var(--accent-gold-glow);
    transition: var(--transition);
  }

  .nav-drawer-contact-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
  }

  .nav-actions .btn-contact-header {
    padding: 0.45rem 0.85rem;
    font-size: 0.82rem;
  }
}

@media (max-width: 1024px) {
  .cards-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .specialization-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .estimator-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
  }

  .container {
    padding: 0 1.25rem !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }

  .site-header {
    padding: 0.75rem 0;
    width: 100%;
    left: 0;
    right: 0;
  }

  .site-header .container.navbar {
    padding: 0 1rem !important;
    width: 100%;
  }

  .hero {
    padding-top: 6rem;
    padding-bottom: 3.5rem;
    overflow: hidden;
    width: 100%;
  }

  .hero-accent-glow {
    display: none;
  }

  .hero-wrapper {
    width: 100%;
  }

  .hero-content {
    width: 100%;
    max-width: 100%;
  }

  .hero-title {
    font-size: clamp(2rem, 8.5vw, 2.75rem);
    line-height: 1.15;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .hero-desc {
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 100%;
  }

  .hero-badge {
    font-size: 0.78rem;
    padding: 0.4rem 0.85rem;
    max-width: 100%;
    white-space: normal;
    text-align: left;
    line-height: 1.35;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0.85rem;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    padding: 1.25rem 1rem;
    gap: 1.2rem;
  }

  .cards-grid-3 {
    grid-template-columns: 1fr;
  }

  .nav-actions .btn-contact-header span {
    display: none;
  }

  .nav-actions .btn-contact-header {
    padding: 0.55rem;
    width: 38px;
    height: 38px;
    border-radius: var(--radius-md);
    justify-content: center;
  }

  .nav-actions .btn-contact-header svg {
    margin: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  /* Cost Estimator Mobile Adaptations (768px) */
  .estimator-box {
    padding: 1.5rem 1.15rem !important;
    border-radius: var(--radius-lg) !important;
    margin-top: 1.5rem !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .estimator-grid {
    grid-template-columns: 1fr !important;
    gap: 1.75rem !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .estimator-controls,
  .estimator-summary-col {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .estimator-area-row {
    display: flex !important;
    gap: 0.5rem !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .estimator-area-row .form-input {
    flex: 1 !important;
    min-width: 0 !important;
    width: 100% !important;
    padding: 0.75rem 0.85rem !important;
    font-size: 0.95rem !important;
    box-sizing: border-box !important;
  }

  .estimator-area-row .form-select {
    width: 120px !important;
    min-width: 0 !important;
    flex-shrink: 0 !important;
    padding: 0.75rem 0.65rem !important;
    font-size: 0.88rem !important;
    box-sizing: border-box !important;
  }

  .estimator-note-box {
    padding: 0.95rem 1rem !important;
    gap: 0.65rem !important;
    margin-top: 1.25rem !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .estimator-note-text {
    font-size: 0.84rem !important;
    line-height: 1.5 !important;
  }

  .estimator-result-card {
    padding: 1.5rem 1.1rem !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    border-radius: var(--radius-md) !important;
    overflow: hidden !important;
  }

  .result-badge {
    font-size: 0.72rem !important;
    letter-spacing: 0.08em !important;
    margin-bottom: 0.45rem !important;
  }

  .result-price {
    font-size: clamp(1.4rem, 6.5vw, 1.95rem) !important;
    line-height: 1.25 !important;
    margin-bottom: 0.5rem !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }

  .result-duration {
    font-size: 0.88rem !important;
    margin-bottom: 1rem !important;
  }

  .result-disclaimer {
    font-size: 0.82rem !important;
    line-height: 1.45 !important;
    margin-bottom: 1.25rem !important;
  }

  .btn-estimator-quote,
  .estimator-result-card .btn {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0.85rem 1rem !important;
    font-size: 0.92rem !important;
    white-space: normal !important;
    text-align: center !important;
    line-height: 1.35 !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 520px) {
  .container {
    padding: 0 1rem !important;
  }

  .site-header {
    padding: 0.65rem 0;
  }

  .site-header .container.navbar {
    padding: 0 0.75rem !important;
  }

  .logo {
    gap: 0.45rem;
    flex-shrink: 1;
    min-width: 0;
  }

  .logo-img {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    flex-shrink: 0;
  }

  .logo-name {
    font-size: 1.1rem;
    line-height: 1.1;
  }

  .logo-tagline {
    font-size: 0.46rem;
    letter-spacing: 0.05em;
  }

  .nav-actions {
    gap: 0.35rem;
    flex-shrink: 0;
  }

  .nav-actions .btn-contact-header {
    display: none;
  }

  .lang-switcher-btn {
    padding: 0.3rem 0.5rem;
    font-size: 0.78rem;
    gap: 0.3rem;
  }

  .mobile-toggle {
    width: 38px;
    height: 38px;
    padding: 0.4rem;
  }

  /* Cost Estimator Small Mobile Adaptations (520px) */
  .estimator-box {
    padding: 1.25rem 0.85rem !important;
    border-radius: var(--radius-md) !important;
  }

  .estimator-area-row .form-select {
    width: 108px !important;
    font-size: 0.82rem !important;
    padding: 0.7rem 0.45rem !important;
  }

  .estimator-area-row .form-input {
    padding: 0.7rem 0.75rem !important;
    font-size: 0.9rem !important;
  }

  .estimator-note-box {
    padding: 0.85rem 0.85rem !important;
    gap: 0.55rem !important;
  }

  .estimator-note-text {
    font-size: 0.8rem !important;
  }

  .estimator-result-card {
    padding: 1.3rem 0.85rem !important;
  }

  .result-price {
    font-size: clamp(1.22rem, 5.8vw, 1.6rem) !important;
  }

  .btn-estimator-quote,
  .estimator-result-card .btn {
    padding: 0.8rem 0.85rem !important;
    font-size: 0.88rem !important;
  }
}

/* ==========================================================================
   Contact Us Section & Multi-Channel Communications
   ========================================================================== */
.contact-section-wrapper {
  background: linear-gradient(180deg, var(--bg-dark) 0%, #0e1422 50%, var(--bg-dark) 100%);
  padding: 6.5rem 0;
  position: relative;
  width: 100%;
}

.contact-channels-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2vw, 2rem);
  margin-bottom: 3.5rem;
  width: 100%;
}

.contact-quick-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.contact-quick-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.contact-quick-card.whatsapp:hover {
  border-color: #25d366;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.2);
}

.contact-quick-card.email:hover {
  border-color: var(--accent-cyan);
  box-shadow: 0 10px 25px var(--accent-cyan-glow);
}

.contact-quick-card.phone:hover {
  border-color: var(--accent-gold);
  box-shadow: 0 10px 25px var(--accent-gold-glow);
}

.contact-quick-card.sms:hover {
  border-color: #a855f7;
  box-shadow: 0 10px 25px rgba(168, 85, 247, 0.2);
}

.contact-card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}

.contact-card-icon.whatsapp {
  background: rgba(37, 211, 102, 0.15);
  color: #25d366;
  border: 1px solid rgba(37, 211, 102, 0.3);
}

.contact-card-icon.email {
  background: rgba(6, 182, 212, 0.15);
  color: var(--accent-cyan-light);
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.contact-card-icon.phone {
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-gold-light);
  border: 1px solid var(--border-gold);
}

.contact-card-icon.sms {
  background: rgba(168, 85, 247, 0.15);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.3);
}

.contact-quick-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.3rem;
}

.contact-quick-detail {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.4rem;
  word-break: break-all;
}

/* Multi-Channel Interactive Form Box */
.contact-interactive-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 4vw, 3.8rem);
  box-shadow: var(--shadow-lg), 0 0 35px rgba(245, 158, 11, 0.1);
  width: 100%;
}

.channel-selector-bar {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.channel-choice-btn {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 1.6rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--text-sub);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.channel-choice-btn:hover {
  border-color: var(--border-medium);
  color: #fff;
}

.channel-choice-btn.active {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: #000;
  box-shadow: 0 4px 15px var(--accent-gold-glow);
}

.channel-choice-btn.active.channel-wa {
  background: #25d366;
  border-color: #25d366;
  color: #000;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
}

.channel-choice-btn.active.channel-sms {
  background: #a855f7;
  border-color: #a855f7;
  color: #fff;
  box-shadow: 0 4px 15px rgba(168, 85, 247, 0.35);
}

.contact-alert-box {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid #ef4444;
  color: #fca5a5;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  display: none;
  align-items: center;
  gap: 0.8rem;
  animation: shake 0.3s ease;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}

@media (max-width: 1024px) {
  .contact-channels-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .contact-channels-grid {
    grid-template-columns: 1fr;
  }
  .channel-selector-bar {
    flex-direction: column;
  }
}

/* ==========================================================================
   Live Chat System (Floating Widget & Popup Window)
   ========================================================================== */
.marcus-chat-launcher {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9980;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #0b0f17;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 10px 25px rgba(245, 158, 11, 0.4), 0 4px 12px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.marcus-chat-launcher:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 14px 30px rgba(245, 158, 11, 0.5), 0 6px 16px rgba(0, 0, 0, 0.6);
}

.chat-beacon {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: chatPulse 2s infinite;
}

@keyframes chatPulse {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.chat-launcher-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: #ef4444;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #0b0f17;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.5);
}

/* Chat Window Modal / Pop-Out */
.marcus-chat-window {
  position: fixed;
  bottom: 88px;
  right: 24px;
  width: 390px;
  max-width: calc(100vw - 32px);
  height: 560px;
  max-height: calc(100vh - 110px);
  background: #0d131f;
  border: 1px solid var(--border-gold);
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 30px rgba(245, 158, 11, 0.15);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px) scale(0.96);
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.marcus-chat-window.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* Chat Header */
.chat-header {
  background: linear-gradient(135deg, #131b2e 0%, #1a233b 100%);
  padding: 1.1rem 1.3rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.chat-header-profile {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.chat-header-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #0b0f17;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  position: relative;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.chat-header-avatar .status-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 11px;
  height: 11px;
  background: #10b981;
  border: 2px solid #131b2e;
  border-radius: 50%;
}

.chat-header-title {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.chat-header-status {
  font-size: 0.76rem;
  color: #10b981;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-weight: 500;
}

.chat-header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-end-chat {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fca5a5;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-end-chat:hover {
  background: #ef4444;
  color: #fff;
  border-color: #ef4444;
}

.btn-close-chat {
  background: transparent;
  border: none;
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.btn-close-chat:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* Chat Body */
.chat-body {
  flex-grow: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  background: #090d16;
  scroll-behavior: smooth;
}

/* Typing Indicator Animation */
.chat-typing-wrapper {
  align-self: flex-start;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.chat-typing-indicator {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0.6rem 0.95rem;
  background: #182235;
  border: 1px solid var(--border-gold);
  border-radius: 16px;
  border-bottom-left-radius: 4px;
  width: fit-content;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.chat-typing-dot {
  width: 7px;
  height: 7px;
  background: var(--accent-gold);
  border-radius: 50%;
  animation: chatTypingPulse 1.4s infinite ease-in-out;
}

.chat-typing-dot:nth-child(2) { animation-delay: 0.2s; }
.chat-typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes chatTypingPulse {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.35; }
  30% { transform: translateY(-5px); opacity: 1; }
}

/* Welcome Onboarding Screen */
.chat-onboard-screen {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding: 1.5rem 0.5rem;
  text-align: center;
}

.chat-onboard-badge {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid var(--border-gold);
  color: var(--accent-gold-light);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  margin: 0 auto 1rem auto;
}

.chat-onboard-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.chat-onboard-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.6rem;
}

.chat-onboard-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: left;
}

/* Message Bubbles */
.chat-msg {
  display: flex;
  flex-direction: column;
  max-width: 82%;
  opacity: 1;
}

.chat-msg.msg-animate {
  animation: chatMsgFade 0.22s ease-out forwards;
}

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

.chat-msg.client {
  align-self: flex-end;
  align-items: flex-end;
}

.chat-msg.admin {
  align-self: flex-start;
  align-items: flex-start;
}

.chat-msg.system {
  align-self: center;
  max-width: 95%;
  text-align: center;
}

.chat-bubble {
  padding: 0.8rem 1.1rem;
  border-radius: 16px;
  font-size: 0.92rem;
  line-height: 1.5;
  position: relative;
  word-break: break-word;
}

.chat-msg.client .chat-bubble {
  background: linear-gradient(135deg, #1e3a8a, #2563eb);
  color: #fff;
  border-bottom-right-radius: 4px;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.chat-msg.admin .chat-bubble {
  background: #182235;
  border: 1px solid var(--border-gold);
  color: #f1f5f9;
  border-bottom-left-radius: 4px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.chat-msg.system .chat-bubble {
  background: rgba(255, 255, 255, 0.05);
  border: 1px dashed var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.8rem;
  border-radius: var(--radius-full);
  padding: 0.4rem 1rem;
}

.chat-sender-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-gold-light);
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.chat-time {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 0.25rem;
  padding: 0 0.2rem;
}

/* Chat Footer / Input area */
.chat-footer {
  background: #131b2e;
  border-top: 1px solid var(--border-subtle);
  padding: 0.9rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.chat-suggestions {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.2rem;
  scrollbar-width: none;
}
.chat-suggestions::-webkit-scrollbar { display: none; }

.suggestion-chip {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-sub);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  white-space: nowrap;
  cursor: pointer;
  transition: var(--transition);
}

.suggestion-chip:hover {
  background: rgba(245, 158, 11, 0.15);
  border-color: var(--accent-gold);
  color: var(--accent-gold-light);
}

.chat-input-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.chat-input {
  flex-grow: 1;
  background: #090d16;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 0.7rem 1.1rem;
  color: #fff;
  font-size: 0.92rem;
  outline: none;
  transition: var(--transition);
}

.chat-input:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 10px var(--accent-gold-glow);
}

.btn-chat-send {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-gold);
  color: #0b0f17;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: var(--transition);
}

.btn-chat-send:hover {
  background: var(--accent-gold-light);
  transform: scale(1.08);
}

/* Chat Ended Box on Client side */
.chat-ended-state {
  text-align: center;
  padding: 2rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-lg);
  border: 1px dashed var(--border-subtle);
  margin: auto 0;
}

/* ==========================================================================
   Admin Live Chat Center Styles (admin.html)
   ========================================================================== */
.admin-chat-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  grid-template-rows: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  flex: 1 1 0;
  min-height: 0;
  height: 100%;
  max-height: 100%;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.admin-chat-sidebar-pane {
  background: #0f172a;
  border-right: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  max-height: 100%;
  overflow: hidden;
}

.admin-chat-search-bar {
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid var(--border-subtle);
  flex: 0 0 auto;
}

.admin-chat-list {
  flex: 1 1 0;
  min-height: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.admin-chat-item {
  padding: 0.95rem 1.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  position: relative;
}

.admin-chat-item:hover {
  background: rgba(255, 255, 255, 0.03);
}

.admin-chat-item.active {
  background: rgba(245, 158, 11, 0.1);
  border-left: 3px solid var(--accent-gold);
}

.admin-chat-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #1e293b;
  border: 1px solid var(--border-gold);
  color: var(--accent-gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.admin-chat-meta {
  flex-grow: 1;
  min-width: 0;
}

.admin-chat-client-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.2rem;
}

.admin-chat-last-msg {
  font-size: 0.82rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 0.35rem;
}

.admin-chat-tags {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.admin-chat-main-pane {
  display: flex;
  flex-direction: column;
  background: #090d16;
  height: 100%;
  min-height: 0;
  max-height: 100%;
  overflow: hidden;
  position: relative;
}

.admin-chat-main-header {
  background: #111827;
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.85rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 0 0 auto;
  z-index: 5;
}

.admin-chat-messages-container {
  flex: 1 1 0;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 1.25rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.admin-chat-reply-pane {
  background: #111827;
  border-top: 1px solid var(--border-subtle);
  padding: 0.85rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 0 0 auto;
  position: sticky;
  bottom: 0;
  z-index: 10;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.35);
}

.admin-chat-reply-pane textarea {
  width: 100%;
  background: #090d16;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  color: #fff;
  font-size: 0.92rem;
  resize: none;
  min-height: 52px;
  max-height: 75px;
  height: 56px;
  outline: none;
  transition: var(--transition);
  font-family: inherit;
}

.admin-chat-reply-pane textarea:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 10px var(--accent-gold-glow);
}

@media (max-width: 900px) {
  .admin-chat-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    height: auto;
  }
}

/* ==========================================================================
   Client Feedback Images, Upload Dropzone & Star Rating Selector
   ========================================================================== */
.feedback-card-images {
  display: flex;
  gap: 0.75rem;
  margin: 1rem 0;
  flex-wrap: wrap;
}

.feedback-card-thumb {
  position: relative;
  width: 82px;
  height: 82px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-gold);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  background: #0f172a;
}

.feedback-card-thumb:hover {
  transform: translateY(-3px) scale(1.05);
  border-color: var(--accent-gold-light);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.35);
}

.feedback-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.feedback-card-thumb .thumb-zoom-icon {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.feedback-card-thumb:hover .thumb-zoom-icon {
  opacity: 1;
}

/* Interactive Star Rating Picker */
.star-picker-container {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.star-picker-row {
  display: inline-flex;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-md);
}

.star-picker-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: #475569;
  padding: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s ease, transform 0.15s ease;
}

.star-picker-btn.active,
.star-picker-btn.hover {
  color: var(--accent-gold);
  transform: scale(1.18);
}

.star-picker-label {
  font-size: 0.88rem;
  color: var(--accent-gold-light);
  font-weight: 600;
}

/* Image Upload Dropzone & Previews */
.image-upload-zone {
  border: 2px dashed rgba(245, 158, 11, 0.4);
  background: rgba(245, 158, 11, 0.03);
  border-radius: var(--radius-md);
  padding: 1.5rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.image-upload-zone:hover {
  border-color: var(--accent-gold);
  background: rgba(245, 158, 11, 0.08);
}

.image-previews-grid {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.image-preview-card {
  position: relative;
  width: 95px;
  height: 95px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid var(--border-gold);
  box-shadow: var(--shadow-sm);
  background: #0f172a;
}

.image-preview-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.image-preview-remove-btn {
  position: absolute;
  top: 4px;
  right: 4px;
  background: rgba(239, 68, 68, 0.9);
  color: #fff;
  border: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 14px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  z-index: 10;
}

.image-preview-remove-btn:hover {
  background: #dc2626;
  transform: scale(1.15);
}

/* Fullscreen Photo Lightbox */
.photo-lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(12px);
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  cursor: zoom-out;
}

.photo-lightbox-overlay.active {
  display: flex;
  animation: fadeIn 0.25s ease forwards;
}

.photo-lightbox-img {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: var(--radius-lg);
  border: 2px solid var(--border-gold);
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.9);
  cursor: default;
}

.photo-lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1.4rem;
}

.photo-lightbox-close:hover {
  background: #ef4444;
  border-color: #ef4444;
}

/* Admin Pending Review Pulse */
.badge-pending-pulse {
  animation: badgePulse 2s infinite;
}

@keyframes badgePulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(234, 179, 8, 0.7);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(234, 179, 8, 0);
  }
}

/* ==========================================================================
   AI Review Moderation Bot Styles
   ========================================================================== */
.bot-admin-dashboard-card {
  position: relative;
  overflow: hidden;
}

.bot-admin-dashboard-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #10b981, #f59e0b, #38bdf8, #a78bfa);
}

.bot-online-badge {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: var(--radius-full);
  padding: 0.15rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.bot-verdict-cell {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.bot-lang-chip {
  font-size: 0.7rem;
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 4px;
  padding: 0.1rem 0.4rem;
  font-weight: 700;
  text-transform: uppercase;
}

.bot-verdict-reason {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.35;
  max-width: 220px;
}

/* ==========================================================================
   Language Switcher Component (English, Sinhala, Tamil)
   ========================================================================== */
.lang-switcher-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  z-index: 1050;
}

.lang-switcher-btn {
  background: rgba(24, 33, 50, 0.82);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-full);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.45rem 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.lang-switcher-btn:hover {
  background: rgba(245, 158, 11, 0.12);
  border-color: var(--accent-gold);
  color: var(--accent-gold-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px var(--accent-gold-glow);
}

.lang-globe-icon {
  color: var(--accent-gold);
  flex-shrink: 0;
}

.current-lang-text {
  letter-spacing: 0.02em;
  font-weight: 600;
}

.lang-chevron-icon {
  color: var(--text-muted);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.lang-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 210px;
  background: rgba(15, 21, 33, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.65), 0 0 25px var(--accent-gold-glow);
  padding: 0.45rem;
  display: none;
  flex-direction: column;
  gap: 0.35rem;
  z-index: 1100;
  animation: langMenuFade 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.lang-dropdown-menu.active {
  display: flex;
}

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

.lang-option-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.55rem 0.8rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-sub);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  transition: var(--transition);
}

.lang-option-btn:hover {
  background: rgba(245, 158, 11, 0.12);
  color: var(--text-main);
  border-color: rgba(245, 158, 11, 0.2);
}

.lang-option-btn.active {
  background: rgba(245, 158, 11, 0.18);
  border-color: var(--border-gold);
  color: var(--accent-gold-light);
  font-weight: 600;
}

.lang-code-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  padding: 2px 6px;
  font-size: 0.72rem;
  font-weight: 800;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
  letter-spacing: 0.03em;
}

.lang-option-btn.active .lang-code-pill {
  background: var(--accent-gold);
  color: #0b0f17;
}

.lang-name {
  flex: 1;
}

.lang-check {
  font-size: 0.9rem;
  color: var(--accent-gold);
  opacity: 0;
  font-weight: bold;
  transition: opacity 0.2s ease;
}

.lang-option-btn.active .lang-check {
  opacity: 1;
}

@media (max-width: 768px) {
  .lang-switcher-btn {
    padding: 0.4rem 0.75rem;
    font-size: 0.82rem;
  }
}

/* ==========================================================================
   Login Access & Multi-Tier RBAC Management Styles
   ========================================================================== */
.access-tier-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.access-tier-pill.tier-1 {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: var(--accent-gold-light);
}

.access-tier-pill.tier-2 {
  background: rgba(6, 182, 212, 0.15);
  border: 1px solid rgba(6, 182, 212, 0.4);
  color: #22d3ee;
}

.access-tier-pill.tier-3 {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
}

.access-status-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
}

.access-status-tag.active {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #10b981;
}

.access-status-tag.pending {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fbbf24;
}

.access-status-tag.suspended {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #f87171;
}

.tier-select-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin: 1rem 0 1.25rem;
}

.tier-select-card {
  background: #0f172a;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  text-align: left;
}

.tier-select-card:hover {
  border-color: var(--accent-gold);
  transform: translateY(-2px);
}

.tier-select-card.selected {
  border-color: var(--accent-gold);
  background: rgba(245, 158, 11, 0.08);
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.2);
}

.tier-select-card input[type="radio"] {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
}

.access-matrix-table th,
.access-matrix-table td {
  padding: 0.85rem 1rem;
  text-align: center;
  border-bottom: 1px solid var(--border-subtle);
}

.access-matrix-table td:first-child {
  text-align: left;
  font-weight: 600;
  color: #fff;
}

@media (max-width: 768px) {
  .tier-select-grid {
    grid-template-columns: 1fr;
  }
}

