:root {
  --magenta: #e6007e;
  --magenta-dim: #b3158a;
  --gold: #d99b00;
  --cyan: #0891b2;
  --bg: #f5f7fb;
  --bg-alt: #ffffff;
  --card-bg: #ffffff;
  --white: #161b33;
  --gray: #5b6178;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(20, 30, 60, 0.08);
  --glow: 0 0 18px rgba(230, 0, 126, 0.25), 0 0 30px rgba(8, 145, 178, 0.12);
}

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

html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; max-width: 100%; }

/* Opening animation */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 20px;
  text-align: center;
  background: linear-gradient(135deg, #161b33 0%, #1f2547 100%);
  overflow: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.preloader-jet {
  position: absolute;
  inset: -10% -10%;
  background: repeating-linear-gradient(
    115deg,
    transparent 0px,
    transparent 26px,
    rgba(255,255,255,0.06) 27px,
    rgba(255,255,255,0.06) 29px,
    transparent 30px,
    transparent 60px
  );
  animation: jetSweep 1.6s linear infinite;
  opacity: 0.8;
}
.preloader-logo {
  width: clamp(70px, 22vw, 110px);
  height: clamp(70px, 22vw, 110px);
  border-radius: 50%;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 0 rgba(230,0,126,0.6);
  animation: preloaderPulse 1.4s ease-out infinite;
}
@keyframes preloaderPulse {
  0% { box-shadow: 0 0 0 0 rgba(230,0,126,0.55), 0 0 0 0 rgba(8,145,178,0.4); }
  70% { box-shadow: 0 0 0 20px rgba(230,0,126,0), 0 0 0 36px rgba(8,145,178,0); }
  100% { box-shadow: 0 0 0 0 rgba(230,0,126,0), 0 0 0 0 rgba(8,145,178,0); }
}
.preloader-text {
  position: relative;
  z-index: 1;
  color: #cfd4ea;
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: clamp(0.85rem, 3vw, 1rem);
}
.preloader-bar {
  position: relative;
  z-index: 1;
  width: min(200px, 60vw);
  height: 5px;
  border-radius: 4px;
  background: rgba(255,255,255,0.12);
  overflow: hidden;
}
.preloader-bar span {
  display: block;
  height: 100%;
  width: 40%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--magenta), var(--gold));
  animation: preloaderBar 1.3s ease-in-out infinite;
}
@keyframes preloaderBar {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(350%); }
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--white);
  background: var(--bg);
  line-height: 1.6;
  background-image:
    linear-gradient(rgba(20,30,60,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20,30,60,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.25s ease;
  cursor: pointer;
  position: relative;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold), #ffb300);
  color: #1a1300;
  box-shadow: 0 0 20px rgba(217, 155, 0, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 28px rgba(217, 155, 0, 0.55); }
.btn-outline {
  border: 2px solid var(--white);
  color: var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--bg-alt); }
.contact .btn-outline, .reviews .btn-outline {
  border-color: var(--magenta);
  color: var(--magenta);
}
.contact .btn-outline:hover, .reviews .btn-outline:hover {
  background: var(--magenta);
  color: #fff;
  box-shadow: 0 0 20px rgba(230, 0, 126, 0.35);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(230, 0, 126, 0.15);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
}
.logo {
  display: flex;
  align-items: center;
}
.logo img {
  height: 56px;
  width: auto;
  display: block;
  border-radius: 50%;
  box-shadow: 0 0 14px rgba(230, 0, 126, 0.3);
}
.nav {
  display: flex;
  gap: 28px;
}
.nav a {
  font-weight: 600;
  color: var(--white);
  position: relative;
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--magenta), var(--cyan));
  transition: width 0.25s ease;
}
.nav a:hover { color: var(--magenta); }
.nav a:hover::after { width: 100%; }
.header-call { padding: 10px 20px; font-size: 0.9rem; }
.burger {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.8rem;
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  background: url('images/station-lavage-1.webp') center center / cover no-repeat;
  color: #fff;
  overflow: hidden;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(22,27,51,0.88) 0%, rgba(22,27,51,0.7) 60%, rgba(230,0,126,0.35) 100%),
              radial-gradient(circle at 80% 20%, rgba(8,145,178,0.25), transparent 60%);
  z-index: 1;
}

