:root{
  --bg:#0f0f10;
  --card:#1f1f20;
  --muted:#9aa2a6;
  --accent:#ff6b35;
  --accent-2:#00c3ff;
  --text:#ececec;
  --glass: rgba(255,255,255,0.03);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  background:rgb(12, 12, 12);
  color:var(--text);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

/* container */
.wrap{
  width:95%;
  max-width:1200px;
  margin:0 auto;
  padding:0 16px;
}

/* header */
.site-header{
  background: linear-gradient(90deg, rgba(17,17,17,0.95), rgba(20,20,20,0.9));
  position:sticky;
  top:0;
  z-index:50;
  box-shadow:0 2px 10px rgba(0,0,0,0.5);
}
.header-inner{
  display:flex;
  align-items:center;
  gap:15px;
  justify-content:space-between;
  padding:15px 0;
  flex-wrap: wrap;
}
.logo{
  color:var(--text);
  text-decoration:none;
  font-weight:700;
  font-size:18px;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: max-content;
}
.logo span{color:var(--accent)}
.logo-text{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
}
.logo-main{
  white-space: nowrap;
  font-size: 18px;
}
.logo-city{
  font-size: 11px;
  color: var(--muted);
  font-weight: 400;
  margin-top: 2px;
  letter-spacing: 0.5px;
}

/* nav */
.main-nav ul{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  gap:16px;
  align-items:center;
  flex-wrap: wrap;
  justify-content: center;
}
.main-nav a{
  color:var(--muted);
  text-decoration:none;
  padding:6px 10px;
  border-radius:6px;
  position:relative;
  transition:all .22s cubic-bezier(.2,.9,.2,1);
  font-weight:600;
  font-size: 14px;
  white-space: nowrap;
}
.main-nav a:hover{color:var(--text); transform: translateY(-2px)}
.main-nav a.active{
  color:var(--text);
  background:linear-gradient(90deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  box-shadow: 0 4px 15px rgba(0,0,0,0.6);
  transform: translateY(-2px);
}

/* CTA */
.cta{
  background: linear-gradient(90deg,var(--accent), #ff8f5a);
  color:#08121a;
  padding:8px 14px;
  border-radius:8px;
  text-decoration:none;
  font-weight:700;
  transition:transform .18s ease;
  font-size: 14px;
  white-space: nowrap;
}
.cta:hover{transform:translateY(-2px)}

/* Адаптивность для средних экранов */
@media (max-width: 1100px) {
  .header-inner {
    gap: 12px;
    padding: 12px 0;
  }

  .main-nav ul {
    gap: 12px;
  }

  .main-nav a {
    font-size: 13px;
    padding: 5px 8px;
  }

  .logo-main {
    font-size: 16px;
  }

  .logo-city {
    font-size: 10px;
  }
}

/* Адаптивность для планшетов */
@media (max-width: 980px) {
  .header-inner {
    gap: 10px;
    padding: 10px 0;
  }

  .main-nav {
    order: 3;
    width: 100%;
    margin-top: 10px;
    display: none;
  }

  .main-nav.open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }

  .main-nav a {
    display: block;
    text-align: center;
    padding: 10px;
    font-size: 14px;
  }

  .cta {
    display: none;
  }

  .burger {
    display: block;
  }
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
  .header-inner {
    gap: 8px;
    padding: 10px 0;
  }

  .logo {
    font-size: 16px;
    gap: 6px;
  }

  .logo-main {
    font-size: 16px;
  }

  .logo-city {
    font-size: 9px;
    margin-top: 1px;
  }

  .logo-icon {
    width: 22px;
    height: 22px;
  }
}

@media (max-width: 480px) {
  .header-inner {
    gap: 6px;
    padding: 8px 0;
  }

  .logo {
    font-size: 14px;
    gap: 4px;
  }

  .logo-main {
    font-size: 14px;
  }

  .logo-city {
    font-size: 8px;
    margin-top: 0;
  }

  .logo-icon {
    width: 20px;
    height: 20px;
  }
}

/* burger (mobile) */
.burger{
  display:none;
  background:none;
  border:0;
  cursor:pointer;
  padding:6px;
  order: 2;
}
.burger span{
  display:block;
  width:22px;
  height:2px;
  background:var(--text);
  margin:4px 0;
  transition:all .2s
}

.burger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.burger.open span:nth-child(2) {
  opacity: 0;
}

.burger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Показываем бургер на планшетах и мобильных */
@media (max-width: 980px) {
  .burger {
    display: block;
  }

  .main-nav {
    display: none;
  }

  .cta {
    display: none;
  }
}

/* main content */
.content {
  padding: 20px 0;
}

.hero {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  margin-bottom: 30px;
}

.hero-left h1 {
  font-size: 24px;
  margin: 0 0 12px;
  line-height: 1.1;
  text-align: center;
}

.lead {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 24px;
  text-align: center;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.hero-actions .btn {
  width: 100%;
  text-align: center;
  padding: 14px 20px;
  font-size: 16px;
}

.hero-right {
  width: 100%;
  max-width: 460px;
}

.hero-right img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
  transform: translateY(0);
  transition: transform .6s;
}

.hero-right img:hover {
  transform: translateY(-4px);
}

/* Десктопная версия */
@media (min-width: 768px) {
  .content {
    padding: 40px 0;
  }

  .hero {
    display: grid;
    grid-template-columns: 1fr 460px;
    gap: 32px;
    align-items: center;
    margin-bottom: 40px;
  }

  .hero-left h1 {
    font-size: 34px;
    text-align: left;
    line-height: 1.05;
  }

  .lead {
    font-size: 16px;
    text-align: left;
    margin-bottom: 18px;
  }

  .hero-actions {
    flex-direction: row;
    gap: 16px;
    width: auto;
  }

  .hero-actions .btn {
    width: auto;
    padding: 12px 24px;
  }

  .hero-right {
    max-width: none;
  }

  .hero-right img {
    box-shadow: 0 10px 40px rgba(0,0,0,0.6);
  }

  .hero-right img:hover {
    transform: translateY(-6px);
  }
}

/* ---------- Услуги – карточки (две сверху, две снизу) ---------- */
.services{margin:40px 0}

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  align-items: start;
  justify-items: center;
}

/* --- Ссылка-карточка --- */
.cards a.card {
  background: var(--card);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(0,0,0,.6);
  transition: transform .25s, box-shadow .25s, color .25s;
  width: 100%;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  position: relative;
  border: 2px solid transparent;
}

.cards a.card .content {
  flex: 1;
}

/* Ховер-эффекты */
.cards a.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0,0,0,.7);
  text-decoration: none;
  border-color: rgba(255, 122, 0, 0.3);
}

.cards a.card:hover h3 {
  color: var(--accent);
}

.card h3 {
  margin-top: 0;
  color: var(--accent);
}

/* Стили для каруселей в карточках услуг */
.cards .card {
  display: flex;
  flex-direction: column;
  gap: 15px;
  position: relative;
  overflow: hidden;
}

.cards .card .carousel {
  order: -1;
  margin: -20px -20px 15px -20px;
  width: calc(100% + 40px);
  position: relative;
  border-radius: 12px 12px 0 0;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.cards .card .carousel-container {
  border-radius: 12px 12px 0 0;
  height: 300px;
  overflow: hidden;
  position: relative;
}

/* Эффект видимости следующего слайда */
.cards .card .carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  height: 100%;
  position: relative;
}

.cards .card .carousel-track::before,
.cards .card .carousel-track::after {
  content: '';
  position: absolute;
  top: 0;
  width: 20px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.cards .card .carousel-track::before {
  left: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.3), transparent);
}

.cards .card .carousel-track::after {
  right: 0;
  background: linear-gradient(90deg, transparent, rgba(0,0,0,0.3));
}

.cards .card .carousel-slide {
  min-width: 100%;
  height: 100%;
  flex-shrink: 0;
  position: relative;
}

