/* ============================================================
   RUMA · Sitio institucional
   Hoja de estilos propia (sin frameworks). Paleta de marca.
   ============================================================ */

:root {
    /* Verdes bosque */
    --v900: #0E2A23;
    --v700: #1F4E43;
    --v500: #3E7B6A;
    /* Salvia */
    --s500: #8FB09A;
    --s300: #BFD3C6;
    --s200: #D8E5DC;
    --s100: #EAF1EC;
    /* Arena */
    --a500: #C9A66B;
    --a300: #D9C7A3;
    --a200: #EFE4CF;
    --a100: #F8F3E9;
    /* Texto */
    --texto: #16241F;
    --muted: #5F7169;
    --blanco: #ffffff;
    --linea: rgba(14, 42, 35, .10);

    --radio: 14px;
    --radio-lg: 22px;
    --sombra: 0 18px 40px -24px rgba(14, 42, 35, .35);
    --sombra-soft: 0 10px 30px -20px rgba(14, 42, 35, .40);
    --max: 1160px;
    --header-h: 78px;
    --transicion: 180ms ease;

    --fuente: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 12px);
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--fuente);
    font-size: 17px;
    line-height: 1.65;
    color: var(--texto);
    background: var(--a100);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
    margin: 0 0 .5em;
    line-height: 1.18;
    color: var(--v900);
    font-weight: 700;
    letter-spacing: -0.015em;
}

p { margin: 0 0 1em; }

a { color: var(--v700); text-decoration: none; }
a:hover { text-decoration: underline; }

code {
    font-family: "Cascadia Mono", ui-monospace, Consolas, monospace;
    font-size: .88em;
    background: var(--s100);
    padding: .1em .4em;
    border-radius: 6px;
}

:focus-visible {
    outline: 3px solid var(--s500);
    outline-offset: 2px;
    border-radius: 6px;
}

.skip-link {
    position: absolute;
    left: 12px;
    top: -60px;
    z-index: 200;
    background: var(--v700);
    color: var(--blanco);
    padding: .6em 1em;
    border-radius: 10px;
    transition: top var(--transicion);
}
.skip-link:focus { top: 12px; text-decoration: none; }

/* ---------- Layout base ---------- */
.container {
    width: 100%;
    max-width: var(--max);
    margin-inline: auto;
    padding-inline: 22px;
}

.section { padding: clamp(56px, 8vw, 104px) 0; }

.section--tint { background: var(--s100); }

.section__head {
    max-width: 760px;
    margin: 0 auto clamp(32px, 4vw, 52px);
    text-align: center;
}

.section__title { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }

.section__lead {
    color: var(--muted);
    font-size: clamp(1rem, 1.4vw, 1.14rem);
    margin: 0;
}

/* ---------- Eyebrow ---------- */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5em;
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--v500);
    margin-bottom: 1em;
}
.eyebrow__dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--a500);
    display: inline-block;
}
.eyebrow--light { color: var(--s300); }

/* ---------- Botones ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5em;
    padding: .72em 1.3em;
    border-radius: 999px;
    border: 1.5px solid transparent;
    font: inherit;
    font-weight: 600;
    font-size: .98rem;
    line-height: 1;
    cursor: pointer;
    text-decoration: none;
    transition: transform var(--transicion), background var(--transicion), color var(--transicion), border-color var(--transicion), box-shadow var(--transicion);
    white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--lg { padding: .95em 1.7em; font-size: 1.03rem; }

.btn--primary {
    background: var(--v700);
    color: var(--blanco);
    box-shadow: var(--sombra-soft);
}
.btn--primary:hover { background: var(--v900); }

.btn--ghost {
    background: transparent;
    color: var(--v700);
    border-color: var(--s300);
}
.btn--ghost:hover { background: var(--blanco); border-color: var(--v500); }

/* ---------- Reveal (JS) ---------- */
[data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .6s ease, transform .6s ease;
}
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    [data-reveal] { opacity: 1; transform: none; transition: none; }
    * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ---------- Encabezado ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(248, 243, 233, .88);
    backdrop-filter: saturate(140%) blur(10px);
    border-bottom: 1px solid transparent;
    transition: border-color var(--transicion), box-shadow var(--transicion), background var(--transicion);
}
.site-header.is-scrolled {
    background: rgba(248, 243, 233, .96);
    border-color: var(--linea);
    box-shadow: 0 10px 30px -26px rgba(14, 42, 35, .5);
}
.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; }
.brand__logo { height: 48px; width: auto; }

