/* CUT.ac.zw–inspired polish — motion, cards, hero showcase */

@media (prefers-reduced-motion: reduce) {
  .btn-order-now,
  .wa-float,
  .wa-ring,
  .meliman-chat-launcher,
  .meliman-chat-dot,
  .trust-icon-dot,
  .trust-icon--whatsapp::before,
  .trust-icon--whatsapp::after,
  .hero-float-card,
  .trust-item--hero,
  .showcase-card,
  .service-card,
  .product-card {
    animation: none !important;
    transition-duration: 0.01ms !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Order Now — subtle shake */
@keyframes btnShakeSoft {
  0%, 86%, 100% { left: 0; }
  88% { left: -2px; }
  90% { left: 2px; }
  92% { left: -1px; }
  94% { left: 1px; }
}

.btn-order-now {
  position: relative;
  animation: btnShakeSoft 5s ease-in-out infinite;
}

/* WhatsApp — float + subtle near ripple (not loud expanding rings) */
@keyframes waGentleFloat {
  0%, 100% {
    transform: translateY(0);
    box-shadow: 0 8px 22px rgba(37, 211, 102, 0.38);
  }
  50% {
    transform: translateY(-4px);
    box-shadow: 0 12px 26px rgba(37, 211, 102, 0.46);
  }
}

.wa-float {
  animation: waGentleFloat 3.6s ease-in-out infinite;
}

.wa-float-wrap:hover .wa-ring {
  animation-play-state: paused;
  opacity: 0;
}

.wa-float:hover {
  animation: none;
  transform: translateY(-3px) scale(1.04);
}

/* Full-viewport hero — edge-to-edge, flexible on all screens */
.hero {
  --hero-nav-size: 48px;
  --hero-nav-inset: clamp(0.65rem, 1.8vw, 1.1rem);
  --hero-nav-clearance: calc(var(--hero-nav-inset) + var(--hero-nav-size) + 0.85rem);
}

.hero-swiper .swiper-wrapper,
.hero-swiper .swiper-slide {
  width: 100%;
  height: 100%;
}

.hero-slide {
  width: 100%;
  min-height: 100%;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  box-sizing: border-box;
  padding-right: var(--hero-nav-clearance);
}

.hero-slide-img {
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-overlay {
  width: 100%;
  height: 100%;
}

.hero .container.hero-content {
  width: 100%;
  max-width: min(920px, calc(100vw - var(--hero-nav-clearance) - min(480px, 44vw) - 1rem));
  margin: 0;
  margin-left: var(--hero-nav-clearance);
  margin-right: auto;
  padding: clamp(0.75rem, 2.5vh, 2rem) clamp(0.25rem, 1vw, 0.5rem) calc(var(--hero-trust-offset) + 1.75rem) 0;
  box-sizing: border-box;
  flex: 0 0 auto;
  align-self: center;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: auto;
  min-width: 0;
  overflow: visible;
}

.hero-copy {
  width: 100%;
  max-width: min(440px, calc(100vw - var(--hero-nav-clearance) - min(500px, 46vw) - 2rem));
  min-width: 0;
}

.hero-content h1 {
  font-size: clamp(1.75rem, 4.2vw, 3rem);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  line-height: 1.12;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: manual;
}

.hero-content p {
  font-size: clamp(0.92rem, 1.8vw, 1.05rem);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  line-height: 1.65;
}

.hero-content h1 em {
  display: inline;
  white-space: normal;
}

.hero-tag {
  width: fit-content;
  max-width: 100%;
}

.hero-btns {
  gap: clamp(0.55rem, 2vw, 0.85rem);
  width: 100%;
  max-width: 100%;
  margin-bottom: 0.25rem;
}

.hero-btns .btn {
  font-size: clamp(0.82rem, 1.6vw, 0.95rem);
  padding: clamp(0.65rem, 1.5vw, 0.85rem) clamp(1.1rem, 2.5vw, 1.5rem);
  white-space: normal;
  text-align: center;
  width: auto;
  max-width: 100%;
}

.hero-hazard-mark {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-top: 0;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.35));
  animation: heroHazardFloat 5s ease-in-out infinite;
}

.hero-hazard-mark img {
  width: clamp(54px, 7vw, 76px);
  height: auto;
  display: block;
}

@keyframes heroHazardFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* Meliman Updates — beside hazard triangle, spans toward float cards */
.hero-updates-row {
  display: flex;
  align-items: stretch;
  gap: clamp(0.55rem, 1.4vw, 0.85rem);
  margin-top: clamp(0.85rem, 2vw, 1.15rem);
  width: 100%;
  max-width: min(980px, calc(100vw - var(--hero-nav-clearance) - min(420px, 40vw) - 1.5rem));
  min-width: 0;
  position: relative;
  z-index: 5;
  animation: heroUpdatesRowReveal 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.35s;
}

.hero-slide--has-cards .hero-content,
.hero-slide--showcase .hero-content {
  overflow: visible;
}

.hero-slide--has-cards .container.hero-content,
.hero-slide--showcase .container.hero-content {
  max-width: min(920px, calc(100vw - var(--hero-nav-clearance) - min(480px, 44vw) - 1rem));
}

.hero-updates-bar {
  position: relative;
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: clamp(0.55rem, 1.2vw, 0.85rem);
  padding: 0.55rem 0.5rem 0.55rem 0.75rem;
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(10, 25, 49, 0.94) 0%, rgba(6, 18, 36, 0.9) 55%, rgba(10, 25, 49, 0.92) 100%);
  border: 1px solid rgba(255, 213, 79, 0.32);
  box-shadow:
    0 12px 36px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 0 1px rgba(255, 213, 79, 0.06);
  overflow: hidden;
  backdrop-filter: blur(10px);
  transition: box-shadow 0.45s ease, border-color 0.45s ease, transform 0.45s ease;
  min-height: 52px;
}

