/* =============================================
   TIENDA HOY ASEO — styles.css
   Mobile-first | Blue #0d6efd | Professional
   ============================================= */

/* ===== CSS VARIABLES ===== */
:root {
  --blue: #0d6efd;
  --blue-dark: #0a58ca;
  --blue-light: #e8f0fe;
  --blue-xlight: #f0f5ff;
  --black: #111111;
  --dark: #1a1a2e;
  --gray: #6b7280;
  --gray-light: #f3f4f6;
  --gray-border: #e5e7eb;
  --white: #ffffff;
  --green-wa: #25d366;
  --green-wa-dark: #128c7e;

  --font-head: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.14);
  --shadow-blue: 0 4px 20px rgba(13,110,253,0.25);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --transition: all 0.28s cubic-bezier(0.4,0,0.2,1);
  --transition-fast: all 0.18s ease;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input { font-family: inherit; outline: none; border: none; }

/* ===== CONTAINER ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--radius-md);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
  white-space: nowrap;
  cursor: pointer;
}
.btn--primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: var(--shadow-blue);
}
.btn--primary:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(13,110,253,0.35);
}
.btn--whatsapp {
  background: var(--green-wa);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(37,211,102,0.3);
}
.btn--whatsapp:hover {
  background: var(--green-wa-dark);
  transform: translateY(-2px);
}
.btn--outline {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}
.btn--outline:hover {
  background: var(--blue);
  color: var(--white);
}
.btn--white {
  background: var(--white);
  color: var(--blue);
  font-weight: 700;
}
.btn--white:hover {
  background: var(--blue-light);
  transform: translateY(-2px);
}
.btn--outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.7);
}
.btn--outline-white:hover {
  background: rgba(255,255,255,0.15);
}

/* ===== SECTION HEADERS ===== */
.section-header { text-align: center; margin-bottom: 40px; }
.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 800;
  color: var(--black);
  margin-bottom: 8px;
}
.section-title span { color: var(--blue); }
.section-sub {
  color: var(--gray);
  font-size: 1rem;
}

/* =============================================
   TOP BAR
   ============================================= */
.top-bar {
  background: var(--dark);
  color: rgba(255,255,255,0.8);
  font-size: 0.78rem;
  padding: 8px 0;
}
.top-bar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.top-bar__left { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.top-bar__left span { display: flex; align-items: center; gap: 5px; }
.top-bar__right { display: flex; align-items: center; gap: 10px; }
.top-bar__right a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  transition: var(--transition-fast);
  width: 26px; height: 26px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
}
.top-bar__right a:hover { color: var(--white); background: rgba(255,255,255,0.1); }

/* =============================================
   HEADER
   ============================================= */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  border-bottom: 2px solid var(--gray-border);
  transition: var(--transition);
}
.header.scrolled {
  box-shadow: var(--shadow-md);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
}

/* Logo */
.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-icon {
  width: 42px; height: 42px;
  background: var(--blue);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-main {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1rem;
  color: var(--black);
}
.logo-sub {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--blue);
}

/* Search */
.header__search {
  flex: 1;
  display: flex;
  align-items: center;
  background: var(--gray-light);
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  overflow: hidden;
  transition: var(--transition);
  max-width: 550px;
}
.header__search:focus-within {
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 4px var(--blue-light);
}
.header__search input {
  flex: 1;
  padding: 11px 16px;
  background: transparent;
  font-size: 0.9rem;
  color: var(--black);
}
.header__search input::placeholder { color: var(--gray); }
.btn-search {
  padding: 11px 18px;
  background: var(--blue);
  color: var(--white);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}
.btn-search:hover { background: var(--blue-dark); }

/* Header Actions */
.header__actions {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  color: var(--gray);
  font-size: 0.65rem;
  font-weight: 500;
  transition: var(--transition-fast);
}
.action-btn i { font-size: 1.1rem; }
.action-btn:hover { color: var(--blue); background: var(--blue-xlight); }
.action-btn--whatsapp { color: var(--green-wa); }
.action-btn--whatsapp:hover { background: #e8faf0; color: var(--green-wa-dark); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius-sm);
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =============================================
   NAV
   ============================================= */
.nav {
  background: var(--dark);
  position: relative;
  z-index: 900;
}
.nav__inner {
  display: flex;
  align-items: stretch;
  height: 48px;
}

/* Categories button */
.nav__categories { position: relative; }
.nav__cat-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 20px;
  height: 100%;
  color: var(--white);
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  background: var(--blue);
  letter-spacing: 0.5px;
  transition: var(--transition-fast);
}
.nav__cat-btn:hover { background: var(--blue-dark); }
.nav__cat-arrow { font-size: 0.7rem; transition: var(--transition-fast); }
.nav__categories:hover .nav__cat-arrow { transform: rotate(180deg); }

