/* ============================================================
   SMARTNEST — дизайн-система
   Тёмная тема, бирюзовый акцент, современная типографика
   ============================================================ */

:root {
  --bg: #070b12;
  --bg-soft: #0c1220;
  --bg-card: #111a2c;
  --bg-card-hover: #16223a;
  --line: rgba(120, 200, 255, 0.12);
  --line-strong: rgba(120, 200, 255, 0.28);

  --accent: #38e0c0;
  --accent-2: #2f8dff;
  --accent-gradient: linear-gradient(120deg, #38e0c0, #2f8dff);

  --text: #e6f1ff;
  --text-muted: #9db1cc;
  --text-dim: #6b7f9c;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);

  --container: 1160px;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
  position: relative;
}

.section--soft {
  background: var(--bg-soft);
}

/* ---------- Типографика ---------- */

h1, h2, h3, h4 {
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  margin-bottom: 16px;
}

.section-sub {
  color: var(--text-muted);
  font-size: 17px;
  max-width: 620px;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 56px;
}

.section-head--center {
  align-items: center;
  text-align: center;
}

.section-head--center .section-sub {
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--accent-gradient);
  border-radius: 2px;
}

.grad {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---------- Кнопки ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.btn--primary {
  background: var(--accent-gradient);
  color: #04211c;
  box-shadow: 0 10px 30px rgba(56, 224, 192, 0.25);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(56, 224, 192, 0.35);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line-strong);
}

.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

/* ---------- Шапка ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 11, 18, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}

.logo__mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--accent-gradient);
  display: grid;
  place-items: center;
  font-size: 18px;
  color: #04211c;
}

.logo:hover {
  color: var(--text);
}

.nav {
  display: flex;
  gap: 32px;
}

.nav a {
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav a:hover,
.nav a.active {
  color: var(--accent);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.burger span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 120px 0 140px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(700px 400px at 75% 20%, rgba(47, 141, 255, 0.22), transparent 60%),
    radial-gradient(600px 380px at 15% 80%, rgba(56, 224, 192, 0.16), transparent 60%),
    radial-gradient(900px 600px at 50% 110%, rgba(20, 40, 80, 0.7), transparent 70%);
}

.hero__grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero__title {
  font-size: clamp(36px, 5.4vw, 60px);
  margin-bottom: 20px;
}

.hero__text {
  color: var(--text-muted);
  font-size: 18px;
  max-width: 540px;
  margin-bottom: 36px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__stats {
  display: flex;
  gap: 40px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.hero__stat-value {
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
}

.hero__stat-label {
  color: var(--text-dim);
  font-size: 13px;
}

/* Hero-визуал */

.hero__visual {
  position: relative;
}

.hero__phone {
  position: relative;
  border-radius: 28px;
  padding: 24px;
  background: linear-gradient(160deg, rgba(22, 34, 58, 0.9), rgba(12, 18, 32, 0.95));
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
}

.phone__status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--text-dim);
}

.phone__status strong {
  color: var(--text);
}

.device-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px 0;
}

.device {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
}

.device__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 18px;
  background: rgba(56, 224, 192, 0.12);
}

.device--accent .device__icon {
  background: rgba(47, 141, 255, 0.16);
}

.device__name {
  font-size: 14px;
  font-weight: 600;
}

.device__meta {
  font-size: 12px;
  color: var(--text-dim);
}

.device__toggle {
  margin-left: auto;
  width: 40px;
  height: 22px;
  border-radius: 999px;
  background: var(--accent-gradient);
  position: relative;
  flex: 0 0 auto;
}

.device__toggle::after {
  content: "";
  position: absolute;
  top: 3px;
  right: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
}

.phone__chart {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.chart__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-dim);
  margin-bottom: 8px;
}

.chart__row b {
  color: var(--text);
}

.chart__bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 64px;
}

.chart__bars i {
  flex: 1;
  background: var(--accent-gradient);
  border-radius: 6px 6px 2px 2px;
  opacity: 0.85;
  height: 40%;
}

