/* =========================================================
   Casino Barcelona — landing page
   ========================================================= */

/* ---------- tokens ---------- */
:root {
  --bg: #0f1214;
  --surface: #1e2328;
  --surface-alt: #1c2026;
  --red: #ff293e;
  --white: #fff;
  --muted: #94a1ae;
  --muted-2: #939598;
  --muted-3: #a4a6a8;
  --muted-4: #a0a2a4;
  --line: rgba(255, 255, 255, 0.2);
  --divider: #3b424b;
  --badge-new: #ff73e1;
  --badge-exclusive: #92ff5c;
  --ink: #0f1214;

  --gutter: 16px;
  --max: 1400px;
  --gap: 10px;
  --section-pad: 24px;

  --r-card: 10px;
  --r-banner: 12px;
  --r-tile: 8px;
}

@media (min-width: 768px) {
  :root {
    --gutter: 24px;
  }
}

/* ---------- reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--white);
  font-family: "Lexend", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.45;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

/* ---------- layout ---------- */
.container {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-pad);
  position: relative;
  z-index: 1;
}

.divider {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}

.divider-wrap {
  padding-block: var(--section-pad);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---------- decorative star field ---------- */
.page {
  position: relative;
  isolation: isolate;
}

.stars {
  position: absolute;
  inset: 0 0 auto;
  height: 1600px;
  pointer-events: none;
  overflow: hidden;
  z-index: -1;
}

.stars span {
  position: absolute;
  background: url("../assets/icons/star-fill.svg") center / contain no-repeat;
  opacity: 0.6;
}

/* the mobile comp has no star field */
@media (max-width: 767px) {
  .stars {
    display: none;
  }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding-inline: 16px;
  border-radius: 9999px;
  border: 1px solid transparent;
  font-size: 14px;
  line-height: 18px;
  white-space: nowrap;
  transition: background-color 0.18s ease, border-color 0.18s ease, opacity 0.18s ease;
}

.btn img {
  width: 18px;
  height: 18px;
  flex: none;
}

.btn--primary {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

.btn--primary:hover {
  background: #e51f33;
  border-color: #e51f33;
}

.btn--ghost {
  border-color: var(--muted);
  color: var(--muted);
}

.btn--ghost:hover {
  border-color: var(--white);
  color: var(--white);
}

.btn--light {
  background: var(--white);
  color: var(--ink);
  height: 36px;
  font-weight: 700;
  gap: 12px;
  border-radius: 100px;
}

.btn--light:hover {
  background: #e8e8e8;
}

.btn--sm {
  height: 36px;
  font-size: 12px;
  line-height: 12px;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border-radius: 9999px;
  padding: 12px;
  flex: none;
}

.icon-btn img {
  width: 18px;
  height: 18px;
}

/* ---------- header ---------- */
.topbar {
  display: none;
  background: var(--surface);
  padding: 8px 12px;
}

.topbar__inner {
  display: flex;
  gap: 10px;
}

.topbar .btn {
  flex: 1 1 0;
  height: 32px;
  padding-inline: 12px;
}

.topbar .btn img {
  width: 14px;
  height: 14px;
}

.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--surface);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 12px;
}

.header__left {
  display: flex;
  align-items: center;
  gap: 24px;
  min-width: 0;
}

.logo img {
  width: 220px;
  height: 36.65px;
}

.nav ul {
  display: flex;
  gap: 24px;
}

.nav a {
  position: relative;
  font-size: 14px;
  color: var(--white);
  white-space: nowrap;
  transition: color 0.18s ease;
}

.nav a:hover {
  color: var(--red);
}

.nav__badge {
  position: absolute;
  top: -8px;
  right: -18px;
  min-width: 16px;
  height: 16px;
  padding: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--red);
  border-radius: 8px;
  font-size: 8px;
  line-height: 1;
  color: var(--white);
}

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

@media (max-width: 1023px) {
  .topbar {
    display: block;
  }

  .header__inner {
    padding-block: 15px;
  }

  .header__left .nav,
  .header__actions .btn {
    display: none;
  }

  .logo img {
    width: 200px;
    height: auto;
  }

  .icon-btn {
    padding: 8px;
  }
}

@media (max-width: 420px) {
  .logo img {
    width: 168px;
  }
}

/* ---------- mobile drawer ---------- */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  z-index: 90;
}

