/**
 * Лендинг «Виды аккредитации» — премиум-оформление
 */
.akk-landing {
  --akk-gold: #b07d2e;
  --akk-gold-light: rgba(176, 125, 46, 0.15);
  --akk-dark: #1c1814;
  --akk-muted: #6b6055;
  --akk-cream: #ede7de;
  --akk-cream-dark: #ddd5c8;
  --akk-white: #f7f3ee;
  font-family: 'DM Sans', sans-serif;
  padding: 100px 0 80px;
  max-width: 920px;
  margin: 0 auto;
}

/* Hero */
.akk-hero { margin-bottom: 56px; }
.akk-hero-tag {
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--akk-gold);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.akk-hero-tag::before {
  content: '';
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, var(--akk-gold), transparent);
}
.akk-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(30px, 5vw, 44px);
  font-weight: 300;
  line-height: 1.2;
  color: var(--akk-dark);
  margin: 0 0 40px 0;
}
.akk-hero h1 em { font-style: italic; color: var(--akk-gold); }

/* Stats cards */
.akk-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}
.akk-stat-card {
  background: linear-gradient(145deg, var(--akk-white) 0%, var(--akk-cream) 100%);
  border: 1px solid var(--akk-cream-dark);
  border-radius: 12px;
  padding: 28px 24px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.akk-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(28, 24, 20, 0.08);
}
.akk-stat-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  color: var(--akk-gold);
}
.akk-stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 400;
  color: var(--akk-gold);
  margin-bottom: 8px;
  line-height: 1.2;
}
.akk-stat-desc { font-size: 13px; color: var(--akk-muted); line-height: 1.5; }

/* CTA block */
.akk-cta-hero {
  background: linear-gradient(135deg, var(--akk-dark) 0%, #2d2822 50%, #252119 100%);
  border-radius: 16px;
  padding: 44px 48px;
  text-align: center;
  margin-bottom: 56px;
  position: relative;
  overflow: hidden;
}
.akk-cta-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--akk-gold), transparent 70%);
}
.akk-cta-hero h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 400;
  color: #fff;
  margin: 0 0 12px 0;
}
.akk-landing .akk-cta-hero p { color: #fff !important; font-size: 15px; margin: 0 0 24px 0; }
.akk-cta-hero .akk-btn {
  display: inline-block;
  background: var(--akk-gold);
  color: #fff;
  padding: 14px 32px;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.05em;
  border-radius: 8px;
  transition: background 0.2s;
}
.akk-cta-hero .akk-btn:hover { background: #9a6b26; }

/* Section block */
.akk-section {
  margin-bottom: 64px;
}
.akk-section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 400;
  color: var(--akk-dark);
  margin: 0 0 24px 0;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--akk-cream-dark);
}
.akk-section-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 400;
  color: var(--akk-dark);
  margin: 40px 0 16px 0;
}
.akk-section p { font-size: 15px; line-height: 1.85; color: var(--akk-dark); margin: 0 0 18px 0; }
.akk-section p.muted, .muted { color: var(--akk-muted); }
.akk-section ul { margin: 16px 0 24px; padding-left: 24px; }
.akk-section ul li { margin-bottom: 10px; line-height: 1.7; color: var(--akk-dark); }

/* Accordion (ISO requirements) */
.akk-accordion { margin: 24px 0; }
.akk-accordion-item {
  border: 1px solid var(--akk-cream-dark);
  border-radius: 10px;
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--akk-white);
}
.akk-accordion-trigger {
  width: 100%;
  padding: 20px 24px;
  text-align: left;
  font-size: 15px;
  font-weight: 500;
  color: var(--akk-dark);
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s;
}
.akk-accordion-trigger:hover { background: var(--akk-gold-light); }
.akk-accordion-trigger::after {
  content: '';
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--akk-gold);
  border-bottom: 2px solid var(--akk-gold);
  transform: rotate(45deg);
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 12px;
}
.akk-accordion-item.is-open .akk-accordion-trigger::after { transform: rotate(-135deg); }
.akk-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.akk-accordion-content-inner { padding: 0 24px 20px; font-size: 14px; color: var(--akk-dark); line-height: 1.7; }
.akk-accordion-content-inner p { margin: 0 0 10px 0; }
.akk-accordion-content-inner ul { margin: 8px 0 12px; padding-left: 20px; }
.akk-accordion-content-inner li { margin-bottom: 6px; }

/* Steps timeline */
.akk-steps {
  margin: 32px 0;
  position: relative;
  padding-left: 32px;
  border-left: 2px solid var(--akk-cream-dark);
}
.akk-step {
  position: relative;
  margin-bottom: 32px;
  padding-left: 24px;
}
.akk-step:last-child { margin-bottom: 0; }
.akk-step::before {
  content: attr(data-num);
  position: absolute;
  left: -42px;
  top: -2px;
  width: 28px;
  height: 28px;
  background: var(--akk-gold);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Sans', sans-serif;
}
.akk-step h4 { font-size: 15px; font-weight: 600; color: var(--akk-dark); margin: 0 0 8px 0; }
.akk-step p { font-size: 14px; color: var(--akk-muted); line-height: 1.7; margin: 0; }

