/* ═══════════════════════════════════════════════════════════
   styles.css — TechStore
   Tema: tecnología moderna (azul, cian, toques neón)
═══════════════════════════════════════════════════════════ */

/* ── Variables ── */
:root {
  --clr-primary:       #2563eb;
  --clr-primary-dark:  #1d4ed8;
  --clr-secondary:     #0ea5e9;
  --clr-neon:          #06d6a0;
  --clr-dark:          #07080f;
  --clr-dark-2:        #0f1629;
  --clr-dark-3:        #1a2540;
  --clr-text:          #1e2340;
  --clr-text-light:    #5a6282;
  --clr-text-muted:    #94a3b8;
  --clr-bg:            #f0f4ff;
  --clr-bg-alt:        #eef2ff;
  --clr-card:          #ffffff;
  --clr-border:        #dde4ff;
  --clr-success:       #16a34a;
  --clr-whatsapp:      #25d366;
  --clr-error:         #ef4444;

  --shadow-xs: 0 1px 4px rgba(37, 99, 235, .06);
  --shadow-sm: 0 2px 10px rgba(37, 99, 235, .08);
  --shadow-md: 0 8px 28px rgba(37, 99, 235, .14);
  --shadow-lg: 0 18px 56px rgba(37, 99, 235, .20);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --transition: 0.24s ease;

  --header-h: 68px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--clr-bg);
  color: var(--clr-text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
code {
  font-family: 'Cascadia Code', 'Fira Code', Consolas, monospace;
  background: var(--clr-bg-alt);
  padding: .15em .45em;
  border-radius: 4px;
  font-size: .85em;
  color: var(--clr-primary);
}


/* ══════════════════════════════════════════════
   LAYOUT
══════════════════════════════════════════════ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}


/* ══════════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: .95rem;
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-secondary));
  color: #fff;
  box-shadow: 0 4px 22px rgba(37, 99, 235, .35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(37, 99, 235, .48);
}
.btn-outline {
  border-color: rgba(255,255,255,.55);
  color: rgba(255,255,255,.9);
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(4px);
}
.btn-outline:hover {
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.8);
  transform: translateY(-2px);
}
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  padding: .85rem 2.1rem;
  background: var(--clr-whatsapp);
  color: #fff;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 4px 22px rgba(37, 211, 102, .32);
  transition: all var(--transition);
  margin-top: 1.75rem;
}
.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(37, 211, 102, .5);
}
.wa-icon { width: 22px; height: 22px; flex-shrink: 0; }


/* ══════════════════════════════════════════════
   SECTION HEADER
══════════════════════════════════════════════ */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-tag {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--clr-primary);
  background: rgba(37, 99, 235, .08);
  padding: .3rem .9rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}
