/* Prestigio Flex · portada */

/* ---------- 1 · HERO ---------- */
.hero { position: relative; min-height: max(100svh, 760px); background: var(--ink); color: var(--white); overflow: hidden; display: flex; align-items: center; isolation: isolate; }
.hero-foto { position: absolute; top: 0; right: 0; bottom: 0; width: 57%; z-index: -1; overflow: hidden; }
.hero-foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; transform: scale(1.06); animation: pf-acerca 14s var(--ease) forwards; }
.hero-foto::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 0%, rgba(11, 11, 12, .55) 22%, rgba(11, 11, 12, 0) 48%), linear-gradient(0deg, rgba(11, 11, 12, .7) 0%, rgba(11, 11, 12, 0) 30%); }
@keyframes pf-acerca { to { transform: scale(1); } }
.hero-txt { position: relative; padding-top: 96px; padding-bottom: 72px; }
.hero h1 { font-size: clamp(56px, 7.6vw, 118px); margin: 22px 0 26px; max-width: 9.4em; }
.hero h1 em { color: var(--red-2); font-style: italic; }
.hero-sub { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5; color: rgba(255, 255, 255, .78); max-width: 34ch; margin: 0 0 34px; }
.hero-acc { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-datos { display: flex; gap: clamp(20px, 3vw, 44px); margin: 52px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line-d); max-width: 600px; }
.hero-datos div { min-width: 0; }
.hero-datos dt { font-stretch: 72%; font-weight: 800; font-style: italic; font-size: 30px; line-height: 1; }
.hero-datos dd { margin: 6px 0 0; font-size: 13px; color: rgba(255, 255, 255, .62); }
.hero-baja { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .55); text-decoration: none; padding-bottom: 26px; }
.hero-baja::after { content: ''; position: absolute; left: 50%; bottom: 0; width: 1px; height: 20px; background: linear-gradient(var(--red-2), transparent); animation: pf-baja 2.2s var(--ease) infinite; }
@keyframes pf-baja { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* Tarjetas de vidrio sobre la foto (tinte oscuro de base: contraste) */
.hero-cards { position: absolute; inset: 0; pointer-events: none; }
.hc { position: absolute; background: rgba(14, 14, 18, .62); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); border: 1px solid rgba(255, 255, 255, .14); border-radius: 18px; color: #fff; box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .7); opacity: 0; transform: translateY(18px); animation: pf-entra .9s var(--ease) forwards; }
.hc-ok { top: 112px; right: max(var(--pad), calc((100vw - var(--wrap)) / 2)); display: flex; align-items: center; gap: 10px; padding: 11px 16px 11px 13px; font-size: 13.5px; font-weight: 600; border-radius: 999px; animation-delay: 1.1s; }
.hc-ok i { width: 22px; height: 22px; border-radius: 50%; background: var(--ok); display: grid; place-items: center; flex: none; }
.hc-ok i::after { content: ''; width: 9px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translate(1px, -1px); }
.hc-chat { right: max(var(--pad), calc((100vw - var(--wrap)) / 2)); bottom: 120px; width: 300px; padding: 14px 14px 12px; animation-delay: .6s; }
.hc-chat small { display: block; font-size: 11px; color: rgba(255, 255, 255, .55); margin-bottom: 10px; letter-spacing: .02em; }
.hc-chat p { margin: 0 0 8px; font-size: 14px; line-height: 1.4; padding: 9px 12px; border-radius: 14px; max-width: 90%; }
.hc-chat .yo { background: rgba(255, 255, 255, .14); border-bottom-left-radius: 4px; }
.hc-chat .pf { background: #1E6B4C; margin-left: auto; border-bottom-right-radius: 4px; }
.hc-chat .pf b { display: block; font-size: 11px; font-weight: 700; opacity: .8; margin-bottom: 2px; }
.hc-chat .esc { display: flex; gap: 4px; width: 54px; background: rgba(255, 255, 255, .1); margin: 0; }
.hc-chat .esc span { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .7); animation: pf-escribe 1.3s infinite; }
.hc-chat .esc span:nth-child(2) { animation-delay: .18s; }
.hc-chat .esc span:nth-child(3) { animation-delay: .36s; }
@keyframes pf-escribe { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
.hc-prod { left: 47%; bottom: 150px; display: flex; align-items: center; gap: 12px; padding: 8px 10px 8px 8px; animation-delay: 1.5s; }
.hc-prod img { width: 54px; height: 64px; object-fit: cover; object-position: 50% 30%; border-radius: 10px; }
.hc-prod b { display: block; font-size: 15px; }
.hc-prod span { font-size: 13px; color: rgba(255, 255, 255, .7); }
.hc-prod em { font-style: normal; font-size: 13px; font-weight: 700; background: var(--red-2); border-radius: 999px; padding: 8px 12px; margin-left: 6px; }
@keyframes pf-entra { to { opacity: 1; transform: none; } }

/* Entrada del hero al cargar */
.wv-on .hero-txt > * { opacity: 0; transform: translateY(22px); animation: pf-entra .9s var(--ease) forwards; }
.wv-on .hero-txt > :nth-child(2) { animation-delay: .1s; }
.wv-on .hero-txt > :nth-child(3) { animation-delay: .22s; }
.wv-on .hero-txt > :nth-child(4) { animation-delay: .32s; }
.wv-on .hero-txt > :nth-child(5) { animation-delay: .42s; }

/* ---------- comunes de sección ---------- */
.sec-cab { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: end; margin-bottom: 44px; }
.sec-cab .lead { margin: 0; justify-self: end; }

/* ---------- 2 · LÍNEAS (bento) ---------- */
.lineas { padding: 120px 0 110px; background: var(--paper); }
.bento { display: grid; grid-template-columns: 1.25fr 1fr 1fr 1fr; grid-template-rows: 300px 300px; gap: 14px; }
.tile { position: relative; overflow: hidden; border-radius: var(--r-l); background: var(--ink-3); color: #fff; text-decoration: none; display: block; isolation: isolate; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.tile:first-child { grid-row: span 2; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; transition: transform .8s var(--ease); z-index: -1; }
.tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8, 8, 10, .82) 0%, rgba(8, 8, 10, .2) 45%, rgba(8, 8, 10, 0) 70%); z-index: -1; }
.tile:hover { transform: translateY(-2px); box-shadow: 0 22px 40px -24px rgba(0, 0, 0, .55); }
.tile:hover img { transform: scale(1.03); }
.tile .t-txt { position: absolute; left: 22px; right: 22px; bottom: 20px; display: flex; align-items: end; justify-content: space-between; gap: 12px; }
.tile h3 { margin: 0; font-stretch: 70%; font-weight: 850; font-style: italic; text-transform: uppercase; font-size: 34px; line-height: .95; }
.tile:first-child h3 { font-size: 56px; }
.tile p { margin: 6px 0 0; font-size: 14px; color: rgba(255, 255, 255, .78); }
.tile .t-ir { flex: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); display: grid; place-items: center; transition: background .3s, border-color .3s, transform .3s var(--ease); }
.tile:hover .t-ir { background: var(--red-2); border-color: var(--red-2); transform: rotate(-45deg); }

