/* ===== ХЛЕБНЫЕ КРОШКИ ===== */
.breadcrumbs {
  padding: 20px 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-light);
}

.breadcrumbs .container {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.breadcrumbs a {
  color: var(--gray);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumbs a:hover {
  color: var(--terracotta);
}

.breadcrumbs span {
  color: var(--gray-light);
}

.breadcrumbs .current {
  color: var(--chocolate);
  font-weight: 500;
}

/* ===== ОСНОВНАЯ СЕКЦИЯ ===== */
.rules-section {
  padding: 60px 0;
  background: var(--cream);
}

.rules-section h1 {
  font-size: 42px;
  margin-bottom: 16px;
  color: var(--chocolate);
  position: relative;
  padding-left: 20px;
}

.rules-section h1::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 40px;
  background: var(--terracotta);
  border-radius: 2px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--gray);
  margin-bottom: 60px;
  padding-left: 24px;
}

/* ===== СЕТКА ПРАВИЛ ===== */
.rules-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

.rule-card {
  background: var(--white);
  padding: 32px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(62, 39, 35, 0.06);
  transition: all 0.3s;
  border: 1px solid var(--gray-light);
}

.rule-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(62, 39, 35, 0.1);
  border-color: var(--terracotta-light);
}

.rule-icon {
  width: 56px;
  height: 56px;
  background: var(--cream);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--terracotta);
  transition: all 0.3s ease;
}

.rule-icon svg {
  width: 30px;
  height: 30px;
}

.rule-card:hover .rule-icon {
  background: var(--terracotta);
  color: var(--white);
  transform: rotate(-5deg) scale(1.05);
}

.rule-card h3 {
  font-size: 22px;
  margin-bottom: 16px;
  color: var(--chocolate);
}

.rule-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.rule-card ul li {
  font-size: 14px;
  line-height: 1.8;
  color: var(--chocolate-light);
  padding-left: 20px;
  position: relative;
  margin-bottom: 8px;
}

.rule-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: var(--terracotta);
  border-radius: 50%;
}

.rule-card ul li strong {
  color: var(--chocolate);
  font-weight: 600;
}

/* ===== ЗАПРЕТЫ ===== */
.prohibitions-block {
  background: linear-gradient(135deg, var(--cream), var(--cream-dark));
  padding: 48px;
  border-radius: 16px;
  margin-bottom: 60px;
  border: 1px solid var(--gray-light);
}

.prohibitions-block h2 {
  font-size: 32px;
  margin-bottom: 32px;
  color: var(--chocolate);
  position: relative;
  padding-left: 16px;
}

.prohibitions-block h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 28px;
  background: var(--terracotta);
  border-radius: 2px;
}

.prohibitions-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.prohibition-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--white);
  border-radius: 12px;
  border-left: 4px solid var(--terracotta);
  transition: all 0.3s;
}

.prohibition-item:hover {
  transform: translateX(4px);
  box-shadow: 0 6px 20px rgba(184, 115, 79, 0.12);
}

.prohibition-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  color: var(--terracotta);
  display: flex;
  align-items: center;
  justify-content: center;
}

.prohibition-icon svg {
  width: 28px;
  height: 28px;
}

.prohibition-item strong {
  display: block;
  font-size: 16px;
  color: var(--chocolate);
  margin-bottom: 4px;
}

.prohibition-item p {
  font-size: 14px;
  color: var(--gray);
  margin: 0;
}

/* ===== ОТВЕТСТВЕННОСТЬ ===== */
.responsibility-block {
  background: var(--white);
  padding: 48px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(62, 39, 35, 0.06);
  margin-bottom: 60px;
  border: 1px solid var(--gray-light);
}

.responsibility-block h2 {
  font-size: 32px;
  margin-bottom: 24px;
  color: var(--chocolate);
  position: relative;
  padding-left: 16px;
}

.responsibility-block h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 28px;
  background: var(--terracotta);
  border-radius: 2px;
}

