/*
 * Pixel Led — CRO & UX Enhancements
 * Layer over style.css — never modifies the original.
 * Brand tokens: #6689ff (primary), #151515 (dark), #ffffff (bg)
 * ─────────────────────────────────────────────────────────────
 */

/* ═══════════════════════════════════════════════════════════
   1. CSS TOKENS — single source of truth
   ═══════════════════════════════════════════════════════════ */
:root {
  --brand:        #6689ff;
  --brand-dark:   #3d62f5;
  --brand-deep:   #1a3aaa;
  --dark:         #151515;
  --mid:          #555;
  --light-gray:   #f5f6fa;
  --border:       rgba(0,0,0,.08);
  --shadow-sm:    0 2px 12px rgba(0,0,0,.08);
  --shadow-md:    0 6px 28px rgba(0,0,0,.13);
  --shadow-lg:    0 12px 48px rgba(0,0,0,.18);
  --radius:       6px;
  --ease:         cubic-bezier(.25,.8,.25,1);
  --wa:           #25D366;
  --wa-dark:      #128C7E;
}

/* ═══════════════════════════════════════════════════════════
   2. META / PAGE POLISH
   ═══════════════════════════════════════════════════════════ */

/* Move the inline swiper style to this layer */
.custom-text-shadow {
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,.65);
}
.custom-text-size { font-size: 18px; }

/* ═══════════════════════════════════════════════════════════
   3. BUTTONS — stronger hover, sharper focus, lift effect
   ═══════════════════════════════════════════════════════════ */
.button {
  position: relative;
  overflow: hidden;
  transition: transform .22s var(--ease),
              box-shadow .22s var(--ease),
              background .22s ease,
              color .22s ease !important;
  will-change: transform;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.button:active {
  transform: translateY(0px);
  box-shadow: var(--shadow-sm);
}

/* Ripple on click */
.button::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.15);
  opacity: 0;
  transition: opacity .18s ease;
}
.button:active::after { opacity: 1; }

/* Primary — ensure it stays bright with depth */
.button-primary:hover {
  box-shadow: 0 8px 24px rgba(102,137,255,.45);
}

/* White-outline gets visible background on hover */
.button-white-outline:hover {
  background: rgba(255,255,255,.15) !important;
}

/* ═══════════════════════════════════════════════════════════
   4. HERO SLIDER — stronger headline, clearer CTA
   ═══════════════════════════════════════════════════════════ */
.swiper-slide-caption h1 {
  font-weight: 600;
  letter-spacing: .02em;
}

/* CTA badge below the slider button */
.slider-trust-badge {
  display: inline-block;
  margin-top: 14px;
  padding: 6px 16px;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 24px;
  color: rgba(255,255,255,.9);
  font-size: 12px;
  letter-spacing: .06em;
}

.hero-static-slide,
.hero-static-slide .swiper-wrapper,
.hero-static-slide .swiper-slide,
.hero-static-slide .swiper-slide-caption {
  transform: none !important;
  transition: none !important;
  animation: none !important;
}

.hero-static-slide .swiper-slide {
  background-attachment: scroll;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero-static-slide .swiper-slide-caption,
.hero-static-slide .swiper-slide-caption * {
  opacity: 1 !important;
  visibility: visible !important;
}

/* ═══════════════════════════════════════════════════════════
   5. SERVICE CARDS — universal hover (not just .desktop)
   ═══════════════════════════════════════════════════════════ */
.box-icon-modern {
  transition: transform .28s var(--ease),
              box-shadow .28s var(--ease) !important;
  border-radius: var(--radius);
}

.box-icon-modern:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg) !important;
}

.box-icon-modern:hover .box-icon-modern-icon::after {
  transform: translate3d(-50%, 0, 0) rotate(0deg);
}

.box-icon-modern:hover .box-icon-modern-decor::before {
  left: 0;
  right: 0;
  background: var(--brand);
}

.box-icon-modern:hover .box-icon-modern-decor::after {
  left: 0;
  right: 0;
  background: var(--brand);
}

/* ═══════════════════════════════════════════════════════════
   6. PROJECT THUMBNAIL CARDS — hover lift + reveal
   ═══════════════════════════════════════════════════════════ */
.thumbnail-classic {
  overflow: hidden;
  border-radius: var(--radius);
  transition: box-shadow .28s var(--ease),
              transform .28s var(--ease);
}

.thumbnail-classic:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.thumbnail-classic-figure {
  overflow: hidden;
}

.thumbnail-classic-figure img {
  transition: transform .5s var(--ease);
}

.thumbnail-classic:hover .thumbnail-classic-figure img {
  transform: scale(1.06);
}

/* Hover caption reveal overlay */
.thumbnail-classic-caption {
  transition: background .25s ease;
}

.thumbnail-classic:hover .thumbnail-classic-caption {
  background: rgba(255,255,255,.98);
}

/* ═══════════════════════════════════════════════════════════
   7. STATS / COUNTER SECTION — visual refinement
   ═══════════════════════════════════════════════════════════ */
