html.dark .offer-cta {
  color: #111827
}

.offers-section-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 14px;
  border-radius: 999px;
  background: var(--red-pale);
  color: var(--red);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .3px;
  border: 1px solid rgba(220, 38, 38, .15);
  margin-bottom: 10px
}

.offers-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  min-height: 420px
}

.offer-banner-main {
  grid-column: 1 / 2;
  grid-row: 1 / 3
}

.offer-banner {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform .3s cubic-bezier(.34, 1.2, .64, 1), box-shadow .3s ease;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .08);
  text-decoration: none;
  height: 100%;
}

.offer-banner:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .14)
}

.offer-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform .55s ease;
  will-change: transform
}

.offer-banner:hover .offer-bg {
  transform: scale(1.05)
}

.offer-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none
}

.offer-ph-1 {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8f 55%, #1d4ed8 100%)
}

.offer-ph-2 {
  background: linear-gradient(135deg, #1a0533 0%, #4c1d95 55%, #7c3aed 100%)
}

.offer-ph-3 {
  background: linear-gradient(135deg, #064e3b 0%, #065f46 55%, #059669 100%)
}

.offer-ph-4 {
  background: linear-gradient(135deg, #7c1d1d 0%, #991b1b 55%, #dc2626 100%)
}

.offer-bg-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden
}

.offer-bg-deco::before {
  content: '';
  position: absolute;
  right: -50px;
  top: -50px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .06)
}

.offer-bg-deco::after {
  content: '';
  position: absolute;
  left: -30px;
  bottom: -70px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .04)
}

.offer-content {
  position: relative;
  z-index: 3;
  padding: 20px 20px 18px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-end;
  gap: 15px;
}

.offer-text-wrap {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.offer-banner-main .offer-content {
  padding: 32px 28px 26px
}

.offer-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .22);
  color: rgba(255, 255, 255, .95);
  font-size: 11px;
  font-weight: 800;
  width: fit-content;
  margin-bottom: 3px
}

.offer-tag-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 5px #4ade80;
  animation: pulse 2s infinite;
  flex-shrink: 0
}

.offer-discount {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: 8px;
  background: var(--red);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  width: fit-content;
  box-shadow: 0 2px 8px rgba(220, 38, 38, .4);
  margin-bottom: 2px
}

.offer-banner-side .offer-discount {
  font-size: 11px;
  padding: 3px 9px
}

.offer-discount-float {
  position: absolute;
  top: 14px;
  left: 14px;
  right: auto;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 3px 12px rgba(220, 38, 38, .5)
}

.offer-banner-side .offer-discount-float {
  font-size: 11px;
  padding: 4px 10px;
  top: 10px;
  left: 10px;
  right: auto
}

.offer-title {
  font-family: var(--font-display);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  text-shadow: 0 1px 14px rgba(0, 0, 0, .3)
}

.offer-banner-main .offer-title {
  font-size: clamp(18px, 2vw, 28px)
}

.offer-banner-side .offer-title {
  font-size: clamp(14px, 1.4vw, 18px)
}

.offer-subtitle {
  color: rgba(255, 255, 255, .78);
  line-height: 1.5
}

.offer-banner-main .offer-subtitle {
  font-size: 13.5px
}

.offer-banner-side .offer-subtitle {
  font-size: 12px
}

.offer-timer {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: rgba(255, 255, 255, .7);
  font-size: 11px;
  font-weight: 700
}

.offer-timer i {
  font-size: 10px
}

.offer-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 20px;
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  transition: background .2s, transform .2s;
  width: fit-content;
  box-shadow: 0 3px 14px rgba(0, 0, 0, .16);
  text-decoration: none;
  margin-top: 8px;
  flex-shrink: 0
}

.offer-cta:hover {
  background: #f1f5f9;
  transform: scale(1.03)
}

.offer-cta i {
  font-size: 11px;
  transition: transform .2s
}

