/* ЭКО чистка — кастомные стили поверх Tailwind CDN */
html, body {
  overflow-x: hidden;
}

/* ===== Текстура "капли конденсата" (глянцевые капли со светлым бликом, светло-зелёный оттенок) ===== */
.droplet-texture-bg {
  background-image:
    /* --- крупные капли: тело + блик --- */
    radial-gradient(ellipse 10px 14px at 20px 30px, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0.12) 25%, rgba(62,155,76,0.10) 50%, rgba(62,155,76,0.03) 75%, transparent 90%),
    radial-gradient(circle 2.5px at 16px 24px, rgba(255,255,255,0.85) 0%, transparent 100%),
    radial-gradient(ellipse 8px 10px at 55px 15px, rgba(255,255,255,0.5) 0%, rgba(255,255,255,0.1) 25%, rgba(62,155,76,0.09) 50%, transparent 85%),
    radial-gradient(circle 2px at 52px 12px, rgba(255,255,255,0.8) 0%, transparent 100%),
    radial-gradient(ellipse 14px 18px at 92px 48px, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0.12) 25%, rgba(62,155,76,0.11) 50%, rgba(62,155,76,0.03) 75%, transparent 90%),
    radial-gradient(circle 3px at 86px 40px, rgba(255,255,255,0.85) 0%, transparent 100%),
    radial-gradient(ellipse 9px 12px at 132px 22px, rgba(255,255,255,0.5) 0%, rgba(255,255,255,0.1) 25%, rgba(62,155,76,0.09) 50%, transparent 85%),
    radial-gradient(circle 2px at 128px 17px, rgba(255,255,255,0.8) 0%, transparent 100%),
    radial-gradient(ellipse 11px 15px at 172px 58px, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0.12) 25%, rgba(62,155,76,0.10) 50%, transparent 88%),
    radial-gradient(circle 2.5px at 167px 51px, rgba(255,255,255,0.85) 0%, transparent 100%),
    radial-gradient(ellipse 16px 20px at 36px 84px, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0.12) 25%, rgba(62,155,76,0.11) 50%, rgba(62,155,76,0.03) 75%, transparent 90%),
    radial-gradient(circle 3.5px at 29px 75px, rgba(255,255,255,0.9) 0%, transparent 100%),
    radial-gradient(ellipse 8px 10px at 78px 98px, rgba(255,255,255,0.5) 0%, rgba(255,255,255,0.1) 25%, rgba(62,155,76,0.09) 50%, transparent 85%),
    radial-gradient(circle 2px at 74px 93px, rgba(255,255,255,0.8) 0%, transparent 100%),
    radial-gradient(ellipse 13px 17px at 118px 78px, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0.12) 25%, rgba(62,155,76,0.10) 50%, rgba(62,155,76,0.03) 75%, transparent 90%),
    radial-gradient(circle 3px at 112px 70px, rgba(255,255,255,0.85) 0%, transparent 100%),
    radial-gradient(ellipse 10px 13px at 158px 113px, rgba(255,255,255,0.5) 0%, rgba(255,255,255,0.1) 25%, rgba(62,155,76,0.09) 50%, transparent 85%),
    radial-gradient(circle 2.5px at 153px 106px, rgba(255,255,255,0.8) 0%, transparent 100%),
    radial-gradient(ellipse 15px 19px at 66px 162px, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0.12) 25%, rgba(62,155,76,0.11) 50%, rgba(62,155,76,0.03) 75%, transparent 90%),
    radial-gradient(circle 3.5px at 59px 153px, rgba(255,255,255,0.9) 0%, transparent 100%),
    radial-gradient(ellipse 12px 16px at 148px 172px, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0.12) 25%, rgba(62,155,76,0.10) 50%, transparent 88%),
    radial-gradient(circle 3px at 142px 164px, rgba(255,255,255,0.85) 0%, transparent 100%),
    /* --- мелкая морось между каплями --- */
    radial-gradient(circle 1.5px at 8px 60px, rgba(62,155,76,0.15) 0%, transparent 100%),
    radial-gradient(circle 1px at 45px 45px, rgba(62,155,76,0.12) 0%, transparent 100%),
    radial-gradient(circle 1.5px at 108px 8px, rgba(62,155,76,0.13) 0%, transparent 100%),
    radial-gradient(circle 1px at 185px 90px, rgba(62,155,76,0.12) 0%, transparent 100%),
    radial-gradient(circle 1.5px at 15px 135px, rgba(62,155,76,0.14) 0%, transparent 100%),
    radial-gradient(circle 1px at 95px 130px, rgba(62,155,76,0.11) 0%, transparent 100%),
    radial-gradient(circle 1.5px at 178px 25px, rgba(62,155,76,0.13) 0%, transparent 100%),
    radial-gradient(circle 1px at 130px 150px, rgba(62,155,76,0.12) 0%, transparent 100%);
  background-repeat: repeat;
  background-size: 200px 200px;
}