.section-header h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  color: var(--clr-text);
  line-height: 1.2;
  margin-bottom: .75rem;
  position: relative;
  display: inline-block;
}
.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 52px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--clr-primary), var(--clr-secondary));
}
.section-desc {
  color: var(--clr-text-light);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 1.25rem auto 0;
}
.gradient-text {
  background: linear-gradient(90deg, #60a5fa, #22d3ee, var(--clr-neon));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}


/* ══════════════════════════════════════════════
   BANNER DINÁMICO
══════════════════════════════════════════════ */

/* ── Keyframes ── */
@keyframes banner-slide-in {
  from { transform: translateY(-100%); opacity: 0; }
  to   { transform: translateY(0);     opacity: 1; }
}
@keyframes banner-drain {
  from { transform: scaleX(1); }
  to   { transform: scaleX(0); }
}
@keyframes promo-shine {
  0%        { left: -60%; }
  60%, 100% { left: 110%; }
}
@keyframes banner-msg-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.site-banner {
  position: sticky;
  top: 0;
  z-index: 201;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  padding: .65rem 3.5rem .65rem 1rem;
  font-size: .875rem;
  font-weight: 600;
  line-height: 1.4;
  min-height: 44px;
  background: linear-gradient(90deg, var(--clr-primary-dark), var(--clr-secondary));
  color: #fff;
  overflow: hidden;
  max-height: 80px;
  transition: opacity .3s ease, max-height .35s ease, padding .35s ease, min-height .35s ease;
}
/* Entry slide-down animation */
.site-banner.banner--entering {
  animation: banner-slide-in .45s cubic-bezier(.16, 1, .3, 1) forwards;
}
/* Color themes */
.site-banner.banner--info {
  background: linear-gradient(90deg, var(--clr-primary-dark), var(--clr-secondary));
}
.site-banner.banner--promo {
  background: linear-gradient(90deg, #c2410c, #f97316);
}
/* Animated shine sweep on promo */
.site-banner.banner--promo::before {
  content: '';
  position: absolute;
  top: 0; left: -60%;
  width: 55%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent);
  animation: promo-shine 3s ease-in-out infinite;
  pointer-events: none;
}
.site-banner.banner--urgente {
  background: linear-gradient(90deg, #b91c1c, #ef4444);
}
/* Dismiss / collapse */
.site-banner.banner--closing {
  opacity: 0;
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  min-height: 0;
}

/* ── Progress bar (rotation countdown) ── */
.banner-progress-bar {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: rgba(255,255,255,.2);
}
.banner-progress-bar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.75);
  transform-origin: left;
  transform: scaleX(1);
}
.banner-progress-bar.running::after {
  animation: banner-drain var(--banner-duration, 5000ms) linear forwards;
}
.banner-progress-bar.paused::after {
  animation-play-state: paused;
}

/* ── Inner layout ── */
.banner-inner {
  display: flex;
  align-items: center;
  gap: .55rem;
  flex-wrap: wrap;
  justify-content: center;
  flex: 1;
  min-width: 0;
}
.banner-icon {
  font-size: 1rem;
  flex-shrink: 0;
}

/* ── Message: slide + fade transition ── */
.banner-msg {
  text-align: center;
  transition: opacity .22s ease, transform .22s ease;
}
.banner-msg.slide-out {
  opacity: 0;
  transform: translateY(-5px);
}
.banner-msg.slide-in {
  animation: banner-msg-in .24s ease forwards;
}

/* ── Link: pill button style ── */
.banner-link {
  display: inline-flex;
  align-items: center;
  color: #fff;
  background: rgba(255,255,255,.2);
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 50px;
  padding: .22rem .85rem;
  font-weight: 700;
  font-size: .8rem;
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
  transition: background var(--transition), border-color var(--transition);
}
.banner-link:hover {
  background: rgba(255,255,255,.35);
  border-color: rgba(255,255,255,.8);
}

/* ── Nav dots ── */
.banner-dots {
  display: flex;
  align-items: center;
  gap: .35rem;
  flex-shrink: 0;
}
.banner-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(255,255,255,.4);
  cursor: pointer;
  transition: background .25s, transform .25s;
}
.banner-dot:hover  { background: rgba(255,255,255,.7); }
.banner-dot.active { background: #fff; transform: scale(1.35); }

/* ── Close button ── */
.banner-close {
  position: absolute;
  right: .75rem;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.18);
  border: none;
  border-radius: 50%;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  transition: background var(--transition);
}
.banner-close:hover  { background: rgba(255,255,255,.35); }
.banner-close:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* ── Mobile ── */
@media (max-width: 480px) {
  .site-banner {
    padding: .5rem 2.75rem .5rem .75rem;
    font-size: .8rem;
    min-height: 40px;
  }
  .banner-inner { gap: .4rem; }
  .banner-link  { font-size: .75rem; padding: .18rem .65rem; }
}

