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

/* --- CUSTOM VARIABLES --- */
:root {
  --font-header: 'Unbounded', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Color Palette - Premium Beige & Gold (KUB32 v3.2) */
  --dark-main: #1D170E;
  --dark-brown: #29241B;
  --brown: #3B3022;

  --bg-main: #F5ECDF;
  --bg-card: #EFE4D4;
  --bg-soft: #DBCEBC;

  --gold: #C99645;
  --gold-light: #D8A64A;

  --text-main: #1D170E;
  --text-muted: #524535;
  --text-light: #F8F1E7;

  --border: #B6A68F;

  /* Compatibility aliases */
  --bg-primary: var(--bg-main);
  --bg-secondary: var(--bg-card);
  --text-dark: var(--text-main);
  
  --primary-blue: var(--gold);
  --primary-blue-hover: var(--gold-light);
  --accent-cyan: var(--gold-light);
  --accent-glow: rgba(201, 150, 69, 0.12);
  --accent-glow-bright: rgba(216, 166, 74, 0.25);
  
  --border-glass: var(--border);
  --border-glass-blue: var(--border);
  
  --shadow-sm: 0 4px 6px -1px rgba(29, 23, 14, 0.05), 0 2px 4px -2px rgba(29, 23, 14, 0.05);
  --shadow-md: 0 10px 15px -3px rgba(29, 23, 14, 0.05), 0 4px 6px -4px rgba(29, 23, 14, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(29, 23, 14, 0.06), 0 8px 10px -6px rgba(29, 23, 14, 0.06);
  --shadow-glow: 0 0 30px rgba(201, 150, 69, 0.20);
  --shadow-glow-bright: 0 0 40px rgba(216, 166, 74, 0.40);

  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --border-radius-sm: 12px;
  --border-radius-md: 20px;
  --border-radius-lg: 32px;
}

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

html, body {
  max-width: 100% !important;
  overflow-x: hidden !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-dark);
  line-height: 1.6;
}

/* --- TYPOGRAPHY & HEADINGS --- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-header);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

p {
  font-size: 1.05rem;
  color: var(--text-muted);
  font-weight: 400;
}

/* --- CUSTOM SCROLLBAR --- */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: rgba(37, 99, 235, 0.2);
  border-radius: 10px;
  border: 2px solid var(--bg-primary);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-blue);
}

/* --- GLOW EFFECTS & UTILITIES --- */
.text-gradient {
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.glow-overlay {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent-glow) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-sm);
  border-radius: var(--border-radius-md);
  transition: var(--transition-smooth);
}

.glass-card:hover {
  border-color: var(--border-glass-blue);
  box-shadow: var(--shadow-md), var(--shadow-glow);
  transform: translateY(-4px);
}

/* --- INTERACTIVE BUTTONS --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-header);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-cyan));
  color: #ffffff;
  padding: 16px 32px;
  border: none;
  border-radius: 50px; /* Capsule pill button */
  cursor: pointer;
  box-shadow: 0 10px 20px -10px rgba(37, 99, 235, 0.5);
  transition: var(--transition-smooth);
  text-decoration: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px -10px rgba(37, 99, 235, 0.6), var(--shadow-glow);
  background: linear-gradient(135deg, var(--primary-blue-hover), var(--accent-cyan));
}

.btn-primary-circle-arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-header);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: #ffffff;
  color: var(--text-dark);
  padding: 16px 32px;
  border: 1.5px solid rgba(37, 99, 235, 0.4); /* Light blue border resting state */
  border-radius: 50px; /* Capsule pill button */
  cursor: pointer;
  transition: var(--transition-smooth);
  text-decoration: none;
}

.btn-secondary:hover {
  background: #ffffff;
  border-color: var(--primary-blue);
  box-shadow: var(--shadow-sm), var(--shadow-glow);
  transform: translateY(-2px);
  color: var(--primary-blue);
}

/* --- HEADER / NAVIGATION --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(245, 236, 223, 0.85); /* brand beige with transparency */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(182, 166, 143, 0.15);
  transition: var(--transition-smooth);
  padding: 16px 0;
}

header.scrolled {
  padding: 8px 0;
  background: rgba(245, 236, 223, 0.95) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-bottom: 1px solid rgba(182, 166, 143, 0.3) !important;
  box-shadow: var(--shadow-sm) !important;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-header);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--text-dark);
  text-decoration: none;
}

.logo span {
  color: var(--primary-blue);
}

