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

:root {
  --dark: #1a1a1a;
  --dark-light: #2a2a2a;
  --accent: #ff6b00;
  --accent-hover: #e55f00;
  --white: #ffffff;
  --light: #f5f5f5;
  --gray: #666666;
  --gray-light: #999999;
  --text: #333333;
  --border: #e0e0e0;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  --transition: 0.25s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--dark);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}

.header__logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  text-decoration: none;
  white-space: nowrap;
}

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

.header__nav a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
}

.header__nav a:hover {
  color: var(--accent);
}

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

.header__badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  background: var(--accent);
  color: var(--white);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.header__phone {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  text-decoration: none;
  font-weight: 800;
  font-size: 1rem;
  transition: opacity var(--transition);
  white-space: nowrap;
}

.header__phone:hover {
  opacity: 0.8;
}

.header__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.header__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ===== MOBILE NAV ===== */
.mobile-nav {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  background: var(--dark);
  padding: 16px 20px;
  z-index: 99;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.mobile-nav.open {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mobile-nav a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color var(--transition);
}

.mobile-nav a:last-child {
  border-bottom: none;
}

.mobile-nav a:hover {
  color: var(--accent);
}

.mobile-nav__phone {
  color: var(--accent) !important;
  font-weight: 700 !important;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}

.btn--accent {
  background: var(--accent);
  color: var(--white);
}

.btn--accent:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(255,107,0,0.35);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
}

.btn--outline:hover {
  background: var(--white);
  color: var(--dark);
  border-color: var(--white);
}

.btn--small {
  padding: 10px 24px;
  font-size: 0.9rem;
}

.btn--hero-primary {
  padding: 18px 44px;
  font-size: 1.1rem;
}

.btn--hero-secondary {
  padding: 14px 28px;
  font-size: 0.9rem;
  border-color: rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.7);
}

.btn--promo-call {
  gap: 10px;
}

.btn--full {
  width: 100%;
}

/* ===== SECTION TITLES ===== */
.section-title {
  font-size: 2rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 12px;
  color: var(--text);
}

.section-subtitle {
  text-align: center;
  color: var(--gray);
  font-size: 1.05rem;
  max-width: 500px;
  margin: 0 auto 48px;
}

/* ===== HERO ===== */
.hero {
  padding: 140px 0 80px;
  background:
    linear-gradient(to right, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.70) 55%, rgba(0,0,0,0.38) 100%),
    url('images/hero-bg.jpg') center/cover no-repeat;
  color: var(--white);
  position: relative;
}

.hero__inner {
  max-width: 600px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border: 1.5px solid rgba(255,255,255,0.35);
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  margin-bottom: 20px;
  letter-spacing: 0.01em;
}

.hero__title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero__accent {
  color: var(--accent);
}

.hero__subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
  margin-bottom: 36px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.hero__phone-display {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 40px;
  color: var(--white);
  text-decoration: none;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  transition: opacity var(--transition);
}

.hero__phone-display:hover {
  opacity: 0.85;
}

.hero__phone-display span {
  font-size: 0.85rem;
  font-weight: 400;
  color: rgba(255,255,255,0.5);
}

.hero__stats {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.hero-stat__number {
  display: block;
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1.15;
}

.hero-stat__label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  margin-top: 2px;
}

/* ===== PHONE BAR ===== */
.phone-bar {
  background: var(--accent);
  padding: 14px 0;
}

.phone-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.phone-bar__text {
  color: var(--white);
  font-weight: 600;
  font-size: 1.05rem;
}

.phone-bar__link {
  color: var(--white);
  text-decoration: none;
  font-weight: 800;
  font-size: 1.2rem;
  transition: opacity var(--transition);
}

.phone-bar__link:hover {
  opacity: 0.85;
}

/* ===== SERVICES ===== */
.services {
  padding: 80px 0;
  background: var(--white);
}

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

.service-card {
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: rgba(255,107,0,0.08);
  border-radius: var(--radius-sm);
  color: var(--accent);
  margin-bottom: 16px;
}

.service-card__title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.service-card__text {
  color: var(--gray);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}

.service-card__price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 16px;
}

/* ===== ADVANTAGES ===== */
.advantages {
  padding: 80px 0;
  background: var(--light);
}

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

.advantage-card {
  text-align: center;
  padding: 32px 20px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.advantage-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.advantage-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: rgba(255,107,0,0.08);
  border-radius: 50%;
  color: var(--accent);
  margin-bottom: 16px;
}

.advantage-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.advantage-card p {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.5;
}

/* ===== STEPS ===== */
.steps {
  padding: 80px 0;
  background: var(--white);
}

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

.step-card {
  text-align: center;
  padding: 20px;
}

.step-card__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--accent);
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 800;
  border-radius: 50%;
  margin-bottom: 20px;
}

.step-card__title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-card__text {
  color: var(--gray);
  font-size: 0.85rem;
  line-height: 1.6;
}

/* ===== REVIEWS ===== */
.reviews {
  padding: 80px 0;
  background: var(--light);
}

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

.review-card {
  background: var(--white);
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.review-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.review-card__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.review-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.review-card__name {
  font-weight: 700;
  font-size: 0.95rem;
}

.review-card__stars {
  color: var(--accent);
  font-size: 0.85rem;
  letter-spacing: 1px;
}

.review-card__stars span {
  color: var(--gray);
  font-weight: 600;
  margin-left: 4px;
}

.review-card__text {
  color: var(--gray);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 12px;
}

.review-card__service {
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 600;
}

/* ===== FAQ ===== */
.faq {
  padding: 80px 0;
  background: var(--white);
}

.faq__list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  font-family: inherit;
  gap: 16px;
  transition: color var(--transition);
}

