/* ==========================================================================
   SEDIA LED SOLUTIONS — Modern Ember/Fire Dark Theme & Interactive Mobile UI
   Inspired by Gcore / High-Impact Edge Design (Deep Onyx & Fiery Ambient Glow)
   ========================================================================== */

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

:root {
  --bg-black: #06070a;
  --bg-surface: #0c0e14;
  --bg-card: rgba(15, 18, 26, 0.72);
  --bg-card-hover: rgba(24, 28, 40, 0.85);
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.14);
  --border-glow: rgba(255, 95, 31, 0.38);
  
  --fire-primary: #ff5722;
  --fire-ember: #ff7a00;
  --fire-bright: #ff9100;
  --fire-dark: #e63900;
  
  --fire-gradient: linear-gradient(135deg, #ff6d26 0%, #ff3b00 100%);
  --fire-gradient-glow: linear-gradient(135deg, rgba(255, 109, 38, 0.25) 0%, rgba(255, 59, 0, 0.05) 100%);
  --fire-text-gradient: linear-gradient(135deg, #ffffff 40%, #ff8c42 100%);
  
  --text-pure: #ffffff;
  --text-muted: #9aa1b2;
  --text-dim: #646b7c;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --shadow-glow: 0 0 35px -5px rgba(255, 75, 10, 0.45);
  --shadow-subtle: 0 10px 30px rgba(0, 0, 0, 0.6);
  --shadow-card: 0 14px 40px rgba(0, 0, 0, 0.45);
  
  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-display: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
  
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  background-color: var(--bg-black);
  color: var(--text-pure);
  font-family: var(--font-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Background Ambient Glow & Light Beam */
.bg-mesh {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

/* The iconic diagonal radiant light beam from the top-right corner */
.fire-beam {
  position: absolute;
  top: -150px;
  right: -100px;
  width: 750px;
  height: 550px;
  background: radial-gradient(
    ellipse at top right,
    rgba(255, 120, 30, 0.45) 0%,
    rgba(255, 60, 0, 0.28) 35%,
    rgba(255, 40, 0, 0.12) 60%,
    transparent 75%
  );
  filter: blur(60px);
  transform: rotate(-15deg);
  pointer-events: none;
  animation: pulseBeam 8s ease-in-out infinite alternate;
}

.fire-beam-secondary {
  position: absolute;
  top: 30%;
  left: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 75, 10, 0.12) 0%, transparent 65%);
  filter: blur(80px);
  pointer-events: none;
}

/* Subtle LED pixel grid overlay in background */
.bg-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at 60% 30%, black 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at 60% 30%, black 20%, transparent 80%);
}

@keyframes pulseBeam {
  0% { opacity: 0.75; transform: rotate(-15deg) scale(0.95); }
  100% { opacity: 1; transform: rotate(-12deg) scale(1.05); }
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Top Announcement Strip */
.top-bar {
  background: rgba(12, 14, 20, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  padding: 8px 0;
  position: relative;
  z-index: 1002;
}

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

.top-badge-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.live-pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--fire-ember);
  box-shadow: 0 0 10px var(--fire-ember);
  animation: liveBlink 1.8s infinite;
}

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

.top-message {
  color: var(--text-muted);
}

.top-message strong {
  color: #fff;
  font-weight: 600;
}

.top-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.top-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.8rem;
  transition: var(--transition);
}

.top-links a:hover {
  color: var(--fire-ember);
}

.top-pill {
  padding: 2px 10px;
  background: rgba(255, 95, 31, 0.12);
  border: 1px solid rgba(255, 95, 31, 0.3);
  border-radius: var(--radius-full);
  color: #ff9152 !important;
  font-size: 0.75rem !important;
  font-weight: 600;
}

/* Header & Glass Navigation */
.header-wrap {
  position: sticky;
  top: 0;
  z-index: 1001;
  background: rgba(6, 7, 10, 0.78);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
}

.brand-logo-img {
  height: 44px;
  width: auto;
  border-radius: 8px;
  filter: drop-shadow(0 2px 8px rgba(255, 87, 34, 0.25));
  transition: var(--transition);
}

.brand:hover .brand-logo-img {
  transform: scale(1.04);
}

.brand-text h1 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.1;
  color: #fff;
}

.brand-text span {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-weight: 500;
}

/* Nav Links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  transition: var(--transition);
  position: relative;
}

.nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
  color: #ffffff;
  background: rgba(255, 95, 31, 0.12);
  border: 1px solid rgba(255, 95, 31, 0.28);
}

/* Nav Action Buttons */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Glowing Fire & Glass Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-main);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-fire {
  background: var(--fire-gradient);
  color: #ffffff;
  box-shadow: 0 4px 20px -2px rgba(255, 60, 0, 0.45);
  border: 1px solid rgba(255, 140, 60, 0.4);
}

.btn-fire:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(255, 75, 10, 0.65);
  background: linear-gradient(135deg, #ff7e38 0%, #ff4b10 100%);
  color: #fff;
}