.cards .card .carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Стили для кнопок как настоящих физических кнопок */
.cards .card .carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(31, 31, 32, 0.95);
  border: 2px solid #ff7a00;
  color: #ff7a00;
  font-size: 18px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  font-weight: bold;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.cards .card .carousel-btn:hover {
  background: #ff7a00;
  color: #000;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(255, 122, 0, 0.6);
  border-color: #ff7a00;
}

.cards .card .carousel-btn:active {
  transform: translateY(-50%) scale(0.95);
  box-shadow: 0 2px 10px rgba(255, 122, 0, 0.8);
}

.cards .card .carousel-btn.prev {
  left: 15px;
}

.cards .card .carousel-btn.next {
  right: 15px;
}

/* Индикатор что это карусель */
.cards .card .carousel-indicator {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  z-index: 5;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 122, 0, 0.3);
}

/* Точки навигации */
.cards .card .carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  position: absolute;
  bottom: 15px;
  left: 0;
  right: 0;
  z-index: 5;
}

.cards .card .carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
  position: relative;
}

.cards .card .carousel-dot.active {
  background: #ff7a00;
  border-color: #ff7a00;
  transform: scale(1.2);
}

.cards .card .carousel-dot:hover {
  background: #ff7a00;
  transform: scale(1.1);
}

/* Эффект перелистывания при наведении */
.cards .card:hover .carousel-track {
  transform: translateX(-5px);
}

.cards .card .carousel-track:hover {
  transform: translateX(-10px);
}

/* Заголовок карточки */
.cards .card h3 {
  margin: 0;
  padding: 0 10px;
  font-size: 16px;
  line-height: 1.3;
  text-align: center;
  color: var(--accent);
  transition: all 0.3s ease;
  position: relative;
}

.cards .card:hover h3 {
  color: #ff5500;
  transform: translateY(-2px);
}

/* Адаптивность */
@media (max-width: 768px) {
  .cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .cards .card .carousel-container {
    height: 250px;
  }

  .cards .card .carousel-btn {
    width: 45px;
    height: 45px;
    font-size: 16px;
  }

  .cards .card .carousel-btn.prev {
    left: 10px;
  }

  .cards .card .carousel-btn.next {
    right: 10px;
  }

  .cards .card h3 {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .cards .card .carousel-container {
    height: 220px;
  }

  .cards .card .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }

  .cards .card h3 {
    font-size: 14px;
  }
}

/* about/gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.g-item img {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.6);
  transition: transform .25s;
}

.g-item img:hover {
  transform: scale(1.07);
}

/* forms */
.contact{max-width:780px;margin:0 auto}
.contact-form{background:var(--card);padding:18px;border-radius:12px;box-shadow:0 8px 30px rgba(0,0,0,0.6)}
.contact-form .row{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px}
label{display:block;color:var(--muted);font-size:14px}
input,textarea{background:var(--glass);border:1px solid rgba(255,255,255,0.04);padding:12px;border-radius:8px;color:var(--text);outline:none}
input:focus,textarea:focus{box-shadow:0 6px 24px rgba(0,0,0,0.5);border-color:rgba(255,255,255,0.06)}
.form-actions{display:flex;gap:12px;margin-top:12px;align-items:center}

/* buttons */
.btn{display:inline-block;padding:10px 16px;border-radius:10px;text-decoration:none;font-weight:700}
.btn-primary{background:linear-gradient(90deg,var(--accent),#ff8f5a);color:#06121a}
.btn-outline{border:1px solid rgba(255,255,255,0.06);color:var(--text);background:transparent}

/* footer */
.site-footer {
  background-color: #181818;
  padding: 20px 10px;
  text-align: center;
  margin-top: 40px;
}

.site-footer .wrap {
  max-width: 1000px;
  margin: 0 auto;
}

.site-footer p {
  margin: 5px 0;
  font-size: 14px;
  color: #aaa;
  line-height: 1.6;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

.site-footer p.muted {
  color: #777;
}

/* flash */
.flash{padding:10px;border-radius:8px;margin-bottom:12px}
.flash.success{background:linear-gradient(90deg, rgba(34,197,94,0.12), rgba(34,197,94,0.06));color:#bff0ce}
.flash.danger{background:linear-gradient(90deg, rgba(255,99,99,0.08), rgba(255,99,99,0.04));color:#ffd6d6}

/* responsiveness */
@media (max-width:980px){
  .hero{grid-template-columns:1fr; padding-bottom:10px}
  .hero-right{order: -1}
  .hero-right img{height:320px;object-fit:cover}
  .header-inner{flex-wrap:wrap;gap:12px}
}
@media (max-width:760px){
  .main-nav{display:none}
  .burger{display:block}
  .cta{display:none}
  .main-nav.open{display:block;padding:12px 0}
  .main-nav.open ul{flex-direction:column;gap:8px}
}

/* --- Контактная форма --- */
.contact-wrapper {
  max-width: 600px;
  margin: 40px auto;
  background: #1f1f1f;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0,0,0,0.4);
}

.contact-wrapper h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #ff9800;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form label {
  font-weight: bold;
  color: #ddd;
}

.contact-form input,
.contact-form textarea {
  background-color: #2a2a2a;
  border: none;
  border-radius: 6px;
  padding: 12px;
  color: #fff;
  font-size: 16px;
  resize: none;
}

.contact-form textarea {
  min-height: 120px;
}

.checkbox-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.contact-form button {
  background-color: #ff9800;
  color: #000;
  padding: 12px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.contact-form button:hover {
  background-color: #e68900;
  transform: scale(1.03);
}

/* --- Эффекты ошибки --- */
.error-btn {
  background-color: #d32f2f !important;
  color: #fff;
}

@keyframes shake {
  0% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-6px); }
  80% { transform: translateX(6px); }
  100% { transform: translateX(0); }
}

.shake {
  animation: shake 0.5s;
}

/* ------------- НАШИ ПРЕИМУЩЕСТВА ------------- */
.advantages {
  margin-top: 48px;
  text-align: center;
}

.advantages .section-title {
  font-size: 1.75rem;
  color: var(--text);
  margin-bottom: 12px;
}

/* сетка из 4 блоков (адаптивно) */
.adv-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 20px;
}

/* каждый блок‑преимущество */
.adv-item {
  background: var(--card);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(0,0,0,.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform .25s;
}

.adv-item:hover { transform: translateY(-6px); }

.adv-item i {
  font-size: 3rem;
  color: var(--accent);
  margin-bottom: 12px;
}

.adv-item h4 {
  margin: 0;
  font-size: 1.15rem;
  color: var(--text);
  text-align: center;
}

/* --- HERO PITBIKE --- */
.hero-pitbike {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #1b1b1b, #2a2a2a);
  border-radius: 14px;
  padding: 50px 40px;
  margin-top: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}

.hero-text {
  max-width: 55%;
  animation: fadeInUp 0.8s ease-in-out;
}

.hero-text h1 {
  color: #ff7a00;
  font-size: 32px;
  margin-bottom: 15px;
}

.hero-text p {
  font-size: 18px;
  color: #ccc;
  line-height: 1.5;
  margin-bottom: 25px;
}

.btn-primary {
  background: #ff7a00;
  color: #000;
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}

.btn-primary:hover {
  background: #ff9900;
}

.hero-image img {
  width: 420px;
  border-radius: 14px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
  animation: fadeInRight 1s ease-in-out;
}

/* --- PITBIKE SERVICES --- */
.pitbike-services {
  text-align: center;
  margin-top: 60px;
  color: #ff7a00;
}

.pitbike-services h2 {
  color: #ff7a00;
  margin-bottom: 30px;
  font-size: 28px;
}

/* === Контейнер карточек === */
.pitbike-services .cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: stretch;
}

/* === Карточка === */
.pitbike-services .card {
  background: #2b2b2b;
  padding: 25px;
  border-radius: 10px;
  width: 280px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
  transition: transform 0.3s, box-shadow 0.3s;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Ровная анимация */
.pitbike-services .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.8);
}

/* === Текст карточек === */
.pitbike-services .card h3 {
  color: #ff7a00;
  margin-bottom: 10px;
  font-size: 18px;
}

.pitbike-services .card p {
  color: #ccc;
  font-size: 15px;
  line-height: 1.4;
  flex: 1;
}

/* --- GALLERY SECTION --- */
.gallery-section {
  text-align: center;
  margin-top: 60px;
}

.gallery-section h2 {
  color: #ff7a00;
  margin-bottom: 25px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
}

.g-item img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.g-item img:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 40px rgba(255, 122, 0, 0.5);
}

