/* ============================================================
   RELOJES EL REY — Relojes de Lujo
   Hoja de estilos principal (tema oscuro · negro + dorado)
   ============================================================ */

:root {
  --bg: #0a0a0a;
  --bg-soft: #101010;
  --surface: #161512;
  --surface-2: #1e1c17;
  --border: #2b2820;
  --text: #f5efe1;
  --text-soft: #c9bfa6;
  --muted: #8a8069;
  --primary: #d4af37;       /* dorado */
  --primary-strong: #c9a227;
  --accent: #e6c35c;        /* dorado claro */
  --accent-2: #b8860b;      /* dorado oscuro */
  --whatsapp: #25d366;
  --danger: #e5533d;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.55);
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.4);
  --container: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 88px 0; }

/* ---------- Tipografía / utilidades ---------- */
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 14px;
}
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); line-height: 1.15; font-weight: 800; }
.section-head p { color: var(--text-soft); margin-top: 14px; font-size: 1.05rem; }
.gradient-text {
  background: linear-gradient(90deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.96rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), background 0.18s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: linear-gradient(90deg, var(--primary-strong), var(--accent));
  color: #1a1200;
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.28);
}
.btn-primary:hover { box-shadow: 0 12px 32px rgba(212, 175, 55, 0.4); }
.btn-ghost { background: transparent; border-color: var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-whatsapp { background: var(--whatsapp); color: #042b13; box-shadow: 0 8px 24px rgba(37, 211, 102, 0.28); }
.btn-whatsapp:hover { box-shadow: 0 12px 32px rgba(37, 211, 102, 0.42); }
.btn-sm { padding: 9px 16px; font-size: 0.85rem; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo { display: flex; align-items: center; gap: 0; font-weight: 800; font-size: 1.15rem; letter-spacing: 0.02em; }
.logo .logo-mark {
  margin-right: 11px;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #1a1200;
}
.logo .logo-mark svg { width: 22px; height: 22px; }
/* Emblema del logo: el PNG (2000x2000) trae el escudo arriba y el nombre abajo.
   Recortamos solo el escudo (cuadro de ~1200px desde 400,175) para el header. */
.logo .logo-badge {
  position: relative;
  width: 42px; height: 42px;
  margin-right: 11px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  background: #0a0a0a;
}
.logo .logo-badge img {
  position: absolute;
  width: 70px; height: 70px;   /* 2000px * (42/1200) */
  left: -14px; top: -6px;      /* desplazamiento del recorte */
  max-width: none;
}
.logo .dot { color: var(--primary); margin-left: 6px; }

.nav { display: flex; align-items: center; gap: 8px; }
.nav a {
  padding: 9px 14px;
  border-radius: 9px;
  color: var(--text-soft);
  font-weight: 500;
  transition: color 0.15s, background 0.15s;
}
.nav a:hover, .nav a.active { color: var(--text); background: var(--surface); }

.header-actions { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  width: 44px; height: 44px;
  border-radius: 11px;
  cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: 110px 0 100px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 500px at 80% -10%, rgba(212, 175, 55, 0.20), transparent 60%),
    radial-gradient(700px 500px at 10% 20%, rgba(184, 134, 11, 0.14), transparent 55%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); line-height: 1.07; font-weight: 850; letter-spacing: -0.02em; }
.hero p.lead { color: var(--text-soft); font-size: 1.15rem; margin: 22px 0 32px; max-width: 520px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 36px; margin-top: 44px; flex-wrap: wrap; }
.hero-stats .stat strong { display: block; font-size: 1.7rem; font-weight: 800; color: var(--text); }
.hero-stats .stat span { color: var(--muted); font-size: 0.9rem; }

.hero-visual { position: relative; }
.hero-visual img {
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.hero-badge {
  position: absolute;
  bottom: -18px; left: -18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 18px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: var(--shadow-sm);
}
.hero-badge .ic { width: 40px; height: 40px; border-radius: 10px; background: rgba(212,175,55,.15); color: var(--primary); display: grid; place-items: center; }
.hero-badge .ic svg { width: 22px; height: 22px; }
.hero-badge strong { display: block; font-size: 0.95rem; }
.hero-badge span { color: var(--muted); font-size: 0.8rem; }

/* ---------- Marcas (logos) ---------- */
.brands { padding: 40px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.brands-row {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 18px 40px;
}
.brands-row span {
  font-weight: 700; font-size: 1.25rem; color: var(--muted);
  opacity: 0.7; transition: opacity 0.2s, color 0.2s;
  letter-spacing: 0.04em;
}
.brands-row span:hover { opacity: 1; color: var(--text-soft); }

/* ============================================================
   CATEGORÍAS
   ============================================================ */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.cat-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  min-height: 260px;
  display: flex; align-items: flex-end;
  transition: transform 0.25s var(--ease), border-color 0.25s;
}
.cat-card:hover { transform: translateY(-6px); border-color: var(--primary); }
.cat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.55; transition: opacity 0.3s, transform 0.4s var(--ease); }
.cat-card:hover img { opacity: 0.7; transform: scale(1.06); }
.cat-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(10,10,10,0.95)); }
.cat-card .cat-body { position: relative; z-index: 2; padding: 22px; width: 100%; }
.cat-card h3 { font-size: 1.2rem; font-weight: 700; }
.cat-card span.count { color: var(--primary); font-size: 0.85rem; font-weight: 600; }
.cat-card .arrow { position: absolute; top: 18px; right: 18px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; background: rgba(10,10,10,.6); border: 1px solid var(--border); display: grid; place-items: center; transition: background 0.2s; }
.cat-card:hover .arrow { background: var(--primary); color: #1a1200; }
.cat-card .arrow svg { width: 18px; height: 18px; }

/* ============================================================
   PRODUCTOS
   ============================================================ */
/* ---------- Panel de filtros del catálogo (Sección › Categoría › Marca) ---------- */
.filter-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 6px 24px;
  margin-bottom: 44px;
  box-shadow: var(--shadow-sm);
}
.filter-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.filter-row:last-child { border-bottom: none; }
.filter-row.is-empty { display: none; }
.filter-label {
  flex: 0 0 92px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
}
/* Dentro del panel las barras se alinean a la izquierda y sin margen propio */
.filter-row > div {
  display: flex; flex-wrap: wrap; gap: 9px;
  justify-content: flex-start; margin: 0; flex: 1;
}

