:root {
  --bg: #0d0d10;
  --bg-alt: #131317;
  --surface: #1a1a20;
  --surface-hover: #212129;
  --border: #2a2a33;
  --text: #f3f3f5;
  --text-muted: #9a9aa5;
  --accent: #ff4d2e;
  --accent-dark: #e03d1f;
  --accent-soft: rgba(255, 77, 46, 0.12);
  --radius: 14px;
  --container-w: 1180px;
  --shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.6);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow {
  max-width: 780px;
}

h1, h2, h3 {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(28px, 4vw, 40px);
}

h3 {
  font-size: 20px;
}

p {
  margin: 0;
  color: var(--text-muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

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

.btn--accent:hover {
  background: var(--accent-dark);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border-color: var(--border);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

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

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

.btn--sm {
  padding: 10px 18px;
  font-size: 14px;
}

.btn--lg {
  padding: 16px 30px;
  font-size: 16px;
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(13, 13, 16, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 76px;
}

.logo {
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.01em;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav {
  display: flex;
  gap: 28px;
  margin-left: 12px;
  flex: 1;
}

.nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.15s ease;
}

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

.nav a.nav__cta {
  display: none;
  color: #fff;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header-phone {
  font-weight: 700;
  font-size: 15px;
  white-space: nowrap;
}

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

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  background: none;
  border: none;
  cursor: pointer;
}

.burger span {
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Hero */
.hero {
  padding: 72px 0 88px;
  background: radial-gradient(circle at 80% 0%, rgba(255, 77, 46, 0.14), transparent 55%), var(--bg);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero__title {
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.08;
  margin-bottom: 20px;
}

.hero__subtitle {
  font-size: 17px;
  max-width: 480px;
  margin-bottom: 32px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 44px;
}

.hero__badges {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  border-top: 1px solid var(--border);
  padding-top: 28px;
}

.hero-badge {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-badge__value {
  font-size: 22px;
  font-weight: 800;
  color: var(--accent);
}

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

.hero__media img {
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

/* Sections */
.section {
  padding: 96px 0;
}

.section--alt {
  background: var(--bg-alt);
}

.section__head {
  max-width: 640px;
  margin: 0 auto 52px;
  text-align: center;
}

.section__head h2 {
  margin-bottom: 14px;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 24px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.service-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.service-card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
}

.service-card h3 {
  margin-bottom: 10px;
}

.service-card p {
  font-size: 14.5px;
}

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

.gallery-card {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.gallery-card__images {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.gallery-card__img-wrap {
  position: relative;
}

.gallery-card__img-wrap img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.gallery-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

.gallery-card__badge--accent {
  background: var(--accent);
}

.gallery-card figcaption {
  padding: 16px 18px;
  font-size: 14.5px;
  color: var(--text-muted);
}

/* Process */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.process-card {
  padding: 8px;
}

.process-card__number {
  display: block;
  font-size: 34px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 10px;
}

.process-card h3 {
  margin-bottom: 8px;
}

.process-card p {
  font-size: 14.5px;
}

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

.pricing-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pricing-card--featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, var(--accent-soft), var(--surface) 40%);
}

.pricing-card__tag {
  position: absolute;
  top: -13px;
  left: 28px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
}

.pricing-card__price {
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
}

.pricing-card__desc {
  font-size: 14px;
}

.pricing-card__features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 6px 0 10px;
}

.pricing-card__features li {
  font-size: 14.5px;
  padding-left: 22px;
  position: relative;
}

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

.pricing-note {
  text-align: center;
  margin-top: 32px;
  font-size: 13.5px;
}

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

.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stars {
  color: var(--accent);
  letter-spacing: 2px;
}

.testimonial-card__text {
  font-size: 15px;
  color: var(--text);
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-card__author img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-card__name {
  display: block;
  font-weight: 700;
  font-size: 14.5px;
}

.testimonial-card__car {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 15.5px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.faq-item summary::after {
  content: '+';
  font-size: 22px;
  color: var(--accent);
  margin-left: 12px;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item p {
  margin-top: 14px;
  font-size: 14.5px;
}

/* CTA */
.cta {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
  text-align: center;
}

.cta h2 {
  color: #fff;
  margin-bottom: 12px;
}

.cta p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 28px;
}

.cta .btn--accent {
  background: #0d0d10;
}

.cta .btn--accent:hover {
  background: #000;
}

/* Contacts */
.contacts-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
}

.contacts-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 14.5px;
}

.contact-row__label {
  color: var(--text-muted);
}

.contact-row__value {
  font-weight: 700;
}

.contact-socials {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form h3 {
  margin-bottom: 4px;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text-muted);
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 14.5px;
  resize: vertical;
}

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

.contact-form__note {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  background: var(--bg-alt);
}

.site-footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 20px;
}

.site-footer__inner p {
  font-size: 13.5px;
  margin-top: 8px;
  max-width: 360px;
}

.site-footer__copy {
  font-size: 13px;
}

/* Floating WhatsApp button */
.floating-whatsapp {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  z-index: 40;
  transition: transform 0.2s ease;
}

.floating-whatsapp:hover {
  transform: scale(1.08);
}

/* Responsive */
@media (max-width: 980px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }

  .hero__media {
    order: -1;
  }

  .services-grid,
  .gallery-grid,
  .process-grid,
  .pricing-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 760px) {
  .nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 12px 24px 20px;
    gap: 4px;
    display: none;
  }

  .nav a {
    padding: 10px 0;
  }

  .nav a.nav__cta {
    display: inline-flex;
    margin-top: 8px;
    align-self: flex-start;
  }

  .nav--open {
    display: flex;
  }

  .burger {
    display: flex;
  }

  .header-phone {
    display: none;
  }

  .site-header__actions .btn {
    display: none;
  }

  .site-header__inner {
    gap: 12px;
  }

  .burger--open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

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

  .burger--open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

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

  .services-grid,
  .gallery-grid,
  .process-grid,
  .pricing-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .gallery-card__img-wrap img {
    height: 130px;
  }

  .section {
    padding: 64px 0;
  }
}
