/* ===== Milano Joyería · Reseñas — negro y oro ===== */
:root {
  color-scheme: dark;
  --fondo: #0d0b09;
  --fondo-2: #14110e;
  --fondo-3: #1b1713;
  --tarjeta: rgba(255, 246, 230, .035);
  --tarjeta-2: rgba(255, 246, 230, .06);
  --linea: rgba(214, 183, 126, .16);
  --linea-2: rgba(214, 183, 126, .32);
  --crema: #f4ecdf;
  --texto-2: #c8baa5;
  --texto-3: #8e816f;
  --oro: #d6b77e;
  --oro-2: #b8935a;
  --oro-grad: linear-gradient(120deg, #f6e2b3 0%, #d2a861 38%, #f3d99e 62%, #a97c3d 100%);
  --estrella-vacia: rgba(214, 183, 126, .22);
  --verde: #8fd1ae;
  --rojo: #ff9c8a;
  --radio: 18px;
  --sombra: 0 20px 60px rgba(0, 0, 0, .45);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--fondo);
  color: var(--crema);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
::selection { background: rgba(214, 183, 126, .35); }

.contenedor { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .contenedor { padding: 0 32px; } }

/* ----- Aviso vista previa ----- */
.aviso-demo {
  position: relative; z-index: 31;
  background: #2a2117; color: #ecd5a8;
  font-size: 13px; padding: 8px 16px; text-align: center;
  border-bottom: 1px solid var(--linea);
}

/* ----- Barra superior ----- */
.barra {
  position: sticky; top: 0; z-index: 30;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.barra.solida {
  background: rgba(13, 11, 9, .78);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-color: var(--linea);
}
.barra-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.marca {
  font-family: var(--serif); font-size: 26px; font-weight: 500;
  letter-spacing: .04em; text-decoration: none; white-space: nowrap;
}
.marca em {
  font-style: italic; font-weight: 400;
  background: var(--oro-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.nav { display: none; gap: 28px; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; }
.nav a { text-decoration: none; color: var(--texto-2); transition: color .2s; }
.nav a:hover { color: var(--oro); }
@media (min-width: 860px) { .nav { display: flex; } }
.sesion { display: flex; align-items: center; gap: 10px; min-width: 0; }
.sesion .nombre-usuario { font-size: 14px; color: var(--texto-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 130px; }
@media (max-width: 420px) { .sesion .nombre-usuario { display: none; } }

/* ----- Botones ----- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent;
  font-size: 13.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; overflow: hidden; isolation: isolate;
  transition: transform .2s, box-shadow .3s, background .2s, border-color .2s, color .2s;
}
.btn svg { width: 17px; height: 17px; fill: currentColor; flex: none; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn:disabled { opacity: .6; cursor: progress; }
.btn-oro { background: var(--oro-grad); background-size: 200% 100%; color: #1a1209; box-shadow: 0 10px 30px rgba(210, 168, 97, .25); }
.btn-oro::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s ease;
}
.btn-oro:hover::after { transform: translateX(120%); }
.btn-oro:hover { box-shadow: 0 14px 40px rgba(210, 168, 97, .38); }
.btn-vidrio {
  background: rgba(255, 246, 230, .06); border-color: var(--linea-2); color: var(--crema);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.btn-vidrio:hover { border-color: var(--oro); color: var(--oro); }
.btn-chico { min-height: 38px; padding: 0 16px; font-size: 12px; }
.btn-ancho { width: 100%; }
.btn-google, .btn-facebook { text-transform: none; letter-spacing: .01em; font-size: 15.5px; width: 100%; }
.btn-google { background: #fff; color: #1f1f1f; }
.btn-google:hover { background: #f2f2f2; }
.btn-google svg { width: 20px; height: 20px; }
.btn-facebook { background: #1877f2; color: #fff; }
.btn-facebook:hover { background: #166fe0; }
.btn-facebook svg { width: 20px; height: 20px; }
.btn-link {
  background: none; border: 0; padding: 4px 0; cursor: pointer;
  color: var(--oro); text-decoration: underline; text-decoration-color: rgba(214,183,126,.4);
  text-underline-offset: 4px; font-size: 14px;
}
.btn-link:hover { text-decoration-color: var(--oro); }
.btn-icono {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--linea-2);
  background: rgba(255,246,230,.05); cursor: pointer; font-size: 15px; line-height: 1; flex: none;
  transition: border-color .2s, transform .2s;
}
.btn-icono:hover { border-color: var(--oro); transform: rotate(90deg); }
.btn:focus-visible, .btn-link:focus-visible, .btn-icono:focus-visible, .pestana:focus-visible,
input:focus-visible, textarea:focus-visible, select:focus-visible, .chip:focus-visible, .caja-foto:focus-within {
  outline: 2px solid var(--oro); outline-offset: 3px;
}

/* ----- Avatar ----- */
.avatar {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  background: linear-gradient(135deg, #3a2e20, #1f1913); color: var(--oro);
  border: 1px solid var(--linea-2);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 21px; font-weight: 500;
  object-fit: cover; overflow: hidden;
}
.avatar-chico { width: 32px; height: 32px; font-size: 16px; }

/* ----- Estrellas ----- */
.estrellas { position: relative; display: inline-block; line-height: 0; vertical-align: middle; --tam: 16px; }
.estrellas .base, .estrellas .lleno { display: flex; gap: 3px; }
.estrellas .lleno { position: absolute; top: 0; left: 0; overflow: hidden; white-space: nowrap; }
.estrellas svg { width: var(--tam); height: var(--tam); flex: none; }
.estrellas .base svg { fill: var(--estrella-vacia); }
.estrellas .lleno svg { fill: var(--oro); filter: drop-shadow(0 0 6px rgba(214,183,126,.35)); }
.estrellas.grande { --tam: 22px; }

/* ----- Tipografía ----- */
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.05; margin: 0; letter-spacing: .005em; }
h1 em, h2 em {
  font-style: italic;
  background: var(--oro-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.kicker {
  display: inline-flex; align-items: center; gap: 14px; margin: 0 0 18px;
  font-size: 12px; letter-spacing: .32em; text-transform: uppercase; color: var(--oro);
}
.kicker-chico { margin-bottom: 6px; font-size: 11px; letter-spacing: .26em; }
.linea-oro { width: 42px; height: 1px; background: var(--oro-grad); }

/* ----- Portada ----- */
.hero { position: relative; overflow: hidden; margin-top: -68px; padding: 120px 0 90px; min-height: min(100svh, 920px); display: flex; align-items: center; }
.hero-fondo {
  position: absolute; inset: -40px; z-index: -1;
  background:
    radial-gradient(ellipse at 75% 40%, rgba(13,11,9,0) 0%, rgba(13,11,9,.55) 55%, var(--fondo) 100%),
    linear-gradient(180deg, rgba(13,11,9,.35) 0%, rgba(13,11,9,.1) 40%, var(--fondo) 100%),
    url("img/fondo-hero.jpg") center / cover no-repeat;
  transform: scale(1.06);
  animation: respirar 18s ease-in-out infinite alternate;
}
@keyframes respirar { from { transform: scale(1.06) translate3d(0,0,0); } to { transform: scale(1.14) translate3d(-1.5%, -1%, 0); } }
.hero-in { display: grid; gap: 48px; align-items: center; }
@media (min-width: 920px) { .hero-in { grid-template-columns: 1.1fr .9fr; gap: 64px; } }
h1 { font-size: clamp(42px, 7.4vw, 82px); font-weight: 400; }
.lead { color: var(--texto-2); font-size: 17.5px; font-weight: 300; max-width: 33em; margin: 24px 0 34px; }
.acciones { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-stats { display: flex; align-items: center; gap: 28px; margin-top: 44px; }
.stat { display: flex; align-items: center; gap: 14px; }
.stat-num { font-family: var(--serif); font-size: 52px; line-height: 1; background: var(--oro-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-txt { display: grid; gap: 2px; font-size: 13px; color: var(--texto-2); line-height: 1.35; }
.stat-sep { width: 1px; height: 46px; background: var(--linea-2); }

.hero-foto { position: relative; margin: 0; justify-self: center; width: min(100%, 470px); perspective: 1200px; }
.arco {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden;
  border-radius: 999px 999px 26px 26px;
  border: 1px solid var(--linea-2);
  box-shadow: 0 40px 100px rgba(0,0,0,.6), 0 0 0 8px rgba(214,183,126,.04);
  transform-style: preserve-3d; transition: transform .25s ease-out;
}
.arco::before {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, rgba(13,11,9,0) 60%, rgba(13,11,9,.55) 100%);
}
.arco::after {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgba(255,240,210,.18) 50%, transparent 65%);
  transform: translateX(-100%); animation: destello 7s ease-in-out 1.5s infinite;
}
@keyframes destello { 0%, 70% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
.arco img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 60%; transform: scale(1.04); }
.hero-insignia {
  position: absolute; left: -18px; bottom: 34px; z-index: 4;
  display: flex; align-items: center; gap: 12px; padding: 14px 18px 14px 14px;
  border-radius: 16px; font-size: 13px; color: var(--texto-2); line-height: 1.35;
  background: rgba(20, 17, 14, .72); border: 1px solid var(--linea-2);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--sombra);
}
.hero-insignia strong { color: var(--crema); font-weight: 500; }
.insignia-ico { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--oro-grad); flex: none; }
.insignia-ico svg { width: 18px; height: 18px; fill: #1a1209; }
@media (max-width: 919px) {
  .hero { padding: 104px 0 70px; min-height: 0; }
  .hero-foto { width: min(78%, 360px); order: -1; }
  .hero-insignia { left: 50%; transform: translateX(-50%); bottom: -22px; white-space: nowrap; }
  .hero-texto { text-align: center; }
  .kicker, .acciones, .hero-stats { justify-content: center; }
  .lead { margin-left: auto; margin-right: auto; }
}
.hero-bajar {
  position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%);
  width: 26px; height: 42px; border: 1px solid var(--linea-2); border-radius: 999px;
}
.hero-bajar span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 3px; background: var(--oro); animation: bajar 2s infinite; }
@keyframes bajar { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (max-width: 919px) { .hero-bajar { display: none; } }

/* ----- Vitrina ----- */
.vitrina { position: relative; padding: 20px 0 10px; overflow: hidden; }
.vitrina::before, .vitrina::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 12vw; z-index: 2; pointer-events: none;
}
.vitrina::before { left: 0; background: linear-gradient(90deg, var(--fondo), transparent); }
.vitrina::after { right: 0; background: linear-gradient(-90deg, var(--fondo), transparent); }
.vitrina-pista { display: flex; gap: 18px; width: max-content; animation: desfilar 60s linear infinite; }
.vitrina:hover .vitrina-pista { animation-play-state: paused; }
.vitrina figure {
  margin: 0; width: clamp(170px, 22vw, 270px); aspect-ratio: 3 / 4; flex: none;
  border-radius: 999px 999px 18px 18px; overflow: hidden;
  border: 1px solid var(--linea);
}
.vitrina img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.92) brightness(.92); transition: transform 1.2s cubic-bezier(.2,.7,.2,1), filter .6s; }
.vitrina figure:hover img { transform: scale(1.08); filter: none; }
@keyframes desfilar { to { transform: translateX(calc(-50% - 9px)); } }

/* ----- Formulario ----- */
.escribir { position: relative; padding: 70px 0; scroll-margin-top: 60px; isolation: isolate; }
.escribir-fondo {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, var(--fondo) 0%, rgba(13,11,9,.7) 25%, rgba(13,11,9,.7) 75%, var(--fondo) 100%),
    url("img/fondo-modelo.jpg") center / cover no-repeat;
}
.lista, .resena { scroll-margin-top: 90px; }
.panel {
  background: rgba(20, 17, 14, .82); border: 1px solid var(--linea-2); border-radius: 26px;
  padding: 26px 18px; box-shadow: var(--sombra); max-width: 760px; margin: 0 auto;
  backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
  animation: aparecer .5s cubic-bezier(.2,.7,.2,1);
}
@keyframes aparecer { from { opacity: 0; transform: translateY(18px) scale(.99); } }
@media (min-width: 720px) { .panel { padding: 38px 44px; } }
.panel-cabeza { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.panel h2 { font-size: clamp(30px, 5vw, 40px); }
.paso-intro { color: var(--texto-2); margin: 0 0 22px; font-weight: 300; }
.login-sociales { display: grid; gap: 12px; }
.separador { display: flex; align-items: center; gap: 14px; margin: 26px 0 18px; color: var(--texto-3); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }
.separador::before, .separador::after { content: ""; flex: 1; height: 1px; background: var(--linea); }
.form-correo { display: grid; gap: 16px; }
.pestanas { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px; background: rgba(255,246,230,.05); border: 1px solid var(--linea); }
.pestana { border: 0; background: none; border-radius: 999px; padding: 10px; cursor: pointer; font-size: 14px; color: var(--texto-2); transition: background .2s, color .2s; }
.pestana[aria-selected="true"] { background: var(--fondo-3); color: var(--oro); box-shadow: 0 2px 10px rgba(0,0,0,.3); }

.form { display: grid; gap: 26px; }
.publicas-como {
  display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--texto-2);
  padding: 10px 14px; border-radius: 14px; background: rgba(255,246,230,.04); border: 1px solid var(--linea);
}
.publicas-como strong { color: var(--crema); font-weight: 500; }
.publicas-como .btn-link { margin-left: auto; font-size: 13px; }
.campo { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; min-width: 0; }
.campo legend, .campo label, .campo .label { font-weight: 400; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--texto-2); padding: 0; margin-bottom: 8px; }
.campo label { margin-bottom: 0; }
.req { color: var(--oro); }
.opc { color: var(--texto-3); font-size: 12px; letter-spacing: .04em; text-transform: none; }
.ayuda { margin: 0; font-size: 13.5px; color: var(--texto-3); }
input[type="text"], input[type="search"], input[type="email"], input[type="password"], textarea, select {
  width: 100%; border: 1px solid var(--linea-2); background: rgba(255, 246, 230, .04); border-radius: 14px;
  padding: 13px 16px; font-size: 16px; /* 16px evita el zoom en iPhone */
  transition: border-color .2s, background .2s;
}
input::placeholder, textarea::placeholder { color: #776b5b; }
input:focus, textarea:focus, select:focus { border-color: var(--oro); background: rgba(255,246,230,.07); outline: none; }
select option { background: var(--fondo-2); }
textarea { resize: vertical; min-height: 130px; }
.contador { justify-self: end; font-size: 12.5px; color: var(--texto-3); font-variant-numeric: tabular-nums; }
.input-prefijo { position: relative; }
.input-prefijo span { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--oro); }
.input-prefijo input { padding-left: 34px; }

.estrellas-input { display: flex; gap: 6px; }
.estrellas-input label { cursor: pointer; padding: 4px; margin: 0; border-radius: 10px; line-height: 0; }
.estrellas-input input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.estrellas-input svg { width: 42px; height: 42px; fill: var(--estrella-vacia); transition: fill .15s, transform .2s cubic-bezier(.3,1.6,.5,1), filter .2s; }
.estrellas-input label.on svg { fill: var(--oro); filter: drop-shadow(0 0 10px rgba(214,183,126,.5)); }
.estrellas-input label:hover svg { transform: scale(1.15) rotate(-6deg); }
.estrellas-input input:focus-visible + svg { outline: 2px solid var(--oro); outline-offset: 2px; border-radius: 6px; }
.etiqueta-estrellas { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--oro); min-height: 1.4em; }

