/* Template Nova Club — identidad: rojo estrella #FF3131, negro #232224, papel #EEEDEB */
:root {
  --rojo: #ff3131;
  --rojo-osc: #d91f1f;
  --tinta: #232224;
  --papel: #eeedeb;
  --crema: #f7f6f3;
  --blanco: #ffffff;
  --rosa: #f6c8d1;
  --azul: #2f6bff;
  --celeste: #d3e2f4;
  --verde: #c9d8b6;
  --gris: #6c6a6d;
  --radio: 22px;
  --sombra: 0 18px 40px -18px rgba(35, 34, 36, .35);
  --f-display: "League Spartan", "Avenir Next", system-ui, sans-serif;
  --f-serif: "Instrument Serif", Georgia, serif;
  --f-sans: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "DM Mono", ui-monospace, Menlo, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  background: var(--papel);
  color: var(--tinta);
  font-family: var(--f-sans);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* ---------- agente de IA: oculto hasta lanzarlo (CONFIG.mostrarIA en app.js) ---------- */
[data-ia] { display: none !important; }
.con-ia [data-ia] { display: revert !important; }
.con-ia [data-sin-ia] { display: none !important; }

/* ---------- utilidades ---------- */
.display {
  font-family: var(--f-display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -.04em;
  line-height: .9;
  font-size: clamp(3rem, 8vw, 6.4rem);
}
.display--lg { font-size: clamp(2.6rem, 6.4vw, 5.2rem); }
.display--md { font-size: clamp(2.2rem, 4.8vw, 3.8rem); }
.serif {
  font-family: var(--f-serif);
  font-weight: 400;
  font-style: italic;
  text-transform: none;
  letter-spacing: -.01em;
}
.display .serif { font-size: 1.12em; }
.red { color: var(--rojo); }
.light { color: var(--blanco); }
.light-muted { color: #b9b6b3; }
.center { text-align: center; margin-inline: auto; }
.muted { color: var(--gris); max-width: 46ch; }
.center.muted, .center .muted { margin-inline: auto; }
.small { font-size: .85rem; }
.lead { font-size: 1.3rem; font-weight: 600; line-height: 1.3; max-width: 30ch; margin-bottom: .6rem; }

.highlight {
  background: var(--rojo);
  color: var(--blanco);
  padding: 0 .12em;
  display: inline-block;
  transform: rotate(-2deg);
  border-radius: 6px;
}

.tag {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  background: var(--tinta);
  color: var(--blanco);
  padding: .5em 1em;
  border-radius: 999px;
  margin-bottom: 1.4rem;
}
.tag--ghost { background: transparent; color: var(--rojo); border: 1.5px solid currentColor; }
.tag--light { color: var(--rosa); }

.star { display: inline-block; vertical-align: top; }
.star--h1 { width: .55em; height: .55em; margin-left: .05em; animation: spin 14s linear infinite; }
.star--h2 { width: .5em; height: .5em; margin-left: .08em; }
.star--foot { width: .6em; height: .6em; margin-left: .1em; animation: spin 14s linear infinite; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  font-family: var(--f-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .02em;
  font-size: 1.05rem;
  padding: 1.05em 1.7em .95em;
  border-radius: 999px;
  transition: transform .2s, background .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--red { background: var(--rojo); color: var(--blanco); box-shadow: 0 10px 24px -10px var(--rojo); }
.btn--red:hover { background: var(--rojo-osc); }
.btn--ink { background: var(--tinta); color: var(--blanco); }
.btn--sm { font-size: .82rem; padding: .85em 1.3em .75em; }
.btn--block { width: 100%; justify-content: center; }

.pill {
  font-family: var(--f-mono);
  font-size: .85rem;
  background: var(--blanco);
  border: 1.5px solid var(--tinta);
  border-radius: 999px;
  padding: .55em 1.1em;
}

.checks { list-style: none; display: grid; gap: .55rem; margin-top: 1.4rem; }
.checks li { padding-left: 1.8rem; position: relative; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .2em;
  width: 1.1rem; height: 1.1rem;
  background: url(img/estrella.svg) center / contain no-repeat;
}
.checks--light li { color: var(--blanco); }

.section { padding: clamp(4.5rem, 9vw, 8rem) clamp(16px, 5vw, 5rem); }

@keyframes spin { to { transform: rotate(360deg); } }
.spin { animation: spin 22s linear infinite; }

.aviso { background: var(--rojo); color: var(--blanco); text-align: center; font-family: var(--f-display); font-weight: 800; text-transform: uppercase; letter-spacing: .03em; font-size: .78rem; padding: .65rem 16px .55rem; display: flex; justify-content: center; align-items: center; gap: .6rem; }
.aviso img { width: 14px; height: 14px; filter: brightness(0) invert(1); flex-shrink: 0; }
.price__tag { display: block; font-family: var(--f-mono) !important; font-size: .66rem !important; text-transform: uppercase; letter-spacing: .1em; color: var(--rojo) !important; margin: 0 0 .35rem !important; font-weight: 500 !important; }
.bundle__antes { color: #b9b6b3; font-size: .9rem; }
.bundle__antes s { text-decoration-thickness: 2px; }
/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .7rem clamp(16px, 5vw, 5rem);
  background: rgba(238, 237, 235, .85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(35, 34, 36, .08);
}
.nav__logo { display: flex; align-items: center; gap: .6rem; }
.nav__name { font-family: var(--f-display); font-weight: 800; letter-spacing: .18em; font-size: .85rem; line-height: 1.1; }
.nav__name small { display: block; font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: 0; font-size: .95rem; color: var(--rojo); }
.nav__links { display: flex; gap: .4rem; font-weight: 600; font-size: .92rem; }
.nav__links a { padding: .6em 1.1em; border-radius: 999px; transition: .2s; }
.nav__links a:hover { background: var(--tinta); color: var(--blanco); }
.nav__links a:last-child { background: var(--rojo); color: var(--blanco); }
.nav__links a:last-child:hover { background: var(--rojo-osc); }
.nav__toggle { display: none; background: var(--tinta); border: 0; width: 44px; height: 44px; border-radius: 50%; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav__toggle span { width: 18px; height: 2px; background: var(--blanco); border-radius: 2px; }
.btn--line { border: 2px solid var(--tinta); }
.btn--line:hover { background: var(--tinta); color: var(--blanco); }
.section__head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 2rem; margin-bottom: 3rem; }

/* ---------- hero ---------- */
#inicio { scroll-margin-top: 120px; }
.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 2rem;
  padding: clamp(2.5rem, 6vw, 5rem) clamp(16px, 5vw, 5rem) clamp(4rem, 7vw, 6rem);
  max-width: 1320px; margin: 0 auto;
}
.hero h1 { margin-bottom: 1.6rem; font-size: clamp(2.6rem, 6.2vw, 5.6rem); }
.hero h1 .serif { white-space: nowrap; }
.hero h1 .highlight { margin: .08em 0; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 2rem; }

.hero__visual { position: relative; display: grid; place-items: center; min-height: 720px; }
.badge {
  position: absolute; top: 0; left: max(-60px, calc(50% - 330px));
  width: 140px; height: 140px;
  z-index: 3;
}
.phone {
  position: relative; width: 320px;
  background: var(--tinta);
  border-radius: 46px;
  padding: 12px;
  box-shadow: 0 40px 80px -30px rgba(35, 34, 36, .55);
  transform: rotate(4deg);
}
.phone__notch { position: absolute; top: 20px; left: 50%; translate: -50%; width: 90px; height: 24px; background: var(--tinta); border-radius: 20px; z-index: 2; }
.phone__screen { background: var(--blanco); border-radius: 36px; overflow: hidden; padding: 50px 0 0; }
.ig-head { display: flex; align-items: center; gap: .9rem; padding: 0 14px; }
.ig-avatar { width: 54px; height: 54px; border-radius: 50%; border: 2px solid var(--rojo); padding: 8px; flex-shrink: 0; }
.ig-stats { display: grid; text-align: center; font-size: .7rem; line-height: 1.2; }
.ig-stats b { font-size: .85rem; }
.ig-user { font-size: .75rem; font-weight: 600; padding: 10px 14px 2px; }
.ig-bio { font-size: .68rem; line-height: 1.35; color: var(--gris); padding: 0 14px 12px; }
.ig-highlights { display: flex; gap: 12px; padding: 0 14px 12px; }
.ig-highlights span { display: grid; justify-items: center; gap: 3px; }
.ig-highlights img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid var(--blanco); outline: 1.5px solid #dcdad7; }
.ig-highlights small { font-size: .55rem; }
.ig-tabs { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #eceae7; }
.ig-tabs i { height: 30px; position: relative; }
.ig-tabs i::after { content: ""; position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 12px; height: 12px; border: 1.5px solid #b9b6b3; border-radius: 3px; }
.ig-tabs i.is-active { border-top: 1.5px solid var(--tinta); }
.ig-tabs i.is-active::after { border-color: var(--tinta); }
.ig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.ig-grid img { aspect-ratio: 4/5; object-fit: cover; width: 100%; }

.chip {
  position: absolute; z-index: 4;
  background: var(--blanco);
  border-radius: 999px;
  padding: .7em 1.1em;
  font-size: .85rem; font-weight: 600;
  box-shadow: var(--sombra);
  display: flex; align-items: center; gap: .5em;
  animation: float 6s ease-in-out infinite;
  white-space: nowrap;
}
.chip--1 { top: 35%; left: -4%; }
.chip--2 { top: 44%; right: -2%; animation-delay: -2s; }
.chip--3 { bottom: 26%; left: 2%; animation-delay: -4s; background: var(--rojo); color: var(--blanco); }
.chip--4 { bottom: 4%; right: 6%; flex-direction: column; align-items: flex-start; border-radius: 16px; animation-delay: -3s; }
.chip--4 small { font-size: .7rem; color: var(--gris); }
.dot { width: 9px; height: 9px; border-radius: 50%; background: #2fbf71; }
.swatches { display: flex; gap: 5px; }
.swatches i { width: 22px; height: 22px; border-radius: 50%; border: 1px solid rgba(0,0,0,.08); }
@keyframes float { 50% { transform: translateY(-10px); } }

/* ---------- marquee ---------- */
.marquee { background: var(--rojo); color: var(--blanco); overflow: hidden; padding: 1.1rem 0; transform: rotate(-1.2deg); margin: 0 -10px; }
.marquee__track { display: flex; align-items: center; gap: 1.6rem; width: max-content; animation: scroll 38s linear infinite; }
.marquee span { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: 1.35rem; letter-spacing: .02em; white-space: nowrap; }
.marquee img { width: 22px; height: 22px; filter: brightness(0) invert(1); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- catálogo ---------- */
.catalog, .about { max-width: 1320px; margin: 0 auto; }
.products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.product { background: var(--blanco); border-radius: 28px; overflow: hidden; display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; }
.product:hover { transform: translateY(-4px); box-shadow: var(--sombra); }
.product__cover { position: relative; aspect-ratio: 16/10; display: grid; place-items: center; overflow: hidden; }
.product__info { padding: 1.6rem 1.8rem 1.8rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.product__num { font-family: var(--f-mono); font-size: .8rem; color: var(--rojo); display: flex; align-items: center; gap: .6rem; }
.product h3 { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: 1.9rem; line-height: .95; letter-spacing: -.02em; }
.product p { color: var(--gris); max-width: 52ch; }
.product__link { margin-top: auto; padding-top: .8rem; font-weight: 700; color: var(--rojo); align-self: flex-start; }
.product__link:hover { text-decoration: underline; }
.incluye { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin: .6rem 0 .4rem; }
.incluye li { background: #f0eeec; border-radius: 14px; padding: .7rem .8rem; font-size: .8rem; font-weight: 600; line-height: 1.2; display: grid; gap: .15rem; }
.incluye b { font-family: var(--f-display); font-weight: 900; font-size: 1.7rem; color: var(--rojo); line-height: 1; }
.incluye li:last-child { background: var(--rosa); }
.canva-pro { display: flex; align-items: center; gap: .55rem; font-size: .85rem; color: var(--gris); }
.canva-pro span { background: linear-gradient(90deg, #00c4cc, #7d2ae8); color: var(--blanco); font-family: var(--f-display); font-weight: 800; font-size: .7rem; text-transform: uppercase; letter-spacing: .04em; padding: .35em .8em .25em; border-radius: 999px; }
.section__head .canva-pro { flex-basis: 100%; margin-top: -1rem; }
.canva-pro--modal { margin: -.4rem 0 1rem; }
.product__buy { margin-top: auto; padding-top: .9rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.product__buy .product__link { margin-top: 0; padding-top: 0; }
.price { font-family: var(--f-display); font-weight: 900; font-size: 1.7rem; letter-spacing: -.02em; line-height: 1; }
.price small { font-family: var(--f-sans); font-weight: 500; font-size: .85rem; color: var(--gris); letter-spacing: 0; margin-left: .3rem; }
.price--modal { display: block; color: var(--rojo); margin: -.3rem 0 1rem; font-size: 2rem; }
.bundle { margin-top: 1.2rem; background: var(--tinta); color: var(--blanco); border-radius: 28px; padding: clamp(1.6rem, 3vw, 2.4rem); display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 1.5rem 2.5rem; }
.bundle__tag { display: inline-block; background: var(--rojo); font-family: var(--f-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; padding: .35em .9em; border-radius: 999px; margin-bottom: .8rem; }
.bundle h3 { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: .95; margin-bottom: .5rem; }
.bundle p { color: #cfccc9; max-width: 52ch; }
.bundle__price { text-align: right; display: grid; gap: .4rem; }
.price--xl { font-size: clamp(2.4rem, 4.5vw, 3.4rem); }
.bundle__price small { color: var(--rosa); font-weight: 600; }
.new { font-style: normal; background: var(--rojo); color: var(--blanco); border-radius: 999px; padding: .15em .7em; font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; }

.product--red .product__cover { background: var(--rojo); }
.book { width: 42%; aspect-ratio: 3/4; background: var(--papel); border-radius: 6px 14px 14px 6px; box-shadow: -8px 0 0 var(--tinta) inset, 0 24px 40px -16px rgba(0,0,0,.5); transform: rotate(-6deg); padding: 1.2rem 1.4rem; display: flex; flex-direction: column; justify-content: space-between; position: relative; }
.book__small { font-family: var(--f-mono); font-size: .6rem; letter-spacing: .12em; text-transform: uppercase; }
.book b { font-family: var(--f-display); font-weight: 900; font-size: clamp(1.8rem, 3.4vw, 2.8rem); line-height: .82; color: var(--rojo); letter-spacing: -.04em; }
.book__star { width: 34px; position: absolute; right: 1.2rem; bottom: 1.2rem; }

.product--pink .product__cover { background: var(--rosa); }
.sticker { position: absolute; font-family: var(--f-display); font-weight: 800; text-transform: uppercase; padding: .5em 1em .4em; border-radius: 999px; box-shadow: 0 0 0 4px var(--blanco), 0 12px 20px -10px rgba(0,0,0,.35); font-size: clamp(.85rem, 1.6vw, 1.15rem); }
.s1 { background: var(--rojo); color: var(--blanco); top: 18%; left: 12%; transform: rotate(-8deg); }
.s2 { background: var(--tinta); color: var(--blanco); top: 30%; right: 12%; transform: rotate(6deg); font-family: var(--f-serif); font-style: italic; text-transform: none; font-weight: 400; font-size: 1.4rem; }
.s3 { background: var(--azul); color: var(--blanco); bottom: 22%; left: 18%; transform: rotate(4deg); }
.s4 { background: var(--blanco); color: var(--rojo); bottom: 16%; right: 16%; transform: rotate(-5deg); }
.sticker-star { width: 64px; filter: drop-shadow(0 0 0 #fff) drop-shadow(0 6px 8px rgba(0,0,0,.2)); animation: spin 14s linear infinite; }

.product--wide { grid-column: span 2; flex-direction: row; }
.product--wide .product__cover { flex: 1.25; aspect-ratio: auto; min-height: 360px; }
.product--wide .product__info { flex: 1; justify-content: center; padding: 2.4rem; }
.packs { background: var(--papel); display: grid !important; grid-template-columns: repeat(4, 1fr); gap: .8rem; padding: 1.6rem; place-items: stretch !important; align-content: center; }
.pack { position: relative; border-radius: 14px; overflow: hidden; background: var(--tinta); color: var(--blanco); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: .8rem; aspect-ratio: 4/5; }
.pack img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pack b { font-family: var(--f-display); font-weight: 900; font-size: clamp(1.2rem, 2.2vw, 1.8rem); line-height: .85; letter-spacing: -.04em; }
.pack em { font-size: 1rem; }
.pack span { position: absolute; left: .7rem; bottom: .6rem; text-align: left; font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: .62rem; line-height: 1.05; z-index: 1; }
.pack:first-child::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 50%, rgba(0,0,0,.6)); }
.pack--pink { background: var(--rosa); color: var(--rojo); }
.pack--pink span { color: var(--tinta); }
.pack--green { background: #4f6b3a; color: #f2efe2; }
.pack--blue { background: var(--azul); }
.rubro-list { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: .4rem 0; }
.rubro-list li { font-size: .82rem; font-weight: 600; border: 1.5px solid var(--tinta); border-radius: 999px; padding: .3em .9em; }

.product--ink { flex-direction: row-reverse; }
.product--ink .product__cover { background: var(--celeste); gap: 1rem; display: flex; align-items: center; justify-content: center; padding: 2rem; flex-wrap: wrap; }
.upload { background: var(--blanco); color: var(--tinta); border-radius: 20px; padding: 1.2rem; width: min(280px, 100%); box-shadow: 0 30px 50px -20px rgba(35,34,36,.4); transform: rotate(-3deg); }
.upload__title { font-weight: 700; font-size: .95rem; margin-bottom: .8rem; }
.upload__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: .4rem; }
.upload__thumbs img, .upload__thumbs span { aspect-ratio: 1; object-fit: cover; border-radius: 8px; width: 100%; }
.upload__thumbs span { background: var(--papel); display: grid; place-items: center; font-weight: 700; font-size: .85rem; }
.upload__bar { height: 6px; background: var(--papel); border-radius: 6px; margin: 1rem 0 .5rem; overflow: hidden; }
.upload__bar span { display: block; height: 100%; width: 70%; background: var(--rojo); border-radius: 6px; animation: carga 3s ease-in-out infinite; }
.upload__status { font-size: .78rem; color: var(--gris); }
@keyframes carga { 0% { width: 10%; } 100% { width: 100%; } }
.agent__out { display: grid; gap: .5rem; }
.agent__out span { background: var(--rojo); color: var(--blanco); font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: .85rem; padding: .55em 1em .45em; border-radius: 999px; animation: float 6s ease-in-out infinite; }
.agent__out span:nth-child(2) { animation-delay: -1.5s; margin-left: 1.2rem; background: var(--blanco); color: var(--tinta); }
.agent__out span:nth-child(3) { animation-delay: -3s; background: var(--tinta); color: var(--blanco); }
.agent__out span:nth-child(4) { animation-delay: -4.5s; margin-left: 1.2rem; }

/* ---------- detalle de producto (contenido de la ventana del catálogo) ---------- */
.panel__intro h3 { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: clamp(2rem, 3.6vw, 2.8rem); line-height: .95; margin-bottom: 1rem; }
.panel__intro > .panel__label { font-family: var(--f-mono); font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; margin: 1.8rem 0 .5rem; }
.how { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.how li { border-radius: 22px; }
.how span { font-family: var(--f-display); font-weight: 900; color: var(--rojo); line-height: 1; }
.how h4 { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: 1.15rem; margin: .6rem 0 .3rem; color: var(--tinta); }
.how p { color: #666666; font-size: .92rem; }

/* ---------- quiénes somos ---------- */
.about { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.about__visual { position: relative; padding: 2.4rem 1.6rem 0; }
.about__photo { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: center 40%; border-radius: 28px; }
.about__sticker { position: absolute; z-index: 2; height: auto; }
.about__sticker--sello { width: clamp(110px, 30%, 170px); top: 0; left: 0; transform: rotate(-10deg); filter: drop-shadow(0 12px 14px rgba(36, 36, 36, .35)); }
.about h2 { margin-bottom: 1.4rem; }
.about .lead { max-width: 34ch; }
.about .muted { max-width: 54ch; color: #555355; }
.about .muted + .muted { margin-top: 1rem; }
.about__cierre { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin-top: 1.4rem; line-height: 1.1; }
.about__sign { display: flex; align-items: center; margin-top: 1.8rem; gap: .2rem; }
.about__sign p { margin-left: .8rem; line-height: 1.25; }
.about__sign small { color: var(--gris); }
.avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--tinta); color: var(--blanco); display: grid; place-items: center; font-family: var(--f-display); font-weight: 900; font-size: 1.2rem; border: 3px solid var(--papel); }
.avatar--red { background: var(--rojo); margin-left: -14px; }

/* ---------- contacto ---------- */
.contact { background: var(--rojo); display: grid; place-items: center; }
.contact__box { position: relative; background: var(--tinta); border-radius: 32px; padding: clamp(2rem, 5vw, 3.6rem); max-width: 860px; width: 100%; }
.contact__box h2 { margin-bottom: 1rem; }
.contact__badge { position: absolute; top: -50px; right: -30px; width: 130px; height: 130px; background: var(--tinta); border-radius: 50%; padding: 6px; border: 4px solid var(--rojo); }
.contact__links { display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: .8rem; margin-top: 2rem; }
.contact__item { background: #2e2c2f; color: var(--blanco); border-radius: 18px; padding: 1.1rem 1.2rem; display: grid; gap: .2rem; transition: .2s; overflow-wrap: anywhere; }
.contact__item small { font-family: var(--f-mono); text-transform: uppercase; letter-spacing: .12em; font-size: .7rem; color: var(--rosa); }
.contact__item b { font-weight: 600; font-size: .9rem; }
.contact__item:hover { background: var(--blanco); color: var(--tinta); }
.contact__item:hover small { color: var(--rojo); }

/* ---------- ventana de detalle de producto ---------- */
body.modal-abierto { overflow: hidden; }
.modal { border: 0; padding: 0; width: min(1120px, calc(100% - 32px)); max-height: calc(100dvh - 48px); margin: auto; border-radius: 32px; background: var(--blanco); color: var(--tinta); box-shadow: 0 40px 80px -30px rgba(0,0,0,.5); overflow-y: auto; overscroll-behavior: contain; }
.modal::backdrop { background: rgba(36, 36, 36, .55); backdrop-filter: blur(4px); }
.modal[open] { animation: modal-in .3s ease; }
@keyframes modal-in { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.modal__close { position: sticky; top: 14px; float: right; margin: 14px 14px -58px 0; z-index: 5; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--tinta); color: var(--blanco); font-size: 1rem; transition: background .2s; }
.modal__close:hover { background: var(--rojo); }
.modal__grid { display: grid; grid-template-columns: .85fr 1.3fr; gap: clamp(1.5rem, 3vw, 2.5rem); padding: clamp(1rem, 2vw, 1.4rem); }
.modal__cover { position: relative; overflow: hidden; border-radius: 24px; aspect-ratio: auto !important; min-height: 420px; height: 100%; align-content: center; }
.modal__cover.packs { grid-template-columns: repeat(2, 1fr); }
.modal__content { padding: clamp(.5rem, 2vw, 1.6rem) clamp(.5rem, 2vw, 1.6rem) clamp(.5rem, 2vw, 1.6rem) 0; display: grid; gap: 1.8rem; align-content: start; }
.modal .panel__intro h3 { color: var(--tinta); padding-right: 3rem; }
.modal .panel__intro > p { color: var(--gris); }
.modal .panel__intro .checks li { color: var(--tinta); }
.modal .panel__intro .checks li::before { filter: none; }
.modal .panel__intro > .panel__label { color: var(--rojo); }
.modal .rubro-list li { color: var(--tinta); border-color: var(--tinta); }
.modal .how li { background: #f0eeec; box-shadow: none; padding: 1.3rem; }
.modal .how span { font-size: 2.2rem; }

/* carrusel de Template Packs */
.carrusel { background: #f0eeec; padding: 0 !important; }
.modal__cover.carrusel { aspect-ratio: 4/5 !important; height: auto; min-height: 0; align-self: center; position: relative; }
.carrusel__track { position: absolute; inset: 0; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.carrusel__track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; scroll-snap-align: start; position: relative; margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: var(--blanco); background: var(--tinta); }
.slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide b { font-family: var(--f-display); font-weight: 900; font-size: clamp(3rem, 7vw, 5.5rem); line-height: .85; letter-spacing: -.04em; }
.slide em { font-family: var(--f-serif); font-size: clamp(1.4rem, 2.6vw, 2rem); }
.slide--pink { background: var(--rosa); color: var(--rojo); }
.slide--green { background: #4f6b3a; color: #f2efe2; }
.slide--blue { background: var(--azul); }
.slide figcaption { position: absolute; left: 1rem; top: 1rem; z-index: 1; background: var(--blanco); color: var(--tinta); font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: .78rem; letter-spacing: .02em; padding: .55em 1em .45em; border-radius: 999px; box-shadow: 0 6px 16px -8px rgba(0,0,0,.4); }
.carrusel__flecha { position: absolute; top: 50%; translate: 0 -50%; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--blanco); color: var(--tinta); font-size: 1.1rem; box-shadow: 0 8px 20px -8px rgba(0,0,0,.45); transition: background .2s, color .2s; }
.carrusel__flecha:hover { background: var(--rojo); color: var(--blanco); }
.carrusel__flecha--prev { left: .8rem; }
.carrusel__flecha--next { right: .8rem; }
.carrusel__dots { position: absolute; bottom: 1rem; left: 50%; translate: -50% 0; z-index: 2; display: flex; gap: .45rem; background: rgba(36,36,36,.35); padding: .45rem .6rem; border-radius: 999px; backdrop-filter: blur(6px); }
.carrusel__dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0; background: rgba(255,255,255,.55); transition: width .2s, background .2s; }
.carrusel__dots button.is-active { width: 24px; border-radius: 6px; background: var(--blanco); }

/* ---------- compra ---------- */
.comprar:disabled { background: #d6d3d0; color: #6c6a6d; box-shadow: none; cursor: not-allowed; transform: none; }
.comprar--modal { margin-bottom: 1.2rem; }
.bundle__price .comprar { margin-top: .6rem; justify-self: end; }
.modal--compra { width: min(460px, calc(100% - 32px)); }
.compra { padding: clamp(1.6rem, 4vw, 2.4rem); display: grid; gap: .9rem; }
.compra .tag { justify-self: start; margin-bottom: 0; }
.compra__titulo { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: 1.6rem; line-height: 1; padding-right: 2.6rem; }
.compra__precio { color: var(--rojo); font-size: 2rem; }
.campo { display: grid; gap: .35rem; font-weight: 600; font-size: .9rem; }
.campo[hidden] { display: none; }
.campo input, .campo select { font: inherit; font-weight: 400; padding: .8em 1em; border: 1.5px solid #d6d3d0; border-radius: 12px; background: var(--blanco); color: var(--tinta); }
.campo input:focus, .campo select:focus { outline: 2px solid var(--rojo); outline-offset: 1px; border-color: transparent; }
.campo small { font-weight: 400; color: var(--gris); font-size: .8rem; }
.compra__error { color: var(--rojo); font-weight: 600; font-size: .9rem; min-height: 1.2em; }
.compra__error:empty { display: none; }
.compra__seguro { font-size: .8rem; color: var(--gris); text-align: center; }

/* ---------- página de gracias ---------- */
.gracias { min-height: calc(100dvh - 70px); display: grid; place-items: center; padding: 3rem 16px; }
.gracias__box { max-width: 620px; text-align: center; display: grid; justify-items: center; gap: 1rem; }
.gracias__box .tag { margin-bottom: .2rem; }
.gracias__box .lead { margin: .4rem auto 0; max-width: 40ch; }
.gracias__box .muted { margin: 0 auto; }
.gracias__logo { width: 110px; margin-bottom: .5rem; }
.gracias__firma { font-size: 1.6rem; margin: .8rem 0 .4rem; }

/* ---------- faq ---------- */
.faq__list { max-width: 760px; margin: 3rem auto 0; display: grid; gap: .7rem; }
.faq details { background: var(--blanco); border-radius: 18px; padding: 1.2rem 1.5rem; }
.faq summary { font-weight: 700; font-size: 1.08rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--rojo); font-size: 1.5rem; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--gris); margin-top: .8rem; }

/* ---------- footer ---------- */
.footer { background: var(--tinta); color: var(--blanco); padding: 4.5rem clamp(16px, 5vw, 5rem) 2rem; display: grid; gap: 2.5rem; justify-items: center; text-align: center; }
.footer__logo { width: 120px; }
.footer__big { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: clamp(2.6rem, 8vw, 6rem); line-height: .88; letter-spacing: -.04em; }
.footer__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; font-size: .85rem; color: #b9b6b3; }
.footer__row a:hover { color: var(--rojo); }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .nav__toggle { display: flex; }
  .nav__links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: var(--papel); padding: 1rem clamp(16px, 5vw, 5rem) 1.4rem; border-bottom: 1px solid rgba(35,34,36,.1); font-size: 1.1rem; }
  .nav__links.is-open { display: flex; }
  .nav__links a:last-child { align-self: flex-start; }
  .hero, .about { grid-template-columns: 1fr; }
  .about__visual { width: 100%; max-width: 480px; margin: 0 auto; }
  .hero__visual { min-height: 560px; }
  .product--wide, .product--ink { flex-direction: column; }
  .product--wide .product__cover { min-height: 300px; flex: none; }
}
@media (max-width: 680px) {
  .aviso { font-size: .68rem; gap: .4rem; }
  .bundle { grid-template-columns: 1fr; }
  .bundle__price { text-align: left; }
  .bundle__price .comprar { justify-self: start; }
  .modal { width: calc(100% - 16px); max-height: calc(100dvh - 16px); border-radius: 24px; }
  .modal__grid { grid-template-columns: 1fr; }
  .modal__cover { min-height: 260px; height: auto; }
  .modal__cover.packs { grid-template-columns: repeat(4, 1fr); }
  .modal__cover.carrusel { position: relative; }
  .modal__content { padding: 0 .4rem .6rem; }
  body { font-size: 16px; }
  .nav__name { font-size: .72rem; }
  .hero__visual { min-height: 520px; }
  .phone { width: 270px; }
  .ig-head { gap: .45rem; padding: 0 10px; }
  .ig-avatar { width: 44px; height: 44px; padding: 6px; }
  .ig-stats { font-size: .6rem; } .ig-stats b { font-size: .75rem; }
  .hero__visual { padding-top: 100px; }
  .badge { width: 96px; height: 96px; left: 0; top: 0; }
  .chip { font-size: .75rem; }
  .chip--2 { right: 0; }
  .chip--1 { top: 17%; left: 0; }
  .products, .how, .contact__links { grid-template-columns: 1fr; }
  .product--wide { grid-column: auto; }
  .product--wide .product__info { padding: 1.6rem 1.8rem 1.8rem; }
  .packs { grid-template-columns: repeat(2, 1fr); }
  .contact__badge { width: 90px; height: 90px; top: -36px; right: -8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