/* 3D ROTATING CUBE LOGO (RE-CALIBRATED SMOOTH MOTION) */
.logo-cube-wrapper {
  perspective: 400px;
  perspective-origin: 50% 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-cube {
  position: relative;
  width: 22px;
  height: 22px;
  transform-style: preserve-3d;
  will-change: transform;
  transform: rotateX(-25deg) rotateY(45deg);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo:hover .logo-cube {
  transform: rotateX(-25deg) rotateY(225deg); /* Spin on hover */
}

.logo-cube-face {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 1px solid var(--bg-main); /* Light gap between faces like reference */
  backface-visibility: visible;
  border-radius: 2px;
  transform-style: preserve-3d;
}

/* Facets colors as per ref: Top=Gold, Left=Dark, Right=Brown */
.face-front  { transform: rotateY(0deg) translateZ(11px); background-color: var(--brown); }
.face-back   { transform: rotateY(180deg) translateZ(11px); background-color: var(--dark-main); }
.face-left   { transform: rotateY(-90deg) translateZ(11px); background-color: var(--dark-main); }
.face-right  { transform: rotateY(90deg) translateZ(11px); background-color: var(--brown); }
.face-top    { transform: rotateX(90deg) translateZ(11px); background-color: var(--gold-light); }
.face-bottom { transform: rotateX(-90deg) translateZ(11px); background-color: var(--dark-main); }

.nav-menu {
  display: flex;
  list-style: none;
  gap: 28px;
}

.nav-link {
  font-weight: 600;
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition-smooth);
  position: relative;
}

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

.nav-link:hover {
  color: var(--gold);
}

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

/* Phone Container Capsule - 1:1 Reference */
.phone-capsule {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(201, 150, 69, 0.08);
  border: 1px solid rgba(201, 150, 69, 0.15);
  padding: 10px 20px;
  border-radius: 50px;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.phone-capsule:hover {
  background: rgba(201, 150, 69, 0.15);
  border-color: var(--gold);
}

.phone-icon-wrapper {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--dark-main);
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.phone-details .phone-num {
  font-family: var(--font-header);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-main);
  text-decoration: none;
  line-height: 1.2;
  transition: var(--transition-smooth);
}

.phone-capsule:hover .phone-num {
  color: var(--gold);
}

.phone-details .phone-hours {
  font-size: 0.7rem;
  color: var(--text-muted);
  line-height: 1.2;
}

/* --- BURGER MENU & MOBILE DRAWER WIDGETS --- */
.burger-menu-btn {
  display: none; /* Hidden on desktop */
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
  padding: 0;
  outline: none;
}

.burger-bar {
  width: 100%;
  height: 2px;
  background-color: var(--text-main);
  border-radius: 4px;
  transition: var(--transition-smooth);
}

/* Mobile Drawer Backdrop Overlay */
.mobile-drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1999;
  display: none;
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-drawer-backdrop.active {
  display: block;
  opacity: 1;
}

/* Slide-in Mobile Drawer Menu container */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -320px; /* Hidden state */
  width: 300px;
  height: 100vh;
  background: #ffffff;
  z-index: 2000;
  box-shadow: -10px 0 40px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  padding: 24px;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-drawer.active {
  right: 0;
}

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

.mobile-drawer-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-dark);
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.mobile-drawer-close:hover {
  transform: rotate(90deg);
  color: var(--primary-blue);
}

.mobile-drawer-nav {
  flex-grow: 1;
  overflow-y: auto;
}

.mobile-drawer-menu-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mobile-drawer-link {
  font-family: var(--font-header);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  text-decoration: none;
  transition: var(--transition-smooth);
  display: inline-block;
  position: relative;
}

.mobile-drawer-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background: var(--primary-blue);
  transition: var(--transition-smooth);
}

.mobile-drawer-link:hover {
  color: var(--primary-blue);
}

.mobile-drawer-link:hover::after {
  width: 100%;
}

.mobile-drawer-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding-top: 24px;
  margin-top: 20px;
}

.phone-capsule-drawer {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.phone-capsule-drawer .phone-num {
  font-family: var(--font-header);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.phone-capsule-drawer .phone-hours {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* --- HERO SECTION --- */
.hero {
  position: relative;
  padding: 150px 24px 80px;
  max-width: 1280px;
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
}

.hero-content h1 {
  font-size: 3.2rem;
  margin-bottom: 24px;
  line-height: 1.2;
  color: var(--text-dark);
  font-weight: 800;
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 36px;
  max-width: 580px;
  color: var(--text-muted);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

/* Horizontal Benefit Capsule - 1:1 Reference */
.benefits-container {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 18px 30px;
  border-radius: var(--border-radius-sm);
  box-shadow: var(--shadow-sm);
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.benefit-item span {
  font-size: 0.8rem;
  font-family: var(--font-header);
  font-weight: 600;
  color: var(--text-dark);
}

.benefit-icon-wrapper {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(201, 150, 69, 0.1);
  border: 1.5px solid var(--gold);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition-smooth);
  box-shadow: 0 2px 5px rgba(201, 150, 69, 0.05);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.benefit-icon-wrapper svg {
  width: 18px;
  height: 18px;
  transition: var(--transition-smooth);
}

.benefit-item:hover .benefit-icon-wrapper {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--dark-main);
  transform: scale(1.1);
  box-shadow: 0 5px 12px rgba(201, 150, 69, 0.25);
}

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

.truck-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 660px;
  border-radius: var(--border-radius-lg);
  overflow: visible;
}

.truck-image {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius-lg);
  transition: var(--transition-smooth);
  position: relative;
  z-index: 3;
  mix-blend-mode: multiply;
  transform: scale(1.2);
  transform-origin: center;
}

/* Floating Badges Style */
/* --- HERO SHIELD & FLOATING CARDS (1:1 Reference Layout) --- */
.floating-badge {
  position: absolute;
  z-index: 2;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.12), var(--shadow-glow);
  transition: var(--transition-smooth);
}

.hero-card {
  width: 190px;
  height: 220px;
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.hero-card:hover {
  transform: translateY(-4px) !important;
  border-color: var(--primary-blue) !important;
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.15), var(--shadow-glow) !important;
}

/* Common Text elements inside Hero Cards */
.hero-card h4 {
  font-family: var(--font-header);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-dark);
  text-transform: none !important;
  letter-spacing: -0.01em;
  margin: 0;
  line-height: 1.2;
}

.hero-card .price {
  font-family: var(--font-header);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-blue);
  margin-top: auto;
}

.hero-card .price-unit {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
}

.hero-card .subtitle {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.2;
  margin-top: 2px;
}

/* Card Header with icons/checkmarks */
.hero-card .card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 10px;
  margin-bottom: 2px;
}

/* Container for the 3 compact hero cards to prevent overlap on fluid layouts */
.hero-cards-container {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 535px; /* Fixed width to guarantee 20px gaps and zero overlaps */
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  z-index: 2;
}