/* ══════════════════════════════════════════════
   HEADER / NAV
══════════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(7, 8, 15, .95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0, 212, 255, .12);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
}
/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: .55rem;
  flex-shrink: 0;
}
.logo-img {
  height: 52px;
  width: 52px;
  border-radius: 50%;
  object-fit: cover;
  filter: drop-shadow(0 0 8px rgba(6, 214, 160, .45));
  transition: filter var(--transition);
  flex-shrink: 0;
}
.logo:hover .logo-img {
  filter: drop-shadow(0 0 16px rgba(0, 212, 255, .8));
}
.logo-brand {
  font-size: .92rem;
  font-weight: 800;
  letter-spacing: -.01em;
  line-height: 1.25;
  background: linear-gradient(90deg, #ffffff 30%, #00d4ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
}
/* Nav links */
.nav {
  display: flex;
  align-items: center;
  gap: .15rem;
}
.nav-link {
  color: rgba(255,255,255,.75);
  font-size: .9rem;
  font-weight: 500;
  padding: .5rem 1rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.nav-link:hover {
  color: #00d4ff;
  background: rgba(0, 212, 255, .08);
}
/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 4px;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}
.nav-toggle:hover { background: rgba(255,255,255,.08); }
.hamburger {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255,255,255,.85);
  border-radius: 2px;
  transition: all var(--transition);
  transform-origin: center;
}
/* Open state */
.nav-toggle.open .hamburger:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open .hamburger:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open .hamburger:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ══════════════════════════════════════════════
   HERO
