:root {
  --bg: #f2f7ff;
  --text: #0b1e2f;
  --text-secondary: #2c3e50;
  --accent: #0066cc;
  --accent-gradient: linear-gradient(135deg, #0066cc, #00aaff);
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.5);
  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 18px 45px rgba(0, 0, 0, 0.12);
  --radius: 24px;
  --radius-btn: 999px;
  --container: 1200px;
  --font: 'Montserrat', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

.container {
  width: min(var(--container), 100% - 32px);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

h1, h2, h3 { line-height: 1.2; font-weight: 800; }
a { color: inherit; text-decoration: none; }

/* Волны */
.wave {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 200%;
  height: 100%;
  background-repeat: repeat-x;
  background-position: 0 bottom;
  background-size: 50% 120px;
  z-index: 0;
  pointer-events: none;
  opacity: 0.3;
}

.wave--1 {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,60 C150,120 300,0 450,60 C600,120 750,0 900,60 C1050,120 1200,60 1200,60 L1200,120 L0,120 Z' fill='%230077cc' opacity='0.3'/%3E%3C/svg%3E");
  animation: waveMove 8s linear infinite;
}

.wave--2 {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,80 C200,20 400,100 600,80 C800,60 1000,100 1200,80 L1200,120 L0,120 Z' fill='%2300aaff' opacity='0.2'/%3E%3C/svg%3E");
  animation: waveMove 12s linear infinite reverse;
}

.wave--3 {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,40 C300,120 600,0 900,40 C1050,80 1125,20 1200,40 L1200,120 L0,120 Z' fill='%230077cc' opacity='0.15'/%3E%3C/svg%3E");
  animation: waveMove 16s linear infinite;
}

@keyframes waveMove {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Пузырьки */
.bubbles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bubble {
  position: absolute;
  bottom: -100px;
  background: rgba(0, 170, 255, 0.2);
  border-radius: 50%;
  animation: bubbleUp 10s linear infinite;
}

@keyframes bubbleUp {
  0% { transform: translateY(0) scale(1); opacity: 0.6; }
  100% { transform: translateY(-110vh) scale(0.3); opacity: 0; }
}

/* Шапка */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.6);
  padding: 6px 0;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  position: relative;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.brand__mark {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: rgba(0, 102, 204, 0.1);
  border: 1px solid rgba(0, 102, 204, 0.2);
  font-size: 20px;
}

.brand__text { font-size: 20px; font-weight: 900; color: #0b1e2f; letter-spacing: -0.5px; }

.header__right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav { display: flex; gap: 28px; }
.nav__link {
  font-size: 15px; font-weight: 600; color: var(--text-secondary);
  padding: 8px 0; border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.nav__link:hover { color: var(--accent); border-bottom-color: var(--accent); }

.phone {
  white-space: nowrap; font-size: 16px; font-weight: 700;
  padding: 10px 22px; border-radius: 999px;
  background: rgba(0, 102, 204, 0.08);
  border: 1px solid rgba(0, 102, 204, 0.2);
  color: var(--accent);
  transition: box-shadow 0.3s;
}
.phone.pulse { animation: pulse 2s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 102, 204, 0.4); }
  70% { box-shadow: 0 0 0 12px rgba(0, 102, 204, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 102, 204, 0); }
}

.burger { display: none; background: transparent; border: 0; width: 48px; height: 48px; border-radius: 14px; cursor: pointer; }
.burger span { display: block; height: 2px; background: var(--text); margin: 8px 12px; border-radius: 2px; }

/* Герой */
.hero { padding: 100px 0 70px; text-align: center; position: relative; }

.hero__badge {
  display: inline-block; font-size: 13px; font-weight: 700;
  letter-spacing: 0.1em; color: var(--accent);
  background: rgba(0, 102, 204, 0.08);
  border: 1px solid rgba(0, 102, 204, 0.2);
  padding: 10px 24px; border-radius: 999px; margin-bottom: 32px;
}

.hero__title {
  font-size: clamp(48px, 7vw, 72px); font-weight: 900;
  line-height: 1.0; margin-bottom: 24px; color: #0b1e2f;
  letter-spacing: -1px;
}

.hero__accent { color: var(--accent); position: relative; display: inline-block; }

.hero__sub { font-size: 20px; color: var(--text-secondary); max-width: 700px; margin: 0 auto 48px; }

.hero__features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: 48px; }

.feature {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 28px; padding: 28px 18px;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  text-align: center; transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: var(--shadow-sm);
}

.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.feature__icon { font-size: 32px; }
.feature__text { font-size: 16px; font-weight: 700; }

.hero__actions { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin-bottom: 60px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  border-radius: 999px; padding: 16px 32px; font-weight: 700; font-size: 16px;
  border: 1px solid transparent;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s; cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: var(--accent-gradient); color: #fff;
  border-color: var(--accent);
  box-shadow: 0 12px 28px rgba(0, 102, 204, 0.35);
}

.btn--outline {
  background: rgba(255,255,255,0.9);
  color: var(--accent);
  border: 1px solid var(--accent);
  backdrop-filter: blur(8px);
}

.btn--avito {
  background: linear-gradient(135deg, #ff6b00, #ff8c42);
  color: #fff;
  border-color: #ff6b00;
  box-shadow: 0 10px 24px rgba(255, 107, 0, 0.3);
}

.btn--avito:hover {
  box-shadow: 0 14px 30px rgba(255, 107, 0, 0.4);
}

/* Кнопка Max */
.btn--max {
  background: linear-gradient(135deg, #9b4dff, #c77dff);
  color: #fff;
  border: none;
  box-shadow: 0 8px 20px rgba(155, 77, 255, 0.3);
}
.btn--max:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(155, 77, 255, 0.4);
}

/* Гарантии */
.trustBar {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 32px; padding: 32px;
}

.trustBar__item {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 16px; font-weight: 700;
  background: #ffffff;
  border-radius: 24px;
  padding: 20px 16px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s;
}
.trustBar__item:hover { transform: scale(1.03); }
.trustBar__item span { font-size: 26px; }

/* Секции */
.section { padding: 110px 0; }
.section--wave { background: transparent; position: relative; }

.sectionHeader { text-align: center; margin-bottom: 60px; }
.sectionKicker {
  font-size: 14px; font-weight: 800; letter-spacing: 0.12em;
  color: var(--accent); text-transform: uppercase; margin-bottom: 14px;
}
.sectionTitle { font-size: clamp(32px, 4vw, 48px); font-weight: 900; margin-bottom: 18px; }
.sectionSub { font-size: 18px; color: var(--text-secondary); max-width: 700px; margin: 0 auto; }

/* Стекло */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
}

/* Услуги */
.servicesGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

.serviceCard {
  border-radius: 36px;
  padding: 48px 36px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
}

.serviceCard:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.serviceCard__icon {
  font-size: 48px;
  margin-bottom: 28px;
}

.serviceCard__title {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 24px;
}

.serviceCard__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.serviceCard__list li {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.5;
  padding-left: 32px;
  position: relative;
}

.serviceCard__list li::before {
  content: "•";
  color: var(--accent);
  font-weight: bold;
  font-size: 24px;
  position: absolute;
  left: 0;
  top: -2px;
}

.serviceCard__list li strong {
  color: var(--text);
  font-weight: 700;
}

/* Калькулятор */
.calcCard {
  max-width: 700px; margin: 0 auto;
  border-radius: 36px; padding: 40px;
}

.calcForm { display: flex; flex-direction: column; gap: 24px; }

.field__label {
  font-size: 15px; font-weight: 700; color: var(--text-secondary);
  margin-bottom: 10px; display: block;
}

select {
  width: 100%; background: rgba(255,255,255,0.9); border: 1px solid rgba(0,102,204,0.2);
  border-radius: 16px; padding: 14px 18px; font-size: 17px;
  font-family: inherit; color: var(--text); outline: none;
  backdrop-filter: blur(8px);
}

.depthControl { margin-top: 4px; }

.depthScale {
  position: relative; height: 36px; margin: 12px 0 0;
}

.depthScale input[type="range"] {
  position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%);
  width: 100%; -webkit-appearance: none; appearance: none;
  background: transparent; z-index: 5; margin: 0;
}