.hero-updates-bar:hover {
  border-color: rgba(255, 213, 79, 0.52);
  box-shadow:
    0 16px 44px rgba(0, 0, 0, 0.42),
    0 0 28px rgba(255, 213, 79, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.hero-updates-bar-shimmer {
  position: absolute;
  inset: -120% -40%;
  background: linear-gradient(
    105deg,
    transparent 42%,
    rgba(255, 213, 79, 0.14) 50%,
    transparent 58%
  );
  animation: heroUpdatesShimmer 3.8s ease-in-out infinite;
  pointer-events: none;
}

.hero-updates-bar-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 50%, rgba(255, 213, 79, 0.12) 0%, transparent 42%),
    radial-gradient(circle at 88% 50%, rgba(37, 211, 102, 0.08) 0%, transparent 38%);
  pointer-events: none;
  animation: heroUpdatesGlowPulse 4.5s ease-in-out infinite;
}

.hero-updates-bar-brand {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex-shrink: 0;
  line-height: 1.15;
  padding-right: 0.55rem;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-updates-live {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.hero-updates-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 0 10px rgba(37, 211, 102, 0.75);
  animation: heroUpdatesLivePulse 1.5s ease-in-out infinite;
}

.hero-updates-bar-brand strong {
  margin-top: 0.12rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #ffffff;
  white-space: nowrap;
}

.hero-updates-ticker-wrap {
  position: relative;
  z-index: 1;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.hero-updates-ticker {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 0;
  animation: heroUpdatesTicker 48s linear infinite;
}

.hero-updates-ticker-item {
  flex-shrink: 0;
  padding-right: 3rem;
  font-size: clamp(0.74rem, 1.35vw, 0.88rem);
  font-weight: 600;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.25s ease;
}

a.hero-updates-ticker-item:hover {
  color: var(--highlight-yellow);
}

.hero-updates-all {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--highlight-yellow), var(--primary-dark));
  color: var(--brand-navy);
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(255, 213, 79, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero-updates-all svg {
  margin-left: 2px;
}

.hero-updates-all:hover {
  transform: scale(1.06);
  box-shadow: 0 6px 18px rgba(255, 213, 79, 0.45);
}

@keyframes heroUpdatesTicker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes heroUpdatesRowReveal {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroUpdatesShimmer {
  0%, 100% { transform: translateX(-30%) rotate(8deg); opacity: 0.4; }
  50% { transform: translateX(30%) rotate(8deg); opacity: 1; }
}

@keyframes heroUpdatesGlowPulse {
  0%, 100% { opacity: 0.65; }
  50% { opacity: 1; }
}

@keyframes heroUpdatesLivePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.86); }
}

