@import url('../fonts/fonts.css');

/* ============================================================
   El Bazzar de Agus — sistema de diseño
   ============================================================ */

:root {
  --bg: #08080b;
  --bg-2: #0c0c11;
  --panel: #111118;
  --panel-2: #16161f;
  --line: #26262f;
  --line-strong: #34343f;
  --text: #f5f4f8;
  --muted: #a2a1b0;
  --muted-2: #77768a;
  --brand-1: #ff3d00;
  --brand-2: #ff1b6b;
  --brand-3: #8b5cf6;
  --grad: linear-gradient(100deg, var(--brand-1) 0%, var(--brand-2) 48%, var(--brand-3) 100%);
  --grad-soft: linear-gradient(100deg, rgba(255, 61, 0, .16), rgba(255, 27, 107, .14) 48%, rgba(139, 92, 246, .16));
  --ok: #22c98a;
  --warn: #ffb020;
  --bad: #ff4d5e;
  --info: #52a8ff;
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --shadow: 0 40px 90px -40px rgba(0, 0, 0, .9);
  --max: 1240px;
  --font-display: 'Anton', 'Arial Narrow', Impact, sans-serif;
  --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --header-h: 76px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

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

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 520px at 78% -10%, rgba(139, 92, 246, .16), transparent 60%),
    radial-gradient(760px 460px at 8% 8%, rgba(255, 61, 0, .12), transparent 62%),
    radial-gradient(700px 500px at 50% 110%, rgba(255, 27, 107, .10), transparent 65%);
  pointer-events: none;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: .035;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 400;
  letter-spacing: -.01em;
  line-height: 1.02;
}

p {
  margin: 0;
}

::selection {
  background: var(--brand-2);
  color: #fff;
}

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

[hidden] {
  display: none !important;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--brand-2);
  color: #fff;
  padding: 12px 18px;
  border-radius: 0 0 12px 0;
}

.skip-link:focus {
  left: 0;
}

/* ---------- utilidades ---------- */

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

.section {
  padding: 96px 0;
  position: relative;
}

.section--tight {
  padding: 64px 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 44px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow::before {
  content: '';
  width: 26px;
  height: 2px;
  background: var(--grad);
  border-radius: 2px;
}

.title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.4rem);
  text-transform: uppercase;
  line-height: .98;
  letter-spacing: .005em;
}

.title .grad,
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  color: var(--muted);
  font-size: 17px;
  max-width: 56ch;
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 13px;
}

.center {
  text-align: center;
}

.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- botones ---------- */

.btn {
  --btn-bg: var(--grad);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: var(--btn-bg);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .02em;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s;
  box-shadow: 0 14px 34px -16px rgba(255, 27, 107, .8);
  white-space: nowrap;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, .35) 48%, transparent 62%);
  transform: translateX(-120%);
  transition: transform .7s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 44px -18px rgba(255, 27, 107, .95);
}

.btn:hover::after {
  transform: translateX(120%);
}

.btn:active {
  transform: translateY(0);
}

.btn--ghost {
  background: transparent;
  border: 1px solid var(--line-strong);
  box-shadow: none;
  color: var(--text);
}

.btn--ghost:hover {
  border-color: var(--brand-2);
  box-shadow: 0 12px 30px -20px rgba(255, 27, 107, .7);
}

.btn--light {
  background: #f5f4f8;
  color: #0b0b0f;
  box-shadow: none;
}

.btn--sm {
  min-height: 40px;
  padding: 0 16px;
  font-size: 13px;
}

.btn--lg {
  min-height: 58px;
  padding: 0 32px;
  font-size: 15px;
}

.btn--block {
  width: 100%;
}

.btn[disabled] {
  opacity: .55;
  cursor: not-allowed;
  transform: none !important;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 14px;
  color: var(--text);
  border-bottom: 1px solid transparent;
  transition: gap .2s, color .2s;
}

.link-arrow:hover {
  gap: 13px;
  color: #fff;
}

.link-arrow svg {
  width: 16px;
  height: 16px;
}

/* ---------- barra superior ---------- */

.topbar {
  position: relative;
  z-index: 50;
  background: linear-gradient(90deg, rgba(255, 61, 0, .22), rgba(255, 27, 107, .2) 50%, rgba(139, 92, 246, .22));
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 38px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .04em;
  color: #f1eaf7;
  text-align: center;
}

.topbar__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .18);
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(8, 8, 11, .72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  transition: background .3s;
}

