/* ── CMYK Studios — custom styles ─────────────────────────────── */

/* Oversized background word in hero */
.cmyk-bg-word {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(6rem, 28vw, 22rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.06);
  white-space: nowrap;
  z-index: 0;
  user-select: none;
  pointer-events: none;
  line-height: 1;
}

/* Hero SVG */
.hero-svg {
  width: min(300px, 80vw);
  height: min(300px, 80vw);
  display: block;
}

@media (min-width: 768px) {
  .hero-svg {
    width: 340px;
    height: 340px;
  }
}

/* Optional slow rotation on the SVG — respects reduced-motion */
@media (prefers-reduced-motion: no-preference) {
  .hero-svg {
    animation: slow-spin 40s linear infinite;
  }

  @keyframes slow-spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
  }
}

/* ── Marquee strip ────────────────────────────────────────────── */
.marquee-track {
  overflow: hidden;
}

.marquee-content {
  display: inline-block;
}

@media (prefers-reduced-motion: no-preference) {
  .marquee-content {
    animation: marquee 28s linear infinite;
  }

  @keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
  }
}

/* ── Sticky bottom CTA bar ────────────────────────────────────── */
.sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9000;
  display: flex;
  height: 56px;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25);
}

.sticky-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: opacity 0.15s ease;
  height: 56px;
}

.sticky-btn:hover,
.sticky-btn:focus-visible {
  opacity: 0.9;
}

.sticky-btn:focus-visible {
  outline: 3px solid #fbbf24;
  outline-offset: -3px;
}

.sticky-btn-call {
  background: #1A1A1A;
  color: #ffffff;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.sticky-btn-wa {
  background: #E4007C;
  color: #ffffff;
}

/* Hide sticky bar on md+ (desktop has enough contact options) */
@media (min-width: 768px) {
  .sticky-bar {
    display: none;
  }
}

/* ── Body bottom padding to avoid sticky bar overlap ─────────── */
@media (max-width: 767px) {
  body {
    padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px));
  }
}

/* ── Product card hover ───────────────────────────────────────── */
.product-card {
  will-change: transform;
}

/* ── Form inputs ─────────────────────────────────────────────── */
input[type="text"]:focus,
input[type="tel"]:focus,
textarea:focus {
  border-color: #00AEEF;
  box-shadow: 0 0 0 3px rgba(0, 174, 239, 0.15);
}

/* ── Hero fade-in ─────────────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  header > div {
    animation: fade-up 0.6s ease-out both;
  }

  @keyframes fade-up {
    from {
      opacity: 0;
      transform: translateY(16px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}
