/* ============================================
   BDSEC - Premium Security Website
   Core Styles
   ============================================ */

/* CSS Custom Properties */
:root {
  --clr-bg: #0a0a0a;
  --clr-bg-secondary: #0f0f0f;
  --clr-bg-card: #1a1a1a;
  --clr-accent: #e63946;
  --clr-accent-hover: #ff4d5a;
  --clr-accent-glow: rgba(230, 57, 70, 0.3);
  --clr-text: #ffffff;
  --clr-text-secondary: #b0b0b0;
  --clr-text-muted: #666666;
  --clr-border: #2a2a2a;
  --clr-border-hover: #3a3a3a;
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --transition-fast: 0.2s ease;
  --transition-med: 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
  --transition-slow: 0.7s cubic-bezier(0.25, 0.1, 0.25, 1);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 30px;
  --radius-full: 50%;
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 30px rgba(230, 57, 70, 0.15);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  background: var(--clr-bg);
  color: var(--clr-text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.no-scroll {
  overflow: hidden;
}

body.loaded #preloader {
  transform: translateY(-100%);
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

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

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
}

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

/* Utility Classes */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.accent {
  color: var(--clr-accent);
}

.skip-link {
  position: fixed;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--clr-accent);
  color: #fff;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  z-index: 10000;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 12px;
}

/* ============================================
   PRELOADER
   ============================================ */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--clr-bg);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.8s cubic-bezier(0.76, 0, 0.24, 1);
}

.preloader-inner {
  text-align: center;
}

.preloader-logo {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 32px;
}

.preloader-bar {
  width: 200px;
  height: 3px;
  background: var(--clr-border);
  border-radius: 2px;
  margin: 0 auto 16px;
  overflow: hidden;
}

.preloader-bar-fill {
  width: 0;
  height: 100%;
  background: var(--clr-accent);
  border-radius: 2px;
  animation: loadBar 1.5s ease-in-out forwards;
}

.preloader-text {
  font-size: 13px;
  color: var(--clr-text-secondary);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Logo Styling (shared) */
.logo-bd {
  color: var(--clr-accent);
}

.logo-sec {
  color: var(--clr-text);
}

/* ============================================
   CUSTOM CURSOR
   ============================================ */
.cursor-dot {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--clr-accent);
  border-radius: var(--radius-full);
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: opacity 0.2s, transform 0.1s;
}

.cursor-ring {
  position: fixed;
  width: 40px;
  height: 40px;
  border: 2px solid rgba(230, 57, 70, 0.4);
  border-radius: var(--radius-full);
  pointer-events: none;
  z-index: 9997;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s, border-color 0.3s;
}

.cursor-hover .cursor-dot {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0);
}

.cursor-hover .cursor-ring {
  width: 60px;
  height: 60px;
  border-color: rgba(230, 57, 70, 0.6);
}

/* ============================================
   NAVIGATION
   ============================================ */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: all var(--transition-med);
}

#navbar.scrolled {
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
  box-shadow: 0 2px 40px rgba(0, 0, 0, 0.4);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 1px;
  z-index: 1001;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--clr-text-secondary);
  position: relative;
  padding: 4px 0;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--clr-accent);
  transition: width var(--transition-med);
}

.nav-link:hover,
.nav-link.active {
  color: var(--clr-text);
}

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

.nav-cta {
  font-size: 14px;
  font-weight: 600;
  background: var(--clr-accent);
  color: #fff;
  padding: 10px 24px;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.nav-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--clr-accent-hover);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-med);
}

.nav-cta:hover::before {
  transform: scaleX(1);
}

.nav-cta span {
  position: relative;
  z-index: 1;
}

.nav-cta:hover {
  transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--clr-text);
  transition: all 0.3s ease;
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5.5px, 5.5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5.5px, -5.5px);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  background: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.76, 0, 0.24, 1);
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu-links {
  text-align: center;
}

.mobile-menu-links li {
  margin-bottom: 8px;
}

