:root {
  /* Новая цветовая палитра */
  --bg: #0a0a0c;
  --surface: #141418;
  --surface-card: rgba(40, 40, 46, 0.75);
  --surface-card-hover: rgba(45, 45, 52, 0.9);
  --text: #e5e5e7;
  --muted: #a0a0a8;
  --border: #2c2c33;
  --border-light: rgba(255, 255, 255, 0.08);
  
  /* Современный акцентный цвет - мягкий бирюзовый */
  --accent: #4ECDC4;
  --accent-hover: #5EE5DC;
  --accent-dark: #3DB5AD;
  --accent-light: rgba(78, 205, 196, 0.15);
  
  --gold: #4ECDC4;
  
  /* Тени */
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-accent: 0 12px 32px rgba(78, 205, 196, 0.25);
  --shadow-lift: 0 20px 40px rgba(0, 0, 0, 0.5);
  
  /* Радиусы */
  --radius: 24px;
  --radius-sm: 16px;
  --radius-lg: 32px;
  
  /* Размеры */
  --container: 1280px;
  --text-max: 64ch;
  
  /* Blur */
  --blur-sm: blur(2px);
  --blur-md: blur(8px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Inter", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

main {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  box-sizing: border-box;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

.section {
  position: relative;
  padding: 80px 0;
  width: 100%;
  box-sizing: border-box;
}

/* Обновлённые фоны секций с новыми цветами */
.hero { 
  background: radial-gradient(1200px 600px at 18% 8%, rgba(78, 205, 196, 0.12) 0%, rgba(78, 205, 196, 0.03) 45%, transparent 70%), 
              linear-gradient(180deg, #0d0d0f 0%, var(--bg) 100%);
  background-attachment: fixed;
}

#benefits { 
  background: linear-gradient(180deg, rgba(20, 20, 24, 0.95) 0%, var(--bg) 100%);
}

#car { 
  background: radial-gradient(900px 520px at 85% 20%, rgba(78, 205, 196, 0.06) 0%, transparent 60%), 
              linear-gradient(180deg, rgba(18, 18, 22, 0.95) 0%, var(--bg) 100%);
}

#philosophy { 
  background: linear-gradient(180deg, rgba(20, 20, 24, 0.96) 0%, var(--bg) 100%);
}

#about { 
  background: radial-gradient(1000px 520px at 20% 10%, rgba(78, 205, 196, 0.08) 0%, transparent 62%), 
              linear-gradient(180deg, rgba(18, 18, 22, 0.95) 0%, var(--bg) 100%);
}

#services { 
  background: linear-gradient(180deg, rgba(22, 22, 28, 0.96) 0%, var(--bg) 100%);
}

#reviews { 
  background: radial-gradient(900px 520px at 75% 10%, rgba(78, 205, 196, 0.08) 0%, transparent 55%), 
              linear-gradient(180deg, rgba(18, 18, 22, 0.95) 0%, var(--bg) 100%);
}

#faq { 
  background: linear-gradient(180deg, rgba(20, 20, 24, 0.96) 0%, var(--bg) 100%);
}

#contact { 
  background: radial-gradient(1000px 560px at 20% 30%, rgba(78, 205, 196, 0.06) 0%, transparent 60%), 
              linear-gradient(180deg, rgba(18, 18, 22, 0.96) 0%, var(--bg) 100%);
}

/* Тонкое разделение секций */
.section::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(78, 205, 196, 0.2) 50%, transparent 100%);
  opacity: 0.5;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero::before {
  background: radial-gradient(520px 520px at 28% 18%, rgba(78, 205, 196, 0.15) 0%, rgba(78, 205, 196, 0.04) 35%, transparent 68%);
  opacity: 0.9;
}

.hero::after {
  background: radial-gradient(900px 520px at 50% 0%, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.2) 65%, rgba(0, 0, 0, 0.4) 100%);
  opacity: 0.85;
}

.hero .container {
  position: relative;
  z-index: 1;
}

/* Типографика */
h1,
h2,
h3 {
  margin: 0 0 20px;
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.2;
  letter-spacing: -0.02em;
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
  font-weight: 900;
}

h1 {
  font-size: 36px;
  line-height: 1.1;
  color: var(--text);
}

h1 .accent-text {
  color: var(--accent);
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 24px;
  line-height: 1.2;
}

h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}

p {
  margin: 0 0 18px;
  color: var(--text);
  line-height: 1.7;
}

.lead-text,
.hero-description {
  color: var(--muted);
  font-size: 15px;
  max-width: var(--text-max);
  line-height: 1.7;
}

.lead-text {
  margin-bottom: 36px;
}

