/* ==========================================================================
   GORAN BRNO - Master Stylesheet
   Modern, Premium Construction & Demolition Web Design System
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design Tokens & CSS Variables
   -------------------------------------------------------------------------- */
:root {
  /* Color Palette */
  --clr-bg-dark: #0f172a;
  --clr-bg-surface: #1e293b;
  --clr-bg-card: #182234;
  --clr-bg-light: #f8fafc;
  --clr-bg-light-alt: #f1f5f9;

  --clr-primary: #1e293b;
  --clr-primary-dark: #0f172a;
  
  /* Brand Accents - Gold / Amber / Bronze */
  --clr-accent: #d97706;
  --clr-accent-hover: #b45309;
  --clr-accent-light: #f59e0b;
  --clr-accent-glow: rgba(217, 119, 6, 0.25);

  /* Typography Colors */
  --clr-text-main: #f8fafc;
  --clr-text-muted: #94a3b8;
  --clr-text-dark: #0f172a;
  --clr-text-dark-muted: #64748b;

  /* Borders & Shadows */
  --border-color-dark: rgba(255, 255, 255, 0.08);
  --border-color-light: #e2e8f0;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
  --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.35);
  --shadow-glow: 0 0 30px rgba(217, 119, 6, 0.3);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  /* Fonts */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* --------------------------------------------------------------------------
   2. Reset & General Setup
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

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

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

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

ul {
  list-style: none;
}

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

/* --------------------------------------------------------------------------
   3. Utility Classes & Layout Containers
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-sm {
  max-width: 900px;
}

.section {
  padding: 5.5rem 0;
  position: relative;
}

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

.section-header {
  margin-bottom: 3.5rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--clr-text-main);
  margin-bottom: 0.75rem;
}

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

.section-line {
  width: 70px;
  height: 4px;
  background: linear-gradient(90deg, var(--clr-accent), var(--clr-accent-light));
  border-radius: 2px;
  margin: 1rem 0 1.5rem;
}

.section-line.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* --------------------------------------------------------------------------
   4. Buttons & Interactive Controls
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--clr-accent), var(--clr-accent-hover));
  color: #ffffff;
  box-shadow: 0 4px 15px var(--clr-accent-glow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #e68a00, var(--clr-accent));
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--clr-accent-glow);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-outline {
  border: 1.5px solid var(--clr-accent);
  color: var(--clr-accent-light);
  background: transparent;
}

.btn-outline:hover {
  background: var(--clr-accent);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1.1rem 2.25rem;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

.btn-block {
  width: 100%;
}

/* --------------------------------------------------------------------------
   5. Header & Navigation
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color-dark);
  transition: all var(--transition-fast);
}

.header.scrolled {
  background-color: rgba(15, 23, 42, 0.95);
  box-shadow: var(--shadow-md);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.6rem;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.logo-img-wrapper {
  height: 44px;
  display: flex;
  align-items: center;
}

.logo-img-wrapper img {
  height: 100%;
  width: auto;
  object-fit: contain;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--clr-accent), var(--clr-accent-hover));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.3rem;
  color: #ffffff;
  box-shadow: 0 4px 12px var(--clr-accent-glow);
}

.logo span {
  color: var(--clr-accent-light);
  font-weight: 400;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--clr-text-main);
  opacity: 0.9;
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover {
  color: var(--clr-accent-light);
  opacity: 1;
}

.nav-link.btn-outline {
  padding: 0.6rem 1.25rem;
  opacity: 1;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  cursor: pointer;
  padding: 5px;
}

.mobile-menu-btn span {
  width: 26px;
  height: 3px;
  background-color: var(--clr-text-main);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* --------------------------------------------------------------------------
   6. Hero Section with Architectural Sketches & Official Logo
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 110px;
  padding-bottom: 70px;
  overflow: hidden;
  background-color: #0f172a;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../img/hero.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.18; /* Obrazek na pozadi je mene vyrazny */
  z-index: 1;
}

.hero-bg .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(15, 23, 42, 0.4) 0%, rgba(15, 23, 42, 0.95) 100%);
}

/* Architectural Sketch Elements (Left: House Sketch, Right: Floor Plan) */
.hero-sketch-left {
  position: absolute;
  left: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 420px;
  max-width: 32vw;
  opacity: 0.35;
  filter: brightness(1.2) contrast(1.1) invert(0.9) hue-rotate(180deg);
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 2;
  transition: opacity var(--transition-slow);
}

