@import "glide.core.css";

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans", Arial, sans-serif;
  color: #1A1A1A;
  background: #FAFAFA;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
}

.section {
  padding: 80px 0;
}

.section__title {
  font-size: 40px;
  font-weight: 700;
  text-align: center;
  margin: 0 0 12px;
}

.section__subtitle {
  font-size: 18px;
  text-align: center;
  color: #666;
  margin: 0 0 48px;
}

.btn {
  display: inline-block;
  padding: 16px 36px;
  font-size: 17px;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn:active {
  transform: scale(0.96);
}

.btn--primary {
  background: #FFD200;
  color: #1A1A1A;
  box-shadow: 0 4px 14px rgba(255, 210, 0, 0.35);
}

.btn--primary:hover {
  box-shadow: 0 6px 20px rgba(255, 210, 0, 0.5);
}

.btn--primary:disabled,
.btn--primary.btn--loading {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

.btn--outline {
  background: transparent;
  color: #FFD200;
  border: 2px solid #FFD200;
}

.btn--outline:hover {
  background: #FFD200;
  color: #1A1A1A;
}

.btn--dark {
  background: #1A1A1A;
  color: #fff;
}

.btn--dark:hover {
  background: #333;
}

/* ── Top Bar ── */
.topbar {
  background: #1A1A1A;
  color: #aaa;
  font-size: 13px;
  padding: 8px 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar__contact {
  display: flex;
  gap: 28px;
}

.topbar__link {
  color: #ccc;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
}

.topbar__link:hover {
  color: #FFD200;
}

.topbar__social {
  display: flex;
  gap: 12px;
}

/* ── Header ── */
.header {
  background: #2D2D2D;
  position: fixed;
  top: 32px;
  left: 0;
  right: 0;
  z-index: 99;
  transition: top 0.3s;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
transition: height 0.3s;
}

.header__logo img {
  display: block;
}

.header__nav {
  display: flex;
  gap: 32px;
}

.header__nav a {
  color: #eee;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s;
}

.header__nav a:hover {
  color: #FFD200;
}

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

.header__phone {
  color: #FFD200;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.header__phone:hover {
  text-decoration: underline;
}

.burger {
  display: none;
  width: 28px;
  height: 22px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

.burger span {
  display: block;
  height: 3px;
  background: #eee;
  border-radius: 3px;
  transition: 0.3s;
}

.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}
.burger.active span:nth-child(2) {
  opacity: 0;
}
.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.header--compact .container {
  height: 54px;
}
.header--compact .header__nav a {
  font-size: 13px;
}
.header--compact .header__phone {
  font-size: 15px;
}
.header--compact .header__logo img {
  width: 160px;
  height: 30px;
}

.header__nav a.nav--active {
  color: #FFD200;
}

/* ── Hero ── */
.hero {
  padding: 150px 0 80px;
  background: #FAFAFA;
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: stretch;
}

.hero__image {
  position: relative;
}

.hero__image::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 32px;
  box-shadow:
    0 50px 120px -10px rgba(0, 0, 0, 0.2),
    0 20px 60px -5px rgba(0, 0, 0, 0.13),
    0 8px 30px rgba(0, 0, 0, 0.08);
  pointer-events: none;
  z-index: 0;
  animation: heroImageIn 0.8s ease-out both;
}

.hero__image-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 32px;
  animation: heroImageIn 0.8s ease-out both;
  position: relative;
  z-index: 1;
}

.hero__image-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 32px;
  animation: heroImageIn 0.8s ease-out both;
  position: relative;
  z-index: 1;
}

.hero__image-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
  animation: heroImageIn 0.8s ease-out both;
}

@keyframes heroImageIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.hero__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFD200;
  color: #1A1A1A;
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  width: fit-content;
}

.hero__title {
  font-size: 46px;
  font-weight: 700;
  line-height: 1.18;
  margin: 0;
}

.hero__title span {
  color: #2D2D2D;
}

.hero__text {
  font-size: 18px;
  color: #555;
  line-height: 1.6;
  margin: 0;
}

.hero__actions {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}

.hero__trust {
  display: flex;
  gap: 24px;
  margin-top: 8px;
}

.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #666;
}

.hero__trust-item svg {
  flex-shrink: 0;
}