.drawer {
  position: fixed;
  inset-block: 0;
  right: 0;
  width: min(390px, 100%);
  background: var(--surface);
  transform: translateX(100%);
  transition: transform 0.28s ease;
  z-index: 100;
  display: flex;
  flex-direction: column;
}

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  font-size: 14px;
  letter-spacing: 0.04em;
}

.drawer__head img {
  width: 16px;
  height: 16px;
}

.drawer__nav {
  flex: 1 1 auto;
  overflow-y: auto;
  border-top: 1px solid var(--line);
}

.drawer__nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.drawer__nav a > img:first-child {
  width: 20px;
  height: 20px;
  flex: none;
}

.drawer__nav .chev {
  width: 10px;
  height: 12px;
  margin-left: auto;
  flex: none;
}

.drawer__nav .nav__badge {
  position: static;
  margin-left: 4px;
}

.drawer__social {
  display: flex;
  gap: 16px;
  padding: 16px;
  border-top: 1px solid var(--line);
}

.drawer__social img {
  width: 20px;
  height: 20px;
}

body.is-drawer-open .drawer {
  transform: translateX(0);
}

body.is-drawer-open .drawer-overlay {
  opacity: 1;
  visibility: visible;
}

body.is-drawer-open {
  overflow: hidden;
}

/* ---------- section head ---------- */
.section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.section__titles {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.section__title {
  font-size: 16px;
  line-height: 20px;
  font-weight: 700;
  color: var(--white);
}

.section__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding-left: 10px;
  font-size: 12px;
  line-height: 16px;
  font-weight: 700;
  color: var(--red);
  white-space: nowrap;
}

.section__link img {
  width: 13px;
  height: 12px;
}

@media (min-width: 768px) {
  .section__title {
    font-size: 20px;
    line-height: 24px;
  }

  .section__link {
    font-size: 14px;
    line-height: 18px;
  }
}

/* ---------- rail navigation ---------- */
.rail-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}