.mobile-link {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 600;
  color: var(--clr-text-secondary);
  padding: 8px 16px;
  display: inline-block;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.mobile-link:hover {
  color: var(--clr-accent);
  transform: translateX(8px);
}

.mobile-cta {
  font-size: 16px;
  font-weight: 600;
  background: var(--clr-accent);
  color: #fff;
  padding: 14px 36px;
  border-radius: var(--radius-lg);
  margin-top: 24px;
  transition: background var(--transition-fast);
}

.mobile-cta:hover {
  background: var(--clr-accent-hover);
}

/* ============================================
   HERO SECTION
   ============================================ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 10, 10, 0.92) 0%, rgba(10, 10, 10, 0.5) 50%, rgba(10, 10, 10, 0.8) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  padding: 0 24px 0 calc(24px + 5%);
}

.hero-tag {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 4px;
  color: var(--clr-accent);
  text-transform: uppercase;
  margin-bottom: 24px;
  opacity: 0;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 24px;
}

.line-wrapper {
  display: block;
  overflow: hidden;
}

.line-wrapper .line {
  display: block;
  transform: translateY(110%);
}

.hero-subtitle {
  font-size: 18px;
  color: var(--clr-text-secondary);
  min-height: 28px;
  margin-bottom: 40px;
  opacity: 0;
}

.hero-subtitle::after {
  content: '|';
  animation: blink 0.8s step-end infinite;
  color: var(--clr-accent);
  margin-left: 2px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  align-items: center;
  opacity: 0;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--clr-accent);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  padding: 16px 32px;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--clr-accent-hover);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-med);
}

.btn-primary:hover::before {
  transform: scaleX(1);
}

.btn-primary span,
.btn-primary .btn-arrow {
  position: relative;
  z-index: 1;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(230, 57, 70, 0.3);
}

.btn-arrow {
  display: inline-flex;
  transition: transform var(--transition-fast);
}

.btn-primary:hover .btn-arrow {
  transform: translateX(4px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
  color: var(--clr-text);
  padding: 16px 32px;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition-fast), background var(--transition-fast), transform var(--transition-fast);
}

.btn-secondary span {
  position: relative;
  z-index: 1;
}

.btn-secondary:hover {
  border-color: var(--clr-accent);
  background: rgba(230, 57, 70, 0.08);
  transform: translateY(-2px);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
}

.mouse {
  width: 26px;
  height: 40px;
  border: 2px solid var(--clr-text-secondary);
  border-radius: 13px;
  position: relative;
}

.wheel {
  width: 4px;
  height: 8px;
  background: var(--clr-text-secondary);
  border-radius: 2px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 1.5s ease-in-out infinite;
}

.scroll-indicator span {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--clr-text-muted);
}

/* Hero Floating Elements */
.hero-float {
  position: absolute;
  z-index: 2;
  opacity: 0.6;
  animation: float 6s ease-in-out infinite;
}

.hero-float-1 {
  top: 15%;
  right: 10%;
  animation-delay: 0s;
}

.hero-float-2 {
  bottom: 25%;
  right: 25%;
  animation-delay: -2s;
}

.hero-float-3 {
  top: 40%;
  right: 5%;
  animation-delay: -4s;
}

/* ============================================
   SECTION SHARED STYLES
   ============================================ */
section {
  padding: 120px 0;
  position: relative;
}

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

.section-tag {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--clr-accent);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--clr-text-secondary);
  line-height: 1.7;
}

/* ============================================
   SERVICES
   ============================================ */
#services {
  background: var(--clr-bg-secondary);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 48px 36px;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition-med), transform var(--transition-med);
  will-change: transform;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(230, 57, 70, 0.08) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition-med);
}

.service-card:hover {
  border-color: var(--clr-border-hover);
}

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

.service-icon {
  width: 72px;
  height: 72px;
  background: rgba(230, 57, 70, 0.08);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  transition: background var(--transition-med), transform var(--transition-fast);
}