/* Barra de secciones (Hombre / Mujer / ...) — nivel superior del catálogo */
.section-filters {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 22px;
}
.section-filters:empty { display: none; }
.section-btn {
  padding: 10px 24px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text-soft);
  font-weight: 700; font-size: 0.92rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  cursor: pointer;
  transition: all 0.18s;
}
.section-btn:hover { color: var(--primary); border-color: var(--primary); }
.section-btn.active {
  background: linear-gradient(90deg, var(--primary-strong), var(--accent));
  color: #1a1200; border-color: transparent;
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.28);
}

/* Barra de categorías (Relojería 1.1 / Súper Clon) — segundo nivel */
.category-filters {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 22px;
}
.category-filters:empty { display: none; }
.maincat-btn {
  padding: 9px 20px;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: var(--text-soft);
  font-weight: 600; font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.18s;
}
.maincat-btn:hover { color: var(--text); border-color: var(--primary); }
.maincat-btn.active { background: rgba(212,175,55,.16); border-color: var(--primary); color: var(--primary); }

/* Tercer nivel (marca): el más discreto */
.filter-row .filter-btn { padding: 8px 15px; font-size: 0.84rem; background: var(--bg); }
.filter-row .filter-btn.active {
  background: transparent; color: var(--primary);
  border-color: var(--primary); font-weight: 700;
}

/* Responsive: la etiqueta pasa arriba y las píldoras hacen scroll si no caben */
@media (max-width: 720px) {
  .filter-panel { padding: 4px 16px; margin-bottom: 32px; }
  .filter-row { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px 0; }
  .filter-label { flex: none; font-size: 0.66rem; }
  .filter-row > div { width: 100%; }
}