.joya-buscador { position: relative; display: grid; gap: 8px; justify-items: start; }
.joya-buscador > input { justify-self: stretch; }
.joya-resultados {
  list-style: none; margin: 0; padding: 6px; justify-self: stretch;
  border: 1px solid var(--linea-2); border-radius: 14px; background: var(--fondo-2);
  max-height: 340px; overflow-y: auto; box-shadow: var(--sombra);
}
.joya-op { display: grid; grid-template-columns: 52px 1fr; gap: 12px; align-items: center; padding: 6px; border-radius: 10px; cursor: pointer; }
.joya-op:hover, .joya-op:focus { background: rgba(214,183,126,.1); outline: none; }
.joya-op img, .joya-elegida img, .compro img { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; background: #241e18; }
.joya-op .t { font-size: 14.5px; line-height: 1.3; }
.joya-op .p, .joya-elegida .p { font-size: 13px; color: var(--texto-3); }
.joya-elegida {
  display: grid; grid-template-columns: 60px 1fr auto; gap: 14px; align-items: center;
  padding: 10px; border: 1px solid var(--linea-2); border-radius: 14px; background: rgba(255,246,230,.04);
}
.joya-elegida img { width: 60px; height: 60px; }
.joya-elegida .t { font-weight: 500; line-height: 1.3; }

.foto-botones { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.caja-foto {
  position: relative; display: grid; justify-items: center; gap: 8px; padding: 22px 12px;
  border: 1px dashed var(--linea-2); border-radius: 16px; background: rgba(255,246,230,.03);
  cursor: pointer; text-align: center; font-size: 14px; color: var(--texto-2);
  text-transform: none !important; letter-spacing: 0 !important;
  transition: border-color .2s, background .2s, transform .2s;
}
.caja-foto:hover { border-color: var(--oro); background: rgba(214,183,126,.07); transform: translateY(-2px); }
.caja-foto svg { width: 28px; height: 28px; fill: var(--oro); }
.caja-foto input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.foto-preview { display: flex; align-items: flex-end; gap: 16px; }
.foto-preview img { width: 140px; height: 140px; object-fit: cover; border-radius: 16px; border: 1px solid var(--linea-2); }

.error { margin: 0; color: var(--rojo); font-size: 14.5px; background: rgba(255,120,100,.08); border: 1px solid rgba(255,120,100,.25); padding: 10px 14px; border-radius: 12px; }
.acciones-form { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.letra-chica { margin: 0; font-size: 12.5px; color: var(--texto-3); }

/* ----- Lista ----- */
.lista { padding: 80px 0 100px; }
.lista-in { display: grid; gap: 36px; }
@media (min-width: 960px) { .lista-in { grid-template-columns: 320px 1fr; gap: 48px; align-items: start; } .lateral { position: sticky; top: 92px; } }
.resumen {
  padding: 28px; border-radius: 24px; border: 1px solid var(--linea-2);
  background: linear-gradient(160deg, rgba(214,183,126,.09), rgba(214,183,126,.02) 60%), var(--fondo-2);
  box-shadow: var(--sombra);
}
.resumen-top { display: flex; align-items: center; gap: 18px; margin: 8px 0 22px; }
.promedio { font-family: var(--serif); font-size: 72px; line-height: .85; background: var(--oro-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.resumen-total { margin: 8px 0 0; font-size: 13.5px; color: var(--texto-2); }
.barras { display: grid; gap: 4px; margin-bottom: 22px; }
.barra-fila {
  display: grid; grid-template-columns: 34px 1fr 28px; align-items: center; gap: 10px;
  background: none; border: 0; padding: 5px 8px; margin: 0 -8px; border-radius: 10px;
  cursor: pointer; font-size: 13.5px; color: var(--texto-2); text-align: left;
}
.barra-fila:hover, .barra-fila.activa { background: rgba(214,183,126,.1); }
.barra-fila:disabled { cursor: default; background: none; opacity: .55; }
.barra-pista { height: 6px; border-radius: 99px; background: rgba(255,246,230,.07); overflow: hidden; }
.barra-pista span { display: block; height: 100%; background: var(--oro-grad); border-radius: 99px; transition: width .8s cubic-bezier(.2,.7,.2,1); }
.barra-fila .n { text-align: right; font-variant-numeric: tabular-nums; }
.confianza { list-style: none; padding: 0; margin: 22px 4px 0; display: grid; gap: 12px; font-size: 13.5px; color: var(--texto-2); }
.confianza span { color: var(--oro); margin-right: 6px; }

.lista-cabeza { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.lista-cabeza h2 { font-size: clamp(34px, 5vw, 48px); }
.orden { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--texto-2); }
.orden select { width: auto; padding: 8px 14px; border-radius: 999px; font-size: 14px; }
.filtros { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 12px; margin-bottom: 10px; scrollbar-width: none; }
.filtros::-webkit-scrollbar { display: none; }
.chip {
  flex: none; border: 1px solid var(--linea-2); background: rgba(255,246,230,.03); border-radius: 999px;
  padding: 7px 16px; font-size: 13.5px; cursor: pointer; white-space: nowrap; color: var(--texto-2);
  transition: all .2s;
}
.chip:hover { border-color: var(--oro); color: var(--crema); }
.chip[aria-pressed="true"] { background: var(--oro-grad); border-color: transparent; color: #1a1209; font-weight: 500; }

.resenas { columns: 1; column-gap: 18px; }
@media (min-width: 700px) { .resenas { columns: 2; } }
.resena {
  break-inside: avoid; margin-bottom: 18px;
  background: var(--tarjeta); border: 1px solid var(--linea); border-radius: var(--radio);
  padding: 22px; display: grid; gap: 14px; min-width: 0;
  transition: border-color .3s, transform .3s, background .3s;
  animation: entrar .6s cubic-bezier(.2,.7,.2,1) both;
}
.resena:hover { border-color: var(--linea-2); background: var(--tarjeta-2); transform: translateY(-3px); }
@keyframes entrar { from { opacity: 0; transform: translateY(16px); } }
.resena.resaltada { animation: brillo 2.2s ease; }
@keyframes brillo { 0%, 40% { box-shadow: 0 0 0 2px var(--oro), 0 0 40px rgba(214,183,126,.3); } 100% { box-shadow: none; } }
.resena-cabeza { display: flex; align-items: center; gap: 12px; }
.resena-quien { min-width: 0; }
.resena-nombre { font-weight: 500; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.resena-meta { font-size: 12.5px; color: var(--texto-3); display: flex; flex-wrap: wrap; gap: 2px 10px; }
.resena-meta a { color: var(--oro); text-decoration: none; }
.resena-meta a:hover { text-decoration: underline; }
.badge {
  display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 500; letter-spacing: .04em;
  color: var(--verde); background: rgba(143,209,174,.1); border: 1px solid rgba(143,209,174,.25); border-radius: 999px; padding: 1px 9px;
}
.badge svg { width: 12px; height: 12px; fill: currentColor; }
.badge-ejemplo { color: var(--oro); background: rgba(214,183,126,.1); border-color: var(--linea-2); }
.resena h3 { font-size: 24px; font-weight: 500; }
.resena-texto { margin: 0; white-space: pre-line; overflow-wrap: anywhere; color: #e2d7c6; font-weight: 300; }
.compro {
  display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center;
  padding: 8px 14px 8px 8px; border-radius: 14px; background: rgba(255,246,230,.04);
  text-decoration: none; border: 1px solid var(--linea);
  transition: border-color .2s;
}
a.compro:hover { border-color: var(--oro); }
.compro .k { font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--texto-3); }
.compro .t { font-size: 14.5px; line-height: 1.3; overflow-wrap: anywhere; }
.compro .ir { font-size: 12.5px; color: var(--oro); white-space: nowrap; }
.compro.sin-img { grid-template-columns: 1fr auto; padding-left: 14px; }
.resena-foto {
  border: 0; padding: 0; background: #1d1813; border-radius: 14px; overflow: hidden; cursor: zoom-in;
  width: 100%; aspect-ratio: 4 / 3;
}
.resena-foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.resena-foto:hover img { transform: scale(1.05); }
.resena-acciones { display: flex; flex-wrap: wrap; gap: 4px 18px; border-top: 1px dashed var(--linea); padding-top: 12px; }
.resena-acciones .btn-link { font-size: 13px; }
.resena-acciones .peligro { color: var(--rojo); }
.btn-instagram {
  min-height: 44px; padding: 9px 15px; border: 1px solid rgba(214,183,126,.78); border-radius: 999px;
  background: linear-gradient(135deg, #e4c98f, #bd9656); color: #21170c; font: 500 13px Jost, sans-serif;
  cursor: pointer; box-shadow: 0 4px 16px rgba(214,183,126,.16); transition: filter .2s, transform .2s;
}
.btn-instagram:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn-instagram:focus-visible { outline: 2px solid var(--crema); outline-offset: 3px; }

.vacio {
  column-span: all; text-align: center; padding: 56px 20px; color: var(--texto-2);
  background: var(--tarjeta); border: 1px dashed var(--linea-2); border-radius: var(--radio);
}
.vacio h3 { font-size: 30px; margin-bottom: 8px; color: var(--crema); }
.vacio p { margin: 0 0 22px; }
.mas { display: flex; justify-content: center; margin-top: 26px; }

.cargando { height: 190px; margin-bottom: 18px; break-inside: avoid; border-radius: var(--radio); background: linear-gradient(90deg, #17130f 0%, #221c16 50%, #17130f 100%); background-size: 200% 100%; animation: brillar 1.3s infinite; }
@keyframes brillar { to { background-position: -200% 0; } }

/* ----- Aparición al hacer scroll ----- */
.revelar { opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.revelar.visible { opacity: 1; transform: none; }

/* ----- Pie ----- */
.pie { position: relative; overflow: hidden; border-top: 1px solid var(--linea); padding: 90px 0 50px; text-align: center; color: var(--texto-2); font-size: 14px; isolation: isolate; }
.pie-fondo {
  position: absolute; inset: 0; z-index: -1; opacity: .35;
  background: linear-gradient(180deg, var(--fondo) 0%, rgba(13,11,9,.6) 50%, var(--fondo) 100%), url("img/fondo-modelo2.jpg") center 30% / cover no-repeat;
}
.pie p { margin: 4px 0; }
.marca-pie { font-size: 40px; color: var(--crema); }
.pie-lema { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--oro); }
.pie-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 26px; margin-top: 22px !important; font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase; }
.pie-links a { text-decoration: none; }
.pie-links a:hover { color: var(--oro); }
.pie-legal { margin-top: 30px !important; font-size: 12px; color: var(--texto-3); }

/* ----- Diálogos ----- */
dialog { border: 0; padding: 0; color: var(--crema); }
dialog::backdrop { background: rgba(8, 6, 4, .82); backdrop-filter: blur(6px); }
.visor { background: transparent; max-width: min(92vw, 900px); max-height: 90vh; overflow: visible; }
.visor img { max-height: 86vh; width: auto; border-radius: 16px; margin: 0 auto; }
.visor-cerrar { position: absolute; top: -52px; right: 0; }
.dlg { background: var(--fondo-2); border: 1px solid var(--linea-2); border-radius: 22px; padding: 28px; width: min(92vw, 460px); box-shadow: var(--sombra); }
.dlg h3 { font-size: 28px; margin-bottom: 10px; }
.dlg p, .dlg ol { color: var(--texto-2); }
.dlg ol { padding-left: 20px; display: grid; gap: 8px; margin-bottom: 22px; }
.dlg-instagram {
  width: min(94vw, 1040px); max-width: 1040px; max-height: min(92dvh, 1000px); overflow: auto;
  padding: 24px; border: 1px solid var(--linea-2); border-radius: 22px; background: var(--fondo-2); box-shadow: var(--sombra);
}
.ig-cabecera { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.ig-cabecera h2 { font-size: clamp(28px, 5vw, 38px); }
.ig-cuerpo { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr); gap: 22px; }
.ig-controles, .ig-texto { display: grid; align-content: start; gap: 14px; min-width: 0; }
.ig-checkbox { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 14px; color: var(--texto-2); }
.ig-checkbox input { width: 20px; height: 20px; accent-color: var(--oro); }
.ig-vista { width: 100%; max-height: 56vh; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--linea); border-radius: 14px; background: #090807; }
.ig-vista canvas { display: block; width: auto; height: auto; max-width: 100%; max-height: 56vh; object-fit: contain; }
.ig-botones { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ig-botones .btn, .ig-texto > .btn { min-height: 48px; padding: 10px; white-space: normal; }
.ig-texto textarea { min-height: 230px; font-size: 14px; line-height: 1.5; }
.ig-texto .ayuda { font-size: 13px; line-height: 1.5; }
@media (max-width: 700px) {
  .dlg-instagram { width: 100%; max-width: none; height: 100dvh; max-height: 100dvh; border-radius: 0; padding: max(16px, env(safe-area-inset-top)) 16px max(18px, env(safe-area-inset-bottom)); }
  .ig-cuerpo { grid-template-columns: 1fr; gap: 18px; }
  .ig-vista { max-height: 42vh; }
  .ig-vista canvas { max-height: 42vh; }
  .ig-texto textarea { min-height: 130px; }
  .ig-botones { grid-template-columns: 1fr; }
}

/* ----- Toast ----- */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 50;
  background: var(--fondo-3); color: var(--crema); padding: 14px 22px; border-radius: 14px;
  border: 1px solid var(--linea-2); font-size: 15px; box-shadow: var(--sombra);
  width: max-content; max-width: calc(100vw - 32px);
  animation: aparecer .35s cubic-bezier(.2,.7,.2,1);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .revelar { opacity: 1; transform: none; }
}