/* Ambient diagonal spray texture */
.jet-lines {
  position: absolute;
  inset: -20% -20%;
  z-index: 2;
  pointer-events: none;
  background: repeating-linear-gradient(
    115deg,
    transparent 0px,
    transparent 26px,
    rgba(255, 255, 255, 0.1) 27px,
    rgba(255, 255, 255, 0.1) 29px,
    transparent 30px,
    transparent 60px
  );
  animation: jetSweep 2.4s linear infinite;
  mix-blend-mode: screen;
  opacity: 0.6;
}
@keyframes jetSweep {
  0% { background-position: 0 0; }
  100% { background-position: -260px 260px; }
}

/* Karcher high-pressure jets: lances sweeping side to side, spraying streams of particles */
.karcher-jet {
  position: absolute;
  bottom: 4%;
  width: 3px;
  height: 320px;
  z-index: 2;
  pointer-events: none;
  transform-origin: bottom center;
  animation: lanceSweep 2.8s ease-in-out infinite;
}
.karcher-jet::before {
  content: '';
  position: absolute;
  left: -1px;
  bottom: 0;
  width: 5px;
  height: 26px;
  background: #dfe4ee;
  border-radius: 3px 3px 0 0;
  box-shadow: 0 0 6px rgba(0,0,0,0.3);
}
.karcher-jet--1 { left: 6%; height: 320px; animation-duration: 2.8s; }
.karcher-jet--2 { left: 46%; height: 260px; animation-duration: 2.1s; animation-delay: 0.4s; }
.karcher-jet--3 { left: 84%; height: 360px; animation-duration: 3.4s; animation-delay: 0.8s; }
@keyframes lanceSweep {
  0%, 100% { transform: rotate(-22deg); }
  50% { transform: rotate(22deg); }
}
.jet-particle {
  position: absolute;
  left: -2px;
  bottom: 22px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffffff, rgba(255,255,255,0.1));
  box-shadow: 0 0 8px rgba(255,255,255,0.9), 0 0 16px rgba(8,145,178,0.6);
  animation: jetSpray 0.55s linear infinite;
}
.jet-particle:nth-child(1) { animation-delay: 0s; }
.jet-particle:nth-child(2) { animation-delay: 0.07s; left: -6px; }
.jet-particle:nth-child(3) { animation-delay: 0.14s; left: 2px; }
.jet-particle:nth-child(4) { animation-delay: 0.21s; }
.jet-particle:nth-child(5) { animation-delay: 0.28s; left: -4px; }
.jet-particle:nth-child(6) { animation-delay: 0.35s; left: 3px; }
.jet-particle:nth-child(7) { animation-delay: 0.42s; }
.jet-particle:nth-child(8) { animation-delay: 0.49s; left: -2px; }
@keyframes jetSpray {
  0% { transform: translateY(0) scale(0.5); opacity: 1; }
  100% { transform: translateY(-300px) scale(1.6); opacity: 0; }
}

/* Rising foam bubbles */
.foam {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}
.bubble {
  position: absolute;
  bottom: -40px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.9), rgba(255,255,255,0.05));
  box-shadow: 0 0 8px rgba(255,255,255,0.5);
  animation: bubbleRise 6s ease-in infinite;
  opacity: 0.7;
}
.bubble:nth-child(1) { left: 8%; width: 10px; height: 10px; animation-duration: 5s; animation-delay: 0s; }
.bubble:nth-child(2) { left: 22%; width: 18px; height: 18px; animation-duration: 7s; animation-delay: 1s; }
.bubble:nth-child(3) { left: 38%; width: 12px; height: 12px; animation-duration: 6s; animation-delay: 2s; }
.bubble:nth-child(4) { left: 55%; width: 22px; height: 22px; animation-duration: 8s; animation-delay: 0.5s; }
.bubble:nth-child(5) { left: 72%; width: 14px; height: 14px; animation-duration: 6.5s; animation-delay: 1.5s; }
.bubble:nth-child(6) { left: 88%; width: 16px; height: 16px; animation-duration: 7.5s; animation-delay: 2.5s; }
@keyframes bubbleRise {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  15% { opacity: 0.7; }
  50% { transform: translateY(-260px) translateX(20px); }
  85% { opacity: 0.5; }
  100% { transform: translateY(-560px) translateX(-10px); opacity: 0; }
}