.depthScale input[type="range"]::-webkit-slider-runnable-track {
  width: 100%; height: 36px; background: transparent; border-radius: 18px; cursor: pointer;
}

.depthScale input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 40px; height: 40px; margin-top: -2px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10 10-4.5 10-10S17.5 2 12 2zm0 18c-4.4 0-8-3.6-8-8s3.6-8 8-8 8 3.6 8 8-3.6 8-8 8zm-1-13h2v6h-2zm0 8h2v2h-2z"/></svg>') center/80% no-repeat;
  background-color: #0066cc;
  border: 2px solid white;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  cursor: pointer; transition: box-shadow 0.2s;
}

.depthScale input[type="range"]::-webkit-slider-thumb:hover {
  box-shadow: 0 6px 18px rgba(0,0,0,0.3);
}

.scaleLayers {
  position: absolute; left: 0; right: 0; top: 0; bottom: 0;
  display: flex; border-radius: 18px; overflow: hidden;
  background: #e6f0ff;
}

.layer { height: 100%; }
.layer--soil { width: 10%; background: #c9a87c; }
.layer--clay { width: 25%; background: #d4b896; }
.layer--limestone { width: 40%; background: #e3d3b2; }
.layer--aquifer { width: 25%; background: #80c0e0; }

.scaleWater {
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 0%; background: linear-gradient(90deg, rgba(0,170,255,0.5), rgba(0,102,204,0.5));
  border-radius: 18px; z-index: 1; pointer-events: none;
  transition: width 0.2s ease;
}

.scaleLabels {
  display: flex; justify-content: space-between;
  margin-top: 10px; font-size: 12px; color: var(--text-secondary);
}

.calcResult {
  display: flex; align-items: baseline; gap: 12px;
  padding: 16px; background: rgba(255,255,255,0.9);
  border-radius: 18px; font-size: 18px;
  backdrop-filter: blur(8px);
}

.calcResult__value { font-size: 24px; color: var(--accent); font-weight: 900; }
.calcHint { font-size: 14px; color: #6b7a8b; text-align: center; }

/* Этапы (исправлены для мобильных) */
.stepsProgress {
  max-width: 800px;
  margin: 0 auto;
  overflow-x: auto;
  padding-bottom: 10px;
}
.stepsProgress__bar {
  height: 8px;
  background: rgba(0,102,204,0.1);
  border-radius: 4px;
  margin: 40px 0 30px;
}
.stepsProgress__fill {
  height: 100%;
  width: 0%;
  background: var(--accent-gradient);
  border-radius: 4px;
  transition: width 0.6s ease;
}
.stepsProgress__items {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  min-width: 500px;
}
.stepItem {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex: 1;
  text-align: center;
}
.stepItem__circle {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: #fff;
  border: 2px solid rgba(0,102,204,0.2);
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 18px;
  color: var(--text-secondary);
  transition: all 0.4s;
}
.stepItem__label {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-secondary);
  max-width: 80px;
  word-break: keep-all;
}

/* Отзывы (исправлена карусель) */
.reviewsWrapper { position: relative; }

.reviewsGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.reviewsCarousel {
  display: none;
  position: relative;
  max-width: 100%;
  overflow: hidden;
  margin: 0 auto;
  border-radius: 32px;
}

.carouselTrack {
  display: flex;
  transition: transform 0.4s ease-in-out;
  will-change: transform;
}

.carouselTrack .review {
  flex: 0 0 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 20px;
  margin: 0;
}

.carouselDots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.carouselDots .dot {
  width: 10px;
  height: 10px;
  background: rgba(0,102,204,0.3);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s;
}

.carouselDots .dot.active {
  background: var(--accent);
  transform: scale(1.2);
}

.sliderBtn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.sliderBtn:hover {
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.sliderBtn--prev { left: 10px; }
.sliderBtn--next { right: 10px; }

.review {
  border-radius: 32px;
  padding: 36px;
  text-align: center;
}

.review__photo {
  width: 120px;
  height: 120px;
  border-radius: 24px;
  object-fit: cover;
  margin: 0 auto 20px;
  border: 3px solid var(--accent);
  cursor: pointer;
  transition: transform 0.3s;
}

.review__photo:hover { transform: scale(1.08); }

.review__stars { font-size: 18px; color: #f5b342; margin-bottom: 20px; }

.review p { font-size: 17px; font-style: italic; color: var(--text-secondary); margin-bottom: 20px; }

.review__author { font-weight: 700; color: var(--accent); }

/* FAQ */
.faqList { max-width: 800px; margin: 0 auto; }
.faqItem { border-radius: 24px; margin-bottom: 16px; overflow: hidden; }
.faqItem__question {
  width: 100%; text-align: left; padding: 22px 28px;
  background: transparent; border: none; font-size: 18px; font-weight: 700;
  cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  color: var(--text);
}
.faqItem__question::after {
  content: '+'; font-size: 26px; font-weight: 700;
  color: var(--accent); transition: transform 0.3s;
}
.faqItem.open .faqItem__question::after { content: '−'; transform: rotate(180deg); }

.faqItem__answer {
  max-height: 0; overflow: hidden; transition: max-height 0.4s ease;
  background: rgba(255,255,255,0.6); padding: 0 28px; font-size: 16px; color: var(--text-secondary);
}
.faqItem.open .faqItem__answer { max-height: 250px; padding: 18px 28px; }

/* О компании – галерея */
.galleryWrapper {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.gallerySlider {
  overflow: hidden;
  border-radius: 32px;
  box-shadow: var(--shadow-lg);
}

.galleryTrack {
  display: flex;
  transition: transform 0.4s ease;
}

.gallerySlide {
  min-width: 100%;
}

.gallerySlide img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

.galleryWrapper .sliderBtn {
  display: flex;
}

.galleryWrapper .carouselDots {
  margin-top: 20px;
}

/* Партнёры */
.partnersGrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 700px;
  margin: 0 auto;
}

.partnerCard {
  border-radius: 32px;
  padding: 36px;
  text-align: center;
}

.partnerCard__logo {
  font-size: 48px;
  margin-bottom: 16px;
}

.partnerCard__name {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 8px;
}

.partnerCard__desc {
  font-size: 16px;
  color: var(--text-secondary);
}

/* Форма заявки Яндекс Формы */
.requestFormWrapper {
  max-width: 760px;
  margin: 0 auto;
  border-radius: 40px;
  padding: 40px;
}

.yandex-form-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: transparent;
}

.yandex-form-iframe {
  width: 100%;
  height: 650px;
  border: none;
  transition: height 0.2s;
}

.formHint {
  text-align: center;
  font-size: 13px;
  color: #6c7a8a;
  margin-top: 24px;
}
.formHint a {
  color: var(--accent);
  text-decoration: underline;
  font-weight: 600;
}

/* Почему мы */
.whyGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.whyCard {
  border-radius: 28px;
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whyCard:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.whyCard__icon {
  font-size: 40px;
  margin-bottom: 16px;
}

.whyCard__title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 10px;
}

.whyCard__desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Альтернативная связь под формой */
.alternativeContacts {
  text-align: center;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(0,102,204,0.1);
}

.alternativeContacts__title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.alternativeContacts__buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.alt-btn {
  padding: 12px 28px;
  font-size: 15px;
}

/* Футер */
.footer {
  background: rgba(255,255,255,0.5);
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255,255,255,0.8);
  padding: 70px 0 40px;
}

.footer__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.footer__title { font-size: 24px; font-weight: 900; margin-bottom: 24px; }
.footer__phone a { font-size: 20px; font-weight: 700; }
.footer__info { font-size: 16px; color: var(--text-secondary); margin-bottom: 10px; }
.footer__avito {
  font-size: 16px;
  font-weight: 700;
  color: #ff6b00;
  border-bottom: 1px dashed #ff6b00;
}
.footer__buttons { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.footer__bottom {
  grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center;
  margin-top: 48px; padding-top: 28px; border-top: 1px solid rgba(0,0,0,0.05);
  font-size: 15px; color: var(--text-secondary);
}
.footer__links a { color: var(--accent); font-weight: 700; }

/* Плавающая кнопка ЗАЯВКА */
.floatingRequest {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--accent-gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 102, 204, 0.4);
  transition: transform 0.3s, box-shadow 0.3s;
  font-size: 28px;
  text-decoration: none;
}

.floatingRequest:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 28px rgba(0, 102, 204, 0.6);
}

.floatingRequest::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  animation: pulseFloat 2s infinite;
}

@keyframes pulseFloat {
  0% { transform: scale(1); opacity: 0.7; }
  70% { transform: scale(1.4); opacity: 0; }
  100% { transform: scale(1); opacity: 0; }
}

/* Анимации */
.anim { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.anim.is-visible { opacity: 1; transform: translateY(0); }

/* Лайтбокс */
#lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.85);
  align-items: center;
  justify-content: center;
}

#lightbox.active {
  display: flex;
}

.lightbox__close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
}