══════════════════════════════════════════════ */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #07080f 0%, #0f1629 55%, #0d1f4d 100%);
  padding: 6rem 0 5.5rem;
}
/* Background decorative circles */
.hero-bg-circles { position: absolute; inset: 0; pointer-events: none; }
.circle {
  position: absolute;
  border-radius: 50%;
  opacity: .18;
}
.c1 {
  width: 560px; height: 560px;
  top: -180px; right: -120px;
  background: radial-gradient(circle, rgba(37, 99, 235, .6), transparent 70%);
}
.c2 {
  width: 400px; height: 400px;
  bottom: -160px; left: -80px;
  background: radial-gradient(circle, rgba(6, 214, 160, .5), transparent 70%);
}
.c3 {
  width: 280px; height: 280px;
  top: 60%; left: 38%;
  background: radial-gradient(circle, rgba(14, 165, 233, .4), transparent 70%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 3.5rem;
}
.hero-text {
  min-width: 0; /* prevent overflow in grid */
}
.hero h1 {
  font-size: clamp(2rem, 5.5vw, 3.4rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -.02em;
}
.hero-sub {
  color: rgba(255,255,255,.7);
  font-size: 1.1rem;
  max-width: 520px;
  margin-bottom: 2.25rem;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
/* Stats row */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; }
.stat strong {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.stat span {
  font-size: .75rem;
  color: rgba(255,255,255,.5);
  margin-top: .15rem;
}
.stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,.15);
}

/* ── Hero visual column ── */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
/* Animated glowing ring around the logo */
.hero-logo-ring {
  position: relative;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  /* Outer glow pulse */
  animation: ring-pulse 3.5s ease-in-out infinite;
}
/* Rotating gradient border */
.hero-logo-ring::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    #00d4ff,
    #2563eb,
    #06d6a0,
    #0ea5e9,
    #00d4ff
  );
  animation: ring-spin 4s linear infinite;
  z-index: 0;
}
/* White mask to create a border-only effect */
.hero-logo-ring::after {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: #07080f;
  z-index: 1;
}
.hero-logo {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
@keyframes ring-spin {
  to { transform: rotate(360deg); }
}
@keyframes ring-pulse {
  0%, 100% { box-shadow: 0 0 28px rgba(0, 212, 255, .35), 0 0 60px rgba(6, 214, 160, .18); }
  50%       { box-shadow: 0 0 48px rgba(0, 212, 255, .65), 0 0 90px rgba(6, 214, 160, .35); }
}


/* ══════════════════════════════════════════════
   SERVICES SECTION
══════════════════════════════════════════════ */
.services-section {
  padding: 5.5rem 0;
  background: #0f172a;
}
.services-section .section-tag {
  color: #7dd3fc;
  background: rgba(125, 211, 252, .1);
}
.services-section .section-header h2 { color: #f1f5f9; }
.services-section .section-header h2::after {
  background: linear-gradient(90deg, #7dd3fc, #06d6a0);
}
.services-section .section-desc { color: #94a3b8; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: #1e293b;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem 1.5rem;
  text-align: center;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 32px rgba(0,0,0,.4);
  border-color: rgba(0, 212, 255, .3);
  background: #243044;
}
.service-card h3 { color: #e2e8f0; }
.service-card p  { color: #94a3b8; }
.service-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--clr-primary), var(--clr-secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.service-card:hover::after { transform: scaleX(1); }
.service-icon-wrap {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-icon-wrap svg { width: 100%; height: 100%; }
.service-card h3 {
  font-size: .975rem;
  font-weight: 700;
  color: #e2e8f0;
  margin-bottom: .45rem;
}
.service-card p {
  font-size: .845rem;
  color: #94a3b8;
  line-height: 1.5;
}

/* Bank card variant — logos replace the icon */
.bank-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  margin-bottom: 1.1rem;
  min-height: 56px;
}
.bank-logo {
  height: 36px;
  width: auto;
  max-width: 80px;
  object-fit: contain;
  border-radius: 6px;
}


/* ══════════════════════════════════════════════
   CATALOG SECTION
══════════════════════════════════════════════ */
.catalog-section {
  padding: 5.5rem 0;
  background: #131c30;
}
.catalog-section .section-tag {
  color: #7dd3fc;
  background: rgba(125, 211, 252, .1);
}
.catalog-section .section-header h2 { color: #f1f5f9; }
.catalog-section .section-header h2::after {
  background: linear-gradient(90deg, #7dd3fc, #06d6a0);
}
.catalog-section .section-desc { color: #94a3b8; }

/* ── State containers ── */
.catalog-state {
  text-align: center;
  padding: 4.5rem 2rem;
  color: var(--clr-text-light);
}
.hidden { display: none !important; }
.state-icon { font-size: 3.5rem; margin-bottom: .75rem; }

/* Spinner */
.spinner {
  width: 52px;
  height: 52px;
  border: 4px solid var(--clr-border);
  border-top-color: var(--clr-primary);
  border-radius: 50%;
  animation: spin .85s linear infinite;
  margin: 0 auto 1.25rem;
}
@keyframes spin { to { transform: rotate(360deg); } }

.error-text {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--clr-error);
  margin-bottom: .5rem;
}
.error-hint {
  font-size: .9rem;
  color: var(--clr-text-light);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ── Catalog grid ── */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(265px, 1fr));
  gap: 1.75rem;
}

/* ── Product card ── */
.product-card {
  background: var(--clr-card);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--clr-border);
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
}
.product-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(37, 99, 235, .2);
}

/* Image area */
.product-img-wrap {
  position: relative;
  padding-top: 63%;
  background: linear-gradient(145deg, #ecf0ff, #f0f4ff);
  overflow: hidden;
}
.product-img-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1.25rem;
  transition: transform .38s ease;
}
.product-card:hover .product-img-wrap img { transform: scale(1.07); }

.product-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-secondary));
  color: #fff;
  font-size: .68rem;
  font-weight: 800;
  padding: .25rem .65rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: .06em;
  box-shadow: 0 2px 8px rgba(37, 99, 235, .3);
}
.badge-agotado {
  background: linear-gradient(135deg, #64748b, #475569);
  box-shadow: 0 2px 8px rgba(100, 116, 139, .3);
}
.badge-promocion {
  background: linear-gradient(135deg, #f97316, #ef4444);
  box-shadow: 0 2px 8px rgba(249, 115, 22, .4);
}
.product-card.agotado {
  opacity: .7;
}
.product-card.agotado .product-img-wrap img {
  filter: grayscale(60%);
}
.btn-agotado {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #475569;
  color: #94a3b8;
  cursor: not-allowed;
  pointer-events: none;
}

/* Card body */
.product-body {
  padding: 1.35rem 1.5rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--clr-text);
  line-height: 1.3;
  margin-bottom: .45rem;
}
.product-desc {
  font-size: .845rem;
  color: var(--clr-text-light);
  line-height: 1.55;
  margin-bottom: .85rem;
  flex: 1;
}
.product-price {
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--clr-primary);
  margin-bottom: 1.1rem;
  letter-spacing: -.02em;
}
.product-price-original {
  font-size: .9rem;
  font-weight: 500;
  color: var(--clr-text-muted);
  text-decoration: line-through;
  margin-bottom: .2rem;
  letter-spacing: -.01em;
}
.product-price-discounted {
  color: #f97316;
  margin-bottom: 1.1rem;
}
/* Consultar button */
.btn-consultar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .72rem 1.25rem;
  background: linear-gradient(135deg, #1ebe5d, var(--clr-whatsapp));
  color: #fff;
  border-radius: 50px;
  font-weight: 700;
  font-size: .9rem;
  transition: all var(--transition);
  box-shadow: 0 4px 16px rgba(37, 211, 102, .28);
  width: 100%;
}
.btn-consultar:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, .45);
}
.btn-consultar svg { width: 18px; height: 18px; flex-shrink: 0; }


