:root {
  --color-bg: #05070c;
  --color-surface-top: #020617;
  --color-surface-mid: #02040b;
  --color-surface-bot: #010409;
  --color-border: #111827;
  --color-text: #e5e7eb;
  --color-muted: #cbd5f5;
  --color-white: #ffffff;
  --color-black: #000000;
  --page-max: 1100px;
  --page-pad: 20px;
  --font-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}
html {
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-text-size-adjust: 100%;
}
html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 0;
  height: 0;
}
body {
  font-family: var(--font-base);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}
.page {
  max-width: var(--page-max);
  margin: 0 auto 40px;
  padding: var(--page-pad) var(--page-pad) 24px;
  background: radial-gradient(circle at top, var(--color-surface-top) 0, var(--color-surface-mid) 55%, var(--color-surface-bot) 100%);
  border: 1px solid var(--color-border);
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.8);
}
.langbar {
  display: flex;
  justify-content: flex-end;
}
.langbar__in {
  display: flex;
  align-items: center;
}
.lang {
  position: relative;
}
.lang__btn {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 12px 0 8px;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  color: var(--color-white);
  font-size: 14px;
  line-height: 1;
  list-style: none;
  cursor: pointer;
}
.lang__btn::-webkit-details-marker {
  display: none;
}
.lang__btn:hover {
  border-color: var(--color-muted);
}
.lang__flag {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  border-radius: 50%;
}
.lang__code {
  letter-spacing: 0.06em;
}
.lang__chev {
  width: 16px;
  height: 16px;
  fill: var(--color-muted);
}
.lang[open] .lang__chev {
  transform: rotate(180deg);
}
.lang__menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 5;
  min-width: 180px;
  padding: 6px;
  background: var(--color-surface-top);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.8);
}
.lang__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  color: var(--color-muted);
  font-size: 15px;
  white-space: nowrap;
}
.lang__item:hover {
  background: var(--color-border);
  color: var(--color-white);
}
.hero {
  display: block;
  background: var(--color-black);
}
.hero__img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
  aspect-ratio: 390 / 9281;
}
html[lang="ru-UA"] .hero__img {
  aspect-ratio: 390 / 8661;
}
html[lang="en-UA"] .hero__img {
  aspect-ratio: 390 / 9281;
}
.article {
  margin-top: 24px;
}

