/* =========================================================
   SITIO — base compartida: colores, nav, menú mobile, idioma, botones, pie
   ========================================================= */
:root {
  /* Paleta de marca (la misma que el resto del sitio) */
  --h-bg: #050505;
  --h-ink: #FFFFFF;
  --h-muted: #A6A6A6;
  --h-accent: #A3225A;   /* hovers */
  --h-deep: #64124C;     /* ★ principal: botón, comillas, scrollbar */
  --h-mid: #59114F;
  --h-grad: linear-gradient(45deg, #841743, #791546, #6f1449, #64124c, #59114f, #381557, #2a0e3c);
  --h-left: max(calc(15% - 24px), calc((100% - 1056px) / 2));   /* margen izquierdo de la grilla */
  --h-right: clamp(20px, 4vw, 56px);
  --h-ease: cubic-bezier(.2, .7, .2, 1);
}
html, body { margin: 0; background: var(--h-bg); color: var(--h-ink); -webkit-font-smoothing: antialiased; }
* { box-sizing: border-box; }
body.home, body.page { min-height: 100vh; font-family: "Raleway", sans-serif; font-weight: 500; overflow-x: clip; }
a { color: var(--h-muted); text-decoration: none; }
a:hover { color: var(--h-ink); }
html { scrollbar-width: thin; scrollbar-color: var(--h-deep) var(--h-bg); }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--h-bg); }
::-webkit-scrollbar-thumb { background: var(--h-deep); border-radius: 999px; border: 2px solid var(--h-bg); }
::-webkit-scrollbar-thumb:hover { background: var(--h-accent); }
::selection { background: var(--h-accent); color: #fff; }

.only-mobile { display: none !important; }
@media (max-width: 699px) {
  .only-desktop { display: none !important; }
  .only-mobile { display: flex !important; }
}

/* ---------- nav ---------- */
.h-nav { position: relative; z-index: 20; display: flex; align-items: center; justify-content: flex-end; gap: 16px 24px; flex-wrap: wrap;
  padding: 16px var(--h-right) 16px var(--h-left); background: rgba(5, 5, 5, .85); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.h-nav-links { display: flex; align-items: center; gap: clamp(12px, 2.4vw, 32px); font-size: clamp(11px, 1vw, 13px); font-weight: 600;
  letter-spacing: clamp(.08em, .6vw, .14em); text-transform: uppercase; white-space: nowrap; }
.h-nav-links > a { color: var(--h-ink); transition: color .25s; }
.h-nav-links > a:hover, .h-nav-links > a[aria-current] { color: var(--h-accent); }
.h-nav--page { justify-content: space-between; padding-left: var(--h-left); position: sticky; top: 0; }

.h-burger { flex-direction: column; justify-content: center; gap: 6px; width: 44px; height: 44px; padding: 0 8px; margin-right: -8px; background: transparent; border: 0; cursor: pointer; }
.h-burger span { display: block; height: 2px; width: 100%; background: var(--h-ink); border-radius: 2px; }
.h-burger span:last-child { width: 70%; margin-left: 30%; }

/* ---------- selector de idioma (interruptor) ---------- */
.lang-toggle { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; align-items: center; padding: 3px;
  border: 1px solid rgba(255,255,255,.3); border-radius: 999px; font: 700 11px/1 "Raleway", sans-serif; letter-spacing: .12em;
  text-decoration: none; cursor: pointer; user-select: none; transition: border-color .25s; }
.lang-toggle:hover { border-color: #fff; }
.lang-toggle .lt-opt { position: relative; z-index: 1; padding: 6px 10px 6px 11px; text-align: center; color: rgba(255,255,255,.6); transition: color .35s; }
.lang-toggle .lt-knob { position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px); border-radius: 999px; background: #fff;
  transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.lang-toggle[data-lang="es"] .lt-knob { transform: translateX(100%); }
.lang-toggle[data-lang="en"] .lt-opt:nth-of-type(2), .lang-toggle[data-lang="es"] .lt-opt:nth-of-type(3) { color: #050505; }
.lang-toggle:hover .lt-opt { color: #fff; }
.lang-toggle[data-lang="en"]:hover .lt-opt:nth-of-type(2), .lang-toggle[data-lang="es"]:hover .lt-opt:nth-of-type(3) { color: #050505; }
.h-nav-links .lang-toggle { margin-left: clamp(4px, 1vw, 12px); }

/* ---------- menú mobile ---------- */
.h-menu { position: fixed; inset: 0; z-index: 1000; background: var(--h-bg); display: flex; flex-direction: column; padding: 16px 20px 40px 33px; }
.h-menu[hidden] { display: none; }
.h-menu-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.h-logo { display: block; line-height: 0; color: var(--h-ink); }
.h-logo img { display: block; height: 26px; width: auto; }
.h-logo span { font: 700 22px/26px "Inlove", sans-serif; color: var(--h-ink); transition: color .25s; }
.h-logo:hover span { color: var(--h-accent); }
.h-close { position: relative; width: 44px; height: 44px; margin-right: -8px; background: transparent; border: 0; cursor: pointer; }
.h-close span { position: absolute; left: 10px; right: 10px; top: 21px; height: 2px; background: var(--h-ink); border-radius: 2px; transform: rotate(45deg); }
.h-close span:last-child { transform: rotate(-45deg); }
.h-menu-links { display: flex; flex-direction: column; gap: clamp(32px, 8vw, 56px); padding-top: 32px; }
.h-menu-links a { display: flex; flex-direction: column; gap: 2px; color: var(--h-ink); }
.h-menu-links a:hover { color: var(--h-accent); }
.h-menu-links .mk { font: 700 18px "Inlove", sans-serif; color: var(--h-accent); }
.h-menu-links .big { font-weight: 500; font-size: clamp(28px, 8.5vw, 38px); line-height: 1.05; letter-spacing: .06em; text-transform: uppercase; }
.h-menu-foot { margin-top: auto; display: flex; flex-direction: column; gap: 20px; padding-top: 40px; }
.h-menu-info { display: flex; flex-direction: column; gap: 4px; font-size: 15px; color: var(--h-ink); }
.h-menu-info strong { font-weight: 700; letter-spacing: .04em; }
.h-menu-info span, .h-menu-info a { font-weight: 400; color: var(--h-ink); }
.h-menu-info a:hover { color: var(--h-accent); }
.h-menu-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 13px; }

/* ---------- botones ---------- */
.h-btn { padding: 16px 28px; border: 1px solid rgba(255,255,255,.35); color: var(--h-ink); border-radius: 999px; font-weight: 700; font-size: 14px;
  letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; text-align: center;
  transition: border-color .3s, background .3s, color .3s, transform .3s var(--h-ease); }
.h-btn:hover { border-color: var(--h-ink); background: var(--h-ink); color: var(--h-bg); transform: translateY(-3px); }
.h-btn--fill { background: var(--h-accent); border-color: var(--h-accent); }
.h-btn--fill:hover { background: var(--h-deep); border-color: var(--h-deep); color: var(--h-ink); }

/* ---------- pie (contacto) ---------- */
.h-contact--slim { padding-top: clamp(40px, 5vw, 72px); }
.h-contact { padding: clamp(72px, 10vw, 160px) var(--h-left) clamp(32px, 3vw, 56px);
  display: flex; flex-direction: column; gap: clamp(40px, 5vw, 72px); }
.h-contact-top { display: flex; flex-direction: column; gap: 12px; }
.h-contact h2 { margin: 0; font: 700 calc(clamp(28px, 5.4vw, 84px) - 2pt)/.95 "Inlove", sans-serif; letter-spacing: -.02em; white-space: nowrap; }
.h-mail { align-self: flex-start; font-weight: 600; font-size: clamp(20px, 2.6vw, 36px); color: var(--h-ink); overflow-wrap: anywhere; max-width: 100%; transition: color .25s; }
.h-mail:hover { color: var(--h-accent); }
.h-contact-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.3); }
.h-socials { display: flex; gap: 28px; flex-wrap: wrap; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.h-socials a { color: var(--h-ink); } .h-socials a:hover { color: var(--h-accent); }
.h-menu-row .h-socials { gap: 24px; }
.h-loc { font-size: 13px; font-weight: 500; letter-spacing: .08em; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* Cursor: flecha sobre el texto; mano en links y botones; barra solo en campos de formulario */
body, body * { cursor: default; }
a, a *, button, button *, label, [role="button"], .lang-toggle, .lang-toggle * { cursor: pointer; }
input, textarea, select { cursor: text; }

.h-logo-svg { display: block; height: 22px; width: auto; color: var(--h-ink); transition: color .25s; }
.h-logo:hover .h-logo-svg { color: var(--h-accent); }
@media (max-width: 520px) { .h-logo-svg { height: 18px; } }