.hero-sketch-right {
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 420px;
  max-width: 32vw;
  opacity: 0.35;
  filter: brightness(1.2) contrast(1.1) invert(0.9) hue-rotate(180deg);
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 2;
  transition: opacity var(--transition-slow);
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 1050px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Clean Logo displayed directly without any box/cell */
.hero-main-logo {
  max-width: 530px; /* Reduced by ~9% from 580px */
  width: 100%;
  height: auto;
  margin-bottom: 0.25rem; /* Reduced vertical gap by ~25px */
  display: block;
  filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.4));
}

.hero-subtitle {
  font-size: 1.2rem;
  color: #cbd5e1;
  line-height: 1.6;
  margin-top: 0.25rem;
  margin-bottom: 2rem;
  font-weight: 400;
  max-width: 800px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 2.25rem;
}

.hero-benefits {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  width: 100%;
  max-width: 980px;
}

.hero-benefits li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: #e2e8f0;
  white-space: nowrap;
}

.hero-benefits .icon {
  color: var(--clr-accent-light);
  font-weight: 800;
}

@media (max-width: 992px) {
  .hero-benefits li {
    white-space: normal;
  }
}

@media (max-width: 1100px) {
  .hero-sketch-left, .hero-sketch-right {
    opacity: 0.18;
    width: 280px;
  }
}

@media (max-width: 768px) {
  .hero-sketch-left, .hero-sketch-right {
    display: none;
  }
  .hero-title {
    font-size: 2.2rem;
  }
}

/* --------------------------------------------------------------------------
   7. Services Section
   -------------------------------------------------------------------------- */
.services {
  background-color: var(--clr-bg-dark);
}

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

.service-card {
  background-color: var(--clr-bg-surface);
  border: 1px solid var(--border-color-dark);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

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

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(217, 119, 6, 0.3);
  box-shadow: var(--shadow-lg);
}

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

.service-icon-box {
  width: 60px;
  height: 60px;
  background: rgba(217, 119, 6, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--clr-accent-light);
  margin-bottom: 1.5rem;
}

.service-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #ffffff;
}

.service-desc {
  color: var(--clr-text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.service-bullets {
  margin-bottom: 2rem;
}

.service-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #cbd5e1;
  margin-bottom: 0.5rem;
}

.service-bullets .icon {
  color: var(--clr-accent-light);
  font-weight: 800;
  line-height: 1.4;
}

.service-footer {
  display: flex;
  gap: 0.75rem;
}

.service-footer .btn {
  flex: 1;
  padding: 0.65rem 1rem;
  font-size: 0.85rem;
}

/* --------------------------------------------------------------------------
   8. Interactive Calculator Section (With Fixed Parallax Hero Background)
   -------------------------------------------------------------------------- */
.calculator-section {
  position: relative;
  background-color: var(--clr-bg-dark);
  border-top: 1px solid var(--border-color-dark);
  border-bottom: 1px solid var(--border-color-dark);
  overflow: hidden;
}

.calculator-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../img/hero.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  opacity: 0.18;
  z-index: 1;
  pointer-events: none;
}

.calculator-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(15, 23, 42, 0.4) 0%, rgba(15, 23, 42, 0.92) 100%);
  z-index: 1;
  pointer-events: none;
}

.calculator-section > .container {
  position: relative;
  z-index: 2;
}

.calc-card {
  background: var(--clr-bg-card);
  border: 1px solid var(--border-color-dark);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.calc-inputs {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.calc-group label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.calc-select, .calc-input-field {
  width: 100%;
  padding: 0.85rem 1.2rem;
  background-color: var(--clr-bg-dark);
  border: 1px solid var(--border-color-dark);
  border-radius: var(--radius-md);
  color: #ffffff;
  font-size: 1rem;
  transition: border-color var(--transition-fast);
}

.calc-select:focus, .calc-input-field:focus {
  border-color: var(--clr-accent);
}

.range-slider-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.range-slider {
  width: 100%;
  accent-color: var(--clr-accent);
  cursor: pointer;
}

.range-values {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--clr-text-muted);
}

.calc-checkboxes {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: #cbd5e1;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--clr-accent);
  cursor: pointer;
}

.calc-result-box {
  background: var(--clr-bg-dark);
  border: 1px solid rgba(217, 119, 6, 0.3);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
}

.calc-price-title {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--clr-text-muted);
  margin-bottom: 0.5rem;
}