.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav__list {
    display: flex;
    gap: 26px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.site-nav__list a {
    color: var(--texto);
    font-weight: 500;
    font-size: .96rem;
}
.site-nav__list a:hover { color: var(--v700); text-decoration: none; }
.site-nav__actions { display: flex; gap: 10px; align-items: center; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: 0;
    padding: 10px;
    cursor: pointer;
}
.nav-toggle__bar {
    width: 26px;
    height: 2px;
    background: var(--v900);
    border-radius: 2px;
    transition: transform var(--transicion), opacity var(--transicion);
}

/* ---------- Hero ---------- */
.hero {
    padding: clamp(36px, 6vw, 70px) 0 clamp(48px, 7vw, 96px);
    background:
        radial-gradient(900px 460px at 88% -10%, var(--s100) 0%, transparent 62%),
        radial-gradient(700px 420px at -8% 108%, var(--a200) 0%, transparent 60%);
}
.hero__inner {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: clamp(30px, 4vw, 60px);
    align-items: center;
}
.hero__title { font-size: clamp(1.95rem, 4.3vw, 3.3rem); margin-bottom: .4em; }
.hero__title .hl { color: var(--v500); }
.hero__lead {
    font-size: clamp(1.02rem, 1.5vw, 1.16rem);
    color: var(--muted);
    max-width: 46ch;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 1.5em 0 1.3em; }
.hero__points {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    padding: 0;
    margin: 0;
    color: var(--muted);
    font-size: .92rem;
}
.hero__points li { display: flex; align-items: center; gap: .55em; }
.hero__points li::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--s500);
    flex: none;
}

/* ---------- Tarjetas ---------- */
.cards { display: grid; gap: 22px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--tight { margin-top: clamp(26px, 4vw, 42px); }
.card {
    background: var(--blanco);
    border: 1px solid var(--linea);
    border-radius: var(--radio-lg);
    padding: clamp(22px, 2.6vw, 32px);
    box-shadow: var(--sombra-soft);
}
.card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 15px;
    background: var(--s100);
    color: var(--v700);
    margin-bottom: 16px;
}
.card__title { font-size: clamp(1.1rem, 1.6vw, 1.24rem); margin-bottom: .45em; }
.card__text { color: var(--muted); font-size: .98rem; margin: 0; }
.card--mini { padding: 22px; }