.chart__bars i:nth-child(2) { height: 65%; }
.chart__bars i:nth-child(3) { height: 50%; }
.chart__bars i:nth-child(4) { height: 82%; }
.chart__bars i:nth-child(5) { height: 60%; }
.chart__bars i:nth-child(6) { height: 90%; }
.chart__bars i:nth-child(7) { height: 72%; }

.hero__card {
  position: absolute;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero__card--wifi {
  top: -18px;
  right: -10px;
  color: var(--accent);
  font-weight: 700;
}

.hero__card--mesh {
  bottom: 8px;
  left: -28px;
}

.mesh-dots {
  display: flex;
  gap: 4px;
}

.mesh-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.mesh-dots i:nth-child(2) { opacity: 0.6; }
.mesh-dots i:nth-child(3) { opacity: 0.3; }

/* ---------- Ленты-палочки: преимущества ---------- */

.trust {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 40px 0;
}

.trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.trust__item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.trust__icon {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 20px;
  background: rgba(56, 224, 192, 0.1);
  border: 1px solid var(--line);
}

.trust__text b {
  display: block;
  font-size: 15px;
}

.trust__text span {
  font-size: 13px;
  color: var(--text-dim);
}

/* ---------- Услуги ---------- */

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  position: relative;
  padding: 32px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--line);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  background: var(--bg-card-hover);
}

.service-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 26px;
  margin-bottom: 22px;
  background: rgba(56, 224, 192, 0.1);
  border: 1px solid var(--line);
}

.service-card__title {
  font-size: 20px;
  margin-bottom: 12px;
}

.service-card__text {
  color: var(--text-muted);
  font-size: 15px;
}

.service-card__list {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-card__list li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
}

.service-card__list li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 700;
}

.service-card--wide {
  grid-column: 1 / -1;
}

.service-card__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}

.service-card__price {
  flex-shrink: 0;
  text-align: right;
  background: rgba(56, 224, 192, 0.1);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px 20px;
}

.service-card__price b {
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
  display: block;
  line-height: 1.1;
}

.service-card__price span {
  font-size: 13px;
  color: var(--text-muted);
}

.service-card__note {
  margin-top: 18px;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(255, 183, 77, 0.08);
  border: 1px solid rgba(255, 183, 77, 0.3);
  font-size: 14px;
  color: var(--text-muted);
}

.service-card__note b {
  color: var(--text);
  font-weight: 600;
}

/* ---------- Процесс ---------- */

.process__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 28px 24px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--line);
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: 20px;
  right: 22px;
  font-size: 40px;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1px rgba(120, 200, 255, 0.3);
}

.step__num {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.step__title {
  font-size: 17px;
  margin-bottom: 10px;
}

.step__text {
  color: var(--text-muted);
  font-size: 14px;
}

/* ---------- Гарантии / почему мы ---------- */

.why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why__item {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--line);
  transition: border-color 0.25s ease;
}

.why__item:hover {
  border-color: var(--line-strong);
}

.why__icon {
  font-size: 30px;
  margin-bottom: 16px;
}

.why__title {
  font-size: 18px;
  margin-bottom: 10px;
}

.why__text {
  color: var(--text-muted);
  font-size: 14px;
}

/* ---------- Блог ---------- */

.blog__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.post-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.post-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
}

.post-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  font-size: 44px;
  background:
    radial-gradient(120px 80px at 30% 20%, rgba(56, 224, 192, 0.25), transparent 60%),
    radial-gradient(140px 90px at 80% 80%, rgba(47, 141, 255, 0.25), transparent 60%),
    var(--bg-soft);
  border-bottom: 1px solid var(--line);
}

.post-card__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(7, 11, 18, 0.7);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line-strong);
}