.calc-price-value {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--clr-accent-light);
  margin-bottom: 0.5rem;
}

.calc-price-note {
  font-size: 0.85rem;
  color: var(--clr-text-muted);
  margin-bottom: 1.5rem;
}

.calc-breakdown-list {
  text-align: left;
  border-top: 1px solid var(--border-color-dark);
  padding-top: 1rem;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #cbd5e1;
}

/* --------------------------------------------------------------------------
   9. About Section & Fleet Showcase
   -------------------------------------------------------------------------- */
.about {
  background-color: var(--clr-bg-dark);
}

.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-subtitle {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--clr-accent-light);
  margin-bottom: 1rem;
}

.about-text {
  color: var(--clr-text-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color-dark);
}

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

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--clr-accent-light);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--clr-text-muted);
}

.about-media-stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-img-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color-dark);
}

.about-img-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.about-img-tag {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* --------------------------------------------------------------------------
   10. Why Choose Us Section (With Fixed Parallax Hero Background)
   -------------------------------------------------------------------------- */
.why-us {
  position: relative;
  background-color: var(--clr-bg-dark);
  border-top: 1px solid var(--border-color-dark);
  border-bottom: 1px solid var(--border-color-dark);
  overflow: hidden;
}

.why-us::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../img/hero.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  opacity: 0.18;
  z-index: 1;
  pointer-events: none;
}

.why-us::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(15, 23, 42, 0.4) 0%, rgba(15, 23, 42, 0.92) 100%);
  z-index: 1;
  pointer-events: none;
}

.why-us > .container {
  position: relative;
  z-index: 2;
}

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

.why-card {
  background-color: var(--clr-bg-dark);
  border: 1px solid var(--border-color-dark);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  transition: all var(--transition-normal);
}

.why-card:hover {
  transform: translateY(-4px);
  border-color: var(--clr-accent);
  box-shadow: var(--shadow-md);
}

.why-icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  display: inline-block;
}

.why-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.why-desc {
  font-size: 0.9rem;
  color: var(--clr-text-muted);
}

/* --------------------------------------------------------------------------
   11. Interactive Gallery & Before/After Slider
   -------------------------------------------------------------------------- */
.gallery {
  background-color: var(--clr-bg-dark);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
}

.gallery-item {
  background-color: var(--clr-bg-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color-dark);
}

.gallery-caption {
  padding: 1.25rem;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
}

/* Interactive Before / After Image Slider */
.image-compare-container {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
  user-select: none;
}

.image-compare-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.image-compare-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
  border-right: 3px solid var(--clr-accent);
  z-index: 2;
}

.image-compare-overlay img {
  width: 100%;
  height: 100%;
  max-width: none;
}

.image-compare-slider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 40px;
  margin-left: -20px;
  z-index: 3;
  cursor: ew-resize;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-handle {
  width: 38px;
  height: 38px;
  background-color: var(--clr-accent);
  border: 3px solid #ffffff;
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: bold;
}

.badge-before, .badge-after {
  position: absolute;
  top: 1rem;
  padding: 0.3rem 0.75rem;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(5px);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  z-index: 4;
}

.badge-before { left: 1rem; }
.badge-after { right: 1rem; }

/* --------------------------------------------------------------------------
   12. Testimonials Section (With Fixed Parallax Hero Background)
   -------------------------------------------------------------------------- */
.testimonials {
  position: relative;
  background-color: var(--clr-bg-dark);
  border-top: 1px solid var(--border-color-dark);
  border-bottom: 1px solid var(--border-color-dark);
  overflow: hidden;
}

.testimonials::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../img/hero.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  opacity: 0.18;
  z-index: 1;
  pointer-events: none;
}

.testimonials::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(15, 23, 42, 0.4) 0%, rgba(15, 23, 42, 0.92) 100%);
  z-index: 1;
  pointer-events: none;
}

.testimonials > .container {
  position: relative;
  z-index: 2;
}

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