.faq-item__question:hover {
  color: var(--accent);
}

.faq-item__chevron {
  font-size: 0.75rem;
  color: var(--gray);
  transition: transform var(--transition);
  flex-shrink: 0;
}

.faq-item.active .faq-item__chevron {
  transform: rotate(180deg);
  color: var(--accent);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-item__answer {
  max-height: 200px;
}

.faq-item__answer p {
  padding: 0 0 20px;
  color: var(--gray);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ===== PROMO ===== */
.promo {
  padding: 72px 0;
  background: var(--dark);
  color: var(--white);
}

.promo__inner {
  text-align: center;
}

.promo__title {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.3;
}

.promo__text {
  color: rgba(255,255,255,0.6);
  margin-bottom: 32px;
  font-size: 1.05rem;
}

.promo__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== CONTACT FORM ===== */
.contact {
  padding: 80px 0;
  background: var(--light);
}

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

.form-group {
  display: flex;
  flex-direction: column;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}

.required {
  color: var(--accent);
}

.form-input {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  transition: all var(--transition);
}

.form-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255,107,0,0.1);
}

.form-input.error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239,68,68,0.1);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%23666' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.form-error {
  display: none;
  font-size: 0.8rem;
  color: #ef4444;
  margin-top: 4px;
  font-weight: 500;
}

.form-error.visible {
  display: block;
}

.contact__form .btn {
  margin-top: 8px;
}

.contact__success {
  display: none;
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
  padding: 48px 24px;
}

.contact__success.visible {
  display: block;
}

.contact__success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: #22c55e;
  color: var(--white);
  font-size: 2rem;
  font-weight: 800;
  border-radius: 50%;
  margin-bottom: 16px;
}

.contact__success h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.contact__success p {
  color: var(--gray);
}

/* ===== SERVICE AREA ===== */
.area {
  padding: 64px 0;
  background: var(--white);
}

.area__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.area__tag {
  display: inline-block;
  padding: 8px 18px;
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--text);
  font-weight: 500;
  transition: all var(--transition);
}

.area__tag:hover {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.6);
  padding: 56px 0 0;
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer__brand {
  display: block;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 12px;
}

.footer__desc {
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer__heading {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer__list {
  list-style: none;
}

.footer__list li {
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.footer__list a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color var(--transition);
}

.footer__list a:hover {
  color: var(--accent);
}

.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer__privacy {
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  font-size: 0.8rem;
  white-space: nowrap;
  transition: color var(--transition);
}

.footer__privacy:hover {
  color: var(--accent);
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 95;
  background: #111;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 14px 24px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.cookie-banner.visible {
  display: flex;
}

.cookie-banner__text {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
}

.cookie-banner__text a {
  color: rgba(255,255,255,0.85);
  text-decoration: underline;
}

.cookie-banner__btn {
  flex-shrink: 0;
  padding: 9px 24px;
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background var(--transition);
}

.cookie-banner__btn:hover {
  background: var(--accent-hover);
}

@media (max-width: 480px) {
  .cookie-banner {
    padding: 12px 16px;
  }
  .cookie-banner__btn {
    width: 100%;
    text-align: center;
  }
}

.footer__bottom {
  padding: 20px 0;
  font-size: 0.8rem;
  text-align: center;
}

/* ===== FLOATING CALL BUTTON ===== */
@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(255,107,0,0.55); }
  70%  { box-shadow: 0 0 0 18px rgba(255,107,0,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,107,0,0); }
}

.floating-call {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 22px 0 18px;
  height: 56px;
  background: var(--accent);
  color: var(--white);
  border-radius: 28px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 4px 20px rgba(255,107,0,0.4);
  transition: all var(--transition);
  animation: pulse-ring 2.2s ease-out infinite;
}

.floating-call:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255,107,0,0.55);
}

.floating-call__label {
  white-space: nowrap;
}

/* ===== ANIMATIONS ===== */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .advantages__grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .header__burger {
    display: flex;
  }

  .hero {
    padding: 120px 0 60px;
  }

  .hero__title {
    font-size: 2rem;
  }

  .hero__subtitle {
    font-size: 1rem;
  }

  .hero__stats {
    gap: 20px;
  }

  .hero-stat__number {
    font-size: 1.4rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

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

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

  .steps__grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

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

  .promo__title {
    font-size: 1.4rem;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .services,
  .advantages,
  .steps,
  .reviews,
  .faq,
  .contact {
    padding: 56px 0;
  }
}

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

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
    text-align: center;
  }

  .hero__stats {
    flex-direction: column;
    gap: 12px;
  }

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

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

  .section-title {
    font-size: 1.4rem;
  }

  .promo__title {
    font-size: 1.2rem;
  }

  .promo__actions {
    flex-direction: column;
    align-items: center;
  }

  .promo__actions .btn {
    width: 100%;
  }

  .phone-bar__inner {
    flex-direction: column;
    gap: 8px;
  }

  .floating-call {
    bottom: 16px;
    right: 16px;
    height: 50px;
    font-size: 0.88rem;
    padding: 0 18px 0 14px;
  }
}
