/* ============================================================
   NUTRIFOODLIFE — Estilos globales
   Paleta: Azul #003459 · Verde #159a57 · Cyan #0096d2
   Tema: Dark premium food brand
   ============================================================ */

/* ── Reset & Base ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-primary:    #07101e;
  --bg-secondary:  #0d1a2d;
  --bg-card:       rgba(255,255,255,0.04);
  --bg-card-hover: rgba(255,255,255,0.07);
  --border:        rgba(255,255,255,0.08);
  --border-hover:  rgba(0,150,210,0.35);

  --brand-blue:    #003459;
  --brand-green:   #159a57;
  --accent-cyan:   #0096d2;
  --accent-green:  #1fa86d;
  --accent-light:  #b0ffd4;

  --text-primary:  #ffffff;
  --text-secondary:rgba(255,255,255,0.55);
  --text-muted:    rgba(255,255,255,0.30);

  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;

  --font-main:  'Outfit', sans-serif;
  --font-title: 'Unica One', sans-serif;

  --shadow-cyan: 0 0 30px rgba(0,150,210,0.18);
  --shadow-green: 0 0 30px rgba(21,154,87,0.18);

  --header-h: 72px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Typography ────────────────────────────────────────────── */
h1, h2, h3, h4 { line-height: 1.15; }
h1 { font-family: var(--font-title); font-size: clamp(2.4rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }

.gradient-text {
  background: linear-gradient(135deg, #0096d2, #1fa86d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gradient-text-green {
  background: linear-gradient(135deg, #1fa86d, #b0ffd4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Layout ────────────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }

/* ── Header ────────────────────────────────────────────────── */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
}
.header.scrolled {
  background: rgba(7,16,30,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.header .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; width: 100%;
}
.logo {
  font-family: var(--font-title);
  font-size: 1.4rem;
  letter-spacing: 0.02em;
  display: flex; align-items: center; gap: 0.5rem;
}
.logo-leaf { color: var(--accent-green); }
.nav { display: flex; gap: 0.5rem; }
.nav-link {
  padding: 0.45rem 0.9rem;
  font-size: 0.9rem; font-weight: 500;
  color: var(--text-secondary);
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover { color: var(--text-primary); background: var(--bg-card); }
.nav-link.active { color: var(--accent-cyan); }

.header-actions { display: flex; align-items: center; gap: 0.75rem; }

.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.65rem 1.4rem; border-radius: var(--radius-sm);
  font-weight: 700; font-size: 0.9rem; transition: all 0.2s;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent-cyan), #0062a3);
  color: #fff;
  box-shadow: 0 4px 16px rgba(0,150,210,0.3);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(0,150,210,0.45); }
.btn-green {
  background: linear-gradient(135deg, var(--brand-green), var(--accent-green));
  color: #fff;
  box-shadow: 0 4px 16px rgba(21,154,87,0.3);
}
.btn-green:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(21,154,87,0.45); }
.btn-ghost {
  background: var(--bg-card); border: 1px solid var(--border);
  color: var(--text-primary);
}
.btn-ghost:hover { border-color: var(--border-hover); color: var(--accent-cyan); }
.btn-full { width: 100%; justify-content: center; }
.btn-lg { padding: 0.9rem 2rem; font-size: 1rem; border-radius: var(--radius-md); }

/* Cart button */
.cart-btn {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--bg-card); border: 1px solid var(--border);
  color: var(--text-secondary); font-size: 1.1rem;
  transition: all 0.2s;
}
.cart-btn:hover { border-color: var(--border-hover); color: var(--accent-cyan); }
.cart-badge {
  position: absolute; top: -6px; right: -6px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent-cyan); color: #fff;
  font-size: 0.65rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  display: none;
}
.cart-badge.visible { display: flex; }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  width: 36px; height: 36px; justify-content: center; align-items: center;
  border-radius: 8px; background: var(--bg-card); border: 1px solid var(--border);
}
.hamburger span { display: block; width: 18px; height: 2px; background: var(--text-secondary); border-radius: 2px; transition: all 0.3s; }

/* Mobile menu */
.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 200;
  background: rgba(7,16,30,0.97); backdrop-filter: blur(20px);
  flex-direction: column; align-items: center; justify-content: center; gap: 1.5rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a, .mobile-menu button { font-size: 1.5rem; font-weight: 700; color: var(--text-secondary); }
.mobile-menu a:hover { color: var(--text-primary); }
.mobile-close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--bg-card); border: 1px solid var(--border);
  color: var(--text-secondary); font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
}