/* ---------- Módulos ---------- */
.modules { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.modules__group {
    background: var(--blanco);
    border: 1px solid var(--linea);
    border-radius: var(--radio-lg);
    padding: 26px;
    box-shadow: var(--sombra-soft);
}
.modules__title { font-size: 1.14rem; margin-bottom: .15em; }
.modules__desc { color: var(--muted); font-size: .9rem; margin-bottom: 1em; }
.modules__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.modules__list li {
    background: var(--s100);
    color: var(--v700);
    border-radius: 999px;
    padding: .4em .85em;
    font-size: .84rem;
    font-weight: 500;
}

/* ---------- Secciones partidas (texto + visual) ---------- */
.split {
    display: grid;
    grid-template-columns: 1fr 1.08fr;
    gap: clamp(30px, 4vw, 64px);
    align-items: center;
}
.section--split-rev .split__copy { order: 2; }
.section--split-rev .split__visual { order: 1; }
.split__copy--tight .section__title { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }

.check {
    list-style: none;
    margin: 1.3em 0 0;
    padding: 0;
    display: grid;
    gap: .65em;
}
.check li {
    position: relative;
    padding-left: 2em;
    font-size: .98rem;
}
.check li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .15em;
    width: 1.35em;
    height: 1.35em;
    border-radius: 50%;
    background: var(--s100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233E7B6A' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l4.5 4.5L19 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* ---------- Flujo del huésped ---------- */
.flow {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}
.flow__step {
    position: relative;
    background: var(--blanco);
    border: 1px solid var(--linea);
    border-radius: var(--radio);
    padding: 22px 20px;
    box-shadow: var(--sombra-soft);
}
.flow__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--v700);
    color: var(--blanco);
    font-weight: 700;
    font-size: .92rem;
    margin-bottom: .7em;
}
.flow__title { font-size: 1.03rem; margin-bottom: .3em; }
.flow__text { color: var(--muted); font-size: .87rem; margin: 0; }
@media (min-width: 901px) {
    .flow__step:not(:last-child)::after {
        content: "";
        position: absolute;
        right: -12px;
        top: 50%;
        width: 9px;
        height: 9px;
        border-top: 2px solid var(--s500);
        border-right: 2px solid var(--s500);
        transform: translateY(-50%) rotate(45deg);
    }
}
.flow__visual,
.hk-visual,
.reports-visual { margin-top: clamp(34px, 5vw, 62px); }

/* ---------- Administración ---------- */
.admin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.admin-block {
    background: var(--blanco);
    border: 1px solid var(--linea);
    border-radius: var(--radio);
    padding: 20px;
    box-shadow: var(--sombra-soft);
}
.admin-block__title { font-size: 1.06rem; margin-bottom: .3em; }
.admin-block__text { color: var(--muted); font-size: .88rem; margin-bottom: .75em; }
.admin-block__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .4em; }
.admin-block__list li { position: relative; padding-left: 1.1em; font-size: .85rem; }
.admin-block__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .55em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--s500);
}

/* ---------- Confianza ---------- */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.trust__item {
    background: var(--blanco);
    border: 1px solid var(--linea);
    border-left: 4px solid var(--s500);
    border-radius: var(--radio);
    padding: 24px;
    box-shadow: var(--sombra-soft);
}
.trust__title { font-size: 1.08rem; margin-bottom: .4em; }
.trust__text { color: var(--muted); font-size: .92rem; margin: 0; }

/* ---------- Llamada final ---------- */
.section--cta {
    background: linear-gradient(135deg, var(--v900) 0%, var(--v700) 100%);
    color: var(--blanco);
}
.cta {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: clamp(28px, 4vw, 56px);
    align-items: center;
}
.cta__title { color: var(--blanco); font-size: clamp(1.6rem, 3vw, 2.35rem); }
.cta__lead { color: var(--s200); margin: 0; }
.cta__actions { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.cta__actions .btn { width: 100%; }
.cta .btn--primary { background: var(--a500); color: var(--v900); }
.cta .btn--primary:hover { background: var(--a300); }
.cta .btn--ghost { color: var(--blanco); border-color: rgba(255, 255, 255, .38); }
.cta .btn--ghost:hover { background: rgba(255, 255, 255, .12); border-color: var(--blanco); }
.cta__note { color: var(--s300); font-size: .85rem; margin: 0; }
.cta__note code { background: rgba(255, 255, 255, .14); color: var(--blanco); }

/* ---------- Pie ---------- */
.site-footer {
    background: var(--v900);
    color: var(--s200);
    padding: clamp(46px, 6vw, 72px) 0 26px;
}
.site-footer a { color: var(--s200); }
.site-footer a:hover { color: var(--blanco); }
.site-footer__grid {
    display: grid;
    grid-template-columns: 1.7fr 1fr 1fr 1.1fr;
    gap: 34px;
}
.site-footer__brand .brand-chip {
    display: inline-block;
    background: var(--blanco);
    border-radius: 14px;
    padding: 12px 16px;
    margin-bottom: 16px;
}
.site-footer__brand .brand-chip img { height: 42px; width: auto; }
.site-footer__pitch { color: var(--s300); font-size: .92rem; max-width: 36ch; }
.site-footer h3 {
    color: var(--blanco);
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .07em;
    margin-bottom: 1em;
}
.site-footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55em; font-size: .93rem; }
.site-footer .is-muted { color: var(--s500); }
.site-footer__bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    font-size: .85rem;
    color: var(--s300);
}
.site-footer__bottom p { margin: 0; }

