/* =============================================================
   HERO.CSS — Futunet (Mobile-First Responsive)
   Consolidated — no duplicate overrides.
   ============================================================= */

#inicio {
  position: relative;
  overflow: hidden;
}

/* ── Hero Carousel ── */
.hero-carousel {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
}
.hero-carousel-track {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
}

/* All slides occupy the same grid cell, stacked via z-index */
.hero-carousel-slide {
  grid-area: 1 / 1;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease;
  z-index: 1;
}
.hero-carousel-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

/* Hero slide inherits original styling */
.hero-carousel-slide--hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f9fbff;
}

/* Banner slides — cinematic background + text overlay */
.hero-carousel-slide--banner {
  position: relative;
  background: #0a1928;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
}

/* ── Background image with Ken Burns effect (Hybrid) ── */
.hb-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
@media (min-width: 768px) {
  .hb-bg {
    transform: scale(1.08) translateZ(0);
    transition: transform 1.6s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
  }
  .hero-carousel-slide--banner.active .hb-bg {
    transform: scale(1) translateZ(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hb-bg {
    transform: none !important;
    transition: none !important;
    will-change: auto !important;
  }
}

/* ── Cinematic gradient overlay ── */
.hb-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg,
      rgba(10, 25, 40, 0.94) 0%,
      rgba(10, 25, 40, 0.78) 35%,
      rgba(10, 25, 40, 0.45) 60%,
      rgba(10, 25, 40, 0.15) 100%
    ),
    linear-gradient(to top, rgba(10, 25, 40, 0.7) 0%, transparent 40%);
  z-index: 2;
}

/* ── Text body container ── */
.hb-body {
  position: relative;
  z-index: 10;
  max-width: 720px;
  padding: 0 64px;
  color: #fff;
}

/* Animated entrance — all children start hidden */
.hb-body .hb-label,
.hb-body .hb-title,
.hb-body .hb-desc,
.hb-body .hb-actions {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Staggered entrance when slide is active */
.hero-carousel-slide--banner.active .hb-label {
  opacity: 1; transform: translateY(0); transition-delay: 0.2s;
}
.hero-carousel-slide--banner.active .hb-title {
  opacity: 1; transform: translateY(0); transition-delay: 0.35s;
}
.hero-carousel-slide--banner.active .hb-desc {
  opacity: 1; transform: translateY(0); transition-delay: 0.5s;
}
.hero-carousel-slide--banner.active .hb-actions {
  opacity: 1; transform: translateY(0); transition-delay: 0.65s;
}

/* ── Eyebrow label ── */
.hb-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(11, 126, 181, 0.15);
  border: 1px solid rgba(11, 126, 181, 0.3);
  border-radius: 50px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 22px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hb-label i {
  width: 16px;
  height: 16px;
  color: var(--brand-light, #22a4e0);
}

/* ── Title ── */
.hb-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
  text-shadow: 0 6px 28px rgba(0, 0, 0, 0.5);
}
.hb-title span {
  background: linear-gradient(135deg, var(--brand, #0B7EB5), var(--brand-light, #22a4e0), #00d68f);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Description ── */
.hb-desc {
  font-size: clamp(1rem, 2vw, 1.18rem);
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 32px;
}

/* ── CTA buttons ── */
.hb-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hb-actions .btn {
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  transition: all 0.3s ease;
}
.hb-actions .btn-primary {
  background: var(--brand, #0B7EB5);
  color: #fff;
  border: none;
  box-shadow: 0 12px 32px rgba(11, 126, 181, 0.35);
}
.hb-actions .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(11, 126, 181, 0.45);
}
.hb-actions .btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25d366;
  color: #fff;
  border: none;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.25);
}
.hb-actions .btn-wa:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(37, 211, 102, 0.4);
}

/* ── Hero Carousel Arrows ── */
.hero-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 50px; height: 50px;
  border-radius: 50%;
  border: 2px solid rgba(11, 126, 181, 0.2);
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  color: var(--brand);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 8px 28px rgba(0,0,0,0.1);
}
.hero-carousel-arrow:hover {
  background: rgba(10, 112, 162, 0.15);
  border-color: var(--brand);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 12px 36px rgba(10, 112, 162, 0.2);
}
.hero-carousel-arrow--prev { left: 18px; }
.hero-carousel-arrow--next { right: 18px; }