@media (max-width: 992px) {
  .hero-slide--has-cards .hero-updates-row,
  .hero-slide--showcase .hero-updates-row {
    max-width: min(920px, calc(100vw - var(--hero-nav-clearance) - 1.5rem));
  }

  .hero-updates-ticker-item {
    font-size: 0.7rem;
  }
}

@media (max-width: 640px) {
  .hero-updates-row {
    flex-wrap: wrap;
    width: 100% !important;
    max-width: 100% !important;
  }

  .hero-updates-bar {
    flex: 1 1 calc(100% - 4.5rem);
    min-width: 0;
  }

  .hero-updates-bar-brand strong {
    font-size: 0.62rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-updates-row,
  .hero-updates-bar-shimmer,
  .hero-updates-bar-glow,
  .hero-updates-live-dot,
  .hero-updates-ticker,
  .hero-hazard-mark {
    animation: none !important;
  }
}

/* Slides with right-side cards — compact copy on the left */
.hero-slide:not(.hero-slide--has-cards) .container.hero-content {
  max-width: min(460px, calc(100% - var(--hero-nav-clearance) - 1.5rem));
}

.hero-slide:not(.hero-slide--has-cards) .hero-content h1 {
  max-width: min(440px, calc(100vw - (var(--hero-nav-clearance) * 2) - 2rem));
}

.hero-slide:not(.hero-slide--has-cards) .hero-content p {
  max-width: min(400px, calc(100vw - (var(--hero-nav-clearance) * 2) - 2rem));
}

/* Card slides — gradient leaves room for collage on the right */
.hero-slide--has-cards .hero-overlay {
  background:
    linear-gradient(105deg, rgba(42, 38, 64, 0.9) 0%, rgba(42, 38, 64, 0.55) 38%, rgba(42, 38, 64, 0.25) 62%, rgba(42, 38, 64, 0.15) 100%),
    linear-gradient(180deg, transparent 55%, rgba(30, 26, 48, 0.82) 100%);
}

.hero-slide--has-cards {
  padding-right: var(--hero-nav-clearance);
}

.hero-slide--showcase {
  padding-right: var(--hero-nav-clearance);
}

/* Legacy alias — slide 1 */
.hero-slide--showcase .hero-overlay {
  background:
    linear-gradient(105deg, rgba(42, 38, 64, 0.9) 0%, rgba(42, 38, 64, 0.55) 38%, rgba(42, 38, 64, 0.25) 62%, rgba(42, 38, 64, 0.15) 100%),
    linear-gradient(180deg, transparent 55%, rgba(30, 26, 48, 0.82) 100%);
}

.hero .hero-nav {
  width: var(--hero-nav-size);
  height: var(--hero-nav-size);
  z-index: 15;
}

.hero-prev {
  left: var(--hero-nav-inset);
}

.hero-next {
  right: var(--hero-nav-inset);
}

.hero .hero-pagination {
  bottom: var(--hero-trust-offset) !important;
  left: var(--hero-nav-clearance) !important;
  right: auto !important;
  width: auto !important;
  padding: 0;
  box-sizing: border-box;
  text-align: left;
}

.hero-product-collage {
  position: absolute;
  right: calc(var(--hero-nav-clearance) + 0.35rem);
  top: 44%;
  transform: translateY(-54%);
  width: min(500px, calc(44vw - var(--hero-nav-clearance)));
  height: min(520px, 54vh);
  z-index: 3;
  pointer-events: auto;
  box-sizing: border-box;
  padding-right: 0.25rem;
}

.hero-float-card {
  position: absolute;
  margin: 0;
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 0;
  overflow: visible;
  animation: heroFloatCard 6s ease-in-out infinite;
  animation-delay: var(--float-delay, 0s);
  transition: filter 0.35s ease;
}

.hero-float-card-inner {
  position: relative;
  background: linear-gradient(165deg, #ffffff 0%, #f8f9fb 100%);
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 22px 48px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
}

.hero-float-card-inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-brand);
  z-index: 3;
}