.eyebrow {
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 16px;
  text-transform: uppercase;
  font-size: 13px;
}

.accent-quote {
  margin-bottom: 36px;
  color: var(--accent);
  font-style: italic;
  font-size: 18px;
  line-height: 1.6;
}

.micro-note {
  color: var(--muted);
  font-size: 14px;
  margin-top: 12px;
}

/* Бейдж для первого занятия */
.badge {
  margin: 20px 0 0;
}

.badge-text {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(78, 205, 196, 0.12);
  border: 1px solid rgba(78, 205, 196, 0.3);
  border-radius: 20px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background-color 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
  background: transparent;
}

.header.scrolled {
  background: rgba(10, 10, 12, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: rgba(78, 205, 196, 0.15);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  width: 100%;
  box-sizing: border-box;
}

.logo {
  font-family: "Inter", Arial, sans-serif;
  font-weight: 700;
  font-size: 17px;
  white-space: nowrap;
  color: var(--text);
  letter-spacing: -0.01em;
}

.nav {
  display: none;
  gap: 24px;
}

.nav a {
  color: var(--muted);
  transition: color 0.25s ease;
  font-weight: 500;
  font-size: 15px;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--accent);
}

/* Кнопки */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  max-width: 100%;
  box-sizing: border-box;
  letter-spacing: 0.01em;
}

.btn:focus-visible,
input:focus-visible,
select:focus-visible,
.faq-question:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--accent);
  color: #0a0a0c;
  border-color: var(--accent);
  box-shadow: 0 8px 20px rgba(78, 205, 196, 0.3);
}

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  box-shadow: 0 12px 28px rgba(78, 205, 196, 0.4);
  transform: scale(1.02);
}

.btn-outline {
  border-color: var(--border);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

.btn-outline:hover {
  border-color: var(--accent);
  background: rgba(78, 205, 196, 0.08);
  transform: scale(1.02);
}

.btn-service {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
  border-width: 2px;
  margin-top: auto;
  align-self: flex-start;
}

.btn-service:hover {
  background: var(--accent);
  color: #0a0a0c;
  border-color: var(--accent);
  box-shadow: 0 8px 20px rgba(78, 205, 196, 0.3);
  transform: scale(1.02);
}

.btn-lg {
  padding: 16px 28px;
  min-height: 56px;
  font-size: 16px;
}

/* Hero секция */
.hero {
  padding-top: 90px;
  padding-bottom: 100px;
}

.hero-grid,
.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}

.hero-content,
.about-content,
.card,
.faq-answer,
.review-card blockquote {
  min-width: 0;
}

.hero-content {
  max-width: 62ch;
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  margin-bottom: 24px;
}

.hero-content .hero-description {
  margin-bottom: 32px;
  line-height: 1.75;
  font-size: 16px;
}

.hero-content .btn-lg {
  margin-top: 8px;
}

/* Hero фото */
.hero-media {
  position: relative;
  z-index: 1;
}

.hero-media img,
.about-media img {
  width: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
  border: 2px solid rgba(78, 205, 196, 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 0 60px rgba(0, 0, 0, 0.3);
  position: relative;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.4) 0%, transparent 40%);
  pointer-events: none;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: calc(var(--radius-lg) + 4px);
  background: radial-gradient(420px 420px at 30% 25%, rgba(78, 205, 196, 0.15) 0%, transparent 62%);
  opacity: 0.8;
  pointer-events: none;
  z-index: -1;
}

/* Сетки */
.grid-2,
.grid-3,
.services-grid,
.reviews-grid {
  display: grid;
  gap: 20px;
  width: 100%;
  box-sizing: border-box;
}

/* Карточки */
.card {
  background: var(--surface-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-soft);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  min-width: 0;
  contain: layout style paint;
  position: relative;
  backdrop-filter: var(--blur-sm);
  -webkit-backdrop-filter: var(--blur-sm);
}

.card:hover {
  border-color: rgba(78, 205, 196, 0.4);
  box-shadow: var(--shadow-lift);
  transform: translateY(-4px);
}

.card h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
  margin-bottom: 16px;
}

.card i {
  color: var(--accent);
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.card p {
  color: var(--muted);
  line-height: 1.7;
}

/* Разные типы карточек по секциям */
#benefits .card {
  background: linear-gradient(180deg, rgba(45, 45, 52, 0.9) 0%, rgba(35, 35, 42, 0.85) 100%);
  backdrop-filter: var(--blur-sm);
  -webkit-backdrop-filter: var(--blur-sm);
}

#philosophy .card {
  background: linear-gradient(180deg, rgba(42, 42, 50, 0.85) 0%, rgba(32, 32, 40, 0.8) 100%);
  border-color: rgba(255, 255, 255, 0.12);
}