/* ── Services Grid ── */
.services {
  background: #fff;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid #eee;
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.10);
}

.service-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 16px;
  color: #fff;
}

.service-card__title {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 8px;
}

.service-card__desc {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
  margin: 0 0 16px;
  flex: 1;
}

.service-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  font-size: 13px;
  color: #444;
}

.service-card__features li {
  padding: 4px 0 4px 20px;
  position: relative;
}

.service-card__features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #4CAF50;
  font-weight: 700;
}

.service-card__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #eee;
  padding-top: 16px;
}

.service-card__price {
  font-size: 22px;
  font-weight: 700;
  color: #1A1A1A;
}

.service-card__price small {
  font-size: 13px;
  font-weight: 400;
  color: #888;
}

.service-card .btn {
  padding: 10px 24px;
  font-size: 14px;
}

/* ── Stats ── */
.stats {
  background: #2D2D2D;
  color: #fff;
  padding: 60px 0;
}

.stats .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat__number {
  font-size: 44px;
  font-weight: 700;
  color: #FFD200;
  margin: 0 0 4px;
}

.stat__label {
  font-size: 15px;
  color: #ccc;
  margin: 0;
}

/* ── Advantages ── */
.advantages {
  background: #fff;
}

.advantages__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.advantage-card {
  text-align: center;
  padding: 32px 20px;
  border-radius: 16px;
  background: #FAFAFA;
  transition: transform 0.25s;
}

.advantage-card:hover {
  transform: translateY(-4px);
}

.advantage-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.advantage-card__title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px;
}

.advantage-card__text {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
  margin: 0;
}

/* ── Calculator ── */
.calculator {
  background: #FAFAFA;
}

.calculator__box {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.calc__row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 24px;
}

.calc__label {
  font-size: 15px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
}

.calc__label span {
  color: #888;
  font-weight: 400;
}

.calc__input {
  width: 100%;
  height: 8px;
  -webkit-appearance: none;
  appearance: none;
  background: #e0e0e0;
  border-radius: 4px;
  outline: none;
}

.calc__input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #FFD200;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(255, 210, 0, 0.3);
}

.calc__options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}

.calc__option {
  padding: 10px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  text-align: center;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: 0.2s;
  background: #fff;
}

.calc__option:hover {
  border-color: #FFD200;
}

.calc__option.active {
  border-color: #FFD200;
  background: #FFF8E0;
}

.calc__result {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 2px solid #eee;
}

.calc__price {
  font-size: 36px;
  font-weight: 700;
  color: #1A1A1A;
}

.calc__price small {
  font-size: 16px;
  font-weight: 400;
  color: #888;
}

/* ── Gallery ── */
.gallery {
  background: #fff;
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery__item {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.gallery__item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}

.gallery__item:hover img {
  transform: scale(1.05);
}

.gallery__item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: flex-end;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.3s;
}

.gallery__item:hover .gallery__item-overlay {
  opacity: 1;
}

.gallery__item-overlay span {
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  background: rgba(0, 0, 0, 0.5);
  padding: 4px 12px;
  border-radius: 20px;
}

/* ── Reviews ── */
.reviews {
  background: #FAFAFA;
}

.reviews__widget {
  max-width: 580px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}

.reviews__widget-inner {
  width: 100%;
}

.reviews__widget iframe {
  width: 100% !important;
  height: 640px !important;
  display: block;
}

.reviews__widget-inner {
  max-height: 640px;
  overflow-y: auto;
}

/* ── Order Form ── */
.order {
  background: #2D2D2D;
  color: #fff;
}

.order__form {
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.order__form-row {
  display: flex;
  gap: 16px;
}

.order__form input,
.order__form select {
  width: 100%;
  padding: 14px 18px;
  font-size: 15px;
  border: 2px solid #555;
  border-radius: 10px;
  background: #3A3A3A;
  color: #fff;
  outline: none;
  transition: border-color 0.2s;
}

.order__form input::placeholder {
  color: #888;
}

.order__form input:focus,
.order__form select:focus {
  border-color: #FFD200;
}

.order__form select option {
  background: #2D2D2D;
  color: #fff;
}

.order__form .btn {
  width: 100%;
  padding: 16px;
  font-size: 17px;
}

.order__note {
  font-size: 13px;
  color: #999;
  text-align: center;
  margin: 8px 0 0;
}

.order__checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: #ccc;
  line-height: 1.5;
  cursor: pointer;
}

