/* Isla que Suena — landing provisional */

@font-face {
  font-family: "Michroma";
  src: url("fonts/michroma-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("fonts/manrope-var.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --navy: #104577;          /* Monaco Blue (manual de identidad) */
  --navy-deep: #0a2c4d;
  --navy-ink: #0b2440;
  --teal: #18a68d;          /* Emerald (manual de identidad) */
  --teal-text: #0d7a67;     /* verde con contraste AA sobre blanco */
  --teal-on-dark: #5fe0c6;  /* verde con contraste AA sobre fondo oscuro */
  --paper: #f5f8f9;
  --white: #ffffff;
  --muted: #4b6075;
  --line: #dbe4ea;
  --text-body: #23384e;      /* texto de párrafo en páginas legales */
  /* Canales RGB para transparencias: rgb(var(--x-rgb) / alfa) */
  --white-rgb: 255 255 255;
  --scrim-rgb: 7 22 46;      /* velo azul noche sobre el fondo */
  /* Michroma sustituye a Bank Gothic Light (sin licencia web) */
  --font-display: "Michroma", "Bank Gothic", "Eurostile", Arial, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 5vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--navy-ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--teal-on-dark);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--white); color: var(--navy); padding: .5rem 1rem; z-index: 10;
}
.skip:focus { left: 1rem; top: 1rem; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Selector de idioma (landing y páginas legales) */
.lang {
  display: flex; align-items: center; gap: .15rem;
  font-family: var(--font-display);
  font-size: .75rem;
  letter-spacing: .14em;
}
.lang a, .lang span {
  padding: .5rem .8rem;
  border-radius: 999px;
  text-decoration: none;
  min-height: 44px; display: inline-flex; align-items: center;
}
.lang span[aria-current] { background: rgb(var(--white-rgb) / .16); color: var(--white); }
.lang a { color: rgb(var(--white-rgb) / .78); }
.lang a:hover { color: var(--white); }
.lang .sep { color: rgb(var(--white-rgb) / .4); padding: 0; min-height: 0; }

/* =========================================================
   LANDING — una pantalla sobre el fondo de la identidad WOMEX
   ========================================================= */

.home { background: var(--navy-deep); color: var(--white); }

/* Fondo vectorial: horizontal en escritorio, vertical en pantallas en vertical */
/* En móvil la barra del navegador cambia la altura visible al hacer scroll:
   el fondo se ajusta a la altura máxima (lvh) para que no salte. */
.bg {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 100vh;
  height: 100lvh;
  z-index: 0;
  transform: translateZ(0);
}
.bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
/* Degradado lateral: el texto se lee a la izquierda y las ondas lucen a la derecha */
.bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgb(var(--scrim-rgb) / .92) 0%, rgb(var(--scrim-rgb) / .86) 22%, rgb(var(--scrim-rgb) / .74) 36%, rgb(var(--scrim-rgb) / .56) 46%, rgb(var(--scrim-rgb) / .36) 55%, rgb(var(--scrim-rgb) / .18) 64%, rgb(var(--scrim-rgb) / .06) 72%, rgb(var(--scrim-rgb) / 0) 80%),
    linear-gradient(180deg, rgb(var(--scrim-rgb) / .35) 0%, rgb(var(--scrim-rgb) / 0) 18%, rgb(var(--scrim-rgb) / 0) 80%, rgb(var(--scrim-rgb) / .55) 100%);
}
@media (max-width: 860px), (orientation: portrait) {
  .bg::after {
    background:
      linear-gradient(180deg, rgb(var(--scrim-rgb) / .35) 0%, rgb(var(--scrim-rgb) / .62) 25%, rgb(var(--scrim-rgb) / .72) 55%, rgb(var(--scrim-rgb) / .78) 100%);
  }
}

.page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: clamp(1.25rem, 3vw, 2.25rem);
}
.top .brand { display: inline-flex; }
.top .brand img { width: clamp(160px, 16vw, 220px); }

.stage {
  flex: 1;
  display: flex;
  align-items: center;
  padding-top: clamp(2.5rem, 6vh, 4.5rem);
  padding-bottom: clamp(2.5rem, 6vh, 4.5rem);
}

