@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Zen+Kaku+Gothic+New:wght@400;500;700&display=swap');

:root {
  --pump-white: #F2F5F4;
  --steam-mist: #ECF3EF;
  --hydraulic-ivory: #E5EDE6;
  --deep-pine: #166534;
  --forest-green: #15803D;
  --neon-green: #22C55E;
  --dark-forest: #14532D;
  --wireframe-border: rgba(34, 197, 94, 0.2);
  --wireframe-grid: rgba(34, 197, 94, 0.08);
  --glow-torch: rgba(34, 197, 94, 0.16);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--pump-white);
  color: var(--forest-green);
  line-height: 1.78;
  font-size: 16px;
  overflow-x: hidden;
}
body.mobile-menu-open {
  overflow: hidden;
}

.mobile-menu-overlay {
  display: none !important;
}

.mobile-menu-overlay.active {
  display: flex !important;
  z-index: 100;
}

.mobile-menu-overlay nav {
  width: 100%;
}


body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(ellipse at 20% 30%, rgba(34, 197, 94, 0.06) 0%, transparent 48%),
    radial-gradient(ellipse at 70% 50%, rgba(34, 85, 34, 0.05) 0%, transparent 44%),
    radial-gradient(ellipse at 35% 75%, rgba(34, 197, 94, 0.04) 0%, transparent 38%),
    radial-gradient(ellipse at 80% 25%, rgba(34, 85, 34, 0.03) 0%, transparent 36%);
  pointer-events: none;
  z-index: -1;
  animation: fluid-drift 16s ease-in-out infinite alternate;
}

@keyframes fluid-drift {
  0% { transform: translateX(0); }
  100% { transform: translateX(12px); }
}

footer {
  padding: 40px 0 100px 0;
}

strong, p {
  color: inherit;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  color: var(--deep-pine);
  line-height: 0.78;
  letter-spacing: -0.02em;
}

a {
  color: var(--neon-green);
  text-decoration: none;
  transition: all 0.32s ease;
}

a:hover {
  color: var(--deep-pine);
}

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

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

.main-content {
  padding-bottom: 80px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--neon-green), var(--deep-pine));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-btn {
  background: linear-gradient(135deg, var(--neon-green), var(--deep-pine));
  color: white;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 12px;
  padding: 14px 28px;
  border: none;
  border-radius: 22px;
  cursor: pointer;
  box-shadow: 0 12px 44px rgba(34, 197, 94, 0.38);
  transition: all 0.32s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.gradient-btn:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 16px 52px rgba(34, 197, 94, 0.48);
}

.wireframe-card {
  background: rgba(242, 245, 244, 0.94);
  border: 1px solid var(--wireframe-border);
  box-shadow: 0 32px 96px rgba(34, 197, 94, 0.06), 0 8px 24px rgba(34, 197, 94, 0.03);
  transition: all 0.84s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.wireframe-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(var(--wireframe-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--wireframe-grid) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.wireframe-card:hover {
  border-width: 2px;
  transform: scale(1.01);
  z-index: 86;
}

.wireframe-card:hover::before {
  opacity: 1;
}

.section-padding {
  padding: 96px 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 64px 0;
  }
}

.cookie-consent-banner {
  position: fixed;
  bottom: 72px;
  left: 24px;
  right: 24px;
  max-width: 600px;
  background: rgba(242, 245, 244, 0.98);
  backdrop-filter: blur(20px);
  border: 1px solid var(--wireframe-border);
  border-radius: 12px;
  padding: 20px 24px;
  z-index: 9998;
  box-shadow: 0 16px 48px rgba(34, 197, 94, 0.15);
}

.cookie-consent-banner h4 {
  font-size: 14px;
  margin-bottom: 8px;
}

.cookie-consent-banner p {
  font-size: 13px;
  color: var(--forest-green);
  margin-bottom: 16px;
}

.cookie-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.cookie-accept {
  background: var(--neon-green);
  color: white;
}

.cookie-decline {
  background: transparent;
  border: 1px solid var(--neon-green);
  color: var(--deep-pine);
}

.cookie-link {
  font-size: 11px;
  color: var(--neon-green);
  text-decoration: underline;
  margin-left: auto;
}

.glow-torch-effect {
  position: fixed;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, var(--glow-torch) 0%, transparent 70%);
  pointer-events: none;
  z-index: 9997;
  transform: translate(-50%, -50%);
  transition: opacity 0.18s ease-out;
}

