/* riserva-luxe.css — Sistema visual "Azul & Blanco Elegante" para Riserva.
   Estructura editorial (mucho aire, serif protagonista, líneas finas) pero con una
   colorimetría azul/blanca refinada: blanco puro + navy profundo + azul real de acento.
   Tonos claros y visibles al ojo. Se carga DESPUÉS de riserva.css.
   Header invisible sobre el carrusel -> BLANCO al hacer scroll. */

:root {
  --lx-ink:        #0c2340;   /* navy profundo: títulos / texto fuerte */
  --lx-body:       #2f4056;   /* cuerpo (slate azulado, buen contraste) */
  --lx-muted:      #566a86;   /* secundario / apoyo (legible sobre blanco) */
  --lx-paper:      #ffffff;   /* fondo blanco puro */
  --lx-paper-2:    #eef4fc;   /* superficie azul muy suave (secciones alternas) */
  --lx-line:       rgba(12,35,64,.12);    /* hairline azulado */
  --lx-line-soft:  rgba(12,35,64,.07);    /* hairline tenue */
  --lx-accent:     #2563eb;   /* azul real de acento, elegante y visible */
  --lx-accent-2:   #1e40af;   /* azul más profundo para hover */
  --lx-accent-soft:#8fb4f5;   /* azul claro (acentos sobre fondo oscuro) */
  /* Alias de compatibilidad: las páginas escritas con --lx-gold heredan el azul */
  --lx-gold:       var(--lx-accent);
  --lx-gold-soft:  var(--lx-accent-soft);
  --lx-serif:      'Fraunces', Georgia, 'Times New Roman', serif;
  --lx-sans:       'Plus Jakarta Sans', -apple-system, 'Segoe UI', Roboto, sans-serif;
  --lx-shadow:     0 10px 30px rgba(12,35,64,.06);
  --lx-shadow-lg:  0 24px 60px rgba(12,35,64,.12);
}

/* Compat: variables antiguas usadas por páginas heredadas */
:root { --lx-cream: var(--lx-paper); --lx-cream-2: var(--lx-paper-2); --lx-line-2: var(--lx-line); }

body.lx {
  background: var(--lx-paper);
  color: var(--lx-body);
  font-family: var(--lx-sans);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  overflow-x: hidden;
}

.lx a { color: var(--lx-ink); text-decoration-color: var(--lx-line); text-underline-offset: 3px; }
.lx a:hover { color: var(--lx-gold); }
.lx ::selection { background: rgba(154,123,63,.18); }

/* ---------- Tipografía ---------- */
.lx-serif { font-family: var(--lx-serif); }
.lx-grad-text { font-family: var(--lx-serif); font-style: italic; font-weight: 500; color: var(--lx-gold); }
.lx-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--lx-sans); font-size: .68rem; font-weight: 700;
  letter-spacing: .32em; text-transform: uppercase; color: var(--lx-gold);
}
.lx-eyebrow::before { content: ''; width: 22px; height: 1px; background: currentColor; opacity: .8; }

/* ---------- Header transparente -> papel al hacer scroll ---------- */
.lx-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: transparent; border-bottom: 1px solid transparent;
  transition: background .4s ease, box-shadow .4s ease, border-color .4s ease, padding .4s ease;
}
.lx-nav.scrolled {
  background: rgba(255,255,255,.96);
  -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
  border-bottom-color: var(--lx-line);
  box-shadow: 0 6px 24px rgba(12,35,64,.06);
}
.lx-nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 26px 0; transition: padding .4s ease; }
.lx-nav.scrolled .lx-nav-inner { padding: 16px 0; }