.hero-cards-container .hero-card.compact {
  width: 165px;
  height: 100px;
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04), var(--shadow-glow);
  position: relative !important;
  left: auto !important;
  right: auto !important;
  pointer-events: auto;
  transition: var(--transition-smooth);
}

.hero-cards-container .hero-card.compact:hover {
  transform: translateY(-4px) !important;
  border-color: var(--primary-blue) !important;
  box-shadow: 0 15px 35px rgba(37, 99, 235, 0.12), var(--shadow-glow) !important;
}

.hero-card.compact .card-top {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
}

.hero-card.compact .card-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.hero-card.compact h4 {
  font-family: var(--font-header);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -0.01em;
  margin: 0;
  line-height: 1.25;
}

.hero-card.compact .price {
  font-family: var(--font-header);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary-blue);
  line-height: 1;
}

.hero-card.compact .price-unit {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-muted);
}

/* 1. Left Card: Crushed Stone */
.badge-crushed-stone {
  top: 5px;
  z-index: 1 !important;
}

/* 2. Middle Card: Beton (Active dark prominent card) */
.badge-concrete {
  top: -30px;
  background: var(--dark-main) !important;
  background-color: var(--dark-main) !important;
  opacity: 1 !important;
  color: var(--text-light) !important;
  border: 1px solid var(--border) !important;
  box-shadow: 0 20px 45px -10px rgba(201, 150, 69, 0.4), var(--shadow-glow-bright) !important;
  height: 108px !important; /* Slightly taller */
  z-index: 2 !important;
}

.badge-concrete h4 {
  color: #ffffff !important;
}

.badge-concrete .status-tag {
  background: rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
}

.badge-concrete .price {
  color: #ffffff !important;
}

.badge-concrete .price-unit {
  color: rgba(255, 255, 255, 0.8) !important;
}

.badge-concrete .checkmark-circle {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* 3. Right Card: Sand */
.badge-sand {
  top: 5px;
  z-index: 1 !important;
}

/* 4. Bottom Horizontal Location Badge */
.hero-badge-horizontal {
  bottom: -45px;
  left: 50%;
  transform: translateX(-50%);
  padding: 12px 24px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border-glass-blue);
  animation-delay: 1.5s;
  max-width: 320px;
  width: auto;
  z-index: 4;
}

.hero-badge-horizontal:hover {
  transform: translateX(-50%) !important;
  border-color: var(--primary-blue) !important;
  box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.15), var(--shadow-glow) !important;
}

.badge-icon-wrapper-blue {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.1);
}

.badge-info-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.badge-info-details h4 {
  font-family: var(--font-header);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
  text-transform: none !important;
}

.badge-info-details p {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.3;
}

.status-tag {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 3px 8px;
  font-size: 0.65rem;
  font-weight: 700;
  border-radius: 4px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary-blue);
  text-transform: uppercase;
}

/* Wavy Blue Decorative Background Pattern */
.bg-wave-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.bg-wave-svg {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 100%;
  opacity: 0.45;
}

/* --- SECTION GENERAL STYLE --- */
section.py-section {
  padding: 100px 24px;
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
}

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

.section-header h2 {
  font-size: 2.3rem;
  margin-bottom: 20px;
}

/* --- SECTION 1: MATERIALS GRID (ENLARGED INFOGRAPHICS) --- */
.materials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.material-card {
  padding: 40px 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.material-icon-wrapper {
  width: 170px; /* Enlarged infographic wrapper */
  height: 170px; /* Enlarged infographic wrapper */
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
  border-radius: 50%;
  background: #ffffff; /* White background to match image background */
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.material-icon-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Cover the whole area without gaps */
  transition: var(--transition-smooth);
}

.material-card:hover .material-icon-wrapper {
  background: #ffffff;
  border-color: var(--primary-blue);
  box-shadow: var(--shadow-glow);
}

.material-card:hover .material-icon-wrapper img {
  transform: scale(1.1) rotate(3deg); /* Slightly smaller scale step for fit cover */
}

.material-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.material-card p {
  font-size: 0.95rem;
  margin-bottom: 24px;
  flex-grow: 1;
}

/* --- SECTION 2: HOW IT WORKS (LARGER ICONS) --- */
.steps-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  position: relative;
}

.step-card {
  padding: 40px 30px;
  text-align: left;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
}

.step-number {
  font-family: var(--font-header);
  font-size: 4rem;
  font-weight: 800;
  color: rgba(37, 99, 235, 0.08);
  position: absolute;
  top: 10px;
  right: 20px;
  user-select: none;
}

.step-icon {
  width: 68px; /* Enlarged step icon wrapper */
  height: 68px; /* Enlarged step icon wrapper */
  border-radius: 16px;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-blue);
  margin-bottom: 28px;
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-sm);
}

.step-icon svg {
  width: 32px; /* Enlarged step icon svg */
  height: 32px; /* Enlarged step icon svg */
}

.step-card h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.step-card p {
  font-size: 0.9rem;
}

/* Connectors via CSS lines */
.steps-container::after {
  content: '';
  position: absolute;
  top: 80px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.05), rgba(37, 99, 235, 0.4) 50%, rgba(37, 99, 235, 0.05));
  z-index: 1;
}

/* --- SECTION 3: WHY CHOOSE US --- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.why-card {
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.why-icon {
  width: 48px;
  height: 48px;
  color: var(--primary-blue);
}

.why-card h3 {
  font-size: 1.15rem;
}

.why-card p {
  font-size: 0.95rem;
}

/* --- SECTION 4: CTA PANEL (REDESIGNED 2-COLUMN CALCULATOR) --- */
.calc-header {
  text-align: center;
  margin-bottom: 40px;
}

.calc-header h2 {
  font-size: 2.2rem;
  color: var(--text-main);
  margin-bottom: 12px;
}

.calc-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
}