#reviews .card {
  background: linear-gradient(180deg, rgba(44, 44, 52, 0.9) 0%, rgba(34, 34, 42, 0.85) 100%);
}

#faq .card {
  background: rgba(42, 42, 50, 0.8);
  box-shadow: none;
}

#faq .card:hover {
  background: rgba(30, 30, 36, 0.8);
  transform: none;
}

/* Карточки услуг */
.service-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: rgba(45, 45, 52, 0.85);
  backdrop-filter: var(--blur-sm);
  -webkit-backdrop-filter: var(--blur-sm);
  position: relative;
}

/* Мобильная адаптация для карточек услуг */
@media (max-width: 575px) {
  .service-card-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  
  .service-time-price {
    text-align: center;
    font-size: 14px;
  }
  
  .service-card .btn-service {
    width: 100%;
    justify-content: center;
  }
}

.service-card:hover {
  backdrop-filter: var(--blur-md);
  -webkit-backdrop-filter: var(--blur-md);
  background: rgba(50, 50, 58, 0.95);
}

.service-card h3 {
  position: relative;
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  line-height: 1.4;
}

.service-card p {
  color: var(--muted);
  margin-bottom: 12px;
  flex-grow: 1;
  padding-right: 0;
}

.service-time-price {
  color: var(--accent);
  font-weight: 800;
  font-size: 14.4px;
  margin: 0 !important;
  letter-spacing: -0.01em;
  white-space: nowrap;
  flex-shrink: 0;
}

.service-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 8px;
}

.service-card .btn-service {
  flex-shrink: 0;
}

.final-phrase {
  margin-top: 32px;
  color: var(--muted);
  font-style: italic;
  line-height: 1.75;
}

/* Обо мне */
.about-content {
  max-width: var(--text-max);
}

.about-content h2 {
  margin-bottom: 28px;
}

.about-name {
  font-size: 24px;
  color: var(--accent);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.about-content > p {
  line-height: 1.75;
  margin-bottom: 24px;
}

.about-media img {
  border: 2px solid rgba(78, 205, 196, 0.2);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

/* Отзывы */
.review-card blockquote {
  margin: 0 0 20px;
  color: var(--text);
  font-style: italic;
  font-size: 16px;
  line-height: 1.75;
  padding-left: 8px;
  border-left: 3px solid rgba(78, 205, 196, 0.3);
}

.avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  border: 2px solid rgba(78, 205, 196, 0.4);
  color: #fff;
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(78, 205, 196, 0.3);
}

.review-author {
  color: var(--muted);
  margin: 0;
  font-weight: 600;
}

.reviews-link {
  margin-top: 32px;
  text-align: center;
}

.reviews-link a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  padding: 10px 20px;
  border: 1px solid rgba(78, 205, 196, 0.3);
  border-radius: 24px;
  background: rgba(78, 205, 196, 0.08);
  transition: all 0.3s ease;
  font-weight: 500;
}

.reviews-link a:hover {
  background: rgba(78, 205, 196, 0.15);
  border-color: var(--accent);
  transform: scale(1.02);
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 16px;
}

.faq-item {
  padding: 0;
}

.faq-question {
  width: 100%;
  background: transparent;
  color: var(--text);
  border: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  text-align: left;
  font: inherit;
  padding: 24px 28px;
  cursor: pointer;
  overflow-wrap: anywhere;
  word-break: break-word;
  transition: background-color 0.3s ease;
  border-radius: var(--radius);
}

.faq-question:hover {
  background: rgba(255, 255, 255, 0.03);
}

.faq-question i {
  color: var(--accent);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.faq-item.open .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0 28px;
}

.faq-item.open .faq-answer {
  padding-bottom: 24px;
}

.faq-answer p {
  color: var(--muted);
  line-height: 1.75;
}

/* Форма */
.contact-form {
  display: grid;
  gap: 12px;
  position: relative;
}

.form-status {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 8px;
}

.form-status-success {
  background: rgba(78, 205, 196, 0.15);
  border: 1px solid rgba(78, 205, 196, 0.3);
  color: var(--accent);
}

.form-status-error {
  background: rgba(255, 94, 58, 0.15);
  border: 1px solid rgba(255, 94, 58, 0.3);
  color: #ff5e3a;
}

.btn-loader {
  display: inline-block;
}

#submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  pointer-events: none;
}

label {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
}

input,
select {
  min-height: 48px;
  width: 100%;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: #1a1a20;
  color: var(--text);
  padding: 12px 16px;
  font: inherit;
  box-sizing: border-box;
  max-width: 100%;
  transition: all 0.3s ease;
  font-size: 15px;
}

