/* =========================================================
   Voctos – Special Offers / Promotions Cards
   from the live reference page)
   ========================================================= */

/* the 100vw full-bleed trick overflows by the scrollbar width — clip it */
body {
  overflow-x: clip;
}

.voctos-offers {
  font-family: 'Unbounded', sans-serif;
  padding: 100px 0 90px;
  /* full-bleed background — exact reference recipe:
     dark overlay (black → transparent) on top of #0D172D 25% → #EFF0F4 gradient */
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, .6) 0%, rgba(45, 45, 45, .28) 20%, rgba(137, 137, 137, 0) 45%),
    linear-gradient(180deg, #0d172d 25%, #eff0f4 100%);
}

.voctos-offers .offers-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---- Breadcrumbs (ref: Home · About the company · Special offers) ---- */
.voctos-offers .offers-bc {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  font-weight: 400;
  margin: 0 0 32px;
}

.voctos-offers .offers-bc a {
  color: #fff;
  text-decoration: none;
  transition: opacity .2s ease;
}

.voctos-offers .offers-bc a:hover {
  opacity: .75;
}

.voctos-offers .offers-bc-sep {
  color: rgba(255, 255, 255, .45);
}

.voctos-offers .offers-bc-current {
  color: rgba(255, 255, 255, .45);
}

/* ---- Heading (ref: 46px / 400 / lh 1.25 / white) ---- */
.voctos-offers .offers-heading {
  text-align: center;
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(32px, 3.6vw, 46px);
  font-weight: 400;
  color: #fff;
  line-height: 1.25;
  margin: 0 0 24px;
  padding-bottom: 32px;
}

/* gradient word + squiggle underline (ref gradient 327deg pastel) */
.voctos-offers .offers-g {
  position: relative;
  display: inline-block;
  background: linear-gradient(327deg, #f6c7d1 44.73%, #f5f1ce 59.41%, #ffa0bd 74.73%, #d2b3ff 99.78%, #ffcfcf 125.47%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #ffa0bd; /* fallback */
}

.voctos-offers .offers-squiggle {
  position: absolute;
  left: 50%;
  top: 85%;
  transform: translateX(-50%);
  width: 110%;
  height: 36px;
  pointer-events: none;
}

/* ---- Sub (ref: 14px / lh 24px / white 50% / max 1038px) ---- */
.voctos-offers .offers-sub {
  text-align: center;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.72;
  color: rgba(255, 255, 255, .5);
  max-width: 1038px;
  margin: 0 auto 37px;
}

/* ---- Grid (ref: gap 24px rows / 36px cols) ---- */
.voctos-offers .offers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px 36px;
  align-items: stretch;
}

/* ---- Card base (ref: radius 30px / padding 28 36 32) ---- */
.voctos-offers .offers-card {
  position: relative;
  border-radius: 30px;
  padding: 28px 36px 32px;
  display: flex;
  flex-direction: column;
}

/* keep content above decorative background (button excluded — it is absolutely positioned) */
.voctos-offers .offers-card > *:not(.offers-card-bg):not(.offers-btn) {
  position: relative;
  z-index: 1;
}

/* ---- Card variants (exact reference colors) ---- */
.voctos-offers .offers-card--white {
  background: #fff;
  color: #0d172d;
}

.voctos-offers .offers-card--purple {
  background: #7616f4;
  color: #fff;
}

.voctos-offers .offers-card--dark {
  background: #0d172d;
  color: #fff;
}

.voctos-offers .offers-card--lime {
  background: #cad63a;
  color: #0d172d;
}

