:root {
  --bg: #070b12;
  --panel: #0f1623;
  --panel2: #0b1220;
  --text: #e8edf6;
  --muted: #a7b0bf;
  --brand: #ff7a59;
  --brand2: #4dd6ff;
  --line: rgba(255, 255, 255, .10);
  --shadow: 0 18px 60px rgba(0, 0, 0, .38);
  --radius: 20px;
  --container: 1140px;
}

* {
  box-sizing: border-box
}

html,
body {
  height: 100%
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:
    radial-gradient(900px 700px at 15% -5%, rgba(255, 122, 89, .18), transparent 60%),
    radial-gradient(900px 700px at 110% 10%, rgba(77, 214, 255, .14), transparent 55%),
    radial-gradient(900px 700px at 60% 110%, rgba(255, 255, 255, .06), transparent 60%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
}

h1,
h2,
h3 {
  font-family: ui-serif, Georgia, "Times New Roman", Times, serif;
  letter-spacing: -.3px;
}

a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(255, 122, 89, .65);
  text-underline-offset: 3px
}

a:hover {
  color: #fff;
  text-decoration-color: #fff
}

.skip {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden
}

.skip:focus {
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  padding: 10px 12px;
  background: #fff;
  color: #000;
  border-radius: 10px;
  z-index: 9999
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50
}

.topbar {
  background: rgba(15, 22, 35, .70);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.topbar__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0
}

.topbar__mark {
  display: flex;
  gap: 6px
}

.topbar__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--brand)
}

.topbar__dot--soft {
  background: var(--brand2)
}

.topbar__text {
  margin: 0;
  color: var(--muted);
  font-size: 14px
}

.nav {
  background: rgba(7, 11, 18, .68);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-decoration: none
}

.brand__name {
  font-weight: 900;
  font-size: 18px;
  text-decoration: none
}

.brand__tag {
  font-size: 12px;
  color: var(--muted);
  font-weight: 700
}

.menu {
  display: flex;
  align-items: center;
  gap: 18px
}

.menu__link {
  text-decoration: none;
  font-weight: 800;
  color: var(--text);
  opacity: .9
}

.menu__link:hover {
  opacity: 1
}

.burger {
  display: none;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .06);
  border-radius: 12px;
  padding: 10px;
  cursor: pointer
}

.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  margin: 4px 0;
  opacity: .85
}

.site-main {
  padding-bottom: 48px
}

.hero {
  position: relative;
  padding: 56px 0 40px
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 26px;
  align-items: center
}

.hero__title {
  margin: 0;
  font-size: 44px;
  line-height: 1.12
}

.hero__subtitle {
  margin: 10px 0 0;
  color: var(--muted);
  font-weight: 800
}

.hero__lead {
  margin: 16px 0 0;
  color: #d6dbe6;
  max-width: 64ch
}

.hero__note {
  margin-top: 18px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 122, 89, .22);
  background: rgba(15, 22, 35, .52);
  border-radius: 16px;
  color: var(--muted);
  font-size: 14px
}

.hero__media img {
  width: 100%;
  max-width: 420px;
  margin-left: auto;
  display: block;
  border-radius: 26px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .04);
}

.hero__wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 18px;
  background: linear-gradient(90deg, rgba(255, 122, 89, .35), rgba(77, 214, 255, .25));
  clip-path: polygon(0 70%, 10% 45%, 25% 70%, 40% 40%, 55% 65%, 70% 35%, 85% 60%, 100% 35%, 100% 100%, 0 100%);
  opacity: .55;
}

.section {
  padding: 44px 0
}

.section--soft {
  background: rgba(15, 22, 35, .34);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line)
}

.section__title {
  margin: 0 0 10px;
  font-size: 30px
}

.section__desc {
  margin: 0 0 18px;
  color: var(--muted);
  max-width: 78ch
}

.section__small {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px
}

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 18px
}

.card {
  position: relative;
  background: linear-gradient(180deg, rgba(15, 22, 35, .78), rgba(11, 18, 32, .66));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
  display: grid;
  grid-template-columns: 1.2fr .9fr .35fr;
  gap: 14px;
  align-items: stretch;
}