/* --- ANIMATIONS --- */
@keyframes fadeInUp {
  from {opacity: 0; transform: translateY(40px);}
  to {opacity: 1; transform: translateY(0);}
}

@keyframes fadeInRight {
  from {opacity: 0; transform: translateX(60px);}
  to {opacity: 1; transform: translateX(0);}
}

/* ====== ZIMA PAGE ====== */
.zima-page {
  text-align: left;
  margin-top: 40px;
}

.zima-title {
  color: #ff7a00;
  text-align: center;
  margin-bottom: 40px;
  font-size: 28px;
}

.zima-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 40px;
}

.zima-cards .card {
  background: #2b2b2b;
  padding: 25px;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.zima-cards .card.full-width {
  grid-column: 1 / -1;
  max-width: 800px;
  margin: 0 auto;
}

.zima-cards .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.8);
}

.zima-cards .card h3 {
  color: #ff7a00;
  margin-bottom: 15px;
  font-size: 20px;
  text-align: center;
}

.zima-cards .card p {
  color: #ddd;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 12px;
}

.zima-cards .card ul {
  color: #ddd;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 15px;
  padding-left: 20px;
}

.zima-cards .card li {
  margin-bottom: 8px;
}

.zima-cards .card .price {
  font-size: 18px;
  color: #ff7a00;
  font-weight: bold;
  text-align: center;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 122, 0, 0.3);
}

.zima-gallery img {
  border-radius: 12px;
  height: 300px;
  object-fit: cover;
  width: 100%;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.6);
}

.zima-subtitle {
  color: #ff7a00;
  text-align: center;
  margin-top: 50px;
  margin-bottom: 25px;
}

.zima-list {
  list-style: disc;
  padding-left: 25px;
  color: #ccc;
  line-height: 1.6;
  max-width: 900px;
  margin: 0 auto;
}

/* Размер и выравнивание иконки */
.logo-icon {
    width: 3.5rem;
    height: 2rem;
    vertical-align: middle;
    margin-right: 0.1rem;
    display: inline-block;
}

.logo-icon:hover {
    transform: scale(1.1);
    filter: brightness(1.2);
}

/* ===== MOBILE FIX HERO ===== */
.hero-pitbike {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin: 60px 0;
  flex-wrap: wrap;
}

.hero-pitbike .hero-text {
  flex: 1;
  min-width: 300px;
}

.hero-pitbike .hero-image {
  flex: 1;
  text-align: right;
}

.hero-pitbike .hero-image img {
  width: 100%;
  max-width: 520px;
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.6);
}

/* === адаптация для телефона === */
@media (max-width: 768px) {
  .hero-pitbike {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .hero-pitbike .hero-text {
    order: 1;
    max-width: 100%;
  }

  .hero-pitbike .hero-image {
    order: 2;
    text-align: center;
  }

  .hero-pitbike .hero-image img {
    width: 100%;
    height: auto;
    max-width: 90%;
  }

  .hero-pitbike h1 {
    font-size: 22px;
    line-height: 1.3;
  }

  .hero-pitbike p {
    font-size: 16px;
    color: #ccc;
    margin-bottom: 15px;
  }

  .hero-pitbike .btn-primary {
    display: inline-block;
    padding: 10px 18px;
    font-size: 15px;
  }

  .zima-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .zima-cards .card.full-width {
    grid-column: 1;
  }

  .zima-cards .card {
    padding: 20px;
  }

  .zima-cards .card h3 {
    font-size: 18px;
  }
}

.gallery-section {
  padding: 30px 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.gallery-section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 25px;
  color: #ff7a00;
  font-weight: 600;
}

.gallery-special {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 15px;
  column-gap: 3px;
  margin-top: 15px;
}

.g-item-special {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.g-item-special:hover {
  transform: translateY(-3px);
}

.g-item-special img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

/* Для вертикальных фото */
.g-item-special:nth-child(1),
.g-item-special:nth-child(2) {
  height: 380px;
}

/* Для горизонтальной фото - УВЕЛИЧИЛ */
.g-item-special:nth-child(3) {
  grid-column: 1 / -1;
  height: 400px;
}

/* Эффекты при наведении */
.g-item-special:hover img {
  transform: scale(1.03);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
  .gallery-special {
    grid-template-columns: 1fr;
    gap: 15px;
    column-gap: 15px;
  }

  .g-item-special:nth-child(3) {
    grid-column: 1;
  }

  .g-item-special:nth-child(1),
  .g-item-special:nth-child(2) {
    height: 300px;
  }

  .g-item-special:nth-child(3) {
    height: 300px;
  }

  .gallery-section h2 {
    font-size: 1.6rem;
  }
}

/* Для очень маленьких экранов */
@media (max-width: 480px) {
  .gallery-section {
    padding: 15px 10px;
  }

  .g-item-special:nth-child(1),
  .g-item-special:nth-child(2) {
    height: 240px;
  }

  .g-item-special:nth-child(3) {
    height: 250px;
  }

  .zima-cards .card {
    padding: 15px;
  }

  .zima-cards .card h3 {
    font-size: 16px;
  }

  .zima-cards .card p,
  .zima-cards .card ul {
    font-size: 14px;
  }
}

.pitbike-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 14px;
  margin-top: 16px;
}

.pitbike-item {
  position: relative;
}

.pitbike-item img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.6);
  transition: transform .25s;
  display: block;
}

.pitbike-item img:hover {
  transform: scale(1.02);
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
  .pitbike-gallery {
    grid-template-columns: 1fr;
  }

  .pitbike-item img {
    height: 500px;
  }
}

.alternative-contact {
  margin-top: 30px;
  text-align: center;
}

.or-divider {
  display: flex;
  align-items: center;
  margin: 30px 0;
  color: #ff7a00;
  font-size: 18px;
  font-weight: bold;
}

.or-divider::before,
.or-divider::after {
  content: "";
  flex: 1;
  height: 2px;
  background-color: #ff7a00;
}

.or-divider span {
  padding: 0 20px;
  font-size: 24px;
  font-weight: 700;
  color: #ff7a00;
}

.messenger-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.messenger-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  font-size: 16px;
}

.telegram-btn {
  background-color: #0088cc;
  color: white;
}

.telegram-btn:hover {
  background-color: #0077b3;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 136, 204, 0.4);
}

.whatsapp-btn {
  background-color: #25D366;
  color: white;
}

.whatsapp-btn:hover {
  background-color: #20bd5c;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(37, 211, 102, 0.4);
}

.messenger-btn svg {
  width: 22px;
  height: 22px;
}

/* Контейнер для кнопок */
.messenger-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 15px;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
  .messenger-buttons {
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 12px;
  }

  .messenger-btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
    padding: 16px 20px;
    font-size: 15px;
  }

  .messenger-btn svg {
    width: 20px;
    height: 20px;
  }
}

/* Для очень маленьких экранов */
@media (max-width: 480px) {
  .messenger-buttons {
    gap: 10px;
  }

  .messenger-btn {
    max-width: 100%;
    padding: 18px 20px;
  }
}

  .or-divider {
    margin: 25px 0;
  }

  .or-divider span {
    font-size: 22px;
    padding: 0 15px;
  }
}

.logo-city {
  font-size: 12px;
  color: white;
  font-weight: normal;
  margin-top: 2px;
  width: 100%;
  text-align: center;
}

/* Accordion Styles */
.accordion-container {
  margin-top: 30px;
}

.accordion-item {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  background: var(--card);
  transition: all 0.3s ease;
}

.accordion-item:hover {
  border-color: rgba(255, 122, 0, 0.3);
}

.accordion-header {
  padding: 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  background: rgba(31, 31, 32, 0.8);
}