.service-icon svg {
  width: 36px;
  height: 36px;
  color: var(--clr-accent);
  transition: transform var(--transition-fast);
}

.service-card:hover .service-icon {
  background: rgba(230, 57, 70, 0.15);
}

.service-card:hover .service-icon svg {
  transform: scale(1.1) rotate(5deg);
}

.service-title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-desc {
  font-size: 15px;
  color: var(--clr-text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--clr-accent);
  cursor: pointer;
  transition: gap var(--transition-fast);
}

.service-toggle svg {
  transition: transform var(--transition-fast);
}

.service-toggle:hover {
  gap: 10px;
}

.service-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.service-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.25, 0.1, 0.25, 1), margin var(--transition-med);
}

.service-details.expanded {
  margin-top: 20px;
}

.service-details ul {
  padding-top: 16px;
  border-top: 1px solid var(--clr-border);
}

.service-details li {
  font-size: 14px;
  color: var(--clr-text-secondary);
  padding: 6px 0 6px 20px;
  position: relative;
}

.service-details li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--clr-accent);
  border-radius: var(--radius-full);
}

/* ============================================
   ABOUT
   ============================================ */
#about {
  background: var(--clr-bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-text {
  font-size: 16px;
  color: var(--clr-text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
}

.stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 40px;
}

.stat-item {
  flex: 1 1 calc(50% - 12px);
  padding: 20px;
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition-fast);
}

.stat-item:hover {
  border-color: var(--clr-accent);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 800;
  color: var(--clr-accent);
  display: block;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 13px;
  color: var(--clr-text-secondary);
  letter-spacing: 0.5px;
}

/* Decorative Grid */
.about-visual {
  position: relative;
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 40px;
}

.grid-cell {
  aspect-ratio: 1;
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  transition: all 0.6s ease;
}

.grid-cell.active {
  background: rgba(230, 57, 70, 0.12);
  border-color: rgba(230, 57, 70, 0.3);
  animation: cellPulse 3s ease-in-out infinite;
}

.grid-cell:nth-child(2n) { animation-delay: -0.5s; }
.grid-cell:nth-child(3n) { animation-delay: -1s; }
.grid-cell:nth-child(5n) { animation-delay: -1.5s; }
.grid-cell:nth-child(7n) { animation-delay: -2s; }

.about-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  padding: 16px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

.about-badge span {
  font-size: 14px;
  font-weight: 600;
  color: var(--clr-text);
}

/* ============================================
   HOW IT WORKS
   ============================================ */
#how-it-works {
  background: var(--clr-bg-secondary);
}

.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 0;
}

.timeline-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: var(--clr-border);
}

.timeline-line-fill {
  width: 100%;
  height: 0;
  background: var(--clr-accent);
  transition: height 1.5s ease;
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 20px 60px 40px;
}

.timeline-left {
  left: 0;
  text-align: right;
  padding-right: 60px;
}

.timeline-right {
  left: 50%;
  text-align: left;
  padding-left: 60px;
}

.timeline-number {
  position: absolute;
  top: 20px;
  width: 52px;
  height: 52px;
  background: var(--clr-bg);
  border: 2px solid var(--clr-accent);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--clr-accent);
  z-index: 2;
  transition: background var(--transition-med), color var(--transition-med);
}

.timeline-left .timeline-number {
  right: -26px;
}

.timeline-right .timeline-number {
  left: -26px;
}

.timeline-item.visible .timeline-number {
  background: var(--clr-accent);
  color: #fff;
}

.timeline-content h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.timeline-content p {
  font-size: 15px;
  color: var(--clr-text-secondary);
  line-height: 1.7;
}

/* ============================================
   QUOTE BUILDER
   ============================================ */
#quote-builder {
  background: var(--clr-bg);
}

.quote-wrapper {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 48px;
  position: relative;
  overflow: hidden;
}

/* Step Indicator */
.step-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 48px;
}

.step-dot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 1;
}

