﻿/* Aoteck — dark black design system */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  --accent: #ffffff;
  --accent-dark: #e5e5e5;
  --accent-hover: #d4d4d4;
  --accent-muted: rgba(255, 255, 255, 0.08);
  --green: #ffffff;
  --green-dark: #e5e5e5;
  --green-hover: #e5e5e5;
  --green-light: rgba(255, 255, 255, 0.08);
  --btn-text: #0a0a0a;
  --text: #e8e8ec;
  --text-muted: #9ca3af;
  --text-light: #6b7280;
  --link: #ffffff;
  --border: #2a2a2a;
  --border-light: #222222;
  --bg: #111111;
  --bg-page: #0a0a0a;
  --bg-soft: #161616;
  --price: #f3f4f6;
  --star: #f6ad55;
  --shadow: 0 2px 16px rgba(0,0,0,0.35);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.45);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 999px;
  --success: #48bb78;
  --danger: #fc8181;
}

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

body {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 14px;
  color: var(--text);
  background: var(--bg-page);
  line-height: 1.5;
}

a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.wrap--narrow { max-width: 980px; }

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 12px; top: 12px; z-index: 999; background: #fff; padding: 8px; border-radius: var(--radius-sm); }

/* ── REG.RU шапка ── */
.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 0 rgba(0,0,0,0.04);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  flex-wrap: wrap;
}

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand__logo { width: 44px; height: 44px; border-radius: var(--radius-md); object-fit: cover; }
.brand__name { display: block; font-size: 22px; font-weight: 700; color: var(--green); line-height: 1.1; }
.brand__tld { color: var(--text); }
.brand__sub { display: block; font-size: 11px; color: var(--text-muted); margin-top: 2px; }

.site-nav { display: flex; align-items: center; gap: 6px 20px; flex-wrap: wrap; font-size: 14px; }
.site-nav #navAuth {
  display: flex;
  align-items: center;
  gap: 6px 16px;
  margin-left: 28px;
}
.site-nav a { color: var(--text); font-weight: 500; }
.site-nav a.is-active { color: var(--green-dark); font-weight: 700; }
.site-nav a:hover { text-decoration: none; color: var(--green); }

.site-header__cta {
  display: inline-block;
  padding: 10px 20px;
  background: var(--green);
  color: var(--btn-text) !important;
  font-weight: 700;
  font-size: 13px;
  border-radius: var(--radius-full);
  text-decoration: none !important;
  white-space: nowrap;
}
.site-header__cta:hover { background: var(--green-hover); text-decoration: none !important; }

.site-header__contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  font-size: 12px;
  line-height: 1.35;
}

.site-header__contacts a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  white-space: nowrap;
  text-decoration: none;
}

.site-header__contacts img {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  opacity: 0.9;
}

.site-header__contacts a:hover { color: var(--green); text-decoration: none; }

.lang-switch {
  display: flex;
  gap: 2px;
  background: var(--bg-soft);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  padding: 3px;
  flex-shrink: 0;
}

.lang-switch button {
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
  padding: 6px 11px;
  border-radius: var(--radius-full);
  cursor: pointer;
  font-family: inherit;
  letter-spacing: 0.03em;
  transition: background 0.15s, color 0.15s;
}

.lang-switch button:hover { color: var(--text); }

.lang-switch button.is-active {
  background: var(--accent);
  color: var(--btn-text);
}

/* ── REG.RU promo strip ── */
.promo-strip {
  background: #ffffff;
  color: var(--btn-text);
  font-size: 13px;
  text-align: center;
  padding: 8px 16px;
}
.promo-strip a { color: var(--btn-text); font-weight: 700; text-decoration: underline; }

/* ── REG.RU hero (цена сверху) ── */
.reg-page-hero {
  background: var(--bg);
  border-radius: var(--radius-xl);
  padding: 40px 32px 36px;
  margin: 24px 0 20px;
  box-shadow: var(--shadow);
  text-align: center;
}

.reg-page-hero__price {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.reg-page-hero__price strong {
  font-size: 48px;
  font-weight: 700;
  color: var(--price);
  letter-spacing: -1px;
}
.reg-page-hero__price span { font-size: 20px; }

.reg-page-hero h1 {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.25;
  max-width: 720px;
  margin: 0 auto 16px;
}

.reg-page-hero__sub {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 28px;
  line-height: 1.6;
}

.reg-page-hero__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── REG.RU 3 преимущества под hero ── */
.reg-features-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.reg-feature-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  box-shadow: var(--shadow);
}