.accordion-header:hover {
  background: rgba(255, 122, 0, 0.1);
}

.accordion-header h3 {
  margin: 0;
  color: var(--text);
  font-size: 18px;
  transition: color 0.3s ease;
}

.accordion-header:hover h3 {
  color: #ff7a00;
}

.accordion-icon {
  font-size: 24px;
  font-weight: bold;
  color: var(--accent);
  transition: all 0.3s ease;
  min-width: 20px;
  text-align: center;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  background-color: rgba(0, 0, 0, 0.2);
}

.content-inner {
  padding: 0 20px;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease 0.1s;
}

.accordion-item.active .accordion-content {
  max-height: 2000px;
}

.accordion-item.active .content-inner {
  opacity: 1;
  transform: translateY(0);
  padding: 20px;
}

.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
  color: #ff7a00;
}

.accordion-content p,
.accordion-content ul,
.accordion-content ol {
  margin-top: 0;
}

.accordion-content li {
  margin-bottom: 10px;
  line-height: 1.5;
}

.contact-cta {
  margin-top: 25px;
  text-align: center;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 122, 0, 0.3);
}

/* Анимации для accordion */
.accordion-item {
  animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Задержка для каждого элемента accordion */
.accordion-item:nth-child(1) { animation-delay: 0.1s; }
.accordion-item:nth-child(2) { animation-delay: 0.2s; }
.accordion-item:nth-child(3) { animation-delay: 0.3s; }
.accordion-item:nth-child(4) { animation-delay: 0.4s; }
.accordion-item:nth-child(5) { animation-delay: 0.5s; }
.accordion-item:nth-child(6) { animation-delay: 0.6s; }
.accordion-item:nth-child(7) { animation-delay: 0.7s; }
.accordion-item:nth-child(8) { animation-delay: 0.8s; }

/* Адаптивность для accordion */
@media (max-width: 768px) {
  .accordion-header {
    padding: 15px;
  }

  .accordion-header h3 {
    font-size: 16px;
  }

  .content-inner {
    padding: 0 15px;
  }

  .accordion-item.active .content-inner {
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .accordion-header {
    padding: 12px;
  }

  .accordion-header h3 {
    font-size: 14px;
  }

  .accordion-icon {
    font-size: 20px;
  }
}

/* Карусель для фотографий (основные стили) */
.carousel {
    position: relative;
    width: 100%;
    margin-top: 15px;
}

.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

.carousel-slide {
    min-width: 100%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    border-radius: 12px;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 122, 0, 0.8);
    border: none;
    color: white;
    font-size: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    padding: 0;
    line-height: 1;
}

.carousel-btn:hover {
    background: rgba(255, 122, 0, 1);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
    left: 15px;
}

.carousel-btn.next {
    right: 15px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    margin-top: 15px;
    gap: 10px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 122, 0, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    flex-shrink: 0;
}

.carousel-dot.active {
    background: #ff7a00;
    transform: scale(1.3);
}

/* Адаптивность карусели */
@media (max-width: 768px) {
    .carousel-slide img {
        max-height: 300px;
    }

    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }

    .carousel-btn.prev {
        left: 10px;
    }

    .carousel-btn.next {
        right: 10px;
    }

    .carousel-dot {
        width: 8px;
        height: 8px;
    }
}

@media (max-width: 480px) {
    .carousel-slide img {
        max-height: 250px;
    }

    .carousel-btn {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }

    .carousel-btn.prev {
        left: 8px;
    }

    .carousel-btn.next {
        right: 8px;
    }

    .carousel-dot {
        width: 6px;
        height: 6px;
    }
}

/* Адаптивность для кнопок мессенджеров в hero */
@media (max-width: 768px) {
  .hero-left .messenger-buttons {
    flex-direction: row;
    justify-content: flex-start;
    gap: 10px;
    margin-top: 15px;
  }

  .hero-left .messenger-btn {
    width: calc(50% - 5px);
    min-width: auto;
    justify-content: center;
    padding: 12px 10px;
    font-size: 14px;
  }

  .hero-left .messenger-btn svg {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 480px) {
  .hero-left .messenger-buttons {
    gap: 8px;
  }

  .hero-left .messenger-btn {
    width: calc(50% - 4px);
    padding: 10px 8px;
    font-size: 13px;
  }

  .hero-left .messenger-btn svg {
    width: 16px;
    height: 16px;
  }
}

/* Стили для страницы сварочных работ */
.hero-pitbike {
  background: linear-gradient(135deg, #1b1b1b 0%, #2a2a2a 50%, #1f1f1f 100%);
  border-radius: 20px;
  padding: 60px 40px;
  margin: 40px 0;
  position: relative;
  overflow: hidden;
}

.hero-pitbike::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(255,122,0,0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero-text h1 {
  color: #ff7a00;
  font-size: 2.8rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-text p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #e0e0e0;
  margin-bottom: 30px;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-start;
}

.hero-image img {
  border-radius: 15px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.8);
  transition: transform 0.3s ease;
}

.hero-image img:hover {
  transform: scale(1.02);
}

/* Стили для карточек услуг */
/* =====================================================
   FORCE SERVICES GRID (OVERRIDE EVERYTHING)
   ===================================================== */

/* родитель секции */
.pitbike-services {
  width: 100%;
}

/* ЖЁСТКО ПЕРЕОПРЕДЕЛЯЕМ cards */
.pitbike-services .cards {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 32px !important;
  width: 100% !important;
  max-width: 1200px;
  margin: 40px auto 0;
}

/* карточка */
.pitbike-services .service-card {
  width: 100% !important;
  height: 100%;
  box-sizing: border-box;
}

/* =====================================================
   SERVICES CARD DESIGN
   ===================================================== */

.pro-card {
  background: radial-gradient(
    circle at top left,
    rgba(255,122,0,0.08),
    #0f0f0f 60%
  );
  border: 1px solid rgba(255,255,255,0.08);
  padding: 42px 36px;
  transition: all .35s ease;
  position: relative;
  overflow: hidden;
}

.pro-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,122,0,0.45);
  box-shadow: 0 18px 45px rgba(255,122,0,0.25);
}

.service-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}

.service-top i {
  color: #ff7a00;
  font-size: 18px;
}

.service-top span {
  font-size: 12px;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.45);
}

.pro-card h3 {
  font-size: 22px;
  margin-bottom: 14px;
  color: #fff;
}

.service-line {
  display: block;
  width: 40px;
  height: 2px;
  background: #ff7a00;
  margin-bottom: 18px;
  transition: width .3s ease;
}

.pro-card:hover .service-line {
  width: 70px;
}

.pro-card p {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255,255,255,0.7);
}

/* =====================================================
   ADVANTAGES GRID
   ===================================================== */

.advantages-svarka {
  margin: 90px 0;
  width: 100%;
}

.advantages-svarka .adv-items-svarka {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 32px !important;
  max-width: 1100px;
  margin: 45px auto 0;
}

/* advantage card */
.pro-adv {
  background: linear-gradient(180deg, #121212, #0a0a0a);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 42px 34px;
  transition: all .35s ease;
  position: relative;
}

.pro-adv:hover {
  transform: translateY(-6px);
  border-color: rgba(255,122,0,0.45);
  box-shadow: 0 18px 45px rgba(255,122,0,0.22);
}

.adv-num {
  font-size: 44px;
  color: rgba(255,122,0,0.25);
  display: block;
  margin-bottom: 12px;
}

.pro-adv h4 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #fff;
}

.pro-adv p {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255,255,255,0.7);
}

/* =====================================================
   SCROLL REVEAL
   ===================================================== */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .9s ease, transform .9s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: .12s; }
.delay-2 { transition-delay: .24s; }
.delay-3 { transition-delay: .36s; }

/* =====================================================
   RESPONSIVE
   ===================================================== */

