/* ============================================================
   MEGASHOP — Glass UI
   Paleta: negro profundo · amarillo eléctrico · azul marca
   ============================================================ */

:root {
  --bg-0: #04050a;
  --bg-1: #0a0d16;
  --glass: rgba(255, 255, 255, 0.045);
  --glass-2: rgba(255, 255, 255, 0.08);
  --stroke: rgba(255, 255, 255, 0.1);
  --stroke-soft: rgba(255, 255, 255, 0.06);
  --text: #eef2f9;
  --text-dim: #9aa6bd;
  --yellow: #ffe600;
  --yellow-soft: #fff17a;
  --blue: #2f7cf6;
  --blue-deep: #2a6bb5;
  --cyan: #59c2ff;
  --radius: 22px;
  --radius-sm: 14px;
  --font-display: "Space Grotesk", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

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

::selection { background: var(--yellow); color: #000; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-0); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--blue), #16345f);
  border-radius: 99px;
  border: 2px solid var(--bg-0);
}

/* ---------- Fondo global: orbes + rejilla ---------- */
.bg-scene {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background:
    radial-gradient(900px 600px at 12% -5%, rgba(47, 124, 246, 0.2), transparent 60%),
    radial-gradient(700px 600px at 88% 8%, rgba(118, 185, 0, 0.12), transparent 58%),
    radial-gradient(800px 600px at 95% 60%, rgba(255, 230, 0, 0.05), transparent 55%),
    radial-gradient(1000px 800px at 50% 115%, rgba(42, 107, 181, 0.16), transparent 60%),
    var(--bg-0);
}

/* Orbes de luz flotantes (verde NVIDIA + azul + amarillo) */
.bg-scene .orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(75px);
  mix-blend-mode: screen;
  will-change: transform;
  pointer-events: none;
}
.orb-green {
  width: 460px; height: 460px;
  left: -90px; top: 6%;
  background: radial-gradient(circle, rgba(118, 185, 0, 0.85), transparent 68%);
  opacity: 0.5;
  animation: orb-a 26s ease-in-out infinite alternate;
}
.orb-green2 {
  width: 360px; height: 360px;
  right: -70px; top: 42%;
  background: radial-gradient(circle, rgba(140, 220, 0, 0.7), transparent 66%);
  opacity: 0.38;
  animation: orb-b 33s ease-in-out infinite alternate;
}
.orb-blue {
  width: 540px; height: 540px;
  right: 8%; top: -160px;
  background: radial-gradient(circle, rgba(47, 124, 246, 0.75), transparent 66%);
  opacity: 0.5;
  animation: orb-c 30s ease-in-out infinite alternate;
}
.orb-yellow {
  width: 300px; height: 300px;
  left: 26%; bottom: -150px;
  background: radial-gradient(circle, rgba(255, 230, 0, 0.6), transparent 62%);
  opacity: 0.16;
  animation: orb-d 36s ease-in-out infinite alternate;
}
@keyframes orb-a {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(120px, 80px) scale(1.15); }
}
@keyframes orb-b {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(-140px, -70px) scale(1.2); }
}
@keyframes orb-c {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(-90px, 130px) scale(1.1); }
}
@keyframes orb-d {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(110px, -90px) scale(1.25); }
}
@media (prefers-reduced-motion: reduce) {
  .bg-scene .orb { animation: none; }
}
@media (max-width: 700px) {
  .bg-scene .orb { filter: blur(55px); }
  .orb-yellow, .orb-green2 { display: none; }
}
.bg-scene::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 30%, transparent 75%);
}

a { color: var(--cyan); text-decoration: none; }
a:hover { color: var(--yellow); }
img { max-width: 100%; display: block; }

:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: min(1200px, 92%);
  margin-inline: auto;
}

/* ---------- Utilidad glass ---------- */
.glass {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03) 45%, rgba(255, 255, 255, 0.015));
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

/* ============================================================
   NAVBAR
   ============================================================ */
.nav {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1200px, 94%);
  z-index: 100;
  border-radius: 18px;
  background: rgba(9, 12, 22, 0.55);
  border: 1px solid var(--stroke-soft);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.nav.scrolled {
  background: rgba(6, 8, 15, 0.82);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.65rem 1.1rem;
}
.nav-logo {
  display: inline-flex;
  background: #fff;
  border-radius: 10px;
  padding: 5px 10px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25), 0 4px 18px rgba(47, 124, 246, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.nav-logo:hover { transform: scale(1.04); box-shadow: 0 0 0 1px rgba(255,255,255,.35), 0 6px 24px rgba(47,124,246,.55); }
.nav-logo img { height: 30px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  margin-left: auto;
}
.nav-links a {
  display: block;
  padding: 0.5rem 0.95rem;
  border-radius: 12px;
  color: var(--text-dim);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.83rem;
  letter-spacing: 0.06em;
  border: 1px solid transparent;
  transition: all 0.25s ease;
}
.nav-links a:hover {
  color: var(--text);
  background: var(--glass-2);
  border-color: var(--stroke-soft);
}
.nav-links a.active {
  color: var(--yellow);
  background: rgba(255, 230, 0, 0.08);
  border-color: rgba(255, 230, 0, 0.25);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 14px;
  padding: 0.7rem 1.4rem;
  font-size: 0.88rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, color 0.22s ease;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-yellow {
  background: linear-gradient(135deg, #ffef5c, var(--yellow) 45%, #f5c400);
  color: #131200;
  box-shadow: 0 8px 28px rgba(255, 230, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.65);
}
.btn-yellow:hover {
  transform: translateY(-2px);
  color: #000;
  box-shadow: 0 14px 38px rgba(255, 230, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
.btn-glass {
  background: var(--glass-2);
  border-color: var(--stroke);
  color: var(--text);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.btn-glass:hover {
  transform: translateY(-2px);
  border-color: rgba(89, 194, 255, 0.5);
  color: var(--cyan);
  box-shadow: 0 10px 30px rgba(47, 124, 246, 0.25);
}
.nav .btn { padding: 0.55rem 1.1rem; font-size: 0.8rem; }

.nav-toggle {
  display: none;
  margin-left: auto;
  background: var(--glass-2);
  border: 1px solid var(--stroke);
  border-radius: 12px;
  width: 44px;
  height: 42px;
  cursor: pointer;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  border-radius: 2px;
  background: var(--yellow);
  transition: all 0.3s ease;
}
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 20px; }
.nav-toggle span:nth-child(3) { top: 26px; }
.nav.open .nav-toggle span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.open .nav-toggle span:nth-child(3) { top: 20px; transform: rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 130px 0 90px;
}
.hero-video {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(700px 500px at 30% 30%, rgba(47, 124, 246, 0.25), transparent 60%),
    var(--bg-1);
}
.hero-video iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: max(100vw, 177.78vh);
  height: max(100vh, 56.25vw);
  transform: translate(-50%, -50%);
  pointer-events: none;
  border: 0;
  opacity: 0.55;
}
.hero-video::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 45%, transparent 20%, rgba(4, 5, 10, 0.55) 75%),
    linear-gradient(180deg, rgba(4, 5, 10, 0.75), rgba(4, 5, 10, 0.35) 35%, rgba(4, 5, 10, 0.92) 100%);
}

.hero-content { position: relative; max-width: 880px; padding-inline: 1.2rem; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(47, 124, 246, 0.12);
  border: 1px solid rgba(89, 194, 255, 0.3);
  border-radius: 99px;
  padding: 0.5rem 1.2rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  margin-bottom: 1.6rem;
}
.hero-eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 12px var(--yellow);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7.5vw, 5.4rem);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -0.02em;
  margin-bottom: 1.3rem;
  background: linear-gradient(120deg, #ffffff 25%, var(--cyan) 55%, var(--yellow) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 6px 40px rgba(47, 124, 246, 0.35));
}
.hero p.lead {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: #c4cede;
  max-width: 620px;
  margin: 0 auto 2.2rem;
}
.hero-actions {
  display: flex;
  gap: 0.9rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.6rem;
}
.hero-chips {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  flex-wrap: wrap;
}
.chip {
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  background: var(--glass);
  border: 1px solid var(--stroke-soft);
  border-radius: 99px;
  padding: 0.45rem 1rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.chip strong { color: var(--yellow); font-weight: 700; }

.hero-scroll {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-dim);
  animation: bob 2.2s ease-in-out infinite;
}
.hero-scroll svg { width: 26px; height: 26px; }
@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 9px); }
}

