.category-hero {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: flex-end;
  padding: 148px 0 72px;
  color: #fff;
  background: var(--charcoal);
  isolation: isolate;
}
.category-hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  background: url("/assets/saunaservice/catalog/electric-heaters-hero-1600.webp") center / cover no-repeat;
}
.category-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10,9,8,.97) 0%, rgba(10,9,8,.82) 36%, rgba(10,9,8,.2) 70%, rgba(10,9,8,.28) 100%),
    linear-gradient(0deg, rgba(10,9,8,.74), transparent 54%);
}
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; color: rgba(255,255,255,.5); font-size: 12px; }
.breadcrumbs a { color: inherit; text-underline-offset: 4px; }
.breadcrumbs span::before { content: "/"; margin-right: 8px; }
.category-hero h1 { max-width: 780px; margin: 0; font-size: clamp(52px, 7vw, 100px); line-height: .91; letter-spacing: -.067em; }
.category-hero .lead { max-width: 680px; margin: 26px 0 0; color: rgba(255,255,255,.82); font-size: clamp(18px, 2vw, 22px); line-height: 1.5; }
.category-hero__grid { display: grid; grid-template-columns: minmax(0, 720px) minmax(280px, 1fr); align-items: end; gap: 64px; }
.category-hero__aside { padding: 28px; border: 1px solid rgba(255,255,255,.16); border-radius: 26px; background: rgba(18,16,14,.52); backdrop-filter: blur(15px); }
.category-hero__aside h2 { margin: 0 0 20px; font-size: 27px; line-height: 1.08; letter-spacing: -.035em; }
.category-hero__aside ol { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: decisions; }
.category-hero__aside li { display: grid; grid-template-columns: 32px 1fr; gap: 12px; color: rgba(255,255,255,.75); line-height: 1.48; counter-increment: decisions; }
.category-hero__aside li::before { content: counter(decisions); width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; color: var(--ink); background: var(--accent); font-size: 12px; font-weight: 900; }

