/* ============================================
   DOMAIN.COM - Стили сайта
   Уникальная цветовая палитра и адаптивный дизайн
   ============================================ */

:root {
  --bg: #10131A;
  --panel: #1A1F2B;
  --text: #F6F8FA;
  --muted: #C9D1D9;
  --lime: #A2FF00;
  --ultra: #2D6BFF;
  --coral: #FF5E3A;
  --gradient-lime-ultra: linear-gradient(135deg, #A2FF00 0%, #2D6BFF 100%);
  --gradient-coral: linear-gradient(160deg, #FF5E3A 0%, transparent 100%);
}

/* ============================================
   БАЗОВЫЕ СТИЛИ
   ============================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 40px;
}

section[id] {
  scroll-margin-top: 40px;
}

div {
  word-break: break-word;
  overflow-wrap: break-word;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--lime);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--ultra);
  text-shadow: 0 0 8px rgba(162, 255, 0, 0.5);
}

/* ============================================
   ТИПОГРАФИКА
   ============================================ */

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text);
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1.5rem;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 1.25rem;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
  margin-bottom: 1rem;
  color: var(--muted);
}

/* ============================================
   КОНТЕЙНЕРЫ
   ============================================ */

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 768px) {
  .container {
    padding: 0 32px;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 48px;
  }
}

/* ============================================
   HEADER И НАВИГАЦИЯ
   ============================================ */

header {
  background-color: rgba(26, 31, 43, 0.95);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(162, 255, 0, 0.2);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 768px) {
  .header-content {
    padding: 0 32px;
  }
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--lime);
  text-shadow: 0 0 10px rgba(162, 255, 0, 0.5);
}

/* Мобильное меню - checkbox hack */
.menu-toggle {
  display: none;
}

.menu-icon {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  z-index: 1001;
}

.menu-icon span {
  width: 25px;
  height: 3px;
  background-color: var(--lime);
  transition: all 0.3s ease;
  border-radius: 2px;
}

@media (max-width: 767px) {
  .menu-icon {
    display: flex;
  }

  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: var(--panel);
    transition: right 0.3s ease;
    padding: 80px 20px 20px;
    z-index: 1000;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
  }

  .menu-toggle:checked ~ nav {
    right: 0;
  }

  .menu-toggle:checked ~ .menu-icon span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
  }

  .menu-toggle:checked ~ .menu-icon span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle:checked ~ .menu-icon span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }

  nav ul {
    flex-direction: column;
    gap: 1.5rem;
  }
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

nav a {
  color: var(--text);
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-lime-ultra);
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

/* ============================================
   HERO СЕКЦИЯ
   ============================================ */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-image: url('../img/753y2L.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding-top: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(16, 19, 26, 0.85) 0%, rgba(26, 31, 43, 0.75) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 2rem;
}

.hero h1 {
  background: var(--gradient-lime-ultra);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
  text-shadow: none;
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.hero-benefits {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   КНОПКИ
   ============================================ */

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient-lime-ultra);
  color: var(--bg);
  box-shadow: 0 4px 15px rgba(162, 255, 0, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(162, 255, 0, 0.5);
  color: var(--bg);
}

.btn-secondary {
  background-color: var(--panel);
  color: var(--text);
  border: 2px solid var(--ultra);
}

.btn-secondary:hover {
  background-color: var(--ultra);
  color: var(--text);
  transform: translateY(-2px);
}

/* ============================================
   СЕКЦИИ
   ============================================ */

section {
  padding: 4rem 0;
  position: relative;
}

@media (min-width: 768px) {
  section {
    padding: 6rem 0;
  }
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 1rem;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--gradient-lime-ultra);
  border-radius: 2px;
}

