/* ============================================
   АВТО-СПЕЦТЕХНІКА — Landing Page Styles
   ============================================ */

:root {
  --color-bg: #0f1114;
  --color-bg-secondary: #1a1d23;
  --color-bg-card: #22262e;
  --color-bg-gray: #f4f5f7;
  --color-text: #e8eaed;
  --color-text-muted: #9aa0a8;
  --color-text-dark: #1a1d23;
  --color-accent: #f5a623;
  --color-accent-hover: #ffb940;
  --color-accent-dark: #d4890f;
  --color-border: #2e333d;
  --color-success: #34c759;
  --font: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.35);
  --transition: 0.25s ease;
  --header-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

ul {
  list-style: none;
}

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

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--color-accent);
  color: var(--color-text-dark);
  border-color: var(--color-accent);
}

.btn--primary:hover {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245, 166, 35, 0.35);
}

.btn--outline {
  background: transparent;
  color: var(--color-text);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn--outline:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

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

/* Badge */
.badge {
  display: inline-block;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  background: rgba(245, 166, 35, 0.15);
  color: var(--color-accent);
  border: 1px solid rgba(245, 166, 35, 0.3);
  border-radius: 50px;
}

/* Section */
.section {
  padding: 100px 0;
}

.section--dark {
  background: var(--color-bg-secondary);
}

.section--gray {
  background: var(--color-bg-gray);
  color: var(--color-text-dark);
}

.section--gray .section__tag {
  color: var(--color-accent-dark);
}

.section--gray .section__title {
  color: var(--color-text-dark);
}

.section--gray .section__desc {
  color: #5a6070;
}

.section__header {
  margin-bottom: 56px;
}

.section__header--center {
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section__tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.section__title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section__desc {
  font-size: 17px;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(15, 17, 20, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.header--scrolled {
  border-bottom-color: var(--color-border);
  box-shadow: var(--shadow);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  flex-shrink: 0;
}

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

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__link {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-muted);
  border-radius: 8px;
  transition: all var(--transition);
}

.nav__link:hover {
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.05);
}

.nav__link--cta {
  background: var(--color-accent);
  color: var(--color-text-dark) !important;
  font-weight: 600;
  margin-left: 8px;
}

.nav__link--cta:hover {
  background: var(--color-accent-hover);
}

.header__phones {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  flex-shrink: 0;
}

.header__phone {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-accent);
  white-space: nowrap;
  line-height: 1.3;
}

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

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

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

.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}

.nav-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.nav__phone {
  display: none;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-height) + 40px) 0 80px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(15, 17, 20, 0.88) 0%,
      rgba(15, 17, 20, 0.72) 28%,
      rgba(15, 17, 20, 0.35) 52%,
      rgba(15, 17, 20, 0.08) 72%,
      transparent 100%
    ),
    url('../images/hero-bg.jpg') center center / cover no-repeat;
  z-index: -1;
}

.hero__content {
  max-width: 580px;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 60px;
  align-items: center;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.hero__title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero__subtitle {
  font-size: 18px;
  color: rgba(232, 234, 237, 0.88);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 540px;
}

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

.hero__stats {
  display: flex;
  gap: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.stat__num {
  display: block;
  font-size: 32px;
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 4px;
}

.stat__label {
  font-size: 13px;
  color: var(--color-text-muted);
}

.hero__form-card {
  background: rgba(26, 29, 35, 0.68);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
}

.hero__form-card .form input,
.hero__form-card .form textarea {
  background: rgba(15, 17, 20, 0.55);
  border-color: rgba(255, 255, 255, 0.1);
}

.hero__form-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.hero__form-desc {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

/* Form */
.form input,
.form textarea,
.form select {
  width: 100%;
  padding: 14px 16px;
  margin-bottom: 12px;
  font-family: var(--font);
  font-size: 15px;
  color: var(--color-text);
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  transition: border-color var(--transition);
}

.form input:focus,
.form textarea:focus,
.form select:focus {
  outline: none;
  border-color: var(--color-accent);
}

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

.form select {
  cursor: pointer;
  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 fill='%239aa0a8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.form__note {
  font-size: 12px;
  color: var(--color-text-muted);
  text-align: center;
  margin-top: 12px;
}

/* About */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.about__text p {
  color: var(--color-text-muted);
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 1.8;
}

.about__text strong {
  color: var(--color-text);
}

.about__list {
  margin-top: 24px;
}

.about__list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: var(--color-text-muted);
}

.about__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
}

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

.feature-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform var(--transition), border-color var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 166, 35, 0.3);
}

