/* ==========================================================
   Cerofugas 2026 Modern Glow, Lighting & Animation System
   ========================================================== */

/* 1. Global Color & Glow Tokens */
:root {
  --accent-color: #0284c7 !important;
  --nav-hover-color: #00d2ff !important;
  --nav-dropdown-hover-color: #00d2ff !important;
  --brand-cyan: #00d2ff;
  --brand-cyan-glow: rgba(0, 210, 255, 0.55);
  --brand-blue: #0284c7;
  --brand-dark: #0b1528;
  --brand-navy: #060c18;
  --safety-amber: #f59e0b;
  --safety-orange: #ff5722;
  --wa-green: #25D366;
  --wa-glow: rgba(37, 211, 102, 0.55);
}

/* 2. Header & Glassmorphism Navigation - Perfect Alignment */
.header {
  height: 76px;
  background: rgba(6, 12, 24, 0.94) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 210, 255, 0.18) !important;
  padding: 0 !important;
  transition: all 0.3s ease;
  z-index: 997;
  display: flex !important;
  align-items: center !important;
}

body.scrolled .header,
.scrolled .header {
  height: 70px;
  background: rgba(6, 12, 24, 0.98) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 210, 255, 0.15) !important;
  border-bottom-color: rgba(0, 210, 255, 0.3) !important;
}

.header .container-fluid,
.header .container-xxl,
.header .container-xl {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header .logo {
  display: flex;
  align-items: center;
  gap: 2px;
  line-height: 1;
  text-decoration: none;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
}

.header .logo .sitename {
  background: linear-gradient(135deg, #ffffff 40%, #00d2ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin: 0;
  line-height: 1;
}

.header .logo .dot {
  color: #00d2ff;
  font-size: 30px;
  font-weight: 900;
  line-height: 0.6;
  text-shadow: 0 0 12px rgba(0, 210, 255, 0.8);
  display: inline-block;
  align-self: flex-end;
  margin-bottom: 3px;
}

/* Desktop Navigation Alignment */
@media (min-width: 1200px) {
  .navmenu {
    display: flex;
    align-items: center;
    margin: 0 auto 0 20px;
    padding: 0;
  }

  .navmenu ul {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .navmenu>ul>li {
    padding: 0 !important;
    white-space: nowrap;
    display: flex;
    align-items: center;
  }

  .navmenu a,
  .navmenu a:focus,
  body.scrolled .navmenu a,
  body.scrolled .navmenu a:focus {
    color: rgba(255, 255, 255, 0.88) !important;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    padding: 8px 11px !important;
    border-radius: 8px;
    transition: all 0.2s ease;
    white-space: nowrap;
    text-decoration: none;
    line-height: 1.2;
    display: inline-flex;
    align-items: center;
  }

  .navmenu a:hover,
  .navmenu .active,
  body.scrolled .navmenu a:hover,
  body.scrolled .navmenu .active {
    color: #00d2ff !important;
    background: rgba(0, 210, 255, 0.08);
    text-shadow: 0 0 10px rgba(0, 210, 255, 0.6);
  }

  .navmenu a:before,
  .navmenu>ul>li>a:before {
    display: none !important;
  }
}

/* Header Right Actions Hub */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #00d2ff !important;
  font-weight: 700;
  font-size: 13.5px;
  text-decoration: none;
  padding: 7px 14px;
  border-radius: 50px;
  background: rgba(0, 210, 255, 0.08);
  border: 1px solid rgba(0, 210, 255, 0.35);
  transition: all 0.25s ease;
  white-space: nowrap;
  line-height: 1;
}

.nav-phone:hover {
  background: rgba(0, 210, 255, 0.2);
  border-color: #00d2ff;
  color: #ffffff !important;
  box-shadow: 0 0 15px rgba(0, 210, 255, 0.4);
  transform: translateY(-1px);
}

.btn-header-wa {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%) !important;
  color: #ffffff !important;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  transition: all 0.25s ease;
  white-space: nowrap;
  line-height: 1;
}

.btn-header-wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
  color: #ffffff !important;
}

