/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: #080808;
  color: #fff;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===== НАВИГАЦИЯ ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(8, 8, 8, 0.92);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid #1a1a1a;
  z-index: 1000;
  padding: 0.7rem 0;
}

.nav-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.4rem;
  font-weight: 900;
  color: #fff;
}

.logo-icon {
  width: 38px;
  height: 38px;
}

.nav-menu {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-menu a {
  color: #9a9a9a;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.3s ease;
  padding-bottom: 0.3rem;
  border-bottom: 2px solid transparent;
}

.nav-menu a:hover {
  color: #fff;
}

.nav-menu a.active {
  color: #fff;
  border-bottom-color: #fff;
}

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

.hamburger span {
  display: block;
  width: 28px;
  height: 2.5px;
  background: #fff;
  border-radius: 4px;
  transition: 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== СЕКЦИИ ===== */
.section {
  min-height: 100vh;
  padding: 5.5rem 1.5rem 3.5rem;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #151515;
}

.fullscreen {
  min-height: 100vh;
  position: relative;
}

.section-content {
  max-width: 1320px;
  margin: 0 auto;
  width: 100%;
}

/* ===== ГЛАВНАЯ ===== */
.hero {
  max-width: 900px;
}

.badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #888;
  background: #1a1a1a;
  padding: 0.35rem 1.2rem;
  border-radius: 100px;
  border: 1px solid #2a2a2a;
  margin-bottom: 1.2rem;
}

.hero h1 {
  font-size: clamp(2.8rem, 10vw, 6rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.05em;
  margin-bottom: 1.2rem;
}

.hero h1 .highlight {
  background: linear-gradient(160deg, #f0f0f0, #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero h1 .light {
  color: #d0d0d0;
  -webkit-text-fill-color: #d0d0d0;
}

.hero-desc {
  font-size: 1.15rem;
  color: #b5b5b5;
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 1.8rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  background: #fff;
  color: #0a0a0a;
  padding: 0.8rem 2.5rem;
  border-radius: 60px;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  font-family: 'Inter', sans-serif;
}

.btn-primary:hover {
  background: #e8e8e8;
  transform: scale(0.96);
}

.btn-secondary {
  background: transparent;
  color: #fff;
  padding: 0.8rem 2.5rem;
  border-radius: 60px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid #3a3a3a;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  font-family: 'Inter', sans-serif;
}

.btn-secondary:hover {
  background: #1a1a1a;
  border-color: #666;
}

.scroll-indicator {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  color: #444;
  letter-spacing: 0.1em;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-8px); }
}

/* ===== ЗАГОЛОВКИ ===== */
.section-header {
  margin-bottom: 2.5rem;
}

.section-tag {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: #777;
  border-left: 3px solid #fff;
  padding-left: 1rem;
}

.section-header h2 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-top: 0.4rem;
}

.section-sub {
  color: #999;
  font-size: 1rem;
  margin-top: 0.2rem;
}

/* ===== КАРТОЧКИ ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.8rem;
}

.service-card {
  background: #121212;
  border-radius: 2rem;
  padding: 1.8rem 1.6rem;
  border: 1px solid #222;
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-12px) scale(1.01);
  background: #1a1a1a;
  border-color: #3a3a3a;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

.card-glow {
  position: absolute;
  top: -50%;
  right: -30%;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.04), transparent 70%);
  pointer-events: none;
  border-radius: 50%;
  transition: all 0.7s ease;
}

.service-card:hover .card-glow {
  top: -40%;
  right: -20%;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.08), transparent 70%);
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.3rem;
}

.service-icon {
  font-size: 2.5rem;
  transition: transform 0.6s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(-4deg);
}

.card-badge {
  font-size: 0.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.7rem;
  border-radius: 40px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #777;
  transition: all 0.4s ease;
}

.service-card:hover .card-badge {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.15);
  color: #aaa;
}

.service-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.service-price {
  font-weight: 700;
  color: #b0b0b0;
  font-size: 0.95rem;
  background: #1e1e1e;
  padding: 0.2rem 1.2rem;
  border-radius: 40px;
  display: inline-block;
  border: 1px solid #2e2e2e;
  margin-bottom: 0.6rem;
  align-self: flex-start;
  transition: all 0.4s ease;
}

.service-card:hover .service-price {
  background: #282828;
  border-color: #444;
  color: #fff;
}

.service-desc {
  color: #999;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 0.8rem;
}

.service-features {
  list-style: none;
  margin-bottom: 1rem;
}

.service-features li {
  color: #aaa;
  font-size: 0.85rem;
  padding: 0.2rem 0;
  transition: color 0.4s ease;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* ===== ПРЫГАЮЩИЕ ГАЛОЧКИ ===== */
