/* Barlow y Barlow Condensed (SIL Open Font License), servidas desde la propia web */
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/barlow-400.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/barlow-500.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/barlow-600.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/barlow-700.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow Condensed'; font-style: italic; font-weight: 600; font-display: swap; src: url(../fonts/barlow-condensed-600i.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow Condensed'; font-style: italic; font-weight: 700; font-display: swap; src: url(../fonts/barlow-condensed-700i.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow Condensed'; font-style: italic; font-weight: 800; font-display: swap; src: url(../fonts/barlow-condensed-800i.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/barlow-condensed-600.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/barlow-condensed-700.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 800; font-display: swap; src: url(../fonts/barlow-condensed-800.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ==========================================================================
   ELITE MX — estilos generales
   ========================================================================== */
:root {
  --red: #e30613;
  --red-dark: #b0040e;
  --black: #0b0b0c;
  --ink: #141416;
  --ink-2: #1c1c20;
  --line: #2a2a30;
  --muted: #9a9aa3;
  --white: #ffffff;
  --paper: #f4f4f5;
  --ok: #19a463;
  --warn: #f2a900;
  --radius: 14px;
  --max: 1240px;
  --font-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-body: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: .01em;
  margin: 0 0 .4em;
}
h1 { font-size: clamp(2.6rem, 7vw, 5.6rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h3 { font-size: 1.6rem; }
p { margin: 0 0 1em; }
.red { color: var(--red); }
.muted { color: var(--muted); }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 90px 0; }
.section--tight { padding: 56px 0; }
.section--light { background: var(--paper); color: var(--ink); }
.section--ink { background: var(--ink); }
.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--red);
  font-size: .95rem;
  margin-bottom: 12px;
}
.eyebrow--h1 { display: block; line-height: 1.4; }
.lead { font-size: 1.15rem; color: #c9c9cf; max-width: 640px; }
.section--light .lead { color: #4a4a52; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.section-head p { margin: 0; }

/* Slash decorativo */
.slash { position: relative; }
.slash::after {
  content: ''; display: block; width: 90px; height: 6px; margin-top: 14px;
  background: var(--red); transform: skewX(-25deg);
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 28px;
  font-family: var(--font-display); font-weight: 800; font-style: italic;
  font-size: 1.1rem; text-transform: uppercase; letter-spacing: .05em;
  border: 2px solid transparent; border-radius: 6px; cursor: pointer;
  transform: skewX(-10deg); transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn > * , .btn span { display: inline-block; transform: skewX(10deg); }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-dark); }
.btn--ghost { border-color: #fff; color: #fff; background: transparent; }
.btn--ghost:hover { background: #fff; color: var(--black); }
.btn--dark { background: var(--black); color: #fff; }
.btn--dark:hover { background: var(--red); }
.btn--sm { padding: 9px 18px; font-size: .95rem; }
.btn--block { width: 100%; }
.btn:disabled { opacity: .45; cursor: not-allowed; }

/* ---------- Cabecera ---------- */
.topbar {
  background: var(--red); color: #fff; text-align: center;
  font-size: .85rem; font-weight: 600; letter-spacing: .03em; padding: 7px 12px;
}
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 11, 12, .92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__in { display: flex; align-items: center; gap: 28px; height: 78px; }
.header__logo img { height: 52px; width: auto; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  white-space: nowrap;
  font-family: var(--font-display); font-weight: 700; font-style: italic; text-transform: uppercase;
  font-size: 1.08rem; letter-spacing: .04em; padding: 8px 14px; border-radius: 6px; color: #d8d8dc;
  transition: color .2s, background .2s;
}
.nav a:hover, .nav a.is-active { color: #fff; background: var(--ink-2); }
.nav a.is-active { box-shadow: inset 0 -3px 0 var(--red); }
.header__cart {
  position: relative; display: grid; place-items: center; width: 46px; height: 46px;
  border-radius: 50%; background: var(--ink-2); border: 1px solid var(--line);
}
.header__cart svg { width: 22px; height: 22px; }
.cart-count {
  position: absolute; top: -4px; right: -4px; min-width: 21px; height: 21px; padding: 0 5px;
  background: var(--red); color: #fff; border-radius: 11px; font-size: .75rem; font-weight: 700;
  display: grid; place-items: center;
}
.cart-count:empty { display: none; }
.menu-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.menu-toggle svg { width: 30px; height: 30px; }

@media (max-width: 1080px) {
  .menu-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--black); border-bottom: 1px solid var(--line); padding: 10px 20px 24px; margin: 0;
  }
  .nav.is-open { display: flex; }
  .topbar { font-size: .75rem; }
  .nav a { font-size: 1.5rem; padding: 14px 6px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .header__cart { margin-left: auto; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: min(88vh, 820px); display: flex; align-items: center;
  overflow: hidden; isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(11,11,12,.95) 0%, rgba(11,11,12,.7) 45%, rgba(11,11,12,.15) 100%),
              linear-gradient(0deg, rgba(11,11,12,1) 0%, rgba(11,11,12,0) 30%);
}
.hero__content { max-width: 720px; padding: 80px 0; }
.hero h1 { margin-bottom: 18px; }
.hero h1 em { color: var(--red); font-style: italic; }
.hero .lead { margin-bottom: 32px; }
.hero__ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.hero--page { min-height: 440px; }
.hero--page .hero__content { padding: 70px 0 60px; }

.stats { display: flex; gap: 44px; margin-top: 52px; flex-wrap: wrap; }
.stat b { display: block; font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 2.6rem; line-height: 1; }
.stat span { color: var(--muted); font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; }

/* ---------- Hero de tienda ---------- */
.shop-hero { position: relative; overflow: hidden; padding: 70px 0 80px; background:
  radial-gradient(ellipse at 75% 40%, rgba(227,6,19,.14), transparent 60%),
  linear-gradient(180deg, #0b0b0c 0%, #141416 100%); }
.shop-hero::before { content: ''; position: absolute; right: -10%; top: -20%; width: 55%; height: 140%; background: rgba(227,6,19,.08); transform: skewX(-18deg); }
.shop-hero__in { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px; align-items: center; }
.shop-hero h1 { font-size: clamp(2.8rem, 6.5vw, 5.4rem); }
.shop-hero h1 em { color: var(--red); }
.shop-hero .lead { margin-bottom: 22px; }
.shop-hero__price { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 12px 18px; margin-bottom: 26px; background: var(--ink-2); border-left: 4px solid var(--red); border-radius: 0 10px 10px 0; font-weight: 600; }
.shop-hero__price b { font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 2.2rem; color: #fff; line-height: 1; }
.shop-hero__price span { width: 100%; color: var(--muted); font-size: .85rem; font-weight: 500; }
.trust { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 26px; color: #c9c9cf; font-size: .9rem; font-weight: 600; }
.shop-hero__kits { position: relative; height: 520px; }
.kit-card { position: absolute; width: 58%; background: #fff; border-radius: 16px; padding: 10px 10px 0; box-shadow: 0 30px 60px rgba(0,0,0,.55); transition: transform .3s; }
.kit-card img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.kit-card span { display: block; margin: 0 -10px; padding: 9px 12px; background: var(--black); color: #fff; border-radius: 0 0 16px 16px; font-family: var(--font-display); font-style: italic; font-weight: 800; text-transform: uppercase; font-size: 1rem; }
.kit-card--0 { left: 0; top: 40px; transform: rotate(-6deg); z-index: 1; }
.kit-card--1 { right: 0; top: 0; transform: rotate(5deg); z-index: 2; }
.kit-card--2 { left: 22%; bottom: -10px; transform: rotate(-1deg); z-index: 3; width: 54%; }
.kit-card:hover { transform: rotate(0) scale(1.03); z-index: 5; }
@media (max-width: 960px) {
  .shop-hero { padding: 44px 0 50px; }
  .shop-hero__in { grid-template-columns: 1fr; }
  .shop-hero__kits { height: 360px; max-width: 520px; width: 100%; margin: 0 auto; }
}
@media (max-width: 520px) { .shop-hero__kits { height: 290px; } .kit-card span { font-size: .78rem; padding: 6px 8px; } }

/* Tarjetas de series */
.series-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.serie-card { display: flex; flex-direction: column; background: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .2s, transform .2s; }
.serie-card:hover { border-color: var(--red); transform: translateY(-4px); }
.serie-card__imgs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--line); }
.serie-card__imgs img { aspect-ratio: 1; object-fit: contain; background: #fff; width: 100%; }
.serie-card__body { display: flex; justify-content: space-between; gap: 14px; padding: 18px 20px 6px; }
.serie-card__body h3 { font-size: 2.2rem; margin-bottom: 4px; }
.serie-card__body p { color: var(--muted); font-size: .9rem; margin: 0; }
.serie-card__meta { text-align: center; flex-shrink: 0; }
.serie-card__meta b { display: block; font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 3rem; line-height: 1; color: var(--red); }
.serie-card__meta span { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; }
.serie-card__foot { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px 18px; margin-top: auto; }
.serie-card__foot b { font-size: 1.15rem; }
.serie-card .arrow { color: var(--red); font-family: var(--font-display); font-weight: 800; font-style: italic; text-transform: uppercase; letter-spacing: .05em; }
@media (max-width: 900px) { .series-cards { grid-template-columns: 1fr; } }

/* Enlace destacado de tienda en el menú */
.nav a.nav__shop { background: var(--red); color: #fff; }
.nav a.nav__shop:hover, .nav a.nav__shop.is-active { background: var(--red-dark); color: #fff; box-shadow: none; }
@media (max-width: 1080px) { .nav a.nav__shop { border-radius: 8px; margin: 8px 0; text-align: center; } }

/* ---------- Tarjetas de sección (3 bloques) ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillar {
  position: relative; min-height: 420px; border-radius: var(--radius); overflow: hidden;
  display: flex; align-items: flex-end; padding: 28px; isolation: isolate; border: 1px solid var(--line);
}
.pillar__img { position: absolute; inset: 0; z-index: -2; transition: transform .6s; }
.pillar__img img, .pillar__img svg { width: 100%; height: 100%; object-fit: cover; }
.pillar::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(0,0,0,.92) 10%, rgba(0,0,0,.1) 65%); }
.pillar:hover .pillar__img { transform: scale(1.05); }
.pillar h3 { font-size: 2.3rem; margin-bottom: 8px; }
.pillar p { color: #cfcfd4; margin-bottom: 18px; }
.pillar .arrow { color: var(--red); font-family: var(--font-display); font-weight: 800; font-style: italic; text-transform: uppercase; letter-spacing: .06em; }
@media (max-width: 900px) { .pillars { grid-template-columns: 1fr; } .pillar { min-height: 320px; } }

/* ---------- Grid de productos ---------- */
.grid { display: grid; gap: 22px; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1080px) { .grid--4 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px) { .grid--4, .grid--3 { grid-template-columns: repeat(2, 1fr); } .grid--2 { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .grid--4, .grid--3 { grid-template-columns: 1fr 1fr; gap: 12px; } }
@media (max-width: 680px) { .grid--courses { grid-template-columns: 1fr; } }
.grid > * { min-width: 0; }

.card {
  background: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; transition: transform .25s, border-color .25s;
}
.card:hover { transform: translateY(-4px); border-color: var(--red); }
.card__img { aspect-ratio: 1; background: #fff; display: grid; place-items: center; overflow: hidden; position: relative; }
.card__img img { width: 100%; height: 100%; object-fit: contain; transition: transform .4s; }
.card:hover .card__img img { transform: scale(1.04); }
.card__img--dark { background: #e9e9ec url("../img/fondo-producto.svg") center / cover; }
.product-photo, .card__img .product-photo { width: 100%; height: 100%; object-fit: cover; display: block; }
.card__tag {
  position: absolute; top: 12px; left: 12px; background: var(--black); color: #fff;
  font-family: var(--font-display); font-weight: 700; font-style: italic; text-transform: uppercase;
  font-size: .85rem; letter-spacing: .06em; padding: 4px 10px; border-radius: 4px;
}
.card__tag--red { background: var(--red); }
.card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card__title { font-family: var(--font-display); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: 1.35rem; line-height: 1.05; }
.card__meta { color: var(--muted); font-size: .88rem; }
.card__price { margin-top: auto; padding-top: 8px; font-weight: 700; font-size: 1.05rem; }
.card__price small { color: var(--muted); font-weight: 500; font-size: .8rem; }
.swatches { display: flex; gap: 5px; flex-wrap: wrap; }
.swatch-dot { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); }

/* ---------- Filtros ---------- */
.filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 28px; }
.chip {
  padding: 9px 18px; border-radius: 30px; border: 1px solid var(--line); background: var(--ink);
  cursor: pointer; font-weight: 600; font-size: .95rem; transition: all .2s;
}
.chip:hover { border-color: #fff; }
.chip.is-active { background: var(--red); border-color: var(--red); }
.filters__count { margin-left: auto; color: var(--muted); font-size: .9rem; }
.search {
  background: var(--ink); border: 1px solid var(--line); border-radius: 30px; padding: 9px 18px; min-width: 200px;
}

/* ---------- Pasos ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 30px 24px 26px; background: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); }
.section--light .step { background: #fff; border-color: #e3e3e6; }
.step__n {
  font-family: var(--font-display); font-weight: 800; font-style: italic; font-size: 3.6rem; line-height: 1;
  color: var(--red); margin-bottom: 10px; display: block;
}
.step h3 { font-size: 1.45rem; }
.step p { margin: 0; color: var(--muted); }
.section--light .step p { color: #5b5b63; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Bloque split (texto + imagen) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split__media { border-radius: var(--radius); overflow: hidden; position: relative; }
.split__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }
.split__media::after { content: ''; position: absolute; left: -20px; bottom: 30px; width: 140px; height: 12px; background: var(--red); transform: skewX(-25deg); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 36px; } }

.palmares { list-style: none; padding: 0; margin: 24px 0 30px; display: grid; gap: 12px; }
.palmares li { display: flex; gap: 14px; align-items: center; padding: 14px 18px; background: var(--ink); border-left: 4px solid var(--red); border-radius: 0 8px 8px 0; font-weight: 600; }

/* ---------- Academy ---------- */
.course { display: flex; flex-direction: column; padding: 30px 26px; background: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); position: relative; }
.course.is-featured { border-color: var(--red); box-shadow: 0 0 0 1px var(--red); }
.course__badge { position: absolute; top: -12px; right: 20px; background: var(--red); padding: 3px 12px; border-radius: 4px; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.course__level { color: var(--red); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; }
.course h3 { font-size: 2rem; margin: 6px 0 10px; }
.course__price { font-family: var(--font-display); font-weight: 800; font-style: italic; font-size: 2.6rem; line-height: 1; margin: 10px 0 4px; }
.course__price small { font-size: 1rem; color: var(--muted); font-style: normal; font-weight: 500; }
.course ul { list-style: none; padding: 0; margin: 16px 0 24px; display: grid; gap: 8px; color: #cfcfd4; }
.course ul li::before { content: '›'; color: var(--red); font-weight: 800; margin-right: 8px; }
.course .btn { margin-top: auto; }

.events { display: grid; gap: 12px; }
.event { display: grid; grid-template-columns: 90px 1fr auto; gap: 22px; align-items: center; padding: 18px 22px; background: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); }
.event__date { text-align: center; border-right: 1px solid var(--line); padding-right: 18px; }
.event__date b { display: block; font-family: var(--font-display); font-weight: 800; font-style: italic; font-size: 2.4rem; line-height: 1; }
.event__date span { text-transform: uppercase; color: var(--red); font-weight: 700; letter-spacing: .1em; font-size: .85rem; }
.event h4 { font-size: 1.4rem; margin: 0 0 4px; }
.event p { margin: 0; color: var(--muted); font-size: .93rem; }
.spots { font-size: .82rem; font-weight: 700; padding: 4px 10px; border-radius: 4px; background: rgba(25,164,99,.15); color: #3ddc97; margin-right: 10px; white-space: nowrap; }
.spots--low { background: rgba(242,169,0,.15); color: var(--warn); }
@media (max-width: 680px) { .event { grid-template-columns: 70px 1fr; } .event > :last-child { grid-column: 1 / -1; } }

/* ---------- Galería ---------- */
/* Cuadrícula fija (sin huecos): las fotos verticales ocupan dos filas */
.gallery { display: grid; gap: 10px; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px;
  grid-template-areas: 'a a b c' 'd e b c' 'f f g h' 'f f g h'; }
.gallery figure { margin: 0; border-radius: 10px; overflow: hidden; background: var(--ink-2); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery figure:hover img { transform: scale(1.05); }
.g-a { grid-area: a; } .g-b { grid-area: b; } .g-c { grid-area: c; } .g-d { grid-area: d; }
.g-e { grid-area: e; } .g-f { grid-area: f; } .g-g { grid-area: g; } .g-h { grid-area: h; }
.g-a img { object-position: center 8%; }
@media (max-width: 760px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px;
    grid-template-areas: 'a a' 'b c' 'b c' 'd e' 'f f' 'g h' 'g h'; }
}

/* ---------- Formularios ---------- */
.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .92rem; }
.field label small { color: var(--muted); font-weight: 500; }
.input, .select, .textarea {
  width: 100%; background: var(--ink-2); border: 1px solid var(--line); border-radius: 8px;
  padding: 12px 14px; transition: border-color .2s;
}
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--red); }
.textarea { min-height: 120px; resize: vertical; }
.section--light .input, .section--light .select, .section--light .textarea { background: #fff; border-color: #d9d9de; color: var(--ink); }
.input.is-invalid { border-color: var(--red); background: rgba(227,6,19,.08); }
.check { display: block; position: relative; padding-left: 28px; font-size: .9rem; color: #cfcfd4; }
.check input { position: absolute; left: 0; top: 3px; margin: 0; width: 17px; height: 17px; accent-color: var(--red); }
.check input.is-invalid { outline: 2px solid var(--red); outline-offset: 2px; }

/* ---------- Producto / configurador ---------- */
.breadcrumb { font-size: .88rem; color: var(--muted); margin: 26px 0 18px; }
.breadcrumb a:hover { color: #fff; }
.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; padding-bottom: 80px; }
@media (max-width: 960px) { .product { grid-template-columns: 1fr; gap: 28px; } }
.gallery-main { position: sticky; top: 100px; }
.gallery-main__img { background: #fff; border-radius: var(--radius); aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; position: relative; }
.gallery-main__img img { width: 100%; height: 100%; object-fit: contain; }
.gallery-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(11,11,12,.75); color: #fff; cursor: pointer; font-size: 1.3rem; }
.gallery-nav--prev { left: 12px; } .gallery-nav--next { right: 12px; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(68px, 1fr)); gap: 8px; margin-top: 12px; }
.thumbs button { background: #fff; border: 2px solid transparent; border-radius: 8px; padding: 0; cursor: pointer; aspect-ratio: 1; overflow: hidden; }
.thumbs button img { width: 100%; height: 100%; object-fit: contain; }
.thumbs button.is-active { border-color: var(--red); }
@media (max-width: 960px) { .gallery-main { position: static; } }

.product__title { font-size: clamp(2.4rem, 5vw, 3.6rem); margin-bottom: 6px; }
.product__price { font-family: var(--font-display); font-weight: 800; font-style: italic; font-size: 2.4rem; }
.product__price small { font-family: var(--font-body); font-style: normal; font-weight: 500; color: var(--muted); font-size: .95rem; }
.badges { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0 22px; }
.badge { font-size: .8rem; font-weight: 700; padding: 5px 11px; border-radius: 4px; background: var(--ink-2); border: 1px solid var(--line); text-transform: uppercase; letter-spacing: .05em; }
.badge--red { background: rgba(227,6,19,.15); border-color: rgba(227,6,19,.5); color: #ff5a63; }

.config-step { border: 1px solid var(--line); border-radius: var(--radius); background: var(--ink); margin-bottom: 14px; overflow: clip; }
.config-step__head { display: flex; align-items: center; gap: 14px; padding: 18px 20px; cursor: pointer; user-select: none; }
.config-step__n { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--ink-2); border: 1px solid var(--line); font-weight: 800; flex-shrink: 0; }
.config-step.is-done .config-step__n { background: var(--ok); border-color: var(--ok); }
.config-step.is-open .config-step__n { background: var(--red); border-color: var(--red); }
.config-step__title { font-family: var(--font-display); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: 1.35rem; }
.config-step__summary { margin-left: auto; color: var(--muted); font-size: .88rem; text-align: right; max-width: 45%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.config-step__body { display: none; padding: 4px 20px 22px; }
.config-step.is-open .config-step__body { display: block; }

.options { display: grid; gap: 10px; }
.options--2 { grid-template-columns: 1fr 1fr; }
.option { position: relative; display: flex; gap: 12px; align-items: center; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 10px; cursor: pointer; background: var(--ink-2); transition: border-color .2s; }
.option:hover { border-color: #55555e; }
.option input { position: absolute; opacity: 0; pointer-events: none; }
.option.is-checked { border-color: var(--red); background: rgba(227,6,19,.08); }
.option__label { font-weight: 700; }
.option__desc { color: var(--muted); font-size: .85rem; }
.option__price { margin-left: auto; font-weight: 700; white-space: nowrap; }

.colors { display: flex; gap: 10px; flex-wrap: wrap; }
.color-opt { width: 74px; text-align: center; cursor: pointer; font-size: .75rem; color: var(--muted); }
.color-opt img { width: 74px; height: 74px; object-fit: contain; background: #fff; border-radius: 10px; border: 2px solid transparent; margin-bottom: 4px; }
.color-opt.is-active img { border-color: var(--red); }
.color-opt.is-active { color: #fff; font-weight: 700; }

/* Zonas de logos */
.zones-wrap { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 20px; align-items: start; }
@media (max-width: 1180px) { .zones-wrap { grid-template-columns: 1fr; } .kit-map { position: static !important; width: 100%; max-width: 300px; margin: 0 auto; } }
.kit-map { background: var(--ink-2); border-radius: 12px; padding: 12px; border: 1px solid var(--line); position: sticky; top: 96px; }
.kit-map svg { width: 100%; height: auto; }
.kit-map .zone { fill: rgba(255,255,255,.08); stroke: rgba(255,255,255,.35); stroke-width: 1.5; stroke-dasharray: 4 3; cursor: pointer; transition: fill .2s; }
.kit-map .zone:hover { fill: rgba(227,6,19,.35); }
.kit-map .zone.is-hl { fill: rgba(227,6,19,.55); stroke: var(--red); stroke-dasharray: none; }
.kit-map .zone.is-filled { fill: rgba(25,164,99,.55); stroke: var(--ok); stroke-dasharray: none; }
.kit-map__legend { display: flex; gap: 12px; justify-content: center; font-size: .75rem; color: var(--muted); margin-top: 8px; }
.kit-map__legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 4px; vertical-align: -1px; }
.zone-group-title { font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; color: var(--muted); margin: 6px 0 8px; }
.zone-list { display: grid; gap: 8px; margin-bottom: 14px; }
.zone-item { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--ink-2); transition: border-color .2s; }
.zone-item.is-hl { border-color: var(--red); }
.zone-item.is-filled { border-color: rgba(25,164,99,.6); }
.zone-item__name { font-weight: 600; font-size: .93rem; }
.zone-item__file { font-size: .78rem; color: var(--muted); max-width: 160px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.zone-item__preview { width: 36px; height: 36px; border-radius: 6px; background: #fff center/contain no-repeat; flex-shrink: 0; border: 1px solid var(--line); }
.zone-item__preview:not([style]) { background: var(--ink) ; display: grid; place-items: center; }
.zone-item__actions { margin-left: auto; display: flex; gap: 6px; }
.icon-btn { border: 1px solid var(--line); background: var(--ink); border-radius: 6px; padding: 6px 10px; cursor: pointer; font-size: .82rem; font-weight: 600; white-space: nowrap; }
.icon-btn:hover { border-color: #fff; }
.icon-btn--danger:hover { border-color: var(--red); color: var(--red); }
.upload-hint { font-size: .82rem; color: var(--muted); background: var(--ink-2); padding: 10px 14px; border-radius: 8px; border-left: 3px solid var(--red); margin-bottom: 14px; }

/* Medidas */
.measure-wrap { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 22px; align-items: start; }
@media (max-width: 1180px) { .measure-wrap { grid-template-columns: 1fr; } .measure-wrap .measure-img { position: static; max-width: 230px; margin: 0 auto; } }
.measure-img { background: #fff; border-radius: 12px; padding: 8px; position: sticky; top: 100px; }
.measure-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.measure { display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: center; }
.measure__letter { width: 34px; height: 34px; border-radius: 6px; background: var(--red); display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-style: italic; font-size: 1.3rem; }
.measure label { font-size: .85rem; font-weight: 600; display: block; margin-bottom: 4px; }
.measure .unit-input { position: relative; }
.measure .unit-input::after { content: 'cm'; position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: .85rem; pointer-events: none; }
.measure .unit-input.kg::after { content: 'kg'; }

.summary-box { background: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-top: 18px; }
.summary-line { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: .95rem; }
.summary-line span:first-child { color: #c9c9cf; }
.summary-total { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 14px; display: flex; justify-content: space-between; align-items: baseline; }
.summary-total b { font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 2.2rem; }
.checklist { display: grid; gap: 6px; padding: 12px 14px; border-radius: 10px; background: rgba(242,169,0,.08); border: 1px solid rgba(242,169,0,.4); font-size: .88rem; }
.checklist b { color: var(--warn); }
.checklist button { display: flex; justify-content: space-between; gap: 10px; background: none; border: 0; padding: 4px 0; cursor: pointer; text-align: left; color: #e6e6ea; }
.checklist button span { color: var(--warn); font-weight: 700; white-space: nowrap; }
.checklist button:hover { color: #fff; }
.checklist--ok { background: rgba(25,164,99,.1); border-color: rgba(25,164,99,.45); color: #3ddc97; font-weight: 700; }
.input:disabled { opacity: .4; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.qty button { width: 38px; height: 40px; background: var(--ink-2); border: 0; cursor: pointer; font-size: 1.2rem; }
.qty input { width: 48px; height: 40px; text-align: center; background: var(--ink); border: 0; }

/* ---------- Tabla ---------- */
.table-wrap { overflow-x: auto; border-radius: 12px; border: 1px solid var(--line); }
.table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 560px; }
.table th, .table td { padding: 11px 14px; text-align: center; border-bottom: 1px solid var(--line); }
.table th { background: var(--red); font-family: var(--font-display); font-style: italic; text-transform: uppercase; font-size: 1.05rem; letter-spacing: .04em; }
.table td:first-child, .table th:first-child { text-align: left; font-weight: 600; }
.table tr:nth-child(even) td { background: rgba(255,255,255,.02); }
.section--light .table-wrap { border-color: #e1e1e5; }
.section--light .table td { border-color: #e9e9ec; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--ink); border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; }
.section--light .faq details { background: #fff; border-color: #e3e3e6; }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: '+'; color: var(--red); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details p { color: var(--muted); padding-bottom: 16px; margin: 0; }
.section--light .faq details p { color: #55555d; }

/* ---------- Carrito / checkout ---------- */
.cart-layout { display: grid; grid-template-columns: 1fr 380px; gap: 32px; align-items: start; }
@media (max-width: 960px) { .cart-layout { grid-template-columns: 1fr; } }
.cart-item { display: grid; grid-template-columns: 110px 1fr auto; gap: 18px; padding: 18px; background: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; }
.cart-item__img { background: #fff; border-radius: 10px; aspect-ratio: 1; overflow: hidden; display: grid; place-items: center; }
.cart-item__img img { width: 100%; height: 100%; object-fit: contain; }
.cart-item h3 { font-size: 1.4rem; margin-bottom: 4px; }
.cart-item__details { color: var(--muted); font-size: .86rem; display: grid; gap: 2px; }
.cart-item__logos { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.cart-item__logos span { width: 34px; height: 34px; border-radius: 5px; background: #fff center/contain no-repeat; border: 1px solid var(--line); }
.cart-item__right { text-align: right; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.cart-item__price { font-weight: 800; font-size: 1.15rem; }
@media (max-width: 600px) { .cart-item { grid-template-columns: 80px 1fr; } .cart-item__right { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; } }
.sticky-box { position: sticky; top: 100px; }
.empty { text-align: center; padding: 80px 20px; border: 1px dashed var(--line); border-radius: var(--radius); }

.pay-methods { display: grid; gap: 10px; }
.pay-info { margin-top: 12px; padding: 14px 16px; background: var(--ink-2); border-radius: 10px; font-size: .9rem; color: #cfcfd4; display: none; }
.option.is-checked + .pay-info { display: block; }
.pay-logos { display: flex; gap: 6px; margin-left: auto; }
.pay-logos span { font-size: .7rem; font-weight: 800; padding: 3px 7px; border-radius: 4px; background: #fff; color: #111; }

.order-num { font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: clamp(2.6rem, 7vw, 4.4rem); color: var(--red); line-height: 1; }
.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.timeline li { position: relative; padding: 0 0 22px 40px; }
.timeline li::before { content: ''; position: absolute; left: 11px; top: 26px; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.timeline li i { position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%; background: var(--ink-2); border: 2px solid var(--line); }
.timeline li.is-done i { background: var(--ok); border-color: var(--ok); }
.timeline li.is-current i { background: var(--red); border-color: var(--red); box-shadow: 0 0 0 5px rgba(227,6,19,.2); }
.timeline li b { display: block; }
.timeline li span { color: var(--muted); font-size: .88rem; }
.callout { padding: 18px 20px; border-radius: 12px; background: rgba(227,6,19,.1); border: 1px solid rgba(227,6,19,.4); }
.callout--ok { background: rgba(25,164,99,.1); border-color: rgba(25,164,99,.45); }
.copy { display: inline-flex; gap: 8px; align-items: center; padding: 6px 10px; background: var(--ink); border-radius: 6px; font-family: ui-monospace, Consolas, monospace; font-size: .95rem; }

/* ---------- CTA banda ---------- */
.cta-band { background: var(--red); position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; right: -80px; top: -40%; width: 420px; height: 180%; background: rgba(0,0,0,.15); transform: skewX(-25deg); }
.cta-band__in { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding: 56px 20px; position: relative; }
.cta-band h2 { margin: 0; }
.cta-band p { margin: 6px 0 0; color: rgba(255,255,255,.85); }

/* ---------- Pie ---------- */
.footer { background: #070708; border-top: 1px solid var(--line); padding: 64px 0 28px; color: #b9b9c0; font-size: .93rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 44px; }
.footer__grid h4 { color: #fff; font-size: 1.15rem; margin-bottom: 16px; }
.footer__grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer__grid a:hover { color: #fff; }
.footer__logo { height: 64px; width: auto; margin-bottom: 16px; }
.footer__bottom { border-top: 1px solid var(--line); padding-top: 22px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: .82rem; color: var(--muted); }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; background: var(--ink-2); display: grid; place-items: center; border: 1px solid var(--line); }
.socials a:hover { background: var(--red); border-color: var(--red); }
.socials svg { width: 18px; height: 18px; }
.footer__social { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; }
.footer__social a { display: inline-flex; align-items: center; gap: 10px; color: #d8d8dc; font-weight: 600; }
.footer__social a:hover { color: #fff; }
.footer__social svg { width: 18px; height: 18px; }
.ig-inline { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: #d8d8dc; padding: 8px 4px; }
.ig-inline:hover { color: #fff; }
.ig-inline svg { width: 18px; height: 18px; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

/* WhatsApp flotante */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.4); transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; fill: #fff; }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 140%); z-index: 90;
  background: #fff; color: var(--ink); padding: 14px 22px; border-radius: 10px; font-weight: 600;
  box-shadow: 0 12px 30px rgba(0,0,0,.4); transition: transform .35s; display: flex; gap: 14px; align-items: center;
}
.toast.is-show { transform: translate(-50%, 0); }
.toast a { color: var(--red); font-weight: 800; }

/* Aviso demo */
.demo-note { font-size: .8rem; color: var(--warn); background: rgba(242,169,0,.1); border: 1px dashed rgba(242,169,0,.5); padding: 8px 12px; border-radius: 8px; }

/* Utilidades */
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 10px; } .mt-2 { margin-top: 20px; } .mt-3 { margin-top: 32px; } .mt-4 { margin-top: 48px; }
.mb-0 { margin-bottom: 0; } .mb-2 { margin-bottom: 20px; } .mb-3 { margin-bottom: 32px; }
.center { text-align: center; }
.flex { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Banner de cookies */
.cookies { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80; max-width: 760px; margin: 0 auto; background: #fff; color: var(--ink); border-radius: 12px; padding: 16px 18px; box-shadow: 0 12px 40px rgba(0,0,0,.5); display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.cookies p { margin: 0; flex: 1 1 340px; font-size: .9rem; }
.cookies a { color: var(--red); font-weight: 700; }
.cookies__btns { display: flex; gap: 8px; }
.cookies .btn--ghost { border-color: var(--ink); color: var(--ink); }
.cookies .btn--ghost:hover { background: var(--ink); color: #fff; }

/* Zona con varios logos (barriga) */
.multi-thumbs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.multi-thumb { position: relative; width: 38px; height: 38px; border-radius: 6px; background: #fff center/contain no-repeat; border: 1px solid var(--line); display: grid; place-items: center; font-size: .55rem; font-weight: 800; color: #111; }
.multi-thumb button { position: absolute; top: -7px; right: -7px; width: 18px; height: 18px; border-radius: 50%; border: 0; background: var(--red); color: #fff; font-size: .8rem; line-height: 1; cursor: pointer; padding: 0; }
.icon-btn:disabled { opacity: .4; cursor: not-allowed; }

/* Cambio de idioma */
.lang-switch { margin: -14px 0 22px; font-size: .9rem; }
.lang-switch a { color: #fff; border-bottom: 1px solid var(--red); padding-bottom: 2px; font-weight: 600; }

/* Ajustes de móvil: zonas táctiles de al menos ~36 px */
.checklist button { padding: 9px 0; min-height: 36px; }
.pay-logos span { font-size: .75rem; }
.back-link { display: inline-block; padding: 10px 0; }