/* On banner slides, arrows become white */
.hero-carousel:has(.hero-carousel-slide--banner.active) .hero-carousel-arrow {
  color: #fff;
  border-color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.08);
}
.hero-carousel:has(.hero-carousel-slide--banner.active) .hero-carousel-arrow:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.5);
}

/* ── Hero Carousel Dots ── */
.hero-carousel-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 20;
}
.hero-carousel-dot {
  width: 11px; height: 11px;
  border-radius: 50%;
  border: 2px solid var(--brand);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
  opacity: 0.5;
}
.hero-carousel-dot.active {
  background: var(--brand);
  opacity: 1;
  transform: scale(1.2);
}
.hero-carousel-dot:hover:not(.active) {
  opacity: 0.8;
}

/* ── Dots color override for banner slides ── */
.hero-carousel:has(.hero-carousel-slide--banner.active) .hero-carousel-dot {
  border-color: rgba(255, 255, 255, 0.4);
}
.hero-carousel:has(.hero-carousel-slide--banner.active) .hero-carousel-dot.active {
  background: #fff;
  border-color: #fff;
}

/* ── Responsive: Mobile ── */
@media (max-width: 767px) {
  .hero-carousel-arrow {
    display: none;
  }
  .hero-carousel-dots { bottom: 14px; gap: 7px; }
  .hero-carousel-dot { width: 9px; height: 9px; }

  .hero-carousel-slide--banner {
    align-items: center;
    justify-content: center;
  }

  .hb-overlay {
    background:
      linear-gradient(to bottom,
        rgba(10, 25, 40, 0.6) 0%,
        rgba(10, 25, 40, 0.85) 50%,
        rgba(10, 25, 40, 0.95) 100%
      );
  }

  .hb-body {
    padding: 80px 24px 60px;
    max-width: 100%;
    text-align: center;
  }

  .hb-label {
    font-size: 0.68rem;
    padding: 6px 14px;
    margin-bottom: 16px;
  }

  .hb-title {
    font-size: clamp(1.6rem, 7vw, 2.4rem);
    margin-bottom: 16px;
  }

  .hb-desc {
    font-size: 0.92rem;
    margin-bottom: 24px;
    max-width: 100%;
  }

  .hb-actions {
    flex-direction: column;
    gap: 10px;
  }
  .hb-actions .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 13px 24px;
    font-size: 0.88rem;
  }
}

/* ── Fondos decorativos ── */
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 82% 20%, rgba(11, 126, 181, 0.14), transparent 62%),
    radial-gradient(ellipse 35% 40% at 8% 76%, rgba(0, 214, 143, 0.1) 0%, transparent 62%),
    linear-gradient(180deg, rgba(249, 251, 255, 0.85) 0%, rgba(238, 244, 251, 0.88) 55%, rgba(234, 242, 251, 0.92) 100%);
  z-index: 1;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
@media (min-width: 768px) {
  .hero-bg-img {
    transform: scale(1.08) translateZ(0);
    transition: transform 1.6s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
  }
  .hero-carousel-slide--hero.active .hero-bg-img {
    transform: scale(1) translateZ(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-bg-img {
    transform: none !important;
    transition: none !important;
    will-change: auto !important;
  }
}
.hero-dots {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(11,126,181,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11,126,181,0.06) 1px, transparent 1px);
  background-size: 38px 38px;
  opacity: .7;
  mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, black 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, black 20%, transparent 80%);
}
.hero-glow {
  position: absolute; width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(11,126,181,0.06), transparent 65%);
  top: -80px; right: -60px;
  contain: layout style paint;
}
@keyframes glow {
  0%,100% { transform: translate3d(0,0,0); }
  50% { transform: translate3d(-15px,15px,0); }
}