.rail-nav button {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.rail-nav button img {
  width: 100%;
  height: 100%;
}

.rail-nav button:hover {
  transform: scale(1.08);
}

.rail-nav button.swiper-button-disabled {
  opacity: 0.35;
  cursor: default;
  transform: none;
}

@media (min-width: 768px) {
  .rail-nav button {
    width: 24px;
    height: 24px;
  }
}

/* ---------- swiper base ---------- */
.rail {
  overflow: hidden;
}

.rail .swiper-slide {
  height: auto;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  padding-block: var(--section-pad) 0;
  position: relative;
  z-index: 1;
}

.hero__swiper {
  overflow: visible;
}

.hero__swiper .swiper-slide {
  position: relative;
}

.hero__viewport {
  overflow: hidden;
}

.hero__swiper .swiper-slide {
  width: 80.5%;
  transition: opacity 0.35s ease;
  opacity: 0.5;
}

.hero__swiper .swiper-slide-active {
  opacity: 1;
}

.hero__card {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 286.77 / 172.16;
  border-radius: var(--r-tile);
  overflow: hidden;
  transition: box-shadow 0.35s ease;
}

.swiper-slide-active .hero__card {
  box-shadow: 0 0 40px -5px #000;
}

.hero__card > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__body {
  position: absolute;
  inset: 0;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.swiper-slide-active .hero__body {
  opacity: 1;
}

.hero__kicker {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  line-height: 12px;
  text-transform: uppercase;
}

.hero__kicker img {
  width: 20px;
  height: 20px;
}

.hero__title {
  display: block;
  max-width: 700px;
  font-size: 18px;
  line-height: 19px;
  font-weight: 700;
}

.hero__cta {
  position: absolute;
  left: 24px;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.swiper-slide-active .hero__cta {
  opacity: 1;
  pointer-events: auto;
}

.hero__cta .btn--light {
  height: 28px;
  padding-inline: 12px;
  font-size: 12px;
  line-height: 16px;
  gap: 8px;
}

.hero__cta .btn--light img {
  width: 18px;
  height: 18px;
}

.hero__nav {
  display: none;
  align-items: center;
  gap: 8px;
}

.hero__nav button {
  width: 24px;
  height: 24px;
}

.hero__nav button img {
  width: 100%;
  height: 100%;
}

@media (min-width: 768px) {
  .hero__card {
    aspect-ratio: 1120.64 / 321.48;
    border-radius: var(--r-banner);
  }

  .hero__body {
    padding: 32px;
  }

  .hero__kicker {
    font-size: 14px;
  }

  .hero__kicker img {
    width: 24px;
    height: 24px;
  }

  .hero__title {
    font-size: clamp(24px, 3.4vw, 48px);
    line-height: 1.1;
  }

  .hero__cta {
    left: 32px;
    bottom: 32px;
  }

  .hero__cta .btn--light {
    height: 36px;
    padding-inline: 16px;
    font-size: 14px;
    line-height: 18px;
  }

  .hero__nav {
    display: flex;
  }
}

/* =========================================================
   CARDS
   ========================================================= */

/* --- square game tile --- */
.game-card {
  position: relative;
  display: block;
  border-radius: var(--r-card);
  overflow: hidden;
  background: var(--surface);
}

.game-card__media {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
}

.game-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.badge {
  position: absolute;
  top: 0;
  right: 0;
  padding: 5px;
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
  color: var(--ink);
  border-bottom-left-radius: var(--r-card);
  border-top-right-radius: var(--r-card);
}

.badge--new {
  background: var(--badge-new);
}

.badge--exclusive {
  background-image: linear-gradient(
      211deg,
      rgba(255, 255, 255, 0) 20%,
      rgba(255, 255, 255, 0.9) 30%,
      rgba(255, 255, 255, 0.9) 35%,
      rgba(255, 255, 255, 0) 45%
    ),
    linear-gradient(90deg, var(--badge-exclusive) 0%, var(--badge-exclusive) 100%);
}

@media (min-width: 768px) {
  .badge {
    font-size: 12px;
  }
}

.game-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 15px;
  background: rgba(19, 23, 29, 0.7);
  border-radius: 5px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.game-card:hover .game-card__overlay,
.game-card:focus-visible .game-card__overlay {
  opacity: 1;
}

.game-card__name {
  display: block;
  width: 100%;
  font-size: 14px;
  overflow: hidden;
}

.game-card__play {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--red);
  border: 1px solid var(--red);
  border-radius: 9999px;
  padding: 12px 16px;
  font-size: 14px;
  line-height: 18px;
}

.game-card__play img {
  width: 14px;
  height: 18px;
}

.game-card__try {
  display: block;
  margin-bottom: auto;
  font-size: 14px;
}

@media (hover: none) {
  .game-card__overlay {
    display: none;
  }
}

/* --- wide banner card (Pirots / Slots propias) --- */
.banner-card {
  display: block;
  border-radius: var(--r-card);
  overflow: hidden;
  aspect-ratio: 112.66 / 158.13;
}

.banner-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 768px) {
  .banner-card {
    aspect-ratio: 457.33 / 200.08;
  }
}

/* --- portrait card (Nuestras exclusivas / Más buscadas) --- */
.portrait-card {
  display: block;
  border-radius: var(--r-card);
  overflow: hidden;
  aspect-ratio: 223.66 / 337.45;
}

.portrait-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portrait-card--search {
  aspect-ratio: 223.67 / 313.91;
}

/* --- betting card --- */
.bet-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--r-banner);
  overflow: hidden;
  height: 100%;
  min-height: 194px;
}

.bet-card__top {
  position: relative;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  background: #d3d3d3;
}

.bet-card__top > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bet-card__top::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(110.9deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0) 31.91%),
    linear-gradient(0deg, rgba(0, 18, 63, 0.5) 0%, rgba(0, 18, 63, 0) 100%);
}

.bet-card__meta,
.bet-card__teams {
  position: relative;
  z-index: 1;
}

.bet-card__meta {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 8px 0;
  min-height: 42px;
}

.bet-card__league {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 auto;
  font-size: 12px;
  font-weight: 700;
  color: #fffcb4;
}

.bet-card__league img {
  width: 18px;
  height: 21px;
  flex: none;
}

.bet-card__when {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border-radius: 9999px;
  padding: 2px 8px;
  font-size: 12px;
  white-space: nowrap;
}

.bet-card__when i {
  width: 1px;
  height: 15px;
  background: rgba(255, 255, 255, 0.4);
}

.bet-card__when b {
  font-weight: 600;
}

.bet-card__when span {
  font-weight: 400;
}