@media (max-width: 768px) {
  .cookie-consent-banner {
    left: 12px;
    right: 12px;
    bottom: 68px;
  }
  
  .cookie-buttons {
    flex-direction: column;
  }
  
  .cookie-btn {
    width: 100%;
  }
  
  .cookie-link {
    margin-left: 0;
    margin-top: 8px;
    text-align: center;
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.input-field {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--neon-green);
  border-radius: 0;
  background: white;
  color: var(--dark-forest);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  transition: all 0.3s ease;
}

.input-field:focus {
  outline: none;
  border-color: var(--deep-pine);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
}

.input-field::placeholder {
  color: var(--forest-green);
  opacity: 0.7;
}

select.input-field {
  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='%23166534' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

textarea.input-field {
  min-height: 140px;
  resize: vertical;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--deep-pine);
  margin-bottom: 8px;
}

.form-label .required {
  color: var(--neon-green);
}

.scroll-indicator {
  position: absolute;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  animation: bounce 2s infinite;
}

.scroll-indicator span {
  display: block;
  font-size: 11px;
  color: var(--forest-green);
  margin-bottom: 8px;
  font-weight: 500;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

.wireframe-dots {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--neon-green);
  border-radius: 50%;
  opacity: 0.3;
  animation: pulse 2.8s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.2); }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(242, 245, 244, 0.85) 0%, rgba(236, 243, 239, 0.75) 100%);
  z-index: 1;
}

.page-hero {
  height: 55vh;
  min-height: 400px;
  position: relative;
  display: flex;
  align-items: center;
}

@media (max-width: 768px) {
  body {
    overflow-x: hidden;
  }
  
  .page-hero {
    height: auto;
    min-height: 300px;
    padding: 80px 0 40px;
  }
}

.stats-marquee {
  display: flex;
  gap: 64px;
  animation: marquee 20s linear infinite;
  overflow-x: auto;
  padding: 20px 0;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.stats-marquee::-webkit-scrollbar {
  display: none;
}

.stat-box {
  flex-shrink: 0;
  padding: 16px 24px;
  border: 1px solid var(--neon-green);
  background: rgba(242, 245, 244, 0.9);
  text-align: center;
}

.stat-box .number {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--deep-pine);
}

.stat-box .label {
  font-size: 12px;
  color: var(--forest-green);
  margin-top: 4px;
}

.accordion-item {
  border: 1px solid var(--wireframe-border);
  margin-bottom: 12px;
  background: rgba(242, 245, 244, 0.9);
}

.accordion-header {
  width: 100%;
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--deep-pine);
  text-align: left;
  transition: all 0.3s ease;
}

.accordion-header:hover {
  color: var(--neon-green);
}

.accordion-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s ease;
  flex-shrink: 0;
}

.accordion-icon::before,
.accordion-icon::after {
  content: '';
  position: absolute;
  background: var(--deep-pine);
  transition: all 0.4s ease;
}

.accordion-icon::before {
  width: 12px;
  height: 2px;
}

.accordion-icon::after {
  width: 2px;
  height: 12px;
}

.accordion-item.active .accordion-icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
}

.accordion-content p {
  padding: 0 24px 20px;
  font-size: 14px;
  line-height: 1.7;
}

.accordion-item.active .accordion-content {
  max-height: 500px;
}

.accordion-item.active {
  border-left: 3px solid var(--neon-green);
}

.review-card {
  background: rgba(242, 245, 244, 0.95);
  border: 1px solid var(--wireframe-border);
  padding: 28px;
  border-radius: 0;
  transition: all 0.5s ease;
  flex-shrink: 0;
  width: 320px;
}

.review-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 64px rgba(34, 197, 94, 0.15);
}

.review-stars {
  color: var(--neon-green);
  font-size: 16px;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.review-text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--dark-forest);
  margin-bottom: 20px;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--neon-green);
}

.review-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--deep-pine);
}

.review-date {
  font-size: 12px;
  color: var(--forest-green);
}

.coverflow-container {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 20px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.coverflow-container::-webkit-scrollbar {
  display: none;
}

.coverflow-container .review-card {
  scroll-snap-align: center;
  flex-shrink: 0;
}

.map-container {
  width: 100%;
  height: 350px;
  border: 1px solid var(--wireframe-border);
  overflow: hidden;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

@media (max-width: 768px) {
  .map-container {
    height: 280px;
  }
}

.service-price {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--neon-green);
  margin-top: 12px;
}

.service-price span {
  font-size: 13px;
  font-weight: 400;
  color: var(--forest-green);
}

.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 160px;
}

.timeline-circle {
  width: 56px;
  height: 56px;
  border: 2px solid var(--neon-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  background: var(--pump-white);
  transition: all 0.4s ease;
}

.timeline-step:hover .timeline-circle {
  background: var(--neon-green);
  transform: scale(1.12);
  box-shadow: 0 0 24px var(--glow-torch);
}

.timeline-step:hover .timeline-circle svg {
  stroke: white;
}

.timeline-title {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--deep-pine);
  margin-bottom: 6px;
}

.timeline-desc {
  font-size: 12px;
  color: var(--forest-green);
  max-width: 120px;
}

.timeline-line {
  flex: 1;
  height: 2px;
  background: var(--wireframe-border);
  margin: 0 16px;
  margin-bottom: 40px;
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}

.team-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.team-item {
  padding: 16px 20px;
  border: 1px solid var(--wireframe-border);
  background: rgba(242, 245, 244, 0.9);
  cursor: pointer;
  transition: all 0.4s ease;
}