.site-header.is-scrolled {
  background: rgba(8, 8, 11, .92);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  width: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand__logo {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 0 0 1px rgba(255, 61, 0, .25), 0 8px 24px -10px rgba(255, 27, 107, .7);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.brand__sub {
  font-size: 9.5px;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-top: 4px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
}

.nav a {
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--muted);
  transition: color .2s, background .2s;
}

.nav a:hover,
.nav a.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, .06);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .03);
  color: var(--text);
  cursor: pointer;
  transition: border-color .2s, background .2s;
}

.icon-btn:hover {
  border-color: var(--brand-2);
  background: rgba(255, 27, 107, .08);
}

.icon-btn svg {
  width: 19px;
  height: 19px;
}

.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--grad);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 2px var(--bg);
}

.header__cta {
  min-height: 44px;
  padding: 0 20px;
}

.menu-toggle {
  display: none;
}

.mobile-nav {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 39;
  background: rgba(8, 8, 11, .98);
  padding: 24px;
  backdrop-filter: blur(12px);
}

.mobile-nav.is-open {
  display: block;
}

.mobile-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 4px;
  font-size: 22px;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .02em;
  border-bottom: 1px solid var(--line);
}

.mobile-nav .btn {
  margin-top: 24px;
  width: 100%;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding: 64px 0 40px;
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  gap: 56px;
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 8px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, .03);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero__badge b {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--grad);
  color: #fff;
  font-size: 11px;
  letter-spacing: .06em;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 7.6vw, 6.6rem);
  line-height: .9;
  text-transform: uppercase;
  margin: 22px 0 24px;
  letter-spacing: -.005em;
}

.hero h1 span {
  display: block;
}

.hero h1 .stroke {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(245, 244, 248, .55);
}

.hero__text {
  max-width: 46ch;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-top: 36px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.hero__meta div {
  min-width: 92px;
}

.hero__meta b {
  display: block;
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__meta span {
  display: block;
  margin-top: 6px;
  font-size: 11.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* visual del hero */

.hero__visual {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__glow {
  position: absolute;
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: conic-gradient(from 120deg, rgba(255, 61, 0, .5), rgba(255, 27, 107, .45), rgba(139, 92, 246, .5), rgba(255, 61, 0, .5));
  filter: blur(70px);
  opacity: .5;
  animation: spin 24s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.showcase {
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 1 / 1.04;
}

.showcase__card {
  position: absolute;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9);
  background: var(--panel);
}

.showcase__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase__card--main {
  inset: 6% 10% 10% 8%;
  transform: rotate(-3deg);
  z-index: 2;
}

.showcase__card--back {
  width: 46%;
  aspect-ratio: 4 / 5;
  right: 0;
  bottom: 2%;
  transform: rotate(6deg);
  z-index: 1;
  opacity: .9;
}

.showcase__tag {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(12, 12, 17, .86);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(10px);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .9);
}

.showcase__tag i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 4px rgba(34, 201, 138, .16);
}

.showcase__tag--tl {
  top: 10%;
  left: -2%;
}

.showcase__tag--br {
  bottom: 8%;
  right: 2%;
}

.showcase__tag--br b {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- marquee ---------- */

.marquee {
  border-block: 1px solid var(--line);
  padding: 18px 0;
  overflow: hidden;
  background: rgba(255, 255, 255, .015);
}

.marquee__track {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.marquee__track span {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(245, 244, 248, .42);
  display: flex;
  align-items: center;
  gap: 40px;
  white-space: nowrap;
}

.marquee__track span::after {
  content: '✦';
  color: var(--brand-2);
  font-size: 14px;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- valores ---------- */

.values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.value {
  background: var(--bg-2);
  padding: 26px 24px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.value svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--brand-2);
}

.value b {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
}

.value span {
  font-size: 12.5px;
  color: var(--muted-2);
  line-height: 1.5;
}

/* ---------- categorías ---------- */

.cats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.cat {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border: 1px solid var(--line);
  background: var(--panel);
  isolation: isolate;
}

.cat img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.2, .7, .2, 1);
  opacity: .82;
}

.cat::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(5, 5, 8, .94) 100%);
  z-index: 1;
}

.cat:hover img {
  transform: scale(1.06);
}

.cat__body {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  padding: 20px;
}

.cat__body h3 {
  font-family: var(--font-display);
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: .02em;
}

.cat__body span {
  font-size: 12px;
  color: var(--muted);
  display: block;
  margin-top: 4px;
}

