/* =====================================================================
   OFFER — service cards (database driven). Self-contained so it works on
   the homepage and the services page alike.
   ===================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600;700;800&family=Inter:wght@400;500;600&display=swap');

/* shared bits (identical to the homepage kit; repeated so this file stands alone) */
.offer .eyebrow,
.svc-hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  margin-bottom: 18px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #ffc107;
  background: rgba(255, 193, 7, 0.1);
  border: 1px solid rgba(255, 193, 7, 0.3);
  border-radius: 999px;
  box-shadow: 0 0 24px rgba(255, 193, 7, 0.18);
}

.offer .grad-text,
.svc-hero .grad-text {
  background: linear-gradient(100deg, #ffe259 0%, #ffc107 40%, #ff9800 85%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 22px rgba(255, 193, 7, 0.32));
}

.offer .btn-outline-glow,
.svc-hero .btn-glow,
.svc-hero .btn-outline-glow {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 32px;
  overflow: hidden;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.offer .btn-outline-glow,
.svc-hero .btn-outline-glow {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.offer .btn-outline-glow:hover,
.svc-hero .btn-outline-glow:hover {
  color: #fff;
  transform: translateY(-3px);
  background: rgba(255, 193, 7, 0.14);
  border-color: rgba(255, 193, 7, 0.7);
  box-shadow: 0 12px 30px -8px rgba(255, 193, 7, 0.45);
}

.svc-hero .btn-glow {
  color: #14100a;
  background: linear-gradient(120deg, #ffe259, #ffc107 55%, #ff9800);
  box-shadow: 0 10px 30px -6px rgba(255, 193, 7, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.25) inset;
}

.svc-hero .btn-glow:hover {
  color: #14100a;
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -6px rgba(255, 193, 7, 0.75);
}

/* ---------- section ---------- */
.offer {
  position: relative;
  padding: 100px 20px;
  background: #0d0d11;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  isolation: isolate;
}

.offer *,
.offer *::before,
.offer *::after {
  box-sizing: border-box;
}

.offer__head {
  max-width: 760px;
  margin: 0 auto 58px;
  text-align: center;
}

.offer__title {
  margin: 0 0 16px;
  font-family: 'Poppins', 'Inter', sans-serif;
  font-size: clamp(2rem, 4.6vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
}

.offer__lead {
  margin: 0;
  font-size: 1.06rem;
  line-height: 1.75;
  color: #a9a9b6;
  opacity: 1;
  transform: none;
}

.offer__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 28px;
  max-width: 1240px;
  margin: 0 auto;
}

.offer__foot {
  margin-top: 56px;
  text-align: center;
}

/* ---------- card ---------- */
@property --ang {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

.offer-card {
  position: relative;
  grid-column: span 4;
  min-width: 0;
  perspective: 1100px;
}

.offer-card:nth-child(n + 4) {
  grid-column: span 3;
}

.offer-card__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 32px 8px 32px 8px;
  background: linear-gradient(180deg, #18181f, #111117);
  border: 1px solid rgba(255, 193, 7, 0.16);
  transform: rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)) translateY(var(--lift, 0px));
  transition: transform 0.25s ease-out, box-shadow 0.35s ease, border-color 0.35s ease;
  will-change: transform;
}

.offer-card:nth-child(even) .offer-card__inner {
  border-radius: 8px 32px 8px 32px;
}

/* spinning gold light around the card edge */
.offer-card__inner::before {
  content: "";
  position: absolute;
  inset: -1px;
  padding: 2px;
  border-radius: inherit;
  background: conic-gradient(from var(--ang), transparent 0 62%, #ffe259 82%, #ff9800 92%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0;
  transition: opacity 0.4s ease;
  animation: offerSpin 3.2s linear infinite;
  pointer-events: none;
}

.offer-card:hover .offer-card__inner {
  --lift: -8px;
  border-color: transparent;
  box-shadow: 0 30px 60px -22px rgba(0, 0, 0, 0.8), 0 0 50px rgba(255, 193, 7, 0.2);
}

.offer-card:hover .offer-card__inner::before {
  opacity: 1;
}

@keyframes offerSpin {
  to { --ang: 360deg; }
}

.offer-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  text-decoration: none;
}

.offer-card__img {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 31px 7px 0 0;
  clip-path: polygon(0 0, 100% 0, 100% 82%, 0 100%);
}

.offer-card:nth-child(even) .offer-card__img {
  border-radius: 7px 31px 0 0;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 82%);
}

.offer-card__img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s ease;
}

.offer-card__img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 13, 0.45), rgba(10, 10, 13, 0.05) 45%, rgba(17, 17, 23, 0.6));
}