/* ===== FAQ-аккордеон ===== */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-item.is-open .faq-answer {
  max-height: 300px;
}
.faq-icon {
  transition: transform 0.3s ease;
}
.faq-item.is-open .faq-icon {
  transform: rotate(180deg);
}

/* ===== Плавающая кнопка "Заказать услугу" (концентрические круги, подсмотрено на siaglow.kz) ===== */
.order-fab {
  position: fixed;
  left: 18px;
  top: 85%;
  transform: translateY(-50%);
  z-index: 45;
  width: 210px;
  height: 210px;
  border-radius: 9999px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  padding: 0;
}
.order-fab-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 118px;
  height: 118px;
  margin-left: -59px;
  margin-top: -59px;
  border-radius: 9999px;
  background: rgba(28, 108, 40, 0.6);
  animation: order-fab-beacon 2.8s ease-out infinite;
}
.order-fab-ring-2 {
  animation-delay: 1.4s;
}
@keyframes order-fab-beacon {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(2.4); opacity: 0; }
}
.order-fab-core {
  position: relative;
  z-index: 1;
  width: 118px;
  height: 118px;
  border-radius: 9999px;
  background: linear-gradient(135deg, #1C6C28, #124A1B);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.35;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  border: 3px solid rgba(255, 255, 255, 0.25);
  animation: order-fab-pulse 2.6s ease-in-out infinite;
}
@keyframes order-fab-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}
@media (max-width: 640px) {
  .order-fab { width: 130px; height: 130px; left: 10px; top: 86%; }
  .order-fab-ring { width: 82px; height: 82px; margin-left: -41px; margin-top: -41px; }
  .order-fab-core { width: 82px; height: 82px; font-size: 0.65rem; }
}