.cat__arrow {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(8, 8, 11, .6);
  border: 1px solid rgba(255, 255, 255, .16);
  backdrop-filter: blur(8px);
  transition: background .2s;
}

.cat:hover .cat__arrow {
  background: var(--grad);
}

.cat__arrow svg {
  width: 15px;
  height: 15px;
}

/* ---------- productos ---------- */

.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.pcard {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .35s cubic-bezier(.2, .7, .2, 1), border-color .3s, box-shadow .3s;
}

.pcard:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
  box-shadow: 0 34px 60px -34px rgba(0, 0, 0, .95);
}

.pcard__media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: radial-gradient(520px 380px at 50% 32%, #26262f, #13131a 72%);
}

.pcard__media img[src$='.svg'] {
  object-fit: contain;
  padding: 7% 11%;
}

.pcard__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}

.pcard:hover .pcard__media img {
  transform: scale(1.04);
}

.pcard__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(8, 8, 11, .72);
  border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(8px);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.pcard__badge--grad {
  background: var(--grad);
  border-color: transparent;
}

.pcard__quick {
  position: absolute;
  inset: auto 12px 12px;
  display: flex;
  gap: 8px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .25s, transform .25s;
}

.pcard:hover .pcard__quick {
  opacity: 1;
  transform: none;
}

.pcard__quick .btn {
  flex: 1;
  min-height: 42px;
  font-size: 12.5px;
}

.pcard__body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.pcard__cat {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--muted-2);
  font-weight: 700;
}

.pcard__name {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -.01em;
  line-height: 1.25;
}

.pcard__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  gap: 8px;
}

.price {
  font-family: var(--font-display);
  font-size: 21px;
  letter-spacing: .02em;
}

.price small {
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 700;
  color: var(--muted-2);
  text-transform: uppercase;
  letter-spacing: .08em;
  display: block;
  margin-top: -2px;
}

.price--old {
  font-size: 14px;
  color: var(--muted-2);
  text-decoration: line-through;
  font-family: var(--font-body);
  font-weight: 600;
  margin-left: 6px;
}

/* ---------- probador promo ---------- */

.studio-promo {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(700px 340px at 85% 20%, rgba(139, 92, 246, .22), transparent 60%),
    radial-gradient(600px 300px at 10% 90%, rgba(255, 61, 0, .18), transparent 60%),
    var(--panel);
  overflow: hidden;
  padding: 56px;
  display: grid;
  grid-template-columns: 1fr .9fr;
  gap: 40px;
  align-items: center;
}

.studio-promo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(255, 255, 255, .04), transparent 40%);
  pointer-events: none;
}

.studio-promo h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 3rem);
  text-transform: uppercase;
  line-height: .98;
}

.studio-promo p {
  color: var(--muted);
  margin-top: 16px;
  max-width: 44ch;
}

.studio-promo__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, .03);
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}

.chip i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--grad);
}

.studio-promo__visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 380px;
}

.preview-stack {
  position: relative;
  width: min(100%, 360px);
  aspect-ratio: 800 / 900;
}

.preview-stack img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .7));
}

.preview-stack__print {
  position: absolute;
  left: 35.75%;
  top: 26.2%;
  width: 28.5%;
  height: 31.8%;
  object-fit: contain;
  transform: rotate(-2deg);
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .35));
}

/* ---------- portfolio ---------- */

.portfolio-grid {
  columns: 3;
  column-gap: 18px;
}

.pitem {
  position: relative;
  break-inside: avoid;
  margin-bottom: 18px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
  display: block;
}

.pitem img {
  width: 100%;
  height: auto;
  transition: transform .6s cubic-bezier(.2, .7, .2, 1), filter .3s;
}

.pitem:hover img {
  transform: scale(1.03);
  filter: brightness(.8);
}

.pitem__cap {
  position: absolute;
  inset: auto 0 0;
  padding: 40px 18px 16px;
  background: linear-gradient(180deg, transparent, rgba(5, 5, 8, .92));
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .3s, transform .3s;
}

.pitem:hover .pitem__cap {
  opacity: 1;
  transform: none;
}

.pitem__ig {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(8, 8, 11, .6);
  border: 1px solid rgba(255, 255, 255, .16);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity .3s;
}

.pitem:hover .pitem__ig {
  opacity: 1;
}

.pitem__ig svg {
  width: 15px;
  height: 15px;
}

/* ---------- pasos ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 28px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, .025), transparent);
  counter-increment: step;
}

.step::before {
  content: '0' counter(step);
  font-family: var(--font-display);
  font-size: 40px;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
  margin-bottom: 18px;
  opacity: .9;
}

.step h3 {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 8px;
}

.step p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

/* ---------- precios / tiers ---------- */