/* ── Objetos Flotantes ── */
.hero-float {
  position: absolute;
  mix-blend-mode: multiply;
  opacity: 0.85;
  filter: drop-shadow(0 20px 30px rgba(11,126,181,0.15));
  z-index: 1;
  pointer-events: none;
  will-change: transform;
}
.hero-float-1 { width: 350px; top: 15%; left: 2%; animation: floatA 7s ease-in-out infinite; transform-origin: center; display: none;}
.hero-float-2 { width: 420px; top: 50%; right: 0; animation: floatB 9s ease-in-out infinite alternate; display: none;}
.hero-float-3 { width: 280px; bottom: 5%; left: 8%; animation: floatA 6s ease-in-out infinite reverse; display: none;}

@keyframes floatA {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -20px, 0); }
}
@keyframes floatB {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(0, -25px, 0); }
}

/* ── Contenido (Mobile-First) ── */
.hero-content {
  position: relative; z-index: 2;
  padding: 60px 0 30px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
}

.hero-logo-anchor { display: none; }

.hero-brand-mark {
  position: relative;
  width: clamp(320px, 84vw, 520px);
  margin-bottom: 10px;
  margin-inline: auto;
  align-self: center;
  display: block;
  max-width: 100%;
  overflow: visible;
  animation: fadeUp .7s .12s both, floatLogo 8s ease-in-out infinite alternate .8s;
  will-change: transform;
}

@keyframes floatLogo {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -12px, 0); }
}

.hero-brand-mark img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center center;
  backface-visibility: hidden;
  transform: translateZ(0);
  filter:
    drop-shadow(0 1px 1.25px rgba(255, 255, 255, 0.42))
    drop-shadow(0 18px 34px rgba(11, 126, 181, 0.14));
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 38px;
  padding: 0 16px 0 14px;
  background: rgba(255,255,255,0.8);
  border: 1px solid rgba(11, 126, 181, 0.1);
  backdrop-filter: blur(8px);
  border-radius: 50px;
  font-size: .68rem; font-weight: 700;
  color: var(--brand); letter-spacing: 1px; text-transform: uppercase;
  animation: fadeUp .7s .1s both;
  box-shadow: 0 18px 40px rgba(15, 25, 35, 0.07);
  margin-inline: auto;
  align-self: center;
  margin-bottom: 20px;
}
.hero-badge .dot {
  width: 7px; height: 7px;
  background: var(--accent); border-radius: 50%;
  box-shadow: 0 0 8px rgba(0,214,143,0.7);
  animation: blink 2s ease-in-out infinite;
  will-change: opacity;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.4} }

.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.2rem, 10vw, 3rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin-top: 0;
  max-width: 12ch;
  text-wrap: balance;
  animation: fadeUp .7s .2s both;
}
.hero-title-strong {
  color: inherit;
}
.hero-title-line {
  display: block;
}
.hero-title .line2,
.hero-title-accent {
  display: block;
  background: linear-gradient(100deg, var(--brand), var(--brand-light), #00d68f);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  color: #5c6d82;
  font-size: .98rem;
  margin: 18px 0 0;
  max-width: 54ch;
  line-height: 1.72;
  animation: fadeUp .7s .35s both;
}

.hero-ctas {
  display: flex; flex-direction: column; gap: 12px;
  animation: fadeUp .7s .5s both;
  width: 100%;
  margin-top: 18px;
}
.hero-ctas .btn { width: 100%; justify-content: center; text-align: center; }

.hero-chips {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  margin-top: 24px; animation: fadeUp .7s .65s both;
}
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 44px;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(11, 126, 181, 0.08);
  border-radius: 50px;
  font-size: .72rem; font-weight: 500;
  color: #536377;
  box-shadow: 0 14px 26px rgba(15, 25, 35, 0.05);
  transition: var(--transition);
}
.chip:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); }
.chip-icon { font-size: .85rem; display: flex; align-items: center; }

