/* ================================================================
   NAKHTAL FURNITURE — CTA STYLES
   File: assets/css/cta.css
   Contains: CTA band, floating call/WhatsApp buttons,
             mobile bottom bar, .btn-yellow polish
   ================================================================ */

/* ----------------------------------------------------------------
   CTA BAND — closing conversion section before footer
   ---------------------------------------------------------------- */
.cta-band {
  background: linear-gradient(150deg, #1a1a1a 0%, #2a2015 100%);
  color: #f5f5f5;
  border-radius: 22px;
  padding: clamp(28px, 4vw, 48px);
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 26px;
  align-items: center;
  box-shadow: 0 20px 44px rgba(0, 0, 0, .20);
}

@media (max-width: 780px) {
  .cta-band {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.cta-band h2 {
  color: #fff;
  font-size: clamp(1.35rem, 1.6vw + 1rem, 1.85rem);
  margin: 0 0 8px;
  line-height: 1.2;
}

.cta-band p {
  color: #c9c2b3;
  font-size: .98rem;
  margin: 0;
  max-width: 55ch;
}

@media (max-width: 780px) {
  .cta-band p { margin-inline: auto; }
}

.cta-band .cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

@media (max-width: 780px) {
  .cta-band .cta-actions { justify-content: center; }
}

.cta-band .btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 10px;
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}

.cta-band .btn-cta:hover {
  transform: translateY(-2px);
}

.cta-band .btn-cta--call {
  background: #c8a020;
  color: #1a1a1a;
  box-shadow: 0 10px 24px rgba(200, 160, 32, .28);
}

.cta-band .btn-cta--call:hover { background: #d8b02a; }

.cta-band .btn-cta--wa {
  background: #25D366;
  color: #fff;
  box-shadow: 0 10px 24px rgba(37, 211, 102, .28);
}

.cta-band .btn-cta--wa:hover { background: #1ebe5a; }


/* ----------------------------------------------------------------
   FLOATING CALL + WHATSAPP (bottom-right stack)
   ---------------------------------------------------------------- */
.float-call,
.float-wa {
  position: fixed;
  right: 20px;
  z-index: 998;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .22);
  transition: transform .15s ease, box-shadow .15s ease;
}

.float-call:hover,
.float-wa:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .30);
}

.float-call {
  bottom: 92px;
  background: linear-gradient(150deg, #c8a020, #a47d0e);
  font-size: 1.4rem;
}

.float-wa {
  bottom: 20px;
  background: linear-gradient(150deg, #25D366, #128C4A);
  font-size: 1.9rem;
}

.float-wa i { line-height: 1; }

.float-call::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(200, 160, 32, .55);
  animation: floatPulse 2.4s ease-out infinite;
  pointer-events: none;
}

@keyframes floatPulse {
  0%   { transform: scale(1);   opacity: .9; }
  100% { transform: scale(1.7); opacity: 0; }
}

@media (max-width: 640px) {
  /* Hide float buttons on mobile — bottom bar covers it */
  .float-call,
  .float-wa { display: none; }
}


/* ----------------------------------------------------------------
   MOBILE BOTTOM BAR — Call / WhatsApp / Get Quote
   ---------------------------------------------------------------- */
.mobile-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  background: #ffffff;
  border-top: 1px solid rgba(0, 0, 0, .08);
  box-shadow: 0 -8px 22px rgba(0, 0, 0, .08);
  padding-bottom: env(safe-area-inset-bottom, 0);
}

@media (max-width: 640px) {
  .mobile-bar {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
  }
  body { padding-bottom: 68px; } /* avoid overlap with last content */
}

.mobile-bar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 10px 4px;
  font-size: .72rem;
  font-weight: 700;
  color: #1a1a1a;
  text-decoration: none;
  border-right: 1px solid rgba(0, 0, 0, .06);
  transition: background .15s ease;
}

.mobile-bar a:last-child { border-right: 0; }
.mobile-bar a:active { background: #f4f4f4; }

.mobile-bar a.wa {
  background: #25D366;
  color: #fff;
}
.mobile-bar a.wa:active { background: #1ebe5a; }

.mobile-bar a.quote {
  background: #c8a020;
  color: #1a1a1a;
}
.mobile-bar a.quote:active { background: #d8b02a; }

.mobile-bar .mb-ico {
  display: grid;
  place-items: center;
  font-size: 1.05rem;
  line-height: 1;
}

.mobile-bar .mb-label {
  letter-spacing: .02em;
}


/* ----------------------------------------------------------------
   .btn-yellow — polish existing yellow buttons to match new CTA style
   ---------------------------------------------------------------- */
.btn-yellow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #c8a020;
  color: #1a1a1a;
  padding: 14px 26px;
  border-radius: 10px;
  font-weight: 800;
  letter-spacing: .02em;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(200, 160, 32, .28);
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}

.btn-yellow:hover {
  background: #d8b02a;
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(200, 160, 32, .34);
}