.filters {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px;
}
.filter-btn {
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-soft);
  font-weight: 600; font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.18s;
}
.filter-btn:hover { color: var(--text); border-color: var(--primary); }
.filter-btn.active { background: linear-gradient(90deg, var(--primary-strong), var(--accent)); color: #1a1200; border-color: transparent; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.22s var(--ease), border-color 0.22s, box-shadow 0.22s;
}
.product-card:hover { transform: translateY(-6px); border-color: var(--primary); box-shadow: var(--shadow); }
.product-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-soft); }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease); }
.product-card:hover .product-media img { transform: scale(1.07); }
.product-tag {
  position: absolute; top: 12px; left: 12px;
  background: var(--accent-2); color: #1a1200;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.04em;
  padding: 5px 10px; border-radius: 999px; text-transform: uppercase;
}
.product-tag.oferta { background: var(--danger); color: #fff; }
.product-tag.nuevo { background: var(--primary); color: #1a1200; }
.product-body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.product-cat { font-size: 0.75rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; }
.product-body h3 { font-size: 1.02rem; font-weight: 700; margin: 6px 0 4px; line-height: 1.3; }
.product-specs { color: var(--text-soft); font-size: 0.86rem; margin-bottom: 14px; flex: 1; }
.product-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; }
.product-price { display: flex; flex-direction: column; }
.product-price .now { font-size: 1.25rem; font-weight: 800; color: var(--text); }
.product-price .was { font-size: 0.8rem; color: var(--muted); text-decoration: line-through; }
.no-results { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 60px 0; }

/* ============================================================
   SERVICIO / VENTAJAS
   ============================================================ */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 24px;
  text-align: center;
  transition: transform 0.22s var(--ease), border-color 0.22s, box-shadow 0.22s;
}
.service-card:hover { transform: translateY(-6px); border-color: var(--primary); box-shadow: var(--shadow); }
.service-card .ic {
  width: 60px; height: 60px; margin: 0 auto 18px;
  border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(212,175,55,.18), rgba(184,134,11,.18));
  color: var(--primary);
}
.service-card .ic svg { width: 30px; height: 30px; }
.service-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.service-card p { color: var(--text-soft); font-size: 0.9rem; }

/* ============================================================
   NOSOTROS / FEATURES
   ============================================================ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-visual { position: relative; }
.about-visual img { border-radius: 18px; border: 1px solid var(--border); box-shadow: var(--shadow); }
.about-stats { display: flex; gap: 30px; margin-top: 30px; flex-wrap: wrap; }
.about-stats .stat strong { display: block; font-size: 2rem; font-weight: 800; }
.about-stats .stat span { color: var(--muted); font-size: 0.88rem; }
.feature-list { margin-top: 28px; display: grid; gap: 16px; }
.feature-item { display: flex; gap: 14px; align-items: flex-start; }
.feature-item .ic { flex-shrink: 0; width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: rgba(184,134,11,.16); color: var(--accent); }
.feature-item .ic svg { width: 22px; height: 22px; }
.feature-item h4 { font-size: 1rem; font-weight: 700; }
.feature-item p { color: var(--text-soft); font-size: 0.92rem; }

/* ---------- Tira de beneficios ---------- */
.perks { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 48px 0; }
.perks-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.perk { display: flex; gap: 14px; align-items: center; }
.perk .ic { flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(212,175,55,.14); color: var(--primary); }
.perk .ic svg { width: 24px; height: 24px; }
.perk strong { display: block; font-size: 0.98rem; }
.perk span { color: var(--muted); font-size: 0.84rem; }

/* ============================================================
   CTA
   ============================================================ */
.cta {
  position: relative;
  overflow: hidden;
}
.cta-box {
  position: relative;
  background: linear-gradient(135deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 64px 48px;
  text-align: center;
  overflow: hidden;
}
.cta-box::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 50% -30%, rgba(212,175,55,.25), transparent 60%);
}
.cta-box > * { position: relative; z-index: 2; }
.cta-box h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 850; }
.cta-box p { color: var(--text-soft); max-width: 540px; margin: 16px auto 30px; font-size: 1.08rem; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   CONTACTO
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.contact-info .info-item { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.contact-info .info-item:last-child { border-bottom: none; }
.contact-info .ic { flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--border); color: var(--primary); }
.contact-info .ic svg { width: 22px; height: 22px; }
.contact-info h4 { font-size: 1rem; }
.contact-info p, .contact-info a { color: var(--text-soft); font-size: 0.95rem; }
.contact-info a:hover { color: var(--primary); }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 7px; color: var(--text-soft); }
.field input, .field textarea, .field select {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.15s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--primary); }
.field textarea { resize: vertical; min-height: 120px; }

.map-embed { margin-top: 16px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.map-embed iframe { width: 100%; height: 280px; border: 0; display: block; filter: grayscale(0.3) invert(0.9) hue-rotate(180deg); }

/* ============================================================
   ARTÍCULO / PÁGINA SÚPER CLON
   ============================================================ */
.article { max-width: 860px; margin: 0 auto; }
.article-hero {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  margin-bottom: 40px;
  aspect-ratio: 16 / 8;
  object-fit: cover;
}
.article h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  margin: 40px 0 16px;
}
.article h2:first-child { margin-top: 0; }
.article p { color: var(--text-soft); font-size: 1.04rem; margin-bottom: 16px; }
.article strong { color: var(--text); }