@media (max-width: 992px) {
  .pitbike-services .cards,
  .advantages-svarka .adv-items-svarka {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 600px) {
  .pitbike-services .cards,
  .advantages-svarka .adv-items-svarka {
    grid-template-columns: 1fr !important;
  }

  .pro-card,
  .pro-adv {
    padding: 32px 26px;
  }
}

/* Галерея */
.gallery-section {
  margin: 80px 0;
}

.gallery-section h2 {
  text-align: center;
  color: #ff7a00;
  font-size: 2.5rem;
  margin-bottom: 50px;
}

.gallery-special {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.g-item-special {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  transition: all 0.3s ease;
  height: 350px;
}

.g-item-special:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(255,122,0,0.3);
}

.g-item-special img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.g-item-special:hover img {
  transform: scale(1.1);
}

/* Адаптивность для преимуществ */
@media (max-width: 968px) {
  .adv-items-svarka {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .hero-pitbike {
    padding: 40px 20px;
    margin: 20px 0;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-text p {
    font-size: 1.1rem;
  }

  .advantages-svarka {
    margin: 60px 0;
  }

  .adv-items-svarka {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 400px;
  }

  .adv-item-svarka {
    padding: 30px 20px;
  }

  .section-title {
    font-size: 2rem;
  }

  .gallery-special {
    grid-template-columns: 1fr;
  }

  .g-item-special {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 1.7rem;
  }

  .service-card {
    padding: 30px 20px;
  }

  .adv-item-svarka {
    padding: 25px 15px;
  }

  .adv-icon-svarka {
    font-size: 2.5rem;
  }

  .adv-item-svarka h4 {
    font-size: 1.2rem;
  }

  .g-item-special {
    height: 250px;
  }
}

.gg-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Две колонки для верхнего ряда */
  grid-template-rows: auto auto; /* Две строки */
  gap: 14px;
  margin-top: 16px;
  max-width: 800px; /* Можно регулировать общую ширину */
  margin-left: auto;
  margin-right: auto;
}

/* Высокие узкие изображения занимают первую строку */
.tall-image {
  grid-row: 1;
  height: 400px; /* Регулируйте высоту высоких изображений */
}

/* Широкое изображение занимает вторую строку и обе колонки */
.wide-image {
  grid-column: 1 / span 2; /* Занимает обе колонки */
  grid-row: 2;
  height: 250px; /* Регулируйте высоту широкого изображения */
}

.g-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.6);
  transition: transform .25s;
}

.g-item img:hover {
  transform: scale(1.07);
}

/* Контейнер галереи */
.image-gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    animation: fadeInUp 0.8s ease;
    padding: 10px;
}

/* Верхний ряд с двумя изображениями */
.top-row {
    display: flex;
    gap: 15px;
    justify-content: center;
    width: 100%;
    flex-wrap: wrap; /* Важно для мобильных */
}

/* Нижний ряд с одним изображением */
.bottom-row {
    display: flex;
    justify-content: center;
    animation: fadeInRight 0.8s ease 0.3s both;
    width: 100%;
}

/* Высокие узкие изображения (svar11 и svar22) */
.tall-image {
    width: 200px;
    height: 400px;
    overflow: hidden;
    border-radius: 15px;
    animation: fadeInUp 0.8s ease 0.1s both;
}

.tall-image:nth-child(2) {
    animation: fadeInUp 0.8s ease 0.2s both;
}

/* Широкое невысокое изображение (svar33) */
.wide-image {
    width: 415px;
    height: 250px;
    overflow: hidden;
    border-radius: 15px;
}

/* Общие стили для изображений */
.image-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.image-gallery img:hover {
    transform: scale(1.05);
}

/* АДАПТИВНОСТЬ ДЛЯ МОБИЛЬНЫХ */
@media (max-width: 768px) {
    .top-row {
        flex-direction: column; /* Вертикально на мобильных */
        align-items: center;
        gap: 10px;
    }

    .tall-image {
        width: 100%;
        max-width: 300px;
        height: 300px; /* Меньшая высота на мобильных */
    }

    .wide-image {
        width: 100%;
        max-width: 300px;
        height: 200px;
    }

    .image-gallery {
        gap: 10px;
    }
}

/* Для очень маленьких экранов */
@media (max-width: 480px) {
    .tall-image {
        height: 250px;
    }

    .wide-image {
        height: 180px;
    }
}

/* --- ANIMATIONS --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Стили для кнопки */
.btn.btn-outline {
    display: inline-block;
    padding: 12px 30px;
    background: transparent;
    border: 2px solid #0088cc;
    color: #0088cc;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn.btn-outline:hover {
    background: #0088cc;
    color: white;
    transform: translateY(-2px);
}

/* Скрытое меню по умолчанию */
/* Стили для меню "Узнать больше" */

/* Контейнер меню */
.services-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    padding: 20px;
    box-sizing: border-box;
    overflow-y: auto; /* Для скролла на маленьких экранах */
}

.services-menu.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

/* Заголовок меню */
.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #ff6600;
}

.menu-header h3 {
    color: white;
    margin: 0;
    font-size: 24px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

/* Кнопка закрытия */
.close-menu {
    background: linear-gradient(145deg, #ff6600, #ff8533);
    border: none;
    color: white;
    font-size: 32px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.4);
}

.close-menu:hover {
    transform: rotate(90deg);
    box-shadow: 0 6px 20px rgba(255, 102, 0, 0.6);
}

/* Контейнер элементов меню */
.menu-items {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 40px; /* Для скролла на мобильных */
}

/* Элементы меню */
.menu-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px 30px;
    background: linear-gradient(145deg, rgba(255, 102, 0, 0.15), rgba(255, 102, 0, 0.05));
    border-radius: 15px;
    color: white;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid rgba(255, 102, 0, 0.3);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.menu-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: 0.5s;
}

.menu-item:hover {
    transform: translateY(-6px);
    border-color: #ff6600;
    background: linear-gradient(145deg, rgba(255, 102, 0, 0.25), rgba(255, 102, 0, 0.1));
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

.menu-item:hover::before {
    left: 100%;
}

.menu-item:active {
    transform: translateY(-3px);
}

/* Иконки */
.item-icon {
    font-size: 32px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
    min-width: 40px;
    text-align: center;
}

/* Текст */
.item-text {
    font-size: 20px;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    letter-spacing: 0.5px;
}

/* Анимация */
@keyframes fadeIn {
    from {
        opacity: 0;
        backdrop-filter: blur(0);
    }
    to {
        opacity: 1;
        backdrop-filter: blur(10px);
    }
}

/* Для телефонов */
@media (max-width: 768px) {
    .services-menu {
        padding: 15px;
        overflow-y: auto; /* Включаем скролл на мобильных */
        -webkit-overflow-scrolling: touch; /* Плавный скролл на iOS */
    }

    .menu-header {
        margin-bottom: 20px;
        padding-bottom: 15px;
    }

    .menu-header h3 {
        font-size: 20px;
    }

    .menu-items {
        gap: 15px;
        padding-bottom: 20px; /* Дополнительное место для скролла */
    }

    .menu-item {
        padding: 20px;
        gap: 15px;
    }

    .item-icon {
        font-size: 28px;
    }

    .item-text {
        font-size: 18px;
    }

    .close-menu {
        width: 40px;
        height: 40px;
        font-size: 28px;
    }
}

/* Для очень маленьких экранов */
@media (max-width: 480px) {
    .menu-header h3 {
        font-size: 18px;
    }

    .menu-item {
        padding: 18px 15px;
        gap: 12px;
    }

    .item-icon {
        font-size: 24px;
        min-width: 36px;
    }

    .item-text {
        font-size: 16px;
    }

    /* Убедимся, что меню можно скроллить на очень маленьких экранах */
    .services-menu {
        padding: 10px;
    }

    .menu-items {
        gap: 12px;
    }
}

/* Десктопная версия */
@media (min-width: 769px) {
    .menu-items {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .menu-item {
        padding: 30px 35px;
    }

    .item-icon {
        font-size: 36px;
    }

    .item-text {
        font-size: 22px;
    }
}

/* Для очень широких экранов */
@media (min-width: 1200px) {
    .menu-items {
        grid-template-columns: repeat(2, 1fr);
        max-width: 1100px;
    }
}

/* Стили для кнопок мессенджеров */
@media (min-width: 769px) {
    .messenger-buttons {
        flex-direction: row;
        gap: 16px;
        width: auto;
    }

    .messenger-btn {
        width: auto;
        padding: 12px 24px;
    }

    .services {
        max-width: none;
    }
}

/* Подсветка при наведении */
.menu-item:hover .item-icon {
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Стили для кнопки "Узнать больше" */
.btn.btn-outline {
    display: inline-block;
    padding: 12px 30px;
    background: transparent;
    border: 2px solid #ff6600; /* Оранжевая рамка */
    color: #ff6600; /* Оранжевый текст */
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn.btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 102, 0, 0.2), transparent);
    transition: 0.5s;
}

.btn.btn-outline:hover {
    background: #ff6600; /* Оранжевый фон при наведении */
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 102, 0, 0.4);
}

