/* =============================================================
   MAIN.CSS — Futunet (Mode Claro Premium)
   Variables, reset, utilidades, botones, cards, stats, preloader.
   Consolidated — no duplicate overrides.
   ============================================================= */

/* ── 1. VARIABLES (unified) ── */
:root {
  --bg-primary:    #ffffff;
  --bg-secondary:  #f3f7fc;
  --bg-card:       #ffffff;
  --bg-dark:       #0f1923;

  --brand:         #0A70A2;
  --brand-dark:    #065176;
  --brand-light:   #1da1db;
  --brand-pale:    rgba(10, 112, 162, 0.06);
  --brand-glow:    rgba(10, 112, 162, 0.15);

  --accent:        #00c281;
  --accent-soft:   rgba(0, 194, 129, 0.1);

  --text-primary:  #0a101d;
  --text-secondary:#394c60;
  --text-muted:    #76889e;
  --white:         #ffffff;

  --border:        #e5eef8;
  --border-hover:  var(--brand);

  /* Deep Premium Shadows */
  --shadow-xs:     0 2px 10px rgba(10, 112, 162, 0.03);
  --shadow-sm:     0 8px 24px rgba(10, 112, 162, 0.05);
  --shadow:        0 14px 34px rgba(10, 112, 162, 0.07), 0 4px 10px rgba(0,0,0,0.02);
  --shadow-md:     0 22px 48px rgba(10, 112, 162, 0.09), 0 8px 16px rgba(0,0,0,0.03);
  --shadow-lg:     0 32px 72px rgba(10, 112, 162, 0.11), 0 12px 24px rgba(0,0,0,0.04);
  --shadow-brand:  0 16px 36px rgba(10, 112, 162, 0.22);

  --radius:        24px;
  --radius-sm:     16px;
  --radius-pill:   500px;

  --wa-green:      #25d366;
  --navbar-height-mobile: 76px;
  --mobile-bottom-bar-height: 74px;
  --mobile-safe-bottom: env(safe-area-inset-bottom, 0px);
  --promo-bar-height: 42px;

  --transition:    all .3s cubic-bezier(.4,0,.2,1);
  --spring:        all .5s cubic-bezier(.175,.885,.32,1.275);
}

/* ── 2. RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 14.5px; scroll-padding-top: 100px; }
body {
  font-family: 'Outfit', sans-serif;
  background:
    radial-gradient(circle at top, rgba(10, 112, 162, 0.04), transparent 38%),
    linear-gradient(180deg, #ffffff 0%, #f9fcff 100%);
  color: var(--text-secondary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.01em;
}
img { display: block; max-width: 100%; border-radius: 4px; }
button { touch-action: manipulation; }
a   { color: inherit; text-decoration: none; }

.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 9999;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(11,126,181,0.95);
  color: #fff;
  font-size: .9rem;
  text-decoration: none;
  transform: translateY(-120%);
  transition: transform .25s ease, opacity .25s ease;
}
.skip-link:focus,
.skip-link:hover {
  transform: translateY(0);
  opacity: 1;
}
:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
}
button:focus-visible,
.btn:focus-visible,
.search-item:focus-visible,
.catalog-back-btn:focus-visible,
.product-view-btn:focus-visible {
  outline: 3px solid rgba(11,126,181,0.35);
  outline-offset: 3px;
}
.svg-sprite { display: none; }
.hero-title-strong { font-weight: 700; color: var(--brand); }
.text-strong { color: var(--text-primary); }
.brands-title { font-size: 1.8rem; margin-bottom: 18px; }
.brand-image-hp { max-height: 48px; }
.footer--flush { margin-top: 0; }
.footer-logo-inline { margin-bottom: 12px; }
.contact-map-frame { border: 0; display: block; }
.mobile-menu-wa-link { color: #25d366; font-weight: 700; }
.mobile-menu-wa-icon { width: 16px; height: 16px; vertical-align: -2px; }

/* ── 2b. PRELOADER (Logo + Progress Bar) ── */
body.is-loading {
  overflow: hidden;
}
.page-preloader {
  position: fixed; inset: 0; z-index: 99999;
  background: linear-gradient(180deg, #ffffff 0%, #f4f8fc 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 24px;
  transition: opacity .25s ease, visibility .25s ease;
}
.page-preloader.hidden {
  opacity: 0; visibility: hidden; pointer-events: none;
}
.preloader-logo {
  width: clamp(186px, 34vw, 264px);
  height: auto;
  filter: drop-shadow(0 10px 24px rgba(11, 126, 181, 0.08));
  animation: preloaderPulse .9s ease-in-out infinite;
}
@keyframes preloaderPulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.04); }
}
.preloader-bar {
  width: clamp(180px, 30vw, 280px);
  height: 4px;
  background: rgba(11, 126, 181, 0.12);
  border-radius: 4px;
  overflow: hidden;
}
.preloader-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--brand), var(--brand-light), var(--accent));
  border-radius: 4px;
  animation: preloaderFill 1.1s ease-in-out forwards;
}
@keyframes preloaderFill {
  0% { width: 0%; }
  40% { width: 65%; }
  80% { width: 88%; }
  100% { width: 100%; }
}