.lx-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.lx-brand img { width: 34px; height: 34px; object-fit: contain; border-radius: 8px; }
.lx-brand span { font-family: var(--lx-serif); font-size: 1.55rem; font-weight: 600; color: #fff; letter-spacing: .2px; transition: color .4s ease; }
.lx-nav.scrolled .lx-brand span { color: var(--lx-ink); }

.lx-nav-links { display: flex; align-items: center; gap: 34px; }
.lx-nav-links a { font-weight: 500; color: rgba(255,255,255,.9); font-size: .82rem; letter-spacing: .02em; text-decoration: none; transition: color .25s, opacity .25s; }
.lx-nav-links a:hover { color: #fff; opacity: 1; }
.lx-nav.scrolled .lx-nav-links a { color: var(--lx-body); }
.lx-nav.scrolled .lx-nav-links a:hover { color: var(--lx-ink); }

/* Botón hamburguesa (solo móvil) */
.lx-nav-toggle { display: none; background: none; border: none; cursor: pointer; width: 42px; height: 42px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; padding: 0; z-index: 120; }
.lx-nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; transition: transform .3s ease, opacity .2s ease, background .3s ease; }
.lx-nav.scrolled .lx-nav-toggle span { background: var(--lx-ink); }
.lx-nav-toggle.open span { background: var(--lx-ink); }
.lx-nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.lx-nav-toggle.open span:nth-child(2) { opacity: 0; }
.lx-nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .lx-nav-toggle { display: flex; }
  .lx-nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--lx-line);
    padding: 8px 22px 22px; box-shadow: 0 24px 44px rgba(12,35,64,.12);
    max-height: 0; overflow: hidden; opacity: 0; pointer-events: none;
    transition: max-height .35s ease, opacity .3s ease, padding .35s ease;
  }
  .lx-nav-links.open { max-height: 90vh; opacity: 1; pointer-events: auto; }
  .lx-nav-links a { color: var(--lx-body) !important; text-shadow: none !important; font-size: .95rem; font-weight: 600; padding: 15px 2px; border-bottom: 1px solid var(--lx-line-soft); }
  .lx-nav-links a:last-child { border-bottom: none; }
  .lx-nav-links a.lx-btn { justify-content: center; margin-top: 14px; padding: 15px; border: none; background: var(--lx-accent); color: #fff !important; }
  .lx-nav-links a.lx-btn-gold { background: var(--lx-accent); }
  .lx-nav-links .hide-sm { display: block !important; }
}