.hero-copy { max-width: 640px; }

/* Rótulo superior (ecualizador + Booking & Artist Management) */
.kicker {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-display);
  font-size: clamp(.75rem, .7rem + .25vw, .875rem);
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--teal-on-dark);
  margin: 0 0 1rem;
}
.kicker .eq { height: 16px; flex: none; }

.tagline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem .9rem;
  font-family: var(--font-display);
  font-size: clamp(.6875rem, .65rem + .15vw, .75rem);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgb(var(--white-rgb) / .8);
}
.tagline li + li::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  margin-right: .9rem;
  border-radius: 50%;
  background: var(--teal);
  vertical-align: middle;
  transform: translateY(-1px);
}

/* Jerarquía: identidad · mensaje · acción */
.id-block { margin-bottom: clamp(2.25rem, 6vh, 3.5rem); }
.id-block .kicker { margin-bottom: .55rem; }

.hero-copy h1 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(1.75rem, 1.1rem + 2.4vw, 3rem);
  line-height: 1.18;
  letter-spacing: .01em;
  margin: 0 0 clamp(1.75rem, 4.5vh, 2.5rem);
  text-wrap: balance;
}
.hero-copy h1 .accent { color: var(--teal-on-dark); }

/* Entradilla: la frase que resume la empresa */
.lead {
  font-size: clamp(1.25rem, 1.05rem + .7vw, 1.5rem);
  font-weight: 600;
  line-height: 1.4;
  color: var(--white);
  max-width: 30rem;
  margin: 0 0 1rem;
  text-wrap: balance;
}
/* Texto de apoyo */
.intro {
  font-size: clamp(1rem, .95rem + .2vw, 1.0625rem);
  line-height: 1.7;
  color: rgb(var(--white-rgb) / .72);
  max-width: 32rem;
  margin: 0;
  text-wrap: pretty;
}

/* Frase de cierre */
.closing {
  font-weight: 700;
  font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem);
  color: var(--teal-on-dark);
  margin: 1.75rem 0 0;
}
/* Ecualizador animado (distintivo del rótulo): «Isla que Suena» */
.eq {
  display: inline-flex;
  align-items: flex-end;
  gap: 3px;
  height: 18px;
}
.eq i {
  width: 3px;
  height: 100%;
  border-radius: 2px;
  background: var(--teal-on-dark);
  transform-origin: bottom;
  animation: eq 1.1s ease-in-out infinite;
}
.eq i:nth-child(1) { animation-delay: -.2s; }
.eq i:nth-child(2) { animation-delay: -.55s; }
.eq i:nth-child(3) { animation-delay: -.35s; }
.eq i:nth-child(4) { animation-delay: -.8s; }
.eq i:nth-child(5) { animation-delay: -.1s; }
@keyframes eq {
  0%, 100% { transform: scaleY(.3); }
  50% { transform: scaleY(1); }
}
@media (prefers-reduced-motion: reduce) {
  /* Sin animación: barras congeladas a distintas alturas, que se siga leyendo como ecualizador */
  .eq i { animation: none; }
  .eq i:nth-child(1) { transform: scaleY(.45); }
  .eq i:nth-child(2) { transform: scaleY(1); }
  .eq i:nth-child(3) { transform: scaleY(.6); }
  .eq i:nth-child(4) { transform: scaleY(.85); }
  .eq i:nth-child(5) { transform: scaleY(.35); }
}

/* Contacto y redes como llamadas a la acción */
.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 1.5rem;
  margin-top: clamp(2.25rem, 6vh, 3.25rem);
  padding-top: clamp(2rem, 5vh, 2.75rem);
  border-top: 1px solid rgb(var(--white-rgb) / .14);
  max-width: 34rem;
}
.cta-item h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: .6875rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: rgb(var(--white-rgb) / .62);
  margin: 0 0 .65rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  min-height: 54px;
  padding: .85rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