/* ══════════════════════════════════════════════
   CONTACT SECTION
══════════════════════════════════════════════ */
.contact-section {
  padding: 5.5rem 0;
  background: #0f172a;
}
.contact-section .section-tag {
  color: #7dd3fc;
  background: rgba(125, 211, 252, .1);
}
.contact-section .section-header h2 { color: #f1f5f9; }
.contact-section .section-header h2::after {
  background: linear-gradient(90deg, #7dd3fc, #06d6a0);
}
.contact-section .section-desc { color: #94a3b8; }
.contact-card {
  max-width: 560px;
  margin: 0 auto;
  background: #1e293b;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-xl);
  padding: 2.75rem 2.5rem;
  text-align: center;
}
.contact-list { display: flex; flex-direction: column; gap: 1rem; margin-bottom: .5rem; }
.contact-list li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  font-size: .975rem;
  color: #e2e8f0;
  font-weight: 500;
}
.contact-icon { width: 20px; height: 20px; color: var(--clr-primary); flex-shrink: 0; }


/* ══════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════ */
.site-footer {
  background: var(--clr-dark);
  padding: 2.75rem 0;
  border-top: 1px solid rgba(0, 212, 255, .1);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-size: 1rem;
  font-weight: 700;
  color: #00d4ff;
}
.footer-logo-img {
  height: 40px;
  width: 40px;
  border-radius: 50%;
  object-fit: cover;
  filter: drop-shadow(0 0 6px rgba(6, 214, 160, .45));
}
.footer-copy {
  font-size: .825rem;
  color: rgba(255,255,255,.4);
}


/* ══════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════ */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
}

@media (max-width: 768px) {
  :root { --header-h: 62px; }

  /* Mobile nav */
  .nav-toggle { display: flex; }
  .nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    background: rgba(7, 8, 15, .98);
    padding: .75rem 1.5rem 1.25rem;
    border-bottom: 1px solid rgba(0, 212, 255, .12);
    gap: 0;
    z-index: 199;
  }
  .nav.open { display: flex; }
  .nav-link {
    padding: .85rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,.06);
    border-radius: 0;
  }
  .nav-link:last-child { border-bottom: none; }

  .hero { padding: 4.5rem 0 4rem; }
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.5rem;
  }
  .hero-text { order: 2; }
  .hero-visual { order: 1; }
  .hero-logo-ring { width: 180px; height: 180px; }
  .hero-sub { max-width: 100%; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-stats { justify-content: center; gap: 1rem; }

  .services-grid { grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)); gap: 1rem; }

  .catalog-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.25rem; }

  .contact-card { padding: 2rem 1.5rem; }
  .footer-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .logo-brand { display: none; }
  .hero-logo-ring { width: 150px; height: 150px; }
  .services-grid { grid-template-columns: 1fr 1fr; gap: .875rem; }
  .service-card { padding: 1.4rem 1rem 1.25rem; }
  .catalog-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.85rem; }
}