/* Lista de beneficios con check dorado */
.benefit-list { display: grid; gap: 16px; margin: 8px 0 8px; }
.benefit-item {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  transition: border-color 0.2s;
}
.benefit-item:hover { border-color: var(--primary); }
.benefit-item .check {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; margin-top: 2px;
  background: rgba(212,175,55,.14); color: var(--primary);
}
.benefit-item .check svg { width: 19px; height: 19px; }
.benefit-item p { margin: 0; font-size: 0.98rem; }
.benefit-item p strong { display: block; margin-bottom: 3px; color: var(--primary); font-size: 1.02rem; }

/* Bloque de compromiso destacado */
.article-note {
  background: linear-gradient(135deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  border-radius: var(--radius);
  padding: 26px 28px;
  margin: 28px 0;
}
.article-note h2 { margin-top: 0; }
.article-note p:last-child { margin-bottom: 0; }

.article-cta { text-align: center; margin: 48px 0 8px; }
.article-cta p { font-size: 1.15rem; color: var(--text); font-weight: 600; margin-bottom: 20px; }

/* ---------- Page header (subpáginas) ---------- */
.page-header { padding: 64px 0 40px; position: relative; }
.page-header::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 300px at 50% -40%, rgba(212,175,55,.2), transparent 60%); }
.page-header .container { position: relative; }
.page-header h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 850; }
.page-header p { color: var(--text-soft); margin-top: 12px; font-size: 1.08rem; max-width: 560px; }
.breadcrumb { color: var(--muted); font-size: 0.88rem; margin-bottom: 12px; }
.breadcrumb a:hover { color: var(--primary); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--bg-soft); border-top: 1px solid var(--border); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; }
.footer-col h4 { font-size: 0.95rem; margin-bottom: 18px; color: var(--text); }
.footer-col ul li { margin-bottom: 11px; }
.footer-col ul li a { color: var(--text-soft); font-size: 0.92rem; transition: color 0.15s; }
.footer-col ul li a:hover { color: var(--primary); }
.footer-about p { color: var(--text-soft); font-size: 0.92rem; margin: 16px 0; max-width: 300px; }
.footer-contact-item { display: flex; gap: 10px; color: var(--text-soft); font-size: 0.9rem; margin-bottom: 12px; align-items: flex-start; }
.footer-contact-item svg { width: 17px; height: 17px; color: var(--primary); flex-shrink: 0; margin-top: 3px; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 40px; height: 40px; border-radius: 11px; background: var(--surface); border: 1px solid var(--border); display: grid; place-items: center; color: var(--text-soft); transition: all 0.18s; }
.social a:hover { color: var(--primary); border-color: var(--primary); transform: translateY(-2px); }
.social a svg { width: 19px; height: 19px; }
.footer-bottom { border-top: 1px solid var(--border); margin-top: 48px; padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: var(--muted); font-size: 0.85rem; }
.footer-bottom a:hover { color: var(--primary); }

/* Cabecera a todo el ancho para que el botón Admin quede en la esquina derecha */
.site-header .container { max-width: 100%; padding: 0 32px; }

/* Botón "Admin" en la cabecera (separado, en la esquina derecha) */
.btn-admin { opacity: 0.9; margin-left: 18px; }
@media (max-width: 600px) { .btn-admin { display: none; } }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--whatsapp); color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s;
  animation: pulse 2.4s infinite;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }
@keyframes pulse {
  0% { box-shadow: 0 10px 30px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,.5); }
  70% { box-shadow: 0 10px 30px rgba(37,211,102,.45), 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 10px 30px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,0); }
}