.hero-secondary-link {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--brand);
  font-family: 'Outfit', sans-serif;
  font-size: .82rem;
  font-weight: 700;
  text-decoration: none;
}

.hero-secondary-link::after {
  content: '→';
  font-size: 1em;
}

/* ── 7. SMART SEARCH (BUSCADOR INTELIGENTE) — BASE STYLES ── */
.smart-search-wrapper {
  position: relative; width: 100%; max-width: 600px; margin: 0 auto; z-index: 100;
}
.smart-search-input {
  width: 100%; padding: 18px 24px 18px 50px; border-radius: 30px;
  border: 1px solid var(--border); background: var(--bg-primary);
  font-family: 'Outfit', sans-serif; font-size: 1rem; color: var(--text-primary);
  box-shadow: 0 10px 30px rgba(0,0,0,0.05); transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}
.smart-search-input:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 15px 40px rgba(11,126,181,0.15);
}
.smart-search-icon {
  position: absolute; left: 20px; top: 50%; transform: translateY(-50%);
  width: 20px; height: 20px; color: var(--text-muted); pointer-events: none;
}
.smart-search-btn {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  background: var(--brand); border: none; color: #fff; width: 40px; height: 40px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: 0.2s;
}
.smart-search-btn:hover { background: var(--brand-dark); transform: translateY(-50%) scale(1.05); }

.search-dropdown {
  position: absolute; top: 110%; left: 0; width: 100%; background: var(--bg-primary);
  border-radius: 12px; border: 1px solid var(--border); box-shadow: 0 15px 50px rgba(0,0,0,0.1);
  overflow: hidden; opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: 0.2s; text-align: left;
}
.search-dropdown.active { opacity: 1; visibility: visible; transform: translateY(0); }
.search-group-title {
  padding: 12px 16px; font-size: 0.75rem; text-transform: uppercase; font-weight: 700;
  color: var(--text-muted); background: var(--bg-secondary); letter-spacing: 1px;
}
.search-item {
  display: flex; align-items: center; gap: 12px; padding: 12px 16px; cursor: pointer;
  transition: 0.2s; color: var(--text-primary); font-size: 0.95rem; border-bottom: 1px solid var(--border);
}
.search-item:last-child { border-bottom: none; }
.search-item:hover { background: rgba(11,126,181,0.05); color: var(--brand); }
.search-item i { width: 16px; height: 16px; color: var(--brand); }
.search-item--muted { color: var(--text-muted); }
.search-item:focus-visible {
  outline: 3px solid rgba(11,126,181,0.35);
  outline-offset: -3px;
}

.search-item-meta {
  margin-left: auto;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Autocompletado con miniaturas */
.search-item--product {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
}
.search-item-thumb {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-secondary);
  flex-shrink: 0;
}
.search-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.search-item-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.search-item-brand {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 1px;
}
.search-item-price {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--brand);
  white-space: nowrap;
  flex-shrink: 0;
}

.hero-search-block {
  margin: 28px 0 0;
  width: 100%;
  max-width: 900px;
}

.hero-search-block .smart-search-input {
  min-height: 72px;
  padding-left: 58px;
  padding-right: 86px;
  border-radius: 999px;
  border: 1px solid rgba(11, 126, 181, 0.12);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 28px 60px rgba(15, 25, 35, 0.1);
}

.hero-search-block .smart-search-icon {
  left: 22px;
}

.hero-search-block .smart-search-btn {
  right: 10px;
  width: 56px;
  height: 56px;
  box-shadow: 0 16px 28px rgba(11, 126, 181, 0.28);
}

@keyframes fadeUp { from{opacity:0;transform:translateY(26px)} to{opacity:1;transform:none} }