.header .mobile-nav-toggle {
  color: #ffffff;
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.header .mobile-nav-toggle:hover {
  color: #00d2ff;
  background: rgba(0, 210, 255, 0.1);
}

/* Mobile Navmenu Styling */
@media (max-width: 1199px) {
  .navmenu ul {
    background: rgba(6, 12, 24, 0.96) !important;
    border: 1px solid rgba(0, 210, 255, 0.3) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
    border-radius: 16px !important;
    top: 75px !important;
  }

  .navmenu a,
  .navmenu a:focus {
    color: #ffffff !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 12px 20px !important;
  }

  .navmenu a:hover,
  .navmenu .active {
    color: #00d2ff !important;
    background: rgba(0, 210, 255, 0.1);
  }
}

/* 3. Hero Background Photo & Ambient Glow */
#hero {
  position: relative;
  overflow: hidden;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #060c18;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  z-index: 1;
  filter: brightness(0.85) contrast(1.08);
}

#hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 12, 24, 0.72) 0%, rgba(6, 12, 24, 0.45) 45%, rgba(6, 12, 24, 0.88) 100%),
              radial-gradient(circle at 50% 35%, rgba(0, 210, 255, 0.22) 0%, transparent 65%);
  z-index: 2;
  pointer-events: none;
}

#hero .container {
  position: relative;
  z-index: 3;
}

.hero-badge-glow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(14, 165, 233, 0.18) !important;
  color: #00d2ff !important;
  border: 1px solid rgba(0, 210, 255, 0.5) !important;
  box-shadow: 0 0 25px rgba(0, 210, 255, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 700;
  letter-spacing: 0.8px;
  animation: float-badge 4s ease-in-out infinite;
}

#hero h2 {
  color: #ffffff !important;
  text-shadow: 0 3px 25px rgba(0, 0, 0, 0.8), 0 0 35px rgba(0, 210, 255, 0.3);
  font-weight: 900 !important;
}

/* 4. Glowing CTAs & Micro-interactions */
.btn-wa-glow {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.45);
  position: relative;
  overflow: hidden;
  border-radius: 50px;
  padding: 14px 28px;
  font-weight: 700;
  font-size: 16px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
  animation: wa-ambient 3.5s infinite;
}

.btn-wa-glow:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.65), 0 0 20px rgba(37, 211, 102, 0.35);
  color: #ffffff !important;
}

.btn-cyan-glow {
  background: linear-gradient(135deg, #0284c7 0%, #00d2ff 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 6px 25px rgba(14, 165, 233, 0.45);
  border: none !important;
  border-radius: 50px;
  padding: 14px 28px;
  font-weight: 700;
  font-size: 16px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.btn-cyan-glow:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 35px rgba(0, 210, 255, 0.65), 0 0 25px rgba(0, 210, 255, 0.4);
  color: #ffffff !important;
}

/* Button Shimmer Sweep Effect */
.btn-shimmer {
  position: relative;
  overflow: hidden;
}
.btn-shimmer::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -80%;
  width: 50%;
  height: 200%;
  background: linear-gradient(60deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: rotate(25deg);
  transition: none;
}
.btn-shimmer:hover::after {
  left: 140%;
  transition: left 0.85s ease-in-out;
}

/* 5. Modern Card Backlights & Hover Sheen */
.constructions .card-item {
  border: 1px solid rgba(14, 165, 233, 0.16) !important;
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(6, 12, 24, 0.05);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
  position: relative;
}

.constructions .card-item:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 210, 255, 0.65) !important;
  box-shadow: 0 22px 50px -10px rgba(14, 165, 233, 0.3), 0 0 30px rgba(0, 210, 255, 0.16) !important;
}

.constructions .card-bg {
  overflow: hidden;
  border-radius: 16px;
  margin: 12px;
}