/* ---------- Redes sociales flotantes (encima de WhatsApp) ---------- */
.social-float {
  position: fixed; right: 26px; bottom: 94px; z-index: 90;
  display: flex; flex-direction: column; gap: 12px;
}
.social-btn {
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s;
}
.social-btn:hover { transform: scale(1.08); }
.social-btn svg { width: 26px; height: 26px; }
.social-btn.fb { background: #1877f2; }
.social-btn.ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
@media (max-width: 480px) {
  .social-float { right: 22px; bottom: 84px; }
  .social-btn { width: 48px; height: 48px; }
  .social-btn svg { width: 23px; height: 23px; }
}

/* ---------- Toast ---------- */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(120px);
  background: var(--surface); border: 1px solid var(--primary);
  color: var(--text); padding: 14px 22px; border-radius: 12px;
  box-shadow: var(--shadow); z-index: 200; font-size: 0.92rem;
  transition: transform 0.35s var(--ease); max-width: 90%;
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   PANEL ADMINISTRADOR
   ============================================================ */
.admin-body { background: var(--bg); min-height: 100vh; }

/* Login */
.admin-login {
  min-height: 100vh;
  display: grid; place-items: center;
  padding: 24px;
}
.login-card {
  width: 100%; max-width: 400px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 38px 32px;
  box-shadow: var(--shadow);
  text-align: center;
}
.login-card .logo { justify-content: center; margin-bottom: 22px; }
.login-card h1 { font-size: 1.4rem; margin-bottom: 6px; }
.login-card p { color: var(--text-soft); font-size: 0.92rem; margin-bottom: 24px; }
.login-error { color: var(--danger); font-size: 0.86rem; margin-top: 12px; min-height: 18px; }

/* Topbar */
.admin-top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,10,10,.9); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.admin-top-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.admin-top .right { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.admin-badge { font-size: 0.78rem; color: var(--primary); background: rgba(212,175,55,.12); padding: 5px 12px; border-radius: 999px; font-weight: 600; }

/* Layout */
.admin-wrap { padding: 32px 0 80px; }
.admin-grid { display: grid; grid-template-columns: 380px 1fr; gap: 28px; align-items: start; }

.admin-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.admin-panel h2 { font-size: 1.15rem; margin-bottom: 4px; }
.admin-panel .hint { color: var(--muted); font-size: 0.84rem; margin-bottom: 20px; }

.admin-panel.sticky { position: sticky; top: 90px; }

/* Tabla / lista de productos */
.admin-toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.admin-search { flex: 1; min-width: 180px; }
.admin-search input { width: 100%; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 10px 14px; color: var(--text); font-family: inherit; }
.admin-search input:focus { outline: none; border-color: var(--primary); }

.admin-list { display: grid; gap: 12px; }
.admin-item {
  display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center;
  background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 12px;
}
.admin-item img { width: 64px; height: 56px; object-fit: cover; border-radius: 8px; background: var(--bg); }
.admin-item .meta h4 { font-size: 0.96rem; line-height: 1.25; }
.admin-item .meta span { font-size: 0.8rem; color: var(--muted); }
.admin-item .meta .price { color: var(--primary); font-weight: 700; }
.admin-item .acts { display: flex; gap: 6px; }
.icon-btn {
  width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--border); color: var(--text-soft); cursor: pointer;
  transition: all 0.15s;
}
.icon-btn:hover { border-color: var(--primary); color: var(--primary); }
.icon-btn.danger:hover { border-color: var(--danger); color: var(--danger); }
.icon-btn svg { width: 17px; height: 17px; }

/* Vista previa de imagen en el form */
.img-preview {
  width: 100%; aspect-ratio: 4/3; border-radius: var(--radius-sm);
  background: var(--bg) center/cover no-repeat;
  border: 1px dashed var(--border); margin-bottom: 12px;
  display: grid; place-items: center; color: var(--muted); font-size: 0.85rem; overflow: hidden;
}
.img-preview img { width: 100%; height: 100%; object-fit: cover; }

.form-actions { display: flex; gap: 10px; margin-top: 8px; flex-wrap: wrap; }
.btn-block { width: 100%; }

.admin-note {
  background: rgba(212,175,55,.1); border: 1px solid rgba(212,175,55,.3);
  border-radius: var(--radius-sm); padding: 14px 16px; font-size: 0.86rem;
  color: var(--text-soft); margin-bottom: 22px;
}
.admin-note strong { color: var(--text); }
.admin-empty { text-align: center; color: var(--muted); padding: 40px 0; }