.counter-amy {
  padding: 20px 12px;
  border-radius: var(--radius);
  transition: background .2s ease;
  text-align: center;
}

.counter-amy:hover {
  background: var(--light-gray);
}

.counter-amy-number {
  line-height: 1;
}

/* Remove orphan <br> tags impact with CSS spacing */
.counter-amy-title {
  margin-top: 6px !important;
  font-size: 12px;
  letter-spacing: .07em;
  color: var(--mid);
}

/* "Trusted By" label above client logos */
.trusted-by-label {
  text-align: center;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 28px;
  margin-top: 48px;
}

/* Client logos hover pop */
.clients-classic {
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: border-color .25s ease,
              box-shadow .25s ease,
              transform .22s var(--ease);
}

.clients-classic:hover {
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
  transform: scale(1.04);
}

.clients-classic img {
  opacity: .7;
  filter: grayscale(40%);
  transition: opacity .25s ease, filter .25s ease;
}

.clients-classic:hover img {
  opacity: 1;
  filter: grayscale(0%);
}

/* ═══════════════════════════════════════════════════════════
   8. BLOG POST CARDS — lift + image zoom
   ═══════════════════════════════════════════════════════════ */
.post-modern {
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow .28s var(--ease), transform .28s var(--ease);
}

.post-modern:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.post-modern-figure img {
  transition: transform .45s var(--ease);
}

.post-modern:hover .post-modern-figure img {
  transform: scale(1.05);
}

.post-modern-figure {
  overflow: hidden;
}

/* ═══════════════════════════════════════════════════════════
   9. CTA SECTION — stronger visual pull
   ═══════════════════════════════════════════════════════════ */
.cta-parallax-section .parallax-content {
  position: relative;
}

/* Subtle gradient overlay improvement */
.bg-overlay-68::before {
  background: linear-gradient(135deg,
    rgba(10,20,80,.75) 0%,
    rgba(0,0,0,.55) 100%) !important;
}

/* ═══════════════════════════════════════════════════════════
   10. CONTACT INFO BOXES — hover lift
   ═══════════════════════════════════════════════════════════ */
.box-contacts {
  border-radius: var(--radius);
  transition: box-shadow .25s var(--ease),
              transform .25s var(--ease) !important;
  padding: 8px;
}

.box-contacts:hover {
  box-shadow: var(--shadow-md) !important;
  transform: translateY(-3px);
}

.box-contacts-link a {
  transition: color .2s ease;
}

.box-contacts-link a:hover {
  color: var(--brand-dark) !important;
}

/* ═══════════════════════════════════════════════════════════
   11. CONTACT FORM — modern polish
   ═══════════════════════════════════════════════════════════ */
.form-input {
  transition: border-color .22s ease, box-shadow .22s ease !important;
}

.form-input:focus {
  box-shadow: 0 0 0 3px rgba(102,137,255,.15) !important;
}

/* ═══════════════════════════════════════════════════════════
   12. WHATSAPP QUICK-CONTACT STRIP
   Used just above the contact form section.
   ═══════════════════════════════════════════════════════════ */
.wa-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: linear-gradient(135deg, #0d3b2e 0%, #0a4d3a 100%);
  border-radius: 12px;
  padding: 22px 32px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.wa-strip-text {
  color: rgba(255,255,255,.92);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
}

.wa-strip-text strong {
  display: block;
  font-size: 18px;
  color: #fff;
  margin-bottom: 2px;
}

.wa-strip-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--wa);
  color: #fff !important;
  border-radius: 8px;
  padding: 13px 24px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .03em;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background .22s ease, transform .22s var(--ease), box-shadow .22s ease;
  box-shadow: 0 4px 18px rgba(37,211,102,.35);
}

.wa-strip-btn:hover {
  background: var(--wa-dark) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37,211,102,.5) !important;
  color: #fff !important;
}

.wa-strip-btn svg {
  flex-shrink: 0;
}

@media (max-width: 576px) {
  .wa-strip {
    flex-direction: column;
    text-align: center;
    padding: 20px 20px;
  }
  .wa-strip-btn { width: 100%; justify-content: center; }
}

/* ═══════════════════════════════════════════════════════════
   13. SOCIAL PROOF BAR (stats row in hero)
   ═══════════════════════════════════════════════════════════ */
.social-proof-bar {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  padding: 20px 0 4px;
}

.social-proof-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,.88);
}

.social-proof-item strong {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
}

.social-proof-divider {
  width: 1px;
  height: 28px;
  background: rgba(255,255,255,.2);
}

@media (max-width: 576px) {
  .social-proof-bar { gap: 16px; }
  .social-proof-divider { display: none; }
}

/* ═══════════════════════════════════════════════════════════
   14. QUOTE REQUEST BAND  — between CTA section & projects
   ═══════════════════════════════════════════════════════════ */
.quote-band {
  background: var(--light-gray);
  border-top: 3px solid var(--brand);
  padding: 20px 0;
  text-align: center;
}