.btn.btn-outline:hover::before {
    left: 100%;
}

.btn.btn-outline:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(255, 102, 0, 0.3);
}

/* Для контраста с основной кнопкой */
.btn.btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(145deg, #ff6600, #ff8533);
    border: 2px solid transparent;
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3);
}

.btn.btn-primary:hover {
    background: linear-gradient(145deg, #ff8533, #ff6600);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 102, 0, 0.5);
}

.btn.btn-primary:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(255, 102, 0, 0.3);
}


/* =========================
   FORGE SERVICES (BLACK SCULL)
   ========================= */

.forge-services {
    padding: 100px 20px;
    background: #0b0b0b;
}

.forge-header {
    max-width: 1200px;
    margin: 0 auto 60px;
}

.forge-header h2 {
    font-size: 42px;
    font-weight: 800;
    color: white;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.forge-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

/* ===== CARD ===== */

.forge-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    background: linear-gradient(145deg, #111, #0a0a0a);
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none;
    color: white;
    border: 1px solid rgba(255,102,0,0.15);
    transition: all 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
    position: relative;
}

.forge-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        120deg,
        transparent 40%,
        rgba(255,102,0,0.15),
        transparent 60%
    );
    opacity: 0;
    transition: 0.5s;
}

.forge-card:hover {
    transform: translateY(-10px);
    border-color: #ff6600;
    box-shadow: 0 30px 80px rgba(0,0,0,0.9);
}

.forge-card:hover::before {
    opacity: 1;
}

/* ===== IMAGE ===== */

.forge-media {
    position: relative;
    overflow: hidden;
}

.forge-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.6s;
}

.forge-card:hover img {
    transform: scale(1.08);
}

/* ===== CONTENT ===== */

.forge-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.forge-index {
    font-size: 72px;
    font-weight: 900;
    color: rgba(255,102,0,0.15);
    position: absolute;
    top: 20px;
    right: 30px;
}

.forge-content h3 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 15px;
}

.forge-content p {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255,255,255,0.75);
}

/* ===== MOBILE ===== */

@media (max-width: 900px) {
    .forge-card {
        grid-template-columns: 1fr;
    }

    .forge-media {
        height: 260px;
    }

    .forge-index {
        font-size: 56px;
    }
}

/* =========================
   FORGE CHESS LAYOUT
   ========================= */

/* каждая вторая карточка — зеркальная */
.forge-card:nth-child(even) {
    grid-template-columns: 1fr 1.2fr;
}

.forge-card:nth-child(even) .forge-media {
    order: 2;
}

.forge-card:nth-child(even) .forge-content {
    order: 1;
    text-align: right;
}

.forge-card:nth-child(even) .forge-index {
    left: 30px;
    right: auto;
}

/* мобильная версия — всё в колонку */
@media (max-width: 900px) {
    .forge-card:nth-child(even) {
        grid-template-columns: 1fr;
    }

    .forge-card:nth-child(even) .forge-media,
    .forge-card:nth-child(even) .forge-content {
        order: unset;
        text-align: left;
    }

    .forge-card:nth-child(even) .forge-index {
        right: 30px;
        left: auto;
    }
}

/* =========================
   SCROLL ANIMATION
   ========================= */

.forge-card {
    opacity: 0;
    transform: translateY(60px);
    transition:
        opacity 0.8s ease,
        transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.forge-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================
   PAGE TRANSITION
   ========================= */

.page-transition {
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at center, rgba(255,102,0,0.25), #000 70%);
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
    transform: scale(1.1);
    transition:
        opacity 0.6s ease,
        transform 0.6s ease;
}

/* когда активен */
.page-transition.is-active {
    opacity: 1;
    transform: scale(1);
    pointer-events: all;
}

/* эффект "открытия" страницы */
.page-transition.is-leaving {
    opacity: 0;
    transform: scale(1.15);
}

/* =========================
   SPLIT TEXT ANIMATION
   ========================= */

.split-text {
    display: inline-block;
    overflow: hidden;
    white-space: normal; /* ← ВАЖНО */
}

.split-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity 0.6s ease,
        transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    will-change: transform, opacity;
}

.split-text.is-visible .split-word {
    opacity: 1;
    transform: translateY(0);
}

/* ===== ОБЩАЯ ОБЁРТКА ===== */
.equipment-showcase-root {
  padding: 80px 20px;
  background-color: #0b0b0b;
}

.equipment-showcase-title {
  font-size: 48px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 48px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ===== СЕТКА ===== */
.equipment-showcase-grid {
  display: grid;
  grid-template-columns: 1.3fr 1.2fr;
  grid-template-rows: repeat(2, 400px);
  gap: 10px;
  max-width: 1400px;
  margin: 0 auto;
}

/* ===== ЭЛЕМЕНТЫ ===== */
.equipment-showcase-item {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background-color: #111;
}

.equipment-showcase-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

/* Ховер — чуть «живости» */
.equipment-showcase-item:hover img {
  transform: scale(1.05);
}

/* ===== БОЛЬШОЙ БЛОК СЛЕВА ===== */
.equipment-showcase-item--primary {
  grid-row: 1 / 3;
}

/* ===== АДАПТИВ ===== */
@media (max-width: 1024px) {
  .equipment-showcase-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .equipment-showcase-item--primary {
    grid-row: auto;
    height: 320px;
  }

  .equipment-showcase-item--secondary {
    height: 220px;
  }
}

@media (max-width: 480px) {
  .equipment-showcase-title {
    font-size: 32px;
    margin-bottom: 32px;
  }

  .equipment-showcase-item {
    border-radius: 10px;
  }
}

/* ============================================
   BLACK SCULL — DEEP TECH TEXT BLOCK
   ============================================ */

.about-text {
  padding: 100px 20px;
  position: relative;
}

.about-text::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at top, rgba(255,122,0,0.08), transparent 60%);
  pointer-events: none;
}

/* ОСНОВНОЙ КОНТЕЙНЕР */
.about-text .text-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 70px;
  background: linear-gradient(165deg, #0e0e0e, #070707);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    0 30px 80px rgba(0,0,0,0.8),
    inset 0 0 0 1px rgba(255,255,255,0.02);
  position: relative;
}

/* АКЦЕНТНАЯ ЛИНИЯ */
.about-text .text-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #ff7a00, transparent);
}

/* ЗАГОЛОВОК */
.about-text h3 {
  font-size: 32px;
  line-height: 1.3;
  margin-bottom: 45px;
  letter-spacing: 0.4px;
}

/* СПИСОК */
.about-text ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

/* ПУНКТ */
.about-text li {
  position: relative;
  padding-left: 44px;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255,255,255,0.78);
}

/* МАРКЕР */
.about-text li::before {
  content: "✦";
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 18px;
  color: #ff7a00;
}

/* ВЫДЕЛЕНИЯ */
.about-text b {
  color: #fff;
  font-weight: 600;
}

/* МИКРО-АНИМАЦИЯ */
.about-text li {
  opacity: 0;
  transform: translateY(20px);
  animation: bsRevealText 0.7s ease forwards;
}