.feature-card__icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

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

.service-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-accent);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 166, 35, 0.3);
  box-shadow: var(--shadow);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card__num {
  font-size: 48px;
  font-weight: 800;
  color: rgba(245, 166, 35, 0.15);
  line-height: 1;
  margin-bottom: 16px;
}

.service-card__title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
}

.service-card__desc {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 16px;
  line-height: 1.7;
}

.service-card__list li {
  font-size: 13px;
  color: var(--color-text-muted);
  padding-left: 16px;
  margin-bottom: 6px;
  position: relative;
}

.service-card__list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--color-accent);
}

/* Advantages */
.advantages__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.advantage {
  text-align: center;
  padding: 32px 24px;
}

.advantage__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  background: rgba(245, 166, 35, 0.15);
  color: var(--color-accent);
  font-size: 24px;
  font-weight: 700;
  border-radius: 50%;
}

.advantage h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
}

.advantage p {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* Pricing */
.pricing__table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  margin-bottom: 40px;
}

.pricing__table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: 15px;
}

.pricing__table thead {
  background: var(--color-text-dark);
  color: #fff;
}

.pricing__table th,
.pricing__table td {
  padding: 18px 24px;
  text-align: left;
  border-bottom: 1px solid #e8eaed;
}

.pricing__table th {
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pricing__table tbody tr:hover {
  background: #fafbfc;
}

.pricing__table .price {
  font-weight: 700;
  color: var(--color-accent-dark);
  white-space: nowrap;
}

.pricing__note {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.pricing__note p {
  font-size: 15px;
  color: #5a6070;
  margin-bottom: 24px;
  line-height: 1.7;
}

/* Process */
.process__timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.process__step {
  position: relative;
  padding: 32px 24px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  text-align: center;
}

.process__step-num {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  background: var(--color-accent);
  color: var(--color-text-dark);
  font-size: 20px;
  font-weight: 800;
  border-radius: 50%;
}

.process__step h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
}

.process__step p {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.7;
}

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

.project-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  transition: transform var(--transition);
}

.project-card:hover {
  transform: translateY(-6px);
}

.project-card__img {
  height: 200px;
  background-size: cover;
  background-position: center;
}