/* ---------- Botones (minimalistas) ---------- */
.lx-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: none; cursor: pointer;
  font-family: var(--lx-sans); font-weight: 600; font-size: .82rem; padding: 15px 30px; border-radius: 0;
  letter-spacing: .04em; text-transform: uppercase;
  transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease, opacity .25s ease;
  text-decoration: none; white-space: nowrap;
}
.lx-btn-sm { padding: 11px 22px; font-size: .72rem; letter-spacing: .06em; }
/* Primario: navy sólido, elegante */
.lx-btn-grad { background: var(--lx-ink); color: #fff; }
.lx-btn-grad:hover { background: #123a66; transform: translateY(-1px); }
/* Fantasma: contorno fino. Sobre hero es claro; con scroll pasa a navy */
.lx-btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.55); }
.lx-btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.1); }
.lx-nav.scrolled .lx-btn-ghost { color: var(--lx-ink); border-color: var(--lx-line); }
.lx-nav.scrolled .lx-btn-ghost:hover { border-color: var(--lx-ink); background: rgba(12,35,64,.04); }
/* Acento azul: CTA destacado (azul real, muy visible) */
.lx-btn-gold { background: var(--lx-accent); color: #fff; box-shadow: 0 10px 26px rgba(37,99,235,.24); }
.lx-btn-gold:hover { background: var(--lx-accent-2); color: #fff; transform: translateY(-1px); box-shadow: 0 14px 32px rgba(37,99,235,.32); }
/* Contorno de tinta para fondos claros (wizard, checkout, formularios) */
.lx-btn-line { background: transparent; color: var(--lx-ink); border: 1px solid var(--lx-line); }
.lx-btn-line:hover { border-color: var(--lx-ink); background: var(--lx-paper-2); }
/* Enlace subrayado tipo editorial */
.lx-link { font-weight: 600; font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; color: var(--lx-ink);
  border-bottom: 1px solid var(--lx-ink); padding-bottom: 3px; text-decoration: none; transition: color .25s, border-color .25s; }
.lx-link:hover { color: var(--lx-gold); border-color: var(--lx-gold); }

/* ---------- Tarjetas (planas, hairline) ---------- */
.lx-glass { background: transparent; border: 1px solid var(--lx-line); border-radius: 0; }
.lx-glass-hover { transition: border-color .3s ease, background .3s ease; }
.lx-glass-hover:hover { border-color: var(--lx-ink); background: rgba(255,255,255,.35); }

/* ---------- Secciones (mucho aire) ---------- */
.lx-section { padding: 130px 0; position: relative; }
.lx-section.alt { background: var(--lx-paper-2); }
.lx-head { text-align: center; max-width: 640px; margin: 0 auto 76px; }
.lx-title { font-family: var(--lx-serif); font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 500; color: var(--lx-ink); margin: 20px 0 18px; letter-spacing: -.5px; line-height: 1.08; }
.lx-sub { color: var(--lx-muted); font-size: 1.04rem; line-height: 1.75; margin: 0; font-weight: 400; }
.lx-rule { width: 100%; height: 1px; background: var(--lx-line); border: 0; margin: 0; }

/* ---------- Pie (editorial, papel oscuro/tinta) ---------- */
.lx-footer { padding: 76px 0 48px; color: rgba(255,255,255,.55); font-size: .8rem; background: var(--lx-ink); line-height: 1.9; }
.lx-footer a { color: rgba(255,255,255,.78); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.2); padding-bottom: 1px; }
.lx-footer a:hover { color: #fff; border-color: rgba(255,255,255,.6); }
.lx-footer .fb { font-family: var(--lx-serif); font-size: 1.7rem; font-weight: 500; color: #fff; margin-bottom: 10px; letter-spacing: .3px; }
.lx-footer .fb .dot { color: var(--lx-gold-soft); }
.lx-footer-inner { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.lx-footer-inner .col-r { text-align: right; }
@media (max-width: 640px) { .lx-footer-inner { flex-direction: column; align-items: flex-start; } .lx-footer-inner .col-r { text-align: left; } }

/* ---------- Capa de compatibilidad: reviste componentes riserva.css (rsv-*)
   con el lenguaje editorial cuando la página usa body.lx ---------- */
.lx .rsv-input, .lx .rsv-select, .lx .rsv-textarea {
  border-radius: 0; border: 1px solid var(--lx-line); background: transparent;
  font-family: var(--lx-sans); color: var(--lx-ink);
}
.lx .rsv-input:focus, .lx .rsv-select:focus, .lx .rsv-textarea:focus {
  border-color: var(--lx-ink); box-shadow: none; outline: none;
}
.lx .rsv-label { color: var(--lx-muted); text-transform: uppercase; letter-spacing: .13em; font-size: .68rem; font-weight: 700; }
.lx .rsv-btn { border-radius: 0; text-transform: uppercase; letter-spacing: .04em; font-weight: 600; font-size: .82rem; }
.lx .rsv-btn-primary { background: var(--lx-ink); border-color: var(--lx-ink); color: #fff; box-shadow: none; }
.lx .rsv-btn-primary:hover { background: #000; border-color: #000; }
.lx .rsv-btn-outline { background: transparent; color: var(--lx-ink); border: 1px solid var(--lx-line); box-shadow: none; }
.lx .rsv-btn-outline:hover { border-color: var(--lx-ink); background: var(--lx-paper-2); color: var(--lx-ink); }
.lx .rsv-btn-success { background: var(--lx-ink); border-color: var(--lx-ink); color: #fff; }
.lx .rsv-card-panel { border-radius: 0; border: 1px solid var(--lx-line); box-shadow: none; background: #fff; }
.lx .rsv-alert { border-radius: 0; }

/* ---------- Utilidades responsive ---------- */
@media (max-width: 900px) {
  .lx-section { padding: 92px 0; }
  .lx-head { margin-bottom: 52px; }
}
@media (max-width: 720px) {
  .lx-section { padding: 72px 0; }
  .hide-sm { display: none !important; }
  .lx-nav-inner { padding: 18px 0; }
}
@media (max-width: 480px) {
  .lx-nav-links { gap: 14px; }
  .lx-btn { padding: 13px 22px; }
}