.reg-feature-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  object-fit: cover;
  margin-bottom: 14px;
}

.reg-feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.reg-feature-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ── REG.RU секции ── */
.reg-section {
  background: var(--bg);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
}

.reg-section__title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
  text-align: center;
}

.reg-section__lead {
  font-size: 14px;
  color: var(--text-muted);
  text-align: center;
  max-width: 560px;
  margin: 0 auto 24px;
}

.reg-section__more {
  text-align: center;
  margin-top: 16px;
  font-size: 13px;
}

/* ── REG.RU табы тарифов ── */
.reg-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.reg-tabs button {
  padding: 10px 20px;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  color: var(--text);
}

.reg-tabs button.is-active {
  background: var(--green);
  border-color: var(--green);
  color: var(--btn-text);
}

/* ── REG.RU тарифные карточки ── */
.reg-pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.reg-pricing-grid--3 { grid-template-columns: repeat(3, 1fr); }

.reg-pricing-grid--center {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.reg-contacts-block { text-align: center; }

.reg-contacts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 720px;
  margin: 0 auto;
}

.reg-contact-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 18px;
  background: var(--bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  text-decoration: none !important;
  transition: border-color 0.2s, transform 0.2s;
  align-items: center;
}

.reg-contact-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.reg-contact-card__icon img {
  width: 22px;
  height: 22px;
}

.reg-contact-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.reg-contact-card__label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.reg-contact-card strong {
  font-size: 15px;
  color: var(--text);
}

.tariff-card {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 22px 18px;
  background: var(--bg);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}

.tariff-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }

.tariff-card--hit {
  border: 2px solid var(--accent);
  background: linear-gradient(180deg, #1a1a1a 0%, var(--bg) 100%);
}

.tariff-card__badge {
  position: absolute;
  top: -1px;
  right: 16px;
  background: var(--green);
  color: var(--btn-text);
  font-size: 10px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.tariff-card__name { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.tariff-card__desc { font-size: 12px; color: var(--text-muted); margin-bottom: 16px; min-height: 48px; flex: 1; line-height: 1.5; }
.tariff-card__price { font-size: 28px; font-weight: 700; margin-bottom: 4px; }
.tariff-card__price span { font-size: 13px; font-weight: 400; color: var(--text-muted); }
.tariff-card__setup { font-size: 12px; color: var(--green-dark); margin-bottom: 16px; font-weight: 600; }

.tariff-card__list {
  list-style: none;
  margin: 16px 0;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
  font-size: 12px;
  flex: 1;
}

.tariff-card__list li {
  padding: 5px 0 5px 18px;
  position: relative;
  color: var(--text-muted);
}

.tariff-card__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

/* ── REG.RU CTA-баннер ── */
.reg-cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 28px 32px;
  background: linear-gradient(135deg, #111111 0%, #161616 100%);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  margin-bottom: 20px;
  box-shadow: var(--shadow);
}

.reg-cta-banner p { font-size: 15px; line-height: 1.5; }
.reg-cta-banner p strong { display: block; font-size: 17px; margin-bottom: 4px; color: var(--text); }

.reg-cta-banner--dark {
  background: linear-gradient(135deg, #0a0a0a 0%, #111111 100%);
  border: 1px solid var(--accent);
  color: #fff;
}
.reg-cta-banner--dark p,
.reg-cta-banner--dark p strong { color: #fff; }

.reg-cta-banner--contact {
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 36px 32px;
  background: var(--bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
}

.reg-cta-banner__text strong {
  display: block;
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.reg-cta-banner__text span {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

.reg-cta-banner__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.reg-cta-banner__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  color: var(--text) !important;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none !important;
  transition: border-color 0.2s;
}

.reg-cta-banner__link:hover {
  border-color: var(--accent);
  text-decoration: none !important;
}

.reg-cta-banner__link img {
  width: 16px;
  height: 16px;
}

/* ── REG.RU trust ── */
.reg-trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}

.reg-trust__item {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 24px 16px;
  text-align: center;
  box-shadow: var(--shadow);
}

.reg-trust__item strong {
  display: block;
  font-size: 32px;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 4px;
}

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

/* ── REG.RU split-баннеры (текст + картинка) ── */
.reg-split-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: center;
  background: var(--bg);
  border-radius: var(--radius-xl);
  padding: 32px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.reg-split-banner--reverse { direction: rtl; }
.reg-split-banner--reverse > * { direction: ltr; }

.reg-split-banner h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
}

.reg-split-banner ul {
  list-style: none;
  font-size: 13px;
  color: var(--text-muted);
}

.reg-split-banner li {
  padding: 8px 0 8px 24px;
  position: relative;
  border-bottom: 1px solid var(--border-light);
}

.reg-split-banner li:last-child { border-bottom: none; }

.reg-split-banner li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

.reg-banner-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

/* ── REG.RU info-карточки (горизонтальный ряд) ── */
.reg-info-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}

.reg-info-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}

.reg-info-card:hover { transform: translateY(-3px); }

.reg-info-card__img {
  width: 100%;
  height: 120px;
  object-fit: cover;
}

.reg-info-card__body { padding: 16px; }

.reg-info-card h3 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
}

.reg-info-card p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── REG.RU этапы ── */
.reg-steps {
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 12px;
}

.reg-steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: start;
  padding: 20px;
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
}

.reg-steps li::before {
  content: counter(step);
  width: 48px;
  height: 48px;
  background: var(--green);
  color: var(--btn-text);
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 700;
  grid-row: 1;
}

.reg-steps li strong { display: block; font-size: 15px; margin-bottom: 4px; }
.reg-steps li p { font-size: 13px; color: var(--text-muted); }

/* ── REG.RU benefits grid (3 колонки текст) ── */
.reg-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.reg-benefit-box {
  padding: 20px;
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
}

.reg-benefit-box h3 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.reg-benefit-box p { font-size: 13px; color: var(--text-muted); }

/* ── Кнопки ── */
.btn-green {
  display: inline-block;
  padding: 12px 24px;
  background: var(--green);
  color: var(--btn-text) !important;
  border: none;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none !important;
  border-radius: var(--radius-full);
  transition: background 0.2s;
}
.btn-green:hover { background: var(--green-hover); }
.btn-green--block { display: block; width: 100%; text-align: center; }
.btn-green--lg { padding: 14px 32px; font-size: 16px; }
.btn-green--sm { padding: 10px 18px; font-size: 13px; }

.btn-outline {
  display: inline-block;
  padding: 12px 24px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text) !important;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none !important;
  cursor: pointer;
  font-family: inherit;
  border-radius: var(--radius-full);
  transition: border-color 0.2s, color 0.2s;
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent) !important; }

.btn-primary {
  display: inline-block;
  padding: 12px 24px;
  background: var(--accent);
  color: var(--btn-text) !important;
  border: none;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none !important;
  border-radius: var(--radius-full);
  transition: background 0.2s;
}
.btn-primary:hover { background: var(--accent-hover); }
.btn-primary--block { display: block; width: 100%; text-align: center; }
.btn-primary--sm { padding: 10px 18px; font-size: 13px; }

/* ── Галерея (markt.de карточки, rounded) ── */
.klein-gallery { display: flex; flex-wrap: wrap; gap: 16px; }
.klein-card { width: calc(16.666% - 14px); min-width: 140px; flex: 1 1 140px; text-decoration: none; color: var(--text); }
.klein-card:hover .klein-card__title { color: var(--green-dark); }
.klein-card__img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 8px;
  box-shadow: var(--shadow);
}
.klein-card__title { font-size: 12px; line-height: 1.4; margin-bottom: 4px; font-weight: 600; }
.klein-card__price { font-size: 15px; font-weight: 700; color: var(--price); }
.klein-card__type { font-size: 11px; color: var(--text-light); }

/* ── Отзывы ── */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.review-card {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 20px;
  background: var(--bg-soft);
}
.review-card__stars { color: var(--star); font-size: 14px; margin-bottom: 10px; }
.review-card__text { font-size: 13px; color: var(--text-muted); margin-bottom: 14px; line-height: 1.55; font-style: italic; }
.review-card__author { display: flex; align-items: center; gap: 10px; }
.review-card__avatar { width: 40px; height: 40px; border-radius: var(--radius-full); object-fit: cover; }
.review-card__name { font-size: 13px; font-weight: 700; }
.review-card__role { font-size: 11px; color: var(--text-light); }