.article h1 {
  margin-top: 4px;
}
.article h1 {
  font-size: 26px;
  line-height: 1.25;
  color: var(--color-white);
  margin-bottom: 16px;
}
.article h2 {
  font-size: 20px;
  line-height: 1.3;
  color: var(--color-white);
  margin: 28px 0 12px;
}
.article p {
  margin-bottom: 14px;
  color: var(--color-muted);
}
.shot {
  max-width: 800px;
  margin: 20px auto 24px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
}
.shot__img {
  width: 100%;
  height: auto;
}
.shot--phone {
  display: block;
  max-width: 390px;
  margin-left: auto;
  margin-right: auto;
}
.article table {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 20px 0 24px;
  background-color: transparent;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.article table::-webkit-scrollbar {
  width: 0;
  height: 0;
}
.article thead,
.article tbody {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 600px;
}
.article tr {
  display: flex;
  width: 100%;
  transition: background-color 0.2s ease;
}
.article tbody tr:nth-child(even) {
  background-color: rgba(255, 255, 255, 0.03);
}
.article tbody tr:hover {
  background-color: rgba(255, 255, 255, 0.07);
}
.article th,
.article td {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex: 1;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 15px;
  color: var(--color-muted);
  white-space: normal;
  word-wrap: break-word;
  word-break: break-word;
  min-width: 110px;
}
.article th:first-child,
.article td:first-child {
  justify-content: flex-start;
  text-align: left;
}
.article tbody tr:last-child td {
  border-bottom: none;
}
.article thead th {
  background-color: rgba(255, 255, 255, 0.06);
  color: var(--color-white);
  font-weight: 600;
  border-bottom: 2px solid rgba(255, 255, 255, 0.14);
}
.article__langs {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
}
.article__lang {
  color: var(--color-muted);
  text-decoration: underline;
}
.article__lang--current {
  color: var(--color-white);
  text-decoration: none;
}
@media (min-width: 480px) {
  .hero__img {
    aspect-ratio: 768 / 8803;
  }
  html[lang="ru-UA"] .hero__img {
    aspect-ratio: 768 / 8243;
  }
  html[lang="en-UA"] .hero__img {
    aspect-ratio: 768 / 8803;
  }
}
@media (min-width: 768px) {
  .article h1 {
    font-size: 34px;
  }
  .article h2 {
    font-size: 24px;
  }
}
@media (min-width: 1024px) {
  .hero__img {
    aspect-ratio: 1280 / 11668;
  }
  html[lang="ru-UA"] .hero__img {
    aspect-ratio: 1280 / 11653;
  }
  html[lang="en-UA"] .hero__img {
    aspect-ratio: 1280 / 11668;
  }
}
@media (min-width: 1600px) {
  .hero__img {
    aspect-ratio: 1920 / 11660;
  }
  html[lang="ru-UA"] .hero__img {
    aspect-ratio: 1920 / 11661;
  }
  html[lang="en-UA"] .hero__img {
    aspect-ratio: 1920 / 11660;
  }
}

/* Відгуки */
.rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin: 0 0 16px;
  padding: 14px 16px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: var(--color-surface-top);
}
.rating__value {
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  color: var(--color-white);
}
.rating__stars,
.review__stars {
  color: #f59e0b;
  letter-spacing: 2px;
  white-space: nowrap;
}
.rating__stars {
  font-size: 20px;
}
.rating__meta {
  flex-basis: 100%;
  font-size: 14px;
  color: var(--color-muted);
}
.reviews {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 20px;
}
.review {
  padding: 14px 16px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: var(--color-surface-mid);
}
.review__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 6px;
}
.review__author {
  font-weight: 600;
  color: var(--color-white);
}
.review__stars {
  font-size: 14px;
}
.article .review__text {
  margin: 0;
  font-size: 15px;
}
.reviews-short {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
.review-short {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: var(--color-surface-bot);
  font-size: 15px;
  color: var(--color-muted);
}
@media (min-width: 768px) {
  .rating__meta {
    flex-basis: auto;
    margin-left: auto;
  }
  .reviews,
  .reviews-short {
    grid-template-columns: 1fr 1fr;
  }
}

/* Шапка, меню, футер, контент із WP */
:root {
  --color-accent: #08ccab;
  --color-accent-2: #0e7bed;
}
.hdr {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.hdr__logo {
  display: flex;
  margin-right: auto;
}
.hdr__logo img {
  width: 86px;
  height: 37px;
}
.hdr__cta {
  display: none;
  gap: 8px;
}
.btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 20px;
  background: var(--color-accent);
  color: var(--color-black);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}
.article .btn {
  color: var(--color-black);
  text-decoration: none;
}
.article .btn--ghost,
.btn--ghost {
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-white);
}
.nav {
  position: relative;
}
.nav__btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0 9px;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  list-style: none;
  cursor: pointer;
}
.nav__btn::-webkit-details-marker {
  display: none;
}
.nav__btn span {
  display: block;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
}
.nav__list {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 6;
  min-width: 260px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--color-surface-top);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.8);
}
.nav__link {
  display: block;
  padding: 9px 12px;
  border-radius: 10px;
  color: var(--color-muted);
  font-size: 15px;
  text-decoration: none;
}
.nav__link:hover,
.nav__link--current {
  background: var(--color-border);
  color: var(--color-white);
}
.article h3 {
  font-size: 18px;
  line-height: 1.3;
  color: var(--color-white);
  margin: 20px 0 10px;
}
.article h4 {
  font-size: 16px;
  color: var(--color-white);
  margin: 16px 0 8px;
}
.article ul,
.article ol {
  margin: 0 0 14px 22px;
  color: var(--color-muted);
}
.article li {
  margin-bottom: 6px;
}
.article a {
  color: var(--color-accent);
}
.cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 16px 0 20px;
}
.article .cta .btn {
  padding: 12px 28px;
  font-size: 15px;
}
.media {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: center;
  margin: 16px 0 20px;
}
.media__img {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
}
.media__img img {
  display: block;
  width: 100%;
  height: auto;
}
.article .media__body p:last-of-type {
  margin-bottom: 0;
}
.shot {
  margin: 16px auto 20px;
}
.icon {
  display: flex;
  justify-content: center;
  margin: 8px 0;
}
.icon__img {
  width: auto;
  height: 40px;
}
.cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 12px;
}
.article .cols__item > p {
  text-align: center;
  font-size: 14px;
  word-break: break-word;
}
.table-wrap {
  margin: 16px 0 20px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow-x: auto;
}
.article .table-wrap table {
  margin: 0;
}
.faq {
  margin: 12px 0 20px;
}
.faq__item {
  margin-bottom: 8px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: var(--color-surface-mid);
}
.faq__item summary {
  padding: 12px 16px;
  color: var(--color-white);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker {
  display: none;
}
.faq__item summary::after {
  content: "+";
  float: right;
  color: var(--color-muted);
}
.faq__item[open] summary::after {
  content: "–";
}
.article .faq__item p {
  margin: 0;
  padding: 0 16px 14px;
}
.ftr {
  max-width: var(--page-max);
  margin: 0 auto 40px;
  padding: 0 var(--page-pad);
  font-size: 13px;
  color: var(--color-muted);
}
.ftr__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}
.ftr__nav a {
  color: var(--color-muted);
  text-decoration: none;
}
.ftr__nav a:hover {
  color: var(--color-white);
}
.ftr p {
  margin-bottom: 8px;
}
.ftr__contacts a {
  color: var(--color-accent);
  text-decoration: none;
}
@media (min-width: 768px) {
  .hdr__cta {
    display: flex;
  }
  .media {
    grid-template-columns: 25% 1fr;
  }
  .article .cols__item > p {
    font-size: 16px;
  }
}

/* Сітка популярних слотів (з WP) */
.aw-slots {
  margin: 28px 0;
}
.aw-slots__head {
  text-align: center;
  margin-bottom: 20px;
}
.article .aw-slots__title {
  margin: 0 0 6px;
}
.article .aw-slots__subtitle {
  margin: 0;
  font-size: 15px;
}
.aw-slots__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.aw-slot {
  position: relative;
  display: block;
  border-radius: 14px;
  overflow: hidden;
  background: var(--color-surface-top);
  border: 1px solid var(--color-border);
  text-decoration: none;
}
.aw-slot__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.aw-slot__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--color-white);
  text-transform: uppercase;
}
.aw-slot__badge--hot {
  background: #e23744;
}
.aw-slot__badge--new {
  background: #1a9e5f;
}
.aw-slot__name {
  display: block;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-white);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (min-width: 640px) {
  .aw-slots__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}
@media (min-width: 900px) {
  .aw-slots__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