.constructions .card-bg img {
  border-radius: 14px;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.constructions .card-item:hover .card-bg img {
  transform: scale(1.07);
}

/* Services Cards */
.services .service-item {
  border: 1px solid rgba(14, 165, 233, 0.15) !important;
  border-radius: 22px;
  background: #ffffff;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
  position: relative;
  overflow: hidden;
}

.services .service-item:hover {
  transform: translateY(-7px);
  border-color: rgba(0, 210, 255, 0.65) !important;
  box-shadow: 0 20px 45px -10px rgba(14, 165, 233, 0.28), 0 0 25px rgba(0, 210, 255, 0.14) !important;
}

.services .service-item .icon {
  color: #0284c7 !important;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.services .service-item:hover .icon {
  color: #00d2ff !important;
  transform: scale(1.18) rotate(6deg);
  filter: drop-shadow(0 0 15px rgba(0, 210, 255, 0.7));
}

/* 6. Dark Futuristic Quote / Consultation Card */
.quote-card-modern {
  background: linear-gradient(145deg, #0b1528 0%, #060c18 100%) !important;
  border: 1px solid rgba(0, 210, 255, 0.3) !important;
  box-shadow: 0 25px 60px rgba(6, 12, 24, 0.7), 0 0 35px rgba(0, 210, 255, 0.2) !important;
  border-radius: 28px !important;
  position: relative;
  overflow: hidden;
}

.quote-card-modern::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 210, 255, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

/* 7. Live Beacon Dot & Radar Pulse */
.live-beacon {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.75);
  animation: beacon-ping 2s infinite;
  vertical-align: middle;
  margin-right: 6px;
}

@keyframes beacon-ping {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.75); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Acoustic Wave Radar Animation */
.acoustic-wave-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.acoustic-wave-badge::before {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1.5px solid rgba(0, 210, 255, 0.5);
  border-radius: 50px;
  animation: acoustic-radar 2.8s infinite;
  pointer-events: none;
}
@keyframes acoustic-radar {
  0% { transform: scale(0.95); opacity: 1; }
  100% { transform: scale(1.15); opacity: 0; }
}

/* 8. Modern Section Titles with Cyan Neon Underline */
.section-title h2 {
  position: relative;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.5px;
}
.section-title h2::after {
  content: "";
  display: block;
  width: 70px;
  height: 4px;
  background: linear-gradient(90deg, #0284c7, #00d2ff);
  box-shadow: 0 0 14px rgba(0, 210, 255, 0.65);
  margin: 12px auto 0;
  border-radius: 4px;
}

/* 9. Keyframe Floats & Glows */
@keyframes float-badge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes wa-ambient {
  0%, 100% { box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45); }
  50% { box-shadow: 0 10px 32px rgba(37, 211, 102, 0.7), 0 0 18px rgba(37, 211, 102, 0.4); }
}

/* 10. Sticky Mobile Bar Enhancements */
.mobile-sticky-bar-modern {
  background: rgba(6, 12, 24, 0.95) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(0, 210, 255, 0.25) !important;
  box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 210, 255, 0.1) !important;
}

/* 11. Custom Scrollbar for Smooth 2026 Experience */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #060c18;
}
::-webkit-scrollbar-thumb {
  background: #0284c7;
  border-radius: 5px;
  border: 2px solid #060c18;
}
::-webkit-scrollbar-thumb:hover {
  background: #00d2ff;
  box-shadow: 0 0 10px rgba(0, 210, 255, 0.8);
}

/* 12. Modern Outline Buttons & Interactive Accents */
.btn-outline-cyan {
  border: 1.5px solid rgba(0, 210, 255, 0.7) !important;
  color: #0284c7 !important;
  background: rgba(0, 210, 255, 0.04);
  font-weight: 700;
  border-radius: 50px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  position: relative;
  overflow: hidden;
}

.btn-outline-cyan:hover {
  background: linear-gradient(135deg, #0284c7 0%, #00d2ff 100%) !important;
  color: #ffffff !important;
  border-color: #00d2ff !important;
  box-shadow: 0 6px 20px rgba(0, 210, 255, 0.45);
  transform: translateY(-2px);
}

/* Icon pulse and float */
.pulse-icon {
  display: inline-block;
  animation: pulse-ring 2.5s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); filter: drop-shadow(0 0 8px rgba(0, 210, 255, 0.6)); }
  100% { transform: scale(1); }
}

/* Badge Neon Glow */
.badge-neon-cyan {
  background: rgba(0, 210, 255, 0.12) !important;
  color: #00d2ff !important;
  border: 1px solid rgba(0, 210, 255, 0.4) !important;
  box-shadow: 0 0 15px rgba(0, 210, 255, 0.2);
}

.badge-neon-amber {
  background: rgba(245, 158, 11, 0.15) !important;
  color: #f59e0b !important;
  border: 1px solid rgba(245, 158, 11, 0.4) !important;
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.2);
}

/* Alt Services Icon Box Glow */
.alt-services .icon-box i {
  color: #00d2ff !important;
  background: rgba(0, 210, 255, 0.1) !important;
  border: 1px solid rgba(0, 210, 255, 0.3) !important;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0, 210, 255, 0.2);
  transition: all 0.3s ease;
}