/* ── 2c. PROMO TOP BAR ── */
.promo-top-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 950;
  height: var(--promo-bar-height);
  display: flex; align-items: center; justify-content: center;
  gap: 12px;
  background: linear-gradient(90deg, #0a2540 0%, #0B7EB5 50%, #00d68f 100%);
  color: #fff;
  font-size: .78rem; font-weight: 600;
  padding: 0 48px 0 16px;
  transition: transform .4s ease, opacity .4s ease;
}
.promo-top-bar.hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}
.promo-top-bar__text {
  display: flex; align-items: center; gap: 8px;
  flex-wrap: wrap; justify-content: center;
}
.promo-top-bar__icon { font-size: 1rem; }
.promo-top-bar__link {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 800;
  white-space: nowrap;
}
.promo-top-bar__link:hover { opacity: 0.85; }
.promo-top-bar__close {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  background: transparent; border: none; color: rgba(255,255,255,0.7);
  font-size: 1.3rem; cursor: pointer; padding: 4px;
  line-height: 1;
}
.promo-top-bar__close:hover { color: #fff; }

@keyframes spin { to { transform: rotate(360deg); } }

/* ── 3. SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: var(--brand); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--brand-dark); }

/* ── 4. LAYOUT (Mobile-First) ── */
.container { max-width: 1240px; margin: 0 auto; padding: 0 18px; }
.section    { padding: 72px 0; }
.section-sm { padding: 54px 0; }

.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 34px;
  padding: 0 14px;
  font-size: .65rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 10px;
  border-radius: 999px;
  border: 1px solid rgba(11, 126, 181, 0.1);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 12px 28px rgba(15, 25, 35, 0.06);
}
.section-label::before {
  content: ''; display: block; width: 8px; height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--accent));
}
.text-center .section-label::before {
  display: block;
}

.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.95rem, 8vw, 3rem);
  font-weight: 700; color: var(--text-primary);
  line-height: 1.02; letter-spacing: -0.055em;
  max-width: 18ch;
}

.text-center .section-title,
.catalog-page-header .section-title {
  margin-inline: auto;
}

.section-sub {
  color: #607086; margin-top: 12px;
  font-size: .99rem;
  max-width: 640px; line-height: 1.78;
}

.text-center { text-align: center; }
.text-center .section-sub { margin: 10px auto 0; }

