/* Shared base for all 3 designs. Each design sets its own colour variables. */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-size: 17px; line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
.container { width: min(1200px, 92%); margin-inline: auto; }

/* ---- scroll reveal ---- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.from-left { transform: translateX(-50px); }
.reveal.from-right { transform: translateX(50px); }
.reveal.zoom { transform: scale(.94); }
.reveal.from-left.in, .reveal.from-right.in, .reveal.zoom.in { transform: none; }
.static .reveal { transition: none !important; }

/* ---- floating WhatsApp + back to top ---- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center; font-size: 30px; color: #fff;
  background: #25d366; box-shadow: 0 10px 25px rgba(37,211,102,.45);
  animation: waPulse 2.4s infinite;
}
.wa-float:hover { transform: scale(1.08); }
@keyframes waPulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,.55); }
  70% { box-shadow: 0 0 0 18px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}
.to-top {
  position: fixed; right: 30px; bottom: 96px; z-index: 89;
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--primary); color: #fff; font-size: 16px;
  opacity: 0; transform: translateY(16px); pointer-events: none; transition: .3s;
  box-shadow: 0 8px 20px rgba(0,0,0,.18);
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }

/* ---- Instagram reels ---- */
.reels { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; justify-items: center; }
.reel-wrap { width: 100%; max-width: 380px; }
.reel-card {
  position: relative; display: block; width: 100%; max-width: 360px; aspect-ratio: 9 / 16;
  border-radius: 22px; overflow: hidden; background: #111; isolation: isolate;
  box-shadow: 0 20px 45px rgba(0,0,0,.18);
}
.reel-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.reel-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, transparent 30%, transparent 55%, rgba(0,0,0,.8) 100%); }
.reel-card:hover img { transform: scale(1.07); }
.reel-top { position: absolute; z-index: 2; top: 16px; left: 16px; color: #fff; font-weight: 600; font-size: 15px; display: flex; gap: 8px; align-items: center; }
.reel-top i { font-size: 20px; }
.reel-play {
  position: absolute; z-index: 2; top: 50%; left: 50%; translate: -50% -50%;
  width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; font-size: 24px; padding-left: 5px;
  background: rgba(255,255,255,.22); backdrop-filter: blur(6px); border: 2px solid rgba(255,255,255,.7);
  transition: transform .3s;
}
.reel-card:hover .reel-play { transform: scale(1.12); }
.reel-title { position: absolute; z-index: 2; left: 18px; right: 18px; bottom: 20px; color: #fff; font-size: 19px; font-weight: 600; line-height: 1.35; }

/* ---- form note ---- */
.form-note { font-size: 14px; margin-top: 10px; min-height: 1em; }
.form-note.ok { color: #138a4b; font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  * { animation: none !important; }
}
