/**
 * Стили для современных информационных разделов:
 * Контакты, Доставка, Оплата и возврат, Оптовым клиентам, О компании
 *
 * @package rossavtohim
 */

/* ═══════════════════════════════════════════════════════════
   1. ОБЩИЙ ГЕРОЙ-БЛОК ДЛЯ ИНФОРМАЦИОННЫХ СТРАНИЦ
   ═══════════════════════════════════════════════════════════ */
.info-page-wrap {
  padding: 40px 0 80px;
  color: #1e293b;
}

.info-hero {
  margin-bottom: 40px;
  position: relative;
}

.info-hero--centered {
  text-align: center;
}
.info-hero--centered .info-hero-lead {
  margin-left: auto;
  margin-right: auto;
}

.info-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: #fef08a;
  color: #854d0e;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.info-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ca8a04;
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
}

.info-hero-title {
  font-family: var(--font-heading, 'Inter', sans-serif);
  font-size: 2.5rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.15;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.info-hero-lead {
  font-size: 1.125rem;
  color: #475569;
  line-height: 1.65;
  max-width: 820px;
  margin: 0;
}

/* ═══════════════════════════════════════════════════════════
   2. СЕТКА КАРТОЧЕК И ИНФО-БЛОКИ
   ═══════════════════════════════════════════════════════════ */
.info-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.info-cards-grid--2col {
  grid-template-columns: repeat(2, 1fr);
}

.info-cards-grid--3col {
  grid-template-columns: repeat(3, 1fr);
}

.info-cards-grid--4col {
  grid-template-columns: repeat(4, 1fr);
}

.info-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 28px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px -2px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.info-card:hover {
  transform: translateY(-4px);
  border-color: #fbd80a;
  box-shadow: 0 16px 30px -4px rgba(15, 23, 42, 0.08);
}

.info-card--featured {
  border: 2px solid #fbd80a;
  background: linear-gradient(180deg, #fffdf0 0%, #ffffff 100%);
}

.info-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.info-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #fff9db;
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
  border: 1px solid #fef08a;
}

.info-card-icon--dark {
  background: #0f172a;
  color: #fbd80a;
  border-color: #1e293b;
}

.info-pill {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  background: #f1f5f9;
  color: #475569;
}

.info-pill--success {
  background: #dcfce7;
  color: #15803d;
}

.info-pill--primary {
  background: #fef08a;
  color: #854d0e;
}

.info-card-title {
  font-family: var(--font-heading, 'Inter', sans-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 10px;
  line-height: 1.3;
}

.info-card-text {
  font-size: 0.94rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}

.info-card-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.info-card-list li {
  position: relative;
  padding-left: 24px;
  font-size: 0.92rem;
  color: #334155;
  line-height: 1.5;
}

.info-card-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  color: #16a34a;
  font-weight: 800;
  font-size: 0.95rem;
}

.info-card-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px dashed #e2e8f0;
}

/* ═══════════════════════════════════════════════════════════
   3. ШАГИ ПРОЦЕССА (TIMELINE / STEPS)
   ═══════════════════════════════════════════════════════════ */
.info-steps-wrap {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 36px 32px;
  margin: 48px 0;
}

.info-section-heading {
  margin-bottom: 30px;
}

.info-section-title {
  font-family: var(--font-heading, 'Inter', sans-serif);
  font-size: 1.65rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 8px;
}

.info-section-subtitle {
  font-size: 0.98rem;
  color: #64748b;
  margin: 0;
}

.info-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.info-step-item {
  position: relative;
}

.info-step-number {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #0f172a;
  color: #fbd80a;
  font-weight: 800;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.15);
}

.info-step-title {
  font-weight: 700;
  font-size: 1.05rem;
  color: #0f172a;
  margin: 0 0 8px;
}

.info-step-desc {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

/* ═══════════════════════════════════════════════════════════
   4. КОНТАКТЫ И ФИЛИАЛЫ
   ═══════════════════════════════════════════════════════════ */
.contact-branch-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 4px 15px -2px rgba(15, 23, 42, 0.04);
}

.contact-branch-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f1f5f9;
}

.contact-branch-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 6px;
  background: #fbd80a;
  color: #0f172a;
}

.contact-branch-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 4px;
}

.contact-item-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.92rem;
  color: #334155;
}

.contact-item-icon {
  color: #ca8a04;
  font-size: 18px;
  line-height: 1.2;
  flex-shrink: 0;
  margin-top: 1px;
}

.contact-item-link {
  color: #0f172a;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.15s;
}

.contact-item-link:hover {
  color: #ca8a04;
  text-decoration: underline;
}

/* ═══════════════════════════════════════════════════════════
   5. РЕКВИЗИТЫ ОРГАНИЗАЦИИ
   ═══════════════════════════════════════════════════════════ */
.requisites-panel {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 32px;
  margin: 40px 0;
}