.post-card__body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.post-card__meta {
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.post-card__title {
  font-size: 17px;
  line-height: 1.35;
}

.post-card__title a {
  color: var(--text);
  transition: color 0.2s ease;
}

.post-card__title a:hover {
  color: var(--accent);
}

.post-card__excerpt {
  font-size: 14px;
  color: var(--text-muted);
  flex: 1;
}

.post-card__link {
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}

.post-card__link::after {
  content: "→";
  transition: transform 0.2s ease;
}

.post-card:hover .post-card__link::after {
  transform: translateX(4px);
}

/* ---------- CTA ---------- */

.cta {
  padding: 96px 0;
}

.cta__box {
  position: relative;
  border-radius: 24px;
  padding: 64px;
  text-align: center;
  background: linear-gradient(140deg, rgba(56, 224, 192, 0.14), rgba(47, 141, 255, 0.14));
  border: 1px solid var(--line-strong);
  overflow: hidden;
}

.cta__box::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 60% 80% at 50% 50%, #000, transparent 70%);
  mask-image: radial-gradient(ellipse 60% 80% at 50% 50%, #000, transparent 70%);
  pointer-events: none;
}

.cta__title {
  font-size: clamp(26px, 3.6vw, 40px);
  margin-bottom: 14px;
  position: relative;
}

.cta__text {
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 32px;
  position: relative;
  font-size: 17px;
}

.cta__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* ---------- Форма ---------- */

.contact {
  padding: 96px 0;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact__row {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text-muted);
  font-size: 15px;
}

.contact__row b {
  color: var(--text);
}

.contact__icon {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(56, 224, 192, 0.1);
  border: 1px solid var(--line);
}

.form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.form input,
.form textarea,
.form select {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  transition: border-color 0.2s ease;
}

.form input:focus,
.form textarea:focus,
.form select:focus {
  outline: none;
  border-color: var(--accent);
}

.form textarea {
  resize: vertical;
  min-height: 110px;
}

.form__note {
  font-size: 12px;
  color: var(--text-dim);
}

.form__success {
  display: none;
  padding: 20px;
  border-radius: var(--radius-sm);
  background: rgba(56, 224, 192, 0.1);
  border: 1px solid rgba(56, 224, 192, 0.4);
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
}

.form.is-sent form {
  display: none;
}

.form.is-sent .form__success {
  display: block;
}

/* ---------- Подвал ---------- */

.footer {
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 64px 0 32px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer__brand p {
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 16px;
  max-width: 320px;
}

.footer__title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin-bottom: 18px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__links a {
  color: var(--text-muted);
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer__links a:hover {
  color: var(--accent);
}

.footer__bottom {
  border-top: 1px solid var(--line);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--text-dim);
  font-size: 13px;
}

/* ---------- Статьи ---------- */

.article-hero {
  padding: 80px 0 48px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}

.article-hero__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 20px;
}

.article-hero__meta .tag {
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(56, 224, 192, 0.1);
  border: 1px solid var(--line-strong);
  color: var(--accent);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.article-hero h1 {
  font-size: clamp(30px, 4.6vw, 48px);
  max-width: 800px;
}

.article-hero__excerpt {
  color: var(--text-muted);
  font-size: 18px;
  max-width: 680px;
  margin-top: 18px;
}

.article__layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 56px;
  padding: 64px 0 96px;
}

.article__toc {
  position: sticky;
  top: 96px;
  align-self: start;
  font-size: 14px;
}

.article__toc-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-bottom: 16px;
}

.article__toc ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-left: 1px solid var(--line);
}

.article__toc a {
  color: var(--text-muted);
  padding-left: 16px;
  margin-left: -1px;
  border-left: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
  line-height: 1.4;
}

.article__toc a:hover {
  color: var(--accent);
  border-left-color: var(--accent);
}

.article__content {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 720px;
}

.article__content h2 {
  color: var(--text);
  font-size: 26px;
  margin: 48px 0 16px;
  scroll-margin-top: 96px;
}

.article__content h3 {
  color: var(--text);
  font-size: 20px;
  margin: 32px 0 12px;
}

.article__content p {
  margin-bottom: 18px;
}

.article__content ul,
.article__content ol {
  margin: 0 0 20px;
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.article__content ul {
  list-style: disc;
}

.article__content ol {
  list-style: decimal;
}

.article__content li::marker {
  color: var(--accent);
}

.article__content strong {
  color: var(--text);
}

.article__content a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.callout {
  border-left: 3px solid var(--accent);
  background: rgba(56, 224, 192, 0.08);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 20px 24px;
  margin: 28px 0;
  color: var(--text);
}

.callout--blue {
  border-left-color: var(--accent-2);
  background: rgba(47, 141, 255, 0.08);
}

.callout p {
  margin: 0;
}

.callout p + p {
  margin-top: 10px;
}

.chart-inline {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  margin: 28px 0;
}

.chart-inline__row {
  display: grid;
  grid-template-columns: 140px 1fr 70px;
  gap: 16px;
  align-items: center;
  font-size: 14px;
}

.chart-inline__bar {
  height: 12px;
  border-radius: 999px;
  background: var(--bg-soft);
  overflow: hidden;
}

.chart-inline__bar i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--accent-gradient);
}

