/* =====================================================================
   INFINITHO 360 · Base: colores, tipografía y elementos comunes
   Azul noche + dorado, estilo sobrio y elegante.
   ===================================================================== */
:root {
  --navy-950: #050c1d;
  --navy-900: #0a1630;
  --navy-850: #0d1b3a;
  --navy-800: #112247;
  --navy-700: #182e5e;
  --navy-600: #24407c;
  --gold-300: #ecd9a6;
  --gold-400: #e1c27c;
  --gold-500: #c9a55a;
  --gold-600: #a8853f;
  --gold-700: #7d6229;
  --ivory: #f5efe2;
  --text: #e9e4d8;
  --text-soft: #b7bfd2;
  --muted: #8692ad;
  --line: rgba(201, 165, 90, 0.18);
  --line-soft: rgba(233, 228, 216, 0.08);
  --danger: #e2735f;
  --ok: #6fc5a0;
  --warn: #e7b85a;

  --glass: rgba(10, 22, 48, 0.62);
  --glass-strong: rgba(8, 18, 40, 0.86);
  --shadow: 0 18px 50px -18px rgba(0, 0, 0, 0.65);
  --radius: 14px;
  --radius-sm: 10px;

  --font-display: 'Cormorant Garamond', 'Times New Roman', serif;
  --font-ui: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --gold-grad: linear-gradient(135deg, #f0dca8 0%, #c9a55a 45%, #a8853f 100%);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--navy-950);
  color: var(--text);
  font: 400 15px/1.55 var(--font-ui);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--gold-400); text-decoration: none; }
a:hover { color: var(--gold-300); }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: 0.005em; line-height: 1.15; margin: 0; }
.ico { flex: none; }
[hidden] { display: none !important; }
.muted, .vx-muted { color: var(--muted); }
.gold { color: var(--gold-400); }

:focus-visible { outline: 2px solid var(--gold-400); outline-offset: 2px; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 18px;
  border-radius: 999px; border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03); color: var(--text);
  font-weight: 600; font-size: 14px; letter-spacing: 0.01em;
  cursor: pointer; white-space: nowrap; text-decoration: none;
  transition: background .2s, border-color .2s, color .2s, transform .1s;
}
.btn:hover { border-color: rgba(201, 165, 90, 0.45); color: var(--ivory); background: rgba(201, 165, 90, 0.08); }
.btn:active { transform: translateY(1px); }
.btn--gold {
  background: var(--gold-grad); color: #1b1404; border-color: transparent;
  box-shadow: 0 8px 22px -10px rgba(201, 165, 90, 0.7);
}
.btn--gold:hover { color: #1b1404; filter: brightness(1.06); background: var(--gold-grad); }
.btn--ghost { background: transparent; }
.btn--danger { color: var(--danger); border-color: rgba(226, 115, 95, 0.35); }
.btn--danger:hover { background: rgba(226, 115, 95, 0.12); color: #f29a88; border-color: rgba(226, 115, 95, 0.6); }
.btn--sm { height: 34px; padding: 0 13px; font-size: 13px; }
.btn--icon { width: 38px; padding: 0; height: 38px; }
.btn[disabled] { opacity: .45; pointer-events: none; }

/* Formularios */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field > label, .label { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-soft); }
.input, .field input[type=text], .field input[type=email], .field input[type=password], .field input[type=number],
.field select, .field textarea {
  width: 100%; min-height: 44px; padding: 10px 14px;
  background: rgba(5, 12, 29, 0.55); color: var(--text);
  border: 1px solid var(--line-soft); border-radius: var(--radius-sm);
  font: 500 15px/1.4 var(--font-ui);
  transition: border-color .2s, background .2s;
}
.field textarea { min-height: 96px; resize: vertical; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: rgba(201, 165, 90, 0.6); background: rgba(5, 12, 29, 0.8);
}
.field .hint { font-size: 12.5px; color: var(--muted); }
.check { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 500; }
.check input { width: 18px; height: 18px; accent-color: var(--gold-500); }

/* Avisos */
.alert {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 14px;
  border: 1px solid; font-size: 14px;
}
.alert--success { background: rgba(111, 197, 160, 0.08); border-color: rgba(111, 197, 160, 0.35); color: #a6e3c8; }
.alert--error   { background: rgba(226, 115, 95, 0.08); border-color: rgba(226, 115, 95, 0.4); color: #f3ab9c; }
.alert--warn    { background: rgba(231, 184, 90, 0.08); border-color: rgba(231, 184, 90, 0.4); color: var(--gold-300); }

/* Ornamento: línea dorada fina */
.rule { display: flex; align-items: center; gap: 12px; color: var(--gold-500); font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; }
.rule::before, .rule::after { content: ''; height: 1px; flex: 1; background: linear-gradient(90deg, transparent, var(--gold-600), transparent); }

/* Logotipo: símbolo (∞ en órbita 360°) + «INFINITHO» sobre «360» */
.logo { display: inline-flex; align-items: center; gap: 11px; color: var(--ivory); text-decoration: none; }
.logo:hover { color: var(--ivory); }
.logo__mark { flex: none; width: 38px; height: 38px; display: block; overflow: visible; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.logo:hover .logo__mark { transform: rotate(-20deg); }
.logo__text { display: inline-flex; flex-direction: column; align-items: stretch; line-height: 1; }
.logo__name {
  font-family: var(--font-display); font-weight: 600; font-size: 20px;
  letter-spacing: .16em; margin-right: -.16em;    /* compensa el espaciado de la última letra */
  white-space: nowrap; color: var(--ivory);
}
.logo__sub {
  display: flex; align-items: center; gap: 7px; margin-top: 4px;
  font: 700 9.5px/1 var(--font-ui); letter-spacing: .42em; color: var(--gold-400);
}
.logo__sub::before, .logo__sub::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-600)); }
.logo__sub::after { background: linear-gradient(90deg, var(--gold-600), transparent); margin-left: -.42em; }