.cta-panel {
  position: relative;
  border-radius: var(--border-radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 50px 60px;
  color: var(--text-main);
  box-shadow: var(--shadow-md);
  margin-bottom: 40px;
  z-index: 10;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.calc-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: start;
}

.calc-params {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.calc-column-title {
  font-family: var(--font-header);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.calc-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.calc-field label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.select-wrapper, .address-wrapper, .date-input-wrapper {
  position: relative;
  width: 100%;
}

.select-wrapper select, .address-wrapper input, .date-input-wrapper input {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-main);
  border: 1.5px solid var(--border);
  border-radius: var(--border-radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-main);
  outline: none;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.select-wrapper select:focus, .address-wrapper input:focus, .date-input-wrapper input:focus {
  border-color: var(--gold);
  background: #ffffff;
}

.select-wrapper select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23C99645' stroke-width='3'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19.5 8.25l-7.5 7.5-7.5-7.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 14px;
  padding-right: 40px;
}

/* Volume control with +/- buttons */
.volume-control {
  display: flex;
  align-items: center;
  background: var(--bg-main);
  border: 1.5px solid var(--border);
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  max-width: 200px;
}

.volume-btn {
  width: 50px;
  height: 48px;
  background: none;
  border: none;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.volume-btn:hover {
  background: var(--bg-soft);
  color: var(--gold);
}

.volume-control input {
  flex-grow: 1;
  width: 50px;
  height: 48px;
  text-align: center;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  outline: none;
}

/* Custom styled Truck Radio Selector Buttons */
.truck-select-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.truck-option {
  cursor: pointer;
  position: relative;
  display: block;
}

.truck-option input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.truck-option span {
  display: block;
  text-align: center;
  padding: 12px 8px;
  font-size: 0.8rem;
  font-weight: 700;
  background: var(--bg-main);
  border: 1.5px solid var(--border);
  border-radius: var(--border-radius-sm);
  color: var(--text-main);
  transition: var(--transition-smooth);
}

.truck-option:hover span {
  border-color: var(--gold);
  background: var(--bg-soft);
}

.truck-option input:checked ~ span {
  background: var(--dark-main);
  color: var(--text-light);
  border-color: var(--dark-main);
  box-shadow: var(--shadow-sm);
}

/* Date input wrapper styling */
.date-input-wrapper {
  position: relative;
}

.date-input-wrapper input {
  cursor: pointer;
  padding-right: 46px;
}

.calendar-icon {
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  color: var(--gold);
  pointer-events: none;
  display: flex;
  align-items: center;
}

/* Custom check box */
.calc-checkbox-field {
  margin-top: 10px;
}

.checkbox-container {
  display: flex;
  align-items: center;
  position: relative;
  padding-left: 32px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  user-select: none;
}

.checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  height: 20px;
  width: 20px;
  background-color: var(--bg-main);
  border: 1.5px solid var(--border);
  border-radius: 4px;
  transition: var(--transition-smooth);
}

.checkbox-container:hover input ~ .checkmark {
  border-color: var(--gold);
}

.checkbox-container input:checked ~ .checkmark {
  background-color: var(--gold);
  border-color: var(--gold);
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
  display: block;
}

.checkbox-container .checkmark:after {
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid var(--dark-main);
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}

/* Right Column: Cost Card (Dark and gold accents) */
.calc-summary {
  background: var(--dark-brown);
  border: 1px solid var(--brown);
  border-radius: var(--border-radius-md);
  padding: 36px;
  color: var(--text-light);
  box-shadow: var(--shadow-lg);
}

.summary-title {
  font-family: var(--font-header);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.summary-rows {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
}

.summary-row .row-label {
  color: var(--text-muted);
}

.summary-row .row-value {
  font-family: var(--font-header);
  font-size: 0.95rem;
  font-weight: 600;
}

.summary-divider {
  height: 1px;
  background: rgba(182, 166, 143, 0.15);
  margin: 24px 0;
}

.summary-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.summary-total-row .total-label {
  font-family: var(--font-header);
  font-size: 1.15rem;
  font-weight: 800;
}

.summary-total-row .total-value {
  font-family: var(--font-header);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--gold-light);
  text-shadow: 0 0 15px rgba(216, 166, 74, 0.15);
}

.summary-date-notice {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.btn-submit-calc {
  width: 100%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--dark-main);
  border: none;
  border-radius: var(--border-radius-sm);
  padding: 16px;
  font-family: var(--font-header);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 0 10px 20px -10px rgba(201, 150, 69, 0.4);
  margin-bottom: 30px;
}

.btn-submit-calc:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px -10px rgba(201, 150, 69, 0.5), var(--shadow-glow);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
}

.summary-guarantees {
  border-top: 1px solid rgba(182, 166, 143, 0.15);
  padding-top: 24px;
}

.guarantees-title {
  font-family: var(--font-header);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.guarantees-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.guarantees-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 500;
}

.guarantees-list li .check-icon {
  color: var(--gold-light);
  flex-shrink: 0;
}

/* Steps Row Panel below calculator */
.steps-row-panel {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  background: var(--dark-main);
  border: 1px solid var(--brown);
  border-radius: var(--border-radius-md);
  padding: 30px 40px;
  margin-top: 40px;
  box-shadow: var(--shadow-md);
}

.step-panel-item {
  display: flex;
  align-items: center;
  gap: 20px;
}

.step-panel-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(201, 150, 69, 0.08);
  border: 1px solid rgba(201, 150, 69, 0.2);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(201, 150, 69, 0.05);
}

.step-panel-info h4 {
  font-family: var(--font-header);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 4px;
}

.step-panel-info p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.3;
}