.type-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.type-card { overflow: hidden; border: 1px solid var(--line); border-radius: 28px; background: #fff; box-shadow: 0 14px 40px rgba(23,21,20,.06); }
.type-card__media { height: 300px; overflow: hidden; background: var(--stone); }
.type-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.type-card:hover img { transform: scale(1.035); }
.type-card__body { padding: 26px; }
.type-card__label { color: var(--accent); font-size: 11px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.type-card h3 { margin: 10px 0 12px; font-size: 30px; line-height: 1; letter-spacing: -.04em; }
.type-card p { margin: 0; color: var(--muted); line-height: 1.6; }
.type-card ul { display: grid; gap: 8px; margin: 20px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); list-style: none; }
.type-card li { position: relative; padding-left: 18px; color: var(--muted); font-size: 13px; line-height: 1.45; }
.type-card li::before { content: ""; position: absolute; left: 0; top: .55em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

.calculation { display: grid; grid-template-columns: .88fr 1.12fr; gap: 72px; align-items: start; }
.calculation__intro h2 { margin: 0; font-size: clamp(40px, 5vw, 68px); line-height: .98; letter-spacing: -.055em; }
.calculation__intro p { margin: 24px 0 0; color: var(--muted); font-size: 17px; line-height: 1.65; }
.calculation__aside { margin-top: 28px; padding: 20px; border-radius: 18px; color: #fff; background: var(--stone); font-size: 13px; line-height: 1.55; }
.calculation__aside strong { color: var(--accent); }
.calculation-steps { display: grid; gap: 12px; }
.calculation-step { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.calculation-step b { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; color: var(--ink); background: var(--accent); }
.calculation-step h3 { margin: 2px 0 7px; font-size: 21px; letter-spacing: -.025em; }
.calculation-step p { margin: 0; color: var(--muted); line-height: 1.55; }

.supply-panel { display: grid; grid-template-columns: 1.15fr .85fr; gap: 54px; padding: 46px; border-radius: 30px; color: #fff; background: var(--stone); }
.supply-panel h2 { margin: 0; font-size: clamp(38px, 4.8vw, 64px); line-height: .96; letter-spacing: -.055em; }
.supply-panel p { max-width: 720px; margin: 22px 0 0; color: rgba(255,255,255,.65); font-size: 17px; line-height: 1.62; }
.supply-facts { display: grid; gap: 10px; align-content: start; }
.supply-fact { padding: 18px; border: 1px solid rgba(255,255,255,.13); border-radius: 17px; color: rgba(255,255,255,.67); font-size: 13px; line-height: 1.5; }
.supply-fact strong { display: block; margin-bottom: 4px; color: #fff; font-size: 16px; }

.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: 0 14px 42px rgba(23,21,20,.055); }
.compare-table { width: 100%; min-width: 900px; border-collapse: collapse; }
.compare-table th, .compare-table td { padding: 18px 20px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare-table th:last-child, .compare-table td:last-child { border-right: 0; }
.compare-table tr:last-child th, .compare-table tr:last-child td { border-bottom: 0; }
.compare-table thead th { color: #fff; background: var(--ink); font-size: 15px; }
.compare-table thead th:first-child { width: 170px; color: rgba(255,255,255,.55); }
.compare-table tbody th { color: var(--muted); background: var(--soft); font-size: 12px; letter-spacing: .07em; text-transform: uppercase; }
.compare-table td { color: var(--muted); font-size: 14px; line-height: 1.45; }
.compare-table td strong { display: block; color: var(--ink); font-size: 15px; }
.compare-table a { color: var(--ink); font-weight: 800; text-underline-offset: 4px; }
.table-note { margin: 18px 0 0; color: var(--muted); font-size: 12px; line-height: 1.55; }

.control-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.control-card { padding: 28px; display: flex; flex-direction: column; border: 1px solid rgba(255,255,255,.14); border-radius: 26px; background: #211e1b; }
.control-card__num { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; color: var(--ink); background: var(--accent); font-weight: 900; }
.control-card h3 { margin: 24px 0 12px; font-size: 29px; line-height: 1.08; letter-spacing: -.035em; }
.control-card p { margin: 0; color: rgba(255,255,255,.63); line-height: 1.58; }
.control-card small { display: block; margin-top: 15px; color: rgba(255,255,255,.4); line-height: 1.45; }

.scope-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.scope-card { padding: 30px; border-radius: 26px; }
.scope-card--included { color: #fff; background: var(--ink); }
.scope-card--separate { border: 1px solid var(--line); background: var(--soft); }
.scope-card h3 { margin: 0 0 20px; font-size: 30px; letter-spacing: -.035em; }
.scope-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.scope-list li { position: relative; padding-left: 27px; line-height: 1.5; }
.scope-list li::before { position: absolute; left: 0; top: 0; font-weight: 900; }
.scope-card--included li { color: rgba(255,255,255,.72); }
.scope-card--included li::before { content: "✓"; color: var(--accent); }
.scope-card--separate li { color: var(--muted); }
.scope-card--separate li::before { content: "+"; color: var(--accent); }

.faq-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 70px; align-items: start; }
.faq-grid h2 { margin: 0; font-size: clamp(40px, 5vw, 68px); line-height: .98; letter-spacing: -.055em; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 24px 50px 24px 0; cursor: pointer; font-size: 18px; font-weight: 800; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 6px; top: 21px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--soft); }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: -6px 0 24px; padding-right: 44px; color: var(--muted); line-height: 1.65; }

@media (max-width: 1020px) {
  .category-hero__grid, .calculation, .faq-grid { grid-template-columns: 1fr; }
  .category-hero__grid { gap: 30px; }
  .category-hero__aside { max-width: 640px; }
  .type-grid { grid-template-columns: 1fr 1fr; }
  .type-card:last-child { grid-column: 1 / -1; }
  .supply-panel { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .category-hero { min-height: auto; padding: 116px 0 44px; }
  .category-hero::before { background-image: url("/assets/saunaservice/catalog/electric-heaters-hero-960.webp"); background-position: 63% center; }
  .category-hero::after { background: linear-gradient(0deg, rgba(10,9,8,.97) 0%, rgba(10,9,8,.73) 66%, rgba(10,9,8,.3)); }
  .category-hero h1 { font-size: clamp(40px, 11.5vw, 52px); line-height: .94; }
  .category-hero .lead { font-size: 17px; }
  .category-hero__aside { padding: 22px; }
  .type-grid, .control-grid, .scope-grid { grid-template-columns: 1fr; }
  .type-card:last-child { grid-column: auto; }
  .type-card__media { height: 260px; }
  .calculation-step { grid-template-columns: 46px 1fr; padding: 20px; }
  .calculation-step b { width: 42px; height: 42px; }
  .supply-panel { padding: 28px; }
  .compare-wrap { margin-right: -16px; border-radius: 20px 0 0 20px; }
  .faq-grid { gap: 32px; }
}
