
/* Mía Omnia — componentes. Todo color, espacio y radio sale de tokens.css (var(--…)).
   Prefijo mo- para no chocar con el sitio. */

.mo { font-family: var(--font-texto); font-weight: 300; color: var(--texto); background: var(--fondo); -webkit-font-smoothing: antialiased; }
.mo-display, .mo-t1, .mo-t2, .mo-t3 { font-family: var(--font-display); margin: 0; text-wrap: balance; }
.mo-display { font-size: clamp(52px, 8.4vw, 120px); line-height: .92; font-weight: 300; letter-spacing: -.035em; font-stretch: 125%; }
.mo-t1 { font-size: clamp(40px, 5.3vw, 76px); line-height: 1; font-weight: 300; letter-spacing: -.03em; font-stretch: 118%; }
.mo-t2 { font-size: clamp(34px, 3.6vw, 52px); line-height: 1.04; font-weight: 350; letter-spacing: -.02em; font-stretch: 112%; }
.mo-t3 { font-size: clamp(26px, 2.2vw, 32px); line-height: 1.12; font-weight: 400; letter-spacing: -.01em; font-stretch: 108%; }
.mo-dato { font-family: var(--font-display); font-size: 13px; line-height: 1.3; font-weight: 500; letter-spacing: .02em; font-variant-numeric: tabular-nums; color: var(--texto-suave); }
.mo-entrada { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; color: var(--texto-suave); max-width: 40ch; margin: 0; }
.mo-voz { font-family: var(--font-voz); font-style: italic; font-weight: 300; font-size: clamp(24px, 2.4vw, 34px); line-height: 1.25; color: var(--texto); margin: 0; }
.mo-voz::before { content: "«"; color: var(--oro); }
.mo-voz::after { content: "»"; color: var(--oro); }

/* Botones: uno primario (relleno) y uno fantasma (borde). Altura 52, chico 40. */
.mo-boton { display: inline-flex; align-items: center; justify-content: center; gap: var(--espacio-2); min-height: 52px; padding: 0 26px; border-radius: var(--radio-pastilla); border: 1px solid transparent; font-family: var(--font-texto); font-size: 16px; font-weight: 500; line-height: 1; text-decoration: none; cursor: pointer; transition: background-color .2s, box-shadow .25s, border-color .2s, color .2s; }
.mo-boton--primario { background: var(--accion); color: var(--en-accion); }
.mo-boton--primario:hover { box-shadow: var(--halo-oro); }
[data-theme="piedra"] .mo-boton--primario:hover, .mo-piedra .mo-boton--primario:hover { box-shadow: none; background: var(--noche); }
.mo-boton--fantasma { background: transparent; color: var(--texto); border-color: var(--linea-fuerte); }
.mo-boton--fantasma:hover { border-color: var(--texto); }
.mo-boton--chico { min-height: 40px; padding: 0 18px; font-size: 15px; }
.mo-boton:focus-visible, .mo-liga:focus-visible, .mo-barra a:focus-visible { outline: 2px solid var(--foco); outline-offset: 3px; }
.mo-boton[disabled] { opacity: .45; cursor: not-allowed; box-shadow: none; }
.mo-liga { color: var(--texto); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; font-weight: 400; }
.mo-liga:hover { color: var(--oro-texto); }

/* Estados de Mía: siempre punto + palabra. */
.mo-estado { display: inline-flex; align-items: center; gap: var(--espacio-2); padding: 6px 12px 6px 10px; border-radius: var(--radio-pastilla); background: var(--superficie-2); color: var(--texto); font-size: 14px; font-weight: 400; line-height: 1.2; }
.mo-estado i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.mo-estado--escuchando i { background: var(--turquesa); box-shadow: 0 0 0 4px rgba(95, 216, 198, .18); }
.mo-estado--hablando i { background: var(--oro); box-shadow: 0 0 0 4px rgba(232, 163, 61, .2); }
.mo-estado--listo i { background: var(--exito); }
.mo-estado--pendiente i { background: var(--alerta); }
.mo-estado--error i { background: var(--error); }