.tiers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.tier {
  padding: 26px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
  position: relative;
  overflow: hidden;
}

.tier--best {
  border-color: transparent;
  background:
    linear-gradient(var(--panel), var(--panel)) padding-box,
    var(--grad) border-box;
  border: 1px solid transparent;
}

.tier b {
  display: block;
  font-family: var(--font-display);
  font-size: 38px;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tier span {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted-2);
  margin-top: 8px;
}

.tier p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 14px;
}

.tier__flag {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 9.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--grad);
}

/* ---------- proyectos ---------- */

.projects {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.project {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
}

.project img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .88;
  transition: transform .6s, opacity .3s;
}

.project:hover img {
  transform: scale(1.04);
  opacity: 1;
}

.project__body {
  position: absolute;
  inset: auto 0 0;
  padding: 20px;
  background: linear-gradient(180deg, transparent, rgba(5, 5, 8, .92));
}

.project__body span {
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brand-2);
  font-weight: 800;
}

.project__body h3 {
  font-size: 16px;
  font-weight: 800;
  margin-top: 4px;
}

/* ---------- about ---------- */

.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.about__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 5;
}

.about__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(8, 8, 11, .55));
}

.about__stat {
  position: absolute;
  left: 20px;
  bottom: 20px;
  z-index: 2;
  padding: 16px 20px;
  border-radius: 16px;
  background: rgba(8, 8, 11, .8);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(12px);
}

.about__stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1;
}

.about__stat span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
}

.about ul {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 14px;
}

.about li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14.5px;
  color: #d6d5e2;
}

.about li svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--brand-2);
}

/* ---------- faq ---------- */

.faq {
  max-width: 860px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 4px;
  cursor: pointer;
  font-weight: 800;
  font-size: 16px;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '+';
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--muted-2);
  transition: transform .25s, color .25s;
}

.faq details[open] summary::after {
  content: '−';
  color: var(--brand-2);
}

.faq details p {
  padding: 0 4px 26px;
  color: var(--muted);
  font-size: 14.5px;
  max-width: 70ch;
}

/* ---------- cta final ---------- */

.cta {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 72px 56px;
  background:
    radial-gradient(800px 400px at 20% 0%, rgba(255, 61, 0, .28), transparent 60%),
    radial-gradient(800px 400px at 80% 100%, rgba(139, 92, 246, .3), transparent 60%),
    var(--panel);
  border: 1px solid var(--line-strong);
  text-align: center;
}

.cta h2 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  text-transform: uppercase;
  line-height: .94;
  max-width: 18ch;
  margin: 0 auto;
}

.cta p {
  color: var(--muted);
  margin: 18px auto 0;
  max-width: 52ch;
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

/* ---------- footer ---------- */

.site-footer {
  margin-top: 40px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(13, 13, 18, .9));
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr .8fr .8fr 1fr;
  gap: 40px;
  padding: 64px 0 40px;
}

.footer__brand p {
  color: var(--muted);
  font-size: 13.5px;
  margin-top: 18px;
  max-width: 34ch;
}

.footer__social {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.footer h4 {
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 18px;
  font-weight: 800;
}

.footer__links {
  display: grid;
  gap: 10px;
}

.footer__links a {
  font-size: 13.5px;
  color: #c9c8d6;
  transition: color .2s;
}

.footer__links a:hover {
  color: #fff;
}

.footer__contact {
  display: grid;
  gap: 12px;
  font-size: 13.5px;
  color: #c9c8d6;
}

.footer__contact span {
  display: block;
  font-size: 10.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 2px;
}

.newsletter {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}

.newsletter input {
  flex: 1;
  min-width: 0;
  height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, .03);
  font-size: 13px;
}

.newsletter button {
  height: 44px;
  width: 44px;
  flex-shrink: 0;
  border: 0;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.newsletter svg {
  width: 16px;
  height: 16px;
}

.footer__wordmark {
  font-family: var(--font-display);
  font-size: clamp(4rem, 15vw, 13rem);
  line-height: .8;
  text-align: center;
  letter-spacing: .02em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(245, 244, 248, .12);
  user-select: none;
  margin-bottom: -18px;
}

.footer__bottom {
  border-top: 1px solid var(--line);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--muted-2);
}

.footer__bottom a {
  color: var(--muted);
}

