/* ==========================================================================
   HOME PAGE — styles used only by index.html
   Contents: hero · trust strip · testimonial carousel
   ========================================================================== */

/* ==========================================================================
   HERO
   ========================================================================== */

.hero {
  position: relative; overflow: hidden;
  padding-block: clamp(48px, 7vw, 96px) clamp(60px, 8vw, 110px);
}
.hero__inner {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 5vw, 72px); align-items: center;
}
.hero h1 { margin-bottom: .35em; }
.hero__lead { font-size: clamp(1.05rem, 1.5vw, 1.22rem); max-width: 52ch; }

.hero__badges { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 30px 0 0; padding: 0; list-style: none; }
.hero__badges li { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: .95rem; color: var(--ink); }
.hero__badges li::before {
  font-family: "Font Awesome 6 Free"; font-weight: 900; -webkit-font-smoothing: antialiased; content: "\f00c";
  flex: none; width: 24px; height: 24px; border-radius: 50%;
  background: var(--accent-3); color: #fff; font-size: .78rem; font-weight: 700;
  display: grid; place-items: center;
}

/* Image, blobs and floating stickers */
.hero__media { position: relative; }
.hero__media img {
  width: 100%; position: relative; z-index: 2;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  aspect-ratio: 3 / 2; object-fit: cover;   /* landscape, to suit the party photo */
}

.hero .blob { position: absolute; border-radius: 50%; filter: blur(6px); opacity: .55; z-index: 1; }
.hero .blob--1 { width: 240px; height: 240px; background: var(--accent-2); top: -50px; right: -40px; }
.hero .blob--2 { width: 200px; height: 200px; background: var(--highlight); bottom: -46px; left: -46px; }
.hero .blob--3 { width: 150px; height: 150px; background: var(--accent-3); top: 45%; right: -60px; }

.sticker {
  position: absolute; z-index: 3;
  background: #fff; border-radius: var(--radius);
  padding: 14px 20px; box-shadow: var(--shadow-lg);
  font-weight: 700; font-size: .92rem; line-height: 1.3;
  animation: float 5s ease-in-out infinite;
}
.sticker small { display: block; font-weight: 500; font-size: .78rem; color: var(--ink-soft); }
.sticker--1 { top: 8%; left: -34px; }
.sticker--2 { bottom: 12%; right: -26px; animation-delay: -2.5s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { max-width: 520px; margin-inline: auto; }
  .sticker--1 { left: -10px; }
  .sticker--2 { right: -10px; }
}
@media (max-width: 620px) { .sticker { display: none; } }

/* ==========================================================================
   TRUST STRIP
   ========================================================================== */

.trust { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 54px; }
.trust__label {
  width: 100%; text-align: center; font-size: .8rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft);
}
.trust__item {
  font-family: var(--font-display); font-weight: 700; font-size: 1.25rem;
  color: var(--ink); opacity: .42; transition: opacity .2s;
}
.trust__item:hover { opacity: 1; }

/* ==========================================================================
   TESTIMONIAL CAROUSEL
   One card at a time on mobile, three across on desktop. Scroll-snaps, and
   auto-advances until you interact with it. See js/pages/home.js.
   ========================================================================== */

.carousel { position: relative; }
.carousel__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * var(--gap)) / 3);
  gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 8px; scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > * { scroll-snap-align: start; }

.carousel__controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 30px; }

.carousel__btn {
  width: 48px; height: 48px; flex: none; border-radius: 50%;
  border: 2px solid var(--line); background: var(--surface); color: var(--ink);
  font-size: 1.15rem; cursor: pointer; display: grid; place-items: center;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.carousel__btn:hover { background: var(--brand); border-color: var(--brand); color: #fff; transform: translateY(-2px); }
.carousel__btn[disabled] { opacity: .35; pointer-events: none; }

.carousel__dots { display: flex; gap: 9px; }
.carousel__dots button {
  width: 10px; height: 10px; padding: 0; border: none; border-radius: 50%;
  background: var(--line); cursor: pointer; transition: background .2s, width .2s;
}
.carousel__dots button.is-active { background: var(--brand); width: 26px; border-radius: var(--radius-pill); }

@media (max-width: 900px) { .carousel__track { grid-auto-columns: calc((100% - var(--gap)) / 2); } }
@media (max-width: 620px) { .carousel__track { grid-auto-columns: 88%; } }