.quote-band-inner {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.quote-band-text {
  font-size: 15px;
  color: var(--dark);
  font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════
   15. NAVBAR — "Get Quote" highlight CTA
   ═══════════════════════════════════════════════════════════ */
.rd-navbar-nav .nav-cta-quote > a {
  background: var(--brand);
  color: #fff !important;
  border-radius: 4px;
  padding: 4px 14px !important;
  margin-left: 8px;
  transition: background .22s ease, transform .18s ease;
}

.rd-navbar-nav .nav-cta-quote > a:hover {
  background: var(--brand-dark) !important;
  transform: scale(1.04);
}

/* ═══════════════════════════════════════════════════════════
   16. SCROLL-TO-TOP BUTTON
   ═══════════════════════════════════════════════════════════ */
#pl-scroll-top {
  position: fixed;
  bottom: 104px;
  right: 30px;
  z-index: 9990;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--dark);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .3s ease, transform .3s ease, background .2s ease;
  pointer-events: none;
}

#pl-scroll-top.visible {
  opacity: .85;
  transform: translateY(0);
  pointer-events: all;
}

#pl-scroll-top:hover {
  opacity: 1;
  background: var(--brand);
}

@media (max-width: 480px) {
  #pl-scroll-top { bottom: 96px; right: 16px; width: 36px; height: 36px; }
}

/* ═══════════════════════════════════════════════════════════
   17. SECTION SEPARATORS — subtle depth cues
   ═══════════════════════════════════════════════════════════ */
.section + .section {
  border-top: 1px solid rgba(0,0,0,.05);
}

/* Except after the swiper (hero) */
/* .swiper-slider + .section-first {
  border-top: none;
} */

/* ═══════════════════════════════════════════════════════════
   18. FOOTER — link hover & polish
   ═══════════════════════════════════════════════════════════ */
.footer-list-category-2 li a {
  transition: color .2s ease, padding-left .2s ease;
  display: inline-block;
}

.footer-list-category-2 li a:hover {
  padding-left: 6px;
}

.footer-social-list-2 .icon {
  transition: transform .22s var(--ease), color .22s ease;
}

.footer-social-list-2 .icon:hover {
  transform: translateY(-3px) scale(1.15);
  color: var(--brand) !important;
}

/* ═══════════════════════════════════════════════════════════
   19. MODAL — polish
   ═══════════════════════════════════════════════════════════ */
.modal-content {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.modal-header {
  border-bottom: 1px solid var(--border);
}

.modal-header h4 {
  font-size: 20px;
  font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════
   20. MOBILE TOUCH TARGET IMPROVEMENTS
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  /* Larger tap targets on mobile */
  .button {
    min-height: 46px;
    padding-top: 12px !important;
    padding-bottom: 12px !important;
  }

  .rd-nav-link {
    min-height: 44px;
    display: flex !important;
    align-items: center;
  }

  /* Better spacing on service cards */
  .box-icon-modern {
    padding-top: 40px;
    padding-bottom: 32px;
  }

  /* Reduce hero text on small screens */
  .custom-text-size {
    font-size: 15px !important;
    line-height: 1.6;
  }

  /* Full-width CTAs on mobile */
  /* .swiper-slide-caption .button {
    display: block;
    width: fit-content;
    margin: 0 auto;
  } */

  /* Contact info boxes stack better */
  .box-contacts {
    max-width: 380px;
    margin: 0 auto;
  }
}

/* ═══════════════════════════════════════════════════════════
   21. CLIENTS SECTION — "Trusted By" layout
   ═══════════════════════════════════════════════════════════ */
.clients-section-heading {
  text-align: center;
  margin-bottom: 32px;
}

.clients-section-heading h6 {
  font-size: 11px;
  letter-spacing: .18em;
  color: #aaa;
  font-weight: 500;
  text-transform: uppercase;
}

.clients-section-heading::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--brand);
  margin: 10px auto 0;
}

/* ═══════════════════════════════════════════════════════════
   22. CONTACT SECTION — persuasion copy strip
   ═══════════════════════════════════════════════════════════ */
.contact-persuasion {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 36px;
  padding: 20px 24px;
  background: var(--light-gray);
  border-left: 4px solid var(--brand);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.contact-persuasion-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--mid);
}

.contact-persuasion-item svg {
  flex-shrink: 0;
  color: var(--brand);
}

.contact-persuasion-item strong {
  display: block;
  font-size: 14px;
  color: var(--dark);
  line-height: 1.3;
}

@media (max-width: 576px) {
  .contact-persuasion { gap: 16px; padding: 16px; }
}

/* ═══════════════════════════════════════════════════════════
   23. TABS — active tab bolder visual
   ═══════════════════════════════════════════════════════════ */
.tabs-line .nav-link.active {
  position: relative;
  color: var(--brand) !important;
  font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════
   24. NAV SCROLL SHADOW — depth on sticky nav
   ═══════════════════════════════════════════════════════════ */
.rd-navbar--is-stuck .rd-navbar-main,
.rd-navbar-static.rd-navbar--is-stuck {
  box-shadow: 0 2px 20px rgba(0,0,0,.12) !important;
}

/* ═══════════════════════════════════════════════════════════
   25. PRINT / REDUCE MOTION  — accessibility
   ═══════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