.payments {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.payments span {
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
}

/* ---------- página interior ---------- */

.page-head {
  padding: 64px 0 40px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 48px;
}

.page-head h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.4vw, 4.6rem);
  text-transform: uppercase;
  line-height: .95;
  margin-top: 14px;
}

.page-head p {
  color: var(--muted);
  max-width: 62ch;
  margin-top: 14px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted-2);
}

.breadcrumb a:hover {
  color: #fff;
}

/* ---------- catálogo ---------- */

.catalog-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
  margin-bottom: 30px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .02);
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  transition: all .2s;
}

.pill:hover {
  color: #fff;
  border-color: var(--line-strong);
}

.pill.is-active {
  background: var(--grad);
  border-color: transparent;
  color: #fff;
}

.select {
  height: 40px;
  padding: 0 34px 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--panel) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23a2a1b0' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 14px center;
  font-size: 13px;
  appearance: none;
  cursor: pointer;
}

.searchbox {
  position: relative;
  flex: 1;
  min-width: 200px;
  max-width: 320px;
}

.searchbox input {
  width: 100%;
  height: 40px;
  padding: 0 16px 0 40px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .02);
  font-size: 13px;
}

.searchbox svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--muted-2);
}

/* ---------- ficha producto ---------- */

.product {
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  gap: 56px;
  align-items: flex-start;
}

.product__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
  position: relative;
  aspect-ratio: 1 / 1;
}

.product__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product__thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.product__thumb {
  width: 76px;
  height: 76px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  padding: 0;
  background: none;
  cursor: pointer;
}

.product__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product__thumb.is-active {
  border-color: var(--brand-2);
}

.product__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.2vw, 3.6rem);
  text-transform: uppercase;
  line-height: .96;
  margin: 10px 0 16px;
}

.product__price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 18px 0 8px;
}

.product__price b {
  font-family: var(--font-display);
  font-size: 40px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}

.product__price span {
  color: var(--muted-2);
  font-size: 13px;
}

.product__desc {
  color: var(--muted);
  font-size: 15px;
  margin-top: 18px;
}

.product__options {
  display: grid;
  gap: 16px;
  margin-top: 26px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.opt-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 10px;
}

.sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.size {
  min-width: 48px;
  height: 44px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: transparent;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  transition: all .2s;
}

.size:hover {
  border-color: var(--muted);
}

.size.is-active {
  background: #f5f4f8;
  color: #0b0b0f;
  border-color: #f5f4f8;
}

.swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.swatch {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid transparent;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18);
  cursor: pointer;
  position: relative;
  transition: transform .15s;
}

.swatch:hover {
  transform: scale(1.08);
}

.swatch.is-active {
  border-color: #fff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .12), inset 0 0 0 1px rgba(0, 0, 0, .2);
}

.product__actions {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}

.product__note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12.5px;
  color: var(--muted-2);
  margin-top: 18px;
}

.product__note svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ---------- probador ---------- */

.studio {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr) 340px;
  gap: 22px;
  align-items: start;
}

.panel {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 22px;
}

.panel--sticky {
  position: sticky;
  top: calc(var(--header-h) + 20px);
}

.panel__title {
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.panel__title b {
  color: var(--text);
  letter-spacing: .02em;
  text-transform: none;
  font-size: 13px;
}

.garment-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.garment-opt {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, .02);
  padding: 10px 8px;
  cursor: pointer;
  text-align: center;
  transition: all .2s;
}

.garment-opt img {
  width: 100%;
  height: 64px;
  object-fit: contain;
}

.garment-opt span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  margin-top: 4px;
}

.garment-opt.is-active {
  border-color: var(--brand-2);
  background: rgba(255, 27, 107, .08);
}

.garment-opt.is-active span {
  color: #fff;
}

.color-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.color-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid transparent;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16);
  cursor: pointer;
  transition: transform .15s;
}

.color-dot:hover {
  transform: scale(1.1);
}

.color-dot.is-active {
  border-color: #fff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .12);
}

.print-list {
  display: grid;
  gap: 8px;
}

.print-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .02);
  cursor: pointer;
  font-size: 12.5px;
  transition: all .2s;
}

.print-opt input {
  accent-color: var(--brand-2);
  width: 16px;
  height: 16px;
}

.print-opt b {
  margin-left: auto;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}

.print-opt.is-checked {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, .05);
}

.upload-zone {
  border: 1.5px dashed var(--line-strong);
  border-radius: 14px;
  padding: 22px 16px;
  text-align: center;
  cursor: pointer;
  transition: all .2s;
  background: rgba(255, 255, 255, .015);
}