/* ---------- 3 · PROBADOR ---------- */
.probador { padding: 110px 0; background: var(--white); }
.probador-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.prob-foto { position: relative; }
.prob-marco { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-l); overflow: hidden; background: var(--paper); }
.prob-marco img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; mix-blend-mode: multiply; }
.prob-marco img.nueva { clip-path: circle(0% at var(--x, 80%) var(--y, 85%)); animation: pf-abre .75s var(--ease) forwards; }
@keyframes pf-abre { to { clip-path: circle(150% at var(--x, 80%) var(--y, 85%)); } }
.prob-tono { position: absolute; left: 22px; top: 22px; background: rgba(255, 255, 255, .92); border-radius: 999px; padding: 8px 14px; font-weight: 700; font-size: 14px; }
.prob-panel .h2 { margin: 16px 0 18px; }
.prob-panel .lead { margin: 0 0 28px; }
.prob-precio { display: flex; align-items: baseline; justify-content: space-between; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.prob-precio b { font-size: 20px; }
.prob-precio span { font-stretch: 72%; font-weight: 800; font-style: italic; font-size: 34px; }
fieldset { border: 0; margin: 0 0 18px; padding: 0; }
fieldset legend { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); margin-bottom: 10px; }
.tonos { display: flex; gap: 10px; }
.tono { width: 44px; height: 44px; border-radius: 50%; border: 2px solid transparent; padding: 3px; background: none; transition: transform .2s var(--ease), border-color .2s; }
.tono i { display: block; width: 100%; height: 100%; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
.tono:hover { transform: scale(1.08); }
.tono[aria-pressed="true"] { border-color: var(--ink); }
.tallas { display: flex; gap: 8px; flex-wrap: wrap; }
.tallas legend { width: 100%; }
.talla { min-width: 56px; height: 46px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--white); font-weight: 700; transition: border-color .2s, background .2s, transform .2s var(--ease); }
.talla:hover { border-color: var(--ink); transform: translateY(-1px); }
.talla[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.wa-prev { background: #ECE5DD; border-radius: 16px; padding: 12px; margin: 8px 0 22px; }
.wa-cab { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.wa-av { width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 12px; font-weight: 800; display: grid; place-items: center; }
.wa-cab b { display: block; font-size: 14px; }
.wa-cab small { font-size: 12px; color: #2F6B45; }
.wa-msg { margin: 0 0 0 auto; max-width: 88%; background: #D9FDD3; border-radius: 12px 12px 4px 12px; padding: 10px 12px; font-size: 14.5px; line-height: 1.45; white-space: pre-line; }
.wa-msg mark { background: none; color: inherit; font-weight: 700; }
.wa-msg mark.cambia { animation: pf-marca 1s var(--ease); }
@keyframes pf-marca { 0% { background: #FFE58A; } 100% { background: transparent; } }

/* ---------- responsivo ---------- */
@media (max-width: 1080px) {
  .hero-foto { width: 100%; }
  .hero-foto::after { background: linear-gradient(0deg, var(--ink) 8%, rgba(11, 11, 12, .55) 55%, rgba(11, 11, 12, .2) 100%); }
  .hc-prod, .hc-ok { display: none; }
  .bento { grid-template-columns: 1fr 1fr; grid-template-rows: 420px repeat(3, 260px); }
  .tile:first-child { grid-column: span 2; grid-row: auto; }
  .sec-cab { grid-template-columns: 1fr; }
  .sec-cab .lead { justify-self: start; }
  .probador-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hero { align-items: flex-end; min-height: 100svh; }
  .hero-foto { bottom: auto; height: 62%; }
  .hero-foto img { object-position: 60% 12%; }
  .hero-foto::after { background: linear-gradient(0deg, var(--ink) 0%, rgba(11, 11, 12, .35) 40%, rgba(11, 11, 12, .1) 100%); }
  .hero-txt { padding-top: 32vh; padding-bottom: 112px; }
  .hero h1 { font-size: 50px; margin: 14px 0 18px; }
  .hero-sub { margin-bottom: 24px; }
  .hero-acc .btn { width: 100%; }
  .hero-datos { flex-wrap: wrap; gap: 18px 26px; margin-top: 32px; }
  .hero-datos div { width: calc(50% - 13px); }
  .hc-chat { display: none; }
  .hero-baja { display: none; }
  .lineas, .probador { padding: 80px 0; }
  .bento { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: 240px; }
  .tile:first-child { grid-column: auto; }
  .tile:first-child h3 { font-size: 44px; }
}
@media (max-width: 899px) {
  .hc { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(14, 14, 18, .88); }
}
@media (prefers-reduced-motion: reduce) {
  .hc, .wv-on .hero-txt > * { opacity: 1; transform: none; }
  .hero-foto img { transform: none; }
  .prob-marco img.nueva { clip-path: none; }
}

/* ---------- 4 · lo más pedido ---------- */
.populares { padding: 110px 0; background: var(--paper); }

/* ---------- 5 · asesora de talla ---------- */
.asesora { padding: 110px 0; background: var(--ink); color: #fff; }
.asesora .lead { color: rgba(255,255,255,.7); }
.talla-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.asesora .h2 em { color: var(--red-2); }
.asesora .nota-demo { margin-top: 18px; }
.talla-calc { background: var(--ink-2); border: 1px solid var(--line-d); border-radius: 26px; padding: 30px; display: grid; gap: 22px; }
.talla-calc label { display: grid; grid-template-columns: 1fr auto; gap: 10px; font-weight: 650; }
.talla-calc output { font-variant-numeric: tabular-nums; font-weight: 800; }
.talla-calc input { grid-column: 1 / -1; accent-color: var(--red-2); width: 100%; height: 28px; }
.t-letras { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.t-letras span { display: grid; place-items: center; height: 84px; border-radius: 16px; border: 1px solid var(--line-d); font-stretch: 72%; font-weight: 850; font-style: italic; font-size: 40px; color: rgba(255,255,255,.35); transition: background .35s var(--ease), color .35s, transform .35s var(--ease); }
.t-letras span.si { background: var(--red); color: #fff; border-color: var(--red); transform: translateY(-4px); }
.talla-res p { margin: 14px 0 0; color: rgba(255,255,255,.8); min-height: 3em; }

/* ---------- 6 · hecho en Bolivia (palabras que se encienden al bajar) ---------- */
.bolivia { position: relative; height: 220vh; background: var(--ink); color: #fff; }
.bolivia-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: grid; align-items: center; }
.bolivia-foto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; opacity: .32; transform: scale(var(--z, 1.08)); }
.bolivia-sticky::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,11,12,.92) 0%, rgba(11,11,12,.6) 60%, rgba(11,11,12,.4) 100%); }
.bolivia-txt { position: relative; z-index: 1; margin: 0 auto; width: 100%; max-width: calc(var(--wrap) + var(--pad) * 2); padding: 0 var(--pad); font-stretch: 70%; font-weight: 850; font-style: italic; text-transform: uppercase; font-size: clamp(44px, 6.6vw, 104px); line-height: .95; letter-spacing: -.005em; }
.bolivia-txt .pw { color: rgba(255,255,255,.16); transition: color .35s; }
.bolivia-txt .pw.on { color: #fff; }
.bolivia-txt .pw.on.rojo { color: var(--red-2); }

/* ---------- 7 · cómo se compra (línea que se dibuja) ---------- */
.como { padding: 110px 0; background: #fff; }
.pasos-compra { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; position: relative; }
.pc-linea { position: absolute; left: 30px; right: 30px; top: 28px; width: calc(100% - 60px); height: 20px; overflow: visible; }
.pc-linea path { stroke: var(--red-2); stroke-width: 2; stroke-dasharray: 6 8; fill: none; vector-effect: non-scaling-stroke; animation: pf-fluye 1.2s linear infinite; }
@keyframes pf-fluye { to { stroke-dashoffset: -14; } }
.pasos-compra li { position: relative; }
.pc-n { position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--ink); color: #fff; font-stretch: 75%; font-weight: 850; font-style: italic; font-size: 26px; box-shadow: 0 0 0 8px #fff; }
.pasos-compra h3 { margin: 22px 0 8px; font-size: 22px; letter-spacing: -.01em; }
.pasos-compra p { margin: 0; color: var(--mute); max-width: 34ch; }

/* ---------- 8 · tiendas con mapa de anillos ---------- */
.tiendas { padding: 110px 0; background: var(--paper); }
.tiendas-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.t-lista { list-style: none; margin: 30px 0 24px; padding: 0; }
.t-lista li { display: flex; justify-content: space-between; gap: 16px; padding: 15px 0; border-top: 1px solid var(--line); }
.t-lista b { font-size: 17px; } .t-lista span { color: var(--mute); text-align: right; }
.politicas { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.politicas li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-size: 14px; font-weight: 600; }
.mapa { margin: 0; background: var(--ink); border-radius: 28px; padding: 24px; }
.mapa svg { width: 100%; height: auto; display: block; }
.anillos circle { stroke: rgba(255,255,255,.16); stroke-width: 1.5; stroke-dasharray: 3 6; }
.eje { stroke: rgba(255,255,255,.07); stroke-width: 1; }
.pin circle { fill: var(--red-2); }
.pin .halo { fill: rgba(232,34,63,.35); transform-origin: center; transform-box: fill-box; animation: pf-halo 2.4s var(--ease) var(--d) infinite; }
@keyframes pf-halo { 0% { transform: scale(.4); opacity: 1; } 100% { transform: scale(2.2); opacity: 0; } }
.pin text { fill: #fff; font: 700 15px var(--f); text-anchor: middle; }
.mapa figcaption { color: rgba(255,255,255,.5); font-size: 12.5px; margin-top: 8px; }

/* ---------- 9 · cierre y pie ---------- */
.cierre { position: relative; overflow: hidden; min-height: 88vh; display: grid; align-items: end; color: #fff; background: var(--ink); }
.cierre-foto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; animation: pf-cierre-zoom 18s var(--ease) both; }
@keyframes pf-cierre-zoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.cierre::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11,11,12,.92) 0%, rgba(11,11,12,.35) 55%, rgba(11,11,12,.1) 100%); }
.cierre-txt { position: relative; z-index: 1; padding-bottom: 90px; }
.cierre h2 { font-size: clamp(64px, 10vw, 150px); margin: 0 0 30px; }
.cierre h2 em { color: var(--red-2); }
.pie { background: var(--ink); color: rgba(255,255,255,.75); padding: 70px 0 110px; border-top: 1px solid var(--line-d); }
.pie-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; }
.pie .logo { color: #fff; } .pie p { max-width: 32ch; font-size: 14.5px; }
.pie h3 { color: #fff; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 12px; }
.pie-grid a:not(.logo) { display: block; text-decoration: none; padding: 4px 0; font-size: 14.5px; }
.pie-grid a:not(.logo):hover { color: #fff; }
.pie-nota { margin-top: 40px; font-size: 12.5px; color: rgba(255,255,255,.4); }

@media (max-width: 1080px) {
  .talla-grid, .tiendas-grid { grid-template-columns: 1fr; gap: 40px; }
  .pie-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .populares, .asesora, .como, .tiendas { padding: 80px 0; }
  .pasos-compra { grid-template-columns: 1fr; gap: 34px; }
  .pc-linea { display: none; }
  .t-lista li { flex-direction: column; gap: 2px; } .t-lista span { text-align: left; }
  .bolivia { height: 180vh; }
  .t-letras span { height: 64px; font-size: 30px; }
  .talla-calc { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .bolivia { height: auto; } .bolivia-sticky { position: relative; height: auto; padding: 120px 0; }
  .bolivia-txt .pw { color: #fff; }
}
.pie .pie-nota { max-width: none; }