.chart-inline__value {
  text-align: right;
  color: var(--text);
  font-weight: 700;
}

.article__table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  font-size: 14px;
}

.article__table th,
.article__table td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}

.article__table th {
  color: var(--accent);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.article__table td {
  color: var(--text-muted);
}

.article__tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.article__tags span {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 13px;
  color: var(--text-dim);
}

.article__nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}

.article__nav a {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--line);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.article__nav a:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
}

.article__nav span {
  font-size: 12px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.article__nav b {
  color: var(--text);
  font-size: 15px;
}

/* ---------- Анимации ---------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Адаптив ---------- */

@media (max-width: 1024px) {
  .services__grid,
  .why__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero__inner {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    max-width: 420px;
  }

  .article__layout {
    grid-template-columns: 1fr;
  }

  .article__toc {
    position: static;
    display: none;
  }

  .contact__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .section {
    padding: 64px 0;
  }

  .nav {
    position: fixed;
    inset: 72px 0 auto 0;
    flex-direction: column;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 24px;
    gap: 20px;
    transform: translateY(-120%);
    transition: transform 0.3s ease;
  }

  .nav.is-open {
    transform: none;
  }

  .burger {
    display: flex;
  }

  .header .btn {
    display: none;
  }

  .services__grid,
  .why__grid,
  .blog__grid,
  .process__grid,
  .trust__grid {
    grid-template-columns: 1fr;
  }

  .service-card__head {
    flex-direction: column;
    gap: 16px;
  }

  .service-card__price {
    text-align: left;
  }

  .hero {
    padding: 72px 0 96px;
  }

  .hero__stats {
    gap: 24px;
    flex-wrap: wrap;
  }

  .form__row {
    grid-template-columns: 1fr;
  }

  .cta__box {
    padding: 40px 24px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }

  .article__nav {
    grid-template-columns: 1fr;
  }

  .chart-inline__row {
    grid-template-columns: 100px 1fr 50px;
  }
}

/* ============================================================
   Доп. секции: сертификация, проекты, активность, отзывы, Q&A
   ============================================================ */

/* ---------- Сертификация ---------- */

.certs__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.certs__counter {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 26px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--line);
}

.certs__counter-value {
  font-size: 34px;
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

.certs__counter-text {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
}

.certs__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.cert-group {
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: 28px;
}

.cert-group__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  margin-bottom: 20px;
}

.cert-group__title span {
  font-size: 20px;
}

.cert-group__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cert-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
}

.cert-item__icon {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-size: 17px;
  background: rgba(56, 224, 192, 0.1);
}

.cert-item__name {
  font-size: 14px;
  font-weight: 600;
}

.cert-item__org {
  font-size: 12px;
  color: var(--text-dim);
}

.cert-item__check {
  margin-left: auto;
  color: var(--accent);
  font-weight: 700;
}

.certs__note {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 20px 24px;
  border-radius: var(--radius);
  background: rgba(47, 141, 255, 0.08);
  border: 1px solid var(--line-strong);
  color: var(--text-muted);
  font-size: 14px;
}

.certs__note b {
  color: var(--text);
}

/* ---------- Проекты и активность ---------- */

.projects__layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: start;
}

.projects__grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.project-card {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--line);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.project-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
}

.project-card__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 12px;
}

.project-card__title {
  font-size: 18px;
}