.upload-zone:hover,
.upload-zone.is-drag {
  border-color: var(--brand-2);
  background: rgba(255, 27, 107, .06);
}

.upload-zone svg {
  width: 26px;
  height: 26px;
  margin: 0 auto 10px;
  color: var(--brand-2);
}

.upload-zone b {
  display: block;
  font-size: 13px;
}

.upload-zone span {
  display: block;
  font-size: 11px;
  color: var(--muted-2);
  margin-top: 4px;
}

.upload-zone input {
  display: none;
}

.design-tools {
  display: none;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.design-tools.is-visible {
  display: flex;
}

.tool-btn {
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, .03);
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
}

.tool-btn:hover {
  border-color: var(--brand-2);
}

.studio-stage {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    radial-gradient(600px 400px at 50% 20%, rgba(139, 92, 246, .12), transparent 60%),
    radial-gradient(500px 300px at 50% 100%, rgba(255, 61, 0, .1), transparent 60%),
    #0b0b10;
  padding: 24px;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.studio-stage__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(8, 8, 11, .6);
  backdrop-filter: blur(8px);
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

.studio-stage__badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
}

.stage-wrap {
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 800 / 900;
  filter: drop-shadow(0 50px 70px rgba(0, 0, 0, .75));
}

.stage-wrap::before {
  content: '';
  position: absolute;
  inset: 4% 8%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .14), transparent 72%);
  filter: blur(10px);
}

.stage-wrap img.stage-garment {
  filter: drop-shadow(0 26px 36px rgba(0, 0, 0, .6));
}

.stage-wrap img.stage-garment,
.stage-wrap .stage-garment {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.stage-print {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 2px;
}

.stage-print img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

.stage-print.is-empty {
  border: 1px dashed rgba(255, 255, 255, .28);
  border-radius: 8px;
  background: rgba(255, 255, 255, .035);
}

.stage-print__hint {
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
  text-align: center;
  line-height: 1.5;
  padding: 0 10px;
  font-weight: 700;
}

.stage-shading {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  mix-blend-mode: soft-light;
  opacity: .9;
}

.stage-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 22px;
  position: relative;
  z-index: 2;
}

.studio-side {
  display: grid;
  gap: 16px;
  position: sticky;
  top: calc(var(--header-h) + 20px);
}

.quote-box {
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(400px 200px at 100% 0%, rgba(139, 92, 246, .18), transparent 60%),
    var(--panel);
  padding: 22px;
}

.quote-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  font-size: 13px;
  color: var(--muted);
}

.quote-line b {
  color: var(--text);
  font-weight: 700;
}

.quote-total {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.quote-total span {
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.quote-total b {
  font-family: var(--font-display);
  font-size: 38px;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.qty-control {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  overflow: hidden;
  width: fit-content;
}

.qty-control button {
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  font-size: 18px;
  cursor: pointer;
  color: var(--text);
}

.qty-control button:hover {
  background: rgba(255, 255, 255, .06);
}

.qty-control input {
  width: 52px;
  height: 40px;
  border: 0;
  background: transparent;
  text-align: center;
  font-weight: 800;
  font-size: 14px;
  -moz-appearance: textfield;
}

.qty-control input::-webkit-outer-spin-button,
.qty-control input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--grad-soft);
  border: 1px solid rgba(139, 92, 246, .35);
  color: #d9c9ff;
}

.ai-result {
  margin-top: 14px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  display: none;
}

.ai-result.is-visible {
  display: block;
}

.ai-result img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.ai-result__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  background: var(--panel-2);
  font-size: 11px;
}

/* ---------- formularios ---------- */

.field {
  display: grid;
  gap: 7px;
}

.field > label,
.form-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.input,
.textarea,
.select-input {
  width: 100%;
  min-height: 46px;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, .025);
  font-size: 14px;
  color: var(--text);
  transition: border-color .2s, background .2s;
}

.input:focus,
.textarea:focus,
.select-input:focus {
  outline: none;
  border-color: var(--brand-2);
  background: rgba(255, 255, 255, .04);
}

.textarea {
  min-height: 110px;
  resize: vertical;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-grid .span-2 {
  grid-column: span 2;
}

.checkbox {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--muted);
  cursor: pointer;
}

.checkbox input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--brand-2);
  flex-shrink: 0;
}

