/* ===== BlueVault Distribution — styles.css ===== */

:root {
  --color-primary: #2D5FF5;
  --color-primary-dark: #1e46c4;
  --color-primary-light: #eaf0ff;
  --color-accent: #B4B6B9;
  --color-dark: #14161f;
  --color-text: #3a3d4a;
  --color-muted: #6b6e7c;
  --color-bg: #ffffff;
  --color-bg-muted: #f6f7fb;
  --color-border: #e6e7ec;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(20, 22, 31, 0.08);
  --shadow-hover: 0 16px 40px rgba(45, 95, 245, 0.18);
  --container-w: 1200px;
  --header-h: 68px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; border-style: none; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
h1, h2, h3, h4 { color: var(--color-dark); line-height: 1.15; font-weight: 800; }

.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 8px 20px rgba(45, 95, 245, 0.28);
}
.btn--primary:hover { background: var(--color-primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.btn--outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}
.btn--outline:hover { background: var(--color-primary); color: #fff; transform: translateY(-2px); }
.btn--sm { padding: 10px 18px; font-size: 0.85rem; }
.btn--full { width: 100%; }

/* ===== Fade-in ===== */
.fade-in { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-in.is-visible { opacity: 1; transform: translateY(0); }

/* ===== 1. Top bar ===== */
.topbar {
  background: var(--color-dark);
  color: #fff;
  text-align: center;
  padding: 9px 16px;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

/* ===== 2. Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  height: var(--header-h);
  display: flex;
  align-items: center;
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.logo { display: flex; align-items: center; gap: 10px; }
.logo__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--color-primary);
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.logo__text {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-dark);
  line-height: 1.1;
}
.logo__text strong { color: var(--color-primary); }

.nav {
  display: none;
  align-items: center;
  gap: 28px;
  font-weight: 600;
  font-size: 0.9rem;
}
.nav a { color: var(--color-text); transition: color 0.2s ease; position: relative; }
.nav a:hover { color: var(--color-primary); }

.header__actions { display: flex; align-items: center; gap: 12px; }
.header__actions .btn { display: none; }

.hamburger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--color-dark);
}
.hamburger svg { width: 24px; height: 24px; }

/* Mobile nav drawer */
.nav.is-open {
  display: flex;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow);
  padding: 8px 20px 16px;
}
.nav.is-open a { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--color-border); }
.nav.is-open a:last-child { border-bottom: none; }

/* ===== 3. Hero ===== */
.hero {
  background: linear-gradient(180deg, var(--color-primary-light) 0%, #ffffff 65%);
  padding: 48px 0 60px;
  overflow: hidden;
}
.hero__inner {
  display: flex;
  flex-direction: column;
  gap: 44px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--color-border);
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 8px 14px;
  border-radius: 999px;
  box-shadow: var(--shadow);
  margin-bottom: 18px;
}

.hero__title {
  font-size: 2rem;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.rotator {
  color: var(--color-primary);
  display: inline-block;
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.rotator.is-swapping { opacity: 0; transform: translateY(6px); }

.hero__subtitle {
  color: var(--color-muted);
  font-size: 1rem;
  max-width: 520px;
  margin-bottom: 26px;
}

.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }

.hero__stats { display: flex; gap: 28px; flex-wrap: wrap; }
.hero__stats div { display: flex; flex-direction: column; }
.hero__stats strong { font-size: 1.3rem; color: var(--color-dark); font-weight: 800; }
.hero__stats span { font-size: 0.78rem; color: var(--color-muted); }

.hero__collage { position: relative; min-height: 340px; }
.collage__img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
}
.collage__img--1 { width: 68%; height: 320px; }
.collage__img--2 {
  width: 48%;
  height: 160px;
  position: absolute;
  right: 0;
  bottom: -20px;
  border: 4px solid #fff;
}
.collage__badge {
  position: absolute;
  top: 16px;
  left: 12px;
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 220px;
  animation: float 3.5s ease-in-out infinite;
}
.collage__badge strong { display: block; font-size: 0.78rem; color: var(--color-dark); }
.collage__badge span { font-size: 0.7rem; color: var(--color-muted); }

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

/* ===== 4. Brands ===== */
.brands { padding: 30px 0; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.brands__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  overflow-x: auto;
  scrollbar-width: none;
}
.brands__inner::-webkit-scrollbar { display: none; }
.brands__inner img { flex-shrink: 0; opacity: 0.55; filter: grayscale(1); border-radius: 6px; height: 40px; width: auto; }

/* ===== Sections ===== */
.section { padding: 64px 0; }
.section--muted { background: var(--color-bg-muted); }

.section__head { max-width: 600px; margin: 0 auto 40px; text-align: center; }
.eyebrow {
  display: inline-block;
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}
.section__head h2 { font-size: 1.7rem; margin-bottom: 10px; }
.section__head p { color: var(--color-muted); font-size: 0.95rem; }

.section__cta { text-align: center; margin-top: 36px; }

/* ===== Grids / cards ===== */
.grid { display: grid; gap: 22px; grid-template-columns: 1fr; }

.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: transparent; }

.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--color-bg-muted); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.card:hover .card__media img { transform: scale(1.06); }
.card__tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