/* Warning block */
.akk-warn {
  background: linear-gradient(135deg, #fef8f0 0%, #f5e6d3 100%);
  border: 1px solid rgba(176, 125, 46, 0.3);
  border-left: 4px solid var(--akk-gold);
  border-radius: 0 12px 12px 0;
  padding: 24px 28px;
  margin: 32px 0;
}
.akk-warn p { margin: 0; font-size: 14px; color: var(--akk-dark); line-height: 1.75; }

/* Lab type cards */
.akk-lab-card {
  background: var(--akk-white);
  border: 1px solid var(--akk-cream-dark);
  border-radius: 14px;
  padding: 32px 36px;
  margin-bottom: 28px;
  transition: box-shadow 0.25s, border-color 0.25s;
}
.akk-lab-card:hover {
  box-shadow: 0 8px 24px rgba(28, 24, 20, 0.06);
  border-color: rgba(176, 125, 46, 0.3);
}
.akk-lab-card-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 20px;
}
.akk-lab-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  color: var(--akk-gold);
}
.akk-lab-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 400;
  color: var(--akk-dark);
  margin: 0 0 12px 0;
}
.akk-lab-card p { margin: 0 0 16px 0; font-size: 15px; line-height: 1.8; }
.akk-lab-card ul { margin: 12px 0 0; padding-left: 20px; }
.akk-lab-card ul li { margin-bottom: 8px; font-size: 14px; }
.akk-lab-card h4 { margin-top: 20px; }

/* Status cards (реестр) */
.akk-status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 24px 0;
}
.akk-status-card {
  border-radius: 12px;
  padding: 24px 20px;
  text-align: center;
  border: 1px solid rgba(0,0,0,0.08);
}
.akk-status-card.green { background: #e8f5e9; border-color: #a5d6a7; }
.akk-status-card.orange { background: #fff3e0; border-color: #ffcc80; }
.akk-status-card.yellow { background: #fffde7; border-color: #fff59d; }
.akk-status-card.red { background: #ffebee; border-color: #ef9a9a; }
.akk-status-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  margin: 0 auto 12px;
}
.akk-status-card.green .akk-status-dot { background: #4caf50; }
.akk-status-card.orange .akk-status-dot { background: #ff9800; }
.akk-status-card.yellow .akk-status-dot { background: #fbc02d; }
.akk-status-card.red .akk-status-dot { background: #f44336; }
.akk-status-card strong { display: block; font-size: 14px; margin-bottom: 6px; color: var(--akk-dark); }
.akk-status-card span { font-size: 13px; color: var(--akk-muted); line-height: 1.5; }

/* Reasons cards */
.akk-reason-card {
  background: #fff;
  border: 1px solid var(--akk-cream-dark);
  border-radius: 12px;
  padding: 24px 28px;
  margin-bottom: 16px;
  border-left: 4px solid #e57373;
}
.akk-reason-card strong { color: var(--akk-dark); }

/* Services & Results */
.akk-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin: 28px 0;
}
.akk-feature-card {
  background: linear-gradient(145deg, var(--akk-cream) 0%, #e8e0d5 100%);
  border: 1px solid var(--akk-cream-dark);
  border-radius: 12px;
  padding: 24px 28px;
}
.akk-feature-card li {
  list-style: none;
  padding-left: 28px;
  position: relative;
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.6;
}
.akk-feature-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--akk-gold);
  font-weight: 700;
  font-size: 16px;
}

/* Nav links as cards */
.akk-nav-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin: 32px 0;
}
.akk-nav-card {
  display: block;
  padding: 20px 24px;
  background: var(--akk-white);
  border: 1px solid var(--akk-cream-dark);
  border-radius: 10px;
  text-decoration: none;
  color: var(--akk-dark);
  transition: all 0.2s;
}
.akk-nav-card:hover {
  border-color: var(--akk-gold);
  background: var(--akk-gold-light);
  color: var(--akk-dark);
}
.akk-nav-card strong { color: var(--akk-gold); font-size: 14px; }
.akk-nav-card span { display: block; font-size: 13px; color: var(--akk-muted); margin-top: 6px; line-height: 1.5; }

/* Footer CTA */
.akk-footer-cta {
  margin-top: 48px;
  padding: 32px 0;
  border-top: 1px solid var(--akk-cream-dark);
}
.akk-footer-cta p { margin: 0 0 12px 0; }
.akk-footer-cta a { color: var(--akk-gold); text-decoration: none; font-weight: 500; }
.akk-footer-cta a:hover { text-decoration: underline; }

/* Fallback for legacy classes in lab sections */
.akk-landing .akk-h2, .akk-landing .akk-h3, .akk-landing .akk-h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  color: var(--akk-dark);
  margin: 24px 0 12px 0;
}
.akk-landing .akk-h2 { font-size: 24px; }
.akk-landing .akk-h3, .akk-landing .akk-section-subtitle { font-size: 19px; }
.akk-landing .akk-h4 { font-size: 16px; }
.akk-landing .akk-p { font-size: 15px; line-height: 1.85; margin: 0 0 16px 0; color: var(--akk-dark); }
.akk-landing .akk-p.mid { color: var(--akk-muted); }
.akk-landing .akk-ul { margin: 12px 0 20px; padding-left: 24px; }
.akk-landing .akk-ul li { margin-bottom: 8px; line-height: 1.7; color: var(--akk-dark); }

@media (max-width: 768px) {
  .akk-landing { padding: 100px 24px 60px; }
  .akk-cta-hero { padding: 32px 24px; }
  .akk-lab-card { padding: 24px 20px; }
  .akk-steps { padding-left: 28px; }
  .akk-step::before { left: -36px; width: 24px; height: 24px; font-size: 11px; }
}