.project-card__img--1 {
  background: linear-gradient(135deg, #2a2f3a 0%, #1a1d23 100%),
    repeating-linear-gradient(90deg, #333 0, #333 40px, #444 40px, #444 80px);
}

.project-card__img--2 {
  background: linear-gradient(135deg, #3a3f4a 0%, #22262e 100%),
    radial-gradient(circle at 30% 70%, rgba(245, 166, 35, 0.2) 0%, transparent 50%);
}

.project-card__img--3 {
  background: linear-gradient(135deg, #252a35 0%, #1a1d23 100%),
    linear-gradient(0deg, rgba(245, 166, 35, 0.1) 0%, transparent 50%);
}

.project-card__img--4 {
  background: linear-gradient(135deg, #2e333d 0%, #1a1d23 100%),
    repeating-linear-gradient(-45deg, transparent, transparent 10px, rgba(255,255,255,0.03) 10px, rgba(255,255,255,0.03) 20px);
}

.project-card__info {
  padding: 20px;
}

.project-card__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-accent);
  margin-bottom: 8px;
}

.project-card__info h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.project-card__info p {
  font-size: 13px;
  color: var(--color-text-muted);
}

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

.equipment__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 24px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}

.equipment__item:hover {
  border-color: rgba(245, 166, 35, 0.3);
  transform: translateY(-4px);
}

.equipment__icon {
  font-size: 40px;
  margin-bottom: 16px;
}

.equipment__item h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.equipment__item p {
  font-size: 14px;
  color: var(--color-text-muted);
}

/* FAQ */
.faq__list {
  max-width: 800px;
  margin: 0 auto;
}

.faq__item {
  background: #fff;
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.faq__item summary {
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text-dark);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--transition);
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: '+';
  font-size: 24px;
  font-weight: 400;
  color: var(--color-accent-dark);
  transition: transform var(--transition);
}

.faq__item[open] summary::after {
  transform: rotate(45deg);
}

.faq__item summary:hover {
  background: #fafbfc;
}

.faq__item p {
  padding: 0 24px 20px;
  font-size: 15px;
  color: #5a6070;
  line-height: 1.7;
}

/* Contact */
.contact {
  background: var(--color-bg-secondary);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact__desc {
  color: var(--color-text-muted);
  margin-bottom: 28px;
  font-size: 16px;
  line-height: 1.7;
}

.contact__card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.contact__card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 24px;
}

.contact__block-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.contact__icon {
  width: 18px;
  height: 18px;
  color: var(--color-accent);
  flex-shrink: 0;
}

.contact__label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--color-text-muted);
}

.contact__value {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.5;
  margin-bottom: 4px;
  transition: color var(--transition);
}

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

.contact__value--text {
  font-weight: 500;
  color: rgba(232, 234, 237, 0.85);
  margin-bottom: 0;
}

.contact__messengers {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}

.contact__messengers .contact__label {
  margin-bottom: 14px;
}

.contact__messengers-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.messenger-link {
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text);
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.messenger-link:hover {
  border-color: rgba(245, 166, 35, 0.4);
  color: var(--color-accent);
  background: rgba(245, 166, 35, 0.06);
}

.contact__form {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.contact__form h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 24px;
}

/* Footer */
.footer {
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 60px 20px 40px;
}

.footer__nav {
  display: contents;
}

.footer__brand p {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-top: 16px;
  line-height: 1.7;
}

.footer__legal {
  font-size: 12px !important;
  margin-top: 12px !important;
  opacity: 0.7;
}

.footer__links h4,
.footer__contact h4 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.footer__links a,
.footer__contact a {
  display: block;
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 10px;
}

.footer__links a:hover,
.footer__contact a:hover {
  color: var(--color-accent);
}

.footer__contact p {
  font-size: 14px;
  color: var(--color-text-muted);
}

.footer__bottom {
  border-top: 1px solid var(--color-border);
  padding: 20px 0;
}

.footer__bottom p {
  font-size: 13px;
  color: var(--color-text-muted);
  text-align: center;
}

/* Floating phone */
.float-phone {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent);
  color: var(--color-text-dark);
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(245, 166, 35, 0.4);
  transition: all var(--transition);
  animation: pulse 2s infinite;
}

.float-phone:hover {
  transform: scale(1.1);
  background: var(--color-accent-hover);
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(245, 166, 35, 0.4); }
  50% { box-shadow: 0 4px 30px rgba(245, 166, 35, 0.6); }
}

/* Toast notification */
.toast {
  position: fixed;
  bottom: 100px;
  right: 24px;
  z-index: 1001;
  padding: 16px 24px;
  background: var(--color-success);
  color: #fff;
  font-weight: 600;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  transform: translateX(calc(100% + 40px));
  transition: transform 0.4s ease;
}

.toast.show {
  transform: translateX(0);
}

