/* ================================================================
   specials.css — Product Specials / Blow Out Sale Page
   ================================================================ */

.specials-page { background: #f1f5fb; }

/* ── Custom properties ── */
:root {
  --sale:   #f97316;
  --sale-l: #fff7ed;
  --gold:   #f59e0b;
}

/* ================================================================
   KEYFRAMES
   ================================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeRight {
  from { opacity: 0; transform: translateX(-20px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

@keyframes salePulse {
  0%, 100% { text-shadow: 0 0 20px rgba(249,115,22,.6), 0 0 40px rgba(249,115,22,.3); }
  50%       { text-shadow: 0 0 32px rgba(249,115,22,.9), 0 0 60px rgba(249,115,22,.5), 0 0 80px rgba(255,200,50,.2); }
}
@keyframes fireFloat {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50%       { transform: translateY(-8px) rotate(5deg); }
}
@keyframes particle {
  0%   { transform: translateY(0) translateX(0) scale(1); opacity: .8; }
  100% { transform: translateY(-120px) translateX(var(--px, 0px)) scale(0); opacity: 0; }
}
@keyframes shimmerSlide {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}
@keyframes badgePop {
  0%   { transform: scale(0) rotate(-8deg); }
  70%  { transform: scale(1.1) rotate(2deg); }
  100% { transform: scale(1) rotate(0deg); }
}
@keyframes scrollBounce {
  0%, 100% { transform: scaleY(1) translateY(0); opacity: 1; }
  60%       { transform: scaleY(1.2) translateY(10px); opacity: .3; }
}

/* ================================================================
   HERO
   ================================================================ */
.sp-hero {
  position: relative;
  margin-top: 85px;
  min-height: 440px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #050d1e;
}
.sp-hero__bg {
  position: absolute; inset: 0; z-index: 0;
}
.sp-hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 40%;
  display: block; filter: brightness(.45) saturate(.8);
}
.sp-hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(108deg, rgba(5,13,30,.95) 0%, rgba(5,13,30,.6) 55%, rgba(5,13,30,.8) 100%),
    linear-gradient(to top, rgba(5,13,30,.8) 0%, transparent 60%);
}
.sp-hero__overlay::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(249,115,22,.07) 1px, transparent 1px);
  background-size: 24px 24px;
}
.sp-hero__overlay::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 70% at 50% 30%, rgba(249,115,22,.12) 0%, transparent 65%);
}

/* Particles */
.sp-hero__particles {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
}
.sp-hero__particles span {
  position: absolute;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--gold);
  bottom: 40%;
  animation: particle 3s ease-in infinite;
}
.sp-hero__particles span:nth-child(1) { left: 20%; --px: 30px; animation-delay: 0s; }
.sp-hero__particles span:nth-child(2) { left: 35%; --px: -20px; animation-delay: .5s; width: 3px; height: 3px; background: var(--sale); }
.sp-hero__particles span:nth-child(3) { left: 50%; --px: 15px; animation-delay: 1s; width: 5px; height: 5px; }
.sp-hero__particles span:nth-child(4) { left: 65%; --px: -35px; animation-delay: 1.5s; width: 3px; height: 3px; background: #fff; }
.sp-hero__particles span:nth-child(5) { left: 75%; --px: 25px; animation-delay: .8s; }
.sp-hero__particles span:nth-child(6) { left: 28%; --px: -10px; animation-delay: 2s; width: 6px; height: 6px; background: var(--sale); }
.sp-hero__particles span:nth-child(7) { left: 55%; --px: 40px; animation-delay: 2.5s; }
.sp-hero__particles span:nth-child(8) { left: 42%; --px: -25px; animation-delay: .3s; width: 3px; height: 3px; background: #fff; }

.sp-hero__inner {
  position: relative; z-index: 3;
  padding: 4rem 0;
  text-align: center;
  width: 100%;
}

.sp-hero__brand {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin-bottom: 1.2rem;
  animation: fadeIn .6s ease both;
}
.sp-hero__brand-dot {
  width: 6px; height: 6px;
  background: var(--sale);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px var(--sale);
}

.sp-hero__badge-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  margin-bottom: 1.2rem;
  animation: fadeUp .7s .1s ease both;
}
.sp-hero__fire {
  font-size: 2.2rem;
  animation: fireFloat 2s ease-in-out infinite;
  filter: drop-shadow(0 0 8px rgba(249,115,22,.7));
}
.sp-hero__fire:last-child { animation-delay: .4s; }

.sp-hero__sale-badge {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 7vw, 5.5rem);
  letter-spacing: .06em;
  line-height: 1;
  background: linear-gradient(90deg, #f97316 0%, #fbbf24 40%, #f97316 80%, #fbbf24 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmerSlide 3s linear infinite, salePulse 2.5s ease-in-out infinite;
}

.sp-hero__sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,.72);
  line-height: 1.65;
  max-width: 520px;
  margin: 0 auto 2rem;
  animation: fadeUp .7s .2s ease both;
}