.voctos-offers .offers-card--pink {
  background: linear-gradient(to bottom right, #ffcfcf, #d2b3ff);
  color: #0d172d;
}

.voctos-offers .offers-card--blue {
  background: linear-gradient(180deg, #9ae2ff 0%, #efabff 55%, #bc88ff 100%);
  color: #0d172d;
}

/* decorative shooting-star (blue / affiliate card)
   ref: right 0 / bottom 6% / height 85% / opacity 45% */
.voctos-offers .offers-card-bg {
  position: absolute;
  z-index: 0;
  right: 0;
  bottom: 6%;
  height: 85%;
  width: auto;
  opacity: .45;
  pointer-events: none;
  user-select: none;
}

/* ---- Title (ref: 34px / 500 / lh 40px / mb 40px / pre-line) ---- */
.voctos-offers .offers-card-title {
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 500;
  line-height: 1.18;
  white-space: pre-line;
  margin: 0 0 40px;
}

/* ---- Big value (ref: 36px / 500 + label 16px / 400) ---- */
.voctos-offers .offers-value-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 6px;
}

.voctos-offers .offers-value {
  font-family: 'Unbounded', sans-serif;
  font-size: 36px;
  font-weight: 500;
  line-height: 1.1;
}

.voctos-offers .offers-value-label {
  font-size: 16px;
  font-weight: 400;
}

/* ---- Lead (ref: 16px / 400 / lh 20px, bold spans 700) ---- */
.voctos-offers .offers-lead {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.25;
  margin: 0 0 16px;
}

.voctos-offers .offers-lead strong {
  font-weight: 700;
}

/* ---- Note (ref: 12px, tight leading, fixed colors per card) ---- */
.voctos-offers .offers-note {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.15;
  margin: 0;
  color: rgba(13, 23, 45, .55);
}

.voctos-offers .offers-card--white .offers-note {
  color: #878b95; /* exact reference value */
}

.voctos-offers .offers-card--purple .offers-note {
  color: #9f7dcc; /* exact reference value */
}

.voctos-offers .offers-card--dark .offers-note {
  color: #8b93a6;
}

/* ---- Checklist (ref: 16px / 400, gap 16px, black 12×10 check) ---- */
.voctos-offers .offers-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.voctos-offers .offers-list li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.25;
}

.voctos-offers .offers-check {
  flex-shrink: 0;
  width: 12px;
  height: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(1px);
}

.voctos-offers .offers-check svg {
  width: 100%;
  height: 100%;
}

/* ---- Button (ref: white pill hanging below the card,
   bottom -25px / centered / 14px / purple text / arrow 10px) ---- */
.voctos-offers .offers-btn {
  position: absolute;
  bottom: -25px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  font-family: 'Unbounded', sans-serif;
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 9999px;
  background: #fff;
  color: #7616f4;
  box-shadow: 0 10px 24px rgba(13, 23, 45, .14);
  transition: transform .2s ease, opacity .2s ease;
}

.voctos-offers .offers-btn svg {
  width: 10px;
  height: 10px;
  flex-shrink: 0;
}

.voctos-offers .offers-btn:hover {
  transform: translate(-50%, -2px);
  opacity: .92;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .voctos-offers .offers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .voctos-offers { padding: 60px 0 70px; }
  .voctos-offers .offers-card { padding: 26px 24px 30px; }
  .voctos-offers .offers-card-title { margin-bottom: 28px; }
}

/* ── Mobile / tablet only (<1024px): single swipeable row instead of a
   stacked/2-col grid — same pattern used across the other hero/card blocks.
   Extra bottom padding makes room for the card's hanging "offers-btn"
   pill (position:absolute; bottom:-25px), which would otherwise get
   clipped once the container becomes a horizontal scroller. */
@media (max-width: 1023px) {
  .voctos-offers .offers-grid {
    display: flex;
    flex-wrap: nowrap;
    grid-template-columns: none;
    gap: 20px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 4px;
    padding: 4px 4px 55px;
    scrollbar-width: thin;
  }
  .voctos-offers .offers-grid::-webkit-scrollbar { height: 6px; }
  .voctos-offers .offers-grid::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, .35);
    border-radius: 9999px;
  }
  .voctos-offers .offers-card {
    flex: 0 0 auto;
    width: clamp(260px, 82vw, 340px);
    scroll-snap-align: center;
  }
}