.about-text li:nth-child(1)  { animation-delay: 0.05s }
.about-text li:nth-child(2)  { animation-delay: 0.1s }
.about-text li:nth-child(3)  { animation-delay: 0.15s }
.about-text li:nth-child(4)  { animation-delay: 0.2s }
.about-text li:nth-child(5)  { animation-delay: 0.25s }
.about-text li:nth-child(6)  { animation-delay: 0.3s }
.about-text li:nth-child(7)  { animation-delay: 0.35s }
.about-text li:nth-child(8)  { animation-delay: 0.4s }
.about-text li:nth-child(9)  { animation-delay: 0.45s }
.about-text li:nth-child(10) { animation-delay: 0.5s }
.about-text li:nth-child(11) { animation-delay: 0.55s }
.about-text li:nth-child(12) { animation-delay: 0.6s }

@keyframes bsRevealText {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   MOBILE
   ============================================ */

@media (max-width: 768px) {
  .about-text .text-container {
    padding: 40px 28px;
  }

  .about-text h3 {
    font-size: 24px;
  }

  .about-text li {
    font-size: 15px;
    padding-left: 36px;
  }
}

/* =========================================================
   ZIMA PAGE – PREMIUM SERVICE CARDS (BLACK SCULL)
   ========================================================= */

.zima-page {
  padding: 80px 20px;
}

.zima-title {
  max-width: 1000px;
  margin: 0 auto 60px;
  font-size: 28px;
  text-align: center;
  color: #ff7a00;
  line-height: 1.4;
}

/* GRID */
.zima-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  max-width: 1300px;
  margin: 0 auto;
}

/* FULL WIDTH CARD */
.zima-cards .full-width {
  grid-column: 1 / -1;
}

/* CARD */
.zima-cards .card {
  background: linear-gradient(165deg, #0e0e0e, #070707);
  border-radius: 20px;
  padding: 40px;
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 30px 80px rgba(0,0,0,0.8);
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease;
}

.zima-cards .card:hover {
  transform: translateY(-8px);
  box-shadow: 0 40px 100px rgba(0,0,0,0.9);
}

/* TOP STRIPE */
.zima-cards .card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 4px;
  width: 100%;
  background: linear-gradient(90deg, #ff7a00, transparent);
}

/* MAIN TITLE */
.zima-cards .card > h3:first-of-type {
  font-size: 20px;
  line-height: 1.35;
  color: #fff;
}

/* PACKAGE NAME */
.pitpitbike-services {
  margin-top: -10px;
}

.pitpitbike-services h3 {
  font-size: 14px;
  letter-spacing: 1.5px;
  color: #ff7a00;
  text-transform: uppercase;
}

/* TEXT */
.zima-cards p {
  font-size: 15px;
  line-height: 1.6;
}

/* LISTS */
.zima-cards ul {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: grid;
  gap: 14px;
}

.zima-cards li {
  position: relative;
  padding-left: 26px;
  font-size: 14px;
  line-height: 1.5;
}

.zima-cards li::before {
  content: "✦";
  position: absolute;
  left: 0;
  top: 2px;
  color: #ff7a00;
  font-size: 14px;
}

/* PRICE */
.zima-cards .price {
  margin-top: 10px;
  font-size: 20px;
  color: #ff7a00;
  font-weight: 700;
}

/* CAROUSEL */
.zima-cards .carousel {
  margin-top: 20px;
  border-radius: 16px;
  overflow: hidden;
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 1024px) {
  .zima-cards {
    grid-template-columns: 1fr;
  }

  .zima-cards .full-width {
    grid-column: auto;
  }
}

@media (max-width: 600px) {
  .zima-cards .card {
    padding: 26px 22px;
  }

  .zima-title {
    font-size: 22px;
  }

  .zima-cards .card > h3:first-of-type {
    font-size: 18px;
  }

  .zima-cards .price {
    font-size: 18px;
  }
}

/* FIX DOTS */
.zima-cards .carousel {
  margin-top: 20px;
  border-radius: 16px;
  overflow: visible;
}

.zima-cards .carousel-container {
  overflow: hidden;
  border-radius: 18px;
}

/* SOFT IMAGE RADIUS */
.zima-cards .carousel-slide img {
  border-radius: 18px;
}

/* =========================================================
   HERO PITBIKE – PREMIUM INTRO BLOCK
   ========================================================= */

.hero-pitbike {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;

  padding: 60px 56px;
  margin-top: 24px;

  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.02),
    rgba(255,255,255,0.01)
  );
  border-radius: 22px;

  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    0 30px 80px rgba(0,0,0,0.75),
    inset 0 1px 0 rgba(255,255,255,0.04);

  position: relative;
  overflow: hidden;
}

/* subtle top accent */
.hero-pitbike::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #ff7a00, transparent 70%);
}

/* =========================================================
   TEXT
   ========================================================= */

.hero-text {
  max-width: 100%;
  animation: fadeInUp 0.7s ease-out both;
}

.hero-text h1 {
  font-size: 36px;
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 18px;
}

.hero-text h1 span {
  color: #ff7a00;
}

.hero-text p {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255,255,255,0.75);
  max-width: 520px;
  margin-bottom: 28px;
}

/* =========================================================
   ACTIONS
   ========================================================= */

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.btn-primary {
  align-self: flex-start;
  background: #ff7a00;
  color: #000;
  padding: 14px 32px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  box-shadow: 0 10px 30px rgba(255,122,0,0.35);
}

.btn-primary:hover {
  background: #ff8f26;
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(255,122,0,0.45);
}

/* =========================================================
   MESSENGERS
   ========================================================= */

.messenger-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.messenger-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 12px 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;

  text-decoration: none;
  color: #fff;

  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);

  transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}

.messenger-btn svg {
  flex-shrink: 0;
}

.telegram-btn:hover {
  background: rgba(0,136,204,0.25);
  box-shadow: 0 10px 30px rgba(0,136,204,0.35);
  transform: translateY(-2px);
}

.whatsapp-btn:hover {
  background: rgba(37,211,102,0.25);
  box-shadow: 0 10px 30px rgba(37,211,102,0.35);
  transform: translateY(-2px);
}

/* =========================================================
   IMAGE
   ========================================================= */

.hero-image {
  display: flex;
  justify-content: center;
  animation: fadeInRight 0.9s ease-out both;
}