.btn-fire:active {
  transform: translateY(0);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-light);
  color: #ffffff;
  backdrop-filter: blur(10px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  color: #fff;
}

.btn-whatsapp {
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.35);
  color: #25d366;
}

.btn-whatsapp:hover {
  background: #25d366;
  color: #000;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 6px 14px;
  font-size: 0.82rem;
}

.btn-lg {
  padding: 14px 30px;
  font-size: 1.05rem;
}

/* Mobile Toggle */
.mobile-nav-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: var(--transition);
}

.mobile-nav-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--border-light);
}

/* Hero Section (Replicating the Pin Layout & Impact) */
.hero-section {
  padding: 60px 0 40px;
  position: relative;
  overflow: hidden;
}

.hero-header-wrap {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 36px;
  position: relative;
  z-index: 2;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(255, 95, 31, 0.1);
  border: 1px solid rgba(255, 95, 31, 0.28);
  color: #ff9152;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  box-shadow: 0 0 20px -5px rgba(255, 95, 31, 0.3);
}

.hero-pill-badge i {
  color: var(--fire-ember);
}

.hero-title {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1.12;
  margin-bottom: 20px;
}

.hero-title-highlight {
  background: var(--fire-text-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 32px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==========================================================================
   INTERACTIVE SYSTEM HUB & CIRCUIT BOARD (Direct homage to the Gcore Pin)
   ========================================================================== */
.circuit-hub-container {
  max-width: 1040px;
  margin: 40px auto 0;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  position: relative;
  box-shadow: var(--shadow-card), 0 0 50px -15px rgba(255, 75, 10, 0.2);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
}

/* Glowing top border highlight */
.circuit-hub-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 110, 40, 0.8), transparent);
}

.circuit-interactive-grid {
  display: grid;
  grid-template-columns: 1fr 220px 1fr;
  align-items: center;
  gap: 20px;
  position: relative;
  min-height: 320px;
}

/* Center Processor / LED Core */
.hub-center-core {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 3;
}

.hub-chip {
  width: 130px;
  height: 130px;
  background: linear-gradient(145deg, #181b24, #0f121a);
  border: 2px solid rgba(255, 100, 30, 0.45);
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 40px -5px rgba(255, 87, 34, 0.4), inset 0 0 20px rgba(255, 87, 34, 0.15);
  position: relative;
  transition: var(--transition);
}

.hub-chip:hover {
  transform: scale(1.05);
  border-color: var(--fire-ember);
  box-shadow: 0 0 50px rgba(255, 87, 34, 0.65);
}

.hub-chip-icon {
  font-size: 2.2rem;
  color: #ff8c42;
  margin-bottom: 4px;
}

.hub-chip-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 1px;
  color: #ffffff;
}

.hub-chip-status {
  font-size: 0.68rem;
  color: #25d366;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
}

/* Nodes on Left & Right */
.hub-nodes-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  z-index: 3;
}

.hub-node-card {
  background: rgba(18, 22, 32, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
}

.hub-node-card:hover, .hub-node-card.active {
  background: rgba(28, 33, 48, 0.95);
  border-color: rgba(255, 100, 30, 0.6);
  transform: translateX(4px);
  box-shadow: 0 6px 24px -4px rgba(255, 75, 10, 0.25);
}

.hub-nodes-column.left .hub-node-card:hover,
.hub-nodes-column.left .hub-node-card.active {
  transform: translateX(-4px);
}

.node-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 95, 31, 0.12);
  border: 1px solid rgba(255, 95, 31, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #ff8c42;
  flex-shrink: 0;
  transition: var(--transition);
}

.hub-node-card:hover .node-icon-box,
.hub-node-card.active .node-icon-box {
  background: var(--fire-gradient);
  color: #ffffff;
  box-shadow: 0 0 16px rgba(255, 75, 10, 0.5);
}

.node-text h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 2px;
}

.node-text p {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Active Node Detail Drawer below the Hub */
.hub-details-banner {
  margin-top: 28px;
  padding: 18px 24px;
  background: rgba(255, 95, 31, 0.06);
  border: 1px solid rgba(255, 95, 31, 0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  transition: var(--transition);
}

.hub-details-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hub-details-tag {
  background: var(--fire-gradient);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

.hub-details-desc {
  font-size: 0.9rem;
  color: #e2e6f0;
}

/* ==========================================================================
   PROJECT SHOWCASE & RECENT INSTALLATIONS (Elevated Touch Carousel)
   ========================================================================== */
.section {
  padding: 80px 0;
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--fire-ember);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -1px;
  color: #fff;
  margin-bottom: 14px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* Carousel Container */
.projects-gallery-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
  position: relative;
}

.carousel-viewport {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  min-height: 480px;
  background: #000;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease, transform 0.5s ease;
  transform: scale(0.98);
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-slide.active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
  position: relative;
}

.carousel-img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-md);
}

.carousel-caption-card {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(10, 12, 18, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-subtle);
}

.caption-meta h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

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

.caption-badge {
  background: rgba(255, 95, 31, 0.16);
  border: 1px solid rgba(255, 95, 31, 0.35);
  color: #ff9152;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-full);
}