.bet-card__teams {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
  padding: 32px 16px 20px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

.bet-card__odds {
  display: flex;
  background: var(--surface);
  border-top: 1px solid var(--line);
  flex: none;
}

.bet-card__odds > span {
  flex: 1 1 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 12px;
  transition: background-color 0.18s ease;
}

.bet-card__odds > span + span {
  border-left: 1px solid var(--line);
}

.bet-card__odds > span:hover {
  background: #2a3038;
}

.bet-card__odds b {
  display: block;
  font-size: 20px;
  font-weight: 700;
}

.bet-card__odds span span {
  display: block;
  font-size: 14px;
  font-weight: 400;
}

@media (min-width: 768px) {
  .bet-card__meta {
    padding: 12px 12px 0;
  }

  .bet-card__teams {
    padding: 48px 16px 24px;
  }
}

/* --- provider card --- */
.provider-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 16px;
  border-radius: var(--r-tile);
  background-image: linear-gradient(-65deg, #1e2328 0%, #2d353c 100%);
  aspect-ratio: 165 / 167;
  transition: filter 0.18s ease;
}

.provider-card:hover {
  filter: brightness(1.15);
}

.provider-card__logo {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 0;
}

.provider-card__logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.provider-card__name {
  display: block;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}

/* --- jackpot card --- */
.jackpot-card {
  display: flex;
  flex-direction: column;
}

.jackpot-card__media {
  display: block;
  aspect-ratio: 213 / 298.95;
  border-radius: var(--r-tile);
  overflow: hidden;
}

.jackpot-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jackpot-card__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 16px 8px 0;
  text-align: center;
}

.jackpot-card__name {
  font-size: 12px;
}

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

.jackpot-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  background: var(--white);
  color: #000;
  border-radius: 100px;
  padding: 10px 15px;
  font-size: 12px;
  line-height: 12px;
}

.jackpot-card__btn img {
  width: 12.6px;
  height: 16px;
}

@media (min-width: 768px) {
  .jackpot-card__body {
    padding: 20px 20px 0;
  }

  .jackpot-card__name {
    font-size: 14px;
  }

  .jackpot-card__amount {
    font-size: 16px;
  }
}

/* =========================================================
   PROMO BANNER
   ========================================================= */
.promo-banner {
  display: block;
  border-radius: var(--r-banner);
  overflow: hidden;
  background: #d3d3d3;
}

.promo-banner img {
  width: 100%;
  height: auto;
}

/* =========================================================
   POKER
   ========================================================= */
.poker {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
}

.poker__text {
  flex: 1 1 0;
  min-width: 0;
  width: 100%;
}

.poker__eyebrow {
  font-size: 16px;
  font-weight: 700;
}

.poker__title {
  font-size: 28px;
  font-weight: 700;
  padding-bottom: 15px;
}

.poker__lead {
  font-size: 14px;
}

.poker__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding-top: 15px;
}

.poker__actions .btn {
  background: var(--red);
  border-color: var(--red);
  height: 36px;
  padding: 0 16px 0 4px;
  gap: 8px;
  font-size: 12px;
  line-height: 12px;
}

.poker__actions .btn img {
  width: 28px;
  height: 28px;
}

.poker__art {
  flex: 1 1 0;
  min-width: 0;
  width: 100%;
}

.poker__art img {
  width: 100%;
  height: auto;
}

@media (min-width: 900px) {
  .poker {
    flex-direction: row;
  }

  .poker__eyebrow {
    font-size: 20px;
  }

  .poker__title {
    font-size: clamp(30px, 3.2vw, 44px);
  }
}

/* =========================================================
   CATEGORY CARDS
   ========================================================= */
.cats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

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

.cat__media img {
  width: 100%;
  height: auto;
}

.cat__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  padding: 30px 20px 0;
  text-align: center;
}

.cat__title {
  font-size: 22px;
  font-weight: 700;
}

.cat__body p {
  max-width: 345px;
  font-size: 14px;
  color: var(--muted-3);
}

.cat__body .btn {
  background: var(--red);
  border-color: var(--red);
  height: 36px;
  font-size: 12px;
  line-height: 12px;
  gap: 12px;
  margin-top: auto;
}

.cat__body .btn img {
  width: 16px;
  height: 16px;
}

@media (min-width: 900px) {
  .cats {
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
  }

  .cat + .cat::before {
    content: "";
    position: absolute;
    inset-block: 0;
    left: -30px;
    width: 1px;
    background: var(--divider);
  }

  .cat__body {
    padding-top: 60px;
  }

  .cat__title {
    font-size: 26px;
  }
}