/* Filtros por categoría en la lista de productos (panel admin) */
.admin-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 4px; }
.admin-filters .afilter {
  padding: 6px 14px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--border); background: var(--bg);
  color: var(--text-soft); font-size: 0.82rem; font-weight: 500;
  transition: color 0.15s, background 0.15s, border-color 0.15s;
}
.admin-filters .afilter:hover { color: var(--text); border-color: var(--primary); }
.admin-filters .afilter.active { background: var(--primary); border-color: var(--primary); color: #1a1200; font-weight: 700; }

/* Campo de contraseña con botón para mostrar/ocultar */
.pass-wrap { position: relative; }
.pass-wrap input { width: 100%; padding-right: 46px; }
.pass-toggle {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: var(--muted); cursor: pointer;
  display: grid; place-items: center; padding: 8px; border-radius: 8px;
  transition: color 0.2s;
}
.pass-toggle:hover { color: var(--primary); }
.pass-toggle svg { width: 20px; height: 20px; }

/* ---------- Categorías (panel admin) ---------- */
.cat-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; align-items: start; }
.cat-form .cat-img-field, .cat-form .cat-actions { grid-column: 1 / -1; }
.cat-form .cat-actions { margin: 0; }
.cat-img-row { display: flex; gap: 12px; align-items: center; }
.cat-preview {
  width: 68px; height: 50px; border-radius: 8px; flex-shrink: 0;
  background: var(--bg); border: 1px solid var(--border);
  display: grid; place-items: center; overflow: hidden;
  font-size: 0.68rem; color: var(--muted); text-align: center;
}
.cat-preview img { width: 100%; height: 100%; object-fit: cover; }
.cat-img-inputs { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.file-btn { cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.cat-list { display: flex; flex-wrap: wrap; gap: 10px; }
.cat-chip {
  display: flex; align-items: center; gap: 10px;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 10px; padding: 8px 8px 8px 14px;
}
.cat-chip-thumb { width: 40px; height: 32px; border-radius: 6px; object-fit: cover; background: var(--surface); }
.cat-chip-meta { display: flex; flex-direction: column; line-height: 1.2; }
.cat-chip-meta strong { font-size: 0.9rem; }
.cat-chip-meta span { font-size: 0.75rem; color: var(--muted); }
.sec-pill {
  display: inline-block; background: rgba(212,175,55,.14); color: var(--primary);
  border-radius: 999px; padding: 1px 8px; font-weight: 700; font-size: 0.7rem;
}
.cat-pill {
  display: inline-block; background: rgba(233,233,233,.08); color: var(--text-soft);
  border: 1px solid var(--border);
  border-radius: 999px; padding: 1px 8px; font-weight: 600; font-size: 0.7rem;
}
.cat-chip-acts { display: flex; gap: 4px; }
@media (max-width: 720px) { .cat-form { grid-template-columns: 1fr; } }

@media (max-width: 900px) {
  .admin-grid { grid-template-columns: 1fr; }
  .admin-panel.sticky { position: static; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .cat-grid, .product-grid, .services-grid { grid-template-columns: repeat(2, 1fr); }
  .perks-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 860px) {
  section { padding: 64px 0; }
  .hero { padding: 70px 0 60px; }
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .nav, .header-actions .btn { display: none; }
  .nav-toggle { display: flex; }
  .nav.open {
    display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0;
    background: var(--bg-soft); border-bottom: 1px solid var(--border); padding: 16px 24px; gap: 4px;
  }
  .nav.open a { width: 100%; }
}
@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .cat-grid, .services-grid { grid-template-columns: 1fr; }
  .perks-grid, .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
  .cta-box { padding: 44px 24px; }

  /* Catálogo en móvil: 2 productos por fila */
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-body { padding: 12px 12px 14px; }
  .product-cat { font-size: 0.64rem; }
  .product-body h3 { font-size: 0.86rem; line-height: 1.25; margin: 5px 0 3px; }
  .product-specs { font-size: 0.74rem; margin-bottom: 10px; }
  .product-tag { font-size: 0.6rem; padding: 4px 8px; top: 8px; left: 8px; }

  /* Precio arriba y botón a todo el ancho (no caben lado a lado) */
  .product-foot { flex-direction: column; align-items: stretch; gap: 8px; }
  .product-price { flex-direction: row; align-items: baseline; gap: 7px; flex-wrap: wrap; }
  .product-price .now { font-size: 1.02rem; }
  .product-price .was { font-size: 0.72rem; }
  .product-foot .btn-whatsapp { width: 100%; padding: 9px 10px; font-size: 0.78rem; }
  .product-foot .btn-whatsapp svg { width: 15px; height: 15px; }
}

/* Pantallas muy angostas: mantenemos 2 columnas, apretando un poco más */
@media (max-width: 360px) {
  .product-grid { gap: 9px; }
  .product-body { padding: 10px; }
  .product-body h3 { font-size: 0.8rem; }
  .product-foot .btn-whatsapp { font-size: 0.72rem; }
}
