/* ==========================================================================
   Рейтинг ЭТП — светлая деловая тема (индиго / бирюза)
   Совершенно иной визуальный язык, чем у примера (тёмная тема + оранжевый).
   ========================================================================== */
:root {
  --bg: #f6f8fc;
  --surface: #ffffff;
  --surface-2: #eef2fa;
  --ink: #101828;
  --ink-2: #475467;
  --ink-3: #667085;
  --line: #e4e8f2;
  --line-2: #d3dbec;
  --brand: #2f4bff;        /* индиго — деловой основной */
  --brand-dark: #1f34c4;
  --brand-soft: #eaeeff;
  --teal: #0ea5a0;         /* бирюза — вторичный акцент */
  --teal-soft: #e2f6f4;
  --gold: #d99a00;
  --green: #12855a;
  --green-soft: #e5f5ee;
  --red: #c0392b;
  --amber: #b45309;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(16,24,40,.06), 0 1px 3px rgba(16,24,40,.08);
  --shadow: 0 8px 24px -12px rgba(31,52,196,.18), 0 2px 6px rgba(16,24,40,.05);
  --shadow-lg: 0 24px 60px -24px rgba(31,52,196,.28);
  --maxw: 1160px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Golos Text', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.62;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--brand-dark); }

h1, h2, h3, h4 {
  font-family: 'Manrope', 'Golos Text', sans-serif;
  color: var(--ink);
  line-height: 1.16;
  letter-spacing: -0.02em;
  font-weight: 800;
}
h1 { font-size: clamp(1.9rem, 4vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.25rem); margin-bottom: .6rem; }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); margin-bottom: .5rem; font-weight: 700; }
h4 { font-size: 1.05rem; margin-bottom: .4rem; font-weight: 700; }
p { color: var(--ink-2); margin-bottom: 1rem; }
p.lead { font-size: 1.15rem; color: var(--ink); line-height: 1.6; }
ul, ol { padding-left: 1.2rem; color: var(--ink-2); margin-bottom: 1rem; }
li { margin-bottom: .45rem; }
strong { color: var(--ink); font-weight: 700; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.section { padding: 76px 0; }
.section.tight { padding: 52px 0; }
.section.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.eyebrow {
  display: inline-block;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 12px;
}
.section-head { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.section-head p { color: var(--ink-2); font-size: 1.06rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; max-width: var(--maxw); margin: 0 auto; padding: 0 22px;
}
.brand { display: flex; align-items: center; gap: 11px; font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 1.08rem; color: var(--ink); letter-spacing: -.02em; }
.brand:hover { color: var(--ink); }
.brand-mark {
  width: 36px; height: 36px; border-radius: 11px; flex: none;
  background: linear-gradient(135deg, var(--brand), #6d5cff);
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 1.05rem;
  box-shadow: 0 6px 16px -6px rgba(47,75,255,.6);
}
.brand-mark small { font-size: .95rem; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a { color: var(--ink-2); font-weight: 600; font-size: .93rem; padding: 8px 12px; border-radius: 9px; }
.nav a:hover, .nav a.active { color: var(--brand); background: var(--brand-soft); }
.nav .nav-cta { color: #fff; background: var(--brand); padding: 9px 16px; }
.nav .nav-cta:hover { background: var(--brand-dark); color: #fff; }
.burger { display: none; background: none; border: 1px solid var(--line-2); border-radius: 9px; width: 42px; height: 40px; font-size: 1.2rem; cursor: pointer; color: var(--ink); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: 'Manrope', sans-serif; font-weight: 700; font-size: .95rem; padding: 13px 24px; border-radius: 12px; cursor: pointer; border: 1.5px solid transparent; transition: all .18s ease; text-align: center; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 10px 24px -12px rgba(47,75,255,.8); }
.btn-primary:hover { background: var(--brand-dark); color: #fff; transform: translateY(-1px); }
.btn-outline { background: var(--surface); color: var(--ink); border-color: var(--line-2); }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: #0b8580; color: #fff; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 40px; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(60% 80% at 88% 0%, rgba(47,75,255,.10), transparent 60%),
    radial-gradient(50% 70% at 0% 30%, rgba(14,165,160,.08), transparent 60%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 999px; font-size: .82rem; font-weight: 600; color: var(--ink-2); box-shadow: var(--shadow-sm); margin-bottom: 20px; }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-soft); }
.hero h1 { margin-bottom: 18px; }
.hero h1 .hl { color: var(--brand); }
.hero p.lead { max-width: 620px; margin-bottom: 26px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-note { margin-top: 18px; font-size: .85rem; color: var(--ink-3); }

.hero-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.stat-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); }
.stat-card .num { font-family: 'Manrope', sans-serif; font-size: 1.9rem; font-weight: 800; color: var(--brand); line-height: 1; letter-spacing: -.02em; }
.stat-card .lbl { font-size: .84rem; color: var(--ink-3); margin-top: 8px; }

/* ---------- Winner (Bidzaar) ---------- */
.winner {
  background: linear-gradient(135deg, #101a4d 0%, #1e2f8f 55%, #2f4bff 120%);
  color: #fff; border-radius: var(--radius-lg); padding: 40px; position: relative; overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.winner::after { content: ""; position: absolute; top: -120px; right: -80px; width: 360px; height: 360px; background: radial-gradient(circle, rgba(14,165,160,.35), transparent 65%); pointer-events: none; }
.winner-top { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 22px; position: relative; z-index: 1; }
.crown { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); padding: 7px 15px; border-radius: 999px; font-weight: 700; font-size: .82rem; letter-spacing: .02em; }
.winner-logo { width: 76px; height: 76px; border-radius: 20px; background: #fff; color: var(--brand); font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 2rem; display: grid; place-items: center; box-shadow: 0 12px 30px -12px rgba(0,0,0,.5); flex: none; }
.winner-head { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; position: relative; z-index: 1; margin-bottom: 22px; }
.winner-head h2 { color: #fff; margin: 0 0 4px; }
.winner-head .sub { color: rgba(255,255,255,.82); font-size: 1rem; }
.winner-score { text-align: center; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); border-radius: 18px; padding: 14px 22px; flex: none; }
.winner-score .v { font-family: 'Manrope', sans-serif; font-size: 3rem; font-weight: 800; line-height: 1; }
.winner-score .l { font-size: .78rem; color: rgba(255,255,255,.78); margin-top: 4px; }
.winner-desc { color: rgba(255,255,255,.92); font-size: 1.04rem; max-width: 760px; position: relative; z-index: 1; margin-bottom: 24px; }
.winner-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; position: relative; z-index: 1; margin-bottom: 26px; }
.wf { background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.16); border-radius: 14px; padding: 16px; }
.wf .n { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 1.15rem; color: #fff; margin-bottom: 4px; }
.wf .t { font-size: .8rem; color: rgba(255,255,255,.8); line-height: 1.4; }
.winner-cta { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }
.winner-cta .btn-primary { background: #fff; color: var(--brand); box-shadow: none; }
.winner-cta .btn-primary:hover { background: #eef1ff; color: var(--brand-dark); }
.winner-cta .btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.winner-cta .btn-outline:hover { background: rgba(255,255,255,.12); color: #fff; border-color: #fff; }

/* ---------- Rating grid (tiles — не строки, как в примере) ---------- */
.rating-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 22px; }
.rank-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); transition: all .2s ease; display: flex; flex-direction: column; }
.rank-card:hover { border-color: var(--line-2); transform: translateY(-3px); box-shadow: var(--shadow); }
.rank-card .rc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.rank-badge { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 1rem; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-2); color: var(--ink-2); }
.rank-card .rc-score { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 1.5rem; color: var(--brand); }
.rank-card h3 { margin-bottom: 6px; font-size: 1.2rem; }
.rank-card h3 a { color: var(--ink); }
.rank-card h3 a:hover { color: var(--brand); }
.rc-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.chip { font-size: .72rem; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--surface-2); color: var(--ink-3); border: 1px solid var(--line); }
.rc-rows { list-style: none; padding: 0; margin: 0 0 14px; }
.rc-rows li { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: .86rem; color: var(--ink-3); }
.rc-rows li:last-child { border-bottom: none; }
.rc-rows li b { color: var(--ink); font-weight: 700; text-align: right; }
.rc-bar { height: 6px; border-radius: 4px; background: var(--surface-2); overflow: hidden; margin-bottom: 14px; }
.rc-bar span { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--brand), #6d5cff); }
.rank-card .btn { margin-top: auto; padding: 10px 16px; font-size: .88rem; }

/* ---------- Comparison table (новая, не как на скриншоте) ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); }
table.cmp { width: 100%; border-collapse: collapse; min-width: 820px; font-size: .92rem; }
table.cmp th, table.cmp td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
table.cmp thead th { background: var(--surface-2); font-family: 'Manrope', sans-serif; font-weight: 700; font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); position: sticky; top: 0; }
table.cmp tbody th { font-weight: 700; color: var(--ink); background: #fbfcfe; width: 240px; }
table.cmp col.c-bid, table.cmp .col-bid { background: var(--brand-soft); }
table.cmp td.col-bid { color: var(--ink); font-weight: 600; }
table.cmp thead th.col-bid { background: var(--brand); color: #fff; }
table.cmp tr:last-child td, table.cmp tr:last-child th { border-bottom: none; }
.yes { color: var(--green); font-weight: 700; }
.no { color: var(--red); font-weight: 600; }
.part { color: var(--amber); font-weight: 600; }
.cmp-note { font-size: .82rem; color: var(--ink-3); margin-top: 12px; }

/* ---------- Feature cards ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); transition: all .2s ease; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-2); }
.card .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-size: 1.3rem; margin-bottom: 14px; }
.card.teal .ic { background: var(--teal-soft); color: var(--teal); }
.card h3, .card h4 { margin-bottom: 8px; }
.card p { font-size: .95rem; margin: 0; }
.crit-card { text-align: left; }
.crit-card .w { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 1.4rem; color: var(--brand); display: block; margin-bottom: 6px; }

/* ---------- Info / page content ---------- */
.page-hero { padding: 44px 0 12px; background: linear-gradient(180deg, var(--brand-soft), transparent); }
.crumbs { font-size: .85rem; color: var(--ink-3); margin-bottom: 14px; }
.crumbs a { color: var(--ink-2); }
.badge-1 { display: inline-flex; align-items: center; gap: 7px; background: var(--brand); color: #fff; font-weight: 700; font-size: .8rem; padding: 6px 14px; border-radius: 999px; margin-bottom: 14px; }
.article { max-width: 800px; margin: 0 auto; }
.article h2 { margin-top: 2.3rem; }
.article h3 { margin-top: 1.6rem; }
.article p, .article li { color: var(--ink-2); }
.factbox { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: var(--radius-sm); padding: 20px 24px; margin: 24px 0; box-shadow: var(--shadow-sm); }
.factbox .meta { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 10px; font-size: .92rem; color: var(--ink-2); }
.factbox .meta strong { color: var(--ink); }
.callout { background: var(--teal-soft); border: 1px solid #bfe9e5; border-radius: var(--radius-sm); padding: 18px 22px; margin: 24px 0; }
.callout strong { color: #0b6b67; }
.callout p { color: #0b5a56; margin: 0; }

.proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 24px 0; }
.proscons > div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow-sm); }
.proscons .pros { border-top: 3px solid var(--green); }
.proscons .cons { border-top: 3px solid var(--amber); }
.proscons h4 { font-family: 'Manrope', sans-serif; }
.proscons ul { list-style: none; padding: 0; margin: 0; }
.proscons li { padding: 9px 0 9px 26px; border-bottom: 1px solid var(--line); color: var(--ink-2); position: relative; font-size: .94rem; }
.proscons li:last-child { border-bottom: none; }
.proscons .pros li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }
.proscons .cons li::before { content: "–"; position: absolute; left: 2px; color: var(--amber); font-weight: 800; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 22px; margin-bottom: 12px; box-shadow: var(--shadow-sm); }
.faq details[open] { border-color: var(--line-2); }
.faq summary { cursor: pointer; font-family: 'Manrope', sans-serif; font-weight: 700; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 14px; font-size: 1.02rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand); font-size: 1.5rem; line-height: 1; flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 14px 0 0; color: var(--ink-2); }

/* ---------- CTA ---------- */
.cta {
  background: linear-gradient(135deg, #101a4d, #2f4bff);
  border-radius: var(--radius-lg); padding: 52px 44px; text-align: center; color: #fff; box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden;
}
.cta::before { content: ""; position: absolute; bottom: -100px; left: -60px; width: 300px; height: 300px; background: radial-gradient(circle, rgba(14,165,160,.35), transparent 65%); }
.cta h2 { color: #fff; position: relative; z-index: 1; }
.cta p { color: rgba(255,255,255,.9); max-width: 640px; margin: 0 auto 24px; position: relative; z-index: 1; }
.cta .btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }
.cta .btn-primary { background: #fff; color: var(--brand); box-shadow: none; }
.cta .btn-primary:hover { background: #eef1ff; color: var(--brand-dark); }
.cta .btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.cta .btn-outline:hover { background: rgba(255,255,255,.14); color: #fff; }

/* ---------- Footer ---------- */
.site-footer { background: #0d1220; color: #c3ccdd; padding: 56px 0 26px; margin-top: 20px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 36px; }
.foot-brand .brand { color: #fff; margin-bottom: 14px; }
.foot-brand p { color: #90a0bd; font-size: .9rem; max-width: 320px; }
.site-footer h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 14px; font-family: 'Manrope', sans-serif; }
.site-footer ul { list-style: none; padding: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: #90a0bd; font-size: .9rem; }
.site-footer a:hover { color: #fff; }
.foot-bottom { border-top: 1px solid #1c2438; padding-top: 22px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .82rem; color: #7c8aa8; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .winner-facts { grid-template-columns: repeat(2, 1fr); }
  .rating-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 720px) {
  .section { padding: 56px 0; }
  .nav { position: fixed; inset: 68px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--surface); border-bottom: 1px solid var(--line); padding: 8px; transform: translateY(-120%); opacity: 0; pointer-events: none; transition: all .22s ease; box-shadow: var(--shadow); }
  .nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav a { padding: 13px 16px; border-radius: 10px; }
  .nav .nav-cta { text-align: center; margin-top: 4px; }
  .burger { display: grid; place-items: center; }
  .winner { padding: 26px; }
  .winner-head { grid-template-columns: 1fr; }
  .winner-score { justify-self: start; }
  .grid-2, .grid-3, .grid-4, .rating-grid { grid-template-columns: 1fr; }
  .proscons { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .cta { padding: 36px 22px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-bottom { flex-direction: column; }
}
@media (max-width: 420px) {
  .hero-stats { grid-template-columns: 1fr; }
  .winner-facts { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
}