/* ── TABLET (≥768px) ── */
@media (min-width: 768px) {
  .hero-content {
    padding: 60px 0 40px;
    max-width: 720px;
    align-items: center;
    text-align: center;
  }
  .hero-logo-anchor { display: none; }
  .hero-brand-mark {
    width: clamp(430px, 56vw, 620px);
    margin-bottom: 14px;
  }
  .hero-badge {
    font-size: .7rem;
    padding: 6px 18px 6px 14px;
    margin-bottom: 22px;
  }
  .hero-title { font-size: clamp(3.1rem, 5.8vw, 4.3rem); padding: 0; }
  .hero-desc { font-size: 1.06rem; margin: 24px 0 0; padding: 0; }
  .hero-ctas { flex-direction: row; width: auto; justify-content: center; gap: 16px; margin-top: 18px; }
  .hero-ctas .btn { width: auto; }
  .chip { padding: 6px 16px; font-size: .78rem; }
  .hero-chips { gap: 12px; margin-top: 22px; justify-content: center; }
  .hero-search-block { margin: 24px 0 0; }
  .hero-glow { width: 600px; height: 600px; top: -120px; right: -80px; }
  .hero-float-1, .hero-float-2, .hero-float-3 { display: none; }
}

@media (min-width: 768px) and (max-width: 1023px) {
  #inicio {
    min-height: auto;
  }

  .hero-content {
    padding: 50px 0 30px;
    max-width: 680px;
  }

  .hero-brand-mark {
    width: clamp(360px, 54vw, 460px);
    margin-bottom: 8px;
  }

  .hero-badge {
    min-height: 34px;
    padding: 4px 16px 4px 13px;
    margin-bottom: 16px;
  }

  .hero-title {
    font-size: clamp(2.75rem, 6vw, 3.7rem);
    line-height: 0.98;
    max-width: 10.5ch;
  }

  .hero-desc {
    margin-top: 16px;
    max-width: 48ch;
    font-size: 1rem;
    line-height: 1.62;
  }

  .hero-search-block {
    max-width: 680px;
    margin-top: 16px;
  }

  .hero-search-block .smart-search-input {
    min-height: 62px;
    font-size: .98rem;
    padding-left: 54px;
    padding-right: 76px;
    box-shadow: 0 20px 42px rgba(15, 25, 35, 0.09);
  }

  .hero-search-block .smart-search-btn {
    width: 50px;
    height: 50px;
  }

  .hero-ctas {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
    max-width: 680px;
    margin-top: 14px;
  }

  .hero-ctas .btn {
    width: 100%;
    min-height: 50px;
    padding: 0 16px;
    font-size: .9rem;
  }

  .hero-chips {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
    max-width: 680px;
    margin-top: 16px;
  }

  .chip {
    min-height: 46px;
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 9px 11px;
    font-size: .7rem;
    line-height: 1.25;
    border-radius: 18px;
  }
}

/* ── DESKTOP (≥1024px) ── */
@media (min-width: 1024px) {
  .hero-content {
    padding: 70px 0 50px;
    max-width: 780px;
  }
  .hero-logo-anchor {
    height: 74px;
    margin-bottom: 0;
  }
  .hero-brand-mark {
    width: clamp(520px, 42vw, 720px);
    margin-bottom: 14px;
  }
  .hero-title { font-size: clamp(3.8rem, 4.8vw, 5.15rem); }
  .hero-desc { font-size: 1.1rem; }
  .hero-search-block { margin: 26px 0 0; }
  .hero-search-block .smart-search-input {
    min-height: 76px;
    font-size: 1.08rem;
  }
  .hero-ctas { gap: 14px; }
  .hero-chips { margin-top: 24px; }
  .hero-float-1, .hero-float-2, .hero-float-3 { display: block; }
}