/* ============================================================
   SECCIONES
   ============================================================ */
section.block { padding: 5.5rem 0 2rem; }

.section-head { text-align: center; margin-bottom: 3.2rem; }
.section-head .kicker {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--yellow);
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.9rem;
}
.section-head .kicker::before,
.section-head .kicker::after {
  content: "";
  height: 1px;
  width: 42px;
  background: linear-gradient(90deg, transparent, var(--yellow));
}
.section-head .kicker::after { background: linear-gradient(90deg, var(--yellow), transparent); }
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.section-head p {
  color: var(--text-dim);
  max-width: 560px;
  margin: 0.8rem auto 0;
}

/* ============================================================
   TARJETAS DE PRODUCTO
   ============================================================ */
.grid-products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 1.6rem;
}

.card-product {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025) 50%, rgba(255, 255, 255, 0.01));
  border: 1px solid var(--stroke);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  overflow: hidden;
  transition: transform 0.32s cubic-bezier(0.2, 0.7, 0.3, 1), border-color 0.32s ease, box-shadow 0.32s ease;
}
.card-product:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 230, 0, 0.4);
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 230, 0, 0.15),
    0 0 60px rgba(255, 230, 0, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.card-media {
  position: relative;
  padding: 1.6rem 1.6rem 0.4rem;
  display: flex;
  justify-content: center;
}
.card-media::before {
  content: "";
  position: absolute;
  inset: 10% 15% 0;
  background: radial-gradient(ellipse 60% 55% at 50% 55%, rgba(47, 124, 246, 0.35), transparent 70%);
  filter: blur(8px);
  transition: opacity 0.35s ease;
}
.card-product:hover .card-media::before {
  background: radial-gradient(ellipse 60% 55% at 50% 55%, rgba(47, 124, 246, 0.45), rgba(255, 230, 0, 0.08) 60%, transparent 75%);
}
.card-media img {
  position: relative;
  height: 250px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.6));
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.3, 1);
  -webkit-box-reflect: below 4px linear-gradient(transparent 68%, rgba(255, 255, 255, 0.14));
}
.card-product:hover .card-media img { transform: scale(1.05) translateY(-4px); }

/* Piso de cristal bajo la PC */
.card-media::after {
  content: "";
  position: absolute;
  left: 14%;
  right: 14%;
  bottom: 0;
  height: 28px;
  background: radial-gradient(ellipse 50% 100% at 50% 50%,
    rgba(89, 194, 255, 0.65),
    rgba(47, 124, 246, 0.3) 45%,
    rgba(0, 0, 0, 0.55) 72%,
    transparent 88%);
  filter: blur(8px);
  transform: scaleY(0.6);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}
.card-product:hover .card-media::after {
  transform: scaleY(0.75) scaleX(1.06);
  opacity: 0.9;
}

/* Destello de luz al pasar el mouse */
.card-product::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(115deg,
    transparent 42%,
    rgba(255, 255, 255, 0.09) 50%,
    rgba(89, 194, 255, 0.06) 54%,
    transparent 62%);
  transform: translateX(-130%);
  pointer-events: none;
}
.card-product:hover::after {
  transform: translateX(130%);
  transition: transform 0.9s ease;
}

.card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #131200;
  background: linear-gradient(135deg, #ffef5c, var(--yellow));
  padding: 0.35rem 0.8rem;
  border-radius: 99px;
  box-shadow: 0 4px 16px rgba(255, 230, 0, 0.35);
}
.card-badge.blue {
  color: #fff;
  background: linear-gradient(135deg, #59c2ff, var(--blue));
  box-shadow: 0 4px 16px rgba(47, 124, 246, 0.45);
}

.card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.1rem 1.5rem 1.5rem;
}
.card-body h3 {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.3;
}
.card-desc {
  font-size: 0.82rem;
  color: var(--cyan);
  margin-top: 0.4rem;
  line-height: 1.4;
  font-style: italic;
}
.featured-body .card-desc {
  font-size: 0.95rem;
  margin: 0.2rem 0 0.4rem;
}