.project-card__sub {
  font-size: 13px;
  color: var(--text-dim);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.badge--done {
  color: var(--accent);
  background: rgba(56, 224, 192, 0.1);
  border: 1px solid rgba(56, 224, 192, 0.3);
}

.badge--work {
  color: #ffd166;
  background: rgba(255, 209, 102, 0.1);
  border: 1px solid rgba(255, 209, 102, 0.3);
}

.badge--live {
  color: #ff8fa3;
  background: rgba(255, 143, 163, 0.1);
  border: 1px solid rgba(255, 143, 163, 0.3);
}

.project-card__meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.chip {
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 12px;
  color: var(--text-muted);
}

.project-card__progress {
  display: flex;
  align-items: center;
  gap: 14px;
}

.progress {
  flex: 1;
  height: 8px;
  border-radius: 999px;
  background: var(--bg-soft);
  overflow: hidden;
}

.progress i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--accent-gradient);
}

.project-card__percent {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}

/* Живая лента активности */

.activity {
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: 26px;
}

.activity__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.activity__title {
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.live-dot {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}

.live-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  animation: pulse 1.8s ease-out infinite;
}

@keyframes pulse {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}

.activity__live {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.activity__list {
  display: flex;
  flex-direction: column;
  position: relative;
}

.activity__list::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--line);
}

.activity__item {
  position: relative;
  display: flex;
  gap: 14px;
  padding: 12px 0;
}

.activity__dot {
  position: relative;
  z-index: 1;
  width: 23px;
  height: 23px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--bg-soft);
  border: 2px solid var(--accent);
  display: grid;
  place-items: center;
  font-size: 10px;
}

.activity__item--blue .activity__dot {
  border-color: var(--accent-2);
}

.activity__text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.45;
}

.activity__text b {
  color: var(--text);
}

.activity__time {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  color: var(--text-dim);
}

/* ---------- Отзывы ---------- */

.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--line);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.review-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-4px);
}

.review-card__head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.review-card__avatar {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 20px;
  background: var(--accent-gradient);
  color: #04211c;
  font-weight: 800;
}

.review-card__name {
  font-size: 15px;
  font-weight: 700;
}

.review-card__meta {
  font-size: 12px;
  color: var(--text-dim);
}

.stars {
  color: #ffd166;
  letter-spacing: 2px;
  font-size: 15px;
}

.review-card__text {
  color: var(--text-muted);
  font-size: 14px;
  flex: 1;
}

.review-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-dim);
}

.review-card__source {
  color: var(--accent);
}

/* ---------- Вопрос-ответ (активность общения) ---------- */

.qa__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.qa__item {
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: 24px;
}

.qa__question {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.qa__avatar {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 700;
  background: rgba(47, 141, 255, 0.15);
  color: var(--accent-2);
}

.qa__q-text {
  font-size: 15px;
  color: var(--text);
}

.qa__q-meta {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 4px;
}

.qa__answer {
  margin-top: 16px;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: rgba(56, 224, 192, 0.06);
  border-left: 3px solid var(--accent);
  font-size: 14px;
  color: var(--text-muted);
}

.qa__answer b {
  color: var(--accent);
  font-size: 13px;
  display: block;
  margin-bottom: 6px;
}

.qa__all {
  display: flex;
  justify-content: center;
}

/* ---------- Комментарии на статьях ---------- */

.comments {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

.comments__title {
  font-size: 20px;
  margin-bottom: 24px;
}

.comment {
  display: flex;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.comment__avatar {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 16px;
  font-weight: 700;
  background: rgba(47, 141, 255, 0.15);
  color: var(--accent-2);
}

.comment__name {
  font-size: 14px;
  font-weight: 700;
}

.comment__date {
  font-size: 12px;
  color: var(--text-dim);
}

.comment__text {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 6px;
}

.comment__form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  margin-top: 24px;
}

/* ---------- Акция / ограниченное предложение ---------- */

.promo {
  padding: 72px 0;
}

.promo__box {
  position: relative;
  border-radius: 24px;
  padding: 48px;
  overflow: hidden;
  background:
    radial-gradient(400px 220px at 85% 20%, rgba(255, 209, 102, 0.12), transparent 60%),
    radial-gradient(500px 260px at 10% 90%, rgba(56, 224, 192, 0.12), transparent 60%),
    linear-gradient(140deg, rgba(22, 34, 58, 0.95), rgba(12, 18, 32, 0.98));
  border: 1px solid var(--line-strong);
}

.promo__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: center;
}

.promo__title {
  font-size: clamp(24px, 3.4vw, 34px);
  margin-bottom: 14px;
}

.promo__text {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 24px;
}

.promo__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.promo__list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--text-muted);
}