.hero-content { position: relative; z-index: 3; padding: 100px 20px; }
.badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 8px 18px;
  border-radius: 50px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #fff;
}
.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  max-width: 700px;
  margin-bottom: 20px;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0,0,0,0.35);
}
.hero h1 span {
  background: linear-gradient(90deg, #ff5fc8, var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub { font-size: 1.15rem; max-width: 560px; opacity: 0.9; margin-bottom: 36px; color: #e8ebf5; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

/* Info strip */
.info-strip { background: var(--bg-alt); padding: 36px 0; border-top: 1px solid rgba(20,30,60,0.06); border-bottom: 1px solid rgba(20,30,60,0.06); }
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.info-item { display: flex; gap: 16px; align-items: center; }
.info-icon { font-size: 2rem; }
.info-item h3 { font-size: 1rem; color: var(--magenta); margin-bottom: 4px; }
.info-item p { color: var(--gray); font-weight: 500; }
.info-item a { color: var(--gray); }

/* Sections */
.section { padding: 90px 0; }
.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 12px;
  background: linear-gradient(90deg, var(--magenta), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-sub {
  text-align: center;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto 50px;
}

/* Services */
.services { background: var(--bg); position: relative; }
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}
.card {
  background: var(--card-bg);
  border: 1px solid rgba(20,30,60,0.06);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: all 0.3s ease;
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--magenta);
  box-shadow: var(--glow);
}
.card-icon { font-size: 2.5rem; margin-bottom: 16px; }
.card h3 { font-size: 1.2rem; margin-bottom: 10px; color: var(--white); }
.card p { color: var(--gray); margin-bottom: 14px; }
.price { font-weight: 700; color: var(--magenta); font-size: 1.1rem; }
.note { text-align: center; color: var(--gray); font-size: 0.85rem; margin-top: 32px; }

/* Equipments */
.equipments { background: var(--bg-alt); }
.equip-grid .card { padding: 28px 20px; }
.equip-grid .card h3 { font-size: 1.05rem; margin-bottom: 0; }

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.gallery-item {
  height: 220px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(20,30,60,0.06);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.gallery-item img:hover { transform: scale(1.05); }
.gallery-item.placeholder {
  background: repeating-linear-gradient(45deg, #eef1f8, #eef1f8 10px, #e5e9f2 10px, #e5e9f2 20px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  font-weight: 600;
}

/* Reviews */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.review-card {
  background: var(--card-bg);
  border: 1px solid rgba(20,30,60,0.06);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}
.review-card:hover { border-color: var(--cyan); box-shadow: 0 0 20px rgba(8,145,178,0.15); }
.stars { color: var(--gold); font-size: 1.1rem; margin-bottom: 10px; }
.review-card p:not(.stars):not(.reviewer) { color: var(--white); margin-bottom: 14px; }
.reviewer { color: var(--gray); font-size: 0.9rem; font-weight: 600; }
.reviews-cta { text-align: center; margin-top: 40px; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.contact-info ul { margin: 24px 0 32px; }
.contact-info li { margin-bottom: 14px; font-size: 1.05rem; }
.contact-info a { color: var(--magenta); font-weight: 600; }
.contact-map iframe {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(20,30,60,0.06);
}

/* Footer */
.site-footer {
  background: #161b33;
  color: rgba(255,255,255,0.75);
  padding: 28px 0;
  text-align: center;
  font-size: 0.9rem;
}
.footer-inner p { margin: 4px 0; }
.site-footer a { color: var(--gold); }

/* Responsive */
@media (max-width: 900px) {
  .info-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.2rem; }
}
@media (max-width: 768px) {
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.97);
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    display: none;
  }
  .nav.open { display: flex; }
  .burger { display: block; }
  .header-call { display: none; }
  .hero { min-height: 80vh; }
  .karcher-jet--1 { height: 60%; }
  .karcher-jet--2 { height: 48%; }
  .karcher-jet--3 { height: 66%; }
}
@media (max-width: 600px) {
  .header-inner { padding: 10px 16px; }
  .logo img { height: 44px; }
  .section { padding: 60px 0; }
  .section-title { font-size: 1.7rem; }
  .hero-content { padding: 70px 16px; }
  .hero h1 { font-size: 1.7rem; max-width: 100%; }
  .hero-sub { font-size: 1rem; max-width: 100%; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { text-align: center; width: 100%; }
  .badge { font-size: 0.85rem; }
  .card { padding: 28px 20px; }
  .contact-map iframe { height: 260px; }
}
@media (max-width: 380px) {
  .hero h1 { font-size: 1.5rem; }
  .preloader-logo { width: 64px; height: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  .jet-lines, .karcher-jet, .jet-particle, .bubble, .preloader-jet, .preloader-logo, .preloader-bar span { animation: none !important; }
  .preloader { display: none; }
}