.step-panel-divider {
  width: 1px;
  height: 40px;
  background: rgba(182, 166, 143, 0.15);
}
/* FLOATING CALENDAR DROPDOWN POPUP */
.calendar-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: 320px;
  background: #ffffff !important;
  color: var(--text-dark) !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  border-radius: var(--border-radius-sm);
  padding: 20px;
  z-index: 100;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  display: none; /* Controlled via JS */
  animation: fade-in 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.calendar-dropdown.active {
  display: block;
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-header);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark);
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.calendar-header button {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-smooth);
  font-size: 1rem;
}

.calendar-header button:hover {
  color: var(--primary-blue);
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  text-align: center;
  margin-top: 12px;
}

.calendar-day-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  padding-bottom: 5px;
  text-transform: uppercase;
}

.calendar-day-btn {
  background: none;
  border: 1px solid transparent;
  color: var(--text-dark);
  font-size: 0.85rem;
  padding: 8px 4px;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.calendar-day-btn:hover {
  background: rgba(37, 99, 235, 0.08);
  border-color: rgba(37, 99, 235, 0.15);
}

.calendar-day-btn.selected {
  background: var(--primary-blue) !important;
  border-color: var(--accent-cyan) !important;
  box-shadow: 0 0 15px rgba(37, 99, 235, 0.4) !important;
  color: #ffffff !important;
  font-weight: 700;
}

.calendar-day-btn.disabled {
  color: #cbd5e1;
  cursor: not-allowed;
  pointer-events: none;
  opacity: 0.35;
}

/* --- FOOTER --- */
footer {
  background: #0f172a;
  color: #f8fafc;
  padding: 80px 24px 40px;
}

.footer-top {
  max-width: 1280px;
  margin: 0 auto 60px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 60px;
}

.footer-logo {
  color: #ffffff;
  margin-bottom: 20px;
}

.footer-logo .logo-cube-face {
  border-color: #ffffff;
  background: rgba(255,255,255,0.1);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-link {
  color: #94a3b8;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.footer-link:hover {
  color: #ffffff;
}

.footer-badges {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-badge-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.03);
  padding: 12px 18px;
  border-radius: var(--border-radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-badge-item span {
  font-size: 0.8rem;
  font-family: var(--font-header);
  font-weight: 500;
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #64748b;
  font-size: 0.9rem;
}

.footer-bottom-left {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}

#open-privacy-footer-lnk {
  color: #64748b;
  text-decoration: none;
  transition: var(--transition-smooth);
  font-size: 0.85rem;
}

.footer-bottom-right {
  display: flex;
  align-items: center;
}

/* --- DIALOG MODAL CALLBACK --- */
dialog.callback-dialog {
  border: none;
  background: transparent;
  max-width: 500px;
  width: 90%;
  margin: auto;
}

dialog.callback-dialog::backdrop {
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(8px);
}

.dialog-content {
  background: #ffffff;
  border-radius: var(--border-radius-md);
  padding: 40px;
  position: relative;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.dialog-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
}

.dialog-content h2 {
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.dialog-content p {
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
}

.form-control {
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--border-radius-sm);
  padding: 16px;
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  background: var(--bg-primary);
  transition: var(--transition-smooth);
}

.form-control:focus {
  border-color: var(--primary-blue);
  background: #ffffff;
}

/* Native form validation states using :user-valid / :user-invalid */
.form-control:user-invalid {
  border-color: #ef4444;
  background-color: #fef2f2;
}

.form-control:user-valid {
  border-color: #22c55e;
}

/* --- DIALOG MODAL TRANSITIONS (allow-discrete) --- */
dialog.callback-dialog[open] {
  opacity: 1;
  transform: scale(1);
  
  @starting-style {
    opacity: 0;
    transform: scale(0.95);
  }
}

dialog.callback-dialog {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.35s ease-out, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), display 0.35s allow-discrete, overlay 0.35s allow-discrete;
}

dialog.callback-dialog::backdrop {
  opacity: 0;
  transition: opacity 0.35s ease-out, display 0.35s allow-discrete, overlay 0.35s allow-discrete;
}

dialog.callback-dialog[open]::backdrop {
  opacity: 1;
  
  @starting-style {
    opacity: 0;
  }
}

/* --- ANIMATIONS (KEYFRAMES) --- */
/* Smooth, Glitch-Free 3D Multi-Axis Rotation showing all sides dynamically */
@keyframes cube-rotate {
  0% {
    transform: rotateX(-20deg) rotateY(-20deg) rotateZ(0deg);
  }
  50% {
    transform: rotateX(160deg) rotateY(200deg) rotateZ(180deg);
  }
  100% {
    transform: rotateX(340deg) rotateY(340deg) rotateZ(360deg);
  }
}

@keyframes float-badge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes cube-levitate {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(3deg); }
}

@keyframes fade-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- SCROLL-DRIVEN ENTRANCE ANIMATIONS (PRO EFFECT) --- */
@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    @keyframes reveal-up {
      from {
        opacity: 0;
        transform: translateY(60px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }
    
    @keyframes scale-up-card {
      from {
        opacity: 0;
        scale: 0.9;
      }
      to {
        opacity: 1;
        scale: 1;
      }
    }

    .reveal-scroll {
      animation: reveal-up auto cubic-bezier(0.16, 1, 0.3, 1) backwards;
      animation-timeline: view();
      animation-range: entry 10% entry 45%;
    }

    .reveal-card-scroll {
      animation: scale-up-card auto cubic-bezier(0.16, 1, 0.3, 1) backwards;
      animation-timeline: view();
      animation-range: entry 10% entry 40%;
    }
  }
}

/* --- STATS COUNTERS SECTION --- */
.stats-section {
  padding-top: 0 !important;
  padding-bottom: 80px !important;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: #ffffff;
  border: 1px solid rgba(37, 99, 235, 0.08);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md), 0 0 40px rgba(37, 99, 235, 0.04);
  overflow: hidden;
}