.testimonial-card {
  background-color: var(--clr-bg-dark);
  border: 1px solid var(--border-color-dark);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stars {
  color: var(--clr-accent-light);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.testimonial-text {
  font-style: italic;
  color: #cbd5e1;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.author-avatar {
  width: 44px;
  height: 44px;
  background: var(--clr-bg-surface);
  border: 1px solid var(--clr-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--clr-accent-light);
}

.author-info h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
}

.author-info p {
  font-size: 0.8rem;
  color: var(--clr-text-muted);
}

/* --------------------------------------------------------------------------
   13. Contact Section & Form
   -------------------------------------------------------------------------- */
.contact {
  background-color: var(--clr-bg-dark);
}

.contact-card {
  background: var(--clr-bg-surface);
  border: 1px solid var(--border-color-dark);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.contact-info {
  background: linear-gradient(135deg, #182234 0%, #0f172a 100%);
  padding: 3rem;
  border-right: 1px solid var(--border-color-dark);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1rem;
}

.contact-desc {
  color: var(--clr-text-muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

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

.contact-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1rem;
  color: #e2e8f0;
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: rgba(217, 119, 6, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--clr-accent-light);
  flex-shrink: 0;
}

.contact-form {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

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

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #cbd5e1;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.85rem 1.1rem;
  background-color: var(--clr-bg-dark);
  border: 1px solid var(--border-color-dark);
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-size: 0.95rem;
  transition: border-color var(--transition-fast);
}

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

.form-note {
  font-size: 0.8rem;
  color: var(--clr-text-muted);
  text-align: center;
}

.toast-message {
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  line-height: 1.5;
  text-align: center;
  transition: all var(--transition-normal);
  animation: fadeIn 0.3s ease-in-out;
}

.toast-message.success {
  background-color: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.5);
  color: #4ade80;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.1);
}

.toast-message.error {
  background-color: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.5);
  color: #f87171;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.1);
}

.website-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.btn-loading {
  position: relative;
  pointer-events: none;
  opacity: 0.8;
}

.btn-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #ffffff;
  animation: spin 0.8s linear infinite;
  margin-right: 0.5rem;
  vertical-align: middle;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

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

/* --------------------------------------------------------------------------
   14. Footer
   -------------------------------------------------------------------------- */
.footer {
  background-color: #090d16;
  border-top: 1px solid var(--border-color-dark);
  padding-top: 4rem;
  padding-bottom: 2rem;
  color: var(--clr-text-muted);
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  margin-top: 1rem;
  font-size: 0.9rem;
  line-height: 1.6;
}

.brand-benefit {
  color: var(--clr-accent-light);
  font-weight: 500;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

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

.footer-contact p {
  margin-bottom: 0.6rem;
  font-size: 0.9rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.85rem;
}

/* --------------------------------------------------------------------------
   15. Modal Dialogs for Services
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
  padding: 1.5rem;
}

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

.modal-card {
  background: var(--clr-bg-surface);
  border: 1px solid var(--border-color-dark);
  border-radius: var(--radius-lg);
  max-width: 750px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  transform: scale(0.95);
  transition: transform var(--transition-fast);
}

.modal-overlay.active .modal-card {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  cursor: pointer;
  font-size: 1.2rem;
  transition: background var(--transition-fast);
}

.modal-close:hover {
  background: var(--clr-accent);
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1rem;
}

.modal-body {
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.7;
}

.modal-body h4 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--clr-accent-light);
  margin: 1.5rem 0 0.5rem;
}

.modal-body ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.modal-body li {
  margin-bottom: 0.4rem;
}

/* --------------------------------------------------------------------------
   16. Responsive Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
  .hero-title { font-size: 2.75rem; }
  .calc-grid { grid-template-columns: 1fr; }
  .about-container { grid-template-columns: 1fr; }
  .contact-card { grid-template-columns: 1fr; }
  .contact-info { border-right: none; border-bottom: 1px solid var(--border-color-dark); }
  .footer-container { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  .header-container { height: 70px; }
  .mobile-menu-btn { display: flex; }
  .nav {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: var(--clr-bg-dark);
    padding: 2rem;
    border-bottom: 1px solid var(--border-color-dark);
    transform: translateY(-150%);
    transition: transform var(--transition-normal);
  }
  .nav.active {
    transform: translateY(0);
  }
  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
  .hero-title { font-size: 2.2rem; }
  .hero-subtitle { font-size: 1.05rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .services-grid { grid-template-columns: 1fr; }
  .calc-card, .contact-form, .contact-info { padding: 1.75rem; }
}