/* ============================================
   КАРТОЧКИ УСЛУГ
   ============================================ */

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background-color: var(--panel);
  border-radius: 16px;
  padding: 0;
  border: 3px solid rgba(162, 255, 0, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-lime-ultra);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  z-index: 2;
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 2px solid transparent;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(162, 255, 0, 0.1), rgba(45, 107, 255, 0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.service-card:hover {
  border-color: var(--lime);
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(162, 255, 0, 0.3);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover::after {
  opacity: 1;
}

.service-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
  border-radius: 12px 12px 0 0;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
  transform: scale(1.1);
}

.service-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(16, 19, 26, 0.3) 100%);
}

.service-card h3 {
  color: var(--lime);
  margin-bottom: 1rem;
  padding: 0 2rem;
  padding-top: 2rem;
}

.service-card p {
  margin-bottom: 1.5rem;
  color: var(--muted);
  padding: 0 2rem;
}

.service-card .btn {
  width: calc(100% - 4rem);
  margin: 0 2rem 2rem;
}

/* ============================================
   ПРОЦЕСС (4 КРОКИ)
   ============================================ */

.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .process-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.process-item {
  text-align: center;
  padding: 2rem;
  background-color: var(--panel);
  border-radius: 12px;
  position: relative;
}

.process-number {
  width: 60px;
  height: 60px;
  background: var(--gradient-lime-ultra);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--bg);
}

.process-item h3 {
  color: var(--text);
  margin-bottom: 0.5rem;
}

/* ============================================
   ОТЗЫВЫ
   ============================================ */

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  background-color: var(--panel);
  padding: 2rem;
  border-radius: 12px;
  border-left: 4px solid var(--coral);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 4rem;
  color: var(--coral);
  opacity: 0.3;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1rem;
  color: var(--text);
}

.testimonial-author {
  font-weight: 600;
  color: var(--lime);
}

.testimonial-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(201, 209, 217, 0.2);
}

/* ============================================
   FAQ (DETAILS/SUMMARY)
   ============================================ */

.faq-container {
  max-width: 800px;
  margin: 3rem auto 0;
}

.faq-item {
  background-color: var(--panel);
  border-radius: 8px;
  margin-bottom: 1rem;
  border: 1px solid rgba(162, 255, 0, 0.2);
  overflow: hidden;
}

.faq-item summary {
  padding: 1.5rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
  list-style: none;
  position: relative;
  transition: all 0.3s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--lime);
  transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-item summary:hover {
  background-color: rgba(162, 255, 0, 0.1);
}

.faq-answer {
  padding: 0 1.5rem 1.5rem;
  color: var(--muted);
  line-height: 1.8;
}

/* ============================================
   ФОРМА ЗАКАЗА
   ============================================ */

.form-section {
  background-color: var(--panel);
  border-radius: 16px;
  padding: 3rem;
  max-width: 600px;
  margin: 3rem auto 0;
  border: 2px solid rgba(162, 255, 0, 0.3);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.form-intro {
  text-align: center;
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text);
  font-weight: 500;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 1rem;
  background-color: var(--bg);
  border: 2px solid rgba(162, 255, 0, 0.3);
  border-radius: 8px;
  color: var(--text);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--lime);
  box-shadow: 0 0 0 3px rgba(162, 255, 0, 0.2);
}

/* Стиль для option - строго по требованию */
option {
  color: black;
  background-color: white;
}

.checkbox-group {
  margin-bottom: 1.5rem;
}

.checkbox-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.checkbox-item input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  cursor: pointer;
  accent-color: var(--lime);
}

.checkbox-item label {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.checkbox-item a {
  color: var(--lime);
  text-decoration: underline;
}

.form-submit {
  width: 100%;
  padding: 1.25rem;
  font-size: 1.1rem;
}

.form-note {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--muted);
}

/* ============================================
   FOOTER
   ============================================ */

footer {
  background-color: var(--panel);
  padding: 3rem 0 1rem;
  border-top: 1px solid rgba(162, 255, 0, 0.2);
  margin-top: 4rem;
}

