/* ====== PREMIUM MATTE AVANTGARDE THEME ====== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Russo+One&display=swap');

:root{
  --bg:#15171c;            
  --bg-2:#1c1f25;          
  --ink:#f4f6fa;           
  --muted:#aeb8c7;         
  --line:rgba(255,255,255,0.12); 
}

*{box-sizing:border-box}
html,body{height:100%}

/* ==== Фон с усиленным авангардом ==== */
body{
  margin:0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;

  background:
    radial-gradient(700px 700px at 15% 25%, rgba(91,180,255,0.20) 0%, rgba(91,180,255,0.06) 55%, transparent 80%), /* 🔵 левый верхний */
    radial-gradient(700px 700px at 85% 25%, rgba(220,40,40,0.26) 0%, rgba(220,40,40,0.08) 55%, transparent 80%),  /* 🔴 правый верхний */
    radial-gradient(900px 900px at 50% 90%, rgba(255,120,150,0.10) 0%, transparent 80%),                          /* 🌸 нижний блик */
    linear-gradient(135deg, #12151b, var(--bg)),
    url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHJlY3Qgd2lkdGg9IjMyIiBoZWlnaHQ9IjMyIiBmaWxsPSJub25lIi8+PGNpcmNsZSBjeD0iMSIgY3k9IjEiIHI9IjEuNSIgZmlsbD0icmdiYSgyNTUsMjU1LDI1NSwwLjAzKSIvPjwvc3ZnPg==');

  background-size: 1200px 1200px, 1200px 1200px, 1500px 1500px, cover, 32px 32px;
  background-position: 15% 25%, 85% 25%, 50% 90%, 50% 50%, 0 0;
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, repeat;
  background-attachment: fixed, fixed, fixed, fixed, fixed;

  color:var(--ink);
  line-height:1.55;
  letter-spacing:.2px;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

/* ===== Header ===== */
header{
  background: rgba(28,31,37,.9);
  backdrop-filter: blur(4px);
  padding:16px 20px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  border-bottom:1px solid var(--line);
}
header h1{
  margin:0;
  font-size:24px;
  color:var(--ink);
  letter-spacing:.6px;
  font-family: 'Russo One', sans-serif;
}
header h1::after{
  content:"";
  display:block;
  height:2px;
  width:44px;
  margin-top:6px;
  background:linear-gradient(90deg, var(--accent), transparent);
}

nav{display:flex; flex-wrap:wrap; gap:16px}
nav a{
  color:var(--ink);
  text-decoration:none;
  position:relative;
  padding:6px 2px;
  transition: color .2s ease;
}
nav a::after{
  content:"";
  position:absolute; left:0; bottom:-4px;
  width:0; height:2px;
  background:linear-gradient(90deg, var(--accent), transparent 70%);
  transition: width .2s ease;
}
nav a:hover{color:#ffffff}
nav a:hover::after{width:100%}

.menu-toggle{
  display:none;
  background:none; border:none;
  font-size:28px; color:var(--accent); cursor:pointer;
}

/* ===== Banner ===== */
.banner{
  position:relative;
  background: url('../img/akpp.jpg') center/cover no-repeat;
  height:560px;
  display:flex; align-items:center; justify-content:center;
  text-align:center;
}
.banner::before{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(rgba(21,23,28,.55), rgba(21,23,28,.75));
}
.banner h2{
  position:relative; z-index:1;
  margin:0;
  padding:18px 28px;
  font-size:34px; font-weight:700; color:#fff;
  background: rgba(15,18,23,.55);
  border:1px solid var(--line);
  border-radius:12px;
  backdrop-filter: blur(2px);
  font-family: 'Russo One', sans-serif;
}

/* ===== Sections ===== */
.container{max-width:1100px; margin:40px auto; padding:0 20px}
.section{
  margin-bottom:40px;
  background: linear-gradient(180deg, rgba(28,31,37,.88), rgba(28,31,37,.82));
  border:1px solid var(--line);
  border-radius:14px;
  padding:22px;
  box-shadow: 0 10px 24px rgba(0,0,0,.25);
}

h2{
  font-size:26px; margin:0 0 16px;
  color:#fff; letter-spacing:.3px;
  font-family: 'Russo One', sans-serif;
}
h2::after{
  content:"";
  position:absolute; left:0; bottom:-8px;
  height:2px; width:54px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

/* Остальной код — без изменений, использует новые цвета */

/* ===== Features grid ===== */
.features{display:grid; grid-template-columns:repeat(2,1fr); gap:12px}
.feature{
  background: rgba(27,31,37,0.78);
  border:1px solid var(--line);
  border-radius:12px;
  padding:14px 12px;
  font-size:14px; text-align:center;
  min-height:64px; display:flex; align-items:center; justify-content:center;
  transition: transform .2s ease, border-color .2s ease;
}
.feature:hover{
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.12);
}

/* ===== Forms ===== */
form{
  background: rgba(27,31,37,0.78);
  padding:20px; border-radius:12px;
  border:1px solid var(--line);
}
input, textarea, button{
  width:100%;
  padding:12px 12px;
  margin:10px 0;
  border-radius:10px;
  border:1px solid var(--line);
  background:#12161c; color:#f0f2f5;
  font:inherit;
}
input::placeholder, textarea::placeholder{color:#8c97a6}
input:focus, textarea:focus{
  outline:none;
  border-color: rgba(255,255,255,.18);
}

/* CTA button */
button{
  background: #1d2430;
  color:#fff; font-weight:700; letter-spacing:.3px;
  border-color: rgba(255,255,255,.12);
  cursor:pointer;
}
button:hover{
  transform: translateY(-1px);
  background:#262f40;
  border-color: rgba(255,255,255,.18);
}

/* ===== Contact block / Map ===== */
.contact-block{
  background: rgba(27,31,37,0.78);
  padding:20px; border-radius:12px;
  line-height:1.8; border:1px solid var(--line);
}
iframe{
  width:100%; height:400px; border:none; border-radius:12px;
}

/* ===== Footer ===== */
footer{
  background: rgba(24,27,32,0.88);
  text-align:center; padding:22px; font-size:14px; color:var(--muted);
  border-top:1px solid var(--line);
}

/* ===== Mobile ===== */
@media (max-width:768px){
  header{flex-direction:column; align-items:flex-start; gap:8px}
  .menu-toggle{display:block; margin-top:6px}
  nav{display:none; flex-direction:column; width:100%; background:rgba(24,27,32,0.88); padding:10px 0; border:1px solid var(--line); border-radius:10px}
  nav.show{display:flex}
  nav a{padding:10px 20px; border-top:1px solid var(--line)}
  .banner{height:220px}
  .banner h2{font-size:20px; padding:12px 14px}
  .features{grid-template-columns:1fr}
  .feature{font-size:15px; min-height:56px}
  h2{font-size:22px}
  iframe{height:260px}
}

/* ===== Brands grid ===== */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 14px;
}
.brand-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(27,31,37,0.78);
  padding: 0;
  transition: border-color .2s ease, transform .2s ease;
}
.brand-item:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.12);
}
.brand-title {
  cursor: pointer;
  padding: 12px 14px;
  padding-right: 36px;
  color: #fff;
  font-weight: 700;
  position: relative;
}
.brand-title::after {
  content: "▸";
  position: absolute;
  right: 12px; top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
}
.brand-item[open] .brand-title::after { transform: translateY(-50%) rotate(90deg); }
.gearbox-list { padding: 0 14px 12px 26px; color: #f0f2f5; }
.gearbox-list li { margin: 6px 0; line-height: 1.45; list-style-position: inside; }
@media (max-width: 1100px) { .brands-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (max-width: 780px) { .brands-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 520px) { .brands-grid { grid-template-columns: 1fr; } }