/* ── 5. BOTONES ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Outfit', sans-serif; font-weight: 700; font-size: .87rem;
  min-height: 54px;
  padding: 0 24px; border-radius: 16px;
  border: none; cursor: pointer; transition: var(--transition);
  white-space: nowrap; position: relative; overflow: hidden;
  letter-spacing: -0.01em;
  box-shadow: 0 10px 26px rgba(15, 25, 35, 0.08);
}
.btn:hover { transform: translateY(-3px) scale(1.02); }
.btn:active { transform: translateY(-1px) scale(0.98); }
.btn-primary { background: linear-gradient(135deg, #0a7ab0 0%, #22a4e0 100%); color: #fff; box-shadow: 0 4px 18px var(--brand-glow); }
.btn-primary:hover { box-shadow: var(--shadow-brand); }
.btn-wa { background: linear-gradient(135deg, #25d366 0%, #1cb85b 100%); color: #fff; font-size: .82rem; padding: 10px 18px; box-shadow: 0 4px 14px rgba(37,211,102,0.25); }
.btn-wa:hover { box-shadow: 0 6px 22px rgba(37,211,102,0.38); }
.btn-ghost { background: transparent; border: 1.5px solid var(--border); color: var(--text-primary); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-pale); }
.btn-outline {
  background: rgba(255, 255, 255, 0.78);
  border: 2px solid rgba(11, 126, 181, 0.8);
  color: var(--brand); padding: 11px 24px;
}
.btn-outline:hover { background: linear-gradient(135deg, var(--brand), var(--brand-light)); color: #fff; box-shadow: var(--shadow-brand); }
.btn-sm { font-size: .82rem; padding: 9px 16px; }

/* ── 6. REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.4,0,.2,1), transform .7s cubic-bezier(.4,0,.2,1);
  transition-delay: var(--stagger, 0ms);
}
.reveal.in { opacity: 1; transform: none; }

/* Stagger children inside grids for cascading entrance */
.reveal.in .trust-item,
.reveal.in .category-card,
.reveal.in .brand-item,
.reveal.in .value-item,
.reveal.in .contact-card {
  animation: fadeUpItem .6s cubic-bezier(.4,0,.2,1) both;
}
.reveal.in .trust-item:nth-child(1),
.reveal.in .category-card:nth-child(1),
.reveal.in .brand-item:nth-child(1),
.reveal.in .value-item:nth-child(1),
.reveal.in .contact-card:nth-child(1) { animation-delay: 0ms; }
.reveal.in .trust-item:nth-child(2),
.reveal.in .category-card:nth-child(2),
.reveal.in .brand-item:nth-child(2),
.reveal.in .value-item:nth-child(2),
.reveal.in .contact-card:nth-child(2) { animation-delay: 80ms; }
.reveal.in .trust-item:nth-child(3),
.reveal.in .category-card:nth-child(3),
.reveal.in .brand-item:nth-child(3),
.reveal.in .value-item:nth-child(3),
.reveal.in .contact-card:nth-child(3) { animation-delay: 160ms; }
.reveal.in .trust-item:nth-child(4),
.reveal.in .category-card:nth-child(4),
.reveal.in .brand-item:nth-child(4),
.reveal.in .value-item:nth-child(4),
.reveal.in .contact-card:nth-child(4) { animation-delay: 240ms; }
.reveal.in .category-card:nth-child(5) { animation-delay: 320ms; }
.reveal.in .category-card:nth-child(6) { animation-delay: 400ms; }
.reveal.in .category-card:nth-child(7) { animation-delay: 480ms; }
.reveal.in .brand-item:nth-child(5) { animation-delay: 320ms; }
.reveal.in .brand-item:nth-child(6) { animation-delay: 400ms; }
.reveal.in .brand-item:nth-child(7) { animation-delay: 480ms; }
.reveal.in .brand-item:nth-child(8) { animation-delay: 560ms; }

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

/* ── 7. STATS BAR / TRUST BAR ── */
.stats-bar {
  background: linear-gradient(135deg, var(--bg-dark) 0%, #162233 100%);
  padding: 38px 0; position: relative; overflow: hidden;
}
.stats-bar::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 50% 100% at 80% 50%, rgba(11,126,181,0.1), transparent); }
.trust-bar--after-showcase {
  background: linear-gradient(180deg, rgba(23, 34, 49, 0.98) 0%, #162233 100%);
}
.stats-inner { display: grid; grid-template-columns: 1fr; gap: 14px; position: relative; text-align: center; }
.trust-item {
  appearance: none;
  display: flex; align-items: center; gap: 14px;
  width: 100%;
  text-align: left; padding: 16px 18px;
  font: inherit;
  color: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,0.075), rgba(255,255,255,0.045));
  backdrop-filter: blur(10px);
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.06);
  cursor: pointer;
  transition: var(--transition);
}
.trust-item:hover {
  background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.15); transform: translateY(-3px);
}
.trust-item:focus-visible {
  outline: 2px solid rgba(144, 220, 255, 0.9);
  outline-offset: 2px;
}
.trust-icon {
  width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(135deg, rgba(11,126,181,0.2), rgba(0,214,143,0.15));
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1);
}
.trust-icon svg { width: 20px; height: 20px; stroke: #fff; }
.trust-text { display: flex; flex-direction: column; }
.trust-text strong {
  font-family: 'Space Grotesk', sans-serif; font-size: .95rem; font-weight: 700;
  color: #fff; line-height: 1.2; letter-spacing: 0.5px;
}
.trust-text span {
  font-size: .75rem; color: rgba(255,255,255,0.55); line-height: 1.4; margin-top: 2px;
}
.trust-mobile-detail {
  display: none;
}

/* ── Footer Logo ── */
.footer-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  max-width: 100%;
  margin-bottom: 6px;
}
.footer-logo-img {
  width: clamp(138px, 18vw, 176px);
  height: auto;
  max-width: 100%;
  filter: brightness(0) invert(1);
  opacity: 0.9;
  transition: opacity .3s ease;
}
.footer-logo-img:hover {
  opacity: 1;
}