.sp-hero__chips {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: .75rem;
  animation: fadeUp .7s .3s ease both;
}
.sp-hero__chip {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  padding: .5rem 1rem;
  border-radius: 30px;
  backdrop-filter: blur(6px);
}
.sp-hero__chip svg { width: 14px; height: 14px; flex-shrink: 0; }
.sp-hero__chip--warn {
  color: #fbbf24;
  background: rgba(251,191,36,.1);
  border-color: rgba(251,191,36,.3);
}

.sp-hero__scroll {
  position: absolute;
  bottom: 1.4rem; left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  animation: fadeIn 1s .8s ease both;
}
.sp-hero__scroll span {
  display: block;
  width: 2px; height: 36px;
  background: linear-gradient(to bottom, rgba(249,115,22,.9), transparent);
  border-radius: 2px;
  margin: 0 auto;
  animation: scrollBounce 1.8s ease-in-out infinite;
}

/* ================================================================
   MAIN / GRID
   ================================================================ */
.sp-main { padding: 3.5rem 0 5rem; }

.sp-section-head {
  text-align: center;
  margin-bottom: 2.5rem;
}
.sp-section-title {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--dark);
  margin: 0 0 .5rem;
  letter-spacing: .02em;
}
.sp-section-sub {
  font-size: .95rem;
  color: #64748b;
  margin: 0;
}

.sp-section-head.reveal { opacity: 0; transform: translateY(20px); }
.sp-section-head.revealed { animation: fadeUp .55s ease both; }

/* ── Product card grid ── */
.sp-grid {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  margin-bottom: 3rem;
}

/* ── Single product card ── */
.sp-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 220px 1fr;
  box-shadow: 0 4px 24px rgba(0,0,0,.07);
  border: 1px solid #e2eaf4;
  transition: transform .3s, box-shadow .3s;
  position: relative;
}
.sp-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(1,94,160,.12);
}

.sp-card.reveal { opacity: 0; transform: translateY(28px); }
.sp-card.revealed {
  animation: fadeUp .65s ease both;
  animation-delay: var(--reveal-delay, 0s);
}