/* =========================================================
   TRUSTPILOT
   ========================================================= */
.trustpilot {
  background: var(--surface);
  border-radius: var(--r-banner);
  padding: 24px;
}

.trustpilot__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-bottom: 20px;
}

.trustpilot__score {
  font-size: 18px;
  font-weight: 700;
}

.trustpilot__stars {
  display: flex;
  gap: 3px;
}

.trustpilot__stars img {
  width: 31px;
  height: 31px;
}

.trustpilot__info {
  font-size: 12px;
  color: var(--muted);
}

.trustpilot__logo {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .trustpilot__logo {
    margin-left: auto;
    width: auto;
    justify-content: flex-end;
  }
}

.trustpilot__logo img {
  width: 106px;
}

.review {
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
}

.review__stars {
  display: flex;
  gap: 2px;
}

.review__stars img {
  width: 18px;
  height: 18px;
}

.review__invited {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  color: var(--muted);
}

.review__invited img {
  width: 12px;
  height: 12px;
}

.review__meta {
  font-size: 12px;
  color: var(--muted);
}

.review__meta b {
  color: var(--white);
  font-weight: 600;
}

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

.review__text {
  font-size: 13px;
  color: var(--muted-2);
}

.trustpilot__foot {
  margin-top: 16px;
  font-size: 12px;
  color: var(--muted);
}

@media (min-width: 768px) {
  .trustpilot {
    padding: 48px;
  }
}

/* =========================================================
   SEO TEXT
   ========================================================= */
.seo {
  position: relative;
  z-index: 1;
  border-radius: 64px 64px 0 0;
  box-shadow: 0 -40px 80px 0 rgba(0, 0, 0, 0.6);
  padding-block: 48px 24px;
}

.seo__inner {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

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

.seo__breadcrumb > img {
  width: 220px;
  height: 27px;
}

.seo__crumbs {
  display: flex;
  align-items: center;
  font-size: 14px;
}

.seo__crumbs img {
  width: 5.4px;
  height: 9px;
  margin-inline: 10px;
}

.seo__crumbs span {
  color: var(--muted-4);
}

.seo__body h1 {
  font-size: 24px;
  font-weight: 700;
}

.seo__body h2 {
  font-size: 22.4px;
  font-weight: 700;
  padding-top: 16px;
}

.seo__body h3 {
  font-size: 20.8px;
  font-weight: 700;
  padding-top: 16px;
}

.seo__body h4 {
  font-size: 19.2px;
  font-weight: 700;
  padding-top: 16px;
}

.seo__body p,
.seo__body li {
  font-size: 12.8px;
  color: var(--muted-2);
}

.seo__body p {
  padding-block: 16px 10px;
}

.seo__body .faq-q {
  font-weight: 700;
  padding-bottom: 0;
}

.seo__body a {
  color: var(--red);
  font-weight: 100;
}

.seo__body a:hover {
  text-decoration: underline;
}

.seo__body ul,
.seo__body ol {
  padding-left: 20px;
  padding-block: 8px;
}

.seo__body ul li {
  list-style: disc;
}

.seo__body ol li {
  list-style: decimal;
}

.seo__images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding-block: 16px;
}

.seo__images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--r-tile);
}

@media (min-width: 768px) {
  .seo__images {
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
    height: 268.8px;
  }
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  position: relative;
  padding-top: 0;
}

.footer__trama {
  width: 100%;
}

.footer__trama img {
  width: 100%;
  height: auto;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-block: 24px;
}

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

.footer__col h3 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
}

.footer__col li + li {
  margin-top: 8px;
}

.footer__col a,
.footer__col span {
  font-size: 12px;
  color: var(--muted);
  transition: color 0.18s ease;
}

.footer__col a:hover {
  color: var(--white);
}

.footer__social {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
}

.footer__social ul {
  display: flex;
  gap: 16px;
}

.footer__social img {
  width: 24px;
  height: 24px;
  transition: opacity 0.18s ease;
}

.footer__social a:hover img {
  opacity: 0.7;
}

.footer__awards {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.footer__awards img {
  max-height: 56px;
  width: auto;
}

.award {
  display: flex;
  align-items: center;
  gap: 8px;
}

.award__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 9999px;
  background: var(--red);
  flex: none;
}

.award__icon img {
  width: 22px;
  height: 22px;
}