.footer-content {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 768px) {
  .footer-content {
    padding: 0 32px;
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer-section h3 {
  color: var(--lime);
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.footer-section p,
.footer-section address {
  color: var(--muted);
  font-style: normal;
  line-height: 1.8;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--muted);
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--lime);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(201, 209, 217, 0.2);
  color: var(--muted);
  font-size: 0.9rem;
}

/* ============================================
   COOKIE POPUP
   ============================================ */

.cookie-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--panel);
  border-top: 2px solid var(--lime);
  padding: 1.5rem;
  z-index: 2000;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.5);
  display: none;
}

.cookie-popup.show {
  display: block;
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

.cookie-content {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

@media (min-width: 768px) {
  .cookie-content {
    flex-direction: row;
    justify-content: space-between;
  }
}

.cookie-text {
  color: var(--text);
  flex: 1;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}

.cookie-btn-accept {
  background-color: var(--lime);
  color: var(--bg);
}

.cookie-btn-accept:hover {
  background-color: var(--ultra);
  color: var(--text);
}

.cookie-btn-more {
  background-color: transparent;
  color: var(--lime);
  border: 1px solid var(--lime);
}

.cookie-btn-more:hover {
  background-color: var(--lime);
  color: var(--bg);
}

/* ============================================
   СТРАНИЦЫ ПОЛИТИК (ЕДИНЫЙ СТИЛЬ)
   ============================================ */

.policy-page {
  min-height: 100vh;
  padding-top: 100px;
  padding-bottom: 4rem;
}

.policy-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 16px;
}

.policy-card {
  background-color: var(--panel);
  border-radius: 12px;
  padding: 3rem;
  border: 2px solid rgba(162, 255, 0, 0.3);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.policy-card h1 {
  color: var(--lime);
  margin-bottom: 2rem;
  text-align: center;
}

.policy-card h2 {
  color: var(--text);
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.policy-card h3 {
  color: var(--text);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.policy-card p,
.policy-card ul,
.policy-card ol {
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.policy-card ul,
.policy-card ol {
  padding-left: 2rem;
}

.policy-card li {
  margin-bottom: 0.5rem;
}

.policy-card a {
  color: var(--lime);
  text-decoration: underline;
}

.policy-card a:hover {
  color: var(--ultra);
}

.policy-back {
  text-align: center;
  margin-top: 2rem;
}

/* ============================================
   ДОПОЛНИТЕЛЬНЫЕ СТРАНИЦЫ
   ============================================ */

.content-page {
  min-height: 100vh;
  padding-top: 100px;
  padding-bottom: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.content-block {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 16px;
  width: 100%;
}

.content-card {
  background-color: var(--panel);
  border-radius: 12px;
  padding: 3rem;
  border: 2px solid rgba(162, 255, 0, 0.3);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.content-card h1 {
  color: var(--lime);
  margin-bottom: 1.5rem;
  text-align: center;
}

.content-card h2 {
  color: var(--text);
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  border-bottom: 2px solid rgba(162, 255, 0, 0.3);
  padding-bottom: 0.5rem;
  text-align: left;
}

.content-card p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 1.1rem;
  text-align: left;
  margin-bottom: 1rem;
}

/* ============================================
   АНИМАЦИИ (БЕЗ JS)
   ============================================ */

@media (prefers-reduced-motion: no-preference) {
  .service-card,
  .process-item,
  .testimonial-card {
    animation: fadeInUp 0.6s ease backwards;
  }

  .service-card:nth-child(1) { animation-delay: 0.1s; }
  .service-card:nth-child(2) { animation-delay: 0.2s; }
  .service-card:nth-child(3) { animation-delay: 0.3s; }

  .process-item:nth-child(1) { animation-delay: 0.1s; }
  .process-item:nth-child(2) { animation-delay: 0.2s; }
  .process-item:nth-child(3) { animation-delay: 0.3s; }
  .process-item:nth-child(4) { animation-delay: 0.4s; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   УТИЛИТЫ
   ============================================ */

.text-center {
  text-align: center;
}

.mt-2 {
  margin-top: 2rem;
}

.mb-2 {
  margin-bottom: 2rem;
}

.highlight {
  color: var(--lime);
  font-weight: 600;
}