.specs {
  list-style: none;
  margin: 0.9rem 0 1.1rem;
  display: grid;
  gap: 0.45rem;
}
.specs li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.86rem;
  color: var(--text-dim);
  padding: 0.42rem 0.7rem;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--stroke-soft);
  border-radius: 10px;
}
.specs li svg {
  width: 16px;
  height: 16px;
  color: var(--cyan);
  flex-shrink: 0;
}
.specs li b { color: var(--text); font-weight: 600; }

.card-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--stroke-soft);
}
.price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.55rem;
  color: var(--yellow);
  text-shadow: 0 0 30px rgba(255, 230, 0, 0.35);
  line-height: 1;
}
.price small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--text-dim);
  letter-spacing: 0.1em;
  margin-bottom: 0.3rem;
  text-shadow: none;
}
.card-foot .btn { padding: 0.6rem 1.05rem; font-size: 0.8rem; }

/* Botones de cotización (solo visibles para admin logueado) */
.card-cot {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px dashed rgba(255, 230, 0, 0.25);
}
.card-cot .cot-btn {
  flex: 1;
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--yellow);
  background: rgba(255, 230, 0, 0.08);
  border: 1px solid rgba(255, 230, 0, 0.3);
  border-radius: 10px;
  padding: 0.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
}
.card-cot .cot-btn:hover { background: rgba(255, 230, 0, 0.18); color: #fff; }

/* Mini-recuadro (modal) de cotización */
.cot-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.cot-modal.abierto { display: flex; }
.cot-modal-bg {
  position: absolute;
  inset: 0;
  background: rgba(4, 5, 10, 0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.cot-modal-caja {
  position: relative;
  width: min(420px, 100%);
  background: linear-gradient(160deg, rgba(20, 26, 42, 0.98), rgba(10, 13, 22, 0.98));
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6);
}
.cot-modal-caja h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 1.1rem;
}
.cot-modal-fmt { color: var(--yellow); font-weight: 600; }
.cot-modal-x {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--glass-2);
  border: 1px solid var(--stroke);
  color: var(--text);
  cursor: pointer;
  font-size: 0.9rem;
}
.cot-modal-x:hover { color: var(--yellow); }
.cot-modal-caja form { display: grid; gap: 0.9rem; }
.cot-modal-caja label {
  display: grid;
  gap: 0.35rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-dim);
}
.cot-modal-caja input {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--stroke);
  border-radius: 12px;
  padding: 0.7rem 0.9rem;
  outline: none;
}
.cot-modal-caja input:focus { border-color: rgba(255, 230, 0, 0.5); box-shadow: 0 0 0 3px rgba(255, 230, 0, 0.12); }
.cot-modal-caja .btn { justify-content: center; }
.cot-modal-nota { font-size: 0.78rem; color: var(--text-dim); text-align: center; }

/* Artículos adicionales (compartido con el panel) */
.cot-extras {
  border: 1px solid var(--stroke-soft);
  border-radius: 12px;
  padding: 0.7rem 0.8rem;
  background: rgba(255, 255, 255, 0.02);
}
.cot-extras-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-dim);
}
.cot-add {
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--yellow);
  background: rgba(255, 230, 0, 0.08);
  border: 1px solid rgba(255, 230, 0, 0.3);
  border-radius: 8px;
  padding: 0.35rem 0.7rem;
  cursor: pointer;
}
.cot-add:hover { background: rgba(255, 230, 0, 0.16); }
.cot-extra {
  display: grid;
  grid-template-columns: 56px 1fr 92px 30px;
  gap: 0.4rem;
  margin-top: 0.5rem;
}
.cot-extra input {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--stroke);
  border-radius: 8px;
  padding: 0.5rem 0.55rem;
  outline: none;
  min-width: 0;
}
.cot-extra input:focus { border-color: rgba(255, 230, 0, 0.5); }
.cot-extra-x {
  border: 1px solid var(--stroke);
  background: var(--glass-2);
  color: #ff9d9d;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.8rem;
}
.cot-extras-hint { font-size: 0.72rem; color: var(--text-dim); margin-top: 0.5rem; }

/* ============================================================
   SERVICIOS
   ============================================================ */
.grid-services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.6rem;
}
.card-service {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--stroke);
  min-height: 380px;
  display: flex;
  align-items: flex-end;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.4);
  transition: transform 0.32s cubic-bezier(0.2, 0.7, 0.3, 1), border-color 0.32s ease, box-shadow 0.32s ease;
}
.card-service:hover {
  transform: translateY(-8px);
  border-color: rgba(89, 194, 255, 0.45);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55), 0 0 50px rgba(47, 124, 246, 0.12);
}
.card-service img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.card-service:hover img { transform: scale(1.06); }
.card-service::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(185deg, rgba(4, 5, 10, 0.05) 30%, rgba(4, 5, 10, 0.82) 72%, rgba(4, 5, 10, 0.95));
  z-index: 1;
}
.service-info {
  position: relative;
  z-index: 2;
  margin: 1rem;
  width: calc(100% - 2rem);
  padding: 1.2rem 1.3rem;
  border-radius: var(--radius-sm);
  background: rgba(10, 13, 22, 0.55);
  border: 1px solid var(--stroke);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.service-info h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 0.35rem;
  color: var(--yellow);
}
.service-info p { font-size: 0.88rem; color: #c4cede; }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  padding: 3.2rem 2rem;
  text-align: center;
  background:
    radial-gradient(600px 300px at 20% 0%, rgba(47, 124, 246, 0.3), transparent 60%),
    radial-gradient(500px 300px at 85% 100%, rgba(255, 230, 0, 0.12), transparent 60%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--stroke);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.cta-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 0.7rem;
}
.cta-banner h2 span { color: var(--yellow); }
.cta-banner p { color: var(--text-dim); max-width: 520px; margin: 0 auto 1.8rem; }

/* ============================================================
   GALERÍA MARQUEE (componentes)
   ============================================================ */
.marquee {
  overflow: hidden;
  padding: 0.5rem 0 1rem;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  gap: 1.4rem;
  width: max-content;
  animation: marquee 36s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee {
  to { transform: translateX(-50%); }
}
.marquee-item {
  width: 320px;
  height: 210px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--stroke);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.4);
  flex-shrink: 0;
}
.marquee-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.marquee-item:hover img { transform: scale(1.07); }