/* Marco de teléfono: SIEMPRE con una pantalla real de la app dentro. */
.mo-tel { --ancho: 300px; position: relative; width: var(--ancho); max-width: 100%; aspect-ratio: 9 / 19.5; padding: calc(var(--ancho) * .031); border-radius: calc(var(--ancho) * .144); background: var(--bisel); box-shadow: var(--sombra-tel); }
.mo-tel__pantalla { position: relative; height: 100%; border-radius: calc(var(--ancho) * .115); overflow: hidden; background: var(--noche); }
.mo-tel__pantalla img, .mo-tel__pantalla video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.mo-tel__isla { position: absolute; z-index: 2; top: calc(var(--ancho) * .03); left: 50%; width: 31%; height: calc(var(--ancho) * .08); transform: translateX(-50%); border-radius: 999px; background: #000; }

/* Medio: foto o video de marca. Esquinas grandes, grano fino, pie opcional. */
.mo-medio { position: relative; margin: 0; overflow: hidden; border-radius: var(--radio-grande); background: var(--superficie-2); }
.mo-medio > img, .mo-medio > video { display: block; width: 100%; height: 100%; object-fit: cover; }
.mo-medio::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .14; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.mo-medio figcaption { position: absolute; z-index: 1; left: 12px; bottom: 12px; max-width: calc(100% - 24px); padding: 7px 11px; border-radius: var(--radio-chico); background: rgba(14, 11, 16, .62); color: #f1ece2; font-size: 12.5px; line-height: 1.35; font-weight: 400; }

/* Tarjeta de producto (estilo Mori): foto grande + objeto que flota + texto corto. Sin sombra en la tarjeta. */
.mo-producto { display: grid; align-content: start; gap: var(--espacio-5); padding: var(--espacio-4); border-radius: calc(var(--radio-grande) + 8px); background: var(--superficie); color: var(--texto); }
.mo-producto__escena { position: relative; }
.mo-producto__escena .mo-medio { aspect-ratio: 16 / 11; }
.mo-producto__pieza { position: absolute; right: 6%; bottom: -10%; width: 28%; border-radius: 18px; overflow: hidden; border: 4px solid var(--bisel); background: var(--bisel); box-shadow: var(--sombra-objeto); }
.mo-producto__pieza img { display: block; width: 100%; height: auto; }
.mo-producto__pieza--objeto { border: 0; background: none; border-radius: 0; box-shadow: none; filter: drop-shadow(0 30px 30px rgba(40, 24, 8, .35)); width: 40%; bottom: -14%; }
.mo-producto__texto { display: grid; gap: var(--espacio-3); padding: var(--espacio-4) var(--espacio-3) var(--espacio-3); }
.mo-producto__texto p { margin: 0; color: var(--texto-suave); max-width: 40ch; }
.mo-producto__texto ul { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--espacio-2); }
.mo-producto__texto li { display: flex; gap: 12px; }
.mo-producto__texto li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 11px; border-radius: 50%; background: var(--oro); }

/* Barra: transparente sobre el héroe; sólida al bajar (.mo-barra--solida). */
.mo-barra { display: flex; align-items: center; gap: 36px; padding: 18px clamp(16px, 3.4vw, 48px); color: var(--texto); font-size: 15px; font-weight: 400; }
.mo-barra--solida { background: color-mix(in srgb, var(--fondo) 88%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: var(--sombra-barra); }
.mo-barra__logo { display: block; height: 20px; width: auto; }
.mo-barra nav { display: flex; align-items: center; gap: 26px; flex: 1; }
.mo-barra nav a { color: inherit; text-decoration: none; opacity: .78; }
.mo-barra nav a:hover, .mo-barra nav a[aria-current] { opacity: 1; }
.mo-barra nav a[aria-current] { box-shadow: 0 1px 0 var(--oro); }
.mo-barra__hueco { flex: 1; }
.mo-barra .mo-boton { opacity: 1; }
.mo-barra__menu { display: none; margin-left: auto; background: none; border: 0; color: inherit; font: inherit; padding: 8px 0; }
@media (max-width: 820px) { .mo-barra nav { display: none; } .mo-barra__menu { display: block; } }

/* Pie: siempre noche, aunque la página sea piedra: lleva data-theme="noche" en el <footer>. */
.mo-pie { background: var(--fondo); color: var(--texto); padding: 72px clamp(16px, 3.4vw, 48px) 40px; font-size: 15px; font-weight: 400; }
.mo-pie__cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.mo-pie__logo { display: block; height: 22px; width: auto; }
.mo-pie h3 { margin: 0 0 12px; font-family: var(--font-texto); font-size: 13px; font-weight: 500; color: var(--texto-suave); }
.mo-pie ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.mo-pie a { color: inherit; text-decoration: none; }
.mo-pie a:hover { text-decoration: underline; text-underline-offset: 4px; }
.mo-pie__legal { margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--linea); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--texto-suave); font-size: 12.5px; }
@media (max-width: 760px) { .mo-pie__cols { grid-template-columns: 1fr 1fr; } }

/* Orbe: el lienzo ocupa su caja; el tamaño lo da el contenedor. */
.mo-orbe { display: block; width: var(--orbe, 320px); height: var(--orbe, 320px); max-width: 100%; }
.mo-orbe-caja { position: relative; display: inline-grid; place-items: center; border-radius: 50%; background: var(--noche); }

@media (prefers-reduced-motion: reduce) { .mo-boton { transition: none; } }