/* ── Glass card ────────────────────────────────────────────── */
.glass {
  background: var(--bg-card);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
}
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.glass-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

/* ── Trust badge ───────────────────────────────────────────── */
.trust-badge {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.45rem 1rem; border-radius: 999px;
  background: rgba(0,150,210,0.12);
  border: 1px solid rgba(0,150,210,0.25);
  font-size: 0.8rem; font-weight: 600; color: #7bd4f5;
}

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(7,16,30,0.95) 40%, rgba(7,16,30,0.6) 75%, rgba(7,16,30,0.3) 100%);
}
.hero-bg-bottom {
  position: absolute; bottom: 0; left: 0; right: 0; height: 12rem;
  background: linear-gradient(to top, var(--bg-primary), transparent);
  z-index: 1;
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 680px;
}
.hero h1 { margin-bottom: 1.2rem; }
.hero-sub { font-size: 1.1rem; color: var(--text-secondary); margin-bottom: 2rem; line-height: 1.7; max-width: 520px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.5rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.hero-trust-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; color: var(--text-muted); }
.hero-trust-item i { color: rgba(0,150,210,0.6); }

/* ── Photo strip ───────────────────────────────────────────── */
.photo-strip { padding: 1.5rem 0; }
.photo-strip-inner {
  display: flex; flex-wrap: wrap; gap: 0.75rem;
  justify-content: center; padding: 0 1.5rem;
}
.photo-strip-item {
  flex: 0 0 160px; height: 110px;
  border-radius: var(--radius-sm); overflow: hidden; position: relative;
}
.photo-strip-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.photo-strip-item:hover img { transform: scale(1.06); }
.photo-strip-item-label {
  position: absolute; bottom: 0.5rem; left: 0.7rem;
  font-size: 0.7rem; font-weight: 700; color: rgba(255,255,255,0.85);
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}

/* ── Section header ────────────────────────────────────────── */
.section-label { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent-cyan); margin-bottom: 0.6rem; }
.section-title { margin-bottom: 0.5rem; }
.section-sub { color: var(--text-secondary); font-size: 1.05rem; }

/* ── Category cards ────────────────────────────────────────── */
.categories-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.cat-card {
  position: relative; border-radius: var(--radius-md); overflow: hidden;
  height: 220px; cursor: pointer; display: block;
}
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.cat-card:hover img { transform: scale(1.08); }
.cat-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 35%, rgba(0,0,0,0.1) 100%);
}
.cat-card:hover .cat-card-overlay { background: linear-gradient(to top, rgba(0,52,89,0.9) 35%, rgba(0,150,210,0.15) 100%); }
.cat-card-body {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 1rem;
}
.cat-card-chip {
  background: rgba(255,255,255,0.08); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px; padding: 0.6rem 0.8rem;
  display: flex; align-items: center; justify-content: space-between;
}
.cat-card-name { font-weight: 700; font-size: 0.9rem; }
.cat-card-count { font-size: 0.7rem; color: var(--text-muted); margin-top: 1px; }

