/*
 * La portada de Molvox (templates/landing/index.html.twig), con el estilo de la casa (Encario, Drozap): oscuro, con la marca cobre,
 * una idea por pantalla, cada sección con su fondo hecho solo con CSS (brillos, rejilla de puntos o de líneas, sin fotos ni ruido),
 * botones sólidos (nunca solo el borde) y la letra del sistema. Solo esta página: la demo y las legales siguen con landing.css, y el
 * chat de negocios va en landing-assistant.css.
 *
 * Las animaciones (landing-home.js) solo existen con `html.has-motion` (JavaScript con IntersectionObserver y sin «reducir
 * movimiento»): sin eso, sin JavaScript o al imprimir, todo se ve desde el principio.
 */

.mh {
    --bg: #14100d;
    --bg-soft: #1a1411;
    --panel: #211915;
    --panel-strong: #2b211b;
    --text: #f7f1ea;
    --muted: #cbbbad;
    --border: rgba(247, 241, 234, 0.13);
    --primary: #e8a17f;
    --primary-strong: #f3b898;
    --primary-ink: #2b1208;
    --copper: #ac6450;
    --amber: #f2c069;
    --cream: #f6f1ea;
    --ink: #241a15;
    --ok: #7fd39a;
    --bad: #f08c80;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

    margin: 0;
    min-height: 100vh;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: clip;
}

.mh *,
.mh *::before,
.mh *::after {
    box-sizing: border-box;
}

/* Sin peso: que el color de cada botón (.l-btn-primary…) mande sobre el de los enlaces. */
:where(.mh) a {
    color: inherit;
    text-decoration: none;
}

.mh img {
    display: block;
    max-width: 100%;
}

html:has(.mh) {
    scroll-behavior: smooth;
    scroll-padding-top: 86px;
}

.mh :focus-visible {
    outline: 3px solid var(--amber);
    outline-offset: 3px;
}

/* El juego de iconos (_icons.html.twig): un trazo, el color del texto. */
.mh .l-i {
    width: 1em;
    height: 1em;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    vertical-align: -0.15em;
}

.l-skip {
    position: absolute;
    left: 16px;
    top: -100px;
    z-index: 100;
    padding: 10px 16px;
    border-radius: 8px;
    background: var(--primary);
    color: var(--primary-ink);
    font-weight: 800;
}

.l-skip:focus {
    top: 12px;
}

.l-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.mh-shell {
    width: min(1180px, 100% - 40px);
    margin-inline: auto;
}

/* --------------------------------------------------------------------- textos */

.mh h1,
.mh h2,
.mh h3 {
    margin: 0;
    font-weight: 850;
    letter-spacing: 0;
    line-height: 1.06;
    text-wrap: balance;
}

.mh h1 {
    font-size: clamp(38px, 5.4vw, 68px);
}

.mh h2 {
    font-size: clamp(31px, 4vw, 48px);
}

.mh h3 {
    font-size: 20px;
    line-height: 1.2;
}

.mh p {
    margin: 0;
}

.mh-kicker {
    display: inline-block;
    color: var(--primary);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.mh-head {
    display: grid;
    gap: 14px;
    max-width: 760px;
    margin: 0 auto 56px;
    text-align: center;
}

.mh-head > p {
    color: var(--muted);
    font-size: 19px;
}

.mh-head-left {
    margin: 0;
    text-align: left;
}

.mh-link {
    color: var(--primary);
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.mh-link:hover {
    color: var(--primary-strong);
}

/* -------------------------------------------------------------------- botones
   Siempre rellenos: cobre (lo principal) u oscuro (lo demás). */

.l-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 20px;
    border: 0;
    border-radius: 10px;
    font: inherit;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.15;
    cursor: pointer;
    transition: transform 0.2s var(--ease), background-color 0.2s ease, box-shadow 0.2s ease;
}

.l-btn:hover {
    transform: translateY(-1px);
}

.l-btn-primary {
    background: var(--primary);
    color: var(--primary-ink);
    box-shadow: 0 18px 42px rgba(232, 161, 127, 0.2);
}

.l-btn-primary:hover {
    background: var(--primary-strong);
}

.l-btn-dark,
.l-btn-ghost {
    background: #33281f;
    color: var(--text);
}

.l-btn-dark:hover,
.l-btn-ghost:hover {
    background: #45362a;
}

.l-btn-lg {
    min-height: 56px;
    padding: 0 24px;
    font-size: 17px;
}

.mh-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* ------------------------------------------------------------------------ barra */

.l-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid var(--border);
    background: rgba(20, 16, 13, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.l-nav-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: 74px;
}

.l-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex: none;
}