.alert {
  padding: 13px 16px;
  border-radius: 12px;
  font-size: 13px;
  border: 1px solid;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.alert--success {
  background: rgba(34, 201, 138, .08);
  border-color: rgba(34, 201, 138, .3);
  color: #8df0c8;
}

.alert--error {
  background: rgba(255, 77, 94, .08);
  border-color: rgba(255, 77, 94, .3);
  color: #ffb3ba;
}

.alert--info {
  background: rgba(82, 168, 255, .08);
  border-color: rgba(82, 168, 255, .3);
  color: #b7dcff;
}

/* ---------- carrito / checkout ---------- */

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  align-items: start;
}

.cart-list {
  display: grid;
  gap: 14px;
}

.cart-item {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 18px;
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
  align-items: center;
}

.cart-item__media {
  width: 96px;
  height: 110px;
  border-radius: 12px;
  overflow: hidden;
  background: #0d0d13;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
}

.cart-item__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}

.cart-item h3 {
  font-size: 15px;
  font-weight: 800;
}

.cart-item__meta {
  font-size: 12px;
  color: var(--muted-2);
  margin-top: 4px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
}

.cart-item__meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cart-item__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}

.cart-item__price {
  text-align: right;
  font-family: var(--font-display);
  font-size: 20px;
}

.cart-item__price span {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--muted-2);
  font-weight: 600;
  margin-top: 2px;
}

.summary {
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  background: var(--panel);
  padding: 24px;
  position: sticky;
  top: calc(var(--header-h) + 20px);
}

.summary h2 {
  font-family: var(--font-display);
  font-size: 22px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.summary__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  font-size: 13.5px;
  color: var(--muted);
}

.summary__row b {
  color: var(--text);
}

.summary__total {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-top: 1px solid var(--line);
  margin-top: 12px;
  padding-top: 16px;
}

.summary__total b {
  font-family: var(--font-display);
  font-size: 34px;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.empty {
  text-align: center;
  padding: 70px 20px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
}

.empty h2 {
  font-family: var(--font-display);
  font-size: 28px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.empty p {
  color: var(--muted);
  margin-bottom: 22px;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 32px;
  align-items: start;
}

.checkout-card {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 26px;
}

.checkout-card + .checkout-card {
  margin-top: 18px;
}

.checkout-card h2 {
  font-family: var(--font-display);
  font-size: 20px;
  text-transform: uppercase;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.step-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.payment-opts {
  display: grid;
  gap: 10px;
}

.payment-opt {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .02);
  cursor: pointer;
  transition: all .2s;
}

.payment-opt:has(input:checked) {
  border-color: var(--brand-2);
  background: rgba(255, 27, 107, .06);
}

.payment-opt input {
  accent-color: var(--brand-2);
}

.payment-opt b {
  font-size: 13.5px;
}

.payment-opt span {
  display: block;
  font-size: 11.5px;
  color: var(--muted-2);
  margin-top: 2px;
}

.payment-opt__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .05);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

/* ---------- gracias ---------- */

.result {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: 40px 0 20px;
}

.result__icon {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 24px;
  border: 1px solid rgba(34, 201, 138, .4);
  background: rgba(34, 201, 138, .1);
  color: #6ee7b7;
}

.result__icon svg {
  width: 36px;
  height: 36px;
}

.result h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  text-transform: uppercase;
  line-height: .96;
}

.result p {
  color: var(--muted);
  margin: 16px auto 0;
  max-width: 52ch;
}

.order-box {
  margin-top: 30px;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  background: var(--panel);
  padding: 24px;
  text-align: left;
}

.order-box__head {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
  margin-bottom: 14px;
}

.order-box__code {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: .04em;
}

.order-line {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 7px 0;
  font-size: 13.5px;
  color: var(--muted);
}

.order-line b {
  color: var(--text);
}

/* ---------- badges / estados ---------- */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  border: 1px solid var(--line-strong);
  color: var(--muted);
}

.badge--ok {
  background: rgba(34, 201, 138, .1);
  border-color: rgba(34, 201, 138, .3);
  color: #7df0c4;
}

.badge--warn {
  background: rgba(255, 176, 32, .1);
  border-color: rgba(255, 176, 32, .3);
  color: #ffd48a;
}

.badge--bad {
  background: rgba(255, 77, 94, .1);
  border-color: rgba(255, 77, 94, .3);
  color: #ffa7b1;
}

.badge--info {
  background: rgba(82, 168, 255, .1);
  border-color: rgba(82, 168, 255, .3);
  color: #a9d6ff;
}

/* ---------- galería / portafolio página ---------- */