/* ---------- Mensajes y texto largo ---------- */
.section--message { min-height: 58vh; display: flex; align-items: center; }
.message { max-width: 640px; text-align: center; margin-inline: auto; }
.message .eyebrow { justify-content: center; }
.message__title { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.message__text { color: var(--muted); }
.message__meta { color: var(--muted); font-size: .85rem; }
.message__actions { margin-top: 1.6em; }

.prose { max-width: 760px; margin-inline: auto; }
.prose__title { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.prose__lead { font-size: 1.1rem; color: var(--muted); }
.prose h2 { font-size: 1.25rem; margin-top: 1.7em; margin-bottom: .4em; }
.prose p { color: var(--muted); }
.prose__actions { margin-top: 2.2em; }

/* ============================================================
   Mockups del producto (datos ficticios)
   ============================================================ */
.mk {
    margin: 0;
    background: var(--blanco);
    border: 1px solid var(--linea);
    border-radius: 16px;
    box-shadow: var(--sombra);
    overflow: hidden;
    font-size: 13px;
    line-height: 1.45;
}
.mk__chrome {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 10px 14px;
    background: var(--s100);
    border-bottom: 1px solid var(--linea);
}
.mk__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--s300); }
.mk__dot:nth-child(1) { background: #D8A19A; }
.mk__dot:nth-child(2) { background: #E0C88A; }
.mk__dot:nth-child(3) { background: #9CC3A8; }
.mk__url {
    margin-left: 8px;
    font-size: .78rem;
    color: var(--muted);
    background: var(--blanco);
    border: 1px solid var(--linea);
    border-radius: 999px;
    padding: .25em .9em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mk__app { display: flex; background: var(--a100); }

/* Sidebar del mock */
.mk-side {
    width: 172px;
    flex: none;
    background: var(--v900);
    padding: 14px 12px;
    display: flex;
    flex-direction: column;
}
.mk-side__brand { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.mk-side__mark {
    width: 22px; height: 22px;
    border-radius: 6px;
    background: var(--s500);
    color: var(--v900);
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: .78rem;
}
.mk-side__name { font-weight: 700; color: var(--blanco); font-size: .95rem; }
.mk-side__hotel {
    font-size: .64rem;
    color: var(--s500);
    text-transform: uppercase;
    letter-spacing: .07em;
    margin-bottom: 8px;
}
.mk-side__nav { display: flex; flex-direction: column; gap: 1px; }
.mk-side__group {
    font-size: .58rem;
    text-transform: uppercase;
    letter-spacing: .09em;
    color: var(--s500);
    margin: 9px 6px 3px;
}
.mk-side__item { font-size: .76rem; color: var(--s300); padding: .35em .6em; border-radius: 7px; }
.mk-side__item.is-active { background: rgba(143, 176, 154, .22); color: var(--blanco); font-weight: 600; }

.mk__main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.mk__main > * { margin-inline: 18px; }
.mk__main > .mk__topbar { margin-inline: 0; }
.mk__main > * + * { margin-top: 14px; }
.mk__main > *:last-child { margin-bottom: 18px; }

.mk__topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 18px;
    background: var(--blanco);
    border-bottom: 1px solid var(--linea);
}
.mk__title { display: block; font-weight: 700; color: var(--v900); font-size: .98rem; }
.mk__sub { display: block; font-size: .72rem; color: var(--muted); }
.mk__pill {
    font-size: .68rem;
    font-weight: 600;
    padding: .38em .85em;
    border-radius: 999px;
    background: var(--s100);
    color: var(--v700);
    white-space: nowrap;
}
.mk__pill.is-ok { background: #DCEFE2; color: #24614A; }
.mk__pill.is-warn { background: var(--a200); color: #7A5B1E; }

/* KPIs */
.mk-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.mk-kpis--3 { grid-template-columns: repeat(3, 1fr); }
.mk-kpi {
    background: var(--blanco);
    border: 1px solid var(--linea);
    border-radius: 12px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.mk-kpi__label { font-size: .68rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.mk-kpi__value { font-size: 1.22rem; font-weight: 700; color: var(--v900); }
.mk-kpi__delta { font-size: .68rem; color: var(--muted); }
.mk-kpi__delta.is-up { color: #24614A; }

.mk-grid { display: grid; gap: 12px; }
.mk-grid--2 { grid-template-columns: 1.2fr 1fr; }
.mk-grid--folio { grid-template-columns: 1.5fr 1fr; }

.mk-card {
    background: var(--blanco);
    border: 1px solid var(--linea);
    border-radius: 12px;
    padding: 14px;
    min-width: 0;
}
.mk-card__head { display: block; font-size: .85rem; font-weight: 600; color: var(--v900); margin-bottom: 10px; }
.mk-card--side { display: flex; flex-direction: column; }

/* Gráfico de barras */
.mk-bars { display: flex; gap: 8px; align-items: flex-end; }
.mk-bars__col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.mk-bars__track {
    width: 100%;
    max-width: 30px;
    height: 118px;
    background: var(--s100);
    border-radius: 6px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}
.mk-bars__fill {
    display: block;
    width: 100%;
    background: linear-gradient(180deg, var(--s500), var(--v500));
    border-radius: 6px;
}
.mk-bars__val { font-size: .64rem; color: var(--v700); font-weight: 600; }
.mk-bars__label { font-size: .6rem; color: var(--muted); white-space: nowrap; }

/* Mapa de habitaciones */
.mk-rooms { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.mk-rooms__cell {
    aspect-ratio: 1.35;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: .68rem;
    font-weight: 700;
}
.mk-rooms__cell.is-ok { background: #DCEFE2; color: #24614A; }
.mk-rooms__cell.is-clean { background: var(--a200); color: #7A5B1E; }
.mk-rooms__cell.is-busy { background: #D6E2F4; color: #2A4A79; }
.mk-rooms__cell.is-ooo { background: #EAD6D3; color: #8A3B33; }

/* Leyendas y puntos */
.mk-legend { display: flex; flex-wrap: wrap; gap: 5px 14px; margin-top: 12px; font-size: .68rem; color: var(--muted); }
.mk-legend--foot { margin-top: 12px; }
.mk-dot { display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: 5px; vertical-align: middle; }
.mk-dot.is-ok { background: #8CC0A1; }
.mk-dot.is-clean { background: var(--a500); }
.mk-dot.is-busy { background: #7FA3D6; }
.mk-dot.is-ooo { background: #C99B95; }
.mk-dot.is-booked { background: var(--v500); }
.mk-dot.is-pending { background: var(--a500); }
.mk-dot.is-blocked { background: #9AA7A2; }
.mk-dot.is-room { background: var(--v500); }
.mk-dot.is-cafe { background: var(--a500); }

/* Planning */
.mk-plan { display: flex; flex-direction: column; gap: 6px; }
.mk-plan__row {
    display: grid;
    grid-template-columns: 92px repeat(10, minmax(0, 1fr));
    gap: 4px;
    align-items: center;
}
.mk-plan__head { padding-bottom: 6px; border-bottom: 1px solid var(--linea); }
.mk-plan__day { font-size: .58rem; color: var(--muted); text-align: center; white-space: nowrap; }
.mk-plan__room { font-size: .68rem; color: var(--v900); display: flex; flex-direction: column; line-height: 1.15; }
.mk-plan__room b { font-size: .72rem; }
.mk-plan__room em { font-style: normal; font-size: .58rem; color: var(--muted); }
.mk-plan__room.is-head { font-size: .58rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.mk-plan__bar {
    height: 26px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    padding: 0 8px;
    font-size: .6rem;
    font-weight: 600;
    color: var(--blanco);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.mk-plan__bar.is-booked { background: var(--v500); }
.mk-plan__bar.is-pending { background: var(--a500); color: var(--v900); }
.mk-plan__bar.is-blocked {
    background: repeating-linear-gradient(45deg, #C3CFC9, #C3CFC9 6px, #D5DFDA 6px, #D5DFDA 12px);
    color: var(--v900);
}

/* Tablas */
.mk-table { width: 100%; border-collapse: collapse; font-size: .72rem; }
.mk-table th, .mk-table td { padding: .5em .3em; text-align: left; border-bottom: 1px solid var(--linea); }
.mk-table th { font-size: .6rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 600; }
.mk-table .is-right, .mk-table th.is-right { text-align: right; }
.mk-table__muted { color: var(--muted); }
.mk-table__qty { color: var(--muted); font-size: .85em; }
.mk-table tr:last-child td { border-bottom: 0; }
.mk-table--tight td { padding: .4em .3em; }
.is-in { color: #24614A; font-weight: 600; }
.is-out { color: #8A3B33; font-weight: 600; }

/* Listas de definición y botón del mock */
.mk-dl { margin: 0 0 10px; display: grid; gap: .4em; font-size: .72rem; }
.mk-dl > div { display: flex; justify-content: space-between; gap: 10px; }
.mk-dl dt { color: var(--muted); }
.mk-dl dd { margin: 0; font-weight: 600; color: var(--v900); }
.mk-dl--total { padding-top: 8px; border-top: 1px dashed var(--s300); margin-bottom: 0; }
.mk-dl--total dd { color: var(--v700); }

.mk-btn {
    display: block;
    text-align: center;
    background: var(--v700);
    color: var(--blanco);
    border-radius: 9px;
    padding: .7em 1em;
    font-size: .74rem;
    font-weight: 600;
    margin-top: 12px;
}
.mk-btn.is-ghost { background: var(--s100); color: var(--v700); }

.mk-tag {
    display: inline-block;
    background: var(--s100);
    color: var(--v700);
    border-radius: 6px;
    padding: .15em .55em;
    font-size: .64rem;
    font-weight: 600;
}

/* Housekeeping */
.mk-hk { display: flex; flex-direction: column; gap: 14px; }
.mk-hk__floor { display: grid; gap: 8px; }
.mk-hk__floor-name { font-size: .62rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
.mk-hk__cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.mk-hk__card {
    background: var(--blanco);
    border: 1px solid var(--linea);
    border-left: 4px solid var(--s300);
    border-radius: 10px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 1px;
}
.mk-hk__num { font-weight: 700; font-size: .86rem; color: var(--v900); }
.mk-hk__tipo { font-size: .6rem; color: var(--muted); }
.mk-hk__state { font-size: .62rem; font-weight: 600; color: var(--muted); }
.mk-hk__card.is-clean { border-color: var(--a500); }
.mk-hk__card.is-clean .mk-hk__state { color: #8A6A1E; }
.mk-hk__card.is-busy { border-color: #7FA3D6; }
.mk-hk__card.is-busy .mk-hk__state { color: #2A4A79; }
.mk-hk__card.is-ok { border-color: #8CC0A1; }
.mk-hk__card.is-ok .mk-hk__state { color: #24614A; }
.mk-hk__card.is-ooo { border-color: #C99B95; }
.mk-hk__card.is-ooo .mk-hk__state { color: #8A3B33; }

/* Punto de venta */
.mk-pos { display: grid; grid-template-columns: 1.5fr 1fr; gap: 12px; }
.mk-pos__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; align-content: start; }
.mk-pos__item {
    background: var(--blanco);
    border: 1px solid var(--linea);
    border-radius: 10px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    box-shadow: var(--sombra-soft);
}
.mk-pos__name { font-size: .72rem; font-weight: 600; color: var(--v900); }
.mk-pos__price { font-size: .66rem; color: var(--muted); }
.mk-pos__ticket {
    background: var(--blanco);
    border: 1px solid var(--linea);
    border-radius: 12px;
    padding: 12px;
    display: flex;
    flex-direction: column;
}
.mk-pos__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mk-pos__actions .mk-btn { margin-top: 10px; }

/* Barras apiladas (reportes) */
.mk-stack { display: flex; align-items: flex-end; gap: 14px; height: 168px; }
.mk-stack__col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    height: 100%;
}
.mk-stack__track {
    width: 100%;
    max-width: 46px;
    height: 132px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border-radius: 8px;
    overflow: hidden;
    background: var(--s100);
}
.mk-stack__seg { display: block; width: 100%; }
.mk-stack__seg.is-room { background: var(--v500); }
.mk-stack__seg.is-cafe { background: var(--a500); }
.mk-stack__label { font-size: .64rem; color: var(--muted); }

/* Teléfono del mock */
.mk--phone {
    background: transparent;
    border: 0;
    box-shadow: none;
    border-radius: 0;
    overflow: visible;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.phone {
    width: 300px;
    max-width: 100%;
    background: var(--v900);
    border-radius: 40px;
    padding: 14px;
    box-shadow: 0 30px 60px -30px rgba(14, 42, 35, .6);
    position: relative;
}
.phone__speaker {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 66px;
    height: 5px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .28);
    z-index: 2;
}
.phone__screen {
    background: var(--a100);
    border-radius: 30px;
    overflow: hidden;
    padding-top: 10px;
    display: flex;
    flex-direction: column;
    min-height: 512px;
}
.phone__status {
    display: flex;
    justify-content: space-between;
    padding: 5px 22px 3px;
    font-size: .62rem;
    color: var(--muted);
}
.phone__signal { width: 32px; height: 8px; border-radius: 3px; background: var(--s300); }
.phone__head {
    padding: 10px 18px 12px;
    background: var(--blanco);
    border-bottom: 1px solid var(--linea);
    display: flex;
    flex-direction: column;
    gap: 1px;
}
.phone__hotel { font-size: .58rem; text-transform: uppercase; letter-spacing: .07em; color: var(--v500); font-weight: 600; }
.phone__title { font-size: 1.04rem; font-weight: 700; color: var(--v900); line-height: 1.2; }
.phone__sub { font-size: .66rem; color: var(--muted); }
.phone__list { padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.phone__task {
    background: var(--blanco);
    border-radius: 12px;
    border-left: 4px solid var(--s300);
    padding: 11px 12px;
    display: flex;
    flex-direction: column;
    gap: 1px;
    box-shadow: var(--sombra-soft);
}
.phone__hab { font-weight: 700; font-size: .86rem; color: var(--v900); }
.phone__txt { font-size: .68rem; color: var(--muted); }
.phone__badge {
    align-self: flex-start;
    margin-top: 4px;
    font-size: .58rem;
    font-weight: 600;
    padding: .2em .65em;
    border-radius: 999px;
    background: var(--s100);
    color: var(--v700);
}
.phone__task.is-clean { border-color: var(--a500); }
.phone__task.is-busy { border-color: #7FA3D6; }
.phone__task.is-ok { border-color: #8CC0A1; }
.phone__task.is-ooo { border-color: #C99B95; }
.phone__tabs { display: flex; border-top: 1px solid var(--linea); background: var(--blanco); }
.phone__tab { flex: 1; text-align: center; padding: 12px 4px; font-size: .62rem; color: var(--muted); }
.phone__tab.is-active { color: var(--v700); font-weight: 700; box-shadow: inset 0 2px 0 var(--v700); }

.mk-caption {
    font-size: .82rem;
    color: var(--muted);
    text-align: center;
    margin: 16px auto 0;
    max-width: 360px;
    line-height: 1.5;
}

/* ============================================================
   Adaptación a pantallas
   ============================================================ */
.split__visual--phone { display: flex; justify-content: center; }

@media (max-width: 1080px) {
    .modules { grid-template-columns: repeat(2, 1fr); }
    .trust { grid-template-columns: 1fr 1fr; }
    .site-footer__grid { grid-template-columns: 1fr 1fr; }

    .nav-toggle { display: inline-flex; }
    .site-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        padding: 18px 22px 26px;
        background: var(--a100);
        border-bottom: 1px solid var(--linea);
        box-shadow: 0 24px 40px -30px rgba(14, 42, 35, .55);
        opacity: 0;
        transform: translateY(-10px);
        pointer-events: none;
        transition: opacity var(--transicion), transform var(--transicion);
    }
    .site-nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
    .site-nav__list { flex-direction: column; gap: 0; }
    .site-nav__list a {
        display: block;
        padding: 13px 2px;
        border-bottom: 1px solid var(--linea);
        font-size: 1.05rem;
    }
    .site-nav__actions { flex-direction: column; gap: 10px; }
    .site-nav__actions .btn { width: 100%; }
    .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
    .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 900px) {
    .hero__inner { grid-template-columns: 1fr; }
    .hero__visual { order: 2; }
    .split { grid-template-columns: 1fr; }
    .section--split-rev .split__copy,
    .section--split-rev .split__visual { order: 0; }
    .cards--3 { grid-template-columns: 1fr; }
    .flow { grid-template-columns: 1fr 1fr; }
    .flow__step:not(:last-child)::after { display: none; }
    .cta { grid-template-columns: 1fr; }
    .section__head { text-align: left; }
    .message { text-align: left; }
    .message .eyebrow { justify-content: flex-start; }
}

@media (max-width: 640px) {
    body { font-size: 16px; }
    .modules { grid-template-columns: 1fr; }
    .trust { grid-template-columns: 1fr; }
    .admin-grid { grid-template-columns: 1fr; }
    .flow { grid-template-columns: 1fr; }
    .site-footer__grid { grid-template-columns: 1fr; }

    .hero__actions .btn { flex: 1 1 100%; }
    .brand__logo { height: 40px; }

    /* Mockups más compactos */
    .mk { font-size: 12px; }
    .mk-side { display: none; }
    .mk__main > * { margin-inline: 12px; }
    .mk-grid--2,
    .mk-grid--folio,
    .mk-pos { grid-template-columns: 1fr; }
    .mk-kpis,
    .mk-kpis--3 { grid-template-columns: 1fr 1fr; }
    .mk-hk__cards { grid-template-columns: 1fr 1fr; }
    .mk-rooms { grid-template-columns: repeat(4, 1fr); }
    .mk-plan__row { grid-template-columns: 66px repeat(10, minmax(0, 1fr)); gap: 3px; }
    .mk-plan__bar { font-size: 0; padding: 0; justify-content: center; }
    .mk-plan__day { font-size: .5rem; }
    .mk-bars__track { height: 96px; }
    .mk-stack { gap: 8px; }
    .mk-stack__track { height: 108px; }
    .phone { width: 280px; }
}

@media print {
    .site-header, .site-nav, .skip-link { display: none; }
    body { background: #fff; }
    [data-reveal] { opacity: 1; transform: none; }
}