.card--top {
  border-color: rgba(255, 122, 89, .40)
}

.card__rank {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  font-weight: 950;
}

.card__brand {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding-top: 26px
}

.card__logo {
  display: block;
  width: 152px;
  min-width: 152px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 12px;
  text-decoration: none;
}

.card__logo img {
  width: 100%;
  height: 54px;
  object-fit: contain;
  display: block
}

.card__meta {
  min-width: 0
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 122, 89, .14);
  border: 1px solid rgba(255, 122, 89, .28);
  color: #ffece7;
  border-radius: 999px;
  padding: 6px 10px;
  font-weight: 900;
  font-size: 12px;
}

.pill--alt {
  background: rgba(77, 214, 255, .12);
  border-color: rgba(77, 214, 255, .26);
  color: #e9fbff
}

.card__offer {
  margin: 10px 0 0;
  font-weight: 900
}

.card__tcs {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px
}

.card__actions {
  padding-top: 26px
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 12px 14px;
  border-radius: 16px;
  font-weight: 950;
  text-decoration: none;
  border: 1px solid rgba(255, 122, 89, .35);
  background: rgba(255, 122, 89, .16);
}

.btn:hover {
  background: rgba(255, 122, 89, .22)
}

.btn--ghost {
  border-color: rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .06)
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, .09)
}

.checks {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--muted)
}

.checks li {
  margin: 6px 0
}

.card__score {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  padding-top: 26px
}

.score {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .05);
  border-radius: 18px;
  padding: 12px;
  text-align: center;
}

.score__value {
  font-size: 28px;
  font-weight: 950
}

.score__label {
  color: var(--muted);
  font-weight: 900;
  font-size: 12px
}

.tabs {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(11, 18, 32, .55)
}

.tabs__head {
  display: flex;
  gap: 8px;
  padding: 10px;
  background: rgba(255, 255, 255, .03);
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap
}

.tabs__btn {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .05);
  color: var(--text);
  border-radius: 999px;
  padding: 10px 12px;
  font-weight: 950;
  cursor: pointer;
}

.tabs__btn.is-active {
  border-color: rgba(255, 122, 89, .40);
  background: rgba(255, 122, 89, .14)
}

.tabs__body {
  padding: 16px
}

.tabs__panel {
  display: none;
  color: #d6dbe6
}

.tabs__panel.is-active {
  display: block
}

.tabs__panel h3 {
  margin: 14px 0 8px
}

.tabs__panel p {
  margin: 10px 0
}

.tabs__panel ul {
  margin: 10px 0;
  padding-left: 18px;
  color: var(--muted)
}

.tabs__panel li {
  margin: 6px 0
}

.grid-2 {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 18px;
  align-items: start
}

.features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px
}

.feature {
  border: 1px solid var(--line);
  background: rgba(15, 22, 35, .55);
  border-radius: 20px;
  padding: 14px
}

.feature__icon {
  font-size: 22px
}

.feature__title {
  margin: 8px 0 6px;
  font-size: 16px
}

.feature__text {
  margin: 0;
  color: var(--muted);
  font-size: 14px
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(6, 9, 14, .92)
}

.footer__top {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
  padding: 30px 14px
}

.footer__title {
  margin: 0 0 10px;
  font-size: 22px
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 12px
}

.footer__links a {
  text-decoration: none;
  font-weight: 900;
  opacity: .9
}

.footer__links a:hover {
  opacity: 1
}

.footer__small {
  margin: 12px 0 0;
  color: var(--muted);
  font-weight: 800;
  font-size: 14px
}

.footer__badges {
  display: grid;
  gap: 12px;
  align-content: start
}

.badge {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .04);
  text-decoration: none
}

.badge img {
  max-width: 100%;
  height: 52px;
  object-fit: contain
}

.footer__bottom {
  padding: 14px 0 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-weight: 800;
  font-size: 14px
}

.card__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn--mini {
  padding: 10px 14px;
  border-radius: 14px;
  font-weight: 900;
}

.btn--cta {
  border: 1px solid rgba(255, 122, 89, .55);
  background: linear-gradient(135deg, rgba(255, 122, 89, .95), rgba(255, 196, 89, .92));
  color: #10131a;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(255, 122, 89, .18);
  transform: translateY(0);
}