.nav__cat-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 230px;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-border);
  border-top: 3px solid var(--blue);
  z-index: 999;
  overflow: hidden;
}
.nav__categories:hover .nav__cat-dropdown { display: block; animation: dropDown 0.2s ease; }
.nav__cat-dropdown li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px;
  font-size: 0.88rem;
  color: var(--black);
  transition: var(--transition-fast);
}
.nav__cat-dropdown li a i { color: var(--blue); width: 16px; text-align: center; }
.nav__cat-dropdown li a:hover { background: var(--blue-xlight); color: var(--blue); padding-left: 24px; }
.nav__cat-dropdown li + li { border-top: 1px solid var(--gray-border); }

/* Nav Links */
.nav__links {
  display: flex;
  align-items: center;
  gap: 0;
  margin-left: 4px;
}
.nav__links li a {
  display: flex;
  align-items: center;
  height: 48px;
  padding: 0 16px;
  color: rgba(255,255,255,0.85);
  font-size: 0.85rem;
  font-weight: 500;
  transition: var(--transition-fast);
  position: relative;
}
.nav__links li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transition: var(--transition-fast);
}
.nav__links li a:hover { color: var(--white); }
.nav__links li a:hover::after { transform: scaleX(1); }

@keyframes dropDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark);
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 50%, rgba(13,110,253,0.3) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(13,110,253,0.15) 0%, transparent 50%),
    var(--dark);
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 30px 30px;
}

.hero__content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding-top: 60px;
  padding-bottom: 80px;
}

.hero__badge {
  display: inline-block;
  background: rgba(13,110,253,0.2);
  color: #7ab8ff;
  border: 1px solid rgba(13,110,253,0.4);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 20px;
  animation: fadeSlideUp 0.6s ease both;
}

.hero__title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
  animation: fadeSlideUp 0.7s 0.1s ease both;
}
.hero__highlight {
  color: var(--blue);
  position: relative;
}
.hero__highlight::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--blue);
  border-radius: 2px;
  opacity: 0.6;
}

.hero__subtitle {
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  margin-bottom: 30px;
  animation: fadeSlideUp 0.7s 0.2s ease both;
}

.hero__ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 36px;
  animation: fadeSlideUp 0.7s 0.3s ease both;
}

.hero__stats {
  display: flex;
  gap: 30px;
  animation: fadeSlideUp 0.7s 0.4s ease both;
}
.hero__stat {
  display: flex;
  flex-direction: column;
}
.hero__stat strong {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
}
.hero__stat span {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.5px;
}

/* Hero Visual */
.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeSlideUp 0.7s 0.2s ease both;
}
.hero__bubble {
  position: absolute;
  border-radius: 50%;
  opacity: 0.12;
  background: var(--blue);
}
.hero__bubble--1 { width: 320px; height: 320px; top: -40px; right: -40px; animation: pulse 4s ease-in-out infinite; }
.hero__bubble--2 { width: 200px; height: 200px; bottom: -20px; left: 20px; animation: pulse 5s 1s ease-in-out infinite; }

.hero__image-wrap {
  width: 260px; height: 260px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(13,110,253,0.3), rgba(13,110,253,0.1));
  border: 2px solid rgba(13,110,253,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}
.hero__image-inner {
  width: 200px; height: 200px;
  background: linear-gradient(135deg, var(--blue), #4a9eff);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  color: var(--white);
  box-shadow: var(--shadow-blue);
}

.hero__float {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--black);
  box-shadow: var(--shadow-md);
  z-index: 3;
}
.hero__float i { color: var(--blue); font-size: 1rem; }
.hero__float--1 { top: 20px; right: -10px; animation: floatUpDown 3s ease-in-out infinite; }
.hero__float--2 { bottom: 30px; left: -10px; animation: floatUpDown 3s 1.5s ease-in-out infinite; }
.hero__float--2 i { color: var(--green-wa); }

.hero__dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.hero__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  transition: var(--transition);
}
.hero__dot.active { background: var(--blue); width: 24px; border-radius: 4px; }

/* =============================================
   CATEGORIES SECTION
   ============================================= */
.categories-section {
  padding: 70px 0 50px;
  background: var(--gray-light);
}
.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.cat-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px 16px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  box-shadow: var(--shadow-sm);
}
.cat-card:hover {
  border-color: var(--blue);
  transform: translateY(-6px);
  box-shadow: var(--shadow-blue);
}
.cat-card__icon {
  width: 60px; height: 60px;
  background: var(--blue-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-size: 1.5rem;
  color: var(--blue);
  transition: var(--transition);
}
.cat-card:hover .cat-card__icon {
  background: var(--blue);
  color: var(--white);
  transform: scale(1.1);
}
.cat-card span {
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--black);
  display: block;
}
.cat-card.active {
  border-color: var(--blue);
  background: var(--blue-xlight);
}