.card__body { padding: 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__body h3 { font-size: 1rem; }
.card__body p { color: var(--color-muted); font-size: 0.85rem; }
.card__price { display: flex; align-items: baseline; gap: 8px; margin-top: auto; }
.card__price strong { color: var(--color-primary); font-size: 1.15rem; font-weight: 800; }
.card__price span { color: var(--color-accent); font-size: 0.78rem; text-decoration: line-through; }

.card__whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #25D366;
  color: #fff;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 11px;
  border-radius: var(--radius-sm);
  transition: filter 0.2s ease;
}
.card__whatsapp:hover { filter: brightness(0.92); }

/* Category cards */
.cat-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 240px;
  display: flex;
  align-items: flex-end;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease;
}
.cat-card:hover { transform: translateY(-6px); }
.cat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.cat-card:hover img { transform: scale(1.08); }
.cat-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,22,31,0) 30%, rgba(20,22,31,0.85) 100%);
}
.cat-card__content { position: relative; z-index: 1; padding: 20px; color: #fff; display: flex; align-items: center; gap: 12px; width: 100%; }
.cat-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cat-card__content h3 { color: #fff; font-size: 1.05rem; }
.cat-card__content p { color: rgba(255,255,255,0.8); font-size: 0.78rem; }

/* ===== 8. Zigzag benefits ===== */
.zigzag {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: center;
  margin-bottom: 48px;
}
.zigzag:last-child { margin-bottom: 0; }
.zigzag__media { width: 100%; }
.zigzag__media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; height: auto; }
.zigzag__content { width: 100%; }
.icon-badge {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.zigzag__content h3 { font-size: 1.3rem; margin-bottom: 12px; }
.zigzag__content p { color: var(--color-muted); margin-bottom: 16px; font-size: 0.92rem; }
.checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--color-text);
  padding: 6px 0;
}
.checklist li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
  flex-shrink: 0;
}

/* ===== 9. Testimonials ===== */
.carousel {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 720px;
  margin: 0 auto;
}
.carousel__track { flex: 1; overflow: hidden; position: relative; min-height: 260px; }
.testimonial {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease, transform 0.5s ease;
  transform: translateX(16px);
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.testimonial.is-active { opacity: 1; pointer-events: auto; transform: translateX(0); position: relative; }
.testimonial__avatar { width: 62px; height: 62px; border-radius: 50%; object-fit: cover; border: 3px solid var(--color-primary-light); }
.testimonial__stars { display: flex; gap: 3px; color: #f5b301; }
.testimonial__quote { font-size: 0.92rem; color: var(--color-text); line-height: 1.6; max-width: 480px; }
.testimonial__name { font-weight: 700; color: var(--color-dark); font-size: 0.88rem; }
.testimonial__role { font-size: 0.76rem; color: var(--color-muted); }

.carousel__arrow {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-dark);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.carousel__arrow:hover { background: var(--color-primary); color: #fff; transform: scale(1.06); }

.carousel__dots { display: flex; justify-content: center; gap: 8px; margin-top: 22px; }
.carousel__dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-border);
  transition: background 0.2s ease, width 0.2s ease;
}
.carousel__dots button.is-active { background: var(--color-primary); width: 22px; border-radius: 999px; }

/* ===== 10. Footer ===== */
.footer { background: var(--color-dark); color: rgba(255,255,255,0.75); padding: 56px 0 0; }
.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  padding-bottom: 40px;
}
.footer__col h4 { color: #fff; font-size: 0.9rem; margin-bottom: 16px; }
.footer__col a { display: block; padding: 6px 0; font-size: 0.86rem; transition: color 0.2s ease; }
.footer__col a:hover { color: #fff; }
.footer__brand p { font-size: 0.85rem; margin: 10px 0 18px; max-width: 280px; }

.footer__social { display: flex; gap: 12px; }
.footer__social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}
.footer__social a:hover { background: var(--color-primary); transform: translateY(-3px); }

.footer__newsletter form { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.footer__newsletter input {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.06);
  color: #fff;
  font-size: 0.85rem;
}
.footer__newsletter input::placeholder { color: rgba(255,255,255,0.4); }
.footer__newsletter input:focus { outline: 2px solid var(--color-primary); }
.newsletter__msg { font-size: 0.78rem; color: #6ee7a0; min-height: 18px; margin-top: 8px; }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 18px 0;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
}

/* ===== Floating WhatsApp ===== */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  z-index: 90;
  transition: transform 0.2s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }

/* ===================================================== */
/* Responsive breakpoints (mobile-first, tested to 380px) */
/* ===================================================== */

@media (min-width: 480px) {
  .hero__title { font-size: 2.3rem; }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 640px) {
  .hero__cta { flex-wrap: nowrap; }
}

@media (min-width: 860px) {
  .nav { display: flex; }
  .header__actions .btn { display: inline-flex; }
  .hamburger { display: none; }

  .hero__inner { flex-direction: row; align-items: center; }
  .hero__content { flex: 1; }
  .hero__collage { flex: 1; }
  .hero__title { font-size: 2.7rem; }

  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }

  .zigzag { flex-direction: row; gap: 56px; }
  .zigzag--reverse { flex-direction: row-reverse; }
  .zigzag__media, .zigzag__content { width: 50%; }

  .section__head h2 { font-size: 2.1rem; }
}

@media (min-width: 1024px) {
  .container { padding: 0 32px; }
  .hero { padding: 70px 0 90px; }
}