/* ===== Плавающая карточка "Скидка 15%" (подсмотрено на domovenok.ru) ===== */
.promo-badge-wrap {
  position: fixed;
  right: 0;
  top: 45%;
  z-index: 45;
  display: block;
  animation: promo-badge-cycle 8s ease-in-out infinite;
}
.promo-badge-inner {
  background: linear-gradient(135deg, #F5A623, #E8901A);
  color: #ffffff;
  font-weight: 800;
  font-size: 1.05rem;
  text-align: center;
  line-height: 1.25;
  padding: 12px 20px 12px 16px;
  border-radius: 10px 0 0 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  animation: promo-badge-wiggle 5.8s ease infinite;
}
.promo-badge-percent {
  font-size: 1.3rem;
}
@media (max-width: 640px) {
  .promo-badge-inner {
    font-size: 0.85rem;
    padding: 8px 14px 8px 10px;
  }
  .promo-badge-percent {
    font-size: 1.05rem;
  }
}
@keyframes promo-badge-cycle {
  0%, 60% { transform: translateY(0); opacity: 1; }
  70%, 90% { transform: translateY(50px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
@keyframes promo-badge-wiggle {
  0% { transform: rotate(-8deg); }
  9%, 78% { transform: rotate(-3deg); }
  86%, 100% { transform: rotate(-8deg); }
}

/* ===== Иконка метёлки (fi-rr-broom) ===== */
@font-face {
  font-family: "uicons-regular-rounded";
  src: url("../fonts/uicons-regular-rounded.woff2") format("woff2"),
       url("../fonts/uicons-regular-rounded.woff") format("woff");
}
.fi-rr-broom:before {
  font-family: uicons-regular-rounded !important;
  font-style: normal;
  font-weight: normal !important;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  content: "\f13f";
}

/* ===== Навигация ===== */
.nav-link {
  position: relative;
  color: rgba(255, 255, 255, 0.85);
  padding: 0.5rem 0.85rem;
  margin: -0.5rem -0.85rem;
  border-radius: 0.6rem;
  transition: color 0.2s ease, background-color 0.2s ease;
}
.nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
}

.mobile-nav-link {
  padding: 0.75rem 0.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}
.mobile-nav-link:hover {
  color: #ffffff;
}

.burger-line {
  display: block;
  width: 22px;
  height: 2px;
  background: #ffffff;
  transition: all 0.25s ease;
}
.burger-line-dark {
  background: #0F2E1A;
}
#burger.is-open .burger-line:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
#burger.is-open .burger-line:nth-child(2) { opacity: 0; }
#burger.is-open .burger-line:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ===== Параллакс-фон цитаты клиента ===== */
.testimonial-parallax-bg {
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
@media (max-width: 768px) {
  .testimonial-parallax-bg {
    background-attachment: scroll;
    background-position: center 25%;
  }
}

/* ===== Кнопки ===== */
a.btn-glow,
button.btn-glow {
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
a.btn-glow:hover,
button.btn-glow:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(28, 108, 40, 0.45);
}
a.btn-glow:active,
button.btn-glow:active {
  transform: translateY(-1px);
}

a.btn-jump,
button.btn-jump {
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
a.btn-jump:hover,
button.btn-jump:hover {
  transform: translateY(-3px);
}

/* ===== Затемнение фото ===== */
.photo-tint {
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.78) 0%,
    rgba(0, 0, 0, 0.45) 50%,
    rgba(0, 0, 0, 0.12) 100%
  );
}
.photo-tint-soft {
  background: rgba(8, 28, 16, 0.25);
  mix-blend-mode: multiply;
}

/* ===== Hero-карусель (crossfade) ===== */
.hero-slide {
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-slide.is-active {
  opacity: 1;
}
.hero-slide-bg {
  background-size: cover;
  background-position: center;
}

/* ===== Появление блоков при прокрутке ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Варианты появления — выезд слева/справа (подсмотрено на regiona.kz) */
.reveal.reveal-left {
  transform: translateX(-60px);
}
.reveal.reveal-right {
  transform: translateX(60px);
}
.reveal.reveal-left.is-visible,
.reveal.reveal-right.is-visible {
  transform: translate(0);
}
.reveal-delay-1.is-visible { transition-delay: 0.08s; }
.reveal-delay-2.is-visible { transition-delay: 0.16s; }
.reveal-delay-3.is-visible { transition-delay: 0.24s; }
.reveal-delay-4.is-visible { transition-delay: 0.32s; }
.reveal-delay-5.is-visible { transition-delay: 0.4s; }
.reveal-delay-6.is-visible { transition-delay: 0.48s; }

/* ===== Марки-карусель "Наши клиенты": иконка-бейдж с градиентом ===== */
.client-icon-badge {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1C6C28 0%, #3E9B4C 100%);
  color: #ffffff;
  margin: 0 auto 1rem;
}
@media (min-width: 768px) {
  .client-icon-badge {
    width: 4rem;
    height: 4rem;
  }
}
.clients-marquee-wrap {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 6% 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, black 6% 94%, transparent 100%);
}
.clients-marquee-track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  will-change: transform;
}
.clients-marquee-card {
  flex-shrink: 0;
  width: 220px;
}

/* ===== Лента "Наши объекты" (непрерывная прокрутка, как "Наше оборудование") ===== */
.gallery-marquee-wrap {
  overflow: hidden;
}
.gallery-marquee-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  will-change: transform;
}
.gallery-marquee-card {
  flex-shrink: 0;
  width: 240px;
}

/* ===== Карусель "Отзывы" ===== */
.reviews-marquee-wrap {
  position: relative;
  overflow: hidden;
}
.reviews-marquee-track {
  display: flex;
  gap: 1.5rem;
  padding: 0 1.25rem;
}
.reviews-marquee-card {
  flex-shrink: 0;
  width: calc(100% - 2.5rem);
}
@media (min-width: 640px) {
  .reviews-marquee-card { width: calc(50% - 2.5rem); }
}
@media (min-width: 1024px) {
  .reviews-marquee-card { width: calc(33.333% - 2.5rem); }
}
.line-clamp-6 {
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===== Скрываем стандартный бейдж reCAPTCHA (обязательная подпись добавлена рядом с формой) ===== */
.grecaptcha-badge {
  visibility: hidden;
}

/* ===== Кнопка "наверх" ===== */
#back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

/* ===== Пульсирующая точка (бейдж в hero) ===== */
.pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #F14109;
  animation: pulse-dot-glow 2s infinite;
}
@keyframes pulse-dot-glow {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(241, 65, 9, 0.6); }
  50% { opacity: 0.5; box-shadow: 0 0 0 6px rgba(241, 65, 9, 0); }
}

/* ===== Калькулятор стоимости ===== */
.calc-option {
  transition: border-color 0.15s, background 0.15s;
}
.calc-option:has(input:checked) {
  border-color: #1C6C28;
  background: rgba(28, 108, 40, 0.06);
}