.stat-item {
  padding: 48px 40px;
  text-align: center;
  position: relative;
  border-right: 1px solid rgba(0, 0, 0, 0.05);
  transition: var(--transition-smooth);
}

.stat-item:last-child {
  border-right: none;
}

.stat-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.03), rgba(6, 182, 212, 0.03));
  opacity: 0;
  transition: var(--transition-smooth);
}

.stat-item:hover::before {
  opacity: 1;
}

.stat-number {
  display: block;
  font-family: var(--font-header);
  font-size: 3.2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 14px;
  transition: var(--transition-smooth);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-main);
  font-weight: 600;
  line-height: 1.5;
}

/* --- REVIEWS SECTION --- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.review-card {
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.review-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.review-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-cyan));
  color: #ffffff;
  font-family: var(--font-header);
  font-weight: 800;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.2);
}

.review-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex-grow: 1;
}

.review-name {
  font-family: var(--font-header);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-dark);
}

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

.review-stars {
  display: flex;
  gap: 3px;
  flex-shrink: 0;
}

.review-stars svg {
  width: 16px;
  height: 16px;
  color: #f59e0b;
  fill: #f59e0b;
}

.review-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
  font-style: italic;
  flex-grow: 1;
}

.review-tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 50px;
  background: rgba(37, 99, 235, 0.06);
  color: var(--primary-blue);
  align-self: flex-start;
  border: 1px solid rgba(37, 99, 235, 0.1);
}

/* --- FLOATING TELEGRAM CTA BUTTON --- */
.tg-float {
  position: fixed;
  bottom: 100px;
  right: 28px;
  z-index: 9000;
  display: flex;
  align-items: center;
  gap: 0;
  background: #229ED9;
  color: #ffffff;
  border-radius: 50px;
  padding: 14px 14px;
  text-decoration: none;
  box-shadow: 0 8px 30px rgba(34, 158, 217, 0.45), 0 0 0 0 rgba(34, 158, 217, 0.4);
  overflow: hidden;
  max-width: 52px;
  transition: max-width 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
  animation: tg-pulse 2.5s ease-in-out infinite;
  will-change: transform;
}

.tg-float:hover {
  max-width: 180px;
  padding: 14px 22px;
  gap: 10px;
  box-shadow: 0 12px 40px rgba(34, 158, 217, 0.55);
  animation: none;
}

.tg-float-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tg-float-icon svg {
  width: 24px;
  height: 24px;
  fill: #ffffff;
}

.tg-float-text {
  font-family: var(--font-header);
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  overflow: hidden;
  max-width: 0;
  transition: opacity 0.3s ease 0.1s, max-width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  letter-spacing: 0.03em;
}

.tg-float:hover .tg-float-text {
  opacity: 1;
  max-width: 120px;
}

@keyframes tg-pulse {
  0%, 100% {
    box-shadow: 0 8px 30px rgba(34, 158, 217, 0.45), 0 0 0 0 rgba(34, 158, 217, 0.4);
  }
  50% {
    box-shadow: 0 8px 30px rgba(34, 158, 217, 0.45), 0 0 0 10px rgba(34, 158, 217, 0);
  }
}

/* --- RESPONSIVE BREAKPOINTS --- */
@media (max-width: 1200px) {
  .cta-form-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 80px;
    text-align: center;
  }
  .hero-content p {
    margin: 0 auto 40px;
  }
  .hero-actions {
    justify-content: center;
  }
  .benefits-container {
    flex-wrap: wrap;
    justify-content: center;
  }
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .calc-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .steps-row-panel {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 30px 24px;
  }
  .step-panel-divider {
    width: 100%;
    height: 1px;
  }
  .step-panel-item {
    justify-content: flex-start;
  }
  .steps-container {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps-container::after {
    display: none;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem !important;
  }
  .nav-menu {
    display: none;
  }
  #nav-phone-link {
    display: none !important;
  }
  .burger-menu-btn {
    display: flex !important;
  }
  .cta-form-row {
    grid-template-columns: 1fr;
  }
  .cta-submit-container {
    flex-direction: column;
    gap: 20px;
    text-align: center;
    align-items: center;
  }
  .cta-submit-group {
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    gap: 12px !important;
  }
  #form-input-phone {
    width: 100% !important;
  }
  .btn-submit-form {
    width: 100% !important;
    justify-content: center;
  }
  .why-grid {
    grid-template-columns: 1fr;
  }
  .steps-container {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  .footer-bottom-left {
    justify-content: center;
    gap: 16px;
  }
  .footer-bottom-right {
    justify-content: center;
  }
}

/* --- COOKIE CONSENT BANNER ( pill horizontal style ) --- */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  right: 24px;
  max-width: 500px;
  width: calc(100% - 48px);
  padding: 10px 16px;
  border-radius: 50px; /* Elegant horizontal pill */
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  z-index: 10000;
  background: rgba(255, 255, 255, 0.85) !important;
  border: 1px solid rgba(37, 99, 235, 0.15) !important;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.02), var(--shadow-glow);
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease-out;
}

.cookie-banner.active {
  transform: translateY(0);
  opacity: 1;
}

.cookie-banner-content {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-grow: 1;
}

.cookie-icon-wrapper {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(6, 182, 212, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent-cyan);
}

.cookie-banner-content p {
  font-size: 0.82rem;
  color: var(--text-dark);
  line-height: 1.4;
  margin: 0;
  font-weight: 500;
}

.cookie-banner button#accept-cookies-btn {
  padding: 8px 18px;
  font-size: 0.75rem;
  border-radius: 50px;
  box-shadow: none;
  flex-shrink: 0;
  text-transform: none;
  letter-spacing: 0;
}