.step-num {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--clr-bg);
  border: 2px solid var(--clr-border);
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  transition: all var(--transition-med);
}

.step-dot.active .step-num,
.step-dot.completed .step-num {
  background: var(--clr-accent);
  border-color: var(--clr-accent);
  color: #fff;
}

.step-label {
  font-size: 12px;
  color: var(--clr-text-muted);
  font-weight: 500;
  transition: color var(--transition-fast);
}

.step-dot.active .step-label {
  color: var(--clr-text);
}

.step-line {
  width: 80px;
  height: 2px;
  background: var(--clr-border);
  margin: 0 16px;
  margin-bottom: 28px;
  border-radius: 1px;
  overflow: hidden;
}

.step-line-fill {
  width: 0;
  height: 100%;
  background: var(--clr-accent);
  transition: width var(--transition-med);
}

/* Quote Body */
.quote-body {
  display: flex;
  gap: 32px;
}

.quote-main {
  flex: 1;
  min-width: 0;
}

.step-content {
  min-height: 300px;
}

/* Step Navigation Buttons */
.step-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--clr-border);
}

.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--clr-text-secondary);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background var(--transition-fast);
}

.btn-back:hover {
  color: var(--clr-text);
  background: rgba(255, 255, 255, 0.05);
}

.btn-next,
.btn-submit-quote {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  background: var(--clr-accent);
  color: #fff;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.btn-next:hover,
.btn-submit-quote:hover {
  background: var(--clr-accent-hover);
  transform: translateY(-1px);
}

/* Quote Sidebar */
.quote-sidebar {
  width: 280px;
  flex-shrink: 0;
}

.estimate-card {
  background: var(--clr-bg);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  padding: 24px;
  position: sticky;
  top: 100px;
}

.estimate-card h4 {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--clr-text-secondary);
  margin-bottom: 8px;
}

.estimate-range {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  color: var(--clr-accent);
  margin-bottom: 8px;
}

.estimate-note {
  font-size: 12px;
  color: var(--clr-text-muted);
  margin-bottom: 16px;
}

.estimate-breakdown {
  border-top: 1px solid var(--clr-border);
  padding-top: 12px;
  font-size: 13px;
  color: var(--clr-text-secondary);
}

.estimate-breakdown .breakdown-item {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
}

/* Quote Form Elements */
.quote-service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.quote-service-card {
  background: var(--clr-bg);
  border: 2px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-med);
  position: relative;
}

.quote-service-card:hover {
  border-color: var(--clr-border-hover);
  transform: translateY(-4px);
}

.quote-service-card.selected {
  border-color: var(--clr-accent);
  background: rgba(230, 57, 70, 0.05);
  box-shadow: var(--shadow-glow);
}

.quote-service-card .check-icon {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 24px;
  height: 24px;
  background: var(--clr-accent);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.quote-service-card.selected .check-icon {
  transform: scale(1);
}

.quote-service-card .card-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  background: rgba(230, 57, 70, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.quote-service-card .card-icon svg {
  width: 28px;
  height: 28px;
  color: var(--clr-accent);
}

.quote-service-card h4 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.quote-service-card p {
  font-size: 13px;
  color: var(--clr-text-muted);
}

/* Config Form Elements */
.config-section {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--clr-border);
}

.config-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.config-section h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--clr-accent);
}

.config-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.config-label {
  font-size: 14px;
  color: var(--clr-text-secondary);
}

/* Stepper Input */
.stepper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.stepper-btn {
  width: 36px;
  height: 36px;
  background: var(--clr-bg);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 600;
  color: var(--clr-text);
  transition: all var(--transition-fast);
}

.stepper-btn:hover {
  border-color: var(--clr-accent);
  color: var(--clr-accent);
}

.stepper-value {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  min-width: 30px;
  text-align: center;
}

/* Toggle Switch */
.toggle-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}

.toggle {
  position: relative;
  width: 48px;
  height: 26px;
}