.requisites-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.requisites-grid-table {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.req-cell {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.req-cell-label {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
  font-weight: 600;
}

.req-cell-val {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  word-break: break-all;
}

/* ═══════════════════════════════════════════════════════════
   6. B2B И ДОКУМЕНТЫ (ТАБЫ)
   ═══════════════════════════════════════════════════════════ */
.info-tabs-nav {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 2px;
}

.info-tab-btn {
  padding: 10px 20px;
  font-size: 0.98rem;
  font-weight: 700;
  border: none;
  background: transparent;
  color: #64748b;
  cursor: pointer;
  border-radius: 8px 8px 0 0;
  position: relative;
  transition: all 0.2s;
}

.info-tab-btn.active {
  color: #0f172a;
  background: #f8fafc;
}

.info-tab-btn.active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 3px;
  background: #fbd80a;
}

.info-tab-pane {
  display: none;
}

.info-tab-pane.active {
  display: block;
}

/* ═══════════════════════════════════════════════════════════
   7. СТАТИСТИКА И ДОВЕРИЕ (О КОМПАНИИ)
   ═══════════════════════════════════════════════════════════ */
.stats-highlight-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 36px 0 48px;
}

.stat-highlight-card {
  background: #0f172a;
  color: #ffffff;
  border-radius: 16px;
  padding: 24px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.stat-highlight-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #fbd80a;
}

.stat-highlight-num {
  font-family: var(--font-heading, 'Inter', sans-serif);
  font-size: 2.3rem;
  font-weight: 900;
  color: #fbd80a;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-highlight-label {
  font-size: 0.86rem;
  color: #cbd5e1;
  line-height: 1.4;
}

/* ═══════════════════════════════════════════════════════════
   8. B2B CTA BANNER
   ═══════════════════════════════════════════════════════════ */
.info-cta-banner {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  border-radius: 20px;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 48px;
  box-shadow: 0 20px 30px -10px rgba(15, 23, 42, 0.2);
}

.info-cta-content {
  max-width: 650px;
}

.info-cta-title {
  font-size: 1.7rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 10px;
  line-height: 1.25;
}

.info-cta-desc {
  font-size: 1rem;
  color: #94a3b8;
  margin: 0;
  line-height: 1.6;
}

.info-cta-action {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ═══════════════════════════════════════════════════════════
   9. АДАПТИВНОСТЬ
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 991px) {
  .info-cards-grid--4col,
  .info-cards-grid--3col {
    grid-template-columns: repeat(2, 1fr);
  }
  .info-steps-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 32px;
  }
  .stats-highlight-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .info-cta-banner {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
  }
  .info-hero-title {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .info-cards-grid--4col,
  .info-cards-grid--3col,
  .info-cards-grid--2col {
    grid-template-columns: 1fr;
  }
  .info-steps-grid {
    grid-template-columns: 1fr;
  }
  .stats-highlight-grid {
    grid-template-columns: 1fr;
  }
  .info-hero-title {
    font-size: 1.65rem;
  }
  .info-hero-lead {
    font-size: 0.98rem;
  }
  .info-card {
    padding: 20px;
  }
  .requisites-panel {
    padding: 20px;
  }
}

/* ═══════════════════════════════════════════════════════════
   10. СТАНДАРТНЫЕ СТРАНИЦЫ (PAGE.PHP) И ТИПОГРАФИКА
   ═══════════════════════════════════════════════════════════ */
.page-article {
  max-width: 960px;
  margin: 0 auto;
}

.page-article .entry-content {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #334155;
}

.page-article .entry-content h2 {
  font-family: var(--font-heading, 'Inter', sans-serif);
  font-size: 1.75rem;
  font-weight: 800;
  color: #0f172a;
  margin: 40px 0 18px;
  line-height: 1.25;
}

.page-article .entry-content h3 {
  font-family: var(--font-heading, 'Inter', sans-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: #0f172a;
  margin: 32px 0 14px;
}

.page-article .entry-content p {
  margin-bottom: 20px;
}

.page-article .entry-content ul,
.page-article .entry-content ol {
  margin: 0 0 24px 20px;
  padding: 0;
}

.page-article .entry-content li {
  margin-bottom: 10px;
  line-height: 1.6;
}

.page-article .entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
}

.page-article .entry-content th,
.page-article .entry-content td {
  padding: 14px 18px;
  border-bottom: 1px solid #e2e8f0;
  text-align: left;
}

.page-article .entry-content th {
  background: #f8fafc;
  font-weight: 700;
  color: #0f172a;
}

.page-article .entry-content tr:last-child td {
  border-bottom: none;
}

.page-article .entry-content blockquote {
  border-left: 4px solid #fbd80a;
  background: #fffdf0;
  padding: 18px 24px;
  margin: 28px 0;
  border-radius: 0 12px 12px 0;
  color: #1e293b;
  font-style: italic;
}

