/* ==========================================
   TONERIN ES — Shared Stylesheet
   ========================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: #1A1A1A; background: #fff; line-height: 1.6; }

/* FONTS */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;900&family=Inter:wght@400;500;600;700&display=swap');

/* ---- HEADER ---- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #8B1A1A;
  box-shadow: 0 2px 12px rgba(0,0,0,0.22);
}
.header-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 32px; height: 70px;
}
.header-logo {
  font-family: 'Playfair Display', serif;
  font-size: 26px; font-weight: 700;
  color: #fff; letter-spacing: 4px; text-decoration: none;
  flex-shrink: 0;
}
.header-nav {
  display: flex; flex-wrap: wrap; gap: 6px 18px;
  list-style: none; align-items: center;
}
.header-nav a {
  font-size: 13px; color: #f5c6c6; text-decoration: none;
  transition: color .2s; white-space: nowrap;
}
.header-nav a:hover { color: #fff; }
.header-cta {
  background: #fff; color: #8B1A1A;
  font-size: 13px; font-weight: 700; padding: 10px 22px;
  border-radius: 6px; text-decoration: none;
  transition: background .2s, color .2s; white-space: nowrap; flex-shrink: 0;
}
.header-cta:hover { background: #f7e0e0; }

/* ---- BREADCRUMB ---- */
.breadcrumb {
  background: #f9f0f0; padding: 10px 0;
  font-size: 13px; color: #888;
}
.breadcrumb-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 32px;
}
.breadcrumb a { color: #8B1A1A; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 6px; }

/* ---- HERO ---- */
.hero {
  background: linear-gradient(135deg, #fff5f5 0%, #fce8e8 100%);
  padding: 72px 32px;
}
.hero-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; gap: 56px;
}
.hero-left { flex: 1; max-width: 640px; }
.hero-badge {
  display: inline-flex; align-items: center;
  background: #fde8e8; color: #8B1A1A;
  font-size: 13px; font-weight: 600;
  padding: 6px 18px; border-radius: 20px; margin-bottom: 22px;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 46px; font-weight: 700; line-height: 1.15;
  color: #1A1A1A; margin-bottom: 18px;
}
.hero-subtitle { font-size: 17px; color: #444; margin-bottom: 26px; }
.hero-benefits { list-style: none; margin-bottom: 32px; display: flex; flex-direction: column; gap: 9px; }
.hero-benefits li { font-size: 15px; font-weight: 500; color: #8B1A1A; }
.hero-btn {
  display: inline-block; background: #8B1A1A; color: #fff;
  font-size: 16px; font-weight: 700; padding: 16px 34px;
  border-radius: 8px; text-decoration: none; transition: background .2s;
}
.hero-btn:hover { background: #6b1212; }

.hero-card {
  background: #fff; border-radius: 16px; padding: 34px;
  text-align: center; box-shadow: 0 8px 40px rgba(139,26,26,.12);
  min-width: 340px; max-width: 400px;
}
.discount-pill {
  display: inline-block; background: #8B1A1A; color: #fff;
  font-size: 13px; font-weight: 700; padding: 7px 20px;
  border-radius: 20px; margin-bottom: 22px;
}
.product-box {
  background: #fff5f5; border-radius: 12px;
  padding: 36px 28px; margin-bottom: 18px;
}
.product-box-name {
  font-family: 'Playfair Display', serif;
  font-size: 30px; font-weight: 700; color: #8B1A1A;
}
.product-box-sub { font-size: 13px; color: #a04040; margin-top: 6px; }
.price-row { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 10px; }
.price-old { font-size: 20px; color: #aaa; text-decoration: line-through; }
.price-new { font-family: 'Playfair Display', serif; font-size: 44px; font-weight: 700; color: #8B1A1A; }
.price-note { font-size: 13px; color: #777; margin-bottom: 18px; }

/* ---- STATS BAR ---- */
.stats-bar {
  background: #8B1A1A;
}
.stats-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: stretch;
}
.stat-item {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 40px 20px; text-align: center;
  border-right: 1px solid #a03030;
}
.stat-item:last-child { border-right: none; }
.stat-number { font-family: 'Playfair Display', serif; font-size: 42px; font-weight: 700; color: #fff; }
.stat-label { font-size: 13px; color: #f5c6c6; margin-top: 8px; }

/* ---- GENERIC SECTION ---- */
section { padding: 72px 32px; }
.section-wrap { max-width: 1200px; margin: 0 auto; }
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 38px; font-weight: 700; color: #1A1A1A;
  margin-bottom: 14px; text-align: center;
}
.section-sub {
  font-size: 16px; color: #555; text-align: center;
  max-width: 700px; margin: 0 auto 44px;
}
.bg-light { background: #faf8f8; }
.bg-red { background: #8B1A1A; }
.bg-rose { background: #fff5f5; }

/* ---- ARTICLE TEXT ---- */
.article-text {
  max-width: 820px; margin: 0 auto;
  font-size: 16px; color: #444; line-height: 1.85;
}
.article-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: 28px; color: #8B1A1A; margin: 30px 0 12px;
}
.article-text h3 {
  font-family: 'Playfair Display', serif;
  font-size: 21px; color: #8B1A1A; margin: 22px 0 9px;
}
.article-text p { margin-bottom: 16px; }
.article-text ul, .article-text ol { padding-left: 22px; margin-bottom: 16px; }
.article-text li { margin-bottom: 7px; }
.article-text a { color: #8B1A1A; }
.article-text strong { color: #1A1A1A; }

/* ---- INGREDIENTS GRID ---- */
.ingredients-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ingredient-card {
  background: #fff; border-radius: 12px; padding: 28px 24px;
  box-shadow: 0 2px 14px rgba(0,0,0,.06);
}
.ingredient-icon {
  width: 52px; height: 52px; background: #fde8e8; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; margin-bottom: 14px;
}
.ingredient-name {
  font-family: 'Playfair Display', serif;
  font-size: 20px; font-weight: 700; color: #8B1A1A; margin-bottom: 10px;
}
.ingredient-text { font-size: 14px; color: #555; line-height: 1.75; }

/* ---- COMPARISON TABLE ---- */
.comp-table-wrap { overflow-x: auto; }
.comp-table {
  width: 100%; max-width: 960px; margin: 0 auto;
  border-radius: 12px; overflow: hidden; background: #fff;
}
.comp-table thead { background: #8B1A1A; }
.comp-table thead th {
  padding: 15px 22px; font-size: 14px; font-weight: 700;
  color: #fff; text-align: left;
}
.comp-table thead th:nth-child(2) { color: #fdd; }
.comp-table tbody tr:nth-child(odd) { background: #faf8f8; }
.comp-table tbody tr:nth-child(even) { background: #fff; }
.comp-table tbody td { padding: 14px 22px; font-size: 14px; color: #444; }
.comp-table tbody td:nth-child(2) { font-weight: 700; color: #8B1A1A; }
.comp-table tbody td.bad { color: #c00; }

/* ---- TESTIMONIALS ---- */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testimonial-card {
  background: #fff; border-radius: 12px; padding: 26px 22px;
  box-shadow: 0 2px 14px rgba(0,0,0,.06);
}
.stars { font-size: 17px; color: #c0392b; margin-bottom: 12px; }
.testimonial-text { font-size: 14px; color: #444; line-height: 1.75; margin-bottom: 14px; font-style: italic; }
.testimonial-author { font-size: 13px; font-weight: 700; color: #8B1A1A; }

/* ---- FAQ ---- */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: #fff; border-radius: 10px; padding: 22px 26px;
  box-shadow: 0 2px 10px rgba(0,0,0,.05);
}
.faq-q { font-size: 16px; font-weight: 700; color: #8B1A1A; margin-bottom: 8px; }
.faq-a { font-size: 14px; color: #555; line-height: 1.75; }

/* ---- CTA BOX ---- */
.cta-box {
  background: #8B1A1A; border-radius: 16px;
  padding: 44px 40px; text-align: center;
  max-width: 700px; margin: 0 auto;
}
.cta-box h2 {
  font-family: 'Playfair Display', serif;
  font-size: 32px; font-weight: 700; color: #fff; margin-bottom: 12px;
}
.cta-box p { font-size: 16px; color: #f5c6c6; margin-bottom: 26px; }
.cta-btn {
  display: inline-block; background: #fff; color: #8B1A1A;
  font-size: 16px; font-weight: 700; padding: 16px 36px;
  border-radius: 8px; text-decoration: none; transition: background .2s;
}
.cta-btn:hover { background: #fde8e8; }
.cta-btn-alt {
  display: inline-block; background: #8B1A1A; color: #fff;
  font-size: 16px; font-weight: 700; padding: 16px 36px;
  border-radius: 8px; text-decoration: none; transition: background .2s;
  border: 2px solid #fff;
}
.cta-btn-alt:hover { background: #6b1212; }

/* ---- SYMPTOM CARDS ---- */
.symptoms-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.symptom-card {
  display: flex; align-items: center; gap: 11px;
  background: #fff5f5; border-radius: 8px; padding: 13px 15px;
  font-size: 14px; color: #333;
}
.symptom-icon { font-size: 19px; flex-shrink: 0; }

/* ---- INTERNAL LINKS BOX ---- */
.related-links {
  background: #faf8f8; border-radius: 12px; padding: 26px 30px;
  margin: 32px 0;
}
.related-links h3 {
  font-family: 'Playfair Display', serif;
  font-size: 18px; color: #8B1A1A; margin-bottom: 14px;
}
.related-links ul { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.related-links a {
  display: inline-block; background: #fff; border: 1px solid #e0c0c0;
  color: #8B1A1A; font-size: 13px; padding: 7px 16px;
  border-radius: 20px; text-decoration: none; transition: background .2s;
}
.related-links a:hover { background: #fde8e8; }

/* ---- FORM ---- */
.form-box {
  background: #fff; border-radius: 16px; padding: 40px;
  max-width: 540px; margin: 0 auto;
  box-shadow: 0 8px 40px rgba(139,26,26,.12);
}
.form-box h3 {
  font-family: 'Playfair Display', serif;
  font-size: 24px; font-weight: 700; color: #8B1A1A; margin-bottom: 22px;
}
.form-input {
  width: 100%; height: 50px; background: #f5f5f5;
  border: 1.5px solid #e0e0e0; border-radius: 8px;
  padding: 0 15px; font-size: 14px; font-family: 'Inter', sans-serif;
  margin-bottom: 14px; outline: none; color: #333;
  transition: border-color .2s;
}
.form-input:focus { border-color: #8B1A1A; }
.form-submit {
  width: 100%; height: 54px; background: #8B1A1A; color: #fff;
  font-size: 15px; font-weight: 700; font-family: 'Inter', sans-serif;
  border: none; border-radius: 8px; cursor: pointer;
  transition: background .2s; margin-bottom: 12px;
}
.form-submit:hover { background: #6b1212; }
.form-note { font-size: 12px; color: #888; text-align: center; }

/* ---- FOOTER ---- */
.site-footer {
  background: #111; color: #666;
  font-size: 13px;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 36px 32px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 18px;
}
.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 20px; font-weight: 700; color: #fff;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { color: #555; text-decoration: none; }
.footer-links a:hover { color: #f5c6c6; }

/* ---- TIMELINE ---- */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.timeline-item { background: #fff; border-radius: 12px; padding: 26px 20px; }
.timeline-week {
  display: inline-block; background: #8B1A1A; color: #fff;
  font-size: 11px; font-weight: 700; padding: 4px 11px;
  border-radius: 12px; margin-bottom: 12px;
}
.timeline-title {
  font-family: 'Playfair Display', serif;
  font-size: 17px; font-weight: 700; color: #1A1A1A; margin-bottom: 7px;
}
.timeline-text { font-size: 13px; color: #555; line-height: 1.7; }
.timeline-pct { font-size: 30px; font-weight: 700; color: #8B1A1A; margin-top: 10px; }

/* ---- INFO CARDS ---- */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.info-card {
  background: #fff; border-radius: 12px; padding: 28px 24px;
  box-shadow: 0 2px 14px rgba(0,0,0,.06);
}
.info-card-icon { font-size: 34px; margin-bottom: 14px; }
.info-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 18px; font-weight: 700; color: #8B1A1A; margin-bottom: 10px;
}
.info-card-text { font-size: 14px; color: #555; line-height: 1.75; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .header-inner { padding: 0 20px; }
  .hero-inner { flex-direction: column; padding: 0; }
  .hero-card { min-width: unset; width: 100%; max-width: 100%; }
  .stats-inner { flex-wrap: wrap; }
  section { padding: 56px 20px; }
}
@media (max-width: 768px) {
  .header-nav { display: none; }
  .hero h1 { font-size: 30px; }
  .section-title { font-size: 26px; }
  .symptoms-grid,
  .ingredients-grid,
  .testimonials-grid,
  .timeline,
  .info-grid { grid-template-columns: 1fr; }
  .stats-inner { flex-direction: column; }
  .stat-item { border-right: none; border-bottom: 1px solid #a03030; }
  .stat-item:last-child { border-bottom: none; }
  .footer-inner { flex-direction: column; text-align: center; }
  .form-box { padding: 24px 18px; }
  .cta-box { padding: 30px 20px; }
}

/* ===== DESIGN IMPROVEMENTS ===== */

/* Hover-анимации карточек */
.ingredient-card, .test-card, .step-card, .symptom-card, .link-card {
  transition: transform .25s ease, box-shadow .25s ease;
}
.ingredient-card:hover, .step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(139,26,26,.14);
}
.symptom-card:hover {
  background: #f7e0e0;
  transform: translateX(4px);
}

/* Product image in hero */
.product-box img {
  box-shadow: 0 4px 20px rgba(139,26,26,.14);
  transition: transform .3s ease;
}
.product-box img:hover { transform: scale(1.02); }

/* Улучшенный hero-card */
.hero-card {
  box-shadow: 0 20px 60px rgba(139,26,26,.20) !important;
}

/* Градиент CTA banner */
.cta-banner {
  background: linear-gradient(135deg, #8B1A1A 0%, #6B1010 100%) !important;
}

/* Ссылки в тексте */
.article-body a, .article-wrap a {
  color: #8B1A1A;
  text-decoration: underline;
  text-decoration-color: rgba(139,26,26,.3);
  text-underline-offset: 3px;
}
.article-body a:hover, .article-wrap a:hover {
  color: #6B1010;
  text-decoration-color: #8B1A1A;
}

/* Stats bar улучшение */
.stat-number {
  text-shadow: 0 2px 8px rgba(0,0,0,.2);
}

/* Hero badge */
.hero-badge {
  border: 1px solid rgba(139,26,26,.15);
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}

/* Анимация появления hero */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero h1 { animation: fadeInUp .5s ease both; }
.hero-subtitle { animation: fadeInUp .6s ease .1s both; }
.hero-benefits { animation: fadeInUp .65s ease .15s both; }