.cookie-banner-content a {
  color: var(--primary-blue);
  text-decoration: underline;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.cookie-banner-content a:hover {
  color: var(--accent-cyan);
}

/* --- PRIVACY POLICY MODAL SPECIFIC STYLING --- */
dialog.privacy-dialog {
  border: none;
  background: transparent;
  max-width: 750px;
  width: 90%;
  margin: auto;
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.35s ease-out, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), display 0.35s allow-discrete, overlay 0.35s allow-discrete;
}

.privacy-dialog .dialog-content {
  max-height: 85vh;
  overflow-y: auto;
}

dialog.privacy-dialog::backdrop {
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 0.35s ease-out, display 0.35s allow-discrete, overlay 0.35s allow-discrete;
}

dialog.privacy-dialog[open] {
  opacity: 1;
  transform: scale(1);
  
  @starting-style {
    opacity: 0;
    transform: scale(0.95);
  }
}

dialog.privacy-dialog[open]::backdrop {
  opacity: 1;
  
  @starting-style {
    opacity: 0;
  }
}

.privacy-modal-body h3 {
  font-family: var(--font-header);
  font-size: 1.02rem;
  color: var(--text-dark);
  margin-top: 20px;
  margin-bottom: 8px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.privacy-modal-body p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.privacy-modal-body ul {
  padding-left: 20px;
  margin: 10px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.privacy-modal-body li {
  font-size: 0.95rem;
  color: var(--text-muted);
}

#open-privacy-footer-lnk:hover {
  color: #ffffff !important;
  text-decoration: underline !important;
}

@media (max-width: 640px) and (min-width: 577px) {
  .hero-cards-container {
    width: 460px !important;
  }
  .hero-cards-container .hero-card.compact {
    width: 140px !important;
    height: 90px !important;
    padding: 10px !important;
  }
  .badge-concrete {
    height: 96px !important;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 1.8rem !important;
    line-height: 1.25 !important;
    letter-spacing: -0.02em !important;
  }

  .hero {
    padding: 130px 16px 40px !important;
    min-height: auto !important;
  }

  .hero-grid {
    gap: 32px !important;
  }

  .hero-content p {
    font-size: 0.95rem !important;
    margin-bottom: 24px !important;
    line-height: 1.5 !important;
  }

  .hero-actions {
    margin-bottom: 32px !important;
  }

  .benefits-container {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    width: 100% !important;
    padding: 16px 20px !important;
    gap: 12px !important;
    box-sizing: border-box !important;
  }

  .benefit-item {
    width: 100% !important;
    justify-content: flex-start !important;
    text-align: left !important;
  }

  .hero-cards-container {
    position: absolute !important;
    top: -45px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: calc(100% - 16px) !important;
    max-width: 350px !important;
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: flex-end !important;
    z-index: 4 !important;
  }
  
  .hero-cards-container .hero-card.compact {
    position: static !important;
    width: 31% !important;
    height: 85px !important;
    padding: 8px 6px !important;
    border-radius: 12px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04), var(--shadow-glow) !important;
  }

  .cookie-banner {
    bottom: 16px;
    right: 16px;
    left: 16px;
    max-width: none;
    width: calc(100% - 32px);
    border-radius: var(--border-radius-sm);
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 12px;
  }
  .cookie-banner button {
    align-self: flex-end;
  }

  .hero-card.compact h4 {
    font-size: 0.58rem !important;
    line-height: 1.25 !important;
  }
  
  .hero-card.compact .price {
    font-size: 0.78rem !important;
  }
  
  .hero-card.compact .price-unit {
    font-size: 0.5rem !important;
  }
  
  .status-tag {
    padding: 1px 4px !important;
    font-size: 0.45rem !important;
    border-radius: 2px !important;
  }

  .hero-cards-container .hero-card.compact.badge-crushed-stone {
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
  }

  .hero-cards-container .hero-card.compact.badge-concrete {
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    height: 94px !important;
    transform: translateY(-4px) !important;
  }

  .hero-cards-container .hero-card.compact.badge-concrete .checkmark-circle {
    width: 12px !important;
    height: 12px !important;
  }
  
  .hero-cards-container .hero-card.compact.badge-concrete .checkmark-circle svg {
    width: 6px !important;
    height: 6px !important;
  }

  .hero-cards-container .hero-card.compact.badge-sand {
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
  }

  .cta-panel {
    padding: 30px 16px !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* LOWER BLOCKS OPTIMIZED WIDTH & SPACING */
  section.py-section {
    padding: 50px 16px !important;
  }

  .section-header {
    margin-bottom: 40px !important;
  }

  .section-header h2 {
    font-size: 1.8rem !important;
  }

  .materials-grid, .why-grid, .steps-container {
    justify-content: center !important;
    justify-items: center !important;
    gap: 20px !important;
  }

  .material-card, .why-card, .step-card {
    max-width: 340px !important;
    width: 100% !important;
    padding: 24px 20px !important;
    margin: 0 auto !important;
    border-radius: var(--border-radius-md) !important;
  }

  .material-icon-wrapper {
    width: 130px !important;
    height: 130px !important;
    margin-bottom: 20px !important;
  }

  .step-icon {
    width: 54px !important;
    height: 54px !important;
    border-radius: 12px !important;
    margin-bottom: 20px !important;
  }

  .step-icon svg {
    width: 24px !important;
    height: 24px !important;
  }

  .step-number {
    font-size: 3rem !important;
  }

  .interactive-visual {
    margin: 0 auto !important;
    width: 100% !important;
    max-width: 220px !important;
  }

  .hero-actions {
    flex-direction: column !important;
    width: 100% !important;
    align-items: stretch !important;
    gap: 12px !important;
  }
  
  .hero-actions .btn-primary, .hero-actions .btn-secondary {
    width: 100% !important;
    justify-content: center !important;
  }

  .hero-badge-horizontal {
    bottom: -35px;
    left: 16px;
    right: 16px;
    transform: none;
    max-width: none;
    width: calc(100% - 32px);
    padding: 8px 16px;
    gap: 10px;
    border-radius: 30px;
  }
  
  .badge-icon-wrapper-blue {
    width: 32px;
    height: 32px;
  }
  
  .badge-info-details h4 {
    font-size: 0.78rem;
  }
  
  .badge-info-details p {
    font-size: 0.65rem;
  }
}

/* --- RESPONSIVE: STATS + REVIEWS + TELEGRAM FLOAT --- */
@media (max-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-item:nth-child(2) {
    border-right: none;
  }
  .stat-item:nth-child(1), .stat-item:nth-child(2) {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }
  .reviews-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    border-radius: var(--border-radius-md);
  }
  .stat-item {
    padding: 32px 20px;
  }
  .stat-number {
    font-size: 2.4rem;
  }
  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .review-card {
    padding: 24px;
  }
  .tg-float {
    bottom: 20px;
    right: 20px;
  }
}