/* ============================================================
   TABS DE PRECIOS (componentes)
   ============================================================ */
.tabs-wrap { max-width: 860px; margin-inline: auto; }
.tabs-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  margin-bottom: 1.8rem;
}
.tab-btn {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  color: var(--text-dim);
  background: var(--glass);
  border: 1px solid var(--stroke-soft);
  border-radius: 99px;
  padding: 0.6rem 1.25rem;
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.25s ease;
}
.tab-btn:hover { color: var(--text); border-color: var(--stroke); background: var(--glass-2); }
.tab-btn.active {
  color: #131200;
  background: linear-gradient(135deg, #ffef5c, var(--yellow));
  border-color: transparent;
  box-shadow: 0 6px 24px rgba(255, 230, 0, 0.3);
}

.tab-pane { display: none; }
.tab-pane.active { display: block; animation: fadeUp 0.4s ease; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.price-list {
  list-style: none;
  padding: 1.6rem 1.8rem;
}
.price-list li {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  padding: 0.72rem 0.2rem;
  font-size: 0.94rem;
}
.price-list li + li { border-top: 1px dashed rgba(255, 255, 255, 0.08); }
.price-list .item-name { color: var(--text); }
.price-list .leader {
  flex: 1;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.16);
  transform: translateY(-4px);
}
.price-list .item-price {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--yellow);
  white-space: nowrap;
}
.price-list li:hover .item-name { color: var(--cyan); }

/* ============================================================
   ARTÍCULO (aviso de privacidad)
   ============================================================ */
.article {
  max-width: 820px;
  margin-inline: auto;
  padding: 2.6rem clamp(1.4rem, 4vw, 3rem);
}
.article h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 1.6rem;
  background: linear-gradient(120deg, #fff 30%, var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.article h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--yellow);
  margin: 1.8rem 0 0.6rem;
}
.article p { color: #c4cede; margin-bottom: 1rem; font-size: 0.96rem; }
.article ul {
  margin: 0.4rem 0 1rem 1.2rem;
  color: #c4cede;
}
.article ul li { margin-bottom: 0.35rem; }
.article ul li::marker { color: var(--yellow); }
.article .meta {
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--stroke-soft);
  font-size: 0.84rem;
  color: var(--text-dim);
}

/* Encabezado de página interior */
.page-head {
  padding: 170px 0 40px;
  text-align: center;
}
.page-head h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  background: linear-gradient(120deg, #fff 25%, var(--cyan) 60%, var(--yellow));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 6px 40px rgba(47, 124, 246, 0.3));
}
.page-head p {
  color: var(--text-dim);
  margin-top: 0.9rem;
  font-size: 1.05rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  margin-top: 5rem;
  padding: 0 0 2rem;
}
.footer-card {
  padding: 2.8rem clamp(1.4rem, 4vw, 3rem) 1.6rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.3fr;
  gap: 2.4rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--stroke-soft);
}
.footer-brand .nav-logo { margin-bottom: 1rem; }
.footer-brand p { color: var(--text-dim); font-size: 0.9rem; max-width: 280px; }
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; display: grid; gap: 0.55rem; }
.footer-col a, .footer-col li {
  color: var(--text-dim);
  font-size: 0.92rem;
}
.footer-col a:hover { color: var(--yellow); }
.footer-col li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}
.footer-col li svg {
  width: 16px;
  height: 16px;
  color: var(--cyan);
  flex-shrink: 0;
  margin-top: 4px;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.4rem;
  color: var(--text-dim);
  font-size: 0.82rem;
}
.footer-bottom a { color: var(--text-dim); }
.footer-bottom a:hover { color: var(--yellow); }

/* ============================================================
   BOTÓN FLOTANTE WHATSAPP
   ============================================================ */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #34e07a, #1fae55);
  box-shadow: 0 10px 30px rgba(31, 174, 85, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.wa-float:hover {
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 16px 40px rgba(31, 174, 85, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.wa-float svg { width: 30px; height: 30px; color: #fff; }

/* ============================================================
   ANIMACIONES DE ENTRADA
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.3, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.3, 1);
  transition-delay: var(--d, 0s);
}
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
}

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-inner { flex-wrap: wrap; }
  .nav-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 0.6rem;
    padding: 0.8rem 0.2rem 0.6rem;
  }
  .nav.open .nav-menu { display: flex; }
  .nav-links {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    margin-left: 0;
  }
  .nav-links a { text-align: center; padding: 0.8rem; }
  .nav-menu .btn { justify-content: center; width: 100%; }
  section.block { padding: 3.5rem 0 1.5rem; }
  .page-head { padding: 140px 0 20px; }
  .card-media img { height: 210px; }
  .marquee-item { width: 240px; height: 165px; }
}

@media (min-width: 821px) {
  .nav-menu { display: flex; align-items: center; gap: 1rem; margin-left: auto; }
}

/* ============================================================
   BANNER DE PROMOCIONES
   ============================================================ */
.promo-bar {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  margin-bottom: 1.5rem;
  padding: 0.55rem 1.1rem;
  border-radius: 99px;
  background: rgba(255, 230, 0, 0.09);
  border: 1px solid rgba(255, 230, 0, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 6px 30px rgba(255, 230, 0, 0.12);
  animation: promoGlow 2.6s ease-in-out infinite;
}
@keyframes promoGlow {
  0%, 100% { box-shadow: 0 6px 30px rgba(255, 230, 0, 0.12); }
  50% { box-shadow: 0 6px 42px rgba(255, 230, 0, 0.28); }
}
.promo-tag {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #131200;
  background: linear-gradient(135deg, #ffef5c, var(--yellow));
  border-radius: 99px;
  padding: 0.22rem 0.7rem;
}
.promo-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--yellow-soft);
}
.promo-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--yellow);
}
.promo-link svg { width: 14px; height: 14px; }

/* ============================================================
   CONTACTO (formulario + mapa)
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1.6rem;
  align-items: stretch;
}
.contact-form { padding: 1.8rem; }
.contact-form form { display: grid; gap: 1rem; }
.contact-form label {
  display: grid;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-dim);
}
.contact-form input,
.contact-form textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.95rem;
  outline: none;
  resize: vertical;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(154, 166, 189, 0.55); }
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(255, 230, 0, 0.5);
  box-shadow: 0 0 0 3px rgba(255, 230, 0, 0.12);
}
.contact-form .btn { justify-content: center; }
.contact-map {
  overflow: hidden;
  padding: 0.6rem;
  min-height: 320px;
  display: flex;
}
.contact-map iframe {
  flex: 1;
  width: 100%;
  border: 0;
  border-radius: calc(var(--radius) - 8px);
  filter: grayscale(35%) contrast(1.05);
  min-height: 300px;
}
.alert {
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 1.1rem;
}
.alert.ok {
  background: rgba(52, 224, 122, 0.12);
  border: 1px solid rgba(52, 224, 122, 0.4);
  color: #7dedaa;
}
.alert.bad {
  background: rgba(255, 99, 99, 0.1);
  border: 1px solid rgba(255, 99, 99, 0.4);
  color: #ff9d9d;
}

/* Redes sociales en footer */
.social-row { display: flex; gap: 0.6rem; margin-top: 1.1rem; }
.social-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  color: var(--text-dim);
  background: var(--glass-2);
  border: 1px solid var(--stroke-soft);
  transition: all 0.25s ease;
}
.social-row a:hover {
  color: var(--yellow);
  border-color: rgba(255, 230, 0, 0.4);
  transform: translateY(-2px);
}
.social-row svg { width: 18px; height: 18px; }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-map { min-height: 260px; }
}