.hero-float-card-inner::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 213, 79, 0.22);
  pointer-events: none;
  z-index: 2;
}

.hero-float-card:hover .hero-float-card-inner {
  transform: translateY(-4px) scale(1.02);
  box-shadow:
    0 28px 56px rgba(0, 0, 0, 0.34),
    0 0 0 2px rgba(255, 213, 79, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 1);
}

.hero-float-card:focus-visible {
  outline: none;
}

.hero-float-card:focus-visible .hero-float-card-inner {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.hero-float-card-media {
  position: relative;
  padding: 0.65rem 0.65rem 0.5rem;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 213, 79, 0.12) 0%, transparent 42%),
    linear-gradient(180deg, #f3f5f8 0%, #e9edf2 100%);
}

.hero-float-card-badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  z-index: 2;
  padding: 0.22rem 0.55rem;
  background: rgba(12, 12, 12, 0.82);
  color: var(--accent);
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 99px;
  border: 1px solid rgba(255, 213, 79, 0.35);
}

.hero-float-card-image {
  position: relative;
  height: 108px;
  border-radius: 14px;
  background:
    linear-gradient(145deg, #ffffff 0%, #f5f7fa 100%);
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.05),
    0 8px 20px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.65rem;
  overflow: hidden;
}

.hero-float-card-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.7) 0%, transparent 50%);
  pointer-events: none;
}

.hero-float-card-image img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.12));
  transition: transform 0.45s ease;
}

.hero-float-card:hover .hero-float-card-image img {
  transform: scale(1.06);
}

.hero-float-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.65rem 0.75rem 0.75rem;
  background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.hero-float-card-foot strong {
  display: block;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--dark);
  line-height: 1.3;
}

.hero-float-card-foot em {
  font-style: normal;
  font-size: 0.58rem;
  font-weight: 700;
  color: var(--primary-dark);
  white-space: nowrap;
  opacity: 0.85;
  transition: opacity 0.3s ease;
}

.hero-float-card:hover .hero-float-card-foot em {
  opacity: 1;
}

.hero-float-card--1 {
  top: 0;
  right: 10%;
  width: 50%;
  z-index: 4;
}

.hero-float-card--2 {
  top: 22%;
  right: 46%;
  width: 48%;
  z-index: 3;
}

.hero-float-card--3 {
  top: 44%;
  right: 8%;
  width: 49%;
  z-index: 2;
}

.hero-float-card--4 {
  top: 62%;
  right: 40%;
  width: 46%;
  z-index: 1;
}

@keyframes heroFloatCard {
  0%, 100% {
    transform: translateY(0) rotate(var(--float-rotate, 0deg));
  }
  50% {
    transform: translateY(-9px) rotate(var(--float-rotate, 0deg));
  }
}

.swiper-slide-active .hero-float-card {
  animation-play-state: running;
}

/* Hero trust strip — visible before scroll */
.trust-bar--hero {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  z-index: 14;
  padding: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(8, 10, 14, 0.45) 35%, rgba(8, 10, 14, 0.72) 100%);
  border: none;
  pointer-events: none;
}

