/* --- Variables --- */
:root {
  --bg: #0c0e10;
  --bg-card: #14181c;
  --bg-elevated: #1a1f24;
  --text: #e6eaef;
  --text-muted: #8b98a8;
  --accent: #f59e0b;
  --accent-hover: #fbbf24;
  --accent-dim: rgba(245, 158, 11, 0.15);
  --border: #2a323c;
  --radius: 12px;
  --radius-lg: 16px;
  --font: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  --transition: 0.2s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-hover); }
img { max-width: 100%; height: auto; display: block; }

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 64px 0;
}
.section__title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  margin: 0 0 32px;
  text-align: center;
  letter-spacing: -0.02em;
}

/* --- Header --- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12, 14, 16, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header__inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.logo {
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--text);
  letter-spacing: -0.02em;
}
.logo:hover { color: var(--accent); }
.header__tagline {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.nav {
  display: flex;
  gap: 20px;
  margin-left: auto;
}
.nav__link {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
}
.nav__link:hover { color: var(--accent); }
.header__phone {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--accent);
  white-space: nowrap;
}
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text);
}
.burger span {
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
}

@media (max-width: 900px) {
  .header__tagline { display: none; }
  .burger { display: flex; }
  .header__phone { margin-left: auto; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 16px 20px;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
    margin-left: -20px;
    margin-right: -20px;
  }
  .nav_open {
    display: flex;
  }
  .nav__link {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
  }
  .nav__link:last-child { border-bottom: none; }
  .burger_open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .burger_open span:nth-child(2) { opacity: 0; }
  .burger_open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
  .burger span { transition: transform 0.2s, opacity 0.2s; }
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 80px 0 60px;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, var(--accent-dim), transparent 50%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-card) 100%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: center;
}
.hero__content { max-width: 560px; }
.hero__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
  color: var(--text);
}
.hero__subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin: 0 0 24px;
}
.hero__features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}
.hero__features li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  font-weight: 500;
}
.hero__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
}
.hero__phone {
  display: inline-block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
  padding: 12px 24px;
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition);
}
.hero__phone:hover {
  background: var(--accent);
  color: var(--bg);
}

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__content { max-width: none; }
  .hero__features li { padding-left: 0; }
  .hero__features li::before { display: none; }
  .hero__features { list-style: disc; list-style-position: inside; }
}

/* --- Form --- */
.form {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
}
.form__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 20px;
  color: var(--text);
}
.form__label {
  display: block;
  margin-bottom: 16px;
}
.form__label-text {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.form__input {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition);
}
.form__input::placeholder { color: var(--text-muted); opacity: 0.8; }
.form__input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}
.form__submit {
  width: 100%;
  margin-top: 8px;
  padding: 14px 24px;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  color: var(--bg);
  background: var(--accent);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--transition), transform 0.1s;
}
.form__submit:hover {
  background: var(--accent-hover);
}
.form__submit:active { transform: scale(0.98); }

.form_footer { max-width: 400px; margin: 24px auto 0; }

/* --- Services / Price tables --- */
.section_services { background: var(--bg-card); }
.price-block {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 32px;
}
.price-block__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--text);
}
.price-block__desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0 0 12px;
  line-height: 1.5;
}
.price-block__note {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0 0 16px;
}
.price-block__note a { font-weight: 600; }
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.price-table th,
.price-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.price-table th {
  background: var(--bg-card);
  font-weight: 600;
  color: var(--text);
}
.price-table td:last-child {
  white-space: nowrap;
  color: var(--accent);
  font-weight: 600;
}
.price-table tbody tr:last-child td { border-bottom: none; }
.price-table tbody tr:hover td { background: rgba(255,255,255,0.02); }

/* --- Advantages --- */
.advantages__lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin: 0 0 16px;
  max-width: 720px;
}
.advantages__text {
  margin: 0 0 12px;
  color: var(--text-muted);
  max-width: 720px;
}
.advantages__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin: 40px 0;
}
.advantage-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.advantage-card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent-dim);
}
.advantage-card__icon {
  font-size: 2rem;
  margin-bottom: 12px;
  line-height: 1;
}
.advantage-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--text);
}
.advantage-card__text {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}
.advantages__subtitle {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 24px 0 12px;
  color: var(--text);
}
.services-list,
.why-us__list {
  margin: 0 0 16px;
  padding-left: 20px;
  color: var(--text-muted);
  line-height: 1.7;
}
.why-us {
  margin-top: 40px;
  padding: 28px;
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  text-align: center;
}
.why-us__phone {
  display: inline-block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
  margin: 16px 0 4px;
}
.why-us__hours {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* --- Reviews --- */
.section_reviews { background: var(--bg-card); }
.reviews {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.review-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative;
}
.review-card__num {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.8;
}
.review-card__text {
  margin: 0 0 16px;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.review-card__author {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  font-style: normal;
}

/* --- CTA --- */
.section_cta {
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg) 100%);
}
.cta__text {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 24px;
  color: var(--text-muted);
}
.cta__features {
  justify-content: center;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}
.cta__features li {
  padding-left: 0;
  margin: 0;
}
.cta__features li::before { display: none; }
.cta__phone {
  display: block;
  text-align: center;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 24px;
}

/* --- About --- */
.section_about {
  padding-top: 48px;
  padding-bottom: 48px;
}
.section_about .section__title { margin-bottom: 24px; }
.section_about p {
  margin: 0 0 16px;
  color: var(--text-muted);
  max-width: 720px;
}

/* --- Footer --- */
.footer {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  padding: 32px 0;
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
}
.footer__nav {
  display: flex;
  gap: 24px;
}
.footer__link {
  color: var(--text-muted);
  font-size: 0.95rem;
}
.footer__link:hover { color: var(--accent); }
.footer__phone {
  font-weight: 700;
  color: var(--accent);
}
.footer__copy {
  width: 100%;
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: center;
}
@media (max-width: 600px) {
  .footer__inner { flex-direction: column; text-align: center; }
  .footer__nav { order: 1; }
  .footer__phone { order: 2; }
  .footer__copy { order: 3; }
}