.responsibility-content p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--chocolate-light);
  margin-bottom: 16px;
}

.responsibility-content ul {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.responsibility-content ul li {
  font-size: 15px;
  line-height: 1.8;
  color: var(--chocolate-light);
  padding-left: 32px;
  position: relative;
  margin-bottom: 12px;
}

.responsibility-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 16px;
  height: 16px;
  background: var(--terracotta);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.responsibility-content ul li strong {
  color: var(--chocolate);
}

.info-box {
  background: var(--cream);
  padding: 24px;
  border-radius: 12px;
  border-left: 4px solid var(--terracotta);
  margin-top: 24px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--chocolate-light);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.info-box-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  color: var(--terracotta);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(184, 115, 79, 0.1); /* Полупрозрачный терракотовый фон */
  border-radius: 50%; /* Круглая форма */
}

.info-box-icon svg {
  width: 20px; /* Чуть меньше, чтобы вписаться в круг */
  height: 20px;
}

.info-box p {
  margin: 0;
}

.info-box strong {
  color: var(--terracotta);
}

/* ===== FAQ ===== */
.rules-faq {
  margin-bottom: 60px;
}

.rules-faq h2 {
  font-size: 32px;
  margin-bottom: 32px;
  color: var(--chocolate);
  position: relative;
  padding-left: 16px;
}

.rules-faq h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 28px;
  background: var(--terracotta);
  border-radius: 2px;
}

.faq-item {
  background: var(--white);
  padding: 24px;
  border-radius: 12px;
  margin-bottom: 16px;
  box-shadow: 0 4px 20px rgba(62, 39, 35, 0.06);
  border: 1px solid var(--gray-light);
  transition: all 0.3s;
}

.faq-item:hover {
  border-color: var(--terracotta-light);
  transform: translateX(4px);
}

.faq-item h3 {
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--chocolate);
  padding-left: 40px; /* Было 20px → стало 40px (даём кружку место) */
  position: relative;
  line-height: 1.4;
}

.faq-item h3::before {
  content: '?';
  position: absolute;
  left: 0;
  top: 0;
  width: 28px; /* Было 24px → стало 28px (крупнее) */
  height: 28px;
  background: var(--terracotta);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px; /* Было 14px → стало 15px */
  font-weight: 700;
  flex-shrink: 0; /* Чтобы кружок не сжимался */
}

.faq-item p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--chocolate-light);
  margin: 0;
  padding-left: 44px;
}

/* ===== CTA ===== */
.rules-cta {
  background: linear-gradient(135deg, var(--terracotta), var(--terracotta-dark));
  padding: 60px;
  border-radius: 16px;
  text-align: center;
  color: var(--white);
}

.rules-cta h2 {
  font-size: 36px;
  margin-bottom: 16px;
  color: var(--white);
}

.rules-cta > p {
  font-size: 18px;
  margin-bottom: 32px;
  opacity: 0.95;
  color: var(--white);
}

.btn-large {
  padding: 16px 40px;
  font-size: 16px;
  background: var(--white);
  color: var(--terracotta);
  text-decoration: none;
  display: inline-block;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s;
  font-family: 'Montserrat', sans-serif;
}

.btn-large:hover {
  background: var(--cream);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 1024px) {
  .rules-grid {
    grid-template-columns: 1fr;
  }
  .prohibitions-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .rules-section {
    padding: 40px 0;
  }
  
  .rules-section h1 {
    font-size: 32px;
  }
  
  .rule-card {
    padding: 24px;
  }
  
  .prohibitions-block,
  .responsibility-block {
    padding: 24px;
  }
  
  .prohibitions-block h2,
  .responsibility-block h2,
  .rules-faq h2 {
    font-size: 24px;
  }
  
  .rules-cta {
    padding: 40px 24px;
  }
  
  .rules-cta h2 {
    font-size: 28px;
  }
  
  .section-subtitle {
    padding-left: 0;
  }
}