.trust-bar--hero::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 213, 79, 0.55), transparent);
  opacity: 0.85;
}

.trust-bar--hero .container {
  pointer-events: auto;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding-left: clamp(0.65rem, 2.8vw, 2rem);
  padding-right: clamp(0.65rem, 2.8vw, 2rem);
  padding-bottom: calc(clamp(0.55rem, 1.5vh, 1.1rem) + env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;
}

.trust-bar--hero .trust-grid {
  width: 100%;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(0.4rem, 1.1vw, 0.75rem);
}

button.trust-item--hero.trust-item--action {
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  cursor: pointer;
  text-align: left;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(10, 12, 16, 0.78);
  color: inherit;
}

.trust-item--action.trust-item--chat.is-open,
.trust-item--action.trust-item--chat:hover {
  border-color: rgba(255, 213, 79, 0.45);
}

.trust-item--action.trust-item--chat.is-loading {
  opacity: 0.78;
  pointer-events: none;
}

.trust-item--action.trust-item--whatsapp:hover {
  border-color: rgba(37, 211, 102, 0.45);
}

.trust-icon--chat {
  position: relative;
  color: var(--highlight-yellow);
}

.trust-icon--whatsapp {
  position: relative;
  overflow: visible;
  background: linear-gradient(145deg, rgba(37, 211, 102, 0.28), rgba(37, 211, 102, 0.12));
  border-color: rgba(37, 211, 102, 0.38);
  color: #25d366;
}

.trust-icon--whatsapp::before,
.trust-icon--whatsapp::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  border: 1px solid rgba(37, 211, 102, 0.28);
  animation: waTrustRing 3s ease-out infinite;
  pointer-events: none;
}

.trust-icon--whatsapp::after {
  animation-delay: 1.5s;
}

@keyframes waTrustRing {
  0% {
    transform: scale(1);
    opacity: 0.35;
  }
  100% {
    transform: scale(1.55);
    opacity: 0;
  }
}

.trust-icon-dot {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #25d366;
  border: 2px solid rgba(10, 12, 16, 0.9);
  animation: trustChatDot 2.4s ease-in-out infinite;
}

@keyframes trustChatDot {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.3);
  }
  25% {
    transform: scale(1.65);
    opacity: 0.9;
    box-shadow: 0 0 6px 1px rgba(37, 211, 102, 0.25);
  }
  50% {
    transform: scale(0.78);
    opacity: 1;
  }
  75% {
    transform: scale(1.4);
    opacity: 0.92;
    box-shadow: 0 0 5px 1px rgba(37, 211, 102, 0.2);
  }
}

.trust-item--hero {
  display: flex;
  align-items: flex-start;
  gap: clamp(0.55rem, 1.5vw, 0.85rem);
  text-decoration: none;
  color: inherit;
  background: rgba(10, 12, 16, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: clamp(10px, 1.5vw, 14px);
  padding: clamp(0.65rem, 1.5vw, 0.95rem) clamp(0.7rem, 1.6vw, 1rem);
  min-width: 0;
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.28);
  opacity: 0;
  transform: translateY(22px);
  animation: trustHeroIn 0.65s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  animation-delay: var(--trust-delay, 0.4s);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.35s ease, background 0.35s ease;
}

@keyframes trustHeroIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.trust-item--hero:hover {
  transform: translateY(-4px);
  background: rgba(14, 16, 22, 0.88);
  border-color: rgba(255, 213, 79, 0.35);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.35);
}

.trust-item--hero .trust-icon {
  width: clamp(36px, 7vw, 44px);
  height: clamp(36px, 7vw, 44px);
  border-radius: 11px;
  flex-shrink: 0;
  background: linear-gradient(145deg, rgba(255, 213, 79, 0.22), rgba(255, 213, 79, 0.08));
  border-color: rgba(255, 213, 79, 0.32);
  transition: transform 0.35s ease, background 0.35s ease;
}