/* ============================================================
   PC GAMER DEL MES
   ============================================================ */
.featured {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 1rem;
  overflow: hidden;
  position: relative;
  border-color: rgba(255, 230, 0, 0.35) !important;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.5),
    0 0 80px rgba(255, 230, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
}
.featured-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.4rem 1.4rem;
}
.featured-media::before {
  content: "";
  position: absolute;
  inset: 12%;
  background: radial-gradient(ellipse 60% 55% at 50% 55%, rgba(47, 124, 246, 0.45), rgba(255, 230, 0, 0.1) 65%, transparent 78%);
  filter: blur(10px);
}
.featured-media img {
  position: relative;
  max-height: 380px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.65));
  -webkit-box-reflect: below 5px linear-gradient(transparent 70%, rgba(255, 255, 255, 0.13));
}
.featured-media::after {
  content: "";
  position: absolute;
  left: 20%;
  right: 20%;
  bottom: 14px;
  height: 26px;
  background: radial-gradient(ellipse 50% 100% at 50% 50%,
    rgba(89, 194, 255, 0.45),
    rgba(255, 230, 0, 0.12) 50%,
    rgba(0, 0, 0, 0.5) 72%,
    transparent 86%);
  filter: blur(8px);
  transform: scaleY(0.6);
  pointer-events: none;
}
.featured-ribbon {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #131200;
  background: linear-gradient(135deg, #ffef5c, var(--yellow));
  padding: 0.45rem 1rem;
  border-radius: 99px;
  box-shadow: 0 6px 22px rgba(255, 230, 0, 0.4);
  animation: promoGlow 2.6s ease-in-out infinite;
}
.featured-body {
  padding: 2.4rem 2.2rem 2.4rem 0.6rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.kicker-mini {
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  color: var(--cyan);
  margin-bottom: 0.6rem;
}
.featured-body h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.1rem;
}
.featured-specs { grid-template-columns: 1fr 1fr; }
.featured-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.3rem;
  padding-top: 1.3rem;
  border-top: 1px solid var(--stroke-soft);
}
.price.grande { font-size: 2.2rem; }

@media (max-width: 820px) {
  .featured { grid-template-columns: 1fr; }
  .featured-body { padding: 0 1.6rem 1.8rem; }
  .featured-media img { max-height: 260px; }
  .featured-specs { grid-template-columns: 1fr; }
}

/* ============================================================
   RESEÑAS
   ============================================================ */
.resenas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.3rem;
  margin-bottom: 2.4rem;
}
.resena-card {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 1.3rem 1.4rem;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.resena-head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.8rem;
}
.resena-head strong {
  font-family: var(--font-display);
  font-size: 0.95rem;
  display: block;
}
.resena-avatar {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}
.resena-avatar img, .resena-avatar svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.estrellas { display: inline-flex; gap: 2px; margin-top: 2px; }
.estrellas svg {
  width: 14px;
  height: 14px;
  color: rgba(255, 255, 255, 0.15);
}
.estrellas svg.on {
  color: var(--yellow);
  filter: drop-shadow(0 0 6px rgba(255, 230, 0, 0.5));
}
.resena-card p {
  font-size: 0.9rem;
  color: #c4cede;
}

.resena-form-wrap { max-width: 640px; margin-inline: auto; }
.resena-form { padding: 1.8rem; }
.resena-form h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 1.1rem;
  color: var(--yellow);
}
.resena-form form { display: grid; gap: 1rem; }
.resena-form label {
  display: grid;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-dim);
}
.resena-form input[type="text"],
.resena-form textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.95rem;
  outline: none;
  resize: vertical;
}
.resena-form input:focus,
.resena-form textarea:focus {
  border-color: rgba(255, 230, 0, 0.5);
  box-shadow: 0 0 0 3px rgba(255, 230, 0, 0.12);
}
.resena-form input[type="file"] {
  color: var(--text-dim);
  font-size: 0.85rem;
}
.resena-form .foto-label small {
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: 0;
  color: var(--text-dim);
}
.resena-form .btn { justify-content: center; }
.resena-form-fila {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: end;
}
.campo-estrellas { display: grid; gap: 0.4rem; }
.etiq-estrellas {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-dim);
}
.star-input {
  display: inline-flex;
  flex-direction: row-reverse;
  gap: 2px;
  padding: 0.55rem 0.8rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-sm);
}
.star-input input { position: absolute; opacity: 0; pointer-events: none; }
.star-input label { cursor: pointer; display: inline-flex; }
.star-input svg {
  width: 24px;
  height: 24px;
  color: rgba(255, 255, 255, 0.18);
  transition: color 0.15s ease, transform 0.15s ease;
}
.star-input label:hover svg,
.star-input label:hover ~ label svg,
.star-input input:checked ~ label svg {
  color: var(--yellow);
}
.star-input label:hover svg { transform: scale(1.15); }

@media (max-width: 640px) {
  .resena-form-fila { grid-template-columns: 1fr; align-items: start; }
}