.brands-sub {
  max-width: 620px;
}

/* ── 8. BACK TO TOP ── */
.back-to-top {
  position: fixed; bottom: 100px; right: 20px; z-index: 800;
  width: 44px; height: 44px;
  background: var(--bg-card);
  border: 1px solid rgba(11, 126, 181, 0.12);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 18px 34px rgba(15, 25, 35, 0.14);
  cursor: pointer;
  opacity: 0; visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
}
.back-to-top.visible {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.back-to-top:hover {
  background: var(--brand); color: #fff;
  border-color: var(--brand);
  box-shadow: var(--shadow-brand);
  transform: translateY(-4px);
}
.back-to-top svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 2; }

/* ── 9. SKELETON LOADERS ── */
.skeleton {
  background: linear-gradient(90deg, var(--bg-secondary) 25%, #e8ecf1 37%, var(--bg-secondary) 63%);
  background-size: 400% 100%;
  animation: shimmer 1.4s ease infinite;
  border-radius: var(--radius-sm);
}
.skeleton-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.skeleton-img {
  width: 100%; height: 200px;
  background: linear-gradient(90deg, var(--bg-secondary) 25%, #e8ecf1 37%, var(--bg-secondary) 63%);
  background-size: 400% 100%;
  animation: shimmer 1.4s ease infinite;
}
.skeleton-text {
  height: 14px; margin: 12px 20px; border-radius: 6px;
  background: linear-gradient(90deg, var(--bg-secondary) 25%, #e8ecf1 37%, var(--bg-secondary) 63%);
  background-size: 400% 100%;
  animation: shimmer 1.4s ease infinite;
}
.skeleton-text.short { width: 60%; }
.skeleton-text.price { width: 40%; height: 18px; }
.skeleton-btn {
  height: 38px; margin: 12px 20px 20px; border-radius: 8px;
  background: linear-gradient(90deg, var(--bg-secondary) 25%, #e8ecf1 37%, var(--bg-secondary) 63%);
  background-size: 400% 100%;
  animation: shimmer 1.4s ease infinite;
}
@keyframes shimmer {
  0% { background-position: 100% 50%; }
  100% { background-position: 0 50%; }
}

/* ── 10. EMPTY STATE ── */
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 72px 24px;
  border: 1px solid rgba(11, 126, 181, 0.08);
  border-radius: 28px;
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
  box-shadow: var(--shadow-sm);
}
.empty-state-icon {
  width: 80px; height: 80px;
  margin: 0 auto 20px;
  background: var(--brand-pale);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.empty-state-icon svg { width: 36px; height: 36px; stroke: var(--brand); stroke-width: 1.5; }
.empty-state h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.3rem; font-weight: 700;
  color: var(--text-primary); margin-bottom: 8px;
}
.empty-state p {
  color: var(--text-muted); font-size: .95rem;
  max-width: 400px; margin: 0 auto 24px; line-height: 1.6;
}

/* ── 11. LOAD MORE BUTTON ── */
.load-more-container {
  grid-column: 1 / -1;
  text-align: center;
  padding: 30px 0 10px;
}
.load-more-btn {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 50px;
  padding-inline: 30px;
  background: var(--bg-primary);
  border: 2px solid var(--border);
  border-radius: 999px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600; font-size: .9rem;
  color: var(--text-primary);
  cursor: pointer;
  transition: var(--transition);
}
.load-more-btn:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--brand-pale);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.load-more-btn svg { width: 18px; height: 18px; }
.results-counter {
  font-size: .85rem; color: var(--text-muted); margin-top: 8px;
}

/* ── 12. LUCIDE ICONS ── */
.cat-icon svg { width: 20px; height: 20px; stroke: var(--brand); stroke-width: 2; }
.cat-btn svg { width: 15px; height: 15px; stroke: currentColor; stroke-width: 2; vertical-align: -3px; }
.cat-btn.active svg { stroke: #fff; }
.chip-icon svg { width: 15px; height: 15px; stroke: var(--brand); stroke-width: 2; }
.value-icon-box svg { width: 20px; height: 20px; stroke: var(--brand); stroke-width: 2; }
.contact-card-icon svg { width: 20px; height: 20px; stroke: var(--brand); stroke-width: 2; }
.footer-icon { width: 14px; height: 14px; vertical-align: -2px; margin-right: 2px; }
.footer-icon svg, .footer-col svg { stroke: rgba(255,255,255,0.5); stroke-width: 2; }

/* ── 13. UTILITY CLASSES ── */
.cta-card-bg {
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  border: none;
}
.cta-card-bg img {
  opacity: 0.1;
  filter: grayscale(100%);
  mix-blend-mode: multiply;
}
.cta-card-content-full {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  top: 0; bottom: 0;
}
.cta-card-title-lg {
  font-size: 2rem;
  margin-bottom: 10px;
}
.cta-card-subtitle {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  margin: 0;
}

/* ── 14. MOBILE BOTTOM BAR ── */
.mobile-bottom-bar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(10px + var(--mobile-safe-bottom));
  z-index: 940;
  display: none;
  align-items: center;
  gap: 10px;
  padding: 10px;
  min-height: var(--mobile-bottom-bar-height);
  border-radius: 18px;
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(17,24,39,0.08);
  box-shadow: 0 18px 42px rgba(15,25,35,0.16);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.mobile-bottom-bar__action {
  flex: 1;
  min-height: 52px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: .88rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}
.mobile-bottom-bar__action i,
.mobile-bottom-bar__action svg {
  width: 18px;
  height: 18px;
}
.mobile-bottom-bar__action:hover { transform: translateY(-1px); }
.mobile-bottom-bar__action--wa {
  border-color: #25d366;
  background: linear-gradient(135deg, #25d366, #20bd5a);
  color: #fff;
  box-shadow: 0 8px 18px rgba(37,211,102,0.22);
}

/* ── 15. RESPONSIVE — Small (≥640px) ── */
@media (min-width: 640px) {
  .stats-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}

/* ── 16. RESPONSIVE — Tablet (≥768px) ── */
@media (min-width: 768px) {
  .container { padding: 0 26px; }
  .section { padding: 88px 0; }
  .section-sm { padding: 60px 0; }
  .section-label { font-size: .7rem; letter-spacing: 3px; }
  .section-title { font-size: clamp(2.35rem, 4vw, 3.5rem); }
  .section-sub { font-size: 1.04rem; margin-top: 14px; }
  .btn { min-height: 56px; padding: 0 28px; font-size: .88rem; }
  .btn-wa { font-size: .85rem; padding: 11px 20px; }
  .btn-outline { padding: 12px 28px; }
  .stats-bar { padding: 42px 0; }
  .stats-inner { display: flex; justify-content: center; flex-wrap: wrap; gap: 20px; }
  .trust-item { width: calc(50% - 10px); }
  .cat-icon svg, .value-icon-box svg, .contact-card-icon svg { width: 22px; height: 22px; }
  .cat-btn svg, .chip-icon svg { width: 16px; height: 16px; }
  .back-to-top { bottom: 110px; right: 26px; width: 48px; height: 48px; }
  .promo-top-bar { font-size: .78rem; }
}

/* ── 17. RESPONSIVE — Desktop (≥1024px) ── */
@media (min-width: 1024px) {
  .section { padding: 102px 0; }
  .section-sm { padding: 68px 0; }
  .stats-inner {
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
  }
  .trust-item { width: auto; flex: 1; padding: 12px 20px; }
}

/* ── 18. RESPONSIVE — Mobile (≤767px) ── */
@media (max-width: 767px) {
  .container { padding: 0 14px; }
  .section { padding: 42px 0; }
  .section-sm { padding: 32px 0; }
  .section-label {
    min-height: 28px;
    font-size: .6rem;
    padding: 0 10px;
    letter-spacing: .14em;
  }
  .section-title {
    font-size: clamp(1.45rem, 6vw, 1.9rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
  }
  .section-sub {
    font-size: .86rem;
    margin-top: 8px;
    line-height: 1.6;
  }

  /* Trust Bar (icon-first grid) */
  .stats-bar { padding: 18px 0; }
  .trust-bar--after-showcase { padding: 16px 0 18px; }
  .stats-inner {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    padding: 0;
    overflow: visible;
  }
  .stats-inner::-webkit-scrollbar { display: none; }
  .trust-item {
    position: relative;
    min-width: 0;
    width: 100%;
    aspect-ratio: 1 / 1;
    justify-content: center;
    gap: 0;
    padding: 10px 6px;
    border-radius: 14px;
    backdrop-filter: none;
  }
  .trust-item.is-active {
    transform: none;
    border-color: rgba(144, 220, 255, 0.42);
    background: linear-gradient(180deg, rgba(11,126,181,0.24), rgba(255,255,255,0.08));
    box-shadow: 0 12px 24px rgba(3, 11, 23, 0.28);
  }
  .trust-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  .trust-icon { width: 40px; height: 40px; }
  .trust-icon svg { width: 18px; height: 18px; }
  .trust-mobile-detail {
    display: block;
    margin-top: 10px;
    padding: 14px 16px;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255,255,255,0.1), rgba(255,255,255,0.06));
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 16px 28px rgba(3, 11, 23, 0.2);
  }
  .trust-mobile-detail strong {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: .92rem;
    line-height: 1.2;
    color: #fff;
    letter-spacing: 0.02em;
  }
  .trust-mobile-detail p {
    margin: 6px 0 0;
    font-size: .76rem;
    line-height: 1.5;
    color: rgba(255,255,255,0.72);
  }

  /* Buttons */
  .btn {
    min-height: 48px;
    padding: 0 18px;
    font-size: .84rem;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(15,25,35,0.06);
  }

  /* Bottom Bar */
  body.has-mobile-bottom-bar {
    padding-bottom: calc(var(--mobile-bottom-bar-height) + 16px + var(--mobile-safe-bottom));
  }
  .mobile-bottom-bar {
    display: flex;
    left: 10px; right: 10px;
    bottom: calc(8px + var(--mobile-safe-bottom));
    padding: 8px;
    border-radius: 16px;
    min-height: 64px;
    box-shadow: 0 -4px 24px rgba(15,25,35,0.12), 0 12px 32px rgba(15,25,35,0.14);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .mobile-bottom-bar__action {
    min-height: 48px;
    border-radius: 12px;
    font-size: .84rem;
  }
  .back-to-top {
    bottom: calc(var(--mobile-bottom-bar-height) + 22px + var(--mobile-safe-bottom));
    right: 14px;
    width: 40px; height: 40px;
  }

  /* Promo bar mobile */
  .promo-top-bar {
    font-size: .7rem;
    padding: 0 36px 0 12px;
    --promo-bar-height: 38px;
  }
}

/* ── 19. RESPONSIVE — Small Mobile (≤389px) ── */
@media (max-width: 389px) {
  .stats-inner { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .trust-item { padding: 8px 4px; border-radius: 12px; }
  .trust-icon { width: 34px; height: 34px; }
  .trust-icon svg { width: 16px; height: 16px; }
  .mobile-bottom-bar {
    left: 10px;
    right: 10px;
    gap: 8px;
    padding: 8px;
  }
  .mobile-bottom-bar__action {
    min-height: 50px;
    font-size: .82rem;
  }
}

/* ── SHOPPING CART (CARRITO DE COMPRA) — MOVED TO MAIN.CSS FOR PUBLIC ACCESS ── */
.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 9999;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s ease, visibility .28s ease;
}
.cart-drawer.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
.cart-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 16, 29, 0.6);
  backdrop-filter: blur(8px);
}
.cart-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(420px, 100%);
  height: 100%;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: -24px 0 56px rgba(10, 112, 162, 0.12);
  transform: translateX(110%);
  transition: transform .35s cubic-bezier(.175,.885,.32,1.275);
  display: flex;
  flex-direction: column;
  padding: 22px;
  overflow: hidden;
}
.cart-drawer.is-open .cart-drawer__panel {
  transform: translateX(0);
}
.cart-drawer__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.cart-drawer__header .section-label {
  margin-bottom: 6px;
}
.cart-drawer__close {
  border: none;
  background: transparent;
  color: var(--text-secondary);
  width: 44px;
  height: 44px;
  border-radius: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.cart-drawer__close:hover {
  background: var(--bg-secondary);
}
.cart-drawer__items {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-right: 4px;
}
.cart-item {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) 32px;
  gap: 12px;
  align-items: start;
  padding: 14px 0;
  border-bottom: 1px solid rgba(229, 231, 235, 0.92);
}
.cart-item__image {
  min-width: 70px;
  min-height: 70px;
  overflow: hidden;
  border-radius: 14px;
}
.cart-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cart-item__info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cart-item__title {
  font-size: .95rem;
  font-weight: 700;
  color: var(--text-primary);
}
.cart-item__meta {
  font-size: .75rem;
  color: var(--text-muted);
}
.cart-item__qty {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 6px;
}
.cart-qty-btn {
  border: none;
  background: transparent;
  width: 28px;
  height: 28px;
  color: var(--brand);
  font-weight: 700;
  cursor: pointer;
}
.cart-qty-btn:hover {
  background: var(--brand-pale);
  border-radius: 999px;
}
.cart-item__remove {
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: .82rem;
  cursor: pointer;
  align-self: start;
}
.cart-item__remove:hover {
  color: #ef4444;
}
.cart-drawer__footer {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(229,231,235,0.9);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cart-drawer__summary {
  font-size: .95rem;
  color: var(--text-secondary);
  font-weight: 700;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(11,126,181,0.06);
  border: 1px solid rgba(11,126,181,0.08);
}
.cart-empty-state {
  padding: 22px 18px;
  border-radius: 20px;
  border: 1px dashed rgba(11,126,181,0.2);
  background: linear-gradient(180deg, rgba(248,251,255,0.98), rgba(255,255,255,0.96));
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
}
.cart-empty-state p {
  margin: 0 0 6px;
  font-weight: 700;
  color: var(--text-primary);
}
.cart-empty-state small {
  color: var(--text-muted);
  line-height: 1.6;
}
.cart-drawer__checkout {
  width: 100%;
}
.cart-fab {
  position: fixed;
  right: 18px;
  bottom: 106px;
  width: 62px;
  height: 62px;
  border-radius: 22px;
  border: none;
  background: linear-gradient(135deg, #0b7eb5, #1ba3e0);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 22px 46px rgba(11,126,181,0.24), inset 0 1px 0 rgba(255,255,255,0.2);
  cursor: pointer;
  transition: transform .24s ease, box-shadow .24s ease, opacity .24s ease;
  isolation: isolate;
  z-index: 1000;
}
.cart-fab::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 28px;
  background: radial-gradient(circle, rgba(11,126,181,0.22), transparent 70%);
  opacity: 0;
  transform: scale(0.82);
  transition: opacity .24s ease, transform .24s ease;
  z-index: -1;
}
.cart-fab.has-items::before,
.cart-fab.is-active::before {
  opacity: 1;
  transform: scale(1);
}
.cart-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 26px 54px rgba(11,126,181,0.28), inset 0 1px 0 rgba(255,255,255,0.24);
}
.cart-fab__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.cart-fab__icon svg,
.cart-fab__icon i {
  width: 22px;
  height: 22px;
}
.cart-fab__label {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(10px);
  min-height: 40px;
  padding: 0 12px 0 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.98);
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  box-shadow: 0 18px 38px rgba(15,25,35,0.14);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity .24s ease, transform .24s ease, visibility .24s ease;
}
.cart-fab.has-items .cart-fab__label {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}
.cart-fab__label-count {
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(11,126,181,0.12);
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  font-weight: 800;
}
.cart-fab__label-copy {
  font-size: .76rem;
  font-weight: 700;
  color: #4b5b70;
}
.cart-fab__count {
  position: absolute;
  top: 0;
  right: 0;
  transform: translate(28%, -28%);
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: #ff5a5f;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  font-weight: 700;
  border: 2px solid #fff;
  box-shadow: 0 10px 18px rgba(255,90,95,0.3);
}
.cart-fab--pulse {
  animation: cart-fab-pulse .56s cubic-bezier(.22,1,.36,1);
}
.cart-fab--settle {
  animation: cart-fab-settle .42s cubic-bezier(.22,1,.36,1);
}
@keyframes cart-fab-pulse {
  0%, 100% { transform: scale(1); }
  36% { transform: scale(1.1); }
  62% { transform: scale(0.97); }
}
@keyframes cart-fab-settle {
  0%, 100% { transform: scale(1); }
  45% { transform: scale(0.92); }
}