.trust-item--hero:hover .trust-icon {
  transform: scale(1.06);
  background: rgba(255, 213, 79, 0.2);
}

.trust-item--hero strong {
  font-size: clamp(0.72rem, 1.5vw, 0.88rem);
  letter-spacing: 0.01em;
}

.trust-item--hero span {
  font-size: clamp(0.62rem, 1.2vw, 0.74rem);
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.35;
}

.trust-item-text {
  min-width: 0;
  flex: 1;
}

.hero .hero-meta {
  bottom: calc(var(--hero-trust-offset) + 0.75rem);
  right: var(--hero-nav-clearance);
  z-index: 13;
}

/* Card beautification — CUT-style lift & gold accent */
.trust-item {
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.45s ease, border-color 0.35s ease;
  border: 1px solid transparent;
}

.trust-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
  border-color: rgba(255, 213, 79, 0.25);
}

.trust-icon {
  transition: transform 0.4s ease, background 0.35s ease;
}

.trust-item:hover .trust-icon {
  transform: scale(1.08) rotate(-3deg);
  background: rgba(255, 213, 79, 0.18);
}

.showcase-card {
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.5s ease;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.14);
}

.showcase-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s ease;
  z-index: 4;
}

.showcase-card:hover::after {
  transform: scaleX(1);
}

.showcase-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.22);
}

.service-card,
.product-card {
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.45s ease, border-color 0.35s ease;
}

.service-card:hover,
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.14);
}

.product-card {
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.product-card:hover {
  border-color: rgba(255, 213, 79, 0.28);
}

.product-card--highlight {
  box-shadow: 0 0 0 3px rgba(255, 213, 79, 0.65), 0 20px 48px rgba(0, 0, 0, 0.14);
  border-color: rgba(255, 213, 79, 0.55);
}

.branch-card:hover {
  transform: translateY(-6px);
}

/* Section tags — subtle shimmer */
.section-tag {
  position: relative;
  overflow: hidden;
}

.section-tag::after {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 80%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  animation: tagShimmer 6s ease-in-out infinite;
}

@keyframes tagShimmer {
  0%, 70%, 100% { left: -120%; }
  85% { left: 140%; }
}

/* Buttons — polished hover */
.btn-primary {
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.25) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.55s ease;
}

.btn-primary:hover::after {
  transform: translateX(120%);
}

/* Staggered card entrance */
.mi-card-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  transition-delay: var(--reveal-delay, 0s);
}

.mi-card-reveal.mi-card-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .hero-product-collage {
    right: calc(var(--hero-nav-clearance) + 0.25rem);
    top: 42%;
    transform: translateY(-52%);
    width: min(380px, calc(42vw - var(--hero-nav-clearance)));
    height: min(400px, 46vh);
    opacity: 0.94;
  }

  .hero-float-card-image {
    height: 92px;
  }

  .hero .hero-meta {
    display: none;
  }

  .hero-slide {
    padding-right: clamp(2.5rem, 7vw, 4rem);
  }
}

@media (max-width: 1200px) {
  :root {
    --hero-trust-offset: clamp(11rem, 28vh, 15.5rem);
  }

  .trust-bar--hero .trust-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 992px) {
  .hero-slide--has-cards .hero-updates-row,
  .hero-slide--showcase .hero-updates-row {
    max-width: 100%;
  }
}

@media (max-width: 992px) {
  :root {
    --hero-trust-offset: clamp(9rem, 26vh, 12.5rem);
  }

  .trust-bar--hero .trust-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .trust-item--hero .trust-icon {
    width: clamp(34px, 8vw, 40px);
    height: clamp(34px, 8vw, 40px);
  }
}

