/* ── Mauricio Tepichin · sitio oficial ─────────────────────────
   Identidad de marca: café oscuro + crema + azul (logo infinito). */

:root {
  --ink: #f5ebd3;          /* crema: texto principal */
  --ink-soft: #c9bfa6;     /* crema apagada */
  --paper: #2b2721;        /* café oscuro: fondo */
  --paper-alt: #232019;    /* café más profundo: secciones alternas */
  --line: rgba(245, 235, 211, 0.18);
  --blue: #0071bc;         /* azul de marca */
  --blue-soft: #5aa9dd;    /* azul legible sobre oscuro */
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  font-size: 16px;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.15; }
a { color: var(--blue-soft); }
img { max-width: 100%; display: block; }

/* ── Nav ── */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.9rem 5vw;
  background: rgba(35, 32, 25, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-name {
  font-family: var(--serif); font-size: 1.15rem; letter-spacing: 0.04em;
  text-decoration: none; color: var(--ink);
}
.nav-links { display: flex; gap: 1.6rem; align-items: center; }
.nav-links a {
  text-decoration: none; font-size: 0.8rem; text-transform: uppercase;
  letter-spacing: 0.14em; color: var(--ink-soft);
}
.nav-links a:hover { color: var(--ink); }
#lang-toggle {
  font-family: var(--sans); font-size: 0.75rem; letter-spacing: 0.12em;
  background: none; border: 1px solid var(--ink); border-radius: 2rem;
  padding: 0.25rem 0.8rem; cursor: pointer; color: var(--ink);
}
#lang-toggle:hover { background: var(--ink); color: var(--paper); }

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center; padding: 6rem 6vw 3rem;
  position: relative;
  background:
    linear-gradient(rgba(35, 32, 25, 0.82), rgba(35, 32, 25, 0.94)),
    url("../img/gal/RAM05082.jpg") center 30% / cover no-repeat;
}
.hero-logo { width: clamp(130px, 18vw, 210px); margin: 0 auto 2rem; }
.hero-kicker {
  text-transform: uppercase; letter-spacing: 0.35em; font-size: 0.78rem;
  color: var(--blue-soft); margin-bottom: 1.4rem;
}
.hero h1 { font-size: clamp(3rem, 9vw, 6.5rem); font-weight: 300; letter-spacing: 0.01em; }
.hero-sub {
  max-width: 34rem; margin: 1.8rem auto 0; color: var(--ink-soft);
  font-family: var(--serif); font-style: italic; font-size: 1.2rem;
}
.hero-actions { margin-top: 2.6rem; display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.btn {
  text-decoration: none; font-size: 0.8rem; text-transform: uppercase;
  letter-spacing: 0.16em; padding: 0.9rem 2rem; border-radius: 2rem;
  transition: all 0.25s;
}
.btn-solid { background: var(--ink); color: var(--paper); border: 1px solid var(--ink); }
.btn-solid:hover { background: transparent; color: var(--ink); }
.btn-ghost { border: 1px solid var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.hero-scroll { position: absolute; bottom: 2rem; font-size: 1.2rem; opacity: 0.4; animation: drift 2.4s ease-in-out infinite; }
@keyframes drift { 50% { transform: translateY(8px); } }

/* ── Secciones ── */
.section { padding: 6rem 6vw; max-width: 1100px; margin: 0 auto; }
.section-alt { background: var(--paper-alt); max-width: none; }
.section-alt > * { max-width: 1100px; margin-left: auto; margin-right: auto; }
.section-head { margin-bottom: 3rem; }
.section-head h2 { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 1rem; }
.section-sub { max-width: 44rem; color: var(--ink-soft); }

/* ── Player ── */
.player { border: 1px solid var(--line); padding: 2rem; background: var(--paper-alt); }
.player-now { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.player-title { font-family: var(--serif); font-size: 1.6rem; }
.player-time { font-variant-numeric: tabular-nums; color: var(--ink-soft); font-size: 0.85rem; }
.player-bar { height: 3px; background: var(--line); margin: 1.2rem 0; cursor: pointer; }
.player-progress { height: 100%; width: 0; background: var(--blue-soft); }
.player-controls { display: flex; gap: 1rem; justify-content: center; margin-bottom: 1.6rem; }
.player-controls button {
  background: none; border: 1px solid var(--ink); border-radius: 50%;
  width: 3rem; height: 3rem; font-size: 1rem; cursor: pointer; color: var(--ink);
  transition: all 0.2s;
}
.player-controls button:hover { background: var(--ink); color: var(--paper); }
#btn-play { width: 3.6rem; height: 3.6rem; font-size: 1.2rem; }

.tracklist { list-style: none; border-top: 1px solid var(--line); }
.tracklist li {
  display: flex; align-items: center; gap: 1rem;
  padding: 0.85rem 0.4rem; border-bottom: 1px solid var(--line);
  cursor: pointer; transition: background 0.15s;
}
.tracklist li:hover { background: rgba(245, 235, 211, 0.06); }
.tracklist li.active { background: var(--ink); color: var(--paper); }
.tracklist li.active a { color: var(--paper); }
.track-no { font-family: var(--serif); font-style: italic; width: 1.6rem; opacity: 0.6; }
.track-name { flex: 1; font-family: var(--serif); font-size: 1.15rem; }
.track-dur { font-variant-numeric: tabular-nums; font-size: 0.8rem; opacity: 0.65; }
.track-dl {
  text-decoration: none; font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase;
  border: 1px solid currentColor; border-radius: 2rem; padding: 0.2rem 0.7rem;
  opacity: 0.8; color: var(--ink);
}
.track-dl:hover { opacity: 1; }
.license { margin-top: 1.6rem; font-size: 0.8rem; color: var(--ink-soft); max-width: 40rem; }

/* ── Manifiesto: Manual para desvariar ── */
.manifiesto {
  margin-top: 3.5rem; padding: 2.5rem clamp(1.5rem, 5vw, 3.5rem);
  border-left: 2px solid var(--blue);
  background: var(--paper-alt);
}
.manifiesto h3 {
  font-size: 1.7rem; margin-bottom: 1.4rem; color: var(--blue-soft);
  font-style: italic;
}
.manifiesto p {
  font-family: var(--serif); font-size: 1.15rem; line-height: 1.85;
  margin-bottom: 1.1rem; max-width: 42rem; color: var(--ink);
}
.manifiesto p:last-child { margin-bottom: 0; }

/* ── Videos ── */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.video-card .frame { aspect-ratio: 16/9; background: #000; }
.video-card iframe { width: 100%; height: 100%; border: 0; }
.video-card h4 { font-family: var(--serif); font-weight: 400; font-size: 1.1rem; margin-top: 0.6rem; }
.video-card .meta { font-size: 0.78rem; color: var(--ink-soft); letter-spacing: 0.06em; }
.empty-note { color: var(--ink-soft); font-style: italic; font-family: var(--serif); font-size: 1.05rem; }

/* ── Fechas ── */
.dates-block { margin-bottom: 2.5rem; }
.dates-block h3 { font-size: 1.4rem; margin-bottom: 1rem; color: var(--blue-soft); }
.dates-list { list-style: none; }
.dates-list li {
  display: flex; gap: 1.5rem; align-items: baseline; flex-wrap: wrap;
  padding: 0.8rem 0; border-bottom: 1px solid var(--line);
}
.date-when { font-variant-numeric: tabular-nums; font-size: 0.85rem; letter-spacing: 0.06em; min-width: 7.5rem; }
.date-what { font-family: var(--serif); font-size: 1.15rem; flex: 1; }
.date-where { color: var(--ink-soft); font-size: 0.85rem; }
.dates-list.past { opacity: 0.7; }

/* ── Bio ── */
.bio-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: start; }
.bio-text p { margin-bottom: 1.2rem; max-width: 36rem; }
.photo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.photo-grid img { filter: grayscale(1); aspect-ratio: 4/5; object-fit: cover; }
.photo-grid img:hover { filter: none; }

/* ── EPK ── */
.epk-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.epk-card { border: 1px solid var(--line); padding: 1.8rem; background: var(--paper); }
.epk-card h3 { font-size: 1.3rem; margin-bottom: 0.6rem; }
.epk-card p { font-size: 0.9rem; color: var(--ink-soft); margin-bottom: 0.8rem; }
.epk-card a { font-size: 0.85rem; }
.epk-card .mail { word-break: break-all; }
.btn-epk {
  display: inline-block; text-decoration: none; font-size: 0.75rem;
  text-transform: uppercase; letter-spacing: 0.14em;
  background: var(--blue); color: #fff; border-radius: 2rem; padding: 0.55rem 1.3rem;
}
.btn-epk:hover { background: var(--blue-soft); color: var(--paper); }

/* ── Footer ── */
footer { border-top: 1px solid var(--line); padding: 3rem 6vw; text-align: center; }
.foot-logo { width: 90px; margin: 0 auto 1.6rem; opacity: 0.9; }
.foot-social { display: flex; gap: 2rem; justify-content: center; margin-bottom: 1.2rem; }
.foot-social a { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.14em; text-decoration: none; color: var(--ink-soft); }
.foot-social a:hover { color: var(--ink); }
.foot-cc { font-size: 0.75rem; color: var(--ink-soft); }

/* ── Móvil ── */
@media (max-width: 720px) {
  .nav-links a:not(:last-of-type) { display: none; }
  .bio-grid { grid-template-columns: 1fr; }
  .section { padding: 4rem 6vw; }
}
