/* SepticService Landing v3 */
html { scroll-behavior: smooth; }

/* Hide Yandex Maps "Get directions", "By taxi", footer links in balloons */
[class*="ymaps"][class*="route-button"],
[class*="ymaps"][class*="taxi-button"],
[class*="ymaps"][class*="gotoymaps"],
[class*="ymaps"][class*="balloon__footer"],
[class*="ymaps"][class*="balloon-content__footer"],
[class*="ymaps"][class*="b-cluster-tabs__menu"],
[class*="ymaps"][class*="balloon-panel__footer"],
[class*="ymaps"][class*="masstransit"],
[class*="ymaps"][class*="route-panel"] {
  display: none !important;
}
/* Also catch via data attributes and inner links */
a[href*="maps.yandex.ru"],
a[href*="taxi.yandex.ru"] {
  display: none !important;
}
@media (max-width: 767px) { body { padding-bottom: 52px; }
  footer { padding-bottom: 52px !important; }
}

/* Pulse CTA */
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(246,153,63,0.5); }
  50% { box-shadow: 0 0 0 12px rgba(246,153,63,0); }
}
.animate-pulse-slow { animation: pulse-glow 2.5s infinite; }

/* Scale-in */
@keyframes scale-in {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.animate-scale-in { animation: scale-in 0.25s ease-out; }

/* AOS scroll reveal */
[data-aos] { opacity: 0; transition: all 0.6s cubic-bezier(0.22,1,0.36,1); }
[data-aos="fade-up"] { transform: translateY(30px); }
[data-aos="fade-right"] { transform: translateX(-30px); }
[data-aos="fade-left"] { transform: translateX(30px); }
[data-aos="zoom-in"] { transform: scale(0.9); }
[data-aos].aos-animate { opacity: 1; transform: none; }
[data-aos-delay="100"] { transition-delay: .1s; }
[data-aos-delay="200"] { transition-delay: .2s; }
[data-aos-delay="300"] { transition-delay: .3s; }
[data-aos-delay="400"] { transition-delay: .4s; }

/* Volume buttons */
.volume-btn { transition: all 0.2s ease; }
.volume-btn.active { background: #f6993f; color: white; border-color: #f6993f; transform: scale(1.04); }

/* Card hover lift */
.card-lift { transition: transform 0.25s ease, box-shadow 0.25s ease; }
.card-lift:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(26,54,93,0.12); }

/* Glass */
.glass { background: rgba(255,255,255,0.07); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,0.12); }

/* Gradient text */
.text-gradient { background: linear-gradient(135deg, #f6993f, #e67e22); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* FAQ accordion */
.faq-icon { transition: transform 0.3s ease; }
.faq-content { max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.25s ease; }
.faq-content.open { max-height: 300px; }

/* DaData suggestions */
.dadata-suggestions { position: absolute; left: 0; right: 0; top: 100%; z-index: 50; background: white; border-radius: 0 0 12px 12px; box-shadow: 0 8px 24px rgba(0,0,0,0.12); max-height: 220px; overflow-y: auto; }
.dadata-suggestions .sg-item { padding: 10px 14px; cursor: pointer; font-size: 13px; color: #374151; border-bottom: 1px solid #f1f5f9; transition: background 0.1s; }
.dadata-suggestions .sg-item:hover { background: #fff7ed; color: #ea580c; }
.dadata-suggestions .sg-item:last-child { border-bottom: none; }

/* Swiper pills */
.swiper-pagination-bullet { width: 10px; height: 10px; background: #cbd5e1; opacity: 1; transition: all 0.3s; }
.swiper-pagination-bullet-active { background: #f6993f; width: 26px; border-radius: 5px; }

/* Review hover */
.review-card { transition: transform 0.2s, box-shadow 0.2s; }
.review-card:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(0,0,0,0.08); }

/* Confetti */
@keyframes confetti { 0% { transform: translateY(0) rotate(0); opacity: 1; } 100% { transform: translateY(90px) rotate(600deg); opacity: 0; } }
.confetti { position: absolute; width: 7px; height: 7px; border-radius: 2px; animation: confetti 1.4s ease-out forwards; pointer-events: none; }

/* Success check */
@keyframes draw-check { 0% { stroke-dashoffset: 50; } 100% { stroke-dashoffset: 0; } }
.success-check path { stroke-dasharray: 50; stroke-dashoffset: 50; animation: draw-check 0.5s ease-out 0.15s forwards; }

/* Messenger modal overlay */
.msg-modal-overlay { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,0.5); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; padding: 1rem; }
.msg-modal { max-width: 380px; width: 100%; }

/* QR container */
.qr-box canvas, .qr-box svg { border-radius: 8px; }

/* Map order popup */
.map-order-popup { background: white; border-radius: 12px; padding: 12px 16px; box-shadow: 0 4px 20px rgba(0,0,0,0.15); }

/* Contact FAB — unified button */

/* Review lightbox */
.review-lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,0.8); backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; padding: 1rem; }
.review-lightbox-card { max-width: 500px; width: 100%; max-height: 90vh; overflow-y: auto; }
.rl-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.15); border: none; color: white; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.2s; }
.rl-nav:hover { background: rgba(255,255,255,0.3); }
.rl-prev { left: 8px; }
.rl-next { right: 8px; }
@media (min-width: 768px) { .rl-prev { left: calc(50% - 290px); } .rl-next { right: calc(50% - 290px); } }

/* Callback popup */
.callback-popup { position: fixed; z-index: 101; background: white; border-radius: 16px; padding: 20px; box-shadow: 0 8px 40px rgba(0,0,0,0.2); width: 320px; }
.callback-popup::after { content: ''; position: absolute; top: -8px; right: 20px; width: 16px; height: 16px; background: white; transform: rotate(45deg); box-shadow: -2px -2px 4px rgba(0,0,0,0.05); }

/* Contact panel */

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-thumb { background: #94a3b8; border-radius: 3px; }

/* Print */
@media print { #main-header, #floating-elements, .fixed { display: none !important; } body { padding: 0 !important; } }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } }
