/* kuznica-rit.ru — Ритуальная ковка, рейтинг мастерских 2026 */
/* Memorial strict: PT Serif, muted palette, dark hero */

@import url('https://fonts.googleapis.com/css2?family=PT+Serif:ital,wght@0,400;0,700;1,400&display=swap');

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'PT Serif', Georgia, 'Times New Roman', serif;
  color: #2c2c2c;
  background: #fff;
  line-height: 1.75;
}

a {
  color: #5a6e5a;
  text-decoration: underline;
  transition: color .2s;
}
a:hover {
  color: #3d4f3d;
}

img {
  max-width: 100%;
  height: auto;
}

/* ===== HEADER ===== */
.site-header {
  background: #333;
  color: #d4d0ca;
  padding: 14px 0;
  border-bottom: 3px solid #555;
}
.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.site-header .logo {
  font-size: 1.15rem;
  font-weight: 700;
  color: #e8e4de;
  text-decoration: none;
  letter-spacing: .03em;
}
.site-header nav a {
  color: #c5c0b8;
  text-decoration: none;
  margin-left: 24px;
  font-size: .92rem;
  transition: color .2s;
}
.site-header nav a:hover {
  color: #fff;
}

/* ===== HERO ===== */
.hero {
  background: #333;
  color: #e8e4de;
  text-align: center;
  padding: 64px 20px 56px;
}
.hero h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.3;
  color: #f0ece6;
}
.hero .subtitle {
  font-size: 1.05rem;
  color: #b5b0a8;
  max-width: 640px;
  margin: 0 auto;
  font-style: italic;
}

/* ===== CONTAINER ===== */
.container {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== CONTENT ===== */
.content {
  background: #fff;
  padding: 48px 0 56px;
}

.content h2 {
  font-size: 1.5rem;
  color: #333;
  margin: 40px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid #d8d4ce;
}
.content h2:first-child {
  margin-top: 0;
}

.content h3 {
  font-size: 1.2rem;
  color: #444;
  margin: 28px 0 10px;
}

.content p {
  margin-bottom: 16px;
  color: #3a3a3a;
}

.content ul,
.content ol {
  margin: 0 0 18px 24px;
  color: #3a3a3a;
}
.content li {
  margin-bottom: 6px;
}

/* ===== RATING CARD ===== */
.rating-card {
  background: #faf9f7;
  border: 1px solid #ddd8d0;
  border-radius: 6px;
  padding: 28px 28px 24px;
  margin-bottom: 28px;
}
.rating-card.highlighted {
  border-color: #8a9a7a;
  border-width: 2px;
  background: #f7f9f5;
}

.rating-card .position {
  font-size: .85rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 6px;
}
.rating-card h3 {
  font-size: 1.25rem;
  color: #333;
  margin: 0 0 12px;
}
.rating-card .specialization {
  font-size: .93rem;
  color: #666;
  font-style: italic;
  margin-bottom: 12px;
}
.rating-card p {
  margin-bottom: 10px;
}
.rating-card .pros {
  margin: 12px 0 6px;
  font-weight: 700;
  color: #5a6e5a;
  font-size: .92rem;
}
.rating-card ul {
  margin: 0 0 14px 20px;
}

/* ===== CTA BLOCK ===== */
.cta-block {
  background: #f0ece6;
  border: 1px solid #d4cfc6;
  border-radius: 6px;
  padding: 24px 28px;
  margin: 20px 0 8px;
  text-align: center;
}
.cta-block p {
  margin-bottom: 14px;
  font-size: .97rem;
  color: #444;
}
.cta-link {
  display: inline-block;
  background: #5a6e5a;
  color: #fff;
  text-decoration: none;
  padding: 10px 26px;
  border-radius: 4px;
  font-size: .95rem;
  margin: 4px 6px;
  transition: background .2s;
}
.cta-link:hover {
  background: #4a5c4a;
  color: #fff;
}

/* ===== INTRO / NOTE ===== */
.intro-note {
  background: #f5f4f1;
  border-left: 3px solid #999;
  padding: 16px 20px;
  margin-bottom: 32px;
  font-size: .95rem;
  color: #555;
  font-style: italic;
}

/* ===== TABLE ===== */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 28px;
  font-size: .93rem;
}
.comparison-table th,
.comparison-table td {
  padding: 10px 14px;
  border: 1px solid #d8d4ce;
  text-align: left;
}
.comparison-table th {
  background: #eae7e1;
  color: #444;
  font-weight: 700;
}
.comparison-table tr:nth-child(even) {
  background: #faf9f7;
}

/* ===== FOOTER ===== */
.site-footer {
  background: #3a3a3a;
  color: #a09a92;
  text-align: center;
  padding: 28px 20px;
  font-size: .88rem;
  border-top: 3px solid #555;
}
.site-footer a {
  color: #c5c0b8;
}

/* ===== BREADCRUMBS ===== */
.breadcrumbs {
  font-size: .85rem;
  color: #888;
  padding: 14px 0 0;
}
.breadcrumbs a {
  color: #777;
  text-decoration: none;
}
.breadcrumbs a:hover {
  color: #444;
}
.breadcrumbs span {
  margin: 0 6px;
  color: #aaa;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero {
    padding: 44px 16px 40px;
  }
  .hero h1 {
    font-size: 1.55rem;
  }
  .content {
    padding: 32px 0 40px;
  }
  .content h2 {
    font-size: 1.3rem;
  }
  .rating-card {
    padding: 20px 18px 18px;
  }
  .site-header .container {
    flex-direction: column;
    gap: 8px;
  }
  .site-header nav a {
    margin-left: 16px;
  }
  .cta-link {
    display: block;
    margin: 6px 0;
  }
  .comparison-table {
    font-size: .85rem;
  }
  .comparison-table th,
  .comparison-table td {
    padding: 7px 8px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.3rem;
  }
  .hero .subtitle {
    font-size: .95rem;
  }
  .container {
    padding: 0 14px;
  }
}
