/* ==========================================================================
   SublimArte — tema propio sobre el modelo base SIDERAL.
   Negro y marfil como su logo (geométrico, blanco sobre negro), con un detalle
   dorado cálido. Sobrio a propósito: parte de su trabajo son homenajes en memoria.
   Oscuro por defecto; el claro es "papel cálido".
   ========================================================================== */

:root,
[data-theme="dark"] {
  color-scheme: dark;
  --bg: #141414;
  --surface: #1b1b1b;
  --text: #f3f0ea;
  --muted: #bdb7ad;
  --line: rgba(243, 240, 234, .10);
  --edge: rgba(243, 240, 234, .05);

  --acento: #f3f0ea;          /* botón principal: marfil sobre negro */
  --acento-2: #ffffff;
  --acento-ink: #141414;
  --acento-alt: #c9a46b;      /* detalle dorado */

  --sh-dark: rgba(0, 0, 0, .6);
  --sh-light: rgba(255, 255, 255, .03);
  --glow: rgba(243, 240, 234, .14);
  --bg-glow-1: rgba(201, 164, 107, .10);
  --bg-glow-2: rgba(243, 240, 234, .05);
  --dot: rgba(243, 240, 234, .035);
}

[data-theme="light"] {
  color-scheme: light;
  --bg: #efece7;
  --surface: #f5f2ed;
  --text: #1b1b1b;
  --muted: #57534c;
  --line: rgba(27, 27, 27, .12);
  --edge: rgba(255, 255, 255, .8);

  --acento: #1b1b1b;          /* botón principal: negro sobre papel */
  --acento-2: #3a3a3a;
  --acento-ink: #f5f2ed;
  --acento-alt: #8f6b34;

  --sh-dark: rgba(150, 140, 125, .45);
  --sh-light: rgba(255, 255, 255, .85);
  --glow: rgba(27, 27, 27, .12);
  --bg-glow-1: rgba(201, 164, 107, .16);
  --bg-glow-2: rgba(27, 27, 27, .04);
  --dot: rgba(27, 27, 27, .05);
}

/* Logo: su imagen de perfil completa (blanco sobre negro) como medallón */
.logo-disc {
  width: clamp(200px, 60vw, 248px);
  padding: 0;
  background: #141414;
  box-shadow: var(--raised), 0 30px 80px -26px var(--glow);
  overflow: hidden;
}
.logo-disc img { width: 100%; filter: none; }

/* Portada en video: de borde a borde, bajo el botón de tema, y el logo montado sobre su borde inferior */
.portada {
  position: relative;
  margin: calc(-44px - 1rem - env(safe-area-inset-top, 0px)) -1rem 0;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  border-radius: 0 0 28px 28px;
  background: #141414 url("img/portada.webp") center 40% / cover;
}
.portada video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.portada::after { content: ""; position: absolute; inset: auto 0 0; height: 35%; background: linear-gradient(transparent, rgba(0, 0, 0, .35)); }
.portada + .logo-disc { position: relative; z-index: 1; margin-top: clamp(-96px, -22vw, -78px); }
@media (min-width: 592px) { .portada { margin-inline: 0; border-radius: 28px; } }
@media (prefers-reduced-motion: reduce) { .portada video { display: none; } }

.eyebrow { letter-spacing: .22em; color: var(--acento-alt); }
.chip .ico { color: var(--acento-alt); }

.seccion__titulo { justify-content: center; text-align: center; font-weight: 700; }
.seccion__titulo::before { content: ""; flex: 1; height: 1px; background: var(--line); }

.nota { margin: .9rem 0 0; text-align: center; font-size: .9rem; color: var(--muted); }