.toggle input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.toggle-track {
  position: absolute;
  inset: 0;
  background: var(--clr-border);
  border-radius: 13px;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.toggle-track::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: var(--radius-full);
  transition: transform var(--transition-fast);
}

.toggle input:checked + .toggle-track {
  background: var(--clr-accent);
}

.toggle input:checked + .toggle-track::after {
  transform: translateX(22px);
}

.toggle-label {
  font-size: 13px;
  color: var(--clr-text-muted);
}

/* Radio Cards */
.radio-group {
  display: flex;
  gap: 8px;
}

.radio-card {
  flex: 1;
  padding: 10px 16px;
  background: var(--clr-bg);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  text-align: center;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  color: var(--clr-text-secondary);
  transition: all var(--transition-fast);
}

.radio-card:hover {
  border-color: var(--clr-border-hover);
}

.radio-card.active {
  border-color: var(--clr-accent);
  color: var(--clr-accent);
  background: rgba(230, 57, 70, 0.05);
}

.radio-card input {
  display: none;
}

/* Range Slider */
.slider-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
}

.range-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 180px;
  height: 4px;
  background: var(--clr-border);
  border-radius: 2px;
  outline: none;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  background: var(--clr-accent);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: transform var(--transition-fast);
}

.range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.range-slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  background: var(--clr-accent);
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
}

.slider-value {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  min-width: 50px;
  text-align: right;
  color: var(--clr-accent);
}

/* Property Selection Cards */
.property-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.property-card {
  padding: 20px 16px;
  background: var(--clr-bg);
  border: 2px solid var(--clr-border);
  border-radius: var(--radius-sm);
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.property-card:hover {
  border-color: var(--clr-border-hover);
}

.property-card.active {
  border-color: var(--clr-accent);
  background: rgba(230, 57, 70, 0.05);
}

.property-card svg {
  width: 32px;
  height: 32px;
  color: var(--clr-accent);
  margin-bottom: 8px;
}

.property-card h5 {
  font-size: 14px;
  font-weight: 600;
}

.property-card p {
  font-size: 12px;
  color: var(--clr-text-muted);
}

/* Quote Form Inputs */
.quote-form-group {
  margin-bottom: 16px;
}

.quote-form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--clr-text-secondary);
  margin-bottom: 6px;
}

.quote-input {
  width: 100%;
  padding: 12px 16px;
  background: var(--clr-bg);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  color: var(--clr-text);
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.quote-input:focus {
  border-color: var(--clr-accent);
  box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.1);
}

.quote-input.error {
  border-color: #ff4444;
  animation: shake 0.4s ease;
}

.quote-input::placeholder {
  color: var(--clr-text-muted);
}

textarea.quote-input {
  resize: vertical;
  min-height: 100px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.error-msg {
  font-size: 12px;
  color: #ff4444;
  margin-top: 4px;
}

/* Quote Success */
.quote-success {
  display: none;
  position: absolute;
  inset: 0;
  background: var(--clr-bg-card);
  z-index: 10;
  align-items: center;
  justify-content: center;
}

.quote-success.active {
  display: flex;
}

.success-inner {
  text-align: center;
  max-width: 400px;
}

.success-check {
  width: 100px;
  height: 100px;
  margin: 0 auto 24px;
}

.success-circle {
  stroke-dasharray: 283;
  stroke-dashoffset: 283;
}

.success-path {
  stroke-dasharray: 80;
  stroke-dashoffset: 80;
}

.quote-success.active .success-circle {
  animation: drawCircle 0.8s ease forwards;
}

.quote-success.active .success-path {
  animation: drawCheck 0.5s 0.5s ease forwards;
}

.success-inner h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}

.success-inner p {
  font-size: 15px;
  color: var(--clr-text-secondary);
  margin-bottom: 32px;
  line-height: 1.7;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
#testimonials {
  background: var(--clr-bg);
}

.testimonials-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonials-viewport {
  overflow: hidden;
  flex: 1;
}