/* ============================================================
   EDICIÓN EN VIVO (solo admin logueado)
   ============================================================ */
.edit-bar {
  position: fixed;
  bottom: 22px;
  left: 22px;
  z-index: 95;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.6rem 1rem;
  border-radius: 14px;
  background: rgba(6, 8, 15, 0.9);
  border: 1px solid rgba(255, 230, 0, 0.4);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
  font-size: 0.82rem;
}
.edit-bar-txt { color: var(--text-dim); }
.edit-bar-btn {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: #131200;
  background: linear-gradient(135deg, #ffef5c, var(--yellow));
  border: 0;
  border-radius: 10px;
  padding: 0.5rem 0.9rem;
  cursor: pointer;
}
.edit-bar-link {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--cyan);
}
.campo-editable {
  outline: 2px dashed rgba(255, 230, 0, 0.55);
  outline-offset: 3px;
  border-radius: 4px;
  cursor: text;
  min-width: 24px;
}
.campo-editable:focus {
  outline: 2px solid var(--yellow);
  background: rgba(255, 230, 0, 0.08);
}
.edit-acciones {
  display: flex;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem 1.2rem;
}
.edit-acciones button {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 10px;
  padding: 0.5rem 0.9rem;
  cursor: pointer;
  border: 1px solid var(--stroke);
  background: var(--glass-2);
  color: var(--text);
}
.edit-acciones .edit-guardar {
  background: linear-gradient(135deg, #ffef5c, var(--yellow));
  color: #131200;
  border-color: transparent;
}
body.editando .card-product:hover { transform: none; }
.featured .edit-acciones { padding: 0 2.2rem 1.4rem 0.6rem; }
@media (max-width: 640px) {
  .edit-bar { left: 12px; right: 84px; flex-wrap: wrap; }
}

/* ============================================================
   CUENTA REGRESIVA DE PROMO
   ============================================================ */
.promo-cuenta {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  color: #131200;
  background: linear-gradient(135deg, #ffef5c, var(--yellow));
  border-radius: 99px;
  padding: 0.22rem 0.8rem;
  font-variant-numeric: tabular-nums;
}

/* ============================================================
   TIKTOK
   ============================================================ */
.tiktok-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.4rem;
  justify-items: center;
}
.tiktok-frame {
  width: 100%;
  max-width: 330px;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--stroke);
  background: var(--bg-1);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.tiktok-frame:hover {
  transform: translateY(-6px);
  border-color: rgba(89, 194, 255, 0.45);
}
.tiktok-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ============================================================
   GALERÍA DE GABINETES
   ============================================================ */
.gabinetes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.3rem;
}
.gabinete-card {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--stroke);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  aspect-ratio: 4 / 5;
  transition: transform 0.32s cubic-bezier(0.2, 0.7, 0.3, 1), border-color 0.32s ease, box-shadow 0.32s ease;
}
.gabinete-card:hover {
  transform: translateY(-8px);
  border-color: rgba(89, 194, 255, 0.45);
  box-shadow: 0 30px 66px rgba(0, 0, 0, 0.55), 0 0 50px rgba(47, 124, 246, 0.12);
}
.gabinete-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gabinete-card:hover img { transform: scale(1.07); }
.gabinete-card figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.4rem 1rem 0.9rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: #fff;
  background: linear-gradient(0deg, rgba(4, 5, 10, 0.9), transparent);
}

/* ============================================================
   PREGUNTAS FRECUENTES
   ============================================================ */
.faq-list {
  max-width: 760px;
  margin-inline: auto;
  display: grid;
  gap: 0.8rem;
}
.faq-item {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--stroke);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  overflow: hidden;
  transition: border-color 0.25s ease;
}
.faq-item[open] { border-color: rgba(255, 230, 0, 0.35); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  list-style: none;
  padding: 1.05rem 1.3rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--yellow); }
.faq-flecha {
  width: 18px;
  height: 18px;
  color: var(--yellow);
  flex-shrink: 0;
  transition: transform 0.25s ease;
}
.faq-item[open] .faq-flecha { transform: rotate(180deg); }
.faq-item > p {
  padding: 0 1.3rem 1.15rem;
  color: #c4cede;
  font-size: 0.92rem;
}

/* ============================================================
   EFECTOS OPCIONALES DE LAS FICHAS (se activan desde Ajustes)
   ============================================================ */

/* ---- Inclinación 3D ---- */
.fx-tilt .card-product,
.fx-tilt .featured {
  transform-style: preserve-3d;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
  will-change: transform;
}
.fx-tilt .card-media,
.fx-tilt .featured-media {
  transition: transform 0.12s ease;
  transform-style: preserve-3d;
}

/* ---- Borde de luz animado ---- */
@property --fx-ang {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}
.fx-borde .card-product::before,
.fx-borde .featured::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: conic-gradient(from var(--fx-ang),
    transparent 0%,
    rgba(47, 124, 246, 0.9) 15%,
    rgba(89, 194, 255, 0.9) 28%,
    rgba(255, 230, 0, 0.9) 42%,
    transparent 55%,
    transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 3;
  animation: fx-girar 4.5s linear infinite;
}
@keyframes fx-girar {
  to { --fx-ang: 360deg; }
}
/* Respaldo para navegadores sin @property: borde estático suave */
@supports not (background: conic-gradient(from var(--fx-ang), red, blue)) {
  .fx-borde .card-product,
  .fx-borde .featured {
    border-color: rgba(89, 194, 255, 0.45);
  }
}

/* ---- Precio con brillo pulsante ---- */
.fx-precio .price {
  animation: fx-latido 2.2s ease-in-out infinite;
}
@keyframes fx-latido {
  0%, 100% { text-shadow: 0 0 20px rgba(255, 230, 0, 0.3); }
  50% { text-shadow: 0 0 34px rgba(255, 230, 0, 0.75), 0 0 10px rgba(255, 230, 0, 0.5); }
}

@media (prefers-reduced-motion: reduce) {
  .fx-borde .card-product::before,
  .fx-borde .featured::before,
  .fx-precio .price { animation: none; }
}

/* ============================================================
   OFERTAS, AGOTADO Y GALERÍA POR PC
   ============================================================ */

/* Precio anterior tachado */
.precio-antes {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dim);
  text-decoration: line-through;
  text-shadow: none;
  margin-right: 0.45rem;
}
.price.grande .precio-antes { font-size: 1.15rem; }