/* Animations on scroll */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Responsive — Tablet */
@media (max-width: 992px) {
  :root {
    --header-height: 64px;
  }

  .header__phones {
    display: none;
  }

  .burger {
    display: flex;
    z-index: 1001;
  }

  .nav-overlay {
    display: block;
  }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: min(320px, 88vw);
    flex-direction: column;
    align-items: stretch;
    padding: calc(var(--header-height) + 16px) 20px 32px;
    background: var(--color-bg-secondary);
    border-left: 1px solid var(--color-border);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    gap: 4px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.4);
  }

  .nav.open {
    transform: translateX(0);
  }

  .nav__link {
    padding: 14px 16px;
    font-size: 16px;
    border-radius: var(--radius);
  }

  .nav__link--cta {
    margin-left: 0;
    margin-top: 8px;
    text-align: center;
    padding: 16px;
  }

  .nav__phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 16px;
    padding: 16px;
    background: rgba(245, 166, 35, 0.12);
    border: 1px solid rgba(245, 166, 35, 0.3);
    border-radius: var(--radius);
    color: var(--color-accent);
    font-weight: 700;
    font-size: 15px;
  }

  .nav__phone + .nav__phone {
    margin-top: 8px;
  }

  .hero__bg {
    background:
      linear-gradient(
        180deg,
        rgba(15, 17, 20, 0.92) 0%,
        rgba(15, 17, 20, 0.78) 50%,
        rgba(15, 17, 20, 0.65) 100%
      ),
      url('../images/hero-bg.jpg') center center / cover no-repeat;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero__form-card {
    max-width: 100%;
    margin: 0 auto;
  }

  .about__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

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

  .contact__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .footer__nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }

  .footer__contact {
    grid-column: 1 / -1;
  }
}

/* Responsive — Mobile */
@media (max-width: 768px) {
  .section {
    padding: 56px 0;
  }

  .container {
    padding: 0 16px;
  }

  .section__header {
    margin-bottom: 40px;
    text-align: center;
  }

  .section__title {
    font-size: 26px;
  }

  .section__desc {
    font-size: 15px;
  }

  .logo {
    font-size: 17px;
  }

  /* Hero */
  .hero {
    min-height: auto;
    padding: calc(var(--header-height) + 20px) 0 40px;
  }

  .hero__content {
    max-width: 100%;
    text-align: center;
  }

  .hero__title {
    font-size: clamp(28px, 8vw, 40px);
  }

  .hero__badges {
    justify-content: center;
  }

  .hero__subtitle {
    max-width: 100%;
    font-size: 15px;
  }

  .hero__form-card {
    padding: 22px 18px;
  }

  .hero__form-card .form input,
  .hero__form-card .form textarea,
  .contact__form input,
  .contact__form textarea,
  .contact__form select {
    font-size: 16px;
  }

  .hero__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding-top: 20px;
    text-align: center;
  }

  .stat__num {
    font-size: 22px;
  }

  .stat__label {
    font-size: 10px;
    line-height: 1.3;
  }

  .hero__actions {
    flex-direction: column;
    margin-bottom: 28px;
  }

  .hero__actions .btn {
    width: 100%;
    padding: 16px;
  }

  .btn {
    min-height: 48px;
  }

  /* About */
  .about__text p {
    font-size: 15px;
  }

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

  .feature-card {
    padding: 20px;
  }

  /* Services */
  .service-card {
    padding: 22px 18px;
  }

  .service-card__num {
    font-size: 36px;
  }

  .service-card__title {
    font-size: 17px;
  }

  /* Advantages */
  .advantages__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .advantage {
    display: flex;
    gap: 16px;
    text-align: left;
    align-items: flex-start;
    padding: 20px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
  }

  .advantage__icon {
    margin: 0;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    font-size: 18px;
  }

  /* FAQ */
  .faq__item summary {
    padding: 16px 18px;
    font-size: 15px;
    gap: 12px;
  }

  .faq__item p {
    padding: 0 18px 16px;
    font-size: 14px;
  }

  /* Contact */
  .contact__info {
    text-align: left;
  }

  .contact__card {
    padding: 22px 18px;
  }

  .contact__card-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .contact__messengers-list {
    flex-direction: column;
  }

  .messenger-link {
    width: 100%;
    text-align: center;
    padding: 12px 18px;
  }

  .contact__form {
    padding: 22px 18px;
  }

  .contact__form h3 {
    font-size: 20px;
  }

  /* Footer */
  .footer {
    padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px));
  }

  .footer__inner {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 36px 16px 20px;
  }

  .footer__brand {
    text-align: center;
    padding-bottom: 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--color-border);
  }

  .footer__brand .logo {
    justify-content: center;
    font-size: 24px;
  }

  .footer__brand p {
    font-size: 14px;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
  }

  .footer__nav {
    grid-template-columns: 1fr 1fr;
    gap: 20px 16px;
    margin-bottom: 20px;
  }

  .footer__links h4 {
    font-size: 11px;
    margin-bottom: 10px;
    color: var(--color-accent);
  }

  .footer__links a {
    padding: 5px 0;
    font-size: 14px;
  }

  .footer__contact {
    text-align: center;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 22px 18px;
  }

  .footer__contact h4 {
    font-size: 11px;
    color: var(--color-accent);
    margin-bottom: 12px;
  }

  .footer__contact a[href^="tel"] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: none;
    padding: 14px;
    margin: 0 0 10px;
    background: var(--color-accent);
    color: var(--color-text-dark) !important;
    font-weight: 700;
    font-size: 15px;
    border-radius: var(--radius);
  }

  .footer__contact a[href^="mailto"] {
    font-size: 14px;
    margin-bottom: 6px;
  }

  .footer__contact p {
    font-size: 13px;
  }

  .footer__bottom p {
    font-size: 11px;
    padding: 0 16px;
  }

  /* Floating button */
  .float-phone {
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    right: 16px;
    width: 52px;
    height: 52px;
  }

  .toast {
    left: 16px;
    right: 16px;
    bottom: calc(80px + env(safe-area-inset-bottom, 0px));
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero__stats {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
  }

  .stat__num {
    font-size: 20px;
  }

  .stat__label {
    font-size: 9px;
  }

  .hero__badges {
    gap: 8px;
  }

  .badge {
    font-size: 12px;
    padding: 5px 12px;
  }

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

  .footer__links {
    text-align: center;
  }

  .footer__contact h4 {
    font-size: 11px;
    color: var(--color-accent);
    margin-bottom: 12px;
  }

  .footer__contact a[href^="mailto"] {
    font-size: 14px;
  }
}