.lightbox__close:hover,
.lightbox__close:focus {
  color: #bbb;
}

.lightbox__img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 20px;
  box-shadow: 0 0 40px rgba(0,0,0,0.6);
}

/* Мобильная адаптация */
@media (max-width: 980px) {
  .header__inner {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
  }

  .brand { order: 1; }

  .header__right {
    order: 2;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 0 16px;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 10px;
    right: 10px;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 20px;
    padding: 20px;
    flex-direction: column;
    gap: 16px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
    display: none;
    z-index: 200;
  }

  .nav.show { display: flex; }

  .burger {
    display: block;
    background: rgba(0, 102, 204, 0.1);
    border: 1px solid var(--accent);
    border-radius: 14px;
    width: 48px;
    height: 48px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    position: relative;
    transition: transform 0.2s;
  }

  .burger:active { transform: scale(0.95); }

  .phone { font-size: 15px; padding: 10px 18px; }

  .wave { display: none; }

  .hero { padding: 60px 0 40px; }

  .hero__title { font-size: clamp(36px, 8vw, 48px); }

  .hero__sub { font-size: 16px; margin-bottom: 32px; }

  .hero__features { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  .trustBar { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  .servicesGrid { grid-template-columns: 1fr; }

  .serviceCard { padding: 36px 28px; }

  .calcCard { padding: 24px; }

  .reviewsGrid { display: none; }

  .reviewsCarousel { display: block; }

  .partnersGrid { grid-template-columns: 1fr; }

  .footer__grid { grid-template-columns: 1fr; }

  .footer__buttons { flex-direction: row; flex-wrap: wrap; }

  .floatingRequest {
    width: 52px;
    height: 52px;
    right: 16px;
    bottom: 16px;
    font-size: 24px;
  }

  .galleryWrapper .sliderBtn--prev { left: 10px; }
  .galleryWrapper .sliderBtn--next { right: 10px; }

  .whyGrid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .requestFormWrapper {
    padding: 24px;
  }
  .yandex-form-iframe {
    height: 600px;
  }

  /* Исправление этапов на мобильных */
  .stepsProgress {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 12px;
  }
  .stepsProgress__items {
    min-width: 520px;
    gap: 8px;
  }
  .stepItem {
    flex: 0 0 auto;
    width: 80px;
  }
  .stepItem__circle {
    width: 44px;
    height: 44px;
    font-size: 16px;
  }
  .stepItem__label {
    font-size: 11px;
    max-width: 70px;
    word-break: normal;
  }

  .alternativeContacts__buttons .btn {
    padding: 10px 20px;
    font-size: 14px;
  }
}
/* ... (все предыдущие стили остаются) ... */

/* ========== ЛЕТНЯЯ АКЦИЯ ========== */
.summer-sale {
  background: linear-gradient(135deg, #ff6b00, #ff8c42);
  padding: 60px 0;
  margin: 0;
  position: relative;
  overflow: hidden;
}

.summer-sale__inner {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.summer-sale__content {
  flex: 1;
  color: #fff;
}

.summer-sale__badge {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.1em;
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.summer-sale__title {
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 16px;
}

.summer-sale__subtitle {
  font-size: 18px;
  opacity: 0.95;
  margin-bottom: 28px;
}

.btn--sale {
  background: #fff;
  color: #ff6b00;
  border-color: #fff;
  box-shadow: 0 12px 28px rgba(0,0,0,0.2);
  font-weight: 800;
}

.btn--sale:hover {
  background: #fff5f0;
  transform: translateY(-2px);
}

.summer-sale__visual {
  font-size: 100px;
  opacity: 0.3;
  user-select: none;
}

/* Адаптация акции на мобильных */
@media (max-width: 980px) {
  .summer-sale__inner {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  .summer-sale__visual {
    font-size: 60px;
  }
}