/* Chip de descuento (arriba a la derecha de la foto) */
.oferta-chip {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: #04250f;
  background: linear-gradient(135deg, #7dedaa, #34e07a);
  padding: 0.35rem 0.75rem;
  border-radius: 99px;
  box-shadow: 0 4px 16px rgba(52, 224, 122, 0.4);
}

/* Listón de AGOTADO */
.agotado-ribbon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-12deg);
  z-index: 3;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: #ff9d9d;
  background: rgba(10, 13, 22, 0.85);
  border: 2px solid rgba(255, 99, 99, 0.7);
  border-radius: 10px;
  padding: 0.45rem 1.3rem;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  pointer-events: none;
}
.card-product.agotada .card-media img { filter: grayscale(0.85) brightness(0.75) drop-shadow(0 18px 30px rgba(0, 0, 0, 0.6)); }
.card-product.agotada .price { opacity: 0.65; }

/* Flechas y puntos de la galería */
.foto-nav {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  z-index: 4;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--stroke);
  background: rgba(10, 13, 22, 0.65);
  color: #fff;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.25s ease, background 0.2s ease;
}
.card-media:hover .foto-nav,
.featured-media:hover .foto-nav { opacity: 1; }
.foto-nav:hover { background: rgba(255, 230, 0, 0.25); border-color: rgba(255, 230, 0, 0.5); }
.foto-prev { left: 10px; }
.foto-next { right: 10px; }
.foto-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  gap: 6px;
}
.foto-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.foto-dots span.on {
  background: var(--yellow);
  transform: scale(1.25);
  box-shadow: 0 0 8px rgba(255, 230, 0, 0.6);
}
@media (hover: none) {
  .foto-nav { opacity: 1; } /* en celular las flechas siempre visibles */
}

/* ============================================================
   PANEL DE PEDIDO (el cliente arma su compra antes de WhatsApp)
   ============================================================ */
.pedido-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 2.5rem 1rem;
  overflow-y: auto;
}
.pedido-modal.abierto { display: flex; }
.pedido-bg {
  position: fixed;
  inset: 0;
  background: rgba(4, 5, 10, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.pedido-caja {
  position: relative;
  width: min(700px, 100%);
  background: linear-gradient(165deg, rgba(20, 26, 42, 0.98), rgba(8, 11, 20, 0.99));
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  animation: pdEntra 0.32s cubic-bezier(0.2, 0.7, 0.3, 1);
}
@keyframes pdEntra {
  from { opacity: 0; transform: translateY(24px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
.pedido-x {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--glass-2);
  border: 1px solid var(--stroke);
  color: var(--text);
  cursor: pointer;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}
.pedido-x:hover { color: var(--yellow); border-color: rgba(255, 230, 0, 0.45); }

/* Equipo elegido */
.pd-equipo {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1.2rem;
  margin-bottom: 1.2rem;
  border-bottom: 1px solid var(--stroke-soft);
}
.pd-equipo img {
  width: 84px;
  height: 84px;
  object-fit: contain;
  border-radius: 14px;
  background: radial-gradient(circle at 50% 60%, rgba(47, 124, 246, 0.3), transparent 70%);
  padding: 5px;
  flex-shrink: 0;
}
.pd-kicker {
  display: block;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--cyan);
}
.pd-equipo h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 0.2rem 0;
  color: var(--yellow);
}
.pd-specs { font-size: 0.8rem; color: var(--text-dim); line-height: 1.4; }

/* Campos */
.pd-campos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  margin-bottom: 1.4rem;
}
.pd-campos label {
  display: grid;
  gap: 0.35rem;
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-dim);
}
.pd-campos input {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--stroke);
  border-radius: 12px;
  padding: 0.7rem 0.85rem;
  outline: none;
  width: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.pd-campos input:focus {
  border-color: rgba(255, 230, 0, 0.5);
  box-shadow: 0 0 0 3px rgba(255, 230, 0, 0.12);
}
.pd-campos input::placeholder { color: rgba(154, 166, 189, 0.5); }

/* Títulos de bloque */
.pd-titulo {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
}

/* Opciones (pago / entrega) */
.pd-ops { display: grid; gap: 0.7rem; margin-bottom: 1.4rem; }
.pd-ops-3 { grid-template-columns: repeat(3, 1fr); }
.pd-ops-2 { grid-template-columns: repeat(2, 1fr); }
.pd-op { cursor: pointer; display: flex; }
.pd-op input { position: absolute; opacity: 0; pointer-events: none; }
.pd-op-caja {
  display: flex;
  flex-direction: column;
  flex: 1;
  background: rgba(255, 255, 255, 0.035);
  border: 1.5px solid var(--stroke);
  border-radius: var(--radius-sm);
  padding: 0.85rem 0.9rem;
  transition: all 0.22s ease;
}
.pd-op:hover .pd-op-caja { border-color: rgba(89, 194, 255, 0.4); background: rgba(255, 255, 255, 0.06); }
.pd-op.on .pd-op-caja {
  border-color: var(--yellow);
  background: rgba(255, 230, 0, 0.08);
  box-shadow: 0 0 0 3px rgba(255, 230, 0, 0.1);
}
.pd-op-nom {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
}
.pd-op-sub {
  display: block;
  font-size: 0.74rem;
  color: var(--text-dim);
  margin: 0.15rem 0 0;
  line-height: 1.35;
}
.pd-op-precio {
  display: block;
  margin-top: auto; /* deja los precios alineados abajo aunque falte el subtítulo */
  padding-top: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--cyan);
}
.pd-op.on .pd-op-precio { color: var(--yellow); }
.pd-op-nota {
  display: block;
  font-size: 0.7rem;
  color: var(--text-dim);
  margin-top: 0.2rem;
}

/* Resumen */
.pd-resumen {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--stroke-soft);
  border-radius: var(--radius-sm);
  padding: 1rem 1.2rem;
  margin-bottom: 1.2rem;
}
.pd-linea {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--text-dim);
  padding: 0.25rem 0;
}
.pd-linea span:last-child { color: var(--text); font-weight: 600; }
.pd-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-top: 0.7rem;
  padding-top: 0.7rem;
  border-top: 1px solid var(--stroke-soft);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
}
.pd-total span:last-child {
  font-size: 1.7rem;
  color: var(--yellow);
  text-shadow: 0 0 30px rgba(255, 230, 0, 0.35);
}
.pd-mensual {
  font-size: 0.8rem;
  color: var(--cyan);
  text-align: right;
  margin-top: 0.2rem;
}

/* Botón confirmar */
.pd-confirmar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: #04250f;
  background: linear-gradient(135deg, #34e07a, #1fae55);
  border: 0;
  border-radius: 14px;
  padding: 1rem;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(31, 174, 85, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.pd-confirmar svg { width: 20px; height: 20px; }
.pd-confirmar:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(31, 174, 85, 0.5); }
.pd-confirmar:disabled { opacity: 0.6; cursor: wait; transform: none; }
.pd-nota {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-align: center;
  margin-top: 0.8rem;
}

/* Aviso de pedido registrado */
.pedido-aviso {
  position: fixed;
  top: 90px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 250;
  max-width: min(520px, 92%);
  padding: 0.9rem 1.3rem;
  border-radius: 14px;
  font-size: 0.92rem;
  font-weight: 600;
  text-align: center;
  background: rgba(52, 224, 122, 0.15);
  border: 1px solid rgba(52, 224, 122, 0.5);
  color: #7dedaa;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.pedido-aviso.bad {
  background: rgba(255, 99, 99, 0.15);
  border-color: rgba(255, 99, 99, 0.5);
  color: #ff9d9d;
}

@media (max-width: 700px) {
  .pedido-modal { padding: 1rem 0.7rem 2rem; align-items: flex-start; }
  .pedido-caja { padding: 1.3rem 1.1rem; }
  .pd-campos { grid-template-columns: 1fr; }
  .pd-ops-3, .pd-ops-2 { grid-template-columns: 1fr; }
  .pd-equipo img { width: 64px; height: 64px; }
  .pd-equipo h3 { font-size: 1.05rem; }
  .pd-total span:last-child { font-size: 1.4rem; }
}

/* ============================================================
   BLOG
   ============================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.6rem;
}
.blog-card {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  overflow: hidden;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}
.blog-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 230, 0, 0.35);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.5);
}
.blog-card > a { display: block; color: inherit; height: 100%; }
.blog-card-img { height: 190px; overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s ease; }
.blog-card:hover .blog-card-img img { transform: scale(1.06); }
.blog-card-body { padding: 1.3rem 1.4rem 1.5rem; }
.blog-card-body time {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--cyan);
}
.blog-card-body h2 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0.5rem 0 0.6rem;
}
.blog-card:hover .blog-card-body h2 { color: var(--yellow); }
.blog-card-body p { font-size: 0.9rem; color: var(--text-dim); line-height: 1.55; }
.blog-leer {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--yellow);
}
.blog-leer svg { width: 15px; height: 15px; }
.vacio-blog { text-align: center; color: var(--text-dim); padding: 3rem 0; }
.paginacion-blog {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  margin-top: 2.5rem;
  color: var(--text-dim);
  font-size: 0.9rem;
  flex-wrap: wrap;
}

/* Migas de pan */
.miga {
  max-width: 820px;
  margin: 0 auto 1rem;
  font-size: 0.82rem;
  color: var(--text-dim);
}
.miga a { color: var(--cyan); }
.miga a:hover { color: var(--yellow); }

/* Artículo */
.articulo-fecha {
  display: block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--cyan);
  margin-bottom: 0.7rem;
}
.articulo-resumen {
  font-size: 1.05rem;
  color: #c4cede;
  font-style: italic;
  border-left: 3px solid var(--yellow);
  padding-left: 1rem;
  margin-bottom: 1.6rem;
}
.articulo-img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 1.8rem;
}
.articulo-cuerpo p { color: #c4cede; margin-bottom: 1.1rem; font-size: 1rem; line-height: 1.75; }
.articulo-cuerpo h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--yellow);
  margin: 2rem 0 0.8rem;
}
.articulo-cuerpo h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--cyan);
  margin: 1.5rem 0 0.6rem;
}
.articulo-cuerpo ul { margin: 0 0 1.2rem 1.3rem; color: #c4cede; }
.articulo-cuerpo li { margin-bottom: 0.5rem; line-height: 1.65; }
.articulo-cuerpo li::marker { color: var(--yellow); }
.articulo-cuerpo strong { color: var(--text); }
.articulo-cta {
  margin-top: 2.5rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--stroke-soft);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}
.articulo-cta p {
  font-family: var(--font-display);
  font-weight: 600;
  margin-right: auto;
}
.otros-titulo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  text-align: center;
  margin: 3.5rem 0 1.6rem;
}

@media (max-width: 700px) {
  .articulo-cta p { margin-right: 0; width: 100%; }
  .articulo-cta .btn { flex: 1; justify-content: center; }
}

/* Elementos nuevos dentro de los artículos */
.articulo-cuerpo ol {
  margin: 0 0 1.2rem 1.4rem;
  color: #c4cede;
}
.articulo-cuerpo ol li { margin-bottom: 0.5rem; line-height: 1.65; }
.articulo-cuerpo ol li::marker { color: var(--yellow); font-weight: 700; }
.articulo-cuerpo em { color: #dfe6f2; }
.articulo-cuerpo a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.articulo-cuerpo a:hover { color: var(--yellow); }
.articulo-cuerpo blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.3rem;
  border-left: 4px solid var(--yellow);
  background: rgba(255, 230, 0, 0.05);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.articulo-cuerpo blockquote p {
  margin-bottom: 0.5rem;
  font-style: italic;
  color: #dfe6f2;
}
.articulo-cuerpo blockquote p:last-child { margin-bottom: 0; }
.articulo-cuerpo hr {
  border: 0;
  border-top: 1px solid var(--stroke);
  margin: 2rem 0;
}
.articulo-cuerpo img { max-width: 100%; border-radius: var(--radius-sm); }
.art-figura {
  margin: 1.8rem 0;
  text-align: center;
}
.art-figura img {
  width: 100%;
  border-radius: var(--radius-sm);
  border: 1px solid var(--stroke-soft);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}
.art-figura figcaption {
  margin-top: 0.6rem;
  font-size: 0.82rem;
  color: var(--text-dim);
  font-style: italic;
}