@media (max-width: 767px) {
  .cart-fab {
    right: 14px;
    bottom: calc(var(--mobile-bottom-bar-height) + 104px + var(--mobile-safe-bottom));
    width: 58px;
    height: 58px;
    border-radius: 20px;
  }
  .cart-fab__label {
    right: calc(100% + 10px);
    min-height: 36px;
    padding: 0 10px 0 8px;
  }
  .cart-fab__label-copy {
    font-size: .7rem;
  }
  .cart-drawer__panel {
    width: 100%;
    border-radius: 22px 22px 0 0;
    bottom: 0;
    top: auto;
    transform: translateY(100%);
  }
  .cart-drawer.is-open .cart-drawer__panel {
    transform: translateY(0);
  }
  .cart-item {
    grid-template-columns: 70px 1fr;
  }
  .cart-drawer__footer {
    padding-bottom: calc(18px + var(--mobile-safe-bottom));
  }
}

/* ── CHECKOUT MODAL (MODAL DE CHECKOUT DEL CARRITO) ── */
.cart-checkout-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 16, 29, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 16px;
}
.cart-checkout-modal-overlay.is-active {
  opacity: 1;
  visibility: visible;
}
.cart-checkout-modal-card {
  background: #ffffff;
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  border-radius: 24px;
  box-shadow: 0 32px 72px rgba(10, 112, 162, 0.15);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: modalScaleUp 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes modalScaleUp {
  from { transform: scale(0.9) translateY(20px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}
.cart-checkout-modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cart-checkout-modal-header h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}
.cart-checkout-modal-close {
  background: transparent;
  border: none;
  font-size: 1.8rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
  transition: var(--transition);
}
.cart-checkout-modal-close:hover {
  color: var(--text-primary);
}
.cart-checkout-modal-body {
  padding: 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.checkout-step h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 12px;
  border-bottom: 1.5px solid var(--brand-pale);
  padding-bottom: 6px;
}
.checkout-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.checkout-form-group.full-width {
  grid-column: span 2;
}
.checkout-form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
  text-transform: uppercase;
}
.checkout-form-group input,
.checkout-form-group textarea {
  width: 100%;
  padding: 10px 14px;
  background: var(--bg-secondary);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.88rem;
  color: var(--text-primary);
  outline: none;
  transition: var(--transition);
}
.checkout-form-group input:focus,
.checkout-form-group textarea:focus {
  border-color: var(--brand);
  background: #ffffff;
  box-shadow: 0 0 0 3px var(--brand-glow);
}
.checkout-methods {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.checkout-method-option {
  cursor: pointer;
}
.checkout-method-option input[type="radio"] {
  display: none;
}
.method-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border: 1.5px solid var(--border);
  border-radius: 16px;
  background: var(--bg-secondary);
  transition: var(--transition);
}
.checkout-method-option input[type="radio"]:checked + .method-card {
  border-color: var(--brand);
  background: var(--brand-pale);
  box-shadow: var(--shadow-xs);
}
.method-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  flex-shrink: 0;
  border: 1px solid var(--border);
}
.method-text {
  display: flex;
  flex-direction: column;
}
.method-text strong {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
}
.method-text span {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.3;
  margin-top: 2px;
}
.checkout-warning-box {
  background: rgba(241, 196, 15, 0.08);
  border: 1px solid rgba(241, 196, 15, 0.25);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 0.82rem;
  color: #7d6608;
  line-height: 1.5;
}
.checkout-subpanel {
  border: 1.5px solid var(--border);
  border-radius: 18px;
  padding: 16px;
  background: var(--bg-secondary);
}
.bank-accounts-info h5 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.bank-account-card {
  background: #ffffff;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  font-size: 0.84rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.copyable {
  cursor: pointer;
  text-decoration: underline;
  text-decoration-style: dashed;
  color: var(--brand);
  font-weight: 600;
}
.copyable:hover {
  color: var(--brand-dark);
}
.click-to-copy-hint {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 6px;
  display: block;
}
.checkout-upload-area {
  margin-top: 16px;
}
.checkout-upload-area label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}
.checkout-dropzone {
  border: 1.5px dashed var(--border);
  border-radius: 14px;
  padding: 24px 16px;
  text-align: center;
  background: #ffffff;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.checkout-dropzone.is-dragover,
.checkout-dropzone:hover {
  border-color: var(--brand);
  background: var(--brand-pale);
}
.checkout-dropzone svg {
  width: 32px;
  height: 32px;
  color: var(--brand);
}
.checkout-dropzone p {
  font-size: 0.78rem;
  color: var(--text-muted);
  max-width: 320px;
}
.checkout-preview-box {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.checkout-preview-box span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
  word-break: break-all;
}
.btn-remove-file {
  background: transparent;
  border: none;
  color: #ef4444;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}
.cart-checkout-modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  background: var(--bg-secondary);
}
.cart-toast {
  box-shadow: 0 12px 32px rgba(10, 112, 162, 0.15) !important;
}

@media (max-width: 767px) {
  .cart-checkout-modal-overlay {
    padding: 0;
    align-items: flex-end;
  }
  .cart-checkout-modal-card {
    max-height: 85vh;
    border-radius: 20px 20px 0 0;
    animation: modalSlideUp 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  }
  @keyframes modalSlideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
  }
  .checkout-form-grid {
    grid-template-columns: 1fr;
  }
  .checkout-form-group.full-width {
    grid-column: span 1;
  }
  .cart-checkout-modal-footer {
    padding-bottom: calc(16px + var(--mobile-safe-bottom));
  }
}

