:root {
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  --text-dark: #1a1a1a;
  --text-muted: #4b5563;
  --border-light: rgba(0, 0, 0, 0.08);
  --shadow-light: 0 4px 20px rgba(0, 0, 0, 0.06);
  --neon-green: #22c55e;
  --neon-glow: rgba(34, 197, 94, 0.4);
  --dark-green: #1a5c37;
  --glass: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(0, 0, 0, 0.1);
  --text-white: #ffffff;
  --bg-black: #2f2d2d;
  --accent-blue: #4a9eff;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background-color: var(--bg-light);
  color: var(--text-dark);
  font-family: 'Montserrat', sans-serif;
  overflow-x: hidden;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.container { width: 1200px; max-width: 95%; margin: 0 auto; }
section { position: relative; border-bottom: 1px solid var(--border-light); padding: 80px 0; flex-shrink: 0; }
section:last-of-type { border-bottom: none; }

/* ФОН И ЧАСТИЦЫ */
.video-background { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -2; }
#bg-video { width: 100%; height: 100%; object-fit: cover; opacity: 0.6; }
#particles-js { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }

/* ОБЩИЕ ЭЛЕМЕНТЫ */
.glass {
  background: var(--glass); backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border); box-shadow: var(--shadow-light);
  transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.glass:hover {
  background: var(--bg-white); border-color: var(--neon-green);
  box-shadow: 0 8px 30px rgba(34, 197, 94, 0.15); transform: scale(1.03);
}
.section-title {
  font-size: 2.5rem; font-weight: 800; text-align: center; margin-bottom: 60px;
  color: var(--text-dark); display: block; width: fit-content; margin: 0 auto 50px;
  padding: 10px 28px; background: rgba(15, 15, 15, 0.35);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffffff !important; text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8) !important;
}
.section-title .neon-text { text-shadow: none !important; color: var(--neon-green) !important; }
.neon-text { color: var(--neon-green); text-shadow: 0 0 15px var(--neon-glow); }
.btn-primary {
  padding: 18px 45px; background: var(--neon-green); color: #000;
  border-radius: 12px; font-weight: 800; text-decoration: none;
  box-shadow: 0 0 20px var(--neon-glow); transition: 0.3s; display: inline-block;
}
.btn-primary:hover { transform: translateY(-5px); box-shadow: 0 0 40px var(--neon-green); }
.btn-detail {
  display: inline-block; padding: 12px 28px; margin-top: 20px;
  background: transparent; border: 2px solid var(--neon-green);
  color: var(--neon-green); font-weight: 700; font-size: 1rem;
  text-transform: uppercase; letter-spacing: 1px; border-radius: 10px;
  text-decoration: none; transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.1); position: relative; z-index: 5;
}
.btn-detail:hover { background: var(--neon-green); color: #000; box-shadow: 0 0 25px var(--neon-glow); transform: translateY(-3px) scale(1.02); }

/* ШАПКА */
header {
  background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px);
  padding: 12px 0; position: fixed; width: 100%; top: 0; z-index: 1000;
  border-bottom: 1px solid var(--border-light); box-shadow: 0 2px 10px rgba(0,0,0,0.05); flex-shrink: 0;
}
nav { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.logo-wrapper { display: flex; align-items: center; gap: 15px; flex-shrink: 0; }
.header-logo { height: 100px !important; width: auto; }
.logo-text { font-family: 'Montserrat', sans-serif; line-height: 1.1; color: #555 !important; font-size: 22px !important; font-weight: 600 !important; text-transform: uppercase; letter-spacing: 1px; }
.logo-text span { display: block; font-size: 22px !important; font-weight: 800 !important; color: var(--dark-green) !important; letter-spacing: -0.5px; text-transform: none; }
.nav-links { display: flex; list-style: none; gap: 30px; margin: 0 auto; padding: 0; }
.nav-links a { color: #1a1a1a !important; font-size: 1.1rem; text-transform: uppercase; font-weight: 700; text-decoration: none; transition: 0.3s; }
.nav-links a:hover { color: var(--dark-green) !important; }
.header-contacts { display: flex; gap: 15px; flex: 0 0 auto; align-items: center; }
.contact-icon { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: rgba(26, 92, 55, 0.05); border-radius: 50%; transition: all 0.9s ease; border: 1px solid var(--dark-green); }
.contact-icon img { width: 20px; height: 20px; object-fit: contain; filter: none; transition: all 0.3s ease; }
.contact-icon:hover { background: var(--dark-green); border-color: var(--dark-green); box-shadow: 0 4px 12px rgba(26, 92, 55, 0.2); transform: translateY(-2px); }
.contact-icon:hover img { filter: brightness(0) invert(1) !important; }

/* HERO & ПРЕИМУЩЕСТВА */
.hero { padding: 140px 0 80px; text-align: center; flex-shrink: 0; animation: fadeInHero 0.8s ease-out; }
.main-title { display: none !important; }
.hero-description {
  max-width: 920px; margin: 0 auto 65px; font-size: 1.45rem; line-height: 1.65;
  color: #1a1a1a; text-align: center; position: relative; padding: 32px 40px;
  background: rgba(255, 255, 255, 0.65); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-radius: 20px; border: 1px solid rgba(255, 255, 255, 0.5); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}
.hero-description::before {
  content: ''; position: absolute; top: -1.5px; left: 50%; transform: translateX(-50%);
  width: 90px; height: 3px; background: linear-gradient(90deg, transparent, var(--neon-green), transparent);
  border-radius: 4px; box-shadow: 0 0 12px var(--neon-glow);
}
@keyframes fadeInHero { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.features-grid-top { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 60px; }
.feature-item.glass {
  background: rgba(0, 0, 0, 0.32) !important; border-color: rgba(100, 100, 100, 0.35) !important;
  box-shadow: 0 4px 15px rgba(30, 64, 175, 0.15) !important;
  padding: 25px 20px !important; border-radius: 16px; height: 100%; display: flex; align-items: center; gap: 15px;
}
.feature-icon { font-size: 3rem; flex-shrink: 0; }
.feature-text strong { display: block; color: #ffffff !important; font-size: 1.1rem !important; text-transform: uppercase; }
.feature-text span { display: block; color: #ffffff !important; opacity: 1 !important; font-size: 0.95rem; }

/* УСЛУГИ */
.services { padding: 100px 0; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.service-card { position: relative; overflow: hidden; padding: 0 !important; min-height: 250px; border-radius: 24px !important; background: var(--bg-white) !important; border: 1px solid var(--border-light); box-shadow: var(--shadow-light); }
.service-bg {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background-size: cover; background-position: center; opacity: 0.65;
  filter: grayscale(15%) brightness(0.85) contrast(1.1); transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94); z-index: 1;
}
.service-card:hover .service-bg { opacity: 0.95; filter: grayscale(0%) brightness(1.05) contrast(1.15) saturate(1.1); transform: scale(1.08); }
.service-card .card-content {
  position: relative; z-index: 2; padding: 35px 30px; background: transparent; backdrop-filter: blur(4px);
  height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
}
.service-card .card-content::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.6) 100%);
  border-radius: 24px; z-index: -1; opacity: 0.7; transition: opacity 0.3s ease;
}
.service-card:hover .card-content::before { opacity: 0.5; }
.service-card h3 { color: #ffffff !important; font-weight: 800; font-size: 1.5rem; margin-bottom: 15px; position: relative; z-index: 3; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8); }
.service-card h3::after { content: ''; display: block; width: 40px; height: 3px; background: var(--neon-green); margin: 10px auto 0; transition: 0.3s; border-radius: 2px; }
.service-card:hover .card-content h3::after { width: 80px; }
.service-card .card-content > p, .service-card .card-content ul, .service-card .card-content li {
  color: #ffffff !important; font-size: 1.05rem; line-height: 1.6; margin-bottom: 10px;
  font-weight: 500; position: relative; z-index: 3; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.85);
}
.service-card .card-content ul { list-style: none; padding: 0; margin: 10px 0 0; width: 100%; display: flex; flex-direction: column; align-items: center; }
.service-card .card-content li { display: block; margin: 4px 0; padding-left: 26px; position: relative; font-size: 0.95rem; text-align: left; }
.service-card .card-content li::before { content: '●'; position: absolute; left: 0; top: 1px; color: #ffcc00; font-weight: bold; font-size: 0.85rem; line-height: 1.6; text-shadow: 0 0 8px rgba(255, 204, 0, 0.5); }
.service-card.full-width { grid-column: 1 / -1; }
.service-card.full-width .card-content { padding: 45px 40px; }
.service-card.full-width h3 { font-size: 2rem; }
.service-card.full-width p { font-size: 1.15rem; max-width: 750px; margin: 0 auto; color: var(--text-muted); }
.service-card.full-width .card-content p::before { content: '●'; color: #ffcc00; text-shadow: 0 0 8px rgba(255, 204, 0, 0.6); margin-right: 12px; font-size: 0.85rem; vertical-align: middle; display: inline-block; }

/* ПРОЦЕСС */
.steps { padding: 100px 0; }
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 50px; }
.step-item { padding: 40px 30px !important; display: flex; flex-direction: column; align-items: center; text-align: center; position: relative; background: var(--bg-white) !important; border: 1px solid var(--border-light); box-shadow: var(--shadow-light); }
.step-num { font-size: 3rem; font-weight: 800; color: var(--neon-green); opacity: 0.2; position: absolute; top: 10px; right: 20px; }
.step-icon { width: 100px; height: 100px; margin-bottom: 25px; display: flex; justify-content: center; align-items: center; }
.step-icon img { width: 80px; height: auto; filter: none; transition: all 0.3s ease; }
.step-item h3 { margin-bottom: 15px; font-size: 1.4rem; color: var(--text-dark); font-weight: 800; text-transform: uppercase; }
.step-item p { color: var(--text-muted); font-weight: 600; opacity: 0.95; }
.step-item:hover { transform: translateY(-10px); border-color: var(--neon-green) !important; }
.step-item:hover .step-icon img { filter: drop-shadow(0 0 8px var(--neon-glow)); }
.step-item:hover h3 { color: var(--neon-green); }

/* О НАС */
.about { padding: 100px 0; }
.about-content { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.about-text { padding: 40px !important; border-radius: 20px !important; }
.about-text p { margin-bottom: 20px; font-size: 1.05rem; line-height: 1.8; opacity: 0.95; }
.about-text p:last-child { margin-bottom: 0; }
.about-features { display: grid; grid-template-columns: 1fr; gap: 20px; }
.about-feature { padding: 30px !important; border-radius: 16px !important; text-align: center; transition: 0.3s; }
.about-feature:hover { transform: translateX(5px); border-color: var(--neon-green) !important; }
.about-icon { font-size: 2.5rem; margin-bottom: 15px; }
.about-text.glass, .about-feature.glass { background: rgba(0, 0, 0, 0.4) !important; border-color: rgba(100, 100, 100, 0.35) !important; color: #ffffff !important; }
.about-text.glass p, .about-feature.glass p { font-size: 18px !important; line-height: 1.6 !important; }
.about-feature.glass h3 { color: #ffffff !important; font-size: 22px !important; font-weight: 700 !important; margin-bottom: 12px !important; line-height: 1.3 !important; }

/* КОМУ ЭТО НЕОБХОДИМО */
.clients { padding: 90px 0; }
.clients-layout { display: grid; grid-template-columns: 1.15fr 1.3fr 1.15fr !important; gap: 28px !important; align-items: center; max-width: 1280px; margin: 0 auto; }
.clients-side { display: flex; flex-direction: column; gap: 20px; }
.clients-center { display: flex; justify-content: center; align-items: center; }
.factory-img { width: 120%; max-width: 720px !important; height: auto; filter: drop-shadow(0 15px 40px rgba(34, 197, 94, 0.15)); animation: floatFactory 5s ease-in-out infinite; }
@keyframes floatFactory { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-12px) scale(1.01); } }
.client-card { padding: 30px 26px !important; border-radius: 16px !important; transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275); cursor: pointer; height: 100%; display: flex; flex-direction: column; justify-content: flex-start; background: rgba(0, 0, 0, 0.32) !important; border-color: rgba(100, 100, 100, 0.35) !important; color: #ffffff !important; width: 100% !important; max-width: 100% !important; margin: 0 auto !important; text-align: center !important; box-sizing: border-box; }
.client-card:hover { transform: translateY(-5px); border-color: var(--neon-green) !important; box-shadow: 0 10px 30px rgba(34, 197, 94, 0.25) !important; }
.clients-side.left .client-card:hover { transform: translateY(-5px) translateX(3px); }
.clients-side.right .client-card:hover { transform: translateY(-5px) translateX(-3px); }
.client-icon { font-size: 2.3rem; margin-bottom: 12px; display: block; text-align: center !important; margin: 0 auto 10px !important; }
.client-card h3 { color: #ffffff !important; font-size: 24px !important; font-weight: 700 !important; margin-bottom: 12px !important; line-height: 1.3 !important; text-align: center !important; display: block !important; margin: 0 auto 10px !important; }
.client-card p { font-size: 16.5px !important; opacity: 0.85; line-height: 1.5 !important; margin: 0; font-weight: 600; text-align: left !important; text-align-last: center !important; hyphens: auto !important; -webkit-hyphens: auto !important; word-spacing: -0.02em !important; text-justify: inter-word !important; }

/* НАШИ ПАРТНЕРЫ */
.partners { padding: 70px 0 80px; }
.partners-track-wrapper { position: relative; width: 100%; overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%); mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%); }
.partners-track { display: flex; align-items: center; gap: 60px; width: max-content; animation: scroll-partners 40s linear infinite; }
.partners-track:hover { animation-play-state: paused; }
@keyframes scroll-partners { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.partner-logo { height: 55px; width: auto; object-fit: contain; filter: none; transition: all 0.3s ease; cursor: pointer; display: block; }
.partner-logo:hover { transform: scale(1.1); opacity: 0.9; }

/* АККРЕДИТАЦИЯ */
.accreditation { padding: 90px 0; position: relative; overflow: hidden; }
.accreditation-layout { display: grid !important; grid-template-columns: 1.4fr 1fr !important; gap: 50px !important; align-items: stretch !important; max-width: 1200px !important; margin: 0 auto !important; }
.acc-column { display: flex; flex-direction: column; }
.accreditation-slider-wrapper { display: flex; align-items: center; gap: 20px; height: 100%; }
.slider-display { flex: 1; background: #fff; border-radius: 20px; min-height: 600px !important; max-height: 650px !important; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12); border: 1px solid var(--border-light); }
.slider-img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: contain; padding: 20px; opacity: 0; transition: opacity 0.4s ease, transform 0.4s ease; transform: scale(0.97); pointer-events: auto; cursor: zoom-in; }
.slider-img.active { opacity: 1; transform: scale(1); z-index: 3; }
.slider-img:not(.active) { pointer-events: none; z-index: 2; }
.slider-btn { width: 55px; height: 55px; border-radius: 50%; border: none; background: var(--glass); backdrop-filter: blur(8px); color: var(--text-dark); font-size: 1.8rem; cursor: pointer; transition: 0.3s; flex-shrink: 0; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); }
.slider-btn:hover { background: var(--neon-green); color: #000; transform: scale(1.1); }
.slider-btn:active { transform: scale(0.95); }
.pdf-downloads { display: flex; flex-direction: column; justify-content: flex-start; gap: 20px; height: 100%; }
.pdf-card { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 28px 20px !important; text-decoration: none !important; border-radius: 16px !important; min-height: 140px !important; transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important; transform: none !important; }
.pdf-card:hover { transform: translateY(-6px) scale(1.02) !important; border-color: var(--neon-green) !important; box-shadow: 0 12px 35px rgba(34, 197, 94, 0.25) !important; }
.pdf-icon { font-size: 2.5rem; margin-bottom: 12px; }
.pdf-text strong { display: block; color: var(--text-dark) !important; font-size: 1.05rem; margin-bottom: 6px; font-weight: 700; line-height: 1.4; }
.pdf-text span { color: var(--text-muted) !important; font-size: 0.9rem; opacity: 0.85; }
.acc-title { font-size: 1.7rem; margin-bottom: 25px; text-align: center; font-weight: 700; line-height: 1.3; }
.accreditation .section-title, .acc-title { position: relative; display: inline-flex; align-items: center; justify-content: center; padding: 12px 32px; border-radius: 14px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.08); box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); width: fit-content; }
.zoom-modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.95); z-index: 10000; justify-content: center; align-items: center; cursor: zoom-out; }
.zoom-modal.active { display: flex !important; }
.zoom-modal img { max-width: 95%; max-height: 95%; object-fit: contain; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.zoom-close { position: absolute; top: 30px; right: 40px; font-size: 3rem; color: #fff; background: none; border: none; cursor: pointer; opacity: 0.7; transition: 0.3s; }
.zoom-close:hover { opacity: 1; transform: scale(1.1); }

/* ФОРМА И ФУТЕР */
.callback-section, .footer { background: var(--bg-black); color: var(--text-white); }
.callback-section { background: linear-gradient(180deg, #1a1a1a 0%, #2f2d2d 50%, #1a1a1a 100%); position: relative; overflow: hidden; width: 100%; margin-top: auto; }
.callback-section::before { content: ''; position: absolute; top: 50%; left: 50%; width: 600px; height: 600px; background: radial-gradient(circle, rgba(27, 64, 121, 0.2) 0%, transparent 70%); transform: translate(-50%, -50%); pointer-events: none; }
.callback-container { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.callback-text { flex: 1; min-width: 300px; }
.callback-text h2 { margin-bottom: 30px; font-size: 2rem; color: #fff; text-shadow: 0 0 15px rgba(34, 197, 94, 0.4); }
.callback-info-box { position: relative; padding: 30px; background: rgba(255, 255, 255, 0.03); border-left: 4px solid var(--neon-green); border-radius: 0 15px 15px 0; box-shadow: inset 10px 0 20px rgba(34, 197, 94, 0.05); backdrop-filter: blur(5px); margin-bottom: 20px; }
.callback-info-box p { font-size: 1.25rem !important; line-height: 1.8; color: #fff; margin: 0; font-weight: 600; opacity: 0.95; }
.callback-info-box:hover { background: rgba(255, 255, 255, 0.07); border-left-width: 6px; }
.callback-info-box.highlight-special { background: rgba(255, 204, 0, 0.08); border-left: 4px solid #ffcc00; border-radius: 0 16px 16px 0; box-shadow: inset 10px 0 20px rgba(255, 204, 0, 0.1), 0 4px 15px rgba(255, 204, 0, 0.15); transition: all 0.3s ease; position: relative; }
.callback-info-box.highlight-special p { color: #ffcc00 !important; font-weight: 700 !important; text-shadow: 0 0 12px rgba(255, 204, 0, 0.35); letter-spacing: 0.5px; }
.callback-info-box.highlight-special:hover { background: rgba(255, 204, 0, 0.12); box-shadow: inset 10px 0 20px rgba(255, 204, 0, 0.15), 0 6px 20px rgba(255, 204, 0, 0.25); transform: translateX(4px); border-left-width: 6px; }
.callback-info-box.highlight-special::after { content: 'Специальные условия'; position: absolute; top: -12px; right: 20px; background: #ffcc00; color: #111; padding: 4px 14px; border-radius: 20px; font-size: 0.7rem; font-weight: 800; letter-spacing: 1px; box-shadow: 0 2px 10px rgba(255, 204, 0, 0.4); text-transform: uppercase; }
.form-wrapper.glass { flex: 1; min-width: 300px; max-width: 500px; padding: 50px !important; border-radius: 30px !important; background: linear-gradient(145deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01)) !important; border-color: rgba(255,255,255,0.15); }
.form-wrapper input { width: 100%; padding: 20px; margin-bottom: 20px; border-radius: 12px; background: rgba(255,255,255,0.05); border: 1px solid rgba(74, 158, 255, 0.2); color: #fff; font-family: inherit; transition: all 0.3s ease; }
.form-wrapper input:focus { outline: none; border-color: var(--neon-green); background: rgba(255,255,255,0.07); box-shadow: 0 0 10px rgba(34,197,94,0.2); }
.btn-send { width: 100%; padding: 20px; background: var(--neon-green); color: #000; border: none; border-radius: 12px; font-weight: 800; cursor: pointer; transition: 0.3s; text-transform: uppercase; letter-spacing: 2px; box-shadow: 0 10px 20px rgba(34, 197, 94, 0.3); }
.btn-send:hover { box-shadow: 0 0 30px var(--neon-glow); transform: scale(1.02); }
.form-footer-text { margin-top: 20px; color: #ffcc00; font-weight: 600; font-size: 0.9rem; text-align: center; }
#contact-form label { display: block; color: #fff; font-size: 0.95rem; margin-bottom: 8px; font-weight: 600; margin-top: 15px; }
#contact-form input[type="text"], #contact-form input[type="email"], #contact-form input[type="tel"] { width: 100%; padding: 16px; border-radius: 10px; background: rgba(255,255,255,0.05); border: 1px solid rgba(74, 158, 255, 0.2); color: #fff; font-family: inherit; transition: all 0.3s ease; }
#contact-form input:focus { outline: none; border-color: var(--neon-green); background: rgba(255,255,255,0.08); box-shadow: 0 0 10px rgba(34,197,94,0.15); }
.file-upload-wrapper { position: relative; background: rgba(255,255,255,0.05); border: 2px dashed rgba(255,255,255,0.3); border-radius: 10px; padding: 16px; text-align: center; cursor: pointer; transition: 0.3s; margin-top: 5px; }
.file-upload-wrapper:hover { border-color: var(--neon-green); background: rgba(255,255,255,0.08); }
.file-upload-wrapper input[type="file"] { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.file-label { color: #aaa; font-size: 0.9rem; pointer-events: none; }
.file-note { font-size: 0.8rem; color: #888; margin-top: 6px; line-height: 1.4; font-style: italic; }
.checkbox-label { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; margin: 22px 0 28px; font-size: 0.85rem; color: #ccc; line-height: 1.4; }
.checkbox-label input[type="checkbox"] { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--neon-green); cursor: pointer; flex-shrink: 0; }
.footer { background: #050a0f; padding: 60px 0 0; border-top: 1px solid rgba(255, 255, 255, 0.1); width: 100%; flex-shrink: 0; }
.footer-grid { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; width: 100%; gap: 40px; margin-bottom: 40px; }
.footer-brand { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.footer-brand img { height: 200px !important; width: auto !important; flex-shrink: 0; filter: brightness(1.05) contrast(1.05); transition: transform 0.3s ease; }
.footer-brand img:hover { transform: scale(1.03); }
.footer-brand .logo-text { color: #ffffff !important; font-size: 1.15rem !important; line-height: 1.3 !important; text-align: left !important; flex: 1; min-width: 200px; }
.footer-brand .logo-text span { color: var() !important; font-size: 1.25rem !important; font-weight: 800 !important; display: block; margin-top: 4px; }
.footer-contacts h3 { text-align: left; margin-bottom: 20px; color: #fff; }
.footer-contacts p, .footer-contacts a { color: #fff; text-decoration: none; font-size: 1rem; line-height: 1.6; margin-bottom: 8px; display: block; opacity: 0.85; transition: 0.3s; }
.footer-contacts a:hover { color: var(--neon-green); opacity: 1; }
.footer-bottom { width: 100%; background: rgba(0, 0, 0, 0.6); padding: 25px 0; }
.footer-bottom p { font-size: 0.8rem; line-height: 1.5; margin-bottom: 8px; opacity: 0.7; text-align: center; }

/* КВИЗ И СТАТУС */
.status-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(34, 197, 94, 0.1); border: 1px solid rgba(34, 197, 94, 0.3); color: var(--neon-green); padding: 8px 14px; border-radius: 50px; font-size: 0.85rem; margin-bottom: 20px; width: fit-content; }
.pulse-dot { width: 8px; height: 8px; background: var(--neon-green); border-radius: 50%; animation: pulse 1.5s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6); } 70% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }
#quiz-block { position: relative; }
.quiz-step { display: none; animation: fadeIn 0.3s ease; }
.quiz-step.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.quiz-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 15px; }
.quiz-btn { padding: 14px; background: rgba(255,255,255,0.05); border: 1px solid var(--glass-border); color: var(--text-white); border-radius: 10px; cursor: pointer; transition: 0.2s; font-size: 0.95rem; font-weight: 600; }
.quiz-btn:hover { background: rgba(34, 197, 94, 0.15); border-color: var(--neon-green); transform: scale(1.02); }
.quiz-btn:active { transform: scale(0.98); }
.quiz-progress { width: 100%; height: 4px; background: rgba(255,255,255,0.1); border-radius: 4px; margin-top: 20px; overflow: hidden; }
.progress-fill { height: 100%; background: var(--neon-green); width: 33%; transition: width 0.4s ease; }

/* МОБИЛЬНАЯ ЛИПКАЯ ПАНЕЛЬ */
.mobile-sticky-bar { display: none; position: fixed; bottom: 0; left: 0; width: 100%; z-index: 9999; background: rgba(15,15,15,0.95); backdrop-filter: blur(10px); border-top: 1px solid var(--glass-border); padding: 10px 12px; gap: 10px; box-shadow: 0 -5px 20px rgba(0,0,0,0.3); }
.msb-call, .msb-form { flex: 1; text-align: center; padding: 12px; border-radius: 10px; font-weight: 700; text-decoration: none; font-size: 0.9rem; transition: 0.2s; }
.msb-call { background: rgba(255,255,255,0.05); color: #fff; border: 1px solid rgba(255,255,255,0.1); }
.msb-form { background: var(--neon-green); color: #000; }



/* === РАСТЯЖЕНИЕ КАРТОЧЕК В РЯДЕ ДО ПОЛНОЙ ШИРИНЫ === */
.services-grid {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)) !important;
  justify-items: stretch !important;
  align-items: stretch !important;
}

.service-card {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important; /* Ключевое: разрешает Grid растягивать карточки без конфликтов */
  box-sizing: border-box !important;
}

/* Если в последнем ряду осталось ровно 2 элемента, заставляем их заполнить строку */
.services-grid::after {
  content: "";
  grid-column: span 1;
  visibility: hidden;
  pointer-events: none;
}

/* === ИСПРАВЛЕНИЕ РАСКЛАДКИ СЕТКИ УСЛУГ (3-2-1) === */
.services-grid {
  grid-template-columns: repeat(6, 1fr) !important; /* Заменяем auto-fit на жёсткую 6-колоночную сетку */
  gap: 30px !important;
}

/* 1-й ряд: 3 карточки занимают по 2 колонки каждая (2+2+2 = 6) */
.service-card:nth-child(1),
.service-card:nth-child(2),
.service-card:nth-child(3) {
  grid-column: span 2 !important;
}

/* 2-й ряд: 2 карточки растягиваются на всю ширину (3+3 = 6) */
.service-card:nth-child(4),
.service-card:nth-child(5) {
  grid-column: span 3 !important;
}

/* 3-й ряд: полная ширина */
.service-card.full-width {
  grid-column: 1 / -1 !important;
}

/* Безопасный адаптив: на мобильных сбрасываем к 1/2 колонкам */

/* === КРАСИВАЯ РАСКЛАДКА ДЛЯ 7 ШАГОВ (4+3) === */
.steps-grid {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important; /* Автоматически центрирует последний ряд */
  gap: 25px !important;
  margin-top: 50px !important;
}
.step-item {
  flex: 1 1 280px !important; /* Карточки растягиваются, но база ~280px */
  max-width: 340px !important; /* Ограничиваем максимальную ширину, чтобы не "расползались" */
  min-height: 250px !important;
  box-sizing: border-box !important;
}



/* === ИСПРАВЛЕНИЕ ЗАГОЛОВКОВ И СПИСКОВ В УСЛУГАХ === */

/* 1. Обычные карточки: Текст/Списки влево, Заголовок строго по центру */
.service-card:not(.full-width) .card-content {
  align-items: flex-start !important;
  text-align: left !important;
}
.service-card:not(.full-width) .card-content h3 {
  width: 100% !important;
  text-align: center !important;
  display: block !important;
  margin-bottom: 15px !important;
}
.service-card:not(.full-width) .card-content ul,
.service-card:not(.full-width) .card-content p {
  width: 100% !important;
  text-align: left !important;
}

/* 2. Широкая карточка (Воздух): Всё по центру, список ровным столбиком */
.service-card.full-width .card-content {
  align-items: center !important;
  text-align: center !important;
  justify-content: center !important;
}
.service-card.full-width .card-content h3 {
  width: 100% !important;
  text-align: center !important;
  margin-bottom: 20px !important;
}
.service-card.full-width .card-content ul {
  display: inline-block !important; /* Блок списка центрируется */
  text-align: left !important;      /* Внутри блока текст выровнен по левому краю */
  margin: 0 auto !important;
  width: auto !important;
  padding: 0 !important;
}
.service-card.full-width .card-content li {
  display: block !important;
  margin-bottom: 8px !important;
  padding-left: 20px !important; /* Отступ под точку */
  position: relative !important;
  white-space: normal !important; /* Разрешаем перенос длинных строк */
}
.service-card.full-width .card-content li::before {
  content: '●' !important;
  position: absolute !important;
  left: 0 !important;
  top: 3px !important;
  color: #ffcc00 !important;
  text-shadow: 0 0 6px rgba(255, 204, 0, 0.5) !important;
  font-size: 0.85rem !important;
}

/* === ИСПРАВЛЕНИЕ ВЫРАВНИВАНИЯ В КАРТОЧКАХ УСЛУГ === */

/* 1. Заголовки (h3) строго по центру во ВСЕХ карточках */
.service-card h3 {
    text-align: center !important;
    width: 100% !important;
    margin: 0 auto 15px auto !important;
}

/* 2. Обычные карточки (вода, почва и т.д.): список строго влево */
.service-card:not(.full-width) .card-content ul {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important; /* Прижимаем список к левому краю */
    text-align: left !important;
    width: 100% !important;
    padding-left: 0 !important;
    margin: 0 auto !important;
}

.service-card:not(.full-width) .card-content li {
    text-align: left !important;
    padding-left: 24px !important; /* Отступ текста от края для точки */
    width: 100% !important;
}

/* 3. Желтые точки для обычных карточек */
.service-card:not(.full-width) .card-content li::before {
    content: '●' !important;
    position: absolute !important;
    left: 6px !important; /* Точка в начале строки */
    top: 3px !important;
    color: #ffcc00 !important;
    text-shadow: 0 0 5px rgba(255, 204, 0, 0.5) !important;
    font-size: 0.8rem !important;
}

/* === ВЫРАВНИВАНИЕ ТЕКСТА В БЛОКЕ "О НАС" === */
.about-text {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important; /* Центрируем блок текста вертикально относительно карточек справа */
}

.about-text p {
    text-align: justify !important;
    text-align-last: left !important; /* Последняя строка не растягивается */
    text-justify: inter-word !important;
    
    /* Умные переносы + лёгкое сжатие пробелов */
    hyphens: auto !important;
    -webkit-hyphens: auto !important;
    word-spacing: -0.03em !important; 
    
    /* Комфортная читаемость */
    line-height: 1.75 !important;
    margin-bottom: 18px !important;
    font-size: 1.5rem !important;
    opacity: 0.95 !important;
    overflow-wrap: break-word !important; /* Длинных слов не будет вылезать за границы */
}


/* === ИСПРАВЛЕНИЕ ВЫРАВНИВАНИЯ ЗАГОЛОВКОВ АККРЕДИТАЦИИ === */
.acc-column {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important; /* Контент (слайдер, pdf) растягивается на всю ширину колонки */
}

.acc-title {
    display: inline-flex !important; /* Фон остаётся компактным по ширине текста */
    width: fit-content !important;
    margin: 0 auto 25px auto !important; /* Идеальное центрирование независимо от родителя */
    text-align: center !important;
}

/* Гарантируем, что нижние блоки не сжимаются и занимают всю ширину колонки */
.accreditation-slider-wrapper { width: 100% !important; }
.pdf-downloads { width: 100% !important; }


/* ======================================================
   MOBILE DESKTOP SCALE
====================================================== */


/* ======================================================
   MOBILE DESKTOP MODE
====================================================== */

@media (max-width: 768px) {

  html,
  body {
    margin: 0;
    padding: 0;
    overflow-x: hidden !important;
    width: 100%;
    max-width: 100%;
  }

  body {
    zoom: 0.26;
    position: relative;
  }

  .container {
    width: 1000px;
    max-width: 1000px;
    overflow: hidden;
  }

  * {
    box-sizing: border-box;
  }

  img,
  video {
    max-width: 100%;
    height: auto;
  }

  header,
  section,
  footer {
    width: 100%;
    overflow: hidden;
  }

  .nav-links {
    display: none;
  }

  .mobile-sticky-bar {
    display: none;
  }

  #particles-js {
    display: none;
  }

}
@media (max-width: 768px) {

  #bg-video {
    display: none;
  }

  .video-background {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background: none;
  }

  .video-background::before {
    content: "";
    position: absolute;
    inset: 0;

    background:
      linear-gradient(
        rgba(0,0,0,0.45),
        rgba(0,0,0,0.45)
      ),
      url("assets/logo_main.webp");

    background-size: cover;
    background-position: 60% center;;
    background-repeat: no-repeat;

    opacity: 0.65;
  }

}

@media (max-width: 768px) {

  /* Убираем тяжелый blur */

  .glass {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;

    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
  }

  /* Убираем тяжелые тени */

  * {
    box-shadow: none !important;
  }

  /* Упрощаем анимации */

  * {
  transition-duration: 0.15s !important;
}

  /* Убираем fixed */

  .video-background {
    position: absolute !important;
  }

}