.promo__list li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 700;
}

.promo__counter {
  display: inline-flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 24px;
  border-radius: var(--radius);
  background: rgba(255, 209, 102, 0.08);
  border: 1px solid rgba(255, 209, 102, 0.3);
  margin-bottom: 24px;
}

.promo__counter-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.promo__counter-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.promo__counter-num {
  font-size: 18px;
  font-weight: 800;
  color: #ffd166;
}

.promo__counter-bar {
  height: 6px;
  border-radius: 999px;
  background: var(--bg-soft);
  overflow: hidden;
}

.promo__counter-bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #ffd166, #ff8fa3);
}

.promo__timer {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
}

.promo__timer-item {
  text-align: center;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  min-width: 64px;
}

.promo__timer-item b {
  display: block;
  font-size: 22px;
  color: var(--text);
}

.promo__timer-item span {
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.promo__cta {
  text-align: center;
}

@media (max-width: 1024px) {
  .certs__grid {
    grid-template-columns: 1fr;
  }

  .projects__layout {
    grid-template-columns: 1fr;
  }

  .reviews__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .promo__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .reviews__grid,
  .qa__grid {
    grid-template-columns: 1fr;
  }

  .promo__box {
    padding: 32px 22px;
  }

  .comment__form {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Страницы примеров проектов (смета, спецификация)
   ============================================================ */

.proj-params {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 32px 0;
}

.param {
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--line);
}

.param__label {
  font-size: 12px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 6px;
}

.param__value {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}

.spec-group {
  margin: 28px 0;
}

.spec-group__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  margin-bottom: 14px;
  padding-top: 8px;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.spec-table th,
.spec-table td {
  text-align: left;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.spec-table th {
  color: var(--accent);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(56, 224, 192, 0.04);
}

.spec-table td.num,
.spec-table th.num {
  text-align: right;
  white-space: nowrap;
}

.spec-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.spec-table a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.spec-table a:hover {
  text-decoration: underline;
}

.spec-table .table-link {
  font-size: 13px;
  white-space: nowrap;
}

/* ---------- Таблица проектов (главная) ---------- */

.proj-table {
  margin-top: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(600px 180px at 90% -10%, rgba(47, 141, 255, 0.12), transparent 60%),
    radial-gradient(400px 140px at 5% 110%, rgba(56, 224, 192, 0.08), transparent 60%),
    var(--bg-card);
  overflow: hidden;
  box-shadow: 0 24px 60px -32px rgba(0, 0, 0, 0.8);
}

.proj-table__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 24px 28px 6px;
  flex-wrap: wrap;
}

.proj-table__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
}

.proj-table__title .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(56, 224, 192, 0.8);
  flex-shrink: 0;
}

.proj-table__hint {
  font-size: 13px;
  color: var(--text-dim);
}

.proj-table table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 14px;
}

.proj-table th,
.proj-table td {
  text-align: left;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
  overflow-wrap: break-word;
}

.proj-table th:nth-child(1),
.proj-table td:nth-child(1) { width: 38%; }
.proj-table th:nth-child(2),
.proj-table td:nth-child(2) { width: 32%; }
.proj-table th:nth-child(3),
.proj-table td:nth-child(3) { width: 18%; }
.proj-table th:nth-child(4),
.proj-table td:nth-child(4) { width: 12%; }

.proj-table th {
  color: var(--text-dim);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding-top: 12px;
  padding-bottom: 10px;
  background: rgba(56, 224, 192, 0.03);
}

.proj-table tbody tr {
  transition: background 0.2s ease, transform 0.2s ease;
}

.proj-table tbody tr:hover {
  background: rgba(56, 224, 192, 0.05);
}

.proj-table tbody tr:last-child td {
  border-bottom: none;
}

.proj-table__name {
  display: flex;
  align-items: baseline;
  gap: 8px 10px;
  flex-wrap: wrap;
  min-width: 0;
  line-height: 1.35;
}

.proj-table__name a {
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  min-width: 0;
}