/* ---------- Ocasiones: tarjetas con foto que abren WhatsApp con su mensaje ---------- */
.ocasiones { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.ocasion {
  display: flex; flex-direction: column;
  border-radius: var(--r-md); overflow: hidden;
  background: var(--surface); border: 1px solid var(--edge); box-shadow: var(--raised-sm);
  color: inherit; text-decoration: none;
  transition: transform .2s ease;
}
.ocasion:hover { transform: translateY(-2px); }
.ocasion:active { transform: none; box-shadow: var(--inset); }
.ocasion img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.ocasion__texto { padding: .7rem .8rem .85rem; }
.ocasion__texto strong { display: block; font-size: 1rem; }
.ocasion__texto small { display: block; margin-top: .15rem; font-size: .8rem; line-height: 1.35; color: var(--muted); }
.ocasion:focus-visible, .forma:focus-visible { outline: 2px solid var(--acento-alt); outline-offset: 3px; }

/* ---------- Formas: medallones redondos ---------- */
.formas { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; }
.forma { display: flex; flex-direction: column; align-items: center; gap: .45rem; color: inherit; text-decoration: none; font-size: .85rem; font-weight: 600; }
.forma img {
  width: 100%; max-width: 84px; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 50%;
  border: 2px solid var(--acento-alt); box-shadow: var(--raised-sm);
}

/* ---------- Así de fácil ---------- */
.pasos { display: grid; gap: 1rem; margin: 0; padding: 1.1rem; list-style: none; }
.pasos li { display: flex; align-items: center; gap: .9rem; }
.pasos strong { display: block; }
.pasos li > span:last-child { color: var(--muted); font-size: .92rem; }
.pasos strong { color: var(--text); font-size: 1rem; }
.paso__icono {
  display: grid; place-items: center; flex: none;
  width: 2.8rem; height: 2.8rem; border-radius: 50%;
  background: var(--surface); box-shadow: var(--inset); color: var(--acento-alt); font-size: 1.1rem;
}

/* ---------- Lo que dicen nuestros clientes ---------- */
.opiniones { display: grid; gap: .9rem; }
.opinion { position: relative; margin: 0; padding: 1.3rem 1.2rem 1rem; }
.opinion::before { content: "\201C"; position: absolute; top: .1rem; left: .8rem; font-family: Georgia, serif; font-size: 3.2rem; line-height: 1; color: var(--acento-alt); opacity: .55; }
.opinion blockquote { margin: 0; padding-left: 1.4rem; line-height: 1.55; }
.opinion figcaption { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .3rem .8rem; margin-top: .8rem; padding-left: 1.4rem; font-size: .9rem; }
.opinion figcaption strong { color: var(--acento-alt); }
.opinion figcaption a { color: var(--muted); font-size: .82rem; cursor: zoom-in; }

/* ---------- Lista de precios (una columna, pensada para el celular) ---------- */
.regla { text-align: center; padding: 1.2rem 1.1rem; border: 1px solid var(--acento-alt); }
.regla p { margin: 0; color: var(--muted); line-height: 1.5; }
.regla strong { color: var(--text); }

.producto { margin-top: 1rem; padding: 0; overflow: hidden; }
.producto__foto { display: block; width: 100%; height: auto; aspect-ratio: 18 / 13; object-fit: cover; background: #efe4d3; }
.producto__ampliar { position: relative; display: block; cursor: zoom-in; }
.producto__ampliar:focus-visible { outline: 2px solid var(--acento-alt); outline-offset: -4px; }
.producto__lupa { position: absolute; right: .7rem; bottom: .7rem; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: rgba(20, 20, 20, .72); color: #f3f0ea; box-shadow: 0 4px 12px rgba(0, 0, 0, .25); }
.producto__cab { padding: 1rem 1.1rem .4rem; }
.producto__cab:has(+ .producto__ampliar) { padding-bottom: .9rem; }
.producto__ampliar + .tarifa { padding-top: .8rem; }
.producto__cab h3 { display: inline; margin: 0; font-size: 1.25rem; }
.producto__cab p { margin: .2rem 0 0; font-size: .9rem; color: var(--muted); }
.producto__etiqueta--top { white-space: nowrap; }
.producto__etiqueta { margin-left: .5rem; padding: .15rem .55rem; border-radius: 999px; font-size: .72rem; font-weight: 800; vertical-align: middle;
  letter-spacing: .06em; text-transform: uppercase; background: var(--acento-alt); color: #141414; }
/* Separador dentro de una misma roca (p. ej. Corazón Standard → Premium) */
.producto__corte { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; column-gap: .7rem; row-gap: .4rem;
  margin: 1.6rem 1.1rem 1rem; font-size: 1rem; font-weight: 600; color: var(--muted); text-align: center; }
.producto__corte::before, .producto__corte::after { content: ""; grid-row: 1; height: 2px; background: var(--acento-alt); opacity: .45; }
.producto__corte::before { grid-column: 1; }
.producto__corte::after { grid-column: 3; }
.producto__corte-nombre { grid-row: 1; grid-column: 2; color: var(--text); font-weight: 800; white-space: nowrap; }
.producto__corte .producto__etiqueta { margin-left: .35rem; padding: .3rem .8rem; font-size: .85rem; }
.producto__corte-medida { grid-row: 2; grid-column: 1 / -1; }

.tarifa { margin: 0; padding: .3rem .7rem .8rem; list-style: none; }
.tarifa li + li { margin-top: .45rem; }
.tarifa__fila { display: flex; align-items: center; gap: .7rem; padding: .8rem .9rem; border-radius: 14px; color: inherit; text-decoration: none;
  background: var(--surface); border: 1px solid var(--line); transition: transform .15s ease, border-color .15s ease; }
.tarifa__fila:hover { transform: translateY(-1px); border-color: var(--acento-alt); }
.tarifa__fila:active { box-shadow: var(--inset); }
.tarifa__fila:focus-visible { outline: 2px solid var(--acento-alt); outline-offset: 2px; }
.tarifa__detalle { flex: 1; font-size: .98rem; }
.tarifa__precio { font-weight: 800; font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.tarifa__flecha { color: var(--acento-alt); }
.tarifa__fila--base { border-color: var(--acento-alt); }
.tarifa__fila--base .tarifa__detalle { font-weight: 700; }

.subtitulo { margin: 2rem 0 .2rem; text-align: center; font-size: 1.2rem; }
.extra { display: flex; align-items: center; gap: .9rem; margin-top: 1rem; padding: 1rem 1.1rem; color: inherit; text-decoration: none; }
.extra__icono { display: grid; place-items: center; flex: none; width: 2.8rem; height: 2.8rem; border-radius: 50%; background: var(--surface); box-shadow: var(--inset); color: var(--acento-alt); }
.extra__icono .ico { width: 1.6rem; height: 1.6rem; }
.extra__texto { flex: 1; }
.extra__texto strong { display: block; }
.extra__texto small { display: block; margin-top: .15rem; color: var(--muted); font-size: .85rem; line-height: 1.4; }
.extra__precio { font-weight: 800; font-size: 1.1rem; color: var(--acento-alt); }

.envio { margin-top: 1rem; padding: 1rem 1.1rem; }
.envio__titulo { display: flex; align-items: center; gap: .5rem; margin: 0 0 .5rem; font-weight: 800; }
.envio__titulo .ico { color: var(--acento-alt); }
.envio__origen { padding-bottom: .65rem; margin-bottom: .7rem; border-bottom: 1px solid var(--line); }
.envio ul { margin: 0; padding-left: 1.1rem; color: var(--muted); line-height: 1.6; }
.envio strong { color: var(--text); }
.profile .envio { max-width: 26rem; margin: 1rem auto 0; text-align: left; }

.cotizador__directo { margin: 1.1rem 0 0; text-align: center; font-size: .9rem; color: var(--muted); }
.cotizador__directo a { color: inherit; font-weight: 700; }