/* Hover «altavoz»: un latido del botón y ondas que reverberan desde el contorno */
.btn { position: relative; isolation: isolate; }
.btn::before,
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1.5px solid var(--teal-on-dark);
  opacity: 0;
  pointer-events: none;
  z-index: -1;
}
.btn:hover,
.btn:focus-visible { animation: thump 1.6s cubic-bezier(.3, 0, .2, 1) infinite; }
.btn:hover::before,
.btn:focus-visible::before { animation: reverb 1.6s cubic-bezier(.15, .6, .35, 1) infinite; }
.btn:hover::after,
.btn:focus-visible::after { animation: reverb 1.6s cubic-bezier(.15, .6, .35, 1) .28s infinite; }
@keyframes thump {
  0%, 100% { transform: scale(1); }
  7% { transform: scale(1.04); }
  18% { transform: scale(.99); }
  30% { transform: scale(1); }
}
@keyframes reverb {
  0% { inset: 0; opacity: .85; }
  70%, 100% { inset: -22px; opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .btn:hover, .btn:focus-visible,
  .btn:hover::before, .btn:focus-visible::before,
  .btn:hover::after, .btn:focus-visible::after { animation: none; }
  .btn:hover::before, .btn:focus-visible::before { inset: -6px; opacity: .8; }
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-solid { background: var(--white); color: var(--navy); }
.btn-solid:hover { background: var(--teal-on-dark); color: var(--navy-ink); }
.btn-ghost { border: 1.5px solid rgb(var(--white-rgb) / .55); color: var(--white); }
.btn-ghost:hover { border-color: var(--teal-on-dark); color: var(--teal-on-dark); }

/* Pantallas de poca altura (portátiles): que todo quepa sin scroll */
@media (min-width: 861px) and (max-height: 960px) {
  .stage { padding-top: 1.5rem; padding-bottom: 1.5rem; }
  .id-block { margin-bottom: 1.75rem; }
  .hero-copy h1 { font-size: clamp(1.75rem, 1rem + 2vw, 2.625rem); margin-bottom: 1.4rem; }
  .lead { margin-bottom: .75rem; }
  .closing { margin-top: 1.25rem; }
  .cta { margin-top: 1.75rem; padding-top: 1.5rem; }
}

/* Portátiles bajos (≈768 px): misma jerarquía, espacios más compactos */
@media (min-width: 861px) and (max-height: 800px) {
  .top { padding-top: 1rem; }
  .top .brand img { width: 170px; }
  .stage { padding-top: .75rem; padding-bottom: .75rem; }
  .id-block { margin-bottom: 1.25rem; }
  .hero-copy h1 { font-size: 2.125rem; margin-bottom: 1.1rem; }
  .lead { font-size: 1.25rem; margin-bottom: .6rem; }
  .closing { margin-top: 1rem; }
  .cta { margin-top: 1.25rem; padding-top: 1.25rem; }
  .btn { min-height: 48px; padding: .7rem 1.35rem; }
}

/* Móvil */
@media (max-width: 480px) {
  .kicker { font-size: .6875rem; letter-spacing: .16em; gap: .75rem; }
  .tagline { font-size: .625rem; letter-spacing: .12em; gap: .35rem .6rem; }
  .tagline li + li::before { margin-right: .6rem; width: 5px; height: 5px; }
  .cta { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
}

/* Pie mínimo sobre el fondo */
.legal-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem 1.5rem;
  padding-top: 1.1rem;
  padding-bottom: 1.25rem;
  /* línea fina alineada con el contenido */
  background: linear-gradient(rgb(var(--white-rgb) / .14), rgb(var(--white-rgb) / .14))
    var(--gutter) 0 / calc(100% - 2 * var(--gutter)) 1px no-repeat;
  font-size: .8125rem;
  color: rgb(var(--white-rgb) / .78);
}
.legal-bar p { margin: 0; }
.legal-bar nav { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.legal-bar a { color: rgb(var(--white-rgb) / .9); text-decoration: none; padding: .35rem 0; }
.legal-bar a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.legal-bar .credit span { font-weight: 700; }
@media (max-width: 720px) {
  .legal-bar { justify-content: center; text-align: center; }
  .legal-bar nav { justify-content: center; }
}

/* =========================================================
   PÁGINAS LEGALES
   ========================================================= */

.legal-header { background: var(--navy); color: var(--white); }
.legal-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding-top: 1rem; padding-bottom: 1rem;
}
.legal-header .brand { display: inline-flex; padding: .25rem 0; }
.legal-header .brand img { width: 170px; }
.legal-header .back {
  color: rgb(var(--white-rgb) / .85); text-decoration: none; font-size: .9375rem;
  font-family: var(--font-body); letter-spacing: 0; margin-right: .5rem;
}
.legal-header .back:hover { color: var(--white); text-decoration: underline; }
@media (max-width: 560px) {
  .legal-header .brand img { width: 130px; }
  .legal-header .back { display: none; }
}

.legal { padding: clamp(3rem, 6vw, 5rem) 0; }
.legal .wrap { max-width: 800px; }
.legal h1 {
  font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem);
  letter-spacing: -.015em; line-height: 1.15; margin: 0 0 .5rem;
}
.legal .updated { color: var(--muted); margin: 0 0 2.5rem; font-size: .9375rem; }
.legal .toc {
  display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 3rem; padding: 0; list-style: none;
}
.legal .toc a {
  display: inline-flex; align-items: center; min-height: 40px;
  padding: .4rem 1rem; border: 1px solid var(--line); border-radius: 999px;
  background: var(--white); text-decoration: none; font-size: .9375rem; font-weight: 600;
}
.legal .toc a:hover { border-color: var(--teal); }
.legal h2 {
  font-size: 1.5rem; margin: 3.5rem 0 1rem; padding-top: 1rem;
  border-top: 1px solid var(--line); scroll-margin-top: 1.5rem;
}
.legal h3 { font-size: 1.0625rem; margin: 2rem 0 .5rem; }
.legal p, .legal li { color: var(--text-body); }
.legal ul { padding-left: 1.25rem; }
.legal a { color: var(--teal-text); }
.legal dl {
  display: grid; grid-template-columns: 1fr; gap: .25rem 1.5rem;
  margin: 1rem 0 1.5rem; padding: 1.25rem 1.5rem;
  background: var(--white); border: 1px solid var(--line); border-radius: 12px;
}
@media (min-width: 600px) { .legal dl { grid-template-columns: 11rem 1fr; } }
.legal dt { font-weight: 700; }
.legal dd { margin: 0 0 .75rem; }
@media (min-width: 600px) { .legal dd { margin: 0; } }

/* Pie de las páginas legales */
.site-footer {
  background: var(--navy-ink);
  color: rgb(var(--white-rgb) / .7);
  font-size: .9375rem;
}
.site-footer a { color: rgb(var(--white-rgb) / .85); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }

.footer-main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-top: clamp(3.5rem, 7vw, 5rem);
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
@media (min-width: 760px) {
  .footer-main { grid-template-columns: 1.6fr 1fr 1fr; gap: 3rem; }
}
.footer-brand img { width: 92px; margin-bottom: 1.5rem; }
.footer-brand p { margin: 0; max-width: 30ch; line-height: 1.6; }

.footer-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: .6875rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--teal-on-dark);
  margin: .5rem 0 1.25rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }
.footer-col a { display: inline-block; padding: .15rem 0; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 2rem;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  padding-bottom: 1.75rem;
  /* línea alineada con el contenido, sin invadir el margen lateral */
  background: linear-gradient(rgb(var(--white-rgb) / .12), rgb(var(--white-rgb) / .12))
    var(--gutter) 0 / calc(100% - 2 * var(--gutter)) 1px no-repeat;
  font-size: .8125rem;
  color: rgb(var(--white-rgb) / .55);
}
.footer-bottom p { margin: 0; }
.site-footer a.credit { color: rgb(var(--white-rgb) / .55); }
.site-footer a.credit span { color: rgb(var(--white-rgb) / .85); font-weight: 600; }
.site-footer a.credit:hover span { color: var(--white); }

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