/* Makaabá — base compartida de los prototipos de hero (2026-10-30).
   Paleta medida en el sitio actual (REA, raw/sitio-actual/2026-10-30/INVENTARIO.md) y en el logo oficial.
   Tipografía: Metropolis (OFL), la del ecosistema Waah/Kaabal y la de los nombres de habitación del sitio
   actual; el sitio actual usa Montserrat en lo demás (casi idéntica). Decisión final: guía de marca (F6.3). */

@font-face { font-family: 'Metropolis'; src: url('../fonts/metropolis-latin-300-normal.woff2') format('woff2'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Metropolis'; src: url('../fonts/metropolis-latin-300-italic.woff2') format('woff2'); font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: 'Metropolis'; src: url('../fonts/metropolis-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Metropolis'; src: url('../fonts/metropolis-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Metropolis'; src: url('../fonts/metropolis-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Metropolis'; src: url('../fonts/metropolis-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  /* Color — origen entre paréntesis */
  --selva: #124735;        /* botón RESERVA AHORA del sitio actual: color de acción */
  --selva-ink: #043a22;    /* titulares H1/H4 del sitio actual */
  --selva-deep: #032817;   /* hover de botones del sitio actual; secciones de noche */
  --laguna: #1d4843;       /* barras de cabecera y pie (el sitio la usa al 79 %) */
  --musgo: #375f57;        /* tarjeta de testimonios del sitio actual */
  --piedra: #515c5a;       /* fondo de página del sitio actual y tinta del logo (#505858) */
  --olivo: #afa98f;        /* círculo del logo (#a8a888): etiquetas y filetes sobre oscuro */
  --sand: #ebeae6;         /* fondo de secciones del sitio actual */
  --surface: #f7f7f7;
  --ink: #071721;          /* texto de cuerpo del sitio actual */
  --on-dark: #f7f7f7;
  --line: #d6d5cf;
  --scrim: rgba(3, 40, 23, .55);
  --scrim-strong: rgba(3, 40, 23, .82);

  --font: Metropolis, Montserrat, "Avenir Next", "Century Gothic", system-ui, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --pill: 50px;
  --gutter: clamp(18px, 4vw, 56px);
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); font-weight: 400; font-size: 17px; line-height: 1.5; color: var(--ink);
       background: var(--surface); -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
a { color: inherit; -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--olivo); outline-offset: 3px; }

.mk-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; }

/* Botones píldora (radio 50px, como los del sitio actual) */
.mk-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px;
          padding: 0 26px; border-radius: var(--pill); font-size: 13px; font-weight: 600; letter-spacing: .14em;
          text-transform: uppercase; text-decoration: none; white-space: nowrap; border: 1px solid transparent;
          transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease); }
.mk-btn:active { transform: scale(.98); }
.mk-btn--primary { background: var(--selva); color: var(--on-dark); }
.mk-btn--primary:hover { background: var(--selva-deep); }
.mk-btn--light { background: var(--on-dark); color: var(--selva-ink); }
.mk-btn--light:hover { background: #fff; }
.mk-btn--ghost { border-color: rgba(247, 247, 247, .55); color: var(--on-dark); }
.mk-btn--ghost:hover { border-color: var(--on-dark); background: rgba(247, 247, 247, .08); }
.mk-btn svg { width: 18px; height: 18px; flex: none; }

/* Etiqueta de prototipo: vuelve al comparador. Cada página la puede reubicar. */
.proto-tag { position: fixed; z-index: 400; right: 12px; bottom: calc(12px + var(--safe-bottom)); padding: 7px 12px;
             border-radius: 999px; background: rgba(7, 23, 33, .72); color: #fff; font: 600 11px/1 var(--font);
             letter-spacing: .08em; text-decoration: none; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.proto-tag:hover { background: rgba(7, 23, 33, .9); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important;
                           transition-duration: .14s !important; scroll-behavior: auto !important; }
}