.offer-banner:hover .offer-cta i {
  transform: translateX(-3px)
}

.offer-banner-side .offer-cta {
  padding: 8px 16px;
  font-size: 12px;
  margin-top: 6px
}

.offer-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, .08) 50%, transparent 60%);
  background-size: 200% 100%;
  background-position: 200% 0;
  transition: background-position .6s ease
}

.offer-banner:hover::after {
  background-position: -200% 0
}

.offer-skeleton {
  border-radius: 18px;
  height: 100%;
  background: linear-gradient(90deg, #f1f5f9 25%, #e8edf5 50%, #f1f5f9 75%);
  background-size: 400% 100%;
  animation: shimmer 1.6s ease infinite;
  min-height: 180px
}

.offer-banner-main .offer-skeleton {
  min-height: 420px
}

.offers-slider-wrap {
  display: none;
  overflow: hidden;
  position: relative;
  padding-bottom: 0
}

.offers-slider-track {
  display: flex;
  gap: 12px;
  transition: transform .42s cubic-bezier(.4, 0, .2, 1);
  will-change: transform
}

.offers-slider-track .offer-card-slide {
  flex: 0 0 100%;
  max-width: 100%
}

.offers-slider-track .offer-banner {
  min-height: 230px;
  height: 230px;
  border-radius: 16px;
  padding-bottom: 28px
}

.offers-slider-controls {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 7px;
  position: static;
  margin-top: 15px;
  margin-bottom: 10px;
}

.offers-slider-dot {
  display: block;
  flex: 0 0 7px;
  flex-shrink: 0;
  flex-grow: 0;
  width: 7px;
  height: 7px;
  min-width: 7px;
  max-width: 7px;
  min-height: 7px;
  max-height: 7px;
  border-radius: 50%;
  box-sizing: content-box;
  padding: 0;
  margin: 0;
  background: var(--border-strong, rgba(0, 0, 0, 0.15));
  border: none;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  outline: none;
  transition: width .28s ease, border-radius .28s ease, background .2s ease
}

.offers-slider-dot.active {
  width: 22px;
  max-width: 22px;
  min-width: 22px;
  flex: 0 0 22px;
  height: 7px;
  border-radius: 3.5px;
  background: var(--blue, #2563eb)
}

.offer-banner {
  border-radius: var(--r5);
  box-shadow: var(--shadow)
}

.offer-banner:hover {
  box-shadow: var(--shadow-lift)
}

.offer-content {
  padding: 20px 20px 18px
}

.offer-banner-main .offer-content {
  padding: 28px 24px 24px
}

.offer-cta {
  border-radius: var(--r-pill);
  font-size: 12.5px;
  font-weight: var(--weight-bold);
  padding: 9px 18px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .14)
}

.offer-cta:hover {
  background: #f1f5f9;
  box-shadow: var(--shadow-md)
}

html.dark .offer-cta:hover {
  background: #e2e8f0
}

.offer-discount {
  border-radius: var(--r2);
  font-size: 11.5px;
  padding: 4px 9px;
  font-weight: var(--weight-bold)
}

.offer-tag {
  border-radius: var(--r-pill);
  font-size: 10.5px
}

.offers-section-tag {
  background: var(--red-pale);
  border-color: rgba(220, 38, 38, .12);
  color: var(--red);
  border-radius: var(--r-pill);
  font-size: 11px;
  font-weight: var(--weight-bold)
}

@media(max-width:1024px) {
  .offers-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    min-height: unset
  }

  .offer-banner-main {
    grid-column: 1 / 3;
    grid-row: 1 / 2
  }

  .offer-banner-main .offer-banner {
    min-height: 260px
  }

  .offer-banner-side .offer-banner {
    min-height: 180px
  }
}

@media(max-width:640px) {
  #offersSection {
    padding: 40px 0 32px
  }

  .offers-grid {
    display: none
  }

  .offers-slider-wrap {
    display: block
  }

  .offers-slider-controls {
    display: flex
  }
}