@media (max-width: 360px) {
  .hero__stats {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .stat {
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
  }
}

/* Thank you page */
.thank-you {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-height) + 40px) 20px 60px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(245, 166, 35, 0.08) 0%, transparent 60%),
    var(--color-bg);
}

.thank-you__inner {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
}

.thank-you__icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  background: rgba(52, 199, 89, 0.15);
  color: var(--color-success);
  font-size: 36px;
  font-weight: 800;
  border-radius: 50%;
  border: 2px solid rgba(52, 199, 89, 0.3);
}

.thank-you__title {
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 800;
  margin-bottom: 16px;
}

.thank-you__text {
  font-size: 17px;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
}

.thank-you__text strong {
  color: var(--color-accent);
}

.thank-you__phones {
  margin-bottom: 24px;
}

.thank-you__phones p {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.thank-you__phones .btn {
  width: 100%;
  max-width: 280px;
  margin: 0 auto 10px;
}

.thank-you__messengers {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 32px;
}

.thank-you__back {
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text-muted);
  transition: color var(--transition);
}

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

.footer--minimal {
  border-top: 1px solid var(--color-border);
  padding: 24px 0;
}

.footer__bottom-text {
  font-size: 13px;
  color: var(--color-text-muted);
  text-align: center;
}

@media (max-width: 768px) {
  .thank-you__messengers {
    flex-direction: column;
    align-items: stretch;
  }

  .thank-you__messengers .messenger-btn {
    width: 100%;
    text-align: center;
  }
}