/* ══════════════════════════════════════════════
   BUSCADOR DE PRODUCTOS (4)
══════════════════════════════════════════════ */
.catalog-toolbar {
  margin-bottom: 2rem;
}
.catalog-search-wrap {
  position: relative;
  max-width: 480px;
  margin: 0 auto;
}
.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--clr-text-muted);
  pointer-events: none;
  flex-shrink: 0;
}
.catalog-search {
  width: 100%;
  padding: .75rem 2.75rem .75rem 2.75rem;
  border: 2px solid var(--clr-border);
  border-radius: 50px;
  font-size: .95rem;
  font-family: inherit;
  background: var(--clr-card);
  color: var(--clr-text);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.catalog-search::placeholder { color: var(--clr-text-muted); }
.catalog-search:focus {
  border-color: var(--clr-primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .15);
}
.search-clear {
  position: absolute;
  right: .85rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--clr-text-muted);
  font-size: 1rem;
  cursor: pointer;
  line-height: 1;
  padding: .2rem .4rem;
  border-radius: 50%;
  transition: color var(--transition), background var(--transition);
}
.search-clear:hover { color: var(--clr-text); background: var(--clr-bg-alt); }
.search-empty {
  text-align: center;
  color: var(--clr-text-muted);
  margin-top: 1rem;
  font-size: .95rem;
}


/* ══════════════════════════════════════════════
   SKELETON LOADING (11)
══════════════════════════════════════════════ */
@keyframes shimmer {
  0%   { background-position: -600px 0; }
  100% { background-position:  600px 0; }
}
.skeleton-card {
  pointer-events: none;
  overflow: hidden;
}
.skeleton-img {
  width: 100%;
  padding-top: 63%;
  background: linear-gradient(90deg, #e8ecf8 25%, #d0d8f0 50%, #e8ecf8 75%);
  background-size: 1200px 100%;
  animation: shimmer 1.5s infinite linear;
}
.skeleton-body {
  padding: 1.35rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .65rem;
}
.skeleton-line {
  border-radius: 6px;
  background: linear-gradient(90deg, #e8ecf8 25%, #d0d8f0 50%, #e8ecf8 75%);
  background-size: 1200px 100%;
  animation: shimmer 1.5s infinite linear;
}
.sk-title  { height: 16px; width: 75%; }
.sk-desc   { height: 13px; width: 100%; }
.sk-short  { width: 55%; }
.sk-price  { height: 22px; width: 45%; margin-top: .25rem; }
.sk-btn    { height: 42px; width: 100%; border-radius: 50px; margin-top: .35rem; }


/* ══════════════════════════════════════════════
   BOTÓN FLOTANTE WHATSAPP (6)
══════════════════════════════════════════════ */
.wa-float {
  position: fixed;
  bottom: 5rem;
  right: 1.5rem;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--clr-whatsapp);
  color: #fff;
  box-shadow: 0 6px 28px rgba(37, 211, 102, .45);
  transition: transform var(--transition), box-shadow var(--transition);
}
.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 36px rgba(37, 211, 102, .6);
}
.wa-float:hover .wa-float-tooltip { opacity: 1; transform: translateX(0); }
.wa-float-tooltip {
  position: absolute;
  right: calc(100% + .65rem);
  white-space: nowrap;
  background: #1e293b;
  color: #fff;
  font-size: .78rem;
  font-weight: 600;
  padding: .35rem .75rem;
  border-radius: 6px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(6px);
  transition: opacity .2s ease, transform .2s ease;
}
.wa-float-tooltip::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: #1e293b;
}


/* ══════════════════════════════════════════════
   BOTÓN VOLVER ARRIBA (12)
══════════════════════════════════════════════ */
.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 300;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--clr-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(37, 99, 235, .38);
  transition: background var(--transition), transform var(--transition),
              box-shadow var(--transition), opacity .3s ease;
  opacity: 1;
}
.back-to-top.hidden { opacity: 0; pointer-events: none; }
.back-to-top:hover {
  background: var(--clr-primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 26px rgba(37, 99, 235, .52);
}


/* ══════════════════════════════════════════════
   ANIMACIÓN DE ENTRADA DE TARJETAS (13)
══════════════════════════════════════════════ */
.product-card.card-entering {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .45s ease, transform .45s ease;
}
.product-card.card-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}