/* ── MOBILE (≤767px) ── */
@media (max-width: 767px) {
  #inicio {
    min-height: auto;
  }

  .hero-glow {
    animation: none;
    transform: none;
    opacity: .68;
    will-change: auto;
  }

  .hero-content {
    padding: 50px 0 25px;
    gap: 0;
  }

  .hero-brand-mark {
    width: clamp(246px, 69vw, 344px);
    margin-bottom: 8px;
    animation: fadeUp .58s .12s both;
  }

  .hero-brand-mark img {
    filter:
      drop-shadow(0 1px 1.5px rgba(255, 255, 255, 0.5))
      drop-shadow(0 10px 18px rgba(11, 126, 181, 0.12));
  }

  .hero-badge {
    min-height: 28px;
    padding: 0 11px 0 9px;
    font-size: .58rem;
    letter-spacing: .11em;
    margin-bottom: 10px;
    box-shadow: 0 7px 16px rgba(15, 25, 35, 0.05);
    backdrop-filter: none;
  }
  .hero-badge .dot {
    width: 6px; height: 6px;
    animation: none;
    box-shadow: none;
  }

  .hero-title {
    font-size: clamp(1.62rem, 7.6vw, 2.18rem);
    line-height: 1.02;
    max-width: 12.6ch;
  }

  .hero-desc {
    font-size: .88rem;
    margin-top: 12px;
    line-height: 1.65;
    max-width: 38ch;
    padding: 0 4px;
  }

  .hero-search-block {
    margin-top: 14px;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-search-block .smart-search-input {
    min-height: 48px;
    font-size: .82rem;
    padding-left: 40px;
    padding-right: 52px;
    border-radius: 15px;
    box-shadow: 0 10px 22px rgba(15,25,35,0.07);
  }
  .hero-search-block .smart-search-icon {
    left: 14px;
    width: 17px;
    height: 17px;
  }
  .hero-search-block .smart-search-btn {
    right: 6px;
    width: 36px;
    height: 36px;
    border-radius: 11px;
    box-shadow: 0 7px 16px rgba(11,126,181,0.18);
  }

  .hero-ctas {
    margin-top: 12px;
    gap: 9px;
    align-items: center;
    width: 100%;
  }
  .hero-ctas .btn {
    min-height: 46px;
    font-size: .85rem;
    border-radius: 13px;
    padding: 0 16px;
    width: 100%;
    max-width: 320px;
    justify-content: center;
    display: flex;
  }
  .hero-cta-solutions {
    display: none;
  }
  .hero-cta-catalog {
    order: 1;
    color: #fff;
    background: linear-gradient(135deg, #0a7ab0 0%, #22a4e0 100%);
    border: none;
    box-shadow: 0 10px 22px rgba(11,126,181,0.22);
  }
  .hero-cta-catalog:hover {
    color: #fff;
    background: linear-gradient(135deg, #0a7ab0 0%, #22a4e0 100%);
  }
  .hero-cta-whatsapp {
    order: 2;
    box-shadow: 0 9px 20px rgba(37,211,102,0.18);
  }

  .hero-chips {
    margin-top: 12px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    width: 100%;
    max-width: 320px;
    overflow: visible;
    justify-content: stretch;
    padding-bottom: 0;
  }
  .hero-chips::-webkit-scrollbar { display: none; }
  .chip {
    min-height: 38px;
    width: 100%;
    min-width: 0;
    padding: 7px 9px;
    font-size: .64rem;
    line-height: 1.16;
    flex-shrink: 1;
    justify-content: center;
    text-align: center;
    white-space: normal;
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.82);
    border-color: rgba(11, 126, 181, 0.06);
    box-shadow: 0 5px 14px rgba(15,25,35,0.035);
    backdrop-filter: none;
  }
  .chip-icon { flex-shrink: 0; }
}

/* ── Back-to-Top Button ── */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-light) 100%);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 28px rgba(11, 126, 181, 0.35);
  transition: transform 0.3s ease, opacity 0.3s ease, box-shadow 0.3s ease;
  opacity: 1;
}

.back-to-top[hidden] {
  display: flex;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(11, 126, 181, 0.45);
}

@media (max-width: 767px) {
  .back-to-top {
    bottom: calc(var(--mobile-bottom-bar-height, 56px) + 16px + var(--mobile-safe-bottom, 0px));
    right: 16px;
    width: 44px;
    height: 44px;
  }
}