.portfolio-page {
  columns: 4;
  column-gap: 16px;
}

.portfolio-page .pitem {
  margin-bottom: 16px;
}

.portfolio-page .pitem__cap {
  opacity: 1;
  transform: none;
  background: linear-gradient(180deg, transparent, rgba(5, 5, 8, .9));
  padding-top: 50px;
}

/* ---------- contacto ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-cards {
  display: grid;
  gap: 12px;
}

.contact-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
}

.contact-card svg {
  width: 22px;
  height: 22px;
  color: var(--brand-2);
  flex-shrink: 0;
}

.contact-card b {
  display: block;
  font-size: 13px;
  margin-bottom: 3px;
}

.contact-card span,
.contact-card a {
  font-size: 13px;
  color: var(--muted);
}

/* ---------- toast ---------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 20px);
  z-index: 90;
  padding: 13px 20px;
  border-radius: 999px;
  background: #f5f4f8;
  color: #0b0b0f;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, .8);
  opacity: 0;
  transition: opacity .3s, transform .3s;
  pointer-events: none;
  max-width: calc(100vw - 40px);
  text-align: center;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.toast--error {
  background: #ff4d5e;
  color: #fff;
}

/* ---------- reveal ---------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- responsive ---------- */

@media (max-width: 1180px) {
  .studio {
    grid-template-columns: 300px minmax(0, 1fr);
  }

  .studio-side {
    grid-column: span 2;
    grid-template-columns: 1fr 1fr;
    position: static;
  }
}

@media (max-width: 1080px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero__visual {
    min-height: 420px;
  }

  .values {
    grid-template-columns: repeat(2, 1fr);
  }

  .cats {
    grid-template-columns: repeat(2, 1fr);
  }

  .products {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps,
  .tiers {
    grid-template-columns: repeat(2, 1fr);
  }

  .about {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .about__media {
    aspect-ratio: 16 / 10;
    max-height: 420px;
  }

  .footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .footer__grid > :last-child {
    grid-column: span 3;
  }

  .product {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .cart-layout,
  .checkout-grid {
    grid-template-columns: 1fr;
  }

  .summary {
    position: static;
  }

  .portfolio-page {
    columns: 3;
  }

  .nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .header__cta {
    display: none;
  }
}

@media (max-width: 860px) {
  .studio {
    grid-template-columns: 1fr;
  }

  .studio-side {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .studio-stage {
    min-height: 420px;
    padding: 16px;
  }

  .panel--sticky {
    position: static;
  }

  .portfolio-grid {
    columns: 2;
  }

  .projects {
    grid-template-columns: 1fr 1fr;
  }

  .studio-promo {
    grid-template-columns: 1fr;
    padding: 36px 24px;
  }

  .studio-promo__visual {
    min-height: 320px;
    order: -1;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .page-head {
    padding: 44px 0 30px;
  }

  .section {
    padding: 68px 0;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 30px;
  }
}

@media (max-width: 640px) {
  :root {
    --header-h: 66px;
  }

  .container {
    padding: 0 18px;
  }

  .brand__logo {
    width: 40px;
    height: 40px;
  }

  .brand__name {
    font-size: 17px;
  }

  .brand__sub {
    display: none;
  }

  .hero {
    padding-top: 40px;
  }

  .hero__meta {
    gap: 18px;
  }

  .showcase {
    max-width: 360px;
  }

  .hero__visual {
    min-height: 340px;
  }

  .showcase__tag--tl {
    left: 0;
    font-size: 11px;
  }

  .values,
  .cats,
  .products,
  .steps,
  .tiers,
  .projects,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-grid .span-2 {
    grid-column: auto;
  }

  .cats .cat {
    aspect-ratio: 16 / 10;
  }

  .portfolio-grid,
  .portfolio-page {
    columns: 1;
  }

  .cta {
    padding: 48px 22px;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    padding: 44px 0 28px;
  }

  .footer__grid > :first-child {
    grid-column: span 2;
  }

  .footer__grid > :last-child {
    grid-column: span 2;
  }

  .cart-item {
    grid-template-columns: 72px 1fr;
  }

  .cart-item__media {
    width: 72px;
    height: 86px;
  }

  .cart-item__price {
    grid-column: 2;
    text-align: left;
  }

  .result__icon {
    width: 68px;
    height: 68px;
  }

  .marquee__track span {
    font-size: 16px;
  }

  .studio-promo h2 {
    font-size: 1.9rem;
  }

  .hide-sm {
    display: none !important;
  }
}

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

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