.proj-table__name a:hover {
  color: var(--accent);
}

.proj-table__sub {
  display: block;
  font-size: 13px;
  color: var(--text-dim);
  font-weight: 400;
  margin-top: 3px;
}

.proj-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-left: 10px;
  vertical-align: 2px;
  white-space: nowrap;
}

.proj-tag--blue { background: rgba(47, 141, 255, 0.14); color: #7cb8ff; }
.proj-tag--green { background: rgba(56, 224, 192, 0.14); color: var(--accent); }
.proj-tag--gold { background: rgba(255, 209, 102, 0.14); color: #ffd166; }
.proj-tag--red { background: rgba(255, 99, 132, 0.14); color: #ff809d; }

.proj-table__compose {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.45;
}

.proj-table__price {
  color: var(--accent);
  font-weight: 800;
  font-size: 15px;
  text-align: right;
}

.proj-table__price small {
  display: block;
  font-size: 11px;
  color: var(--text-dim);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 2px;
}

.proj-table__link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.proj-table__link:hover {
  color: var(--accent);
}

.proj-table th.num,
.proj-table td.num {
  text-align: right;
}

@media (max-width: 720px) {
  .proj-table th,
  .proj-table td {
    padding: 12px 12px;
  }

  .proj-table th:nth-child(1),
  .proj-table td:nth-child(1) { width: 44%; }
  .proj-table th:nth-child(2),
  .proj-table td:nth-child(2) { width: 0; }
  .proj-table th:nth-child(3),
  .proj-table td:nth-child(3) { width: 32%; }
  .proj-table th:nth-child(4),
  .proj-table td:nth-child(4) { width: 24%; }

  .proj-table__compose {
    display: none;
  }

  .proj-table__price small {
    display: none;
  }

  .proj-table__head {
    padding: 20px 16px 4px;
  }
}

.total-card {
  margin: 32px 0;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  overflow: hidden;
}

.total-card__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 18px 26px;
  border-bottom: 1px solid var(--line);
}

.total-card__row:last-child {
  border-bottom: none;
}

.total-card__row--sum {
  background: var(--accent-gradient);
  color: #04211c;
}

.total-card__row--sum .total-card__label,
.total-card__row--sum .total-card__value {
  color: #04211c;
}

.total-card__label {
  font-size: 15px;
  color: var(--text-muted);
}

.total-card__label small {
  display: block;
  font-size: 12px;
  color: var(--text-dim);
}

.total-card__value {
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
}

.bar-cmp {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 24px 0 32px;
}

.bar-cmp__row {
  display: grid;
  grid-template-columns: 220px 1fr 120px;
  gap: 16px;
  align-items: center;
  font-size: 14px;
}

.bar-cmp__name {
  color: var(--text-muted);
}

.bar-cmp__track {
  height: 14px;
  border-radius: 999px;
  background: var(--bg-soft);
  overflow: hidden;
}

.bar-cmp__track i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--accent-gradient);
}

.bar-cmp__value {
  text-align: right;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}

.price-note {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  background: rgba(255, 209, 102, 0.07);
  border: 1px solid rgba(255, 209, 102, 0.25);
  color: var(--text-muted);
  font-size: 13px;
  margin: 24px 0;
}

.price-note b {
  color: var(--text);
}

.proj-cross {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}

.proj-cross__card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--line);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.proj-cross__card:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
}

.proj-cross__tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.proj-cross__card b {
  font-size: 18px;
}

.proj-cross__card span {
  font-size: 14px;
  color: var(--text-muted);
}

@media (max-width: 1024px) {
  .proj-params {
    grid-template-columns: repeat(2, 1fr);
  }

  .bar-cmp__row {
    grid-template-columns: 140px 1fr 90px;
  }
}

@media (max-width: 720px) {
  .proj-params {
    grid-template-columns: 1fr 1fr;
  }

  .spec-table {
    font-size: 13px;
  }

  .spec-table th,
  .spec-table td {
    padding: 9px 8px;
  }

  .bar-cmp__row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .bar-cmp__value {
    text-align: left;
  }

  .proj-cross {
    grid-template-columns: 1fr;
  }
}