/* Carousel Nav Controls */
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  padding: 0 8px;
}

.carousel-btn {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-light);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1.1rem;
}

.carousel-btn:hover {
  background: var(--fire-gradient);
  border-color: transparent;
  transform: scale(1.08);
  box-shadow: 0 0 20px rgba(255, 75, 10, 0.4);
}

.carousel-indicators {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  max-width: 60%;
  padding: 6px 0;
}

.indicator-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
}

.indicator-dot.active {
  width: 28px;
  background: var(--fire-ember);
  box-shadow: 0 0 10px var(--fire-ember);
}

/* ==========================================================================
   INTERACTIVE MOBILE-FIRST LED QUOTE ESTIMATOR
   ========================================================================== */
.estimator-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 95, 31, 0.25);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  box-shadow: var(--shadow-card), 0 0 40px -10px rgba(255, 75, 10, 0.15);
  backdrop-filter: blur(20px);
}

.estimator-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 28px;
}

.calc-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
}

.select-chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.select-chip {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
}

.select-chip:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.select-chip.active {
  background: rgba(255, 95, 31, 0.18);
  border-color: var(--fire-ember);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 0 14px rgba(255, 95, 31, 0.3);
}

.estimator-output-box {
  margin-top: 32px;
  background: rgba(12, 14, 20, 0.9);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.output-summary h4 {
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 4px;
}

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

/* ==========================================================================
   SERVICES BENTO GRID
   ========================================================================== */
.services-bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: var(--transition);
  position: relative;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.bento-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 100, 30, 0.45);
  background: var(--bg-card-hover);
  box-shadow: 0 16px 40px -10px rgba(255, 60, 0, 0.25);
}

.bento-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255, 95, 31, 0.12);
  border: 1px solid rgba(255, 95, 31, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #ff8c42;
  margin-bottom: 20px;
  transition: var(--transition);
}

.bento-card:hover .bento-icon {
  background: var(--fire-gradient);
  color: #fff;
  box-shadow: 0 0 20px rgba(255, 75, 10, 0.5);
}

.bento-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.bento-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 16px;
  flex-grow: 1;
}

.bento-card-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--fire-ember);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.bento-card:hover .bento-card-link {
  gap: 10px;
  color: #ff9d5c;
}

/* Metrics Row */
.metrics-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 60px;
}

.metric-card {
  background: rgba(14, 16, 24, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
}

.metric-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: #fff;
  background: var(--fire-text-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
  margin-bottom: 6px;
}

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

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer-wrap {
  border-top: 1px solid var(--border-subtle);
  background: #040507;
  padding: 60px 0 100px;
  margin-top: 80px;
  position: relative;
  z-index: 1;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--fire-ember);
}

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

/* ==========================================================================
   MOBILE INTERACTIVE BOTTOM DOCK (For 1-Tap Mobile Actions)
   ========================================================================== */
.mobile-bottom-dock {
  display: none;
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(14, 16, 24, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 95, 31, 0.35);
  border-radius: var(--radius-full);
  padding: 8px 14px;
  z-index: 1000;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 20px -5px rgba(255, 75, 10, 0.35);
}

.mobile-dock-items {
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.dock-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  transition: var(--transition);
}

.dock-item i {
  font-size: 1.15rem;
}

.dock-item:hover, .dock-item.active {
  color: #fff;
}

.dock-item-primary {
  background: var(--fire-gradient);
  color: #ffffff !important;
  padding: 6px 16px;
  box-shadow: 0 4px 14px rgba(255, 75, 10, 0.45);
}

/* Mobile Drawer Overlay */
.mobile-menu-drawer {
  position: fixed;
  inset: 0;
  background: rgba(4, 5, 8, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  padding: 30px 24px;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.mobile-menu-drawer.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
}

.drawer-close {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-light);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
}

.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
}

.drawer-link {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.drawer-link:hover, .drawer-link.active {
  color: var(--fire-ember);
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1080px) {
  .services-bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .circuit-interactive-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .hub-center-core {
    order: -1;
  }
  
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  
  .estimator-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu, .nav-actions {
    display: none;
  }
  
  .mobile-nav-toggle {
    display: flex;
  }
  
  .mobile-bottom-dock {
    display: block;
  }
  
  .hero-title {
    font-size: 2.3rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-actions .btn {
    width: 100%;
  }
  
  .circuit-hub-container {
    padding: 24px 16px;
  }
  
  .services-bento-grid {
    grid-template-columns: 1fr;
  }
  
  .metrics-row {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .carousel-viewport {
    min-height: 360px;
  }
  
  .carousel-img {
    height: 380px;
  }
  
  .carousel-caption-card {
    position: static;
    margin-top: 14px;
    padding: 16px;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
  }
  
  .top-links {
    display: none;
  }
  
  .section {
    padding: 50px 0;
  }
}

/* Form Controls Glow */
input:focus, select:focus, textarea:focus {
  border-color: var(--fire-ember) !important;
  box-shadow: 0 0 18px -2px rgba(255, 95, 31, 0.45) !important;
}