/* El logo blanco ya lleva la M: la M sola, solo en el móvil (sin el logo). */
.l-brand-mark {
    display: none;
    width: 34px;
    height: 34px;
}

.l-brand-wordmark {
    width: auto;
    height: 42px;
}

.mh section:focus {
    outline: none;
}

.l-nav-links {
    display: flex;
    gap: 22px;
    margin-left: 18px;
    color: var(--muted);
    font-size: 15px;
    font-weight: 700;
}

.l-nav-links a {
    white-space: nowrap;
}

.l-nav-links a:hover {
    color: var(--text);
}

.l-nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.l-language-switcher {
    display: inline-flex;
    padding: 3px;
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
}

.l-language-switcher a {
    padding: 5px 10px;
    border-radius: 999px;
    color: var(--muted);
}

.l-language-switcher a.is-active {
    background: var(--text);
    color: var(--ink);
}

.l-nav .l-btn {
    min-height: 42px;
    padding: 0 16px;
    font-size: 15px;
}

.l-nav-cta-icon {
    display: none !important;
}

/* ---------------------------------------------------------------------- cabecera */

.mh-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: calc(92svh - 74px);
    padding: 64px 0 72px;
    isolation: isolate;
    background:
        linear-gradient(180deg, rgba(20, 16, 13, 0) 60%, var(--bg) 100%),
        radial-gradient(70% 60% at 85% 10%, rgba(232, 161, 127, 0.22), transparent 70%),
        radial-gradient(50% 50% at 10% 90%, rgba(242, 192, 105, 0.1), transparent 70%),
        var(--bg);
}

.mh-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(rgba(247, 241, 234, 0.07) 1px, transparent 1px) 0 0 / 26px 26px;
    mask-image: linear-gradient(180deg, #000 10%, transparent 85%);
    -webkit-mask-image: linear-gradient(180deg, #000 10%, transparent 85%);
}

.mh-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 56px;
    align-items: center;
}

.mh-hero-copy {
    display: grid;
    gap: 22px;
    justify-items: start;
}

.mh-hero-copy .lead {
    max-width: 620px;
    color: var(--muted);
    font-size: 20px;
}

.mh-doors {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
    max-width: 620px;
    margin-top: 6px;
}

.mh-door {
    justify-content: flex-start;
    min-height: 74px;
    padding: 12px 20px;
    text-align: left;
}

.mh-door > .l-i {
    font-size: 24px;
}

.mh-door > span {
    display: grid;
    gap: 3px;
}

.mh-door strong {
    font-size: 18px;
}

.mh-door small {
    font-size: 14px;
    font-weight: 600;
    opacity: 0.8;
}

.l-hero-trust {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 15px;
    font-weight: 600;
}

.l-hero-trust .l-i {
    color: var(--ok);
}

.mh-hero-trial {
    color: var(--muted);
    font-size: 15px;
}

.l-sector-chips {
    display: grid;
    gap: 10px;
    margin-top: 8px;
}

.l-sector-chips-label {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.l-sector-chips-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.l-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(247, 241, 234, 0.08);
    color: var(--text);
    font-size: 14px;
    font-weight: 700;
    transition: background-color 0.2s ease;
}

.l-chip:hover {
    background: rgba(247, 241, 234, 0.16);
}

.l-chip.is-active {
    background: var(--text);
    color: var(--ink);
}

/* La foto del sector y el chat de pedir cita encima. */
.mh-hero-visual {
    position: relative;
    margin: 0;
    min-height: 520px;
}

.mh-hero-photo {
    position: absolute;
    inset: 0 0 40px 60px;
    border-radius: 28px;
    background: var(--panel) var(--hero-img) center / cover no-repeat;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}

.mh-hero-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(160deg, rgba(20, 16, 13, 0) 40%, rgba(20, 16, 13, 0.55));
}