.service-features li .check {
  display: inline-block;
  font-size: 0.9rem;
  -webkit-animation: checkJump 2s ease-in-out infinite;
  animation: checkJump 2s ease-in-out infinite;
}

.service-features li:nth-child(1) .check { -webkit-animation-delay: 0s; animation-delay: 0s; }
.service-features li:nth-child(2) .check { -webkit-animation-delay: 0.3s; animation-delay: 0.3s; }
.service-features li:nth-child(3) .check { -webkit-animation-delay: 0.6s; animation-delay: 0.6s; }
.service-features li:nth-child(4) .check { -webkit-animation-delay: 0.9s; animation-delay: 0.9s; }

@-webkit-keyframes checkJump {
  0%, 100% { -webkit-transform: scale(1) rotate(0deg); transform: scale(1) rotate(0deg); }
  15% { -webkit-transform: scale(1.4) rotate(-8deg); transform: scale(1.4) rotate(-8deg); }
  30% { -webkit-transform: scale(0.9) rotate(4deg); transform: scale(0.9) rotate(4deg); }
  45% { -webkit-transform: scale(1.1) rotate(-2deg); transform: scale(1.1) rotate(-2deg); }
  60% { -webkit-transform: scale(1) rotate(0deg); transform: scale(1) rotate(0deg); }
}

@keyframes checkJump {
  0%, 100% { transform: scale(1) rotate(0deg); }
  15% { transform: scale(1.4) rotate(-8deg); }
  30% { transform: scale(0.9) rotate(4deg); }
  45% { transform: scale(1.1) rotate(-2deg); }
  60% { transform: scale(1) rotate(0deg); }
}

.service-card:hover .service-features li {
  color: #ccc;
}

/* ===== КНОПКИ "ЗАКАЗАТЬ" ===== */
.btn-card {
  background: transparent;
  border: none;
  color: #ccc;
  padding: 0;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  position: relative;
  z-index: 2;
  align-self: flex-start;
  margin-top: auto;
}

.btn-card .btn-inner {
  display: inline-block;
  padding: 0.6rem 2rem 0.6rem 2.2rem;
  border-radius: 40px;
  background: transparent;
  border: 1px solid #333;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.03em;
}

.btn-card .btn-arrow {
  display: inline-block;
  margin-left: 0.5rem;
  transition: transform 0.5s ease;
  font-size: 1rem;
}

.btn-card:hover .btn-inner {
  background: #ffffff;
  color: #0a0a0a;
  border-color: #ffffff;
  padding-right: 2.5rem;
  box-shadow: 0 4px 30px rgba(255, 255, 255, 0.15);
  transform: translateX(4px);
}

.btn-card:hover .btn-arrow {
  transform: translateX(6px) rotate(-12deg);
}

/* ===== ПРОЦЕСС ===== */
.process-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.process-step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.step-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: #fff;
  opacity: 0.25;
  line-height: 1;
  min-width: 44px;
}

.step-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.step-content p {
  color: #999;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* ===== КОНТАКТЫ ===== */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}

.contact-info h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-top: 0.4rem;
}

.contact-desc {
  color: #999;
  font-size: 1rem;
  margin: 0.6rem 0 1.5rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-icon {
  font-size: 1.3rem;
}

.contact-item strong {
  display: block;
  font-size: 0.75rem;
  color: #777;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-item a {
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: #aaa;
}

.social-links {
  display: flex;
  gap: 0.8rem;
  margin-top: 0.8rem;
  flex-wrap: wrap;
}

.social-link {
  color: #aaa;
  text-decoration: none;
  font-weight: 600;
  padding: 0.3rem 1.2rem;
  border: 1px solid #2a2a2a;
  border-radius: 40px;
  transition: all 0.3s ease;
  font-size: 0.85rem;
}

.social-link:hover {
  color: #fff;
  border-color: #555;
  background: #1a1a1a;
}

/* ===== ФОРМА ===== */
.contact-form {
  background: #141414;
  padding: 2.2rem;
  border-radius: 2rem;
  border: 1px solid #252525;
}

.contact-form h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.form-desc {
  color: #888;
  margin-bottom: 1.2rem;
  font-size: 0.9rem;
}

/* ===== ВЫПАДАЮЩЕЕ МЕНЮ ВЫБОРА УСЛУГ ===== */
.form-service-select {
  margin-bottom: 1.2rem;
  position: relative;
}

.form-service-select label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #aaa;
  margin-bottom: 0.5rem;
}

