/* =========================================================
   ¿Qué me pongo? — estilos
   Paleta neutra (marfil, arena, tinta) + acento terracota suave
   ========================================================= */

:root {
  --bg: #F8F5F0;
  --surface: #FFFFFF;
  --sand: #EFE9E1;
  --sand-2: #E6DED3;
  --ink: #1D1B18;
  --ink-2: #3A3631;
  --muted: #776E65;
  --line: #E3DCD2;
  --accent: #A46A5B;
  --accent-soft: #F4E8E3;
  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --radius: 4px;
  --shadow: 0 1px 2px rgba(29, 27, 24, .04), 0 8px 24px rgba(29, 27, 24, .06);
  --header-h: 72px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
body.no-scroll { overflow: hidden; }
main { flex: 1; }
a { color: inherit; }
img { max-width: 100%; display: block; }
button, input, select { font: inherit; color: inherit; }
strong { font-weight: 500; }
fieldset { border: 0; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.page { padding-top: 56px; padding-bottom: 96px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.tiny { font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.hidden { display: none !important; }

/* ---------- Tipografía ---------- */
.eyebrow, .kicker {
  font-size: 11.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
}
.kicker { color: var(--accent); }
.display {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(52px, 8vw, 104px);
  line-height: .95;
  letter-spacing: -.02em;
}
.display-2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1;
  letter-spacing: -.015em;
  margin: 8px 0 16px;
}
.display-3 { font-family: var(--serif); font-size: 32px; line-height: 1.15; }
.page-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(36px, 5vw, 52px);
  line-height: 1.05;
  margin: 6px 0 12px;
}
.page-lead { font-size: 18px; color: var(--ink-2); max-width: 620px; margin-bottom: 40px; }
.section-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.1;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: .04em;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #000; }
.btn-primary:disabled { background: #BDB5AB; cursor: not-allowed; }
.btn-ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-ghost:disabled { border-color: var(--line); color: var(--muted); background: transparent; cursor: default; }
.btn-link { background: none; padding: 0; min-height: auto; color: var(--ink-2); border-bottom: 1px solid currentColor; border-radius: 0; padding-bottom: 2px; }
.btn-link:hover { color: var(--accent); }
.btn-lg { min-height: 54px; padding: 0 38px; font-size: 15px; }
.btn-sm { min-height: 38px; padding: 0 18px; font-size: 13px; }
.btn-block { width: 100%; }
.btn-icon {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line); background: none; cursor: pointer; font-size: 18px; color: var(--muted);
}
.btn-icon:hover { border-color: var(--ink); color: var(--ink); }
.link-btn { background: none; border: 0; text-decoration: underline; cursor: pointer; color: var(--ink-2); font-size: inherit; }

.badge-premium {
  display: inline-block;
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 3px 10px;
  border-radius: 999px;
  font-weight: 400;
  vertical-align: middle;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248, 245, 240, .92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 27px;
  text-decoration: none;
  letter-spacing: -.01em;
  white-space: nowrap;
}
.logo.small { font-size: 22px; }
.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav a {
  text-decoration: none;
  font-size: 13.5px;
  letter-spacing: .03em;
  color: var(--ink-2);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}
.main-nav a:hover { color: var(--ink); }
.main-nav a.active { color: var(--ink); border-bottom-color: var(--ink); }
.main-nav .premium-pill {
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 6px 14px;
  border-radius: 999px;
}
.main-nav .premium-pill.active, .main-nav .premium-pill:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.main-nav .premium-pill.is-on { background: var(--accent-soft); }
.main-nav .premium-pill.is-on.active { background: var(--accent); }
.menu-toggle { display: none; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0; }
.site-footer .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.site-footer p { font-size: 13px; color: var(--muted); }

/* ---------- Prendas ---------- */
.garment-svg { width: 100%; height: 100%; display: block; }
/* Fotos de prendas: llenan su contenedor (ignoran el padding pensado para las siluetas) */
.g-visual, .board-visual, .collage > div, .hero-tile > div, .mini-grid > div, .edit-visual > div, .tryon-strip figure {
  position: relative; overflow: hidden;
}
.garment-photo {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
}
.g-card:hover .garment-photo, .feature:hover .garment-photo { transform: scale(1.03); }
.tryon-strip { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.tryon-strip figure { aspect-ratio: 1; background: var(--sand); }
.tryon-strip figure .garment-svg { padding: 12%; }

.swatch {
  display: inline-block; width: 10px; height: 10px; border-radius: 50%;
  background: var(--c); border: 1px solid rgba(0, 0, 0, .15); margin-right: 6px; vertical-align: -1px;
}
.pill {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); font-size: 13px; margin: 0 6px 6px 0;
}
.pill.on { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Collage de outfit */
.collage {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: 1fr 1fr; gap: 2px;
  background: var(--bg); aspect-ratio: 1; overflow: hidden;
}
.collage > div { background: var(--sand); padding: 12%; }
.collage.n3 > div:first-child { grid-row: span 2; padding: 8%; }
.collage.n2 { grid-template-rows: 1fr; }
.collage.n1 { grid-template-columns: 1fr; grid-template-rows: 1fr; }

/* =========================================================
   INICIO
   ========================================================= */
.hero {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center;
  min-height: calc(100vh - var(--header-h) - 40px);
  padding-top: 48px; padding-bottom: 72px;
}
.hero .eyebrow { margin-bottom: 20px; }
.tagline {
  font-family: var(--serif); font-style: italic; font-size: clamp(24px, 2.6vw, 32px);
  margin: 22px 0 18px; color: var(--accent);
}
.lead { font-size: 18px; color: var(--ink-2); max-width: 460px; }
.actions { display: flex; align-items: center; gap: 28px; margin-top: 40px; flex-wrap: wrap; }

.hero-visual {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; padding-bottom: 40px;
}
.hero-tile { background: var(--sand); }
.hero-tile > div { aspect-ratio: 4 / 5; padding: 14%; }
.hero-tile figcaption {
  font-size: 12px; letter-spacing: .06em; padding: 10px 14px; background: var(--surface); color: var(--ink-2);
}
.hero-tile.t1, .hero-tile.t3 { transform: translateY(44px); }
.hero-tile.t0 { background: #EAE3D9; }
.hero-tile.t3 { background: #E5DCD0; }
.hero-note {
  position: absolute; left: -28px; bottom: 0;
  background: var(--surface); padding: 14px 22px; box-shadow: var(--shadow);
  font-family: var(--serif); font-size: 20px; white-space: nowrap; text-align: center;
}
.hero-note span { display: block; font-family: var(--sans); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }

.how { padding: 96px 24px; }
.how .section-title { max-width: 640px; margin: 12px auto 56px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.step { position: relative; }
.step-n { font-family: var(--serif); font-size: 15px; color: var(--accent); display: block; margin-bottom: 14px; }
.step-visual { aspect-ratio: 1; background: var(--sand); margin-bottom: 22px; overflow: hidden; }
.step h3 { font-family: var(--serif); font-weight: 500; font-size: 26px; margin-bottom: 6px; }
.step p { color: var(--muted); }
.mini-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; background: var(--bg); }
.mini-grid > div { background: var(--sand); padding: 14%; }
.step-chips { display: flex; flex-wrap: wrap; align-content: center; justify-content: center; padding: 14%; }
.step .collage { aspect-ratio: auto; height: 100%; }

.quote-band { background: var(--ink); color: #F3EEE7; padding: 96px 0; }
.quote { font-family: var(--serif); font-size: clamp(26px, 3.4vw, 40px); line-height: 1.25; text-align: center; max-width: 900px; margin: 0 auto; }
.quote em { color: #D9B3A6; }

.plans { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; padding-top: 96px; padding-bottom: 112px; }
.plan { background: var(--surface); border: 1px solid var(--line); padding: 44px; display: flex; flex-direction: column; align-items: flex-start; }
.plan h3 { font-family: var(--serif); font-weight: 500; font-size: 32px; margin: 10px 0 20px; line-height: 1.1; }
.plan ul { list-style: none; margin-bottom: 32px; flex: 1; }
.plan li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.plan li::before { content: '—'; color: var(--accent); margin-right: 12px; }
.plan-premium { background: var(--accent-soft); border-color: #EAD6CE; }
.plan-premium .eyebrow { color: var(--accent); }

/* =========================================================
   FORMULARIOS / CHIPS
   ========================================================= */
.questions { display: flex; flex-direction: column; gap: 36px; }
.q { margin-bottom: 8px; }
.q-title { display: block; font-size: 17px; font-weight: 400; margin-bottom: 14px; color: var(--ink); }
.q-title .opt { font-size: 12.5px; color: var(--muted); font-weight: 300; margin-left: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px;
  border: 1px solid var(--line); background: var(--surface); border-radius: 999px;
  font-size: 14px; cursor: pointer; transition: all .15s; user-select: none;
}
.chip span:hover { border-color: var(--ink-2); }
.chip input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.input {
  width: 100%; min-height: 48px; padding: 0 16px; border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--surface); font-size: 15px; outline: none;
}
.input:focus { border-color: var(--ink-2); }
.form-actions { padding-top: 12px; border-top: 1px solid var(--line); padding-top: 32px; }

/* =========================================================
   ARMARIO
   ========================================================= */
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 32px; flex-wrap: wrap; }
.page-head .page-title { margin-bottom: 0; }
.tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 32px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  background: none; border: 1px solid transparent; border-radius: 999px; padding: 8px 18px;
  font-size: 14px; color: var(--muted); cursor: pointer; white-space: nowrap; transition: all .15s;
}
.tab:hover { color: var(--ink); }
.tab.active { border-color: var(--ink); color: var(--ink); }
.banner {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  background: var(--accent-soft); padding: 18px 24px; margin-bottom: 32px;
}
.banner p { font-family: var(--serif); font-size: 22px; line-height: 1.2; margin-top: 4px; }
.banner .eyebrow { color: var(--accent); }

.wardrobe-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 22px; }
.g-card { position: relative; }
.g-visual { aspect-ratio: 4 / 5; background: var(--sand); padding: 16%; transition: background .25s; }
.g-card:hover .g-visual { background: var(--sand-2); }
.g-card.is-highlight .g-visual { box-shadow: inset 0 0 0 1px var(--accent); }
.g-info { padding-top: 12px; }
.g-info h3 { font-size: 15px; font-weight: 400; line-height: 1.3; }
.g-info p { font-size: 13px; color: var(--muted); margin-top: 2px; }
.g-info .sep { margin: 0 6px; }
.g-remove {
  position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; border-radius: 50%;
  border: 0; background: rgba(255, 255, 255, .85); cursor: pointer; font-size: 17px; color: var(--muted);
  opacity: 0; transition: opacity .2s;
}
.g-card:hover .g-remove, .g-remove:focus-visible { opacity: 1; }
.g-remove:hover { color: var(--ink); }
.empty { color: var(--muted); grid-column: 1 / -1; padding: 40px 0; }
.next-step {
  margin-top: 56px; padding: 28px 32px; border: 1px solid var(--line); background: var(--surface);
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
}
.next-step p { font-family: var(--serif); font-size: 26px; }

/* Modal */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 100; background: rgba(29, 27, 24, .45);
  display: flex; align-items: center; justify-content: center; padding: 16px; animation: fade .2s;
}
.modal {
  position: relative; background: var(--bg); width: 100%; max-width: 760px; max-height: calc(100vh - 32px);
  overflow-y: auto; padding: 40px; animation: rise .25s ease-out;
}
.modal-close { position: absolute; top: 14px; right: 16px; background: none; border: 0; font-size: 28px; cursor: pointer; color: var(--muted); line-height: 1; }
.modal-title { font-family: var(--serif); font-weight: 500; font-size: 36px; margin-bottom: 24px; }
.garment-form { display: grid; grid-template-columns: 1fr 1.1fr; gap: 28px; }
.upload { cursor: pointer; display: block; }
.upload-preview {
  aspect-ratio: 4 / 5; background: var(--sand); border: 1px dashed #C9BFB2;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  text-align: center; padding: 24px; font-size: 14px; transition: background .2s;
}
.upload:hover .upload-preview { background: var(--sand-2); }
.upload-preview small { color: var(--muted); font-size: 12px; }
.upload-preview img { width: 100%; height: 100%; object-fit: contain; }
.upload-icon { font-size: 30px; font-weight: 200; }
.fields { display: flex; flex-direction: column; gap: 20px; }
.field > span, .field > legend { display: block; font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.color-pick { display: flex; flex-wrap: wrap; gap: 8px; }
.color-pick input { position: absolute; opacity: 0; }
.color-pick span {
  display: block; width: 30px; height: 30px; border-radius: 50%; background: var(--c);
  border: 1px solid rgba(0, 0, 0, .15); cursor: pointer; transition: transform .15s;
}
.color-pick label:last-child span { background: repeating-linear-gradient(45deg, #B4917F 0 5px, #E4D3C4 5px 10px); }
.color-pick input:checked + span { box-shadow: 0 0 0 2px var(--bg), 0 0 0 3px var(--ink); }
.color-pick input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.color-name { display: block; margin-top: 8px; font-size: 13px; color: var(--muted); }

/* =========================================================
   ¿QUÉ ME PONGO?
   ========================================================= */
.wtw .q { margin-bottom: 40px; }
.choice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.choice input { position: absolute; opacity: 0; }
.choice span {
  display: flex; align-items: center; justify-content: center; min-height: 84px;
  border: 1px solid var(--line); background: var(--surface); cursor: pointer;
  font-family: var(--serif); font-size: 24px; transition: all .15s;
}
.choice span:hover { border-color: var(--ink-2); }
.choice input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.wtw-foot { border-top: 1px solid var(--line); padding-top: 32px; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.wtw-foot a { color: var(--accent); }

/* Loader */
.loader {
  position: fixed; inset: 0; z-index: 120; background: rgba(248, 245, 240, .96);
  display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity .3s;
}
.loader.show { opacity: 1; pointer-events: auto; }
.loader-box { text-align: center; width: 280px; }
.loader-line { height: 1px; background: var(--line); overflow: hidden; margin-bottom: 24px; }
.loader-line span { display: block; height: 100%; width: 40%; background: var(--ink); animation: slide 1.1s ease-in-out infinite; }
.loader-text { font-family: var(--serif); font-style: italic; font-size: 26px; }

/* =========================================================
   RESULTADO
   ========================================================= */
.result-head { margin-bottom: 36px; }
.result-layout { display: grid; grid-template-columns: 1.55fr 1fr; gap: 48px; align-items: start; }
.board { display: flex; flex-direction: column; gap: 14px; }
.board-big { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.board-small { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.board-small.n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.board-small.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.board-small.n1 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.board-item { background: var(--sand); animation: rise .5s ease-out both; }
.board-item:nth-child(2) { animation-delay: .08s; }
.board-small .board-item:nth-child(1) { animation-delay: .16s; }
.board-small .board-item:nth-child(2) { animation-delay: .22s; }
.board-small .board-item:nth-child(3) { animation-delay: .28s; }
.board-small .board-item:nth-child(4) { animation-delay: .34s; }
.board-item.big .board-visual { aspect-ratio: 4 / 5; padding: 12%; }
.board-item.small .board-visual { aspect-ratio: 1; padding: 16%; }
.board-item figcaption { background: var(--surface); padding: 10px 14px; font-size: 13.5px; line-height: 1.3; }
.board-item figcaption span { display: block; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.result-panel { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 22px; }
.formula { font-family: var(--serif); font-size: 30px; line-height: 1.2; }
.formula span { color: var(--accent); }
.explain { color: var(--ink-2); }
.reasons { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.reasons li { font-size: 12.5px; padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.result-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.result-actions .btn { flex: 1; }
.tryon-cta {
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  padding: 18px 20px; background: var(--accent-soft); text-decoration: none; transition: background .2s;
}
.tryon-cta:hover { background: #EFDDD5; }
.tryon-cta strong { display: block; font-family: var(--serif); font-size: 21px; font-weight: 500; }
.tryon-cta small { font-size: 13px; color: var(--muted); }
.result-panel > .btn-link { align-self: flex-start; }

.styling { margin-top: 96px; padding-top: 56px; border-top: 1px solid var(--line); }
.section-head { margin-bottom: 32px; }
.section-head .section-title { margin-top: 10px; }
.tips { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; position: relative; }
.tip { background: var(--surface); border: 1px solid var(--line); padding: 26px 24px; }
.tip-icon { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; border-radius: 50%; background: var(--accent-soft); color: var(--accent); margin-bottom: 16px; }
.tip h3 { font-family: var(--serif); font-weight: 500; font-size: 22px; margin-bottom: 6px; line-height: 1.15; }
.tip p { font-size: 14.5px; color: var(--ink-2); }
.tips.is-locked .tip { filter: blur(5px); user-select: none; pointer-events: none; opacity: .7; }

.locked {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 24px; background: rgba(248, 245, 240, .55);
}
.locked-icon { font-size: 24px; margin-bottom: 8px; }
.locked h3 { font-family: var(--serif); font-weight: 500; font-size: 30px; line-height: 1.15; max-width: 520px; }
.locked p { color: var(--ink-2); margin: 8px 0 22px; max-width: 460px; }

/* =========================================================
   MIS OUTFITS
   ========================================================= */
.outfit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.outfit-card { background: var(--surface); border: 1px solid var(--line); }
.outfit-info { padding: 20px 22px 22px; }
.outfit-info h3 { font-family: var(--serif); font-weight: 500; font-size: 24px; line-height: 1.15; }
.outfit-info p { font-size: 13.5px; color: var(--muted); margin: 4px 0 16px; }
.outfit-actions { display: flex; justify-content: space-between; align-items: center; }
.empty-state { text-align: center; padding: 72px 24px; border: 1px dashed #D3C9BC; display: flex; flex-direction: column; align-items: center; gap: 14px; }

/* =========================================================
   VISUALIZA (try-on simulado)
   ========================================================= */
.tryon { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; align-items: start; }
.stage-wrap { display: flex; justify-content: center; background: var(--sand); padding: 28px; }
.stage {
  position: relative; width: 100%; max-width: 460px; aspect-ratio: 3 / 4; overflow: hidden;
  background: #F2EDE6; --dy: 0%; --sc: 1;
}
.stage .mannequin { position: absolute; inset: 0; width: 100%; height: 100%; }
.stage-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ov-wrap { position: absolute; inset: 0; transform: translateY(var(--dy)) scale(var(--sc)); transform-origin: 50% 0; transition: opacity .3s; }
.ov { position: absolute; transform: translateX(-50%); }
.ov .garment-svg { filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .14)); }
.ov.is-photo img { width: 100%; height: 100%; object-fit: fill; mix-blend-mode: multiply; }
.ov-bottom { left: 50%; top: 36%; width: 40%; height: 58%; z-index: 1; }
.ov-shoes { left: 50%; top: 86%; width: 32%; height: 14%; z-index: 2; }
.ov-top { left: 50%; top: 16%; width: 56%; height: 40%; z-index: 2; }
.ov-dress { left: 50%; top: 14%; width: 52%; height: 64%; z-index: 2; }
.ov-layer { left: 50%; top: 15%; width: 62%; height: 42%; z-index: 3; }
.ov-jewel { left: 50%; top: 17%; width: 18%; height: 10%; z-index: 4; }
.ov-bag { left: 77%; top: 46%; width: 22%; height: 20%; z-index: 5; }
.stage-tag {
  position: absolute; left: 12px; bottom: 12px; z-index: 6; font-size: 11px; letter-spacing: .08em;
  background: rgba(255, 255, 255, .88); padding: 5px 10px; border-radius: 999px; color: var(--ink-2);
}
.tryon-panel { display: flex; flex-direction: column; gap: 14px; }
.panel-block { background: var(--surface); border: 1px solid var(--line); padding: 22px 24px; display: flex; flex-direction: column; gap: 12px; }
.panel-block .q-title { margin-bottom: 0; display: flex; align-items: center; gap: 10px; }
.row { display: flex; gap: 10px; flex-wrap: wrap; }
.range { display: grid; grid-template-columns: 72px 1fr; align-items: center; font-size: 13.5px; color: var(--muted); }
.range input { accent-color: var(--ink); width: 100%; }
.future { background: var(--accent-soft); border-color: #EAD6CE; }
.future ol { padding-left: 18px; display: flex; flex-direction: column; gap: 8px; font-size: 14.5px; }
.tryon-teaser { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.tryon-teaser .stage { max-width: 420px; margin: 0 auto; }
.tryon-teaser .page-lead { margin-bottom: 14px; }
.tryon-teaser .muted { margin-bottom: 32px; }

/* =========================================================
   THE FASHION EDIT
   ========================================================= */
.edit { padding-top: 40px; }
.masthead { text-align: center; border-bottom: 1px solid var(--ink); padding-bottom: 22px; margin-bottom: 48px; }
.mast-top {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
  border-bottom: 1px solid var(--line); padding-bottom: 14px; margin-bottom: 18px;
}
.mast-title {
  font-family: var(--serif); font-weight: 500; font-size: clamp(54px, 10vw, 132px);
  line-height: .9; letter-spacing: -.03em; text-transform: uppercase;
}
.mast-sub { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--ink-2); margin-top: 14px; }

.edit-visual {
  aspect-ratio: 4 / 3; display: grid; gap: 2px; background: var(--bg); overflow: hidden;
  grid-template-columns: minmax(0, 1fr);
}
.edit-visual > div { background: var(--tone); padding: 14%; }
.edit-visual.n2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.edit-visual.n3 { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); grid-template-rows: 1fr 1fr; }
.edit-visual.n3 > div:first-child { grid-row: span 2; }

.cover { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; margin-bottom: 80px; }
.cover .edit-visual { aspect-ratio: 5 / 4; }
.cover-text h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(36px, 4.6vw, 58px); line-height: 1.02; margin: 12px 0 18px; }
.dek { font-size: 17px; color: var(--ink-2); }

.closet-link {
  margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.closet-link p { font-family: var(--serif); font-style: italic; font-size: 18px; }

.edit-section { margin-bottom: 72px; }
.edit-h {
  font-family: var(--serif); font-weight: 500; font-size: 34px; margin-bottom: 28px;
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
  border-bottom: 1px solid var(--line); padding-bottom: 14px;
}
.edit-h span { color: var(--accent); font-size: 22px; }
.edit-h small { font-family: var(--sans); font-size: 14px; color: var(--muted); font-weight: 300; }
.trend-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.article h3 { font-family: var(--serif); font-weight: 500; font-size: 25px; line-height: 1.15; margin: 18px 0 8px; }
.article p { font-size: 15px; color: var(--ink-2); }
.article .closet-link { flex-direction: column; align-items: flex-start; }
.article-row { display: grid; grid-template-columns: 1fr 1.2fr; gap: 28px; align-items: start; margin-bottom: 36px; }
.article-row h3 { margin-top: 0; }
.edit-split { display: grid; grid-template-columns: 2fr 1fr; gap: 48px; }
.gossip { background: var(--ink); color: #F3EEE7; padding: 32px 28px; align-self: start; }
.gossip .edit-h { border-color: rgba(255, 255, 255, .15); font-size: 30px; }
.gossip .edit-h span { color: #D9B3A6; }
.gossip ul { list-style: none; }
.gossip li { padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.gossip li .kicker { color: #D9B3A6; }
.gossip li p { font-size: 15px; margin-top: 4px; color: #E6DFD6; }
.gossip .tiny { color: #A89F95; margin-top: 18px; }

.vote-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.vote { background: var(--surface); border: 1px solid var(--line); padding: 28px 26px; display: flex; flex-direction: column; }
.vote h3 { font-family: var(--serif); font-weight: 500; font-size: 26px; line-height: 1.1; margin: 8px 0 8px; }
.vote > p:not(.kicker):not(.tiny) { font-size: 14.5px; color: var(--ink-2); flex: 1; }
.vote-actions { display: flex; gap: 8px; margin: 20px 0 14px; }
.vote-btn {
  flex: 1; min-height: 42px; border: 1px solid var(--line); border-radius: 999px; background: none;
  cursor: pointer; font-size: 13.5px; transition: all .15s;
}
.vote-btn:hover { border-color: var(--ink); }
.vote-btn.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.vote-bar { height: 3px; background: var(--line); overflow: hidden; margin-bottom: 8px; }
.vote-bar span { display: block; height: 100%; background: var(--accent); width: 0; transition: width .6s; }
.vote-bar:not(.show) span { width: 0 !important; }

.detail-band { background: var(--accent-soft); padding: 56px clamp(24px, 6vw, 80px); text-align: center; }
.detail-text { font-family: var(--serif); font-style: italic; font-size: clamp(26px, 3.4vw, 40px); line-height: 1.2; max-width: 820px; margin: 14px auto 0; }
.detail-band .closet-link { justify-content: center; border-color: #E6D3CA; max-width: 520px; margin: 28px auto 0; }

.edit-locked { position: relative; }
.edit-locked .cover { filter: blur(4px); opacity: .55; pointer-events: none; }

/* =========================================================
   PERFIL
   ========================================================= */
.profile { display: grid; grid-template-columns: 340px 1fr; gap: 56px; align-items: start; }
.profile-card { background: var(--surface); border: 1px solid var(--line); padding: 36px 30px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.avatar {
  width: 112px; height: 112px; border-radius: 50%; background: var(--sand); overflow: hidden;
  display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 46px; margin-bottom: 14px;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.profile-card .page-title { font-size: 36px; margin-bottom: 0; }
.profile-stats { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); width: 100%; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 24px 0; }
.profile-stats div { padding: 14px 0; }
.profile-stats div + div { border-left: 1px solid var(--line); }
.profile-stats strong { display: block; font-family: var(--serif); font-size: 30px; font-weight: 500; line-height: 1.1; }
.profile-stats span { font-size: 12px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.profile-details dl > div { display: grid; grid-template-columns: 200px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.profile-details dt { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-top: 6px; }
.profile-photo {
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
  margin-top: 32px; padding: 24px 26px; background: var(--accent-soft);
}
.profile-photo .q-title { margin-bottom: 4px; }
.reset { margin-top: 40px; }

/* =========================================================
   PREMIUM
   ========================================================= */
.premium-hero { text-align: center; max-width: 760px; margin: 0 auto 72px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.premium-hero .eyebrow { color: var(--accent); }
.price { font-size: 18px; color: var(--ink-2); margin: 8px 0 12px; }
.price strong { font-family: var(--serif); font-size: 56px; font-weight: 500; color: var(--ink); margin-right: 6px; }
.active-note { color: var(--accent); font-weight: 400; }
.premium-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-bottom: 72px; }
.feature { text-decoration: none; display: block; }
.feature h3 { font-family: var(--serif); font-weight: 500; font-size: 26px; margin: 18px 0 6px; }
.feature p { color: var(--muted); font-size: 15px; }
.feature:hover .edit-visual { filter: brightness(.97); }
.compare { width: 100%; max-width: 860px; margin: 0 auto; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); }
.compare th, .compare td { padding: 16px 20px; border-bottom: 1px solid var(--line); text-align: center; font-size: 15px; }
.compare th { font-weight: 400; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.compare th:last-child { color: var(--accent); }
.compare td:first-child, .compare th:first-child { text-align: left; }
.compare td:last-child { color: var(--accent); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 130; transform: translate(-50%, 20px);
  background: var(--ink); color: #fff; padding: 13px 24px; font-size: 14px; border-radius: 999px;
  opacity: 0; pointer-events: none; transition: all .3s; max-width: calc(100vw - 32px); text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Animaciones ---------- */
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes slide { 0% { transform: translateX(-100%); } 100% { transform: translateX(250%); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
  .main-nav { gap: 18px; }
  .main-nav a { font-size: 13px; }
  .wardrobe-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tryon { grid-template-columns: 1fr 320px; gap: 32px; }
}

@media (max-width: 960px) {
  .menu-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 6px;
    width: 44px; height: 44px; background: none; border: 0; cursor: pointer; padding: 10px;
  }
  .menu-toggle span { display: block; height: 1px; background: var(--ink); transition: transform .25s; }
  .menu-open .menu-toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-open .menu-toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    flex-direction: column; align-items: stretch; gap: 0; padding: 16px 24px 32px;
    background: var(--bg); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: all .25s;
    overflow-y: auto;
  }
  .menu-open .main-nav { transform: none; opacity: 1; pointer-events: auto; }
  .main-nav a {
    font-family: var(--serif); font-size: 28px; padding: 14px 0; border-bottom: 1px solid var(--line);
  }
  .main-nav a.active { border-bottom-color: var(--line); color: var(--accent); }
  .main-nav .premium-pill { margin-top: 24px; text-align: center; font-family: var(--sans); font-size: 15px; padding: 14px; }

  .hero { grid-template-columns: 1fr; min-height: auto; gap: 48px; padding-top: 40px; }
  .hero-visual { max-width: 520px; width: 100%; margin: 0 auto; }
  .steps { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; gap: 48px; }
  .plans { grid-template-columns: 1fr; }
  .result-layout { grid-template-columns: 1fr; gap: 32px; }
  .result-panel { position: static; }
  .outfit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tryon { grid-template-columns: 1fr; }
  .tryon-teaser { grid-template-columns: 1fr; gap: 32px; }
  .cover { grid-template-columns: 1fr; gap: 28px; }
  .trend-grid, .vote-grid, .premium-features { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .edit-split { grid-template-columns: 1fr; gap: 0; }
  .profile { grid-template-columns: 1fr; gap: 32px; }
  .profile-card { max-width: 420px; width: 100%; margin: 0 auto; }
}

@media (max-width: 640px) {
  :root { --header-h: 62px; }
  .container { padding: 0 16px; }
  .page { padding-top: 36px; padding-bottom: 72px; }
  .logo { font-size: 23px; }
  .page-lead { font-size: 16px; margin-bottom: 28px; }
  .actions { gap: 20px; }
  .actions .btn-primary { width: 100%; }
  .hero-visual { gap: 12px; }
  .hero-note { font-size: 17px; padding: 10px 16px; left: 8px; }
  .how { padding: 72px 16px; }
  .quote-band { padding: 64px 0; }
  .plan { padding: 30px 24px; }
  .page-head > .btn { width: 100%; }
  .wardrobe-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
  .g-remove { opacity: 1; width: 28px; height: 28px; }
  .g-info h3 { font-size: 14px; }
  .modal { padding: 28px 20px; }
  .modal-title { font-size: 30px; }
  .garment-form { grid-template-columns: 1fr; }
  .upload-preview { aspect-ratio: 16 / 10; }
  .choice-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .choice span { min-height: 64px; font-size: 21px; }
  .chip span { padding: 0 16px; }
  .wtw-foot .btn { width: 100%; }
  .formula { font-size: 25px; }
  .board-small, .board-small.n3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .board-big { gap: 10px; }
  .board, .board-small { gap: 10px; }
  .board-item figcaption { font-size: 12.5px; padding: 8px 10px; }
  .result-actions .btn { flex-basis: 100%; }
  .styling { margin-top: 64px; padding-top: 40px; }
  .tips.is-locked { min-height: 420px; }
  .locked h3 { font-size: 25px; }
  .outfit-grid { grid-template-columns: 1fr; }
  .stage-wrap { padding: 12px; }
  .trend-grid, .vote-grid, .premium-features { grid-template-columns: 1fr; }
  .article-row { grid-template-columns: 1fr; gap: 0; }
  .article-row h3 { margin-top: 18px; }
  .mast-top { flex-direction: column; gap: 8px; }
  .gossip { padding: 28px 20px; margin-bottom: 72px; }
  .profile-details dl > div { grid-template-columns: 1fr; gap: 6px; }
  .compare th, .compare td { padding: 12px 10px; font-size: 13.5px; }
  .price strong { font-size: 46px; }
  .next-step .btn { width: 100%; }
  .site-footer .container { flex-direction: column; align-items: flex-start; }
}