.testimonials-track {
  display: flex;
  gap: 0px;
  transition: transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.testimonial-card {
  min-width: 100%;
  max-width: 100%;
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 40px;
  position: relative;
  flex-shrink: 0;
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 16px;
  left: 24px;
  font-size: 100px;
  color: rgba(230, 57, 70, 0.1);
  line-height: 1;
  font-family: serif;
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
}

.testimonial-text {
  font-size: 15px;
  color: var(--clr-text-secondary);
  line-height: 1.8;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  background: var(--clr-accent);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

.author-name {
  font-size: 15px;
  font-weight: 600;
}

.author-role {
  font-size: 13px;
  color: var(--clr-text-muted);
}

.testimonial-arrow {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-full);
  color: var(--clr-text);
  transition: all var(--transition-fast);
}

.testimonial-arrow:hover {
  border-color: var(--clr-accent);
  color: var(--clr-accent);
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}

.testimonial-dots .dot {
  width: 10px;
  height: 10px;
  background: var(--clr-border);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
}

.testimonial-dots .dot.active {
  background: var(--clr-accent);
  width: 30px;
  border-radius: 5px;
}

/* ============================================
   CONTACT
   ============================================ */
#contact {
  background: var(--clr-bg-secondary);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group {
  position: relative;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 18px 16px 8px;
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  color: var(--clr-text);
  font-size: 15px;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group label {
  position: absolute;
  top: 50%;
  left: 16px;
  transform: translateY(-50%);
  font-size: 15px;
  color: var(--clr-text-muted);
  pointer-events: none;
  transition: all var(--transition-fast);
}

.form-group textarea ~ label {
  top: 18px;
  transform: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--clr-accent);
  box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.1);
}

.form-group input:focus ~ label,
.form-group input.has-value ~ label,
.form-group textarea:focus ~ label,
.form-group textarea.has-value ~ label {
  top: 8px;
  font-size: 11px;
  color: var(--clr-accent);
  transform: none;
}

.btn-submit {
  align-self: flex-start;
}

.contact-form-success {
  display: none;
  align-items: center;
  gap: 16px;
  padding: 24px;
  background: rgba(230, 57, 70, 0.08);
  border: 1px solid rgba(230, 57, 70, 0.2);
  border-radius: var(--radius-sm);
}

.contact-form-success.active {
  display: flex;
}

.contact-form-success p {
  font-size: 15px;
  color: var(--clr-text);
}

/* Contact Info */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition-fast);
}

.info-card:hover {
  border-color: var(--clr-border-hover);
}

.info-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: rgba(230, 57, 70, 0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-card h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.info-card p {
  font-size: 14px;
  color: var(--clr-text-secondary);
  line-height: 1.5;
}

/* Map Placeholder */
.map-placeholder {
  position: relative;
  height: 200px;
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

.map-pin {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -100%);
  animation: float 2s ease-in-out infinite;
}

.map-placeholder > p {
  position: relative;
  z-index: 1;
  font-size: 13px;
  color: var(--clr-text-muted);
  padding-top: 60px;
}

/* ============================================
   FOOTER
   ============================================ */
#footer {
  background: var(--clr-bg);
  border-top: 1px solid var(--clr-border);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--clr-text-secondary);
  line-height: 1.7;
  margin-top: 16px;
  max-width: 280px;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.social-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-full);
  color: var(--clr-text-secondary);
  transition: all var(--transition-fast);
}

.social-icon:hover {
  border-color: var(--clr-accent);
  color: var(--clr-accent);
  transform: translateY(-2px);
}

.footer-links h4 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
}

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

.footer-links a,
.footer-links li {
  font-size: 14px;
  color: var(--clr-text-secondary);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--clr-accent);
}

.footer-bottom {
  border-top: 1px solid var(--clr-border);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--clr-text-muted);
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: var(--clr-accent);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  z-index: 100;
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition-med);
  box-shadow: 0 4px 20px rgba(230, 57, 70, 0.3);
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(230, 57, 70, 0.4);
}