.service-dropdown {
  position: relative;
  width: 100%;
}

.service-dropdown-btn {
  width: 100%;
  padding: 0.8rem 1.2rem;
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 60px;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-dropdown-btn:hover {
  border-color: #444;
}

.service-dropdown-btn .selected-icon {
  font-size: 1.2rem;
}

.service-dropdown-btn .selected-text {
  flex: 1;
  text-align: left;
}

.service-dropdown-btn .dropdown-arrow {
  font-size: 0.8rem;
  color: #666;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-dropdown.active .dropdown-arrow {
  transform: rotate(180deg);
}

.service-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 100%;
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 20px;
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px) scale(0.95);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 100;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.service-dropdown.active .service-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.service-option {
  width: 100%;
  padding: 0.7rem 1.2rem;
  background: transparent;
  border: none;
  border-radius: 40px;
  color: #888;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transition: all 0.3s ease;
  text-align: left;
}

.service-option:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #ccc;
}

.service-option.active {
  background: #fff;
  color: #0a0a0a;
}

.service-option .opt-icon {
  font-size: 1.1rem;
}

/* ===== ФОРМА ГРУППЫ ===== */
.form-group {
  margin-bottom: 1rem;
  position: relative;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #aaa;
  margin-bottom: 0.25rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 12px;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #555;
}

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

/* ===== ПОЛУКРУГЛАЯ ОШИБКА ВАЛИДАЦИИ ===== */
.form-group.error input,
.form-group.error textarea {
  border-color: #ff4444;
  background: rgba(255, 68, 68, 0.05);
}