@media (max-width: 576px) {
  .stats-section {
    padding-bottom: 40px !important;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-item {
    padding: 24px 16px !important;
  }
  .stat-number {
    font-size: 2rem !important;
  }
  .stat-label {
    font-size: 0.75rem !important;
  }
  .review-card {
    padding: 20px 18px !important;
    gap: 14px !important;
  }
  .review-avatar {
    width: 44px !important;
    height: 44px !important;
    font-size: 0.78rem !important;
  }
  .review-name {
    font-size: 0.82rem !important;
  }
  .review-stars svg {
    width: 13px !important;
    height: 13px !important;
  }
  .review-text {
    font-size: 0.88rem !important;
  }
}

/* New calculator responsive overrides */
@media (max-width: 768px) {
  .cta-panel {
    padding: 30px 20px;
  }
  .calc-summary {
    padding: 24px;
  }
  .truck-select-group {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .cta-panel {
    padding: 24px 16px;
  }
  .calc-summary {
    padding: 20px 16px;
  }
}

/* --- DIALOG MODAL PRICE LIST --- */
dialog.price-dialog {
  border: none;
  background: transparent;
  max-width: 800px;
  width: 95%;
  margin: auto;
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.35s ease-out, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), display 0.35s allow-discrete, overlay 0.35s allow-discrete;
}

dialog.price-dialog::backdrop {
  background: rgba(29, 23, 14, 0.75);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.35s ease-out, display 0.35s allow-discrete, overlay 0.35s allow-discrete;
}

dialog.price-dialog[open] {
  opacity: 1;
  transform: scale(1);
  
  @starting-style {
    opacity: 0;
    transform: scale(0.95);
  }
}

dialog.price-dialog[open]::backdrop {
  opacity: 1;
  
  @starting-style {
    opacity: 0;
  }
}

.price-dialog .dialog-content {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--border-radius-lg);
  padding: 40px;
  position: relative;
  box-shadow: var(--shadow-lg), 0 0 50px rgba(201, 150, 69, 0.15);
  max-height: 90vh;
  overflow-y: auto;
}

.price-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  text-align: center;
}

/* Tabs */
.price-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  border-bottom: 1.5px solid var(--border);
  padding-bottom: 12px;
  justify-content: center;
}

.price-tab-btn {
  background: none;
  border: 1px solid var(--border);
  color: var(--text-main);
  padding: 10px 24px;
  border-radius: 50px;
  font-family: var(--font-header);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.price-tab-btn:hover {
  background: var(--bg-soft);
  border-color: var(--gold);
  color: var(--gold);
}

.price-tab-btn.active {
  background: var(--dark-main);
  color: var(--text-light);
  border-color: var(--dark-main);
}

/* Tab Content */
.price-tab-content {
  display: none;
}

.price-tab-content.active {
  display: block;
}

.tab-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.5;
  background: var(--bg-main);
  padding: 12px 16px;
  border-left: 3px solid var(--gold);
  border-radius: 4px;
}

/* Table Responsive */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--border);
}

/* Table */
.price-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  background: #ffffff;
  font-size: 0.9rem;
}

.price-table th {
  background: var(--dark-main);
  color: var(--text-light);
  padding: 16px;
  font-family: var(--font-header);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.price-table td {
  padding: 16px;
  border-bottom: 1px solid var(--bg-main);
  color: var(--text-main);
  vertical-align: middle;
}

.price-table tr:last-child td {
  border-bottom: none;
}

.price-table tr:nth-child(even) td {
  background: var(--bg-main);
}

.price-table tr:hover td {
  background: var(--bg-soft);
}

.td-brand {
  font-family: var(--font-header);
  font-weight: 700;
  color: var(--dark-main);
}

.td-price {
  font-family: var(--font-header);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--gold);
  white-space: nowrap;
}

.btn-table-order {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--dark-main);
  border: none;
  padding: 8px 16px;
  border-radius: var(--border-radius-sm);
  font-family: var(--font-header);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-table-order:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(201, 150, 69, 0.3);
}

/* Mobile responsive fixes for price modal */
@media (max-width: 576px) {
  .price-dialog .dialog-content {
    padding: 30px 16px;
  }
  .price-tabs {
    flex-direction: column;
    gap: 8px;
    border-bottom: none;
    padding-bottom: 0;
  }
  .price-tab-btn {
    width: 100%;
    text-align: center;
  }
  .price-table th, .price-table td {
    padding: 12px 10px;
    font-size: 0.8rem;
  }
  .td-price {
    font-size: 0.95rem;
  }
  .btn-table-order {
    padding: 6px 10px;
    font-size: 0.7rem;
  }
}