.alt-services .icon-box:hover i {
  background: #0284c7 !important;
  color: #ffffff !important;
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(0, 210, 255, 0.6);
}

/* Feature Tabs Neon */
.features .nav-tabs .nav-link.active {
  border-bottom: 3px solid #00d2ff !important;
  color: #0284c7 !important;
  text-shadow: 0 0 10px rgba(0, 210, 255, 0.4);
}

/* 13. Interactive Budget Calculator System */
.calculator-section {
  background: linear-gradient(180deg, #060c18 0%, #0b1528 50%, #060c18 100%);
  color: #ffffff;
  padding: 85px 0 95px 0;
  position: relative;
  overflow: hidden;
}

.calculator-section::before {
  content: "";
  position: absolute;
  top: 15%;
  left: 5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 210, 255, 0.14) 0%, transparent 70%);
  pointer-events: none;
}

.calculator-section::after {
  content: "";
  position: absolute;
  bottom: 10%;
  right: 5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(37, 211, 102, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.calc-card-main {
  background: rgba(11, 21, 40, 0.88);
  border: 1px solid rgba(0, 210, 255, 0.28);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 28px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 35px rgba(0, 210, 255, 0.15);
  padding: 38px;
  position: relative;
  z-index: 5;
}

.calc-service-tab {
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  padding: 14px 18px;
  border-radius: 16px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  user-select: none;
}

.calc-service-tab:hover {
  background: rgba(0, 210, 255, 0.12);
  border-color: rgba(0, 210, 255, 0.6);
  color: #00d2ff;
  transform: translateY(-2px);
}

.calc-service-tab.active {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.45) 0%, rgba(0, 210, 255, 0.35) 100%);
  border-color: #00d2ff;
  color: #ffffff;
  box-shadow: 0 0 25px rgba(0, 210, 255, 0.4);
}

.calc-option-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 14px 16px;
  cursor: pointer;
  transition: all 0.25s ease;
  color: #e2e8f0;
  user-select: none;
  height: 100%;
}

.calc-option-box:hover {
  border-color: rgba(0, 210, 255, 0.5);
  background: rgba(0, 210, 255, 0.08);
}

.calc-option-box.selected {
  border-color: #00d2ff;
  background: rgba(0, 210, 255, 0.18);
  color: #ffffff;
  box-shadow: 0 0 18px rgba(0, 210, 255, 0.3);
}

.calc-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 5px;
  background: #1e293b;
  outline: none;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #00d2ff;
  cursor: pointer;
  box-shadow: 0 0 14px rgba(0, 210, 255, 0.9);
  border: 2px solid #ffffff;
  transition: transform 0.2s ease;
}

.calc-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.calc-result-box {
  background: linear-gradient(145deg, #070d19 0%, #0c182c 100%);
  border: 1.5px solid rgba(0, 210, 255, 0.45);
  border-radius: 24px;
  padding: 32px 28px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.65), 0 0 30px rgba(0, 210, 255, 0.25);
  position: relative;
  overflow: hidden;
}

.calc-price-display {
  font-size: 2.6rem;
  font-weight: 900;
  color: #00d2ff;
  text-shadow: 0 0 25px rgba(0, 210, 255, 0.6);
  line-height: 1.1;
}

.calc-guarantee-list li {
  font-size: 13.5px;
  color: #cbd5e1;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* 14. Interactive Google Maps Section */
.map-section {
  position: relative;
  background: #060c18;
  padding-top: 60px;
  padding-bottom: 0;
  overflow: hidden;
}

.map-wrapper {
  position: relative;
  width: 100%;
  height: 480px;
  border-top: 1px solid rgba(0, 210, 255, 0.25);
  border-bottom: 1px solid rgba(0, 210, 255, 0.25);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

.map-iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: contrast(1.05) saturate(1.15);
}

.map-overlay-card {
  position: absolute;
  top: 35px;
  left: 35px;
  max-width: 400px;
  background: rgba(6, 12, 24, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(0, 210, 255, 0.4);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.75), 0 0 25px rgba(0, 210, 255, 0.25);
  border-radius: 22px;
  padding: 26px;
  color: #ffffff;
  z-index: 10;
}

@media (max-width: 768px) {
  .map-overlay-card {
    position: relative;
    top: 0;
    left: 0;
    max-width: 100%;
    margin-bottom: 25px;
    border-radius: 18px;
  }
  .map-wrapper {
    height: 380px;
  }
}