.clients-strip { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.clients-strip span {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
  background: var(--bg-soft);
}

/* ── FAQ ── */
.faq-item { border-bottom: 1px solid var(--border-light); }
.faq-item summary { padding: 14px 0; font-weight: 600; cursor: pointer; list-style: none; font-size: 14px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p { padding-bottom: 14px; font-size: 13px; color: var(--text-muted); line-height: 1.55; }

/* ── Таблица сравнения ── */
.table-wrap { overflow-x: auto; border-radius: var(--radius-md); border: 1px solid var(--border-light); }
.compare-full { width: 100%; border-collapse: collapse; font-size: 13px; }
.compare-full th, .compare-full td { border: 1px solid var(--border-light); padding: 12px; text-align: center; }
.compare-full th:first-child, .compare-full td:first-child { text-align: left; }
.compare-full th { background: var(--bg-soft); font-weight: 700; }
.compare-full .yes { color: var(--green-dark); font-weight: 700; }
.compare-full .no { color: var(--text-light); }

/* ── Доп. услуги ── */
.addons-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.addon-card {
  border: 1px dashed var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
  font-size: 13px;
  background: var(--bg-soft);
}
.addon-card strong { display: block; font-size: 14px; margin-bottom: 4px; }
.addon-card span { color: var(--green-dark); font-weight: 700; }

/* ── Опрос ── */
.poll-form__opts { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 20px; }
.poll-form__opts label {
  cursor: pointer;
  font-size: 13px;
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  background: var(--bg-soft);
}
.poll-form__opts label:has(input:checked) {
  border-color: var(--green);
  background: var(--green-light);
  font-weight: 600;
}
.poll-result { padding-top: 16px; border-top: 1px solid var(--border-light); margin-top: 8px; }

/* ── Портфолио ── */
.portfolio-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.portfolio-filters button {
  padding: 10px 18px;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  color: var(--text);
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
  border-radius: var(--radius-full);
}
.portfolio-filters button.is-active,
.portfolio-filters button:hover { border-color: var(--green); background: var(--green-light); font-weight: 600; }

.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.portfolio-item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  background: var(--bg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.portfolio-item__img { height: 180px; width: 100%; object-fit: cover; }
.portfolio-item__preview {
  height: 180px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.portfolio-item__preview > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.portfolio-item__preview::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.65) 100%);
  pointer-events: none;
  z-index: 1;
}
.portfolio-item__preview-caption {
  position: relative;
  z-index: 2;
}
.portfolio-item__preview-caption span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.9;
}
.portfolio-item__preview-caption strong {
  display: block;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.1;
  margin-top: 4px;
}
.reg-feature-card__icon img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
}
.portfolio-item__link--live { margin-right: 12px; }
.portfolio-item__actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 4px; }
.portfolio-item__body { padding: 18px; }
.portfolio-item__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.portfolio-item__tag {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  background: var(--green-light);
  color: var(--green-dark);
  border-radius: var(--radius-full);
}
.portfolio-item h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.portfolio-item__client { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; }
.portfolio-item__desc { font-size: 13px; color: var(--text-muted); margin-bottom: 12px; line-height: 1.5; }
.portfolio-item__stats { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 12px; font-size: 12px; }
.portfolio-item__stats strong { color: var(--green-dark); }
.portfolio-item__link { font-size: 13px; font-weight: 700; }
.portfolio-item.is-hidden { display: none; }

.portfolio-hero { display: grid; grid-template-columns: 1fr 300px; gap: 16px; margin-bottom: 20px; }
.portfolio-hero__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.portfolio-hero__stat {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 16px;
  text-align: center;
  box-shadow: var(--shadow);
}
.portfolio-hero__stat strong { display: block; font-size: 24px; color: var(--green-dark); }
.portfolio-hero__stat span { font-size: 12px; color: var(--text-muted); }

/* ── Форма ── */
.contact-form { display: flex; flex-direction: column; gap: 12px; }
.contact-form label { font-size: 13px; font-weight: 600; }
.contact-form input, .contact-form select, .contact-form textarea {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-family: inherit;
  background: var(--bg-soft);
  color: var(--text);
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: 2px solid var(--green);
  border-color: var(--green);
}