.mh-hero-chat {
    position: absolute;
    left: 0;
    bottom: 0;
    display: grid;
    gap: 8px;
    width: min(300px, 80%);
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: var(--panel);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.mh-chat-head {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}

.mh-bubble {
    width: fit-content;
    max-width: 92%;
    padding: 8px 12px;
    border-radius: 4px 14px 14px 14px;
    background: var(--panel-strong);
    font-size: 14px;
    line-height: 1.35;
}

.mh-bubble.is-me {
    justify-self: end;
    border-radius: 14px 4px 14px 14px;
    background: var(--primary);
    color: var(--primary-ink);
    font-weight: 700;
}

.mh-bubble.is-ok {
    background: rgba(127, 211, 154, 0.16);
    color: #d6f3df;
    font-weight: 700;
}

/* Entrada de la cabecera, solo con CSS y escalonada. */
.has-motion .mh-hero-copy > * {
    animation: mh-hero-in 0.9s var(--ease) both;
}

.has-motion .mh-hero-copy > :nth-child(2) { animation-delay: 0.12s; }
.has-motion .mh-hero-copy > :nth-child(3) { animation-delay: 0.26s; }
.has-motion .mh-hero-copy > :nth-child(4) { animation-delay: 0.4s; }
.has-motion .mh-hero-copy > :nth-child(n + 5) { animation-delay: 0.54s; }

.has-motion .mh-hero-photo {
    animation: mh-visual-in 1.1s var(--ease) 0.25s both;
}

.has-motion .mh-hero-chat {
    animation: mh-hero-in 1s var(--ease) 0.6s both;
}

.has-motion .mh-hero-chat .mh-bubble {
    animation: mh-pop 0.5s var(--ease) both;
}

.has-motion .mh-hero-chat .mh-bubble:nth-of-type(1) { animation-delay: 1s; }
.has-motion .mh-hero-chat .mh-bubble:nth-of-type(2) { animation-delay: 1.5s; }
.has-motion .mh-hero-chat .mh-bubble:nth-of-type(3) { animation-delay: 2s; }
.has-motion .mh-hero-chat .mh-bubble:nth-of-type(4) { animation-delay: 2.6s; }

@keyframes mh-hero-in {
    from { opacity: 0; transform: translateY(26px); }
    to { opacity: 1; transform: none; }
}

@keyframes mh-visual-in {
    from { opacity: 0; transform: translateX(40px) scale(0.96); }
    to { opacity: 1; transform: none; }
}

@keyframes mh-pop {
    from { opacity: 0; transform: translateY(8px) scale(0.92); }
    to { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------- secciones */

.mh-section {
    position: relative;
    padding: 112px 0;
}

.mh-bg-grid {
    background:
        linear-gradient(rgba(247, 241, 234, 0.035) 1px, transparent 1px) 0 0 / 56px 56px,
        linear-gradient(90deg, rgba(247, 241, 234, 0.035) 1px, transparent 1px) 0 0 / 56px 56px,
        radial-gradient(60% 50% at 80% 0%, rgba(242, 192, 105, 0.1), transparent 70%),
        var(--bg-soft);
}

.mh-bg-dots {
    background:
        radial-gradient(rgba(247, 241, 234, 0.06) 1px, transparent 1px) 0 0 / 24px 24px,
        radial-gradient(50% 40% at 10% 0%, rgba(232, 161, 127, 0.12), transparent 70%),
        var(--bg);
}

.mh-bg-glow {
    background:
        radial-gradient(60% 60% at 50% 100%, rgba(232, 161, 127, 0.16), transparent 70%),
        linear-gradient(135deg, #22160f, #17110d);
}

.mh-bg-glow-low {
    background:
        radial-gradient(50% 50% at 90% 50%, rgba(242, 192, 105, 0.08), transparent 70%),
        var(--bg-soft);
}

.mh-band {
    padding: 88px 0;
    text-align: center;
    background:
        radial-gradient(60% 120% at 50% 50%, rgba(232, 161, 127, 0.2), transparent 70%),
        #1d1410;
}

.mh-quote blockquote,
.l-testimonial blockquote {
    max-width: 860px;
    margin: 16px auto 0;
    font-size: clamp(26px, 3.4vw, 40px);
    font-weight: 800;
    line-height: 1.2;
    text-wrap: balance;
}

.mh-quote em {
    color: var(--primary);
    font-style: normal;
}

.l-testimonial blockquote footer {
    margin-top: 16px;
    color: var(--muted);
    font-size: 16px;
    font-weight: 700;
}

/* --------------------------------------------------------- el viaje de una cita */

.mh-journey {
    padding-bottom: 96px;
    background:
        radial-gradient(60% 30% at 50% 0%, rgba(232, 161, 127, 0.16), transparent 70%),
        radial-gradient(rgba(247, 241, 234, 0.05) 1px, transparent 1px) 0 0 / 26px 26px,
        linear-gradient(180deg, #120e0b, #1a130f);
}

.mh-ticker {
    position: sticky;
    top: 86px;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto 64px;
    padding: 10px 20px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(33, 25, 21, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

.mh-ticker-label {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.mh-ticker-item {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
}

.mh-ticker-item small {
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.mh-ticker-item strong {
    font-size: 22px;
    font-variant-numeric: tabular-nums;
    transition: color 0.45s ease;
}

.mh-ticker-item strong.is-bump {
    color: var(--amber);
}

.mh-steps {
    position: relative;
    display: grid;
    gap: 96px;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* La línea del viaje, en el centro, y cada paso a un lado. */
.mh-steps::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: rgba(232, 161, 127, 0.22);
    transform: translateX(-50%);
}

.mh-step {
    --glow: 232, 161, 127;

    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 112px;
    align-items: center;
}

.mh-step.is-amber { --glow: 242, 192, 105; }
.mh-step.is-rose { --glow: 240, 128, 128; }
.mh-step.is-green { --glow: 127, 211, 154; }
.mh-step.is-sky { --glow: 120, 180, 240; }

.mh-step-num {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 2px solid rgba(232, 161, 127, 0.4);
    border-radius: 50%;
    background: var(--bg);
    color: var(--muted);
    font-weight: 850;
    transform: translate(-50%, -50%);
    transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease;
}

.mh-step.is-active .mh-step-num,
.mh-step.is-done .mh-step-num {
    border-color: var(--primary);
    background: var(--primary);
    color: var(--primary-ink);
}

.mh-step.is-active .mh-step-num {
    animation: mh-num-pulse 0.9s var(--ease);
}

@keyframes mh-num-pulse {
    0% { box-shadow: 0 0 0 0 rgba(232, 161, 127, 0.6); }
    100% { box-shadow: 0 0 0 18px rgba(232, 161, 127, 0); }
}

.mh-step-copy {
    display: grid;
    gap: 12px;
    text-align: right;
}

.mh-step-copy h3 {
    font-size: clamp(24px, 3vw, 34px);
}

.mh-step-copy p {
    color: var(--muted);
    font-size: 18px;
}

.mh-step:nth-child(even) .mh-step-copy {
    order: 2;
    text-align: left;
}

.mh-step-visual {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 280px;
}

.mh-step-visual::before {
    content: "";
    position: absolute;
    inset: -10% 0;
    z-index: -1;
    background: radial-gradient(closest-side, rgba(var(--glow), 0.22), transparent);
    opacity: 0.35;
    transition: opacity 0.8s ease;
}

.mh-step.is-active .mh-step-visual::before {
    opacity: 1;
}

/* Las piezas de cada dibujo entran una detrás de otra (`--seq`). */
.has-motion .mh-step-visual [style*="--seq"] {
    opacity: 0;
    transform: translateY(14px) scale(0.96);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
    transition-delay: calc(var(--seq) * 170ms + 280ms);
}

.has-motion .mh-step-visual.is-visible [style*="--seq"] {
    opacity: 1;
    transform: none;
}

.mh-v-phone,
.mh-v-wa,
.mh-v-reminder,
.mh-v-till,
.mh-v-client {
    display: grid;
    gap: 10px;
    width: min(330px, 100%);
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: var(--panel);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.4);
}

.mh-v-phone {
    border: 8px solid #2b211b;
    border-radius: 32px;
}

.mh-v-options,
.mh-v-days,
.mh-v-times,
.mh-v-till-pay {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.mh-v-options span,
.mh-v-days span,
.mh-v-times span {
    padding: 6px 11px;
    border-radius: 10px;
    background: var(--cream);
    color: var(--ink);
    font-size: 13px;
    font-weight: 700;
}

.mh-v-days span.is-on,
.mh-v-times span.is-on {
    background: var(--primary);
    color: var(--primary-ink);
}

.mh-v-wa {
    background: #0f2a20;
    border-color: rgba(127, 211, 154, 0.2);
}

.mh-v-wa-msg {
    display: grid;
    gap: 4px;
    padding: 12px;
    border-radius: 4px 14px 14px 14px;
    background: #1f3a2e;
    color: #e9f6ee;
    font-size: 14px;
}

.mh-v-wa-btn {
    display: block;
    padding: 10px;
    border-radius: 12px;
    background: #1f3a2e;
    color: #8fd6ff;
    font-size: 14px;
    font-weight: 800;
    text-align: center;
}

.mh-v-reminder {
    justify-items: center;
    text-align: center;
}

.mh-v-reminder .mh-v-wa-msg {
    width: 100%;
    text-align: left;
}

.mh-v-clock {
    position: relative;
    width: 86px;
    height: 86px;
    border: 4px solid rgba(240, 128, 128, 0.7);
    border-radius: 50%;
}

.mh-v-clock i {
    position: absolute;
    left: 50%;
    bottom: 50%;
    width: 4px;
    height: 30px;
    border-radius: 2px;
    background: var(--text);
    transform-origin: 50% 100%;
    transform: translateX(-50%) rotate(40deg);
}

.mh-v-clock i + i {
    height: 22px;
    background: var(--primary);
    transform: translateX(-50%) rotate(-70deg);
}

.has-motion .mh-step.is-active .mh-v-clock i:first-child {
    animation: mh-tick 6s linear infinite;
}

@keyframes mh-tick {
    from { transform: translateX(-50%) rotate(40deg); }
    to { transform: translateX(-50%) rotate(400deg); }
}

.mh-v-badge {
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(127, 211, 154, 0.16);
    color: var(--ok);
    font-weight: 850;
}

.mh-v-till {
    background: var(--cream);
    color: var(--ink);
}

.mh-v-till-line,
.mh-v-till-total,
.mh-v-client-foot {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.mh-v-till-line {
    padding-bottom: 10px;
    border-bottom: 1px dashed rgba(36, 26, 21, 0.25);
    font-size: 15px;
}

.mh-v-till-total {
    font-size: 22px;
    font-weight: 850;
}

.mh-v-till-pay span {
    flex: 1;
    padding: 14px;
    border-radius: 12px;
    background: #e8ddd1;
    font-weight: 850;
    text-align: center;
}

.mh-v-till-pay span.is-on {
    background: #2f7a4f;
    color: #fff;
}

.mh-v-client-head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mh-v-client-head small {
    display: block;
    color: var(--muted);
    font-size: 13px;
}

.mh-v-avatar {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--primary-ink);
    font-weight: 850;
}

.mh-v-bars {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 80px;
}

.mh-v-bars i {
    flex: 1;
    height: var(--h);
    border-radius: 6px 6px 2px 2px;
    background: linear-gradient(180deg, rgba(120, 180, 240, 0.9), rgba(120, 180, 240, 0.35));
}

.mh-v-client-foot {
    font-size: 14px;
}

.mh-v-client-foot b {
    color: var(--primary);
}

.mh-journey-end {
    display: grid;
    justify-items: center;
    gap: 12px;
    margin-top: 96px;
    text-align: center;
}

.mh-journey-end h3 {
    font-size: clamp(26px, 3vw, 36px);
}

.mh-journey-end p {
    color: var(--muted);
}

.mh-journey-end .mh-actions {
    justify-content: center;
    margin-top: 8px;
}

/* ------------------------------------------------------------------ lo que hace */

.l-pillars {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.l-card {
    display: grid;
    align-content: start;
    gap: 12px;
    padding: 26px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: rgba(33, 25, 21, 0.86);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.2);
}

.l-card-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: rgba(232, 161, 127, 0.16);
    color: var(--primary);
    font-size: 22px;
}

.l-claim {
    font-weight: 800;
}

.l-points {
    display: grid;
    gap: 9px;
    margin: 4px 0 0;
    padding: 0;
    list-style: none;
    color: var(--muted);
    font-size: 15px;
}

.l-points li,
.l-checklist li {
    display: flex;
    gap: 9px;
}

.l-points .l-i,
.l-checklist .l-i {
    margin-top: 0.22em;
    color: var(--ok);
}

.l-card-soon {
    grid-column: 1 / -1;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    border-style: dashed;
    border-color: rgba(242, 192, 105, 0.4);
}

.l-card-soon-body {
    display: grid;
    gap: 8px;
}

.l-card-soon-body > p:last-child {
    color: var(--muted);
}

.l-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 8px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(242, 192, 105, 0.16);
    color: var(--amber);
    font-size: 13px;
    font-weight: 800;
    vertical-align: middle;
}

/* ---------------------------------------------------------------------- mosaico */

.mh-bento-section {
    background:
        radial-gradient(50% 40% at 90% 10%, rgba(120, 180, 240, 0.08), transparent 70%),
        radial-gradient(50% 40% at 10% 90%, rgba(232, 161, 127, 0.12), transparent 70%),
        #15110e;
}

.mh-bento {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.mh-tile {
    --tile: 232, 161, 127;

    display: grid;
    grid-template-rows: auto auto 1fr auto;
    gap: 8px;
    min-height: 240px;
    padding: 22px;
    border: 1px solid rgba(var(--tile), 0.22);
    border-radius: 20px;
    background: linear-gradient(160deg, rgba(var(--tile), 0.12), rgba(33, 25, 21, 0.9) 60%);
}

.mh-tile.is-caja { --tile: 127, 211, 154; }
.mh-tile.is-fichaje { --tile: 120, 180, 240; }
.mh-tile.is-bonos { --tile: 180, 150, 240; }
.mh-tile.is-clientes { --tile: 242, 192, 105; }
.mh-tile.is-informes { --tile: 120, 210, 210; }
.mh-tile.is-reserva { --tile: 240, 128, 128; }
.mh-tile.is-whatsapp { --tile: 127, 211, 154; }

.mh-tile-icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(var(--tile), 0.18);
    color: rgb(var(--tile));
    font-size: 20px;
}

.mh-tile p {
    color: var(--muted);
    font-size: 15px;
}

.mh-mini {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 56px;
}

.mh-mini i,
.mh-mini span {
    display: block;
    border-radius: 6px;
    background: rgba(var(--tile), 0.55);
}

.mh-mini-agenda {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    align-items: stretch;
}

.mh-mini-agenda i {
    grid-column: var(--c);
    grid-row: var(--r) / span var(--s);
}

.mh-mini-caja {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-end;
}

.mh-mini-caja b {
    font-size: 22px;
    font-variant-numeric: tabular-nums;
}

.mh-mini-caja span {
    height: 8px;
    background: rgba(247, 241, 234, 0.1);
}

.mh-mini-caja span i {
    width: var(--w);
    height: 100%;
}

.mh-mini-fichaje i {
    flex: 1;
    height: 12px;
    align-self: center;
}

.mh-mini-fichaje i.is-off {
    background: rgba(247, 241, 234, 0.12);
}

.mh-mini-bonos i {
    width: 22px;
    height: 22px;
    align-self: center;
    border: 2px solid rgba(var(--tile), 0.7);
    border-radius: 50%;
    background: transparent;
}

.mh-mini-bonos i.is-used {
    background: rgba(var(--tile), 0.7);
}

.mh-mini-clientes {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-end;
}

.mh-mini-clientes span {
    height: 10px;
}

.mh-mini-clientes span:nth-child(2) { width: 70%; opacity: 0.7; }
.mh-mini-clientes span:nth-child(3) { width: 45%; opacity: 0.5; }

.mh-mini-informes i {
    flex: 1;
    height: var(--h);
}

.mh-mini-reserva,
.mh-mini-whatsapp {
    align-items: center;
}

.mh-mini-reserva span {
    padding: 4px 8px;
    background: rgba(247, 241, 234, 0.1);
    font-size: 12px;
    font-weight: 800;
}

.mh-mini-reserva span.is-on {
    background: rgb(var(--tile));
    color: var(--ink);
}

.mh-mini-whatsapp {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-end;
}

.mh-mini-whatsapp span {
    width: 70%;
    height: 12px;
}

.mh-mini-whatsapp span.is-out {
    align-self: flex-end;
    background: rgba(247, 241, 234, 0.2);
}

.mh-mini-whatsapp span.is-short {
    width: 40%;
}

.has-motion .mh-tile.is-visible .mh-mini-informes i,
.has-motion .mh-tile.is-visible .mh-mini-caja span i {
    animation: mh-grow 1s var(--ease) both;
}

@keyframes mh-grow {
    from { transform: scaleY(0.1); transform-origin: bottom; }
    to { transform: none; transform-origin: bottom; }
}

/* ----------------------------------------------------------------- mostrador */

.l-showcase {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 64px;
    align-items: center;
}

.mh-tablet {
    overflow: hidden;
    border: 12px solid #2b211b;
    border-radius: 30px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}

.mh-tablet img {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.l-checklist {
    display: grid;
    gap: 10px;
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
    font-weight: 700;
}

/* ----------------------------------------------------------------- para quién */

.l-sectors {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.l-sector-card {
    display: grid;
    align-content: start;
    gap: 8px;
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: rgba(33, 25, 21, 0.86);
    transition: border-color 0.2s ease, transform 0.2s var(--ease);
}

.l-sector-card:hover {
    border-color: rgba(232, 161, 127, 0.5);
    transform: translateY(-2px);
}

.l-sector-card.is-active {
    border-color: var(--primary);
}

.l-sector-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(232, 161, 127, 0.16);
    color: var(--primary);
    font-size: 20px;
}

.l-sector-card p {
    color: var(--muted);
    font-size: 15px;
}

.l-sector-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    color: var(--primary);
    font-size: 14px;
    font-weight: 800;
}

/* --------------------------------------------------------------------- comparar */

.l-compare-wrap {
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: rgba(33, 25, 21, 0.86);
}

.l-compare {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}

.l-compare th,
.l-compare td {
    padding: 16px 18px;
    border-bottom: 1px solid var(--border);
    text-align: left;
    vertical-align: top;
}

.l-compare thead th {
    color: var(--muted);
    font-size: 13px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.l-compare tbody tr:last-child th,
.l-compare tbody tr:last-child td {
    border-bottom: 0;
}

.l-compare .is-molvox {
    background: rgba(232, 161, 127, 0.08);
}

.l-compare thead .is-molvox {
    color: var(--primary);
}

.l-mark {
    display: inline-flex;
    align-items: flex-start;
    gap: 8px;
}

.l-mark-dot {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    flex: none;
    border-radius: 50%;
    font-size: 13px;
}

.l-mark.is-yes .l-mark-dot { background: rgba(127, 211, 154, 0.18); color: var(--ok); }
.l-mark.is-no .l-mark-dot { background: rgba(240, 140, 128, 0.16); color: var(--bad); }
.l-mark.is-partial .l-mark-dot { background: rgba(242, 192, 105, 0.16); color: var(--amber); }

.l-compare-cards {
    display: none;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.l-compare-cards li {
    display: grid;
    gap: 12px;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: rgba(33, 25, 21, 0.86);
}

.l-compare-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    font-size: 14px;
}

.l-compare-pair small {
    display: block;
    margin-bottom: 6px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.l-compare-pair .is-molvox small {
    color: var(--primary);
}

/* ------------------------------------------------------------------------ pasos */

.l-split {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 64px;
    align-items: center;
}

.l-steps {
    display: grid;
    gap: 14px;
}

.l-step {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 4px 16px;
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: rgba(33, 25, 21, 0.86);
}

.l-step .num {
    grid-row: span 2;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--primary-ink);
    font-size: 20px;
    font-weight: 850;
}

.l-step p {
    color: var(--muted);
}

/* ---------------------------------------------------------------------- precios */

.l-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 380px));
    justify-content: center;
    gap: 18px;
}

.l-plan {
    display: grid;
    align-content: start;
    gap: 14px;
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: rgba(33, 25, 21, 0.9);
}

.l-plan.is-main {
    border-color: var(--primary);
    box-shadow: 0 30px 80px rgba(232, 161, 127, 0.14);
}

.l-plan-price strong {
    font-size: 44px;
    font-weight: 850;
    font-variant-numeric: tabular-nums;
}

.l-plan-price span,
.l-plan-note {
    color: var(--muted);
}

.l-plan-note {
    font-size: 14px;
}

.l-plan .l-checklist {
    font-size: 15px;
    font-weight: 600;
}

.l-plan .l-btn {
    margin-top: 8px;
}

.l-plans-foot {
    max-width: 640px;
    margin: 28px auto 0 !important;
    color: var(--muted);
    text-align: center;
}

/* -------------------------------------------------------------------- preguntas */

.l-faq-list {
    display: grid;
    gap: 10px;
    max-width: 820px;
    margin: 0 auto;
}

.l-faq-item {
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(33, 25, 21, 0.86);
}

.l-faq-item summary {
    position: relative;
    padding: 18px 56px 18px 20px;
    font-weight: 800;
    cursor: pointer;
    list-style: none;
}

.l-faq-item summary::-webkit-details-marker {
    display: none;
}

.l-faq-item summary::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 18px;
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--panel-strong);
    color: var(--primary);
    font-weight: 850;
    transform: translateY(-50%);
}

.l-faq-item[open] summary::after {
    content: "−";
}

.l-faq-item p {
    padding: 0 20px 20px;
    color: var(--muted);
}

/* ------------------------------------------------------------------------ cierre */

.l-cta-wrap {
    padding: 40px 0 112px;
}

.l-cta {
    display: grid;
    justify-items: center;
    gap: 16px;
    padding: 64px 32px;
    border: 1px solid rgba(232, 161, 127, 0.3);
    border-radius: 28px;
    text-align: center;
    background:
        radial-gradient(70% 90% at 50% 0%, rgba(232, 161, 127, 0.26), transparent 70%),
        #1f1611;
}

.l-cta p {
    max-width: 560px;
    color: var(--muted);
    font-size: 19px;
}

.l-cta .mh-actions {
    justify-content: center;
    margin-top: 8px;
}

/* ------------------------------------------------------------------------- pie */

.l-footer {
    padding: 56px 0 40px;
    border-top: 1px solid var(--border);
    background: #0f0c0a;
    color: var(--muted);
    font-size: 14px;
}

.l-footer-inner {
    display: grid;
    gap: 22px;
}

.l-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
}

.l-footer nav a:hover {
    color: var(--text);
}

.l-footer-sectors {
    opacity: 0.8;
}

.l-footer .copy {
    opacity: 0.75;
}

/* ------------------------------------------------------------- aparecer al bajar
   Solo con html.has-motion (landing-home.js); sin ello, todo visible. */

.has-motion .mh-reveal,
.has-motion [data-stagger] > * {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), border-color 0.2s ease;
}

.has-motion .mh-reveal.is-visible,
.has-motion [data-stagger] > .is-visible {
    opacity: 1;
    transform: none;
}

/* En escritorio el texto de cada paso llega de su lado. */
@media (min-width: 900px) {
    .has-motion .mh-step .mh-step-copy {
        transform: translateX(-56px);
    }

    .has-motion .mh-step:nth-child(even) .mh-step-copy {
        transform: translateX(56px);
    }

    .has-motion .mh-step .mh-step-copy.is-visible {
        transform: none;
    }
}

.has-motion .is-settled {
    transition-duration: 0.2s;
    transition-delay: 0s;
}

@media (prefers-reduced-motion: reduce) {
    html:has(.mh) {
        scroll-behavior: auto;
    }

    .mh *,
    .mh *::before,
    .mh *::after {
        animation: none !important;
        transition: none !important;
    }
}

@media print {
    .mh-reveal,
    [data-stagger] > *,
    .mh-step-visual [style*="--seq"] {
        opacity: 1 !important;
        transform: none !important;
    }

    .l-nav,
    .mh-ticker {
        position: static;
    }
}

/* --------------------------------------------------------------------- tamaños */

@media (max-width: 1280px) {
    .l-nav-links {
        display: none;
    }
}

@media (max-width: 1100px) {

    .l-pillars,
    .mh-bento,
    .l-sectors {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .mh-hero-inner,
    .l-showcase,
    .l-split {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .mh-hero-visual {
        min-height: 420px;
    }

    .l-compare-wrap {
        display: none;
    }

    .l-compare-cards {
        display: grid;
    }
}

/* El viaje en una columna, con la línea a la izquierda. */
@media (max-width: 899px) {
    .mh-steps {
        gap: 64px;
    }

    .mh-steps::before {
        left: 21px;
    }

    .mh-step {
        grid-template-columns: 1fr;
        gap: 24px;
        padding-left: 64px;
    }

    .mh-step-num {
        top: 0;
        left: 21px;
        transform: translate(-50%, 0);
    }

    .mh-step-copy,
    .mh-step:nth-child(even) .mh-step-copy {
        order: 0;
        text-align: left;
    }

    .mh-step-visual {
        justify-items: start;
        min-height: 0;
    }
}

@media (max-width: 780px) {
    .mh {
        font-size: 16px;
    }

    .mh-shell {
        width: calc(100% - 28px);
    }

    .mh-section {
        padding: 78px 0;
    }

    .mh-head {
        margin-bottom: 40px;
    }

    .mh-head > p,
    .mh-hero-copy .lead {
        font-size: 17px;
    }

    .mh-doors {
        grid-template-columns: 1fr;
    }

    .mh-actions {
        display: grid;
        width: 100%;
    }

    .mh-actions .l-btn,
    .l-plan .l-btn {
        width: 100%;
    }

    .l-pillars,
    .mh-bento,
    .l-sectors {
        grid-template-columns: 1fr;
    }

    .mh-tile {
        min-height: 0;
    }

    .l-card-soon {
        flex-direction: column;
        gap: 12px;
    }

    .l-cta {
        padding: 44px 20px;
    }
}

@media (max-width: 640px) {
    .l-nav-inner {
        gap: 10px;
        min-height: 64px;
    }

    html:has(.mh) {
        scroll-padding-top: 74px;
    }

    .l-nav .l-brand-mark {
        display: block;
    }

    .l-nav .l-brand-wordmark,
    .l-nav-login span,
    .l-nav-book,
    .l-nav-cta {
        display: none !important;
    }

    .l-nav-login {
        width: 42px;
        padding: 0 !important;
    }

    .l-nav-cta-icon {
        display: inline-flex !important;
        width: 42px;
        padding: 0 !important;
    }

    .mh-hero {
        min-height: 0;
        padding: 40px 0 56px;
    }

    .mh-hero-visual {
        min-height: 360px;
    }

    .mh-hero-photo {
        inset: 0 0 60px 30px;
        background-image: var(--hero-img-sm);
    }

    .mh-ticker {
        top: 74px;
        gap: 14px;
        padding: 8px 14px;
    }

    .mh-ticker-label {
        display: none;
    }

    .mh-ticker-item {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }

    .mh-ticker-item strong {
        font-size: 18px;
    }
}

@media (max-width: 380px) {
    .l-language-switcher a {
        padding: 5px 8px;
    }

    .mh-hero-chat {
        width: 88%;
    }

    .mh-step {
        padding-left: 52px;
    }

    .l-compare-pair {
        grid-template-columns: 1fr;
    }
}
