
/* PIXC Premium Motion Layer — preserves existing design/content */
:root {
  --pixc-ease: cubic-bezier(.22, .61, .36, 1);
  --pixc-ease-soft: cubic-bezier(.16, 1, .3, 1);
}

/* Initial page reveal */
body {
  animation: pixcPageIn .7s var(--pixc-ease) both;
}
@keyframes pixcPageIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Scroll reveal helpers */
.pixc-motion,
.reveal,
[data-reveal],
.fade-up,
.animate-on-scroll {
  will-change: transform, opacity;
}
.pixc-motion.pixc-hidden {
  opacity: 0;
  transform: translate3d(0, 34px, 0);
}
.pixc-motion.pixc-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition: opacity .85s var(--pixc-ease), transform .85s var(--pixc-ease);
}

/* Cinematic hero */
.hero, .hero-section, .home-hero, [class*="hero"] {
  overflow: hidden;
}
.hero img, .hero-section img, .home-hero img {
  transition: transform 1.4s var(--pixc-ease-soft);
}
.hero:hover img, .hero-section:hover img, .home-hero:hover img {
  transform: scale(1.025);
}

/* Image reveal / hover */
img {
  transition: transform .8s var(--pixc-ease), filter .8s var(--pixc-ease);
}
a img, .gallery-item img, .gallery-card img, .service-card img,
.card img, figure img {
  will-change: transform;
}
.gallery-item:hover img, .gallery-card:hover img, .service-card:hover img,
.card:hover img, figure:hover img {
  transform: scale(1.035);
}

/* Cards */
.service-card, .gallery-card, .card, .blog-card, .offer-card {
  transition:
    transform .55s var(--pixc-ease),
    box-shadow .55s var(--pixc-ease);
}
.service-card:hover, .gallery-card:hover, .card:hover, .blog-card:hover, .offer-card:hover {
  transform: translateY(-5px);
}

/* Buttons */
button, .btn, a[class*="btn"], a[class*="button"] {
  transition:
    transform .35s var(--pixc-ease),
    box-shadow .35s var(--pixc-ease),
    background-color .35s ease,
    color .35s ease,
    border-color .35s ease;
}
button:hover, .btn:hover, a[class*="btn"]:hover, a[class*="button"]:hover {
  transform: translateY(-2px);
}

/* Navigation */
nav a, header a {
  transition: color .3s ease, opacity .3s ease;
}
nav a:hover, header a:hover {
  opacity: .78;
}

/* Link arrow micro-interaction */
a span, a i, button span, button i {
  transition: transform .35s var(--pixc-ease);
}
a:hover span, a:hover i, button:hover span, button:hover i {
  transform: translateX(3px);
}

/* Subtle marquee polish */
.marquee, [class*="marquee"] {
  overflow: hidden;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
@media (max-width: 768px) {
  .service-card:hover, .gallery-card:hover, .card:hover, .blog-card:hover, .offer-card:hover {
    transform: none;
  }
  .hero:hover img, .hero-section:hover img, .home-hero:hover img {
    transform: none;
  }
}

/* Services v2 — dynamic card motion */
.service-results-v2,
.service-grid-v2 {
  opacity: 1 !important;
  transform: none !important;
}
.pixc-service-card {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition:
    opacity .65s cubic-bezier(.22,.61,.36,1),
    transform .65s cubic-bezier(.22,.61,.36,1),
    box-shadow .45s ease;
  transition-delay: var(--service-delay, 0ms);
}
.pixc-service-card.pixc-service-card-in {
  opacity: 1;
  transform: translate3d(0,0,0);
}
.pixc-service-card:hover {
  transform: translate3d(0,-5px,0);
}
@media (prefers-reduced-motion: reduce) {
  .pixc-service-card,
  .pixc-service-card.pixc-service-card-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* PIXC WHY CHOOSE US — premium counting section */
.pixc-why{background:var(--ink);color:var(--cream);position:relative;overflow:hidden}
.why-head{display:grid;grid-template-columns:1fr .75fr;gap:8vw;align-items:end}
.why-head .display{margin-bottom:0}
.why-intro{max-width:470px;opacity:.72}
.why-intro p{margin:0}
.why-stats{display:grid;grid-template-columns:repeat(4,1fr);margin-top:68px;border-top:1px solid #ffffff2b;border-bottom:1px solid #ffffff2b}
.why-stat{position:relative;padding:30px 24px 30px 0;border-right:1px solid #ffffff2b;overflow:hidden;transition:transform .55s var(--pixc-ease),background .55s ease}
.why-stat:not(:first-child){padding-left:24px}
.why-stat:last-child{border-right:0}
.why-stat:hover{transform:translateY(-5px);background:#ffffff08}
.why-number{display:block;font-family:var(--serif);font-size:clamp(42px,5vw,72px);font-weight:400;line-height:1;letter-spacing:-.03em;min-height:72px}
.why-stat span{display:block;margin-top:14px;font-size:9px;letter-spacing:.16em;opacity:.62}
.why-stat::after{content:"";position:absolute;left:0;bottom:0;width:100%;height:1px;background:#ffffff55;transform:scaleX(0);transform-origin:left;transition:transform .8s var(--pixc-ease)}
.why-stat:hover::after{transform:scaleX(1)}
@media(max-width:1000px){.why-stats{grid-template-columns:1fr 1fr}}
@media(max-width:700px){.why-head{grid-template-columns:1fr;gap:25px}.why-stats{grid-template-columns:1fr 1fr;margin-top:40px}.why-stat{padding:24px 16px!important;border-bottom:1px solid #ffffff2b}.why-stat:nth-child(2){border-right:0}.why-stat:nth-child(4){border-right:0}.why-number{font-size:42px;min-height:48px}.why-stat span{font-size:8px;line-height:1.4}}
@media(max-width:420px){.why-stats{grid-template-columns:1fr 1fr}.why-stat{border-right:1px solid #ffffff2b!important}.why-stat:nth-child(2),.why-stat:nth-child(4){border-right:0!important}.why-number{font-size:38px;min-height:44px}}
@media(prefers-reduced-motion:reduce){.why-stat,.why-stat::after{transition:none}.why-stat:hover{transform:none}}

/* PIXC mobile layout + gallery loading refinement */
.booking-locations{display:grid;grid-template-columns:1fr 1fr;gap:28px;margin-top:28px}
.booking-locations strong{font-size:12px;text-transform:uppercase;letter-spacing:.08em}
.booking-locations a{display:inline-block;margin-top:3px}
@media(max-width:700px){
  .why-stats{grid-template-columns:repeat(2,minmax(0,1fr));width:100%;min-width:0}
  .why-stat{min-width:0;width:100%;overflow:hidden}
  .why-stat strong{white-space:nowrap;font-size:clamp(34px,9vw,42px);letter-spacing:-.02em}
  .why-stat span{max-width:100%;overflow-wrap:anywhere}
  .booking-locations{grid-template-columns:1fr;gap:18px;margin-top:24px}
}
@media(max-width:420px){
  .why-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .why-stat{border-right:1px solid #ffffff2b!important}
  .why-stat:nth-child(2),.why-stat:nth-child(4){border-right:0!important}
  .why-number{font-size:36px}
}