@media(max-width:640px) {
  #offersSection {
    padding: 32px 0 24px
  }

  #offersSection .section-header {
    padding: 0 16px;
    margin-bottom: 16px
  }

  .offers-slider-wrap {
    padding: 0
  }

  .offers-slider-track .offer-card-slide {
    flex: 0 0 calc(100vw - 80px);
    max-width: calc(100vw - 80px);
    width: calc(100vw - 80px)
  }

  .offers-slider-track .offer-banner {
    height: 220px;
    min-height: 0;
    border-radius: 14px;
    padding-bottom: 28px
  }

  .offer-content {
    padding: 14px 16px 14px
  }

  .offer-title {
    font-size: 15px
  }

  .offer-subtitle {
    font-size: 11.5px
  }

  .offer-cta {
    padding: 8px 14px;
    font-size: 12px;
    min-height: 38px;
    margin-top: 4px
  }

  .offer-discount {
    font-size: 11px;
    padding: 3px 9px
  }

  .offer-discount-float {
    font-size: 10px;
    padding: 3px 8px;
    top: 8px;
    right: 8px;
    left: auto;
    gap: 3px
  }

  .offer-discount-float i {
    font-size: 9px
  }
}

@media(max-width:640px) {

  .featured-grid,
  .services-grid,
  .offers-slider-track {
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch
  }
}

@media (max-width: 768px) {
  .offers-grid {
    display: none
  }

  .offers-slider-wrap {
    display: block
  }

  .offer-banner {
    border-radius: 16px
  }

  .offer-content {
    padding: 12px 14px
  }

  .offer-title {
    font-size: 15px
  }

  .offer-cta {
    font-size: 12px;
    padding: 8px 14px;
    border-radius: 12px
  }
}

@media (max-width: 768px) {
  .wrap {
    width: calc(100% - 24px);
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin-bottom: 16px
  }

  .section-header h2 {
    font-size: clamp(18px, 5vw, 22px);
    line-height: 1.25
  }

  .section-header>p {
    font-size: 12.5px;
    max-width: 100%
  }

  .section {
    padding: 28px 0 20px;
    scroll-margin-top: 108px
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px
  }

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



  .featured-grid,
  .offers-slider-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: none;
    scrollbar-width: none
  }

  .featured-grid::-webkit-scrollbar,
  .offers-slider-wrap::-webkit-scrollbar {
    display: none
  }
}

.offers-slider-wrap {
  overflow: hidden;
  overflow-x: hidden;
  -webkit-overflow-scrolling: unset;
  scroll-snap-type: none;
  touch-action: pan-y
}

.offers-slider-track {
  overflow: visible;
  width: 100%;
  max-width: unset;
  touch-action: pan-y
}

.offers-slider-controls {
  position: static;
  margin-top: 15px;
  margin-bottom: 10px;
  z-index: 5;
  overflow: visible
}

@media (max-width: 768px) {
  .offers-slider-track {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    width: max-content;
    max-width: unset;
    gap: 12px;
    will-change: transform;
    transition: transform .42s cubic-bezier(.4, 0, .2, 1);
    transform-origin: right center
  }

  .offers-slider-track .offer-card-slide {
    flex: 0 0 calc(100vw - 80px);
    max-width: calc(100vw - 80px);
    width: calc(100vw - 80px);
    min-width: 0
  }

  .offers-slider-wrap {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding-right: 0;
    padding-left: 0
  }
}

/* --- Block --- */

/* PEEK EFFECT */
@media (max-width: 768px) {
  .offers-slider-wrap {
    overflow: hidden;
    padding-right: 16px;
    padding-left: 16px;
    box-sizing: border-box;
  }

  .offers-slider-track {
    gap: 12px;
  }

  .offers-slider-track .offer-card-slide {
    flex: 0 0 calc(100vw - 80px);
    width: calc(100vw - 80px);
    max-width: calc(100vw - 80px);
  }
}