/* =============================================
   PRODUCTS SECTION
   ============================================= */
.products-section {
  padding: 70px 0;
  background: var(--white);
}

/* Filter Bar */
.filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 36px;
  justify-content: center;
}
.filter-btn {
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  font-family: var(--font-head);
  border: 2px solid var(--gray-border);
  color: var(--gray);
  transition: var(--transition-fast);
  background: var(--white);
}
.filter-btn:hover { border-color: var(--blue); color: var(--blue); }
.filter-btn.active {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* Product Card */
.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-border);
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue);
}

.product-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 700;
  font-family: var(--font-head);
}
.badge--nuevo { background: var(--blue); color: var(--white); }
.badge--oferta { background: #ef4444; color: var(--white); }

.product-card__image {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  position: relative;
  overflow: hidden;
}
.product-card__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(0,0,0,0.04));
}

.product-card__body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-card__cat {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}
.product-card__name {
  font-family: var(--font-head);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 10px;
  line-height: 1.3;
  flex: 1;
}
.product-card__price-row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin-bottom: 14px;
}
.product-card__price {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--black);
}
.product-card__price-old {
  font-size: 0.8rem;
  color: var(--gray);
  text-decoration: line-through;
}
.product-card__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 11px;
  background: var(--green-wa);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  transition: var(--transition-fast);
  cursor: pointer;
  border: none;
}
.product-card__btn:hover {
  background: var(--green-wa-dark);
  transform: scale(1.02);
}
.product-card__btn i { font-size: 1rem; }

/* No results */
.no-results {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  text-align: center;
  color: var(--gray);
  gap: 14px;
}
.no-results i { font-size: 3rem; opacity: 0.4; }
.no-results p { font-size: 1rem; line-height: 1.6; }
.no-results.show { display: flex; }

.products-cta {
  text-align: center;
  margin-top: 48px;
}

/* =============================================
   BENEFITS SECTION
   ============================================= */
.benefits-section {
  padding: 70px 0;
  background: var(--blue-xlight);
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.benefit-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  opacity: 0;
  transform: translateY(20px);
}
.benefit-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.benefit-card__icon {
  width: 64px; height: 64px;
  background: var(--blue-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 1.6rem;
  color: var(--blue);
  transition: var(--transition);
}
.benefit-card:hover .benefit-card__icon {
  background: var(--blue);
  color: var(--white);
  transform: scale(1.1) rotate(-5deg);
}
.benefit-card h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 10px;
}
.benefit-card p {
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 1.6;
}

/* =============================================
   CTA SECTION
   ============================================= */
.cta-section {
  position: relative;
  overflow: hidden;
  padding: 70px 0;
  background: var(--dark);
}
.cta-section__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(13,110,253,0.4) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(13,110,253,0.2) 0%, transparent 50%);
}
.cta-section__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}
.cta-section__badge {
  display: inline-block;
  background: rgba(13,110,253,0.25);
  color: #7ab8ff;
  border: 1px solid rgba(13,110,253,0.4);
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 14px;
}
.cta-section__text h2 {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}
.cta-section__text p {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  margin-bottom: 28px;
  line-height: 1.7;
}
.cta-section__btns { display: flex; gap: 12px; flex-wrap: wrap; }

