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

body {
  font-family: 'Inter', sans-serif;
  background: #f8fafc;
  color: #1e293b;
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* HEADER */
.header {
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 8px rgba(0,0,0,.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 1rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 1.25rem;
  color: #1e293b;
}
.logo-icon { font-size: 1.4rem; }
.logo-sub { color: #2563eb; }
.nav { display: flex; gap: 1.5rem; }
.nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: #475569;
  transition: color .2s;
}
.nav a:hover { color: #2563eb; }
.btn-instagram {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
  color: #fff;
  padding: 0.45rem 1rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: opacity .2s;
}
.btn-instagram:hover { opacity: .88; }

/* HERO */
.hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 60%, #1d4ed8 100%);
  padding: 5rem 0 4rem;
  color: #fff;
}
.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
}
.hero-tag {
  background: rgba(255,255,255,.15);
  display: inline-block;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1rem;
}
.hero-text h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.hero-highlight { color: #60a5fa; }
.hero-desc {
  color: #cbd5e1;
  font-size: 1.05rem;
  max-width: 520px;
  margin-bottom: 2rem;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-primary {
  background: #2563eb;
  color: #fff;
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background .2s;
}
.btn-primary:hover { background: #1d4ed8; }
.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.4);
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: border-color .2s, background .2s;
}
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.hero-badges {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.badge {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 12px;
  padding: 1.2rem 1.5rem;
  text-align: center;
  backdrop-filter: blur(10px);
}
.badge span {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: #60a5fa;
}
.badge small {
  font-size: 0.8rem;
  color: #94a3b8;
}

/* SECTION TITLES */
.section-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.5rem;
  text-align: center;
}
.section-sub {
  text-align: center;
  color: #64748b;
  font-size: 0.9rem;
  margin-bottom: 2.5rem;
}

/* CATEGORÍAS */
.categorias {
  padding: 3.5rem 0 2rem;
  background: #fff;
}
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}
.cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  padding: 1.5rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
  transition: border-color .2s, box-shadow .2s, transform .2s;
  font-weight: 600;
  font-size: 0.9rem;
  color: #334155;
}
.cat-card:hover {
  border-color: #2563eb;
  box-shadow: 0 4px 16px rgba(37,99,235,.12);
  transform: translateY(-2px);
}
.cat-icon { font-size: 2rem; }

/* PRODUCTOS */
.productos { padding: 4rem 0; }
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.product-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow .25s, transform .25s;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,.1);
  transform: translateY(-4px);
}
.product-img-wrap {
  position: relative;
  background: #f1f5f9;
  height: 200px;
  overflow: hidden;
}
.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1rem;
  transition: transform .3s;
}
.product-card:hover .product-img-wrap img { transform: scale(1.04); }
.badge-stock {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #dcfce7;
  color: #166534;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 20px;
}
.badge-new {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #2563eb;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.badge-precio {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #f59e0b;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 20px;
}
.product-info {
  padding: 1.2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.product-cat {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: #2563eb;
}
.product-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.3;
}
.product-desc {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.5;
  flex: 1;
}
.product-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.product-specs span {
  font-size: 0.75rem;
  background: #f1f5f9;
  color: #475569;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  font-weight: 500;
}
.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid #f1f5f9;
}
.product-price {
  font-size: 1.4rem;
  font-weight: 800;
  color: #1e293b;
}
.btn-comprar {
  background: #2563eb;
  color: #fff;
  padding: 0.5rem 1.1rem;
  border-radius: 7px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: background .2s;
}
.btn-comprar:hover { background: #1d4ed8; }

/* NOSOTROS */
.nosotros {
  background: #fff;
  padding: 4rem 0;
  border-top: 1px solid #e2e8f0;
}
.nosotros-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.nosotros-inner p { color: #475569; font-size: 0.95rem; }
.ventajas { display: flex; flex-direction: column; gap: 1.2rem; }
.ventaja {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
}
.ventaja-icon { font-size: 1.75rem; flex-shrink: 0; }
.ventaja strong { display: block; font-size: 0.9rem; color: #1e293b; }
.ventaja small { color: #64748b; font-size: 0.8rem; }

/* CONTACTO */
.contacto {
  background: linear-gradient(135deg, #0f172a, #1e3a8a);
  padding: 4rem 0;
}
.contacto-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 700px;
  margin: 0 auto;
}
.contacto-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 2rem 1rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 14px;
  color: #fff;
  text-align: center;
  transition: background .2s, transform .2s;
}
.contacto-card:hover {
  background: rgba(255,255,255,.15);
  transform: translateY(-3px);
}
.contacto-icon { font-size: 2.2rem; }
.contacto-card strong { font-size: 0.95rem; }
.contacto-card small { font-size: 0.8rem; color: #94a3b8; }

/* FOOTER */
.footer {
  background: #0f172a;
  padding: 2rem 0;
  border-top: 1px solid #1e293b;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.footer-links {
  display: flex;
  gap: 1.5rem;
}
.footer-links a {
  color: #94a3b8;
  font-size: 0.875rem;
  transition: color .2s;
}
.footer-links a:hover { color: #fff; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .nosotros-inner { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 600px) {
  .product-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .nav { display: none; }
  .hero-inner { flex-direction: column; }
  .hero-badges { justify-content: center; }
  .contacto-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}