.order__checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin-top: 2px;
  accent-color: #FFD200;
  cursor: pointer;
}

.order__checkbox a {
  color: #FFD200;
  text-decoration: underline;
}

.order__checkbox a:hover {
  text-decoration: none;
}

/* ── Partners ── */
.partners {
  background: #fff;
  padding: 48px 0;
}

.partners__logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.partners__logos img {
  height: 50px;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.partners__logos img:hover {
  opacity: 1;
}

/* ── Footer ── */
.footer {
  background: #1A1A1A;
  color: #999;
  padding: 48px 0 24px;
}

.footer .container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer__brand p {
  font-size: 14px;
  line-height: 1.6;
  margin: 12px 0 0;
}

.footer__col h4 {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 16px;
}

.footer__col a {
  display: block;
  color: #999;
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 8px;
  transition: color 0.2s;
}

.footer__col a:hover {
  color: #FFD200;
}

.footer__bottom {
  grid-column: 1 / -1;
  border-top: 1px solid #333;
  padding-top: 20px;
  margin-top: 20px;
  font-size: 13px;
  text-align: center;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer .container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .topbar {
    display: none;
  }

  .header {
    top: 0;
  }

  .header__nav {
    display: none;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: #2D2D2D;
    flex-direction: column;
    padding: 24px 20px;
    gap: 16px;
    border-top: 1px solid #444;
  }

  .header__nav.open {
    display: flex;
  }

  .header__cta .btn {
    display: none;
  }

  .header__phone {
    font-size: 14px;
  }

  .burger {
    display: flex;
    width: 24px;
    height: 20px;
  }

  .burger span {
    height: 2.5px;
  }

  .hero {
    padding: 110px 0 50px;
  }

  .hero__title {
    font-size: 32px;
  }

  .hero__actions {
    flex-direction: column;
  }

  .services__grid {
    grid-template-columns: 1fr;
  }

  .stats .container {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .advantages__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery__item img {
    height: 200px;
  }

  .section__title {
    font-size: 30px;
  }

  .calc__options {
    grid-template-columns: repeat(2, 1fr);
  }

  .order__form-row {
    flex-direction: column;
  }

  .calculator__box {
    padding: 24px;
  }

  .calc__option {
    padding: 8px;
    font-size: 13px;
  }

  .calc__price {
    font-size: 28px;
  }

  .footer .container {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 26px;
  }

  .hero__trust {
    flex-wrap: wrap;
    gap: 12px;
  }

  .advantages__grid {
    grid-template-columns: 1fr;
  }

  .stats .container {
    gap: 24px;
  }

  .stat__number {
    font-size: 34px;
  }

  .gallery__grid {
    grid-template-columns: 1fr;
  }

  .calc__options {
    grid-template-columns: 1fr;
  }

  .calc__price {
    font-size: 22px;
  }

  .calc__option {
    padding: 6px;
    font-size: 12px;
  }

  .calc__result {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

.order__success {
  max-width: 560px;
  margin: 24px auto 0;
  padding: 20px 24px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  gap: 14px;
  animation: fadeInUp 0.5s ease;
}

.order__success-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #4CAF50;
  color: #fff;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.order__success-text {
  font-size: 15px;
  line-height: 1.5;
  color: #ddd;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.order__error {
  max-width: 560px;
  margin: 24px auto 0;
  padding: 20px 24px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 82, 82, 0.4);
  display: flex;
  align-items: center;
  gap: 14px;
  animation: fadeInUp 0.5s ease;
}

.order__error-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ff5252;
  color: #fff;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.order__error-text {
  font-size: 15px;
  line-height: 1.5;
  color: #ddd;
}

.order__success {
  max-width: 560px;
  margin: 24px auto 0;
  padding: 20px 24px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  gap: 14px;
  animation: fadeInUp 0.5s ease;
}

.order__success-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #4CAF50;
  color: #fff;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.order__success-text {
  font-size: 15px;
  line-height: 1.5;
  color: #ddd;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}