input::placeholder {
  color: var(--muted);
  opacity: 0.6;
}

input:focus,
select:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.15);
  background: #1e1e24;
}

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='%23c9a45b' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

/* Контакты */
.contacts-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  gap: 12px;
}

.contacts-list li,
.messengers .btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.contacts-list a {
  color: var(--text);
  transition: color 0.2s ease;
}

.contacts-list a:hover {
  color: var(--accent);
}

.messengers {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Footer */
.footer {
  border-top: 1px solid rgba(78, 205, 196, 0.1);
  background: rgba(255, 255, 255, 0.01);
  padding: 40px 0;
}

.footer-inner {
  min-height: 60px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer p,
.footer a {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.footer a:hover {
  color: var(--accent);
}

.socials {
  display: inline-flex;
  gap: 12px;
}

.socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(78, 205, 196, 0.2);
  background: rgba(78, 205, 196, 0.05);
  transition: all 0.3s ease;
}

.socials a:hover {
  background: rgba(78, 205, 196, 0.15);
  border-color: var(--accent);
  transform: scale(1.1);
}

/* Фоновые эффекты */
.noise-overlay {
  pointer-events: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  max-width: 100%;
  z-index: -1;
  opacity: 0.02;
  background-image: radial-gradient(circle, #ffffff 0.5px, transparent 0.5px);
  background-size: 4px 4px;
  overflow: hidden;
}

.road-lines {
  pointer-events: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  max-width: 100%;
  z-index: -2;
  opacity: 0.06;
  background-image:
    linear-gradient(110deg, transparent 0%, rgba(78, 205, 196, 0.4) 50%, transparent 100%),
    linear-gradient(70deg, transparent 0%, rgba(78, 205, 196, 0.3) 50%, transparent 100%),
    linear-gradient(45deg, transparent 0%, rgba(78, 205, 196, 0.25) 50%, transparent 100%);
  background-size: min(1200px, 100vw) 1px, min(900px, 100vw) 1px, min(800px, 100vw) 1px;
  background-repeat: no-repeat;
  background-position: -200px 22%, 90% 75%, 20% 50%;
  overflow: hidden;
  animation: roadLinesMove 20s linear infinite;
}

@keyframes roadLinesMove {
  0% {
    background-position: -200px 22%, 90% 75%, 20% 50%;
  }
  100% {
    background-position: calc(-200px + 100px) 22%, calc(90% + 50px) 75%, calc(20% + 30px) 50%;
  }
}

/* Анимации появления */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transition-delay: var(--delay, 0s);
  will-change: opacity, transform;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  will-change: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  border: 0;
  clip: rect(0 0 0 0);
}

/* Кнопка "Наверх" */
.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 150;
  width: 48px;
  height: 48px;
  border: 2px solid rgba(78, 205, 196, 0.3);
  border-radius: 50%;
  background: rgba(10, 10, 12, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--accent);
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.back-to-top:hover {
  border-color: var(--accent);
  background: rgba(78, 205, 196, 0.1);
  transform: translateY(0) scale(1.1);
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Медиа-запросы */
@media (min-width: 576px) {
  .container {
    padding: 0 20px;
  }

  .grid-2,
  .services-grid,
  .reviews-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .service-time-price {
    font-size: 14px;
  }
}

@media (min-width: 768px) {
  body {
    font-size: 17px;
  }

  .section {
    padding: 100px 0;
  }

  h1 {
    font-size: 48px;
    line-height: 1.08;
  }

  h2 {
    font-size: 36px;
    line-height: 1.15;
  }

  h3 {
    font-size: 22px;
  }

  .hero-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
  }

  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero {
    padding-top: 110px;
    padding-bottom: 120px;
  }

  .hero-content .hero-description {
    font-size: 17px;
  }
  
  .service-time-price {
    font-size: 14.4px;
  }
}

@media (min-width: 1024px) {
  h1 {
    font-size: 64px;
    line-height: 1.05;
  }

  h2 {
    font-size: 44px;
    line-height: 1.12;
  }

  h3 {
    font-size: 24px;
  }

  .section {
    padding: 120px 0;
  }

  .nav {
    display: flex;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  
  .service-time-price {
    font-size: 15px;
  }

  .reviews-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .back-to-top {
    display: none;
  }

  .hero-content .hero-description {
    font-size: 18px;
  }
}

@media (min-width: 1280px) {
  .hero {
    padding-top: 120px;
    padding-bottom: 140px;
  }
}

/* Улучшения для производительности */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .road-lines {
    animation: none;
  }
}