.btn--cta:hover {
  filter: brightness(1.03);
  transform: translateY(-1px);
}

.btn--cta:active {
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero__inner {
    grid-template-columns: 1fr
  }

  .hero__media img {
    max-width: 520px;
    margin: 14px 0 0
  }

  .grid-2 {
    grid-template-columns: 1fr
  }

  .features {
    grid-template-columns: 1fr
  }

  .card {
    grid-template-columns: 1fr;
    padding-top: 40px
  }

  .card__brand {
    padding-top: 0
  }

  .card__actions,
  .card__score {
    padding-top: 0
  }

  .card__score {
    justify-content: flex-start
  }

  .menu {
    position: absolute;
    left: 18px;
    right: 18px;
    top: 66px;
    display: none;
    flex-direction: column;
    gap: 10px;
    padding: 14px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: rgba(7, 11, 18, .94);
  }

  .menu.is-open {
    display: flex
  }

  .burger {
    display: block
  }
}

@media (max-width: 520px) {
  .hero__title {
    font-size: 34px
  }

  .card__logo {
    width: 100%;
    min-width: 0
  }

  .card__logo img {
    height: 48px
  }
}

/* =========================
   CONTACT PAGE FIX
   ========================= */

.contact-card {
  padding: 22px;
}

.contact-card .section__small {
  opacity: .9;
}

.contact-form {
  margin-top: 14px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.field--full {
  grid-column: 1 / -1;
}

.field__label {
  font-weight: 600;
  letter-spacing: .2px;
  font-size: 14px;
  opacity: .95;
}

.field__input {
  width: 100%;
  box-sizing: border-box;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .92);
  border-radius: 12px;
  padding: 12px 12px;
  outline: none;
  font: inherit;
  line-height: 1.2;
  transition: border-color .2s ease, background .2s ease, transform .05s ease;
}

.field__input::placeholder {
  color: rgba(255, 255, 255, .55);
}

.field__input:focus {
  border-color: rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .08);
}

.field__input:active {
  transform: translateY(1px);
}

textarea.field__input {
  resize: vertical;
  min-height: 140px;
}

.contact-actions {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.contact-actions .btn {
  min-width: 220px;
}

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

  .contact-actions .btn {
    width: 100%;
  }
}

/* =========================
   CONTACT PAGE FIX
   ========================= */

.page-contact .contact-card {
  padding: 22px;
  border-radius: 18px;
  background: rgba(16, 22, 32, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

/* УБИРАЕМ ОВАЛЫ/БЛОБЫ, если они рисуются псевдоэлементами */
.page-contact .contact-card::before,
.page-contact .contact-card::after,
.page-contact .card::before,
.page-contact .card::after,
.page-contact .pill::before,
.page-contact .pill::after {
  content: none !important;
  display: none !important;
}

.page-contact .contact-card .pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  margin-bottom: 12px;
}

/* форма */
.page-contact .contact-form {
  margin-top: 14px;
}

.page-contact .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 12px;
}

.page-contact .field {
  display: grid;
  gap: 8px;
}

.page-contact .field--full {
  grid-column: 1 / -1;
}

.page-contact .field__label {
  font-size: 14px;
  opacity: 0.9;
}

.page-contact .field__input {
  width: 100%;
  border-radius: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.04);
  color: inherit;
  outline: none;
  transition: border-color .2s ease, background .2s ease, transform .08s ease;
}

.page-contact textarea.field__input {
  resize: vertical;
  min-height: 140px;
}

.page-contact .field__input::placeholder {
  opacity: 0.6;
}

.page-contact .field__input:focus {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
}

.page-contact .contact-actions {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.page-contact .contact-actions .btn {
  width: 100%;
  justify-content: center;
  border-radius: 16px;
  padding: 12px 16px;
}

/* мелкий текст под кнопкой */
.page-contact .contact-actions .section__small {
  opacity: 0.8;
}

/* адаптив */
@media (max-width: 860px) {
  .page-contact .form-grid {
    grid-template-columns: 1fr;
  }
}