.error-message {
  display: none;
  position: absolute;
  right: 0;
  bottom: calc(100% + 6px);
  background: #ff4444;
  color: #fff;
  padding: 0.4rem 1.2rem 0.4rem 1.2rem;
  border-radius: 0 40px 40px 40px;
  font-size: 0.75rem;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 8px 30px rgba(255, 68, 68, 0.3);
  animation: errorSlide 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.error-message::before {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 8px;
  width: 10px;
  height: 10px;
  background: #ff4444;
  transform: rotate(45deg);
  border-radius: 0 0 0 2px;
}

.form-group.error .error-message {
  display: block;
}

@keyframes errorSlide {
  0% {
    opacity: 0;
    transform: translateY(-10px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.btn-submit {
  width: 100%;
  padding: 0.9rem;
  font-size: 1rem;
}

/* ===== ФУТЕР ===== */
.footer {
  background: #0a0a0a;
  border-top: 1px solid #151515;
  padding: 1.5rem 1.5rem;
}

.footer-content {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.footer p {
  color: #666;
  font-size: 0.85rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: #888;
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #fff;
}

.footer-legal {
  border-top: 1px solid #1a1a1a;
  margin-top: 1.2rem;
  padding-top: 1.2rem;
}

.legal-container {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem 1rem;
}

.legal-link {
  color: #555;
  text-decoration: none;
  font-size: 0.7rem;
  transition: color 0.3s ease;
  cursor: pointer;
}

.legal-link:hover {
  color: #999;
}

.legal-divider {
  color: #222;
  font-size: 0.7rem;
}

/* ===== КНОПКА НАВЕРХ ===== */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  color: #fff;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.9);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.scroll-top:hover {
  background: #2a2a2a;
  border-color: #444;
  transform: translateY(-4px) scale(1.05);
}

.scroll-top svg {
  width: 24px;
  height: 24px;
}

/* ===== АНИМАЦИИ ПРИ СКРОЛЛЕ ===== */
.anim-left {
  opacity: 0;
  transform: translateX(-80px);
  transition: all 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.anim-right {
  opacity: 0;
  transform: translateX(80px);
  transition: all 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.anim-left.visible,
.anim-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.service-card:nth-child(1) { transition-delay: 0.05s; }
.service-card:nth-child(2) { transition-delay: 0.1s; }
.service-card:nth-child(3) { transition-delay: 0.15s; }
.service-card:nth-child(4) { transition-delay: 0.2s; }

.process-step:nth-child(1) { transition-delay: 0.05s; }
.process-step:nth-child(2) { transition-delay: 0.1s; }
.process-step:nth-child(3) { transition-delay: 0.15s; }
.process-step:nth-child(4) { transition-delay: 0.2s; }

/* ===== МОДАЛКА ===== */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  background: #141414;
  border-radius: 2rem;
  padding: 2.5rem;
  max-width: 800px;
  max-height: 80vh;
  overflow-y: auto;
  border: 1px solid #2a2a2a;
  position: relative;
  width: 100%;
  animation: modalSlide 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalSlide {
  0% { opacity: 0; transform: translateY(30px) scale(0.95); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-close {
  position: sticky;
  top: 0;
  float: right;
  background: transparent;
  border: none;
  color: #fff;
  width: 40px;
  height: 40px;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border-radius: 50%;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: rotate(90deg);
}

#modalBody {
  color: #e0e0e0;
  line-height: 1.8;
}

#modalBody h2 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: #fff;
}

#modalBody h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: #ddd;
}

#modalBody p {
  color: #b0b0b0;
  margin-bottom: 0.8rem;
}

#modalBody ul {
  color: #b0b0b0;
  padding-left: 1.5rem;
  margin-bottom: 0.8rem;
}

#modalBody ul li {
  margin-bottom: 0.3rem;
}

#modalBody .legal-date {
  color: #666;
  font-size: 0.85rem;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #1a1a1a;
}

/* ===== TOAST ===== */
.toast-notification {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: rgba(20, 20, 20, 0.95);
  backdrop-filter: blur(12px);
  color: #f0f0f0;
  padding: 0.9rem 2rem;
  border-radius: 60px;
  border: 1px solid #3a3a3a;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  z-index: 9999;
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  max-width: 92%;
  text-align: center;
}

.toast-notification.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.toast-notification.success {
  border-color: #2e7d32;
  background: rgba(20, 30, 20, 0.95);
}

.toast-notification.error {
  border-color: #7d2e2e;
  background: rgba(30, 20, 20, 0.95);
}

/* ===== АДАПТИВ ===== */
@media (max-width: 1024px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(8, 8, 8, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    z-index: 999;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu a {
    font-size: 1.4rem;
  }

  .hamburger {
    display: flex;
  }

  .section {
    padding: 4.5rem 1.2rem 2.5rem;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

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

  .process-timeline {
    grid-template-columns: 1fr;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .contact-form {
    padding: 1.5rem;
  }

  .service-dropdown-btn {
    font-size: 0.85rem;
    padding: 0.7rem 1rem;
  }

  .service-option {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
  }

  .scroll-top {
    width: 44px;
    height: 44px;
    bottom: 1.2rem;
    right: 1.2rem;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .modal-content {
    padding: 1.5rem;
    max-height: 85vh;
  }

  .modal-close {
    font-size: 1.2rem;
    width: 36px;
    height: 36px;
  }

  .legal-container {
    gap: 0.3rem 0.6rem;
  }

  .legal-link {
    font-size: 0.6rem;
  }

  .error-message {
    font-size: 0.65rem;
    padding: 0.3rem 1rem;
    white-space: normal;
    max-width: 200px;
  }
}

@media (max-width: 400px) {
  .hero h1 {
    font-size: 2rem;
  }

  .logo {
    font-size: 1.1rem;
  }

  .logo-icon {
    width: 32px;
    height: 32px;
  }

  .service-dropdown-btn {
    font-size: 0.75rem;
    padding: 0.6rem 0.8rem;
  }

  .service-option {
    font-size: 0.7rem;
    padding: 0.4rem 0.8rem;
  }

  .error-message {
    font-size: 0.6rem;
    padding: 0.2rem 0.8rem;
    max-width: 160px;
  }
}