@media (max-width: 900px) {
  .hero-product-collage {
    display: none;
  }

  .hero-slide,
  .hero-slide--showcase,
  .hero-slide--has-cards {
    padding-right: 0;
  }

  .hero .container.hero-content {
    width: 100%;
    max-width: calc(100% - var(--hero-nav-clearance) - 1rem);
    margin-left: var(--hero-nav-clearance);
    margin-right: 1rem;
    padding-right: 0;
    align-items: flex-start;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero-updates-row {
    max-width: 100%;
  }

  .hero-slide:not(.hero-slide--has-cards) .container.hero-content {
    max-width: calc(100% - var(--hero-nav-clearance) - 1rem);
  }

  .hero-slide--has-cards .hero-overlay,
  .hero-slide--showcase .hero-overlay {
    background:
      linear-gradient(105deg, rgba(42, 38, 64, 0.92) 0%, rgba(42, 38, 64, 0.55) 42%, rgba(42, 38, 64, 0.25) 100%),
      linear-gradient(180deg, transparent 60%, rgba(30, 26, 48, 0.85) 100%);
  }
}

@media (max-width: 768px) {
  :root {
    --hero-trust-offset: clamp(13rem, 36vh, 17rem);
  }

  .hero-slide {
    padding-right: 0;
  }

  .hero .container.hero-content {
    max-width: calc(100% - 2rem);
    margin-left: 1rem;
    margin-right: 1rem;
    padding-bottom: calc(var(--hero-trust-offset) + 2.25rem);
  }

  .hero-content h1,
  .hero-content p,
  .hero-btns,
  .hero-copy {
    max-width: 100%;
    width: 100%;
  }

  .hero .hero-pagination {
    left: 1rem !important;
  }

  .hero-content h1 {
    font-size: clamp(1.5rem, 7vw, 2.2rem);
  }

  .hero-btns {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .hero-btns .btn {
    width: 100%;
    max-width: 260px;
  }

  .trust-bar--hero .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-item--hero .trust-icon svg {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 480px) {
  :root {
    --hero-trust-offset: clamp(10.5rem, 32vh, 14rem);
  }

  .hero .hero-pagination {
    bottom: var(--hero-trust-offset) !important;
  }
}

@media (max-width: 380px) {
  .trust-bar--hero .trust-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0.45rem;
    padding-bottom: 0.15rem;
  }

  .trust-bar--hero .trust-grid::-webkit-scrollbar {
    display: none;
  }

  .trust-item--hero {
    flex: 0 0 min(76vw, 240px);
    scroll-snap-align: start;
  }
}

/* Homepage featured products */
.home-products {
  background: linear-gradient(180deg, #ffffff 0%, var(--surface) 55%, #ffffff 100%);
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.home-products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.35rem;
  margin-bottom: 2.5rem;
}

.home-product-card {
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.06);
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.45s ease, border-color 0.35s ease;
}

.home-product-card::before {
  content: '';
  display: block;
  height: 3px;
  background: var(--gradient-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s ease;
}

.home-product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.11);
  border-color: rgba(255, 213, 79, 0.35);
}

.home-product-card:hover::before {
  transform: scaleX(1);
}

.home-product-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.home-product-card-image {
  position: relative;
  aspect-ratio: 1;
  background: radial-gradient(circle at 50% 42%, #ffffff 0%, #f3f5f8 52%, #e8ecf1 100%);
  padding: 0.55rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.5s ease, filter 0.45s ease;
  filter: drop-shadow(0 10px 22px rgba(42, 38, 64, 0.14)) contrast(1.07) saturate(1.14) brightness(1.04);
}

.home-product-card:hover .home-product-card-image img {
  transform: scale(1.06);
}

.home-product-card-category {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  padding: 0.28rem 0.65rem;
  background: rgba(12, 12, 12, 0.82);
  backdrop-filter: blur(6px);
  color: var(--accent);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 99px;
  z-index: 2;
}

.home-product-card-body {
  padding: 1.15rem 1.2rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.home-product-card-body h3 {
  font-family: var(--font);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.45rem;
  line-height: 1.35;
}

.home-product-card-body p {
  font-size: 0.8rem;
  line-height: 1.55;
  color: var(--gray);
  margin-bottom: 1rem;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.home-product-card-price {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--brand-navy);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.home-product-card-price small {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--gray);
}

.home-product-card-cta {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--dark);
  white-space: nowrap;
  transition: color 0.3s ease;
}

.home-product-card:hover .home-product-card-cta {
  color: var(--action-red);
}

.home-products-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
}

@media (max-width: 1100px) {
  .home-products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .home-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }

  .home-product-card-image {
    padding: 0.85rem;
  }
}