.cta-icons-float {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.cta-icons-float i {
  width: 60px; height: 60px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}
.cta-icons-float i:hover {
  background: rgba(13,110,253,0.3);
  color: var(--white);
  transform: scale(1.1);
}

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonials-section {
  padding: 70px 0;
  background: var(--white);
}
.testimonials-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--gray-light);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  border: 1px solid var(--gray-border);
  transition: var(--transition);
}
.testimonial-card:hover {
  border-color: var(--blue);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.testimonial-stars { color: #f59e0b; margin-bottom: 14px; font-size: 0.9rem; letter-spacing: 2px; }
.testimonial-card p {
  color: var(--black);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 18px;
  font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 40px; height: 40px;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.8rem;
  flex-shrink: 0;
}
.testimonial-author strong { display: block; font-family: var(--font-head); font-size: 0.88rem; font-weight: 700; }
.testimonial-author span { font-size: 0.75rem; color: var(--gray); }

/* =============================================
   FOOTER
   ============================================= */
.footer { background: var(--dark); }
.footer__top { padding: 60px 0 40px; }
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
}
.footer__col--brand .footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.footer__col--brand .logo-main,
.footer__col--brand .logo-sub { color: var(--white); }
.footer__col--brand p {
  color: rgba(255,255,255,0.55);
  font-size: 0.85rem;
  line-height: 1.7;
  margin-bottom: 20px;
}
.footer__socials { display: flex; gap: 10px; }
.footer__socials a {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  transition: var(--transition-fast);
}
.footer__socials a:hover { background: var(--blue); color: var(--white); border-color: var(--blue); }

.footer__col h4 {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer__col ul li { margin-bottom: 10px; }
.footer__col ul li a {
  color: rgba(255,255,255,0.55);
  font-size: 0.85rem;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer__col ul li a:hover { color: var(--blue); padding-left: 4px; }

.footer__contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.footer__contact li i {
  color: var(--blue);
  width: 18px;
  text-align: center;
  font-size: 0.9rem;
}
.footer__contact li a,
.footer__contact li span {
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
}
.footer__contact li a:hover { color: var(--blue); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
}
.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.footer__bottom p { color: rgba(255,255,255,0.4); font-size: 0.78rem; }
.footer__bottom-links { display: flex; gap: 16px; }
.footer__bottom-links a {
  color: rgba(255,255,255,0.4);
  font-size: 0.78rem;
  transition: var(--transition-fast);
}
.footer__bottom-links a:hover { color: var(--blue); }

/* =============================================
   WHATSAPP FLOAT
   ============================================= */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 58px; height: 58px;
  background: var(--green-wa);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--white);
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  z-index: 9999;
  transition: var(--transition);
  animation: waPulse 2.5s ease-in-out infinite;
}
.whatsapp-float:hover {
  background: var(--green-wa-dark);
  transform: scale(1.1);
  animation: none;
}
.whatsapp-float__tooltip {
  position: absolute;
  right: 70px;
  background: var(--dark);
  color: var(--white);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-fast);
}
.whatsapp-float:hover .whatsapp-float__tooltip { opacity: 1; }

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 96px;
  right: 30px;
  width: 40px; height: 40px;
  background: var(--blue);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  box-shadow: var(--shadow-md);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: var(--transition);
}
.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.back-to-top:hover { background: var(--blue-dark); }

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}
@keyframes floatUpDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes waPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 4px 30px rgba(37,211,102,0.7), 0 0 0 10px rgba(37,211,102,0.1); }
}
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.product-card { animation: fadeIn 0.35s ease both; }

/* =============================================
   RESPONSIVE — TABLET (max 900px)
   ============================================= */
@media (max-width: 900px) {
  .top-bar__left span:nth-child(3) { display: none; }

  .header__inner { flex-wrap: wrap; gap: 10px; }
  .header__search { order: 3; flex: 1 1 100%; max-width: 100%; }

  .header__actions .action-btn:not(.action-btn--whatsapp) { display: none; }
  .hamburger { display: flex; }

  .nav__inner { flex-direction: column; height: auto; }
  .nav__links {
    display: none;
    flex-direction: column;
    gap: 0;
    width: 100%;
    padding: 8px 0;
  }
  .nav__links.open { display: flex; }
  .nav__links li a {
    height: 44px;
    padding: 0 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .nav__links li a::after { display: none; }
  .nav__cat-btn { width: 100%; }

  .hero__content {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 50px;
    padding-bottom: 60px;
  }
  .hero__visual { display: none; }
  .hero__ctas { justify-content: center; }
  .hero__stats { justify-content: center; }

  .categories-grid { grid-template-columns: repeat(4, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-track { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .cta-section__inner { grid-template-columns: 1fr; }
  .cta-icons-float { display: flex; gap: 12px; }
}

/* =============================================
   RESPONSIVE — MOBILE (max 600px)
   ============================================= */
@media (max-width: 600px) {
  .top-bar__left { display: none; }
  .top-bar__right span { display: none; }

  .header__logo .logo-text { display: flex; }

  .hero__title { font-size: 1.7rem; }
  .hero__ctas { flex-direction: column; align-items: stretch; }
  .hero__stats { gap: 20px; }

  .categories-grid { grid-template-columns: repeat(4, 1fr); gap: 10px; }
  .cat-card { padding: 14px 6px; }
  .cat-card__icon { width: 44px; height: 44px; font-size: 1.1rem; }
  .cat-card span { font-size: 0.7rem; }

  .filter-bar { gap: 6px; }
  .filter-btn { padding: 7px 12px; font-size: 0.75rem; }

  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .benefits-grid { grid-template-columns: 1fr; }
  .testimonials-track { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__col--brand { display: block; }

  .whatsapp-float { bottom: 20px; right: 20px; width: 52px; height: 52px; font-size: 1.4rem; }
  .back-to-top { bottom: 84px; right: 22px; }

  .cta-section__btns { flex-direction: column; }
}

@media (max-width: 380px) {
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: 1fr; }
}