.team-item:hover,
.team-item.active {
  border-color: var(--neon-green);
  border-width: 2px;
  background: white;
}

.team-item h4 {
  font-size: 15px;
  margin-bottom: 4px;
}

.team-item p {
  font-size: 13px;
  color: var(--forest-green);
}

.team-photo {
  position: relative;
  aspect-ratio: 4/3;
  border: 1px solid var(--wireframe-border);
  overflow: hidden;
  background: var(--steam-mist);
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.5s ease;
  position: absolute;
}

@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .team-photo {
    aspect-ratio: 16/9;
  }
}

.glass-effect {
  backdrop-filter: blur(20px) saturate(145%);
  background: rgba(242, 245, 244, 0.85);
}

.section-title {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--deep-pine);
  line-height: 0.9;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--forest-green);
  max-width: 600px;
  margin-bottom: 48px;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.bento-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
}

.bento-card.large {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
}

.bento-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.bento-card:hover img {
  transform: scale(1.05);
}

.bento-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(transparent, rgba(22, 101, 52, 0.9));
  color: white;
}

.bento-overlay h3 {
  color: white;
  font-size: 18px;
  margin-bottom: 8px;
}

.bento-overlay p {
  color: rgba(255,255,255,0.85);
  font-size: 13px;
}

@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .bento-card.large {
    grid-column: span 2;
    grid-row: span 1;
    aspect-ratio: 2/1;
  }
}

@media (max-width: 640px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }
  
  .bento-card.large {
    grid-column: span 1;
    aspect-ratio: 1;
  }
  
  .bento-card:not(.large) {
    aspect-ratio: 16/9;
  }
}

.advantage-card {
  padding: 32px;
  text-align: center;
  transition: all 0.5s ease;
}

.advantage-card:hover {
  flex-grow: 1.4;
}

.advantage-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--neon-green);
  border-radius: 50%;
  transition: all 0.4s ease;
}

.advantage-card:hover .advantage-icon {
  background: var(--neon-green);
}

.advantage-card:hover .advantage-icon svg {
  stroke: white;
}

.advantage-number {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--neon-green);
  margin-bottom: 8px;
}

.advantage-title {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--deep-pine);
  margin-bottom: 8px;
}

.advantage-desc {
  font-size: 13px;
  color: var(--forest-green);
}

@media (max-width: 768px) {
  .advantage-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  
  .advantage-card {
    display: flex;
    align-items: center;
    text-align: left;
    gap: 20px;
  }
  
  .advantage-icon {
    margin: 0;
    flex-shrink: 0;
  }
}

.success-message {
  text-align: center;
  padding: 60px 24px;
  background: rgba(242, 245, 244, 0.95);
  border: 1px solid var(--neon-green);
}

.success-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background: var(--neon-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-icon svg {
  width: 40px;
  height: 40px;
  stroke: white;
}

.success-message h2 {
  font-size: 28px;
  margin-bottom: 12px;
}

.success-message p {
  color: var(--forest-green);
  margin-bottom: 24px;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 22px;
  margin: 40px 0 16px;
  color: var(--deep-pine);
}

.legal-content h3 {
  font-size: 18px;
  margin: 24px 0 12px;
  color: var(--deep-pine);
}

.legal-content p {
  margin-bottom: 16px;
  font-size: 15px;
  line-height: 1.8;
}

.legal-content ul {
  margin: 16px 0;
  padding-left: 24px;
}

.legal-content li {
  margin-bottom: 10px;
  font-size: 15px;
  line-height: 1.7;
}

.legal-content strong {
  color: var(--deep-pine);
}

@media (min-width: 769px) {
  .mobile-menu-btn {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .bottom-bar {
    display: none !important;
  }
  
  /* Устранение горизонтального скролла */
  .stats-marquee {
    gap: 32px;
    padding: 16px 0;
  }
  
  .stat-box {
    padding: 12px 16px;
    min-width: 120px;
  }
  
  .stat-box .number {
    font-size: 24px;
  }
  
  .coverflow-container {
    padding: 16px 0;
    margin: 0 -24px;
    padding-left: 24px;
    padding-right: 24px;
  }
  
  .review-card {
    width: 280px;
    padding: 20px;
  }
  
  .timeline-step {
    min-width: 120px;
  }
  
  .timeline-line {
    margin: 0 8px 40px;
  }
  
  .cookie-consent-banner {
    left: 12px;
    right: 12px;
    bottom: 68px;
  }
  
  .cookie-buttons {
    flex-direction: column;
  }
  
  .cookie-btn {
    width: 100%;
  }
  
  .cookie-link {
    margin-left: 0;
    margin-top: 8px;
    text-align: center;
  }
  
  .bento-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .bento-card.large {
    grid-column: span 1;
    aspect-ratio: 16/9;
  }
  
  .bento-card:not(.large) {
    aspect-ratio: 16/9;
  }
  
  .advantage-card:hover {
    flex-grow: 0;
  }
  
  .team-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .container {
    padding: 0 16px;
  }
}
