:root {
  --electric-coral: #FF6F61;
  --deep-aqua: #008C9E;
  --limestone: #F2F3F4;
  --graphite-black: #1B1B1B;
  --solar-lime: #C7FF33;
  --gradient-bg: linear-gradient(135deg, var(--deep-aqua), var(--electric-coral));
  --container-max-width: 1280px;
  --border-radius: 16px;
  --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: var(--graphite-black);
  background-color: var(--limestone);
  scroll-padding-top: 80px;
}

.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Анимации */
@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-slide {
  animation: fadeSlide 0.6s ease-out forwards;
}

/* Header */
header {
  background: white;
  box-shadow: var(--box-shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

/* Desktop Navigation Layout */
@media (min-width: 768px) {
  header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
  }
  
  .header-content {
    justify-content: flex-start;
    flex: 1;
  }
  
  header nav {
    position: static;
    display: block !important;
    margin-left: auto;
  }
  
  nav ul {
    display: flex !important;
    flex-direction: row !important;
    padding: 0 !important;
    gap: 2rem;
  }
  
  .menu-toggle {
    display: none !important;
  }
  
  .nav-overlay {
    display: none !important;
  }
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  background: var(--gradient-bg);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

nav a {
  text-decoration: none;
  color: var(--graphite-black);
  transition: var(--transition);
  font-weight: 500;
}

nav a:hover {
  color: var(--electric-coral);
}

/* Mobile Navigation */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 3px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--graphite-black);
  transition: var(--transition);
}

.nav-overlay {
  display: none;
}

#menu-toggle-checkbox {
  display: none;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border: none;
  border-radius: var(--border-radius);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--gradient-bg);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 111, 97, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--deep-aqua);
  border: 2px solid var(--deep-aqua);
}

.btn-secondary:hover {
  background: var(--deep-aqua);
  color: white;
}

/* Cards */
.card {
  background: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Sections */
section {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  background: var(--gradient-bg);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 3rem;
}

/* Hero Section */
.hero {
  background: var(--gradient-bg);
  color: white;
  text-align: center;
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  word-wrap: break-word;
  hyphens: auto;
  line-height: 1.2;
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* Grid layouts */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Services Cards */
.service-card {
  text-align: center;
  position: relative;
}

.service-card h3 {
  color: var(--deep-aqua);
  margin-bottom: 1rem;
}

.price {
  font-size: 2rem;
  font-weight: bold;
  color: var(--electric-coral);
  margin: 1rem 0;
}

.price-note {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 1.5rem;
}

/* Form */
.form-section {
  background: rgba(0, 140, 158, 0.8);
  color: white;
  border: 2px solid var(--electric-coral);
  border-radius: var(--border-radius);
  padding: 3rem;
  margin: 2rem auto;
  max-width: 800px;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.9);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  background: white;
  box-shadow: 0 0 0 3px rgba(199, 255, 51, 0.3);
}

.radio-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.radio-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
}

.radio-item:hover {
  background: rgba(255, 255, 255, 0.2);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.checkbox-group input {
  width: auto;
  margin: 0;
}

/* FAQ Accordion */
.faq-item {
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  background: white;
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.faq-question:hover {
  background: #f8f9fa;
}

.faq-toggle {
  display: none;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: #f8f9fa;
}

.faq-toggle:checked + .faq-question + .faq-answer {
  max-height: 200px;
  padding: 1.5rem;
}

.faq-icon {
  transition: var(--transition);
}

.faq-toggle:checked + .faq-question .faq-icon {
  transform: rotate(180deg);
}

/* Footer */
footer {
  background: var(--graphite-black);
  color: white;
  padding: 3rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  color: var(--electric-coral);
  margin-bottom: 1rem;
}

.footer-section a {
  color: #ccc;
  text-decoration: none;
  transition: var(--transition);
}

.footer-section a:hover {
  color: var(--solar-lime);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #333;
  color: #ccc;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--graphite-black);
  color: white;
  padding: 1rem;
  z-index: 10000;
  transform: translateY(100%);
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0;
}

.cookie-banner.show {
  transform: translateY(0);
  opacity: 1;
}

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max-width);
  margin: 0 auto;
  gap: 1rem;
}

.cookie-text {
  flex: 1;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
}

/* Testimonial cards with images */
.testimonial-image {
  margin-bottom: 1.5rem;
  text-align: center;
}

.customer-image {
  width: 100%;
  height: 200px;
  border-radius: var(--border-radius);
  object-fit: cover;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.testimonial-card:hover .customer-image {
  transform: scale(1.02);
}

.testimonial-content {
  text-align: center;
}

/* Form in column layout */
.form-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
  
  nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    height: 100vh;
    background: white;
    transition: left 0.3s ease;
    z-index: 1001;
    padding-top: 4rem;
  }
  
  nav ul {
    flex-direction: column;
    padding: 2rem;
    gap: 1rem;
  }
  
  .nav-overlay {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }
  
  #menu-toggle-checkbox:checked ~ nav {
    left: 0;
  }
  
  #menu-toggle-checkbox:checked ~ .nav-overlay {
    opacity: 1;
    visibility: visible;
  }
  
  #menu-toggle-checkbox:checked + .header-content .menu-toggle span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }
  
  #menu-toggle-checkbox:checked + .header-content .menu-toggle span:nth-child(2) {
    opacity: 0;
  }
  
  #menu-toggle-checkbox:checked + .header-content .menu-toggle span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
  
  .hero h1 {
    font-size: 2rem;
    word-wrap: break-word;
    hyphens: auto;
    line-height: 1.3;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-buttons {
    justify-content: center;
  }
  
  .radio-group {
    flex-direction: column;
  }
  
  .form-section {
    padding: 2rem 1rem;
  }

  .customer-image {
    height: 180px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }
  
  .hero {
    padding: 4rem 0;
  }
  
  .hero h1 {
    font-size: 1.5rem;
    word-wrap: break-word;
    hyphens: auto;
    line-height: 1.4;
    padding: 0 10px;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .card {
    padding: 1.5rem;
  }

  .customer-image {
    height: 160px;
  }
}

/* Utilities */
.text-center { text-align: center; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; } 