/* ============ MAGIC CENTER — magiccenter.pe ============ */
:root {
  --bg: #0a0a0e;
  --bg-2: #111118;
  --card: #16161f;
  --card-border: #26262f;
  --gold: #d9a53a;
  --gold-2: #f0c060;
  --text: #f5f5f7;
  --muted: #a1a1aa;
  --green: #25d366;
  --green-dark: #128c4a;
  --radius: 16px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

.container { max-width: 1160px; margin: 0 auto; padding: 0 20px; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 10, 14, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--card-border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 78px; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 11px; }
.brand img.fenix { height: 50px; width: auto; }
.brand img.wordmark { height: 36px; width: auto; }
.nav { display: flex; gap: 30px; font-size: 16.5px; font-weight: 500; color: var(--muted); }
.nav a:hover { color: var(--gold-2); }
.btn-wsp-mini {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--green); color: #04240f; font-weight: 700; font-size: 15.5px;
  padding: 10px 20px; border-radius: 99px; white-space: nowrap;
}
.btn-wsp-mini:hover { background: #2ee574; }

/* ---------- Difuminado estilo Apple (blobs de color desenfocados) ---------- */
.blob {
  position: absolute; border-radius: 50%; pointer-events: none;
  opacity: 0.55; z-index: 0; transform: translateZ(0);
}
.blob.gold   { background: radial-gradient(circle, rgba(217, 165, 58, 0.34) 0%, transparent 70%); }
.blob.purple { background: radial-gradient(circle, rgba(124, 78, 220, 0.30) 0%, transparent 70%); }
.blob.blue   { background: radial-gradient(circle, rgba(56, 130, 246, 0.24) 0%, transparent 70%); }
.blob.pink   { background: radial-gradient(circle, rgba(220, 78, 158, 0.20) 0%, transparent 70%); }
section, .hero { position: relative; overflow: hidden; }
section > .container, .hero > .container { position: relative; z-index: 1; }

/* ---------- Flyer destacado (estilo banner de tienda) ---------- */
.flyer {
  background:
    linear-gradient(115deg, rgba(56, 130, 246, 0.10), rgba(217, 165, 58, 0.10)),
    var(--bg-2);
  border-bottom: 1px solid var(--card-border);
}

/* Carrusel */
.flyer-carousel { position: relative; z-index: 1; overflow: hidden; }
.flyer-track { display: flex; transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1); }
.flyer-slide { min-width: 100%; }
.flyer-dots {
  position: relative; z-index: 2; display: flex; gap: 12px;
  justify-content: center; padding-bottom: 28px;
}
.flyer-dot {
  width: 15px; height: 15px; border-radius: 99px; cursor: pointer;
  background: rgba(255, 255, 255, 0.25); border: none; padding: 0;
  transition: all 0.25s ease;
}
.flyer-dot:hover { background: rgba(255, 255, 255, 0.45); }
.flyer-dot.active { background: var(--gold); width: 42px; }
.flyer-img-photo { border-radius: 16px; border: 1px solid var(--card-border); }
.flyer-inner {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px;
  align-items: center; padding-top: 56px; padding-bottom: 56px;
}
.flyer-badge {
  display: inline-block; font-size: 12.5px; font-weight: 800;
  letter-spacing: 0.1em; text-transform: uppercase;
  background: rgba(217, 165, 58, 0.15); color: var(--gold-2);
  border: 1px solid rgba(217, 165, 58, 0.45);
  padding: 6px 16px; border-radius: 99px; margin-bottom: 18px;
}
.flyer h1 {
  font-size: clamp(36px, 5vw, 56px); font-weight: 800;
  letter-spacing: -0.02em; line-height: 1.05; margin-bottom: 10px;
}
.flyer h1 .gold {
  background: linear-gradient(100deg, var(--gold) 20%, var(--gold-2) 60%, var(--gold) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.flyer-specs { color: var(--muted); font-size: 15px; margin-bottom: 20px; }
.flyer-ventajas { list-style: none; margin-bottom: 24px; display: grid; gap: 10px; }
.flyer-ventajas li {
  position: relative; padding-left: 28px; font-size: 14.5px; color: #d6d6dc;
}
.flyer-ventajas li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--green); font-weight: 800; font-size: 16px;
}
.flyer-ventajas li b { color: var(--text); }
.flyer-price-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.flyer-price {
  font-size: 40px; font-weight: 800; letter-spacing: -0.02em;
  background: linear-gradient(100deg, var(--gold), var(--gold-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.flyer-tag {
  font-size: 12.5px; font-weight: 700; color: var(--gold-2);
  border: 1px solid rgba(217, 165, 58, 0.45); border-radius: 99px; padding: 6px 14px;
}
.flyer-old { font-size: 20px; }
.flyer-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1.5px solid var(--gold); color: var(--gold-2);
  font-weight: 700; font-size: 16px; padding: 14px 28px; border-radius: 99px;
  transition: all 0.15s ease;
}
.btn-outline:hover { background: var(--gold); color: #1d1503; }
.flyer-img { position: relative; z-index: 1; }
.flyer-img img {
  width: 100%; max-width: 560px; margin: 0 auto;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.55));
  animation: flotar 5s ease-in-out infinite;
}
@keyframes flotar {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ---------- Hero ---------- */
.hero {
  padding: 84px 0 70px;
  background: var(--bg);
  text-align: center;
}
.hero .blob { width: 520px; height: 520px; }
.hero .fenix-bg {
  position: absolute; right: -80px; top: 50%; transform: translateY(-50%);
  height: 420px; opacity: 0.09; pointer-events: none;
}
.hero h1 {
  font-size: clamp(34px, 6vw, 58px); font-weight: 700; letter-spacing: -0.02em;
  line-height: 1.12; margin-bottom: 18px;
}
.hero h1 .gold {
  background: linear-gradient(100deg, var(--gold) 20%, var(--gold-2) 50%, var(--gold) 80%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.sub {
  font-size: clamp(16px, 2.4vw, 20px); color: var(--muted);
  max-width: 640px; margin: 0 auto 34px;
}
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 9px;
  background: linear-gradient(100deg, var(--gold), var(--gold-2));
  color: #1d1503; font-weight: 700; font-size: 16px;
  padding: 14px 30px; border-radius: 99px;
  box-shadow: 0 8px 28px rgba(217, 165, 58, 0.35);
  transition: transform 0.15s ease;
}
.btn-primary:hover { transform: translateY(-2px); }
.btn-wsp {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--green); color: #04240f; font-weight: 700; font-size: 16px;
  padding: 14px 30px; border-radius: 99px;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.28);
  transition: transform 0.15s ease;
}
.btn-wsp:hover { transform: translateY(-2px); }

/* ---------- Trust bar ---------- */
.trust {
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
  background: var(--bg-2);
}
.trust-inner {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 10px; padding: 22px 0;
}
.trust-item { display: flex; align-items: center; gap: 12px; justify-content: center; }
.trust-item .ico { font-size: 24px; }
.trust-item b { display: block; font-size: 14px; }
.trust-item span { font-size: 12.5px; color: var(--muted); }

/* ---------- Sections ---------- */
section { padding: 72px 0; }
.sec-head { text-align: center; margin-bottom: 40px; }
.sec-head .kicker {
  color: var(--gold-2); font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 10px;
}
.sec-head h2 { font-size: clamp(26px, 4vw, 38px); font-weight: 700; letter-spacing: -0.01em; }
.sec-head p { color: var(--muted); max-width: 560px; margin: 12px auto 0; font-size: 15.5px; }

/* ---------- Filters ---------- */
.filters { display: flex; flex-direction: column; gap: 14px; align-items: center; margin-bottom: 36px; }
.chip-row { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.chip {
  background: var(--card); border: 1px solid var(--card-border); color: var(--muted);
  font-size: 14px; font-weight: 500; padding: 8px 18px; border-radius: 99px;
  cursor: pointer; transition: all 0.15s ease; font-family: inherit;
}
.chip:hover { border-color: var(--gold); color: var(--text); }
.chip.active { background: var(--gold); border-color: var(--gold); color: #1d1503; font-weight: 700; }
.chip-row.cond .chip.active { background: var(--text); border-color: var(--text); color: #111; }

/* ---------- Product grid ---------- */
.grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: 18px;
}
.card {
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: var(--radius); padding: 22px;
  display: flex; flex-direction: column; gap: 10px;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(217, 165, 58, 0.45); box-shadow: 0 12px 40px rgba(217, 165, 58, 0.08); }
.card .imgbox {
  background: linear-gradient(160deg, #ffffff, #eef0f4);
  border-radius: 12px; aspect-ratio: 4 / 3;
  display: flex; align-items: center; justify-content: center;
  padding: 14px; margin-bottom: 4px; overflow: hidden;
}
.card .imgbox img {
  max-width: 100%; max-height: 100%; object-fit: contain;
  transition: transform 0.25s ease;
}
.card:hover .imgbox img { transform: scale(1.06); }
.card .top { display: flex; justify-content: space-between; align-items: center; }
.badge {
  font-size: 11px; font-weight: 800; letter-spacing: 0.08em;
  padding: 4px 10px; border-radius: 99px; text-transform: uppercase;
}
.badge.nuevo { background: rgba(217, 165, 58, 0.15); color: var(--gold-2); border: 1px solid rgba(217, 165, 58, 0.4); }
.badge.seminuevo { background: rgba(96, 165, 250, 0.12); color: #7cb8fb; border: 1px solid rgba(96, 165, 250, 0.35); }
.card .year { font-size: 12.5px; color: var(--muted); }
.card h3 { font-size: 18px; font-weight: 700; line-height: 1.25; }
.card .desc { font-size: 13.5px; color: var(--muted); flex-grow: 1; }
.card .colors { font-size: 12.5px; color: #8f8f98; }
.card .note { font-size: 12px; color: #d0a23f; }
.card .price-wrap { display: flex; align-items: baseline; gap: 9px; flex-wrap: wrap; }
.card .price { font-size: 24px; font-weight: 800; letter-spacing: -0.01em; }
.price-old { font-size: 15px; color: var(--muted); text-decoration: line-through; text-decoration-color: currentColor; }
.save-badge {
  display: inline-block; align-self: flex-start;
  background: rgba(37, 211, 102, 0.14); color: #34d97a;
  border: 1px solid rgba(37, 211, 102, 0.4);
  font-size: 11.5px; font-weight: 700; padding: 3px 10px; border-radius: 99px;
}
.card .warranty { font-size: 12px; color: var(--muted); }
.card .btn-card {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: transparent; border: 1.5px solid var(--green); color: var(--green);
  font-weight: 700; font-size: 14px; padding: 10px; border-radius: 10px;
  transition: all 0.15s ease; margin-top: 4px;
}
.card .btn-card:hover { background: var(--green); color: #04240f; }
.card-title-link { color: inherit; }
.card-title-link:hover { color: var(--gold-2); }
.card .imgbox { cursor: pointer; }
.card .btn-ficha {
  display: block; text-align: center; font-size: 13px; font-weight: 600;
  color: var(--gold-2); padding: 8px; border-radius: 9px;
  border: 1px solid rgba(217, 165, 58, 0.35); transition: all 0.15s ease;
}
.card .btn-ficha:hover { background: rgba(217, 165, 58, 0.12); border-color: var(--gold); }

/* ---------- Ficha de producto (PDP) ---------- */
.pdp { padding: 28px 20px 60px; }
.pdp-back { display: inline-block; color: var(--muted); font-size: 14px; margin-bottom: 22px; }
.pdp-back:hover { color: var(--gold-2); }
.pdp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.pdp-img {
  background: linear-gradient(160deg, #ffffff, #eef0f4);
  border-radius: 18px; padding: 30px; display: flex; align-items: center; justify-content: center;
  aspect-ratio: 4 / 3;
}
.pdp-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.pdp-info .badge { margin-bottom: 14px; }
.pdp-info h1 { font-size: clamp(26px, 4vw, 38px); font-weight: 800; letter-spacing: -0.01em; margin-bottom: 10px; }
.pdp-sub { color: var(--muted); font-size: 15.5px; margin-bottom: 20px; }
.pdp-price-wrap { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.pdp-price {
  font-size: 38px; font-weight: 800; letter-spacing: -0.02em;
  background: linear-gradient(100deg, var(--gold), var(--gold-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.pdp-old { font-size: 20px; }
.pdp-save { margin: 8px 0 0; }
.pdp-warranty { color: var(--muted); font-size: 13.5px; margin-bottom: 20px; }
.pdp-cta { display: inline-flex; margin-bottom: 22px; }
.pdp-ideal {
  background: var(--card); border: 1px solid var(--card-border); border-radius: 12px;
  padding: 14px 16px; font-size: 14px; color: var(--muted); line-height: 1.5;
}
.pdp-ideal b { color: var(--gold-2); }
.pdp-specs { margin-top: 50px; }
.pdp-specs h2, .pdp-related h2 { font-size: 24px; margin-bottom: 22px; }

/* Ficha técnica continua (estilo Apple) */
.pdp-specs-sheet {
  max-width: 880px; background: var(--card);
  border: 1px solid var(--card-border); border-radius: 18px; overflow: hidden;
}
.pdp-row {
  display: grid; grid-template-columns: 230px 1fr; gap: 24px;
  padding: 18px 26px; border-bottom: 1px solid var(--card-border);
}
.pdp-row:last-child { border-bottom: none; }
.pdp-row:nth-child(even) { background: rgba(255, 255, 255, 0.018); }
.pdp-row-label {
  display: flex; align-items: center; gap: 10px;
  font-size: 14.5px; font-weight: 700; color: var(--gold-2);
}
.pdp-row-label .ic { font-size: 19px; line-height: 1; }
.pdp-row-body { font-size: 14.5px; color: var(--text); align-self: center; }
.pdp-val { line-height: 1.55; }
.pdp-kv { display: flex; gap: 12px; padding: 3px 0; line-height: 1.45; }
.pdp-kv span { color: var(--muted); min-width: 145px; flex-shrink: 0; }
.pdp-kv b { font-weight: 600; }
@media (max-width: 640px) {
  .pdp-row { grid-template-columns: 1fr; gap: 8px; padding: 16px 18px; }
  .pdp-kv { flex-direction: column; gap: 1px; }
  .pdp-kv span { min-width: 0; font-size: 12.5px; }
}
.pdp-related { margin-top: 50px; }
.pdp-rel-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.pdp-rel-card {
  background: var(--card); border: 1px solid var(--card-border); border-radius: 14px;
  padding: 14px; transition: transform 0.15s ease, border-color 0.15s ease;
}
.pdp-rel-card:hover { transform: translateY(-4px); border-color: rgba(217, 165, 58, 0.45); }
.pdp-rel-card .imgbox {
  background: linear-gradient(160deg, #fff, #eef0f4); border-radius: 10px;
  aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center;
  padding: 10px; margin-bottom: 10px;
}
.pdp-rel-card .imgbox img { max-width: 100%; max-height: 100%; object-fit: contain; }
.pdp-rel-name { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.pdp-rel-price { font-size: 16px; font-weight: 800; color: var(--gold-2); }
@media (max-width: 760px) {
  .pdp-grid { grid-template-columns: 1fr; gap: 22px; }
  .pdp-k { width: 130px; }
}
.empty-msg { text-align: center; color: var(--muted); padding: 40px 0; display: none; }
.compare-hint { text-align: center; color: var(--muted); font-size: 13.5px; margin-bottom: 20px; }

/* ---------- Comparar productos ---------- */
.compare-check {
  display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted);
  cursor: pointer; margin-top: 2px; user-select: none;
}
.compare-check input { accent-color: var(--gold); width: 15px; height: 15px; cursor: pointer; }
.compare-check:hover { color: var(--text); }

.compare-bar {
  position: fixed; left: 50%; bottom: 20px; transform: translate(-50%, 140%);
  z-index: 210; background: #1c1c26; border: 1px solid rgba(217, 165, 58, 0.4);
  border-radius: 16px; padding: 14px 20px; display: flex; align-items: center; gap: 18px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  transition: transform 0.25s ease; font-size: 14.5px; white-space: nowrap;
}
.compare-bar.visible { transform: translate(-50%, 0); }
.compare-bar b { color: var(--gold-2); }
.compare-bar-actions { display: flex; gap: 10px; }
.compare-bar .btn-card { width: auto; margin-top: 0; padding: 9px 16px; }
.compare-clear {
  background: transparent; border: 1px solid var(--card-border); color: var(--muted);
  font-size: 13.5px; padding: 9px 14px; border-radius: 8px;
}
.compare-clear:hover { color: var(--text); border-color: #4a4a56; }

.compare-modal {
  position: fixed; inset: 0; z-index: 300; background: rgba(5, 5, 8, 0.8);
  display: none; align-items: center; justify-content: center; padding: 24px;
  backdrop-filter: blur(4px);
}
.compare-modal.visible { display: flex; }
.compare-modal-box {
  background: var(--card); border: 1px solid var(--card-border); border-radius: 18px;
  padding: 26px; max-width: 900px; width: 100%; max-height: 85vh;
  display: flex; flex-direction: column; position: relative;
}
.compare-modal-box h3 { font-size: 20px; margin-bottom: 16px; }
.compare-modal-close {
  position: absolute; top: 16px; right: 16px; background: transparent; border: none;
  color: var(--muted); font-size: 18px; cursor: pointer; width: 32px; height: 32px; border-radius: 50%;
}
.compare-modal-close:hover { background: rgba(255, 255, 255, 0.08); color: var(--text); }
.compare-modal-scroll { overflow: auto; }

.cmp-table { border-collapse: collapse; width: 100%; }
.cmp-table th, .cmp-table td {
  padding: 12px 16px; text-align: center; border-bottom: 1px solid var(--card-border);
  font-size: 14px; vertical-align: middle;
}
.cmp-table thead img {
  width: 80px; height: 60px; object-fit: contain; background: #fff; border-radius: 8px;
  padding: 4px; margin: 0 auto 8px;
}
.cmp-name { font-weight: 700; font-size: 14px; }
.cmp-year { font-size: 12px; color: var(--muted); }
.cmp-label { text-align: left !important; color: var(--muted); font-size: 13px; white-space: nowrap; }
.cmp-price { color: var(--gold-2); font-size: 16px; }
.cmp-table .btn-card { width: auto; margin: 0 auto; padding: 8px 14px; font-size: 13px; }

.igv-note {
  text-align: center; margin-top: 26px; font-size: 13.5px; color: var(--muted);
}
.igv-note a { color: var(--gold-2); }

/* ---------- Seminuevos strip ---------- */
.strip {
  background: linear-gradient(100deg, rgba(217, 165, 58, 0.08), rgba(90, 60, 180, 0.07));
  border: 1px solid var(--card-border); border-radius: var(--radius);
  padding: 30px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.strip .item b { display: flex; align-items: center; gap: 8px; font-size: 15px; margin-bottom: 6px; }
.strip .item p { font-size: 13.5px; color: var(--muted); }

/* ---------- Servicio técnico ---------- */
#servicio { background: var(--bg-2); border-top: 1px solid var(--card-border); border-bottom: 1px solid var(--card-border); }
.serv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; margin-bottom: 34px; }
.serv-card {
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: var(--radius); padding: 20px;
}
.serv-card .ico { font-size: 26px; margin-bottom: 10px; }
.serv-card b { display: block; font-size: 15.5px; margin-bottom: 5px; }
.serv-card p { font-size: 13.5px; color: var(--muted); }
.center { text-align: center; }

/* ---------- Tienda ---------- */
.tienda-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 34px; align-items: center; }
.tienda-fotos { display: grid; gap: 14px; }
.tienda-fotos img { border-radius: var(--radius); border: 1px solid var(--card-border); }
.tienda-info h3 { font-size: 24px; margin-bottom: 16px; }
.tienda-info .row { display: flex; gap: 12px; margin-bottom: 14px; font-size: 15px; }
.tienda-info .row .ico { flex-shrink: 0; }
.tienda-info .row span { color: var(--muted); }
.tienda-info .row b { color: var(--text); font-weight: 600; }
.maps-btn {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 8px;
  border: 1.5px solid var(--gold); color: var(--gold-2); font-weight: 600; font-size: 14px;
  padding: 10px 22px; border-radius: 99px; transition: all 0.15s ease;
}
.maps-btn:hover { background: var(--gold); color: #1d1503; }

/* ---------- Pagos ---------- */
.pay-row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.pay-pill {
  background: var(--card); border: 1px solid var(--card-border);
  padding: 10px 20px; border-radius: 99px; font-size: 14px; color: var(--muted);
}

/* ---------- Footer ---------- */
.footer { background: #07070a; border-top: 1px solid var(--card-border); padding: 46px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 34px; margin-bottom: 30px; }
.footer h4 { font-size: 14px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold-2); margin-bottom: 14px; }
.footer p, .footer a { font-size: 14px; color: var(--muted); }
.footer .flinks { display: flex; flex-direction: column; gap: 8px; }
.footer a:hover { color: var(--gold-2); }
.footer .brandline { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer .brandline img { height: 36px; }
.legal { border-top: 1px solid var(--card-border); padding-top: 20px; text-align: center; font-size: 12.5px; color: #6b6b74; }

/* ---------- WhatsApp flotante ---------- */
.wsp-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 200;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--green); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  transition: transform 0.15s ease;
}
.wsp-float:hover { transform: scale(1.08); }
.wsp-float svg { width: 30px; height: 30px; fill: #04240f; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav { display: none; }
  .trust-inner { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .trust-item { justify-content: flex-start; }
  .strip { grid-template-columns: 1fr; }
  .tienda-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero .fenix-bg { height: 300px; right: -120px; }
  section { padding: 54px 0; }
}

/* ---------- Móvil: catálogo compacto a 2 columnas ---------- */
@media (max-width: 860px) {
  .flyer-inner { grid-template-columns: 1fr; gap: 20px; padding-top: 36px; padding-bottom: 40px; }
  .flyer-img { order: -1; }
  .flyer-img img { max-width: 330px; }
  .flyer-price { font-size: 32px; }
}
@media (max-width: 640px) {
  .container { padding: 0 14px; }
  .flyer-ctas { flex-direction: column; align-items: stretch; }
  .flyer-ctas .btn-wsp, .flyer-ctas .btn-outline { justify-content: center; }
  .flyer-ventajas li { font-size: 13.5px; }
  .hero { padding: 54px 0 46px; }
  .hero p.sub { margin-bottom: 26px; }
  .hero-ctas { flex-direction: column; align-items: stretch; padding: 0 10px; }
  .btn-primary, .btn-wsp { justify-content: center; }

  /* Filtros deslizables con el dedo */
  .filters { align-items: stretch; margin-bottom: 24px; }
  .chip-row {
    flex-wrap: nowrap; justify-content: flex-start;
    overflow-x: auto; -webkit-overflow-scrolling: touch;
    padding-bottom: 6px; margin: 0 -14px; padding-left: 14px; padding-right: 14px;
    scrollbar-width: none;
  }
  .chip-row::-webkit-scrollbar { display: none; }
  .chip { flex-shrink: 0; padding: 7px 15px; font-size: 13px; }

  /* Tarjetas compactas 2 por fila */
  .grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .card { padding: 11px; gap: 6px; border-radius: 13px; }
  .card .imgbox { border-radius: 9px; padding: 8px; aspect-ratio: 1 / 0.82; }
  .card .top { flex-wrap: wrap; gap: 3px; }
  .badge { font-size: 8.5px; padding: 3px 7px; letter-spacing: 0.05em; }
  .card .year { font-size: 10px; }
  .card h3 { font-size: 13.5px; line-height: 1.2; }
  .card .desc { font-size: 11px; line-height: 1.35; }
  .card .colors { font-size: 10px; }
  .card .note { font-size: 10px; }
  .card .price { font-size: 17.5px; }
  .card .warranty { font-size: 9.5px; }
  .card .btn-card { font-size: 11.5px; padding: 8px 4px; gap: 5px; border-radius: 8px; }
  .card .btn-card svg { width: 13px; height: 13px; }

  .sec-head h2 { font-size: 24px; }
  .sec-head { margin-bottom: 26px; }
  .serv-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .serv-card { padding: 14px; }
  .serv-card .ico { font-size: 21px; margin-bottom: 6px; }
  .serv-card b { font-size: 13.5px; }
  .serv-card p { font-size: 11.5px; }
  .pay-pill { font-size: 12.5px; padding: 8px 14px; }
  .wsp-float { width: 52px; height: 52px; right: 14px; bottom: 14px; }
  .igv-note { font-size: 12.5px; padding: 0 6px; }

  .compare-bar {
    width: calc(100% - 28px); bottom: 14px; padding: 12px 16px;
    flex-direction: column; align-items: stretch; gap: 10px; font-size: 13.5px;
  }
  .compare-bar-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .compare-bar .btn-card, .compare-clear { justify-content: center; }
  .compare-modal-box { padding: 18px; max-height: 80vh; }
  .cmp-table th, .cmp-table td { padding: 8px 8px; font-size: 12.5px; }
  .cmp-table thead img { width: 56px; height: 44px; }
}