.offer-card:hover .offer-card__img img {
  transform: scale(1.09);
}

.offer-card__num {
  position: absolute;
  top: 14px;
  left: 22px;
  z-index: 2;
  font-family: 'Poppins', sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.85);
}

.offer-card__icon {
  position: absolute;
  right: 22px;
  bottom: -20px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  font-size: 1.5rem;
  color: #14100a;
  background: linear-gradient(135deg, #ffe259, #ffc107 55%, #ff9800);
  clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0 50%);
  transition: transform 0.4s ease;
}

.offer-card:nth-child(even) .offer-card__icon {
  right: auto;
  left: 22px;
}

.offer-card:hover .offer-card__icon {
  transform: rotate(-10deg) scale(1.1);
}

.offer-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  padding: 30px 26px 26px;
}

.offer-card__body h3 {
  margin: 0;
  font-family: 'Poppins', 'Inter', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.offer-card__body h3 a {
  color: #fff;
  text-decoration: none;
  transition: color 0.25s ease;
}

.offer-card:hover .offer-card__body h3 a {
  color: #ffc107;
}

.offer-card__body p {
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.65;
  color: #a9a9b6;
  opacity: 1;
  transform: none;
}

.offer-card__list {
  display: grid;
  gap: 8px;
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
}

.offer-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.86rem;
  line-height: 1.4;
  color: #d4d4de;
}

.offer-card__list li i {
  flex: 0 0 auto;
  margin-top: 2px;
  font-size: 0.72rem;
  color: #ffc107;
}

.offer-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin-top: auto;
  padding-top: 14px;
}

.offer-card__cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 22px;
  overflow: hidden;
  font-size: 0.88rem;
  font-weight: 700;
  color: #14100a;
  text-decoration: none;
  background: linear-gradient(120deg, #ffe259, #ffc107 55%, #ff9800);
  border-radius: 999px;
  box-shadow: 0 10px 24px -8px rgba(255, 193, 7, 0.6);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.offer-card__cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.6) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.7s ease;
}

.offer-card__cta:hover {
  color: #14100a;
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -8px rgba(255, 193, 7, 0.8);
}

.offer-card__cta:hover::after {
  transform: translateX(120%);
}

.offer-card__cta i {
  font-size: 0.75rem;
  transition: transform 0.25s ease;
}

.offer-card__cta:hover i {
  transform: translateX(3px);
}

.offer-card__more {
  font-size: 0.88rem;
  font-weight: 600;
  color: #d4d4de;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  transition: color 0.25s ease, border-color 0.25s ease;
}

.offer-card__more:hover {
  color: #ffc107;
  border-color: #ffc107;
}

/* ---------- responsive ---------- */
@media (max-width: 1099px) {
  .offer__grid {
    gap: 24px;
  }
  .offer-card,
  .offer-card:nth-child(n + 4) {
    grid-column: span 6;
  }
  .offer-card:last-child:nth-child(odd) {
    grid-column: 4 / span 6;
  }
}

@media (max-width: 720px) {
  .offer {
    padding: 72px 16px;
  }
  .offer__head {
    margin-bottom: 40px;
  }
  .offer-card,
  .offer-card:nth-child(n + 4),
  .offer-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

/* ---------- services page hero ---------- */
.svc-hero {
  position: relative;
  padding: 96px 20px 70px;
  text-align: center;
  background: radial-gradient(circle at 50% 0%, rgba(255, 193, 7, 0.16), transparent 62%), #0d0d11;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
}

.svc-hero h1 {
  max-width: 820px;
  margin: 0 auto 16px;
  font-family: 'Poppins', 'Inter', sans-serif;
  font-size: clamp(2.1rem, 5.2vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  opacity: 1;
  transform: none;
}

.svc-hero__sub {
  max-width: 620px;
  margin: 0 auto 30px;
  font-size: 1.06rem;
  line-height: 1.7;
  color: #a9a9b6;
}

.svc-hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.svc-page {
  margin: 0;
  background: #0d0d11;
}

.svc-page .offer {
  padding-top: 40px;
}