/* ── Image column ── */
.sp-card__image-col {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 1.5rem 1rem 1.4rem;
  min-height: 180px;
  overflow: hidden;
}
.sp-card__image-col--blue    { background: linear-gradient(145deg, #014a80 0%, #0284c7 100%); }
.sp-card__image-col--indigo  { background: linear-gradient(145deg, #3730a3 0%, #6366f1 100%); }
.sp-card__image-col--teal    { background: linear-gradient(145deg, #0f766e 0%, #2dd4bf 100%); }
.sp-card__image-col--violet  { background: linear-gradient(145deg, #6b21a8 0%, #a855f7 100%); }
.sp-card__image-col--slate   { background: linear-gradient(145deg, #1e3a5f 0%, #374e6b 100%); }
.sp-card__image-col--amber   { background: linear-gradient(145deg, #92400e 0%, #d97706 100%); }

/* Subtle dot overlay on image col */
.sp-card__image-col::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 18px 18px;
}

.sp-card__img-icon {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -60%);
  opacity: .55;
  transition: opacity .3s, transform .3s;
}
.sp-card:hover .sp-card__img-icon {
  opacity: .7;
  transform: translate(-50%, -62%) scale(1.05);
}
.sp-card__img-icon svg { width: 72px; height: 72px; }
.sp-card__real-img {
  width: 80px; height: 80px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.sp-card__real-img--lg {
  width: 130px;
  height: 130px;
  filter: none;
  object-fit: contain;
  border-radius: 10px;
  background: rgba(255,255,255,.92);
  padding: 8px;
  box-shadow: 0 6px 24px rgba(0,0,0,.3);
}

.sp-card__img-label {
  position: relative; z-index: 1;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  letter-spacing: .06em;
  color: #fff;
  line-height: 1;
  margin-bottom: .2rem;
}
.sp-card__img-sub {
  position: relative; z-index: 1;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
}

/* ── Content column ── */
.sp-card__content {
  padding: 1.6rem 2rem 1.6rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: .9rem;
}

.sp-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}
.sp-card__category {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: .3rem;
}
.sp-card__name {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0;
  line-height: 1.2;
}
.sp-card__desc {
  font-size: .875rem;
  color: #64748b;
  line-height: 1.65;
  margin: 0;
}

/* ── Save badge ── */
.sp-save-badge {
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--sale) 0%, var(--gold) 100%);
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .4rem .85rem;
  border-radius: 20px;
  box-shadow: 0 4px 14px rgba(249,115,22,.35);
  animation: badgePop .5s .4s cubic-bezier(.34,1.56,.64,1) both;
  white-space: nowrap;
}

/* ── Pricing grid ── */
.sp-pricing {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  background: #f8fafc;
  border-radius: 12px;
  border: 1.5px solid #e2e8f0;
  overflow: hidden;
}
.sp-pricing--single {
  grid-template-columns: 1fr;
}
.sp-pricing__item {
  padding: .9rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: .25rem;
}
.sp-pricing__item--pallet {
  background: var(--blue-l);
}
.sp-pricing__label {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #94a3b8;
}
.sp-pricing__label svg { width: 12px; height: 12px; flex-shrink: 0; }
.sp-pricing__price {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -.01em;
  line-height: 1.1;
}
.sp-pricing__price span {
  font-size: .72rem;
  font-weight: 500;
  color: #94a3b8;
}
.sp-pricing__per {
  font-size: .76rem;
  color: #64748b;
  font-weight: 500;
}
.sp-pricing__per em {
  font-style: normal;
  font-weight: 700;
  color: var(--blue);
  background: var(--blue-l);
  padding: .1rem .4rem;
  border-radius: 4px;
  font-size: .68rem;
}
.sp-pricing__divider {
  width: 1px;
  height: 80%;
  background: #e2e8f0;
  align-self: center;
}

/* ── Actions ── */
.sp-card__actions {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin-top: auto;
}

/* ── Buttons ── */
.sp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  font-family: var(--font-sans);
  font-size: .87rem;
  font-weight: 700;
  padding: .7rem 1.4rem;
  border-radius: 10px;
  text-decoration: none;
  transition: all .22s;
  border: 2px solid transparent;
  letter-spacing: .03em;
}
.sp-btn--primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 4px 14px rgba(1,94,160,.25);
}
.sp-btn--primary:hover {
  background: var(--blue-d);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(1,94,160,.35);
}
.sp-btn--outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.sp-btn--outline:hover {
  background: var(--blue);
  color: #fff;
}
.sp-btn--white {
  background: #fff;
  color: var(--blue);
  font-weight: 700;
}
.sp-btn--white:hover {
  background: var(--blue-l);
  transform: translateY(-2px);
}

/* ================================================================
   CTA BAND
   ================================================================ */
.sp-cta-band {
  background: linear-gradient(108deg, var(--dark) 0%, #0c2444 60%, #0a1929 100%);
  border-radius: 20px;
  padding: 2.5rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(5,13,30,.3);
}
.sp-cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(57,173,255,.08) 1px, transparent 1px);
  background-size: 24px 24px;
}
.sp-cta-band::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 80% at 100% 50%, rgba(1,94,160,.2) 0%, transparent 65%);
}
.sp-cta-band__content { position: relative; z-index: 1; }
.sp-cta-band__content h3 {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: #fff;
  margin: 0 0 .5rem;
  letter-spacing: .02em;
}
.sp-cta-band__content p {
  font-size: .9rem;
  color: rgba(255,255,255,.65);
  margin: 0;
  max-width: 460px;
  line-height: 1.6;
}
.sp-cta-band__actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-shrink: 0;
  position: relative; z-index: 1;
}
.sp-cta-band__phone {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .9rem;
  font-weight: 600;
  color: rgba(255,255,255,.75);
  text-decoration: none;
  transition: color .2s;
}
.sp-cta-band__phone svg { width: 15px; height: 15px; flex-shrink: 0; }
.sp-cta-band__phone:hover { color: #fff; }

.sp-cta-band.reveal { opacity: 0; transform: translateY(24px); }
.sp-cta-band.revealed { animation: fadeUp .6s ease both; animation-delay: .1s; }

/* ================================================================
   SCROLL REVEAL
   ================================================================ */
.reveal { opacity: 0; transform: translateY(28px); }
.revealed {
  animation: fadeUp .6s ease both;
  animation-delay: var(--reveal-delay, 0s);
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 900px) {
  .sp-card { grid-template-columns: 160px 1fr; }
  .sp-hero__badge-row { gap: .8rem; }
}

@media (max-width: 700px) {
  .sp-card { grid-template-columns: 1fr; }
  .sp-card__image-col { min-height: 130px; flex-direction: row; justify-content: flex-start; padding: 1.2rem 1.4rem; gap: 1rem; }
  .sp-card__img-icon { position: static; transform: none; opacity: .85; }
  .sp-card:hover .sp-card__img-icon { transform: none; }
  .sp-card__img-icon svg { width: 44px; height: 44px; }
  .sp-card__real-img { width: 44px; height: 44px; }
  .sp-card__content { padding: 1.4rem; }
  .sp-pricing { grid-template-columns: 1fr; }
  .sp-pricing__divider { width: 100%; height: 1px; }
  .sp-cta-band { padding: 2rem 1.6rem; }
  .sp-cta-band__actions { width: 100%; justify-content: flex-start; }
  .sp-hero__sale-badge { font-size: 2.8rem; }
}

@media (max-width: 500px) {
  .sp-hero { min-height: 380px; }
  .sp-hero__inner { padding: 3rem 0 2.5rem; }
}