.hero-image img {
  width: 100%;
  max-width: 420px;
  border-radius: 22px;

  object-fit: cover;

  box-shadow:
    0 30px 80px rgba(0,0,0,0.8),
    inset 0 1px 0 rgba(255,255,255,0.05);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1024px) {
  .hero-pitbike {
    grid-template-columns: 1fr;
    padding: 48px 36px;
    text-align: center;
  }

  .hero-text p {
    margin-left: auto;
    margin-right: auto;
  }

  .btn-primary {
    align-self: center;
  }

  .messenger-buttons {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .hero-pitbike {
    padding: 36px 22px;
  }

  .hero-text h1 {
    font-size: 26px;
  }

  .hero-text p {
    font-size: 16px;
  }

  .hero-image img {
    max-width: 100%;
    border-radius: 18px;
  }
}

/* ===============================
   BLACK SKULL — Enduro Service
   Isolated CSS (safe)
================================ */

/* ---------- HERO ---------- */
.bs-enduro-hero-layout {
    max-width: 1300px;
    margin: 80px auto 100px;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.bs-enduro-hero-textbox h1 {
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 20px;
}

.bs-enduro-hero-textbox p {
    font-size: 18px;
    line-height: 1.6;
    max-width: 520px;
    opacity: 0.85;
}

.bs-enduro-hero-imagewrap {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
}

.bs-enduro-hero-imagewrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 16 / 10;
    display: block;
}

/* ---------- CONTENT ---------- */
.bs-enduro-article-section {
    padding: 0 20px 120px;
}

.bs-enduro-article-container {
    max-width: 900px;
    margin: 0 auto;
}

.bs-enduro-article-container h2 {
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 50px;
}

/* ---------- ACCORDION ---------- */
.bs-enduro-accordion-root {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.bs-enduro-accordion-item {
    border-radius: 18px;
    border: 1px solid rgba(0,0,0,0.08);
    overflow: hidden;
    background: #ffffff;
    transition: box-shadow 0.3s ease;
}

.bs-enduro-accordion-item:hover {
    box-shadow: 0 18px 50px rgba(0,0,0,0.08);
}

.bs-enduro-accordion-header {
    padding: 22px 26px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bs-enduro-accordion-header h3 {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
}

.bs-enduro-accordion-icon {
    font-size: 26px;
    font-weight: 300;
    transition: transform 0.3s ease;
}

.bs-enduro-accordion-item.active .bs-enduro-accordion-icon {
    transform: rotate(45deg);
}

/* ---------- BODY ---------- */
.bs-enduro-accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s ease;
}

.bs-enduro-accordion-item.active .bs-enduro-accordion-body {
    max-height: 5000px;
}

.bs-enduro-accordion-content {
    padding: 0 26px 26px;
    line-height: 1.75;
    font-size: 16px;
}

.bs-enduro-accordion-content p {
    margin-bottom: 16px;
}

.bs-enduro-accordion-content ul,
.bs-enduro-accordion-content ol {
    padding-left: 22px;
    margin: 18px 0;
}

.bs-enduro-accordion-content li {
    margin-bottom: 10px;
}

/* ---------- CTA ---------- */
.bs-enduro-accordion-content .contact-cta {
    margin-top: 40px;
}

.bs-enduro-accordion-content .btn-primary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 999px;
    background: #ff7a00;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bs-enduro-accordion-content .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(255,122,0,0.35);
}

/* ---------- MOBILE ---------- */
@media (max-width: 900px) {
    .bs-enduro-hero-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .bs-enduro-hero-imagewrap img {
        aspect-ratio: 16 / 11;
    }
}

@media (max-width: 600px) {
    .bs-enduro-accordion-header h3 {
        font-size: 18px;
    }

    .bs-enduro-accordion-content {
        font-size: 15px;
    }
}

/* ===============================
   QZX ENDURO FAQ – ISOLATED
   =============================== */

.qzx-enduro-faq-section {
  padding: 80px 20px;
}

.qzx-enduro-faq-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.qzx-enduro-faq-title {
  text-align: center;
  font-size: 30px;
  color: #ff7a00;
  margin-bottom: 50px;
}

/* LIST */
.qzx-enduro-faq-list {
  display: grid;
  gap: 20px;
}

/* CARD */
.qzx-enduro-faq-card {
  background: #111;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.6);
}

/* HEADER */
.qzx-enduro-faq-head {
  list-style: none;
  cursor: pointer;
  padding: 22px 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 17px;
  color: #fff;
}


/* ICON */
.qzx-enduro-faq-icon {
  width: 18px;
  height: 18px;
  position: relative;
}

.qzx-enduro-faq-icon::before,
.qzx-enduro-faq-icon::after {
  content: "";
  position: absolute;
  background: #ff7a00;
}

.qzx-enduro-faq-icon::before {
  width: 18px;
  height: 2px;
  top: 8px;
  left: 0;
}

.qzx-enduro-faq-icon::after {
  width: 2px;
  height: 18px;
  left: 8px;
  top: 0;
  transition: opacity .3s;
}

details[open] .qzx-enduro-faq-icon::after {
  opacity: 0;
}

/* BODY */
.qzx-enduro-faq-body {
  padding: 0 26px 24px;
  color: #ccc;
  font-size: 15px;
  line-height: 1.6;
}

.qzx-enduro-faq-body p,
.qzx-enduro-faq-body li {
  margin-bottom: 10px;
}

/* MOBILE */
@media (max-width: 600px) {
  .qzx-enduro-faq-title {
    font-size: 24px;
  }

  .qzx-enduro-faq-head {
    font-size: 15px;
  }
}

.faq-section {
  padding: 80px 20px;
}

.faq-wrapper {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-item-card {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 22px 26px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.faq-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-item-header h3 {
  font-size: 18px;
  color: #fff;
}

.faq-item-icon {
  font-size: 24px;
  color: #ff7a00;
  transition: transform 0.3s ease;
}

.faq-item-body {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition:
    max-height 0.45s ease,
    opacity 0.35s ease,
    transform 0.35s ease;
}

.faq-item-body p {
  margin-top: 15px;
  font-size: 15px;
  color: #ccc;
  line-height: 1.6;
}

/* OPEN STATE */
.faq-item-card.is-open .faq-item-body {
  max-height: 1000px;
  opacity: 1;
  transform: translateY(0);
}

.faq-item-card.is-open .faq-item-icon {
  transform: rotate(45deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s ease;
}

.accordion-inner {
  padding: 16px 0;
}

/* Открыто */
.accordion-item.active .accordion-content {
  max-height: 3000px; /* большое число */
}

/* Иконка */
.accordion-icon {
  transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
}

/* ===== АККОРДЕОН ===== */

.accordion-item {
  background: #0f0f0f;
  border-radius: 12px;
  margin-bottom: 10px; /* ⬅ меньше расстояние */
  border: 1px solid rgba(255, 122, 0, 0.25);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.accordion-item.active {
  border-color: #ff7a00;
  box-shadow: 0 8px 30px rgba(255, 122, 0, 0.15);
}

/* ===== ШАПКА ===== */

.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  cursor: pointer;
  background: linear-gradient(135deg, #121212, #181818);
}

.accordion-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.35;
}

/* плюс */
.accordion-icon {
  color: #ff7a00;
  font-size: 22px;
  font-weight: 600;
  transition: transform 0.35s ease;
}

.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
}

/* ===== КОНТЕНТ ===== */

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s ease;
}

.accordion-item.active .accordion-content {
  max-height: 4000px;
}

/* внутренний текст */
.accordion-inner {
  padding: 18px 22px 22px;
  color: #d0d0d0;
  font-size: 15.5px;
  line-height: 1.7;
}

/* текстовые элементы */
.accordion-inner p {
  margin-bottom: 14px;
}

.accordion-inner ul,
.accordion-inner ol {
  padding-left: 20px;
  margin-bottom: 14px;
}

.accordion-inner li {
  margin-bottom: 8px;
}

/* подзаголовки внутри */
.accordion-inner h4 {
  margin: 18px 0 10px;
  color: #ff7a00;
  font-size: 16px;
  font-weight: 600;
}

/* ===== 9 БЛОК — КНОПКА ПО ЦЕНТРУ ===== */

.accordion-inner .btn-primary,
.accordion-inner .hero-actions,
.accordion-inner .actions,
.accordion-inner .button-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

/* сама кнопка */
.btn-primary {
  background: linear-gradient(135deg, #ff7a00, #ff9a2f);
  color: #000;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 122, 0, 0.35);
}

/* =========================================================
   ZIMA CARDS – MOBILE OPTIMIZATION
   Добавить В КОНЕЦ CSS
   ========================================================= */

@media (max-width: 768px) {

  .zima-page {
    padding: 50px 10px; /* меньше боковые поля */
  }

  .zima-cards {
    grid-template-columns: 1fr; /* одна колонка */
    gap: 18px;                  /* плотнее карточки */
    max-width: 100%;
  }

  .zima-cards .card {
    padding: 22px 18px;         /* компактнее внутри */
    border-radius: 16px;
  }

  /* заголовки */
  .zima-cards .card > h3:first-of-type {
    font-size: 18px;
  }

  .pitpitbike-services h3 {
    font-size: 13px;
    letter-spacing: 1.2px;
  }

  /* текст */
  .zima-cards p,
  .zima-cards li {
    font-size: 14px;
    line-height: 1.65;
  }

  /* цена */
  .zima-cards .price {
    font-size: 18px;
  }

  /* карусель — шире и без обрезаний */
  .zima-cards .carousel {
    margin-left: -8px;
    margin-right: -8px;
    border-radius: 18px;
  }
}

/* очень маленькие экраны */
@media (max-width: 420px) {

  .zima-page {
    padding: 40px 6px;
  }

  .zima-cards .card {
    padding: 20px 14px;
  }

  .zima-cards .carousel {
    margin-left: -10px;
    margin-right: -10px;
  }
}