.award__text {
  font-size: 12px;
  line-height: 1.3;
}

.award__text b {
  display: block;
  font-weight: 700;
}

.footer__pays,
.footer__legal,
.footer__seals {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 24px;
}

.footer__pays img {
  height: 24px;
  width: auto;
}

.footer__seals img {
  height: 40px;
  width: auto;
}

.footer__legal a {
  font-size: 12px;
  color: var(--muted);
}

.footer__legal a:hover {
  color: var(--white);
}

.footer__group {
  background: var(--surface-alt);
  padding: 24px;
}

.footer__group ul {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: center;
  gap: 24px 32px;
  max-width: var(--max);
  margin-inline: auto;
}

.footer__group img {
  height: 40px;
  width: auto;
  opacity: 0.85;
}

.footer__copy {
  max-width: var(--max);
  margin: 24px auto 0;
  text-align: center;
  font-size: 11px;
  color: var(--muted);
}

.footer__copy p + p {
  margin-top: 4px;
}

@media (min-width: 768px) {
  .footer__cols {
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
  }
}

/* =========================================================
   REGISTRATION MODAL
   ========================================================= */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 24px 16px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.modal[hidden] {
  display: none;
}

.modal__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.modal__dialog {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-banner);
  padding: 28px 24px 24px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.65);
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.modal.is-open .modal__backdrop {
  opacity: 1;
}

.modal.is-open .modal__dialog {
  opacity: 1;
  transform: none;
}

.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  transition: background-color 0.18s ease;
}

.modal__close:hover {
  background: rgba(255, 255, 255, 0.08);
}

.modal__close img {
  width: 14px;
  height: 14px;
}

.modal__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  margin-bottom: 20px;
}

.modal__head > img {
  width: 176px;
  height: auto;
  margin-bottom: 4px;
}

.modal__title {
  font-size: 22px;
  font-weight: 700;
}

.modal__lead {
  font-size: 13px;
  color: var(--muted);
}

/* ---------- form ---------- */
.signup {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.signup[hidden] {
  display: none;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.modal [hidden] {
  display: none !important;
}

.field label {
  font-size: 12px;
  color: var(--muted);
}

.field label span {
  opacity: 0.65;
}

.field__control {
  position: relative;
  display: block;
}

.field input {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-tile);
  color: var(--white);
  font: inherit;
  font-size: 14px;
  transition: border-color 0.18s ease;
}

.field__control input {
  padding-right: 60px;
}

.field input::placeholder {
  color: #5d666f;
}

.field input:focus {
  outline: none;
  border-color: var(--red);
}

.field.is-invalid input {
  border-color: var(--red);
}

.field__toggle {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  padding: 6px 8px;
  font-size: 12px;
  color: var(--muted);
  border-radius: 6px;
}

.field__toggle:hover {
  color: var(--white);
}

.field__error {
  display: none;
  font-size: 11px;
  color: var(--red);
}

.field.is-invalid .field__error,
.field__error.is-visible {
  display: block;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--muted);
  cursor: pointer;
}

.check input {
  appearance: none;
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease;
}

.check input {
  position: relative;
}

.check input:checked {
  background: var(--red);
  border-color: var(--red);
}

.check input:checked::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.check input:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

.check a {
  color: var(--red);
}

.check a:hover {
  text-decoration: underline;
}

.signup__submit {
  height: 48px;
  width: 100%;
  margin-top: 4px;
  font-weight: 700;
}

.signup__alt {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}

.signup__alt a {
  color: var(--red);
  font-weight: 700;
}

.signup__done {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

.signup__done[hidden] {
  display: none;
}

.signup__done-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
}

.signup__done .btn {
  margin-top: 4px;
  min-width: 140px;
}

.signup__spinner {
  width: 28px;
  height: 28px;
  border: 3px solid rgba(255, 255, 255, 0.18);
  border-top-color: var(--red);
  border-radius: 50%;
  animation: signup-spin 0.7s linear infinite;
}

@keyframes signup-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .signup__spinner {
    animation-duration: 2s;
  }
}

.modal__seals {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 14px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.modal__seals img {
  height: 20px;
  width: auto;
  max-width: 100%;
  opacity: 0.75;
}

body.is-modal-open {
  overflow: hidden;
}

@media (min-width: 480px) {
  .modal {
    padding: 40px 24px;
  }

  .modal__dialog {
    padding: 32px 32px 24px;
  }
}