@media (max-width: 480px) {
  .home-products-grid {
    grid-template-columns: 1fr;
  }
}

/* CUT-style gallery — category albums + lightbox */
.gallery-cut {
  background: linear-gradient(180deg, #ffffff 0%, #f3f5f8 55%, #ffffff 100%);
  padding-bottom: 4rem;
}

.gallery-cut-categories {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.gallery-cut-card {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.gallery-cut-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.gallery-cut-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.gallery-cut-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--dark);
}

.gallery-cut-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.55s ease, filter 0.45s ease;
  filter: contrast(1.07) saturate(1.14) brightness(1.04);
}

.gallery-cut-card:hover .gallery-cut-card-media img {
  transform: scale(1.08);
  filter: contrast(1.1) saturate(1.2) brightness(1.06);
}

.gallery-cut-card-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(42, 38, 64, 0.55) 100%);
  pointer-events: none;
}

.gallery-cut-card-badge {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 1;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(10, 25, 49, 0.1);
  color: #0a1931;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.gallery-cut-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.55rem;
  padding: 1.25rem 1.35rem 1.4rem;
}

.gallery-cut-card-body h3 {
  margin: 0;
  font-family: var(--font);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
  color: #0a1931;
}

.gallery-cut-card-body p {
  margin: 0;
  flex: 1;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #5c6470;
}

.gallery-cut-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.35rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #7a5c00;
  transition: gap 0.25s ease;
}

.gallery-cut-card:hover .gallery-cut-card-cta {
  gap: 0.65rem;
}

.gallery-cut-album-toolbar {
  margin-bottom: 2rem;
}

.gallery-cut-back {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
  padding: 0.55rem 1rem;
  border: 1px solid rgba(10, 25, 49, 0.12);
  border-radius: 999px;
  background: #ffffff;
  color: #0a1931;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.gallery-cut-back:hover {
  background: rgba(255, 213, 79, 0.12);
  border-color: rgba(255, 213, 79, 0.45);
  transform: translateX(-2px);
  color: #0a1931;
}

.gallery-cut-album-heading .section-title {
  margin-bottom: 0.5rem;
}

.gallery-cut-album-heading .section-tag,
.gallery-cut-album-heading .section-desc {
  color: #0a1931;
}

.gallery-cut-album-heading .section-desc {
  color: #5c6470;
}

.gallery-cut-album-heading .section-tag {
  color: #7a5c00;
}

.gallery-cut-album-count {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 213, 79, 0.22);
  color: #0a1931;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* Lightgallery — readable captions on dark overlay */
.lg-sub-html {
  background-color: rgba(6, 18, 36, 0.82) !important;
}

.lg-sub-html h4 {
  color: #ffffff !important;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.45;
  margin: 0;
}

.gallery-cut-album-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}

.gallery-cut-photo {
  position: relative;
  display: block;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow);
  cursor: zoom-in;
}

.gallery-cut-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.gallery-cut-photo-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.42);
  color: var(--white);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-cut-photo:hover img {
  transform: scale(1.05);
}

.gallery-cut-photo:hover .gallery-cut-photo-overlay {
  opacity: 1;
}

@media (max-width: 992px) {
  .gallery-cut-categories {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .gallery-cut-categories {
    grid-template-columns: 1fr;
  }

  .gallery-cut-album-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }
}