.form-success {
  display: none;
  padding: 24px;
  background: var(--green-light);
  border-radius: var(--radius-lg);
  text-align: center;
}
.form-success.is-visible { display: block; }
.form-success h3 { font-size: 18px; margin-bottom: 8px; color: var(--green-dark); }

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

/* ── Футер ── */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--border-light);
  padding: 32px 0;
  margin-top: 32px;
}
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 14px; font-size: 13px; }
.site-footer__copy { font-size: 12px; color: var(--text-light); }
.site-footer__contacts { font-size: 13px; color: var(--text-muted); margin-bottom: 12px; }
.site-footer__contacts a { margin-right: 16px; }

.main-page { padding-bottom: 32px; }

/* ── Auth & Dashboard ── */
.auth-page { display: flex; justify-content: center; padding-top: 40px; }
.auth-card {
  width: 100%;
  max-width: 420px;
  background: var(--bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-lg);
}
.auth-card h1 { font-size: 22px; margin-bottom: 8px; }
.auth-card__sub { color: var(--text-muted); margin-bottom: 24px; font-size: 14px; }
.auth-card__footer { margin-top: 20px; text-align: center; font-size: 13px; color: var(--text-muted); }
.form-error { color: var(--danger); font-size: 13px; margin: 4px 0; }

.site-nav__cabinet { color: var(--accent) !important; font-weight: 600; }
.site-nav__register { padding: 6px 14px; background: var(--accent-muted); border-radius: var(--radius-full); color: var(--accent) !important; }
.site-nav__logout {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
}
.site-nav__logout:hover { border-color: var(--danger); color: var(--danger); }

.dashboard-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 24px; }
.dashboard-card {
  background: var(--bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
}
.dashboard-card h2 { font-size: 16px; margin-bottom: 16px; }
.dashboard-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.sub-info__plan { font-size: 20px; font-weight: 700; color: var(--accent); margin-bottom: 8px; }
.sub-info__status { font-size: 14px; margin-bottom: 8px; }
.sub-info__end { font-size: 13px; color: var(--text-muted); }
.sub-info__days { margin-top: 12px; font-size: 13px; font-weight: 600; }
.status-active .sub-info__days { color: var(--success); }
.status-expired .sub-info__days { color: var(--danger); }

.orders-table-wrap { overflow-x: auto; border-radius: var(--radius-md); border: 1px solid var(--border-light); }
.orders-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.orders-table th, .orders-table td { padding: 12px 16px; border-bottom: 1px solid var(--border-light); text-align: left; }
.orders-table th { background: var(--bg-soft); font-weight: 600; color: var(--text-muted); }
.status-pill { display: inline-block; padding: 3px 10px; border-radius: var(--radius-full); font-size: 11px; font-weight: 600; background: var(--bg-soft); }
.status-active { background: rgba(72,187,120,0.15); color: var(--success); }
.status-pending { background: rgba(246,173,85,0.15); color: var(--star); }
.status-cancelled { background: rgba(252,129,129,0.15); color: var(--danger); }
.text-muted { color: var(--text-muted); }

.promo-strip {
  background: #ffffff;
  color: var(--btn-text);
  border-bottom: 1px solid var(--border-light);
}

@media (max-width: 960px) {
  .dashboard-grid { grid-template-columns: 1fr; }
  .reg-features-row,
  .reg-pricing-grid,
  .reg-info-cards,
  .reg-trust,
  .reg-benefits-grid,
  .reviews-grid,
  .reg-contacts-grid { grid-template-columns: repeat(2, 1fr); }
  .reg-split-banner { grid-template-columns: 1fr; }
  .reg-split-banner--reverse { direction: ltr; }
  .klein-card { width: calc(33% - 12px); }
}

@media (max-width: 640px) {
  .reg-features-row,
  .reg-pricing-grid,
  .reg-pricing-grid--3,
  .reg-info-cards,
  .reg-trust,
  .reg-benefits-grid,
  .reviews-grid,
  .addons-grid,
  .order-layout,
  .reg-contacts-grid { grid-template-columns: 1fr; }
  .site-header__contacts { align-items: flex-start; }
  .lang-switch { margin-left: 0; }
  .klein-card { width: calc(50% - 8px); }
  .portfolio-hero { grid-template-columns: 1fr; }
}