/* ── Product card ──────────────────────────────────────────── */
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.product-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); overflow: hidden;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  display: flex; flex-direction: column;
}
.product-card:hover {
  border-color: rgba(0,150,210,0.3);
  transform: translateY(-5px);
  box-shadow: var(--shadow-cyan);
}
.product-card-img {
  position: relative; height: 180px; overflow: hidden;
}
.product-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.product-card:hover .product-card-img img { transform: scale(1.05); }
.product-badges { position: absolute; top: 0.6rem; left: 0.6rem; display: flex; gap: 0.4rem; flex-wrap: wrap; }
.badge {
  padding: 0.2rem 0.55rem; border-radius: 6px;
  font-size: 0.65rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em;
}
.badge-hot     { background: rgba(239,68,68,0.85);  color: #fff; }
.badge-new     { background: rgba(0,150,210,0.85);  color: #fff; }
.badge-premium { background: rgba(245,158,11,0.85); color: #fff; }
.badge-offer   { background: rgba(22,163,74,0.85);  color: #fff; }
.badge-soldout { background: rgba(100,116,139,0.85);color: #fff; }
.badge-offer { background: rgba(21,154,87,0.85); color: #fff; }

.product-card-body { padding: 1rem; display: flex; flex-direction: column; gap: 0.4rem; flex: 1; }
.product-cat-tag { font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent-cyan); }
.product-name { font-size: 0.92rem; font-weight: 700; line-height: 1.3; }
.product-desc { font-size: 0.78rem; color: var(--text-secondary); line-height: 1.5; flex: 1; }
.product-unit { font-size: 0.72rem; color: var(--text-muted); }
.product-prices { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.5rem; }
.price-minorista { font-size: 1.05rem; font-weight: 800; color: var(--text-primary); }
.price-mayorista { font-size: 0.78rem; color: var(--accent-green); font-weight: 600; }
.product-card-footer { padding: 0 1rem 1rem; }
.btn-add-cart {
  width: 100%; padding: 0.6rem; border-radius: 10px;
  background: rgba(0,150,210,0.12); border: 1px solid rgba(0,150,210,0.25);
  color: #7bd4f5; font-size: 0.82rem; font-weight: 700;
  transition: all 0.2s; display: flex; align-items: center; justify-content: center; gap: 0.4rem;
}
.btn-add-cart:hover { background: rgba(0,150,210,0.22); border-color: rgba(0,150,210,0.5); color: #fff; }
.btn-add-cart.in-cart { background: rgba(21,154,87,0.15); border-color: rgba(21,154,87,0.35); color: #6ae4a4; }

/* ── Filter tabs ───────────────────────────────────────────── */
.filter-tabs { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.filter-tab {
  padding: 0.5rem 1.2rem; border-radius: 10px;
  background: var(--bg-card); border: 1px solid var(--border);
  font-size: 0.85rem; font-weight: 600; color: var(--text-secondary);
  transition: all 0.2s;
}
.filter-tab:hover { border-color: var(--border-hover); color: var(--text-primary); }
.filter-tab.active {
  background: rgba(0,150,210,0.15); border-color: rgba(0,150,210,0.4);
  color: #7bd4f5;
}

/* ── Why us grid ───────────────────────────────────────────── */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.why-card {
  display: flex; gap: 1rem; padding: 1.2rem;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color 0.2s;
}
.why-card:hover { border-color: var(--border-hover); }
.why-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: rgba(0,150,210,0.1); border: 1px solid rgba(0,150,210,0.2);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  color: rgba(0,150,210,0.8); font-size: 1rem;
}
.why-title { font-size: 0.9rem; font-weight: 700; margin-bottom: 0.2rem; }
.why-desc { font-size: 0.78rem; color: var(--text-secondary); line-height: 1.5; }

/* ── CTA section ───────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, #0a1628, #0d2040, #0a1628);
  padding: 6rem 0; text-align: center; position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 600px 300px at 50% 50%, rgba(0,150,210,0.08), transparent);
}
.cta-section .container { position: relative; z-index: 1; }

/* ── Cart drawer ───────────────────────────────────────────── */
.cart-overlay {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(0,0,0,0.6); backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.cart-overlay.open { opacity: 1; pointer-events: all; }

.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 301;
  width: min(420px, 100vw);
  background: #0d1a2d; border-left: 1px solid var(--border);
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
}
.cart-drawer.open { transform: translateX(0); }

.cart-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.cart-header h3 { font-size: 1.1rem; font-weight: 800; }
.cart-close {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--bg-card); border: 1px solid var(--border);
  color: var(--text-secondary); font-size: 1rem;
  display: flex; align-items: center; justify-content: center; transition: all 0.2s;
}
.cart-close:hover { border-color: var(--border-hover); color: #fff; }

.cart-items { flex: 1; overflow-y: auto; padding: 1rem 1.5rem; }
.cart-empty {
  height: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 0.75rem;
  color: var(--text-muted); text-align: center;
}
.cart-empty i { font-size: 2.5rem; opacity: 0.3; }

.cart-item {
  display: flex; gap: 0.75rem; padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
}
.cart-item-img {
  width: 56px; height: 56px; border-radius: 10px; overflow: hidden; flex-shrink: 0;
}
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; }
.cart-item-name { font-size: 0.85rem; font-weight: 700; margin-bottom: 0.2rem; }
.cart-item-unit { font-size: 0.72rem; color: var(--text-muted); }
.cart-item-price { font-size: 0.9rem; font-weight: 800; color: var(--accent-cyan); margin-top: 0.3rem; }
.cart-item-qty {
  display: flex; align-items: center; gap: 0.5rem; margin-top: 0.5rem;
}
.qty-btn {
  width: 26px; height: 26px; border-radius: 7px;
  background: var(--bg-card); border: 1px solid var(--border);
  color: var(--text-secondary); font-size: 0.9rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center; transition: all 0.15s;
}
.qty-btn:hover { border-color: var(--border-hover); color: var(--accent-cyan); }
.qty-num { font-size: 0.9rem; font-weight: 700; min-width: 20px; text-align: center; }
.cart-item-remove { color: var(--text-muted); font-size: 0.75rem; transition: color 0.2s; }
.cart-item-remove:hover { color: #f87171; }

.cart-footer { padding: 1.5rem; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 1rem; }
.cart-total { display: flex; justify-content: space-between; align-items: center; }
.cart-total-label { font-size: 0.85rem; color: var(--text-secondary); }
.cart-total-value { font-size: 1.3rem; font-weight: 800; }

.cart-order-form { display: flex; flex-direction: column; gap: 0.6rem; }
.cart-input {
  width: 100%; padding: 0.65rem 0.9rem; border-radius: 10px;
  background: var(--bg-card); border: 1px solid var(--border);
  color: var(--text-primary); font-family: var(--font-main); font-size: 0.85rem;
  transition: border-color 0.2s; outline: none;
}
.cart-input:focus { border-color: rgba(0,150,210,0.5); }
.cart-input::placeholder { color: var(--text-muted); }

/* ── Page hero (inner pages) ───────────────────────────────── */
.page-hero {
  padding-top: calc(var(--header-h) + 3rem); padding-bottom: 3rem;
  background: linear-gradient(160deg, #0d1a2d, var(--bg-primary));
  border-bottom: 1px solid var(--border);
}
.page-badge {
  display: inline-block; padding: 0.3rem 0.9rem; border-radius: 999px;
  background: rgba(0,150,210,0.12); border: 1px solid rgba(0,150,210,0.25);
  font-size: 0.78rem; font-weight: 700; color: #7bd4f5;
  margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 0.08em;
}
.page-title { margin-bottom: 0.75rem; }
.page-subtitle { font-size: 1.1rem; color: var(--text-secondary); max-width: 580px; }

/* ── Blog grid ─────────────────────────────────────────────── */
.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.blog-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  display: flex; flex-direction: column;
}
.blog-card:hover { border-color: rgba(0,150,210,0.3); transform: translateY(-4px); box-shadow: var(--shadow-cyan); }
.blog-card-img { height: 200px; overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.blog-card:hover .blog-card-img img { transform: scale(1.04); }
.blog-card-body { padding: 1.4rem; flex: 1; display: flex; flex-direction: column; }
.blog-cat {
  display: inline-block; padding: 0.2rem 0.7rem; border-radius: 6px; margin-bottom: 0.75rem;
  font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em;
  color: #fff;
}
.blog-meta { display: flex; gap: 1rem; font-size: 0.75rem; color: var(--text-muted); margin-bottom: 0.6rem; }
.blog-meta i { font-size: 0.8em; }
.blog-card-title { font-size: 1.1rem; font-weight: 800; line-height: 1.35; margin-bottom: 0.6rem; }
.blog-card-excerpt { font-size: 0.85rem; color: var(--text-secondary); flex: 1; line-height: 1.6; }
.blog-read-more {
  display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 1rem;
  font-size: 0.82rem; font-weight: 700; color: var(--accent-cyan);
  transition: gap 0.2s;
}
.blog-read-more:hover { gap: 0.7rem; }

/* ── Article ───────────────────────────────────────────────── */
.article-hero { height: 380px; position: relative; overflow: hidden; }
.article-hero img { width: 100%; height: 100%; object-fit: cover; }
.article-hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(7,16,30,0.3), rgba(7,16,30,0.9));
}
.article-body { max-width: 780px; margin: 0 auto; padding: 3rem 1.5rem 5rem; }
.article-body h2 { font-size: 1.5rem; margin: 2.5rem 0 1rem; color: var(--text-primary); }
.article-body h3 { font-size: 1.15rem; margin: 2rem 0 0.75rem; color: var(--accent-cyan); }
.article-body p { color: var(--text-secondary); line-height: 1.8; margin-bottom: 1.2rem; }
.article-body ul, .article-body ol { margin: 0.5rem 0 1.5rem 1.2rem; display: flex; flex-direction: column; gap: 0.5rem; }
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li { color: var(--text-secondary); line-height: 1.7; font-size: 0.95rem; }
.article-tip {
  background: rgba(0,150,210,0.08); border: 1px solid rgba(0,150,210,0.2);
  border-left: 3px solid var(--accent-cyan);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1rem 1.2rem; margin: 1.5rem 0;
}
.article-tip-label { font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent-cyan); margin-bottom: 0.4rem; }
.article-tip p { color: rgba(255,255,255,0.75); margin-bottom: 0; }
.article-divider { border: none; border-top: 1px solid var(--border); margin: 2.5rem 0; }
.article-table { width: 100%; border-collapse: collapse; margin: 1rem 0 2rem; font-size: 0.88rem; }
.article-table th { background: rgba(0,150,210,0.1); padding: 0.7rem 1rem; text-align: left; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--accent-cyan); }
.article-table td { padding: 0.7rem 1rem; border-bottom: 1px solid var(--border); color: var(--text-secondary); }
.article-table tr:last-child td { border-bottom: none; }
.article-table tr:hover td { background: rgba(255,255,255,0.02); }
.article-cta {
  background: linear-gradient(135deg, rgba(0,150,210,0.1), rgba(21,154,87,0.1));
  border: 1px solid rgba(0,150,210,0.2); border-radius: var(--radius-lg);
  padding: 2rem; text-align: center; margin-top: 3rem;
}

/* ── Contact page ──────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.contact-card {
  display: flex; gap: 1rem; padding: 1.2rem;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); transition: border-color 0.2s;
}
.contact-card:hover { border-color: var(--border-hover); }
.contact-card a { display: contents; }
.contact-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 1.1rem; color: #fff;
}
.contact-label { font-size: 0.72rem; color: var(--text-muted); margin-bottom: 0.2rem; }
.contact-value { font-size: 0.9rem; font-weight: 700; }
.contact-sub { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.15rem; }

.faq-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.faq-card {
  padding: 1.2rem;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.faq-q { font-size: 0.88rem; font-weight: 700; margin-bottom: 0.5rem; }
.faq-a { font-size: 0.8rem; color: var(--text-secondary); line-height: 1.6; }

/* ── Footer ────────────────────────────────────────────────── */
.footer {
  background: #050d18; border-top: 1px solid var(--border);
  padding: 3.5rem 0 2rem;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2.5rem; }
.footer-logo { font-family: var(--font-title); font-size: 1.3rem; display: flex; align-items: center; gap: 0.4rem; margin-bottom: 0.75rem; }
.footer-tagline { font-size: 0.82rem; color: var(--text-muted); line-height: 1.6; }
.footer h4 { font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 1rem; }
.footer-links { display: flex; flex-direction: column; gap: 0.55rem; }
.footer-links a { font-size: 0.85rem; color: var(--text-secondary); transition: color 0.2s; }
.footer-links a:hover { color: var(--accent-cyan); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 1.5rem; border-top: 1px solid var(--border);
  font-size: 0.78rem; color: var(--text-muted);
}

/* ── Scroll top ────────────────────────────────────────────── */
.scroll-top {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 50;
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--bg-card); border: 1px solid var(--border);
  color: var(--text-secondary); font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: all 0.3s; backdrop-filter: blur(8px);
}
.scroll-top.visible { opacity: 1; pointer-events: all; }
.scroll-top:hover { border-color: var(--border-hover); color: var(--accent-cyan); }

/* ── Animate on scroll ─────────────────────────────────────── */
.animate-fade { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.animate-fade.visible { opacity: 1; transform: none; }

/* ── Catalog page layout ───────────────────────────────────── */
.catalog-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-bottom: 2rem; }
.catalog-count { font-size: 0.85rem; color: var(--text-muted); }
#productos-grid { transition: opacity 0.2s; }

/* ── Stats row ─────────────────────────────────────────────── */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; }
.stat-item { background: var(--bg-secondary); padding: 1.5rem; text-align: center; }
.stat-num { font-family: var(--font-title); font-size: 2rem; color: var(--accent-cyan); margin-bottom: 0.3rem; }
.stat-label { font-size: 0.8rem; color: var(--text-muted); }

/* ── WhatsApp float ────────────────────────────────────────── */
.wa-float {
  position: fixed; bottom: 1.5rem; left: 1.5rem; z-index: 50;
  width: 52px; height: 52px; border-radius: 50%;
  background: #25d366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
  color: #fff; font-size: 1.4rem;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,0.55); }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .faq-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav, .header-actions .btn-primary { display: none; }
  .hamburger { display: flex; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .faq-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; }
  .categories-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.2rem; }
  .photo-strip-item { flex: 0 0 calc(33% - 0.5rem); height: 90px; }
}
