/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold:    #c9a84c;
  --gold-lt: #e8c97a;
  --dark:    #0d0d0d;
  --dark2:   #141414;
  --dark3:   #1c1c1c;
  --light:   #1a1a1a;
  --text:    #e0e0e0;
  --text-dim:#a0a0a0;
  --radius:  8px;
  --trans:   0.3s ease;
  --font-en: 'Lato', sans-serif;
  --font-ja: 'Noto Sans JP', sans-serif;
  --font-title: 'Cinzel Decorative', serif;
  --font-cinzel: 'Cinzel', serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--dark);
  color: var(--text);
  font-family: var(--font-en);
  line-height: 1.7;
  font-size: 16px;
}

body.lang-ja { font-family: var(--font-ja); }

.gold { color: var(--gold); }

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

a { color: var(--gold); text-decoration: none; transition: color var(--trans); }
a:hover { color: var(--gold-lt); }

/* ===== LAYOUT ===== */
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

section { padding: 90px 0; }
.dark-section { background: var(--dark2); }

.section-title {
  font-family: var(--font-title);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--gold);
  text-align: center;
  letter-spacing: 0.12em;
  margin-bottom: 60px;
  position: relative;
}
.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 14px auto 0;
  opacity: 0.6;
}

/* ===== NAV ===== */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201,168,76,0.2);
  transition: background var(--trans);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-logo {
  display: flex;
  align-items: center;
  margin-right: auto;
  flex-shrink: 0;
}
.nav-logo img { height: 36px; width: auto; max-width: none; object-fit: contain; display: block; }
.nav-logo:hover img { opacity: .85; }

.nav-links {
  display: flex;
  gap: 6px;
  list-style: none;
  flex-wrap: wrap;
}
.nav-links a {
  color: var(--text-dim);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: var(--radius);
  transition: color var(--trans), background var(--trans);
}
.nav-links a:hover { color: var(--gold); background: rgba(201,168,76,0.08); }

.lang-switcher { display: flex; align-items: center; gap: 4px; white-space: nowrap; }
.lang-btn {
  background: none;
  border: 1px solid rgba(201,168,76,0.4);
  color: var(--text-dim);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--trans);
  font-family: inherit;
}
.lang-btn:hover, .lang-btn.active {
  background: var(--gold);
  color: #000;
  border-color: var(--gold);
}
.lang-sep { color: var(--text-dim); font-size: 0.8rem; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--gold);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 4px 8px;
}

/* ===== HERO SLIDER ===== */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 0;
}

/* Slides container */
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Portrait slider: hidden by default, shown on portrait orientation when images available */
.hero-slides-portrait,
.hero-dots.hero-dots-portrait { display: none; }

@media (orientation: portrait) {
  #hero.has-portrait .hero-slides-landscape { display: none; }
  #hero.has-portrait .hero-slides-portrait  { display: block; }
  #hero.has-portrait #heroDots              { display: none; }
  #hero.has-portrait .hero-dots-portrait    { display: flex; }
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  will-change: opacity;
}
.hero-slide.active { opacity: 1; }

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.55) 0%,
    rgba(0,0,0,0.45) 50%,
    rgba(0,0,0,0.80) 100%
  );
}

/* Dots */
.hero-dots {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}
.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.6);
  background: transparent;
  cursor: pointer;
  transition: background var(--trans), border-color var(--trans), transform var(--trans);
  padding: 0;
}
.hero-dot.active,
.hero-dot:hover {
  background: var(--gold);
  border-color: var(--gold);
  transform: scale(1.25);
}

.hero-content {
  position: relative;
  z-index: 3;
  padding: 40px 20px;
  max-width: 800px;
}

.hero-sub {
  font-size: clamp(0.8rem, 2vw, 1rem);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-title);
  font-size: clamp(2.4rem, 8vw, 5.5rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.8);
}

.hero-artist {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: var(--text-dim);
  margin-bottom: 40px;
  letter-spacing: 0.1em;
}

.btn-hero {
  display: inline-block;
  padding: 14px 44px;
  border: 2px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-cinzel);
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all var(--trans);
  background: transparent;
}
.btn-hero:hover {
  background: var(--gold);
  color: #000;
}

.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--gold);
  font-size: 1.4rem;
  animation: bounce 2s infinite;
  z-index: 3;
  cursor: pointer;
}
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(8px); }
}

/* ===== ABOUT ===== */
.about-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 60px;
  align-items: stretch;   /* columnas con la misma altura */
}

.about-photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  min-height: 420px;      /* altura mínima para pantallas grandes */
}
.about-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid rgba(201,168,76,0.3);
  border-radius: var(--radius);
  z-index: 1;
  pointer-events: none;
}
/* La imagen rellena todo el contenedor y se adapta a su alto */
.about-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius);
}

.about-text h3 {
  font-family: var(--font-title);
  font-size: clamp(1.2rem, 3vw, 1.7rem);
  color: #fff;
  margin-bottom: 6px;
}
.about-h1 { font-size: clamp(1rem, 2.5vw, 1rem); font-family: var(--font-title); font-weight: 400; letter-spacing: 0.08em; margin-bottom: 10px; }
.about-tagline { font-size: 0.9rem; letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 28px; }

.info-table { margin-bottom: 28px; }
.info-row {
  display: flex;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.info-label {
  min-width: 110px;
  color: var(--gold);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
}
.info-val { color: var(--text); }

.about-bio { color: var(--text-dim); line-height: 1.9; font-size: 0.97rem; }

/* ===== SKILLS ===== */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}
.skills-grid--single {
  grid-template-columns: 1fr;
  max-width: 380px;
  margin-left: auto;
  margin-right: auto;
}

.skill-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  transition: transform var(--trans), border-color var(--trans), background var(--trans);
}
.skill-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201,168,76,0.45);
  background: rgba(201,168,76,0.05);
}
.skill-icon { font-size: 2.2rem; margin-bottom: 14px; }
.skill-card h4 {
  font-family: var(--font-cinzel);
  color: var(--gold);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.skill-card p { color: var(--text-dim); font-size: 0.85rem; line-height: 1.7; }

.skill-card.has-video { cursor: pointer; position: relative; }
.skill-yt-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  opacity: 0.65;
  transition: opacity var(--trans);
  line-height: 1;
}
.skill-card.has-video:hover .skill-yt-badge { opacity: 1; }
.skill-yt-badge i { font-size: 1.2rem; color: #ff0000; }
.skill-yt-badge .si-img { width: 1.4rem; height: 1.4rem; padding: 0; background: transparent; border-radius: 0; }

/* ── Skill Video Modal ──────────────────────────────────────── */
.skill-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.skill-modal[hidden] { display: none; }
.skill-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.88);
  cursor: pointer;
}
.skill-modal-box {
  position: relative;
  z-index: 1;
  background: var(--dark3);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: var(--radius);
  padding: 28px 28px 22px;
  width: min(92vw, 840px);
  max-height: 90vh;
  overflow-y: auto;
}
.skill-modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 1.25rem;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
  transition: color var(--trans);
}
.skill-modal-close:hover { color: #fff; }
.skill-modal-title {
  font-family: var(--font-cinzel);
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 2rem 18px 0;
}
.skill-modal-video {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 6px;
  background: #000;
}
.skill-modal-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.skill-modal-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 18px;
}
.skill-modal-prev,
.skill-modal-next {
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.3);
  color: var(--gold);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background var(--trans), border-color var(--trans);
  display: flex;
  align-items: center;
  justify-content: center;
}
.skill-modal-prev:hover,
.skill-modal-next:hover { background: rgba(201,168,76,0.22); border-color: var(--gold); }
.skill-modal-counter { color: var(--text-dim); font-size: 0.82rem; min-width: 56px; text-align: center; }

/* Languages */
.languages { max-width: 600px; margin: 0 auto; }
.lang-title {
  font-family: var(--font-title);
  color: var(--gold);
  text-align: center;
  letter-spacing: 0.1em;
  font-size: 1.1rem;
  margin-bottom: 28px;
  text-transform: uppercase;
}
.lang-bars { display: flex; flex-direction: column; gap: 18px; }
.lang-item { display: flex; align-items: center; gap: 14px; }
.lang-name { width: 90px; font-size: 0.85rem; color: var(--text); text-align: right; }
.lang-bar { flex: 1; height: 6px; background: rgba(255,255,255,0.1); border-radius: 3px; overflow: hidden; }
.lang-fill { height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-lt)); border-radius: 3px; transition: width 1s ease; }
.lang-level { width: 70px; font-size: 0.78rem; color: var(--text-dim); }

/* ===== EXPERIENCE / TIMELINE ===== */
.sub-section-title {
  font-family: var(--font-cinzel);
  font-size: 1.2rem;
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 36px;
  margin-top: 60px;
  padding-left: 24px;
  border-left: 3px solid var(--gold);
}

.timeline { position: relative; padding-left: 28px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold), rgba(201,168,76,0.1));
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  margin-bottom: 40px;
}

.timeline-dot {
  position: absolute;
  left: -35px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--dark3);
  border: 2px solid var(--gold);
}
.gold-dot { background: var(--gold); }

.timeline-date {
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding-top: 4px;
  line-height: 1.3;
}

.timeline-content h4 {
  font-family: var(--font-cinzel);
  font-size: 0.95rem;
  color: #fff;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.timeline-content p { color: var(--text-dim); font-size: 0.875rem; line-height: 1.8; }

/* Awards */
.awards-box { margin-top: 60px; }
.awards-grid { display: flex; flex-direction: column; gap: 16px; }
.award-item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  background: rgba(201,168,76,0.05);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: var(--radius);
  padding: 18px 24px;
}
.award-year {
  font-family: var(--font-title);
  color: var(--gold);
  font-size: 1.1rem;
  font-weight: 700;
  white-space: nowrap;
}
.award-desc { color: var(--text); font-size: 0.9rem; }

/* ===== FESTIVALS ===== */
.festivals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.festivals-grid--single {
  grid-template-columns: 1fr;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.festival-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(201,168,76,0.12);
  border-radius: var(--radius);
  padding: 24px 20px;
  transition: transform var(--trans), border-color var(--trans);
}
.festival-card:hover { transform: translateY(-3px); border-color: rgba(201,168,76,0.35); }
.festival-year {
  display: inline-block;
  font-family: var(--font-title);
  font-size: 0.8rem;
  color: #000;
  background: var(--gold);
  padding: 2px 10px;
  border-radius: 3px;
  margin-bottom: 12px;
  letter-spacing: 0.06em;
}
.festival-card h4 {
  font-size: 0.9rem;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.4;
}
.festival-card p { color: var(--text-dim); font-size: 0.83rem; line-height: 1.7; }

.skill-filler {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 22px;
}
.skill-filler img {
  max-width: 100%;
  max-height: 140px;
  width: auto;
  object-fit: contain;
  opacity: 0.55;
  transition: opacity var(--trans);
}
.skill-filler:hover img { opacity: 0.8; }

.festival-filler {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 20px;
}
.festival-filler img {
  max-width: 100%;
  max-height: 140px;
  width: auto;
  object-fit: contain;
  opacity: 0.55;
  transition: opacity var(--trans);
}
.festival-filler:hover img { opacity: 0.8; }

/* ===== FESTIVALS ORBIT ===== */
#festivals { overflow: hidden; }
.fv-wrap {
  display: flex;
  align-items: center;
  min-height: 680px;
}
.fv-left {
  width: 38%;
  padding-right: 44px;
  flex-shrink: 0;
}
.fv-big-label {
  font-family: var(--font-cinzel);
  font-size: clamp(2.2rem, 4.5vw, 5rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 0.15rem;
  user-select: none;
}
.fv-big-sub {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  color: var(--gold);
  text-transform: uppercase;
  padding-bottom: 1.8rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 2rem;
}
.fv-content { min-height: 200px; }
.fv-active-year {
  display: inline-block;
  font-family: var(--font-title);
  font-size: 0.85rem;
  color: #000;
  background: var(--gold);
  padding: 3px 12px;
  border-radius: 3px;
  margin-bottom: 1rem;
  letter-spacing: 0.08em;
}
.fv-active-title {
  font-family: var(--font-cinzel);
  font-size: clamp(1.1rem, 2vw, 1.55rem);
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.9rem;
  line-height: 1.25;
  letter-spacing: 0.05em;
}
.fv-active-desc {
  font-size: 0.93rem;
  color: var(--text-dim);
  line-height: 1.85;
}

.fv-right {
  width: 62%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fv-orbit-frame {
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: #1a1a1a;
  position: relative;
  flex-shrink: 0;
}
.fv-orbit-item {
  width: 148px;
  height: 148px;
  position: absolute;
  left: 50%;
  top: 50%;
  margin-left: -74px;
  margin-top: -74px;
  cursor: pointer;
}
.fv-orbit-inner {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border-radius: 50%;
  background: #222;
  border: 1px solid rgba(201,168,76,0.22);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: all 0.38s cubic-bezier(0.4,0,0.2,1);
  box-shadow: 0 4px 18px rgba(0,0,0,0.4);
}
.fv-orbit-inner:hover { border-color: var(--gold); box-shadow: 0 6px 24px rgba(201,168,76,0.2); }
.fv-orbit-year {
  font-family: var(--font-cinzel);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  pointer-events: none;
}
.fv-orbit-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-align: center;
  padding: 0 8px;
  color: var(--text-dim);
  pointer-events: none;
  line-height: 1.3;
}
.fv-orbit-item.active { pointer-events: none; z-index: 5; }
.fv-orbit-item.active .fv-orbit-inner {
  width: calc(100% + 100px);
  height: calc(100% + 100px);
  top: -50px; left: -50px;
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 12px 44px rgba(201,168,76,0.35);
}
.fv-orbit-item.active .fv-orbit-year { font-size: 1.65rem; color: #000; }
.fv-orbit-item.active .fv-orbit-label { color: #000; font-weight: 900; font-size: 0.82rem; }

.fv-center-img {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 230px; height: 230px;
  border-radius: 50%;
  background: #1a1a1a;
  z-index: 2;
  pointer-events: none;
}
.fv-center-img img,
.fv-center-img picture { width: 100%; height: 100%; display: block; object-fit: contain; }

.fv-mobile-cards { display: none; }

@media (max-width: 920px) {
  .fv-wrap { flex-direction: column; min-height: auto; }
  .fv-left { width: 100%; padding-right: 0; margin-bottom: 3rem; }
  .fv-right { width: 100%; }
  .fv-orbit-frame { width: 340px; height: 340px; }
  .fv-orbit-item { width: 95px; height: 95px; margin-left: -47.5px; margin-top: -47.5px; }
  .fv-orbit-item.active .fv-orbit-inner { width: calc(100%+60px); height: calc(100%+60px); top: -30px; left: -30px; }
  .fv-center-img { width: 148px; height: 148px; }
  .fv-orbit-year { font-size: 0.85rem; }
  .fv-orbit-label { font-size: 0.5rem; }
  .fv-orbit-item.active .fv-orbit-year { font-size: 1.1rem; }
  .fv-orbit-item.active .fv-orbit-label { font-size: 0.64rem; }
}

@media (max-width: 768px) {
  .fv-wrap { display: none; }
  .fv-mobile-cards { display: block; }
}

/* ===== ABOUT VIDEO ===== */
.about-video { margin-top: 56px; }
.about-video .video-wrapper { max-width: 860px; margin: 0 auto; }

/* ===== ABOUT CTA ===== */
.about-cta { text-align: center; margin-top: 28px; }
.btn-more-videos {
  display: inline-block;
  padding: 12px 32px;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius);
  transition: background 0.25s, color 0.25s;
}
.btn-more-videos:hover { background: var(--gold); color: #111; }

/* ===== VIDEO ===== */
#video { text-align: center; }
.video-desc { color: var(--text-dim); margin-bottom: 40px; font-size: 0.95rem; }
.videos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}
.videos-grid--single {
  grid-template-columns: 1fr;
  max-width: 640px;
}
@media (max-width: 700px) {
  .videos-grid { grid-template-columns: 1fr; }
}
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0,0,0,0.7);
  border: 1px solid rgba(201,168,76,0.2);
}
.video-wrapper iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ===== GALLERY ===== */
.gallery-grid {
  columns: 4;
  column-gap: 12px;
}
.gallery-item {
  break-inside: avoid;
  margin-bottom: 12px;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  position: relative;
}
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(201,168,76,0);
  transition: background var(--trans);
}
.gallery-item:hover::after { background: rgba(201,168,76,0.15); }
.gallery-item img { width: 100%; display: block; transition: transform 0.4s ease; }
.gallery-item:hover img { transform: scale(1.04); }

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img { width: calc(100vw - 3rem); height: calc(100vh - 3rem); object-fit: contain; display: block; }
@media (max-width: 700px) {
  .lightbox img { width: calc(100vw - 1rem); height: calc(100vh - 1rem); }
}
.lb-close {
  position: absolute;
  top: 20px; right: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
  opacity: 0.7;
  transition: opacity var(--trans);
}
.lb-close:hover { opacity: 1; }
.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.3);
  color: var(--gold);
  font-size: 1.6rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--trans);
}
.lb-nav:hover { background: rgba(201,168,76,0.3); }
.lb-prev { left: 20px; }
.lb-next { right: 20px; }

/* ===== CONTACT ===== */
.contact-intro {
  text-align: center;
  color: var(--text-dim);
  margin-bottom: 50px;
  font-size: 0.97rem;
}
.contact-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info { display: flex; flex-direction: column; gap: 28px; }
.contact-item { display: flex; align-items: flex-start; gap: 16px; }
.contact-icon { font-size: 1.4rem; margin-top: 2px; }
.contact-label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
  font-weight: 700;
}
.contact-val { color: var(--text); font-size: 0.95rem; }

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 0; }

/* Honeypot — completamente invisible para humanos */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* Grupos con label flotante */
.form-group {
  position: relative;
  margin-bottom: 20px;
}
.form-group input,
.form-group textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 0.95rem;
  font-family: inherit;
  padding: 22px 16px 8px;
  width: 100%;
  transition: border-color var(--trans), background var(--trans);
  outline: none;
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: rgba(255,255,255,0.06);
}
.form-group input.error,
.form-group textarea.error { border-color: #e74c3c; }

.form-group label {
  position: absolute;
  top: 50%;
  left: 16px;
  transform: translateY(-50%);
  font-size: 0.85rem;
  color: var(--text-dim);
  letter-spacing: 0.06em;
  pointer-events: none;
  transition: all 0.2s ease;
}
.form-group textarea ~ label { top: 18px; transform: none; }

/* label flota cuando el campo tiene contenido o está activo */
.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
  top: 8px;
  font-size: 0.68rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transform: none;
}

.btn-submit {
  background: var(--gold);
  color: #000;
  border: none;
  border-radius: var(--radius);
  padding: 14px 36px;
  font-family: var(--font-cinzel);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--trans), transform var(--trans), opacity var(--trans);
  margin-top: 4px;
  align-self: flex-start;
}
.btn-submit:hover:not(:disabled) { background: var(--gold-lt); transform: translateY(-2px); }
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

/* ===== FOOTER ===== */
footer {
  background: var(--dark2);
  border-top: 1px solid rgba(201,168,76,0.15);
  padding: 40px 20px;
  text-align: center;
}
.footer-name {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  margin-bottom: 6px;
  font-family: var(--font-title);
  font-size: 1.1rem;
  color: #fff;
  letter-spacing: 0.1em;
}
.footer-logo { height: 32px; width: auto; flex-shrink: 0; }
.footer-copy { color: var(--text-dim); font-size: 0.82rem; letter-spacing: 0.1em; margin-bottom: 10px; }
.footer-email a { color: var(--gold); font-size: 0.85rem; }

/* ===== SCROLL ANIMATIONS ===== */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-photo {
    max-width: 380px;
    margin: 0 auto;
    min-height: 340px;
    /* en móvil la imagen vuelve a flujo normal */
    position: relative;
  }
  .about-photo img {
    position: relative;
    inset: 0;
    width: 100%;
    height: 100%;
  }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .timeline-item { grid-template-columns: 80px 1fr; }
  .gallery-grid { columns: 3; }
}

@media (max-width: 720px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: rgba(10,10,10,0.97);
    padding: 16px 20px;
    border-bottom: 1px solid rgba(201,168,76,0.2);
    gap: 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 6px; font-size: 0.85rem; border-bottom: 1px solid rgba(255,255,255,0.05); }
  .nav-toggle { display: block; }
  .nav-inner { flex-wrap: wrap; position: relative; }

  section { padding: 70px 0; }

  .gallery-grid { columns: 2; }
  .skills-grid { grid-template-columns: repeat(2, 1fr); }
  .festivals-grid { grid-template-columns: 1fr; }
  .timeline-item { grid-template-columns: 1fr; padding-left: 0; }
  .timeline-date { font-size: 0.75rem; }
}

@media (max-width: 460px) {
  .skills-grid { grid-template-columns: 1fr; }
  .gallery-grid { columns: 1; }
  .hero-title { font-size: 2.2rem; }
  .award-item { flex-direction: column; gap: 8px; }
  .lb-nav { width: 36px; height: 36px; font-size: 1.2rem; }
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
}

/* ===== SOCIAL ICONS ===== */
.social-links {
  display: flex;
  gap: 10px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.contact-partner-banner { margin-top: 24px; line-height: 0; }
.contact-partner-banner img { display: block; width: 148px; height: 62px; }
.footer-social {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin: 16px 0 8px;
  flex-wrap: wrap;
}
.social-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.3);
  background: transparent;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  text-decoration: none;
  transition: background var(--trans), color var(--trans), border-color var(--trans), transform var(--trans);
  flex-shrink: 0;
}
.social-btn:hover {
  background: rgba(201,168,76,0.12);
  color: var(--gold);
  border-color: var(--gold);
  transform: translateY(-2px);
}
.social-icon-img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  display: block;
  border-radius: 50%;
}
.social-btn:has(.social-icon-img) {
  border: none;
  padding: 0;
  overflow: hidden;
  background: transparent;
}
.social-btn:has(.social-icon-img):hover {
  background: transparent;
  transform: translateY(-2px);
}

.grecaptcha-badge { visibility: hidden !important; }

/* ── SKILLS CIRCLE (index.php) ── */
#skills { overflow: hidden; }
.sk-wrap {
  display: flex;
  align-items: center;
  min-height: 680px;
}
.sk-left {
  width: 38%;
  padding-right: 44px;
  flex-shrink: 0;
}
.sk-big-label {
  font-family: var(--font-cinzel);
  font-size: clamp(3.5rem, 6vw, 6rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 0.15rem;
  user-select: none;
}
.sk-big-sub {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  color: var(--gold);
  text-transform: uppercase;
  padding-bottom: 1.8rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 2rem;
}
.sk-content { min-height: 200px; }
.sk-active-icon { font-size: 2.6rem; line-height: 1; margin-bottom: 0.7rem; }
.sk-active-title {
  font-family: var(--font-cinzel);
  font-size: clamp(1.1rem, 2vw, 1.55rem);
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.9rem;
  line-height: 1.25;
  letter-spacing: 0.05em;
}
.sk-active-desc {
  font-size: 0.93rem;
  color: var(--text-dim);
  line-height: 1.85;
  margin-bottom: 1.4rem;
}
.sk-watch-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: var(--gold);
  color: #000;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: background var(--trans), transform var(--trans);
}
.sk-watch-btn:hover { background: var(--gold-lt); transform: translateX(4px); }

/* Right circle */
.sk-right {
  width: 62%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sk-orbit-frame {
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: #1a1a1a;
  position: relative;
  flex-shrink: 0;
}
.sk-orbit-item {
  width: 148px;
  height: 148px;
  position: absolute;
  left: 50%;
  top: 50%;
  margin-left: -74px;
  margin-top: -74px;
  cursor: pointer;
}
.sk-orbit-inner {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border-radius: 50%;
  background: #222;
  border: 1px solid rgba(201,168,76,0.22);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.38s cubic-bezier(0.4,0,0.2,1);
  box-shadow: 0 4px 18px rgba(0,0,0,0.4);
}
.sk-orbit-inner:hover { border-color: var(--gold); box-shadow: 0 6px 24px rgba(201,168,76,0.2); }
.sk-orbit-icon { font-size: 1.9rem; line-height: 1; pointer-events: none; }
.sk-orbit-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-align: center;
  padding: 0 8px;
  color: var(--text-dim);
  pointer-events: none;
  line-height: 1.3;
}
.sk-orbit-yt {
  font-size: 0.85rem;
  color: #ff0000;
  line-height: 1;
  pointer-events: none;
}
/* Active */
.sk-orbit-item.active { pointer-events: none; z-index: 5; }
.sk-orbit-item.active .sk-orbit-inner {
  width:  calc(100% + 100px);
  height: calc(100% + 100px);
  top: -50px; left: -50px;
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 12px 44px rgba(201,168,76,0.35);
}
.sk-orbit-item.active .sk-orbit-icon { font-size: 2.4rem; }
.sk-orbit-item.active .sk-orbit-label { color: #000; font-weight: 900; font-size: 0.95rem; }
.sk-orbit-item.active .sk-orbit-yt { font-size: 1.1rem; color: #c00; }

/* Center image */
.sk-center-img {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 230px; height: 230px;
  border-radius: 50%;
  background: #1a1a1a;
  z-index: 2;
  pointer-events: none;
}
.sk-center-img img,
.sk-center-img picture { width: 100%; height: 100%; display: block; object-fit: contain; }

/* Positions set entirely by JS — dynamic based on item count */

/* Desktop/tablet: orbit visible, mobile cards hidden */
.sk-mobile-cards { display: none; }

@media (max-width: 920px) {
  .sk-wrap { flex-direction: column; min-height: auto; }
  .sk-left  { width: 100%; padding-right: 0; margin-bottom: 3rem; }
  .sk-right { width: 100%; }
  .sk-orbit-frame { width: 340px; height: 340px; }
  .sk-orbit-item  { width: 95px; height: 95px; margin-left: -47.5px; margin-top: -47.5px; }
  .sk-orbit-item.active .sk-orbit-inner { width: calc(100%+60px); height: calc(100%+60px); top: -30px; left: -30px; }
  .sk-center-img { width: 148px; height: 148px; }
  .sk-orbit-icon { font-size: 1.3rem; }
  .sk-orbit-label { font-size: 0.62rem; }
  .sk-orbit-yt { font-size: 0.72rem; }
  .sk-orbit-item.active .sk-orbit-label { font-size: 0.78rem; }
  .sk-orbit-item.active .sk-orbit-yt { font-size: 0.9rem; }
}

/* Mobile: switch orbit → cards */
@media (max-width: 768px) {
  .sk-wrap { display: none; }
  .sk-mobile-cards { display: block; }
}

/* ── YouTube facade ────────────────────────────────────────────────────────── */
.yt-facade {
  position: absolute; /* fills the .video-wrapper padding-trick container */
  inset: 0;
  cursor: pointer;
  background: #000;
  overflow: hidden;
}
.yt-thumb {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  opacity: .84;
  transition: opacity .25s;
}
.yt-facade:hover .yt-thumb { opacity: 1; }
.yt-play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  width: 68px; height: 48px;
  filter: drop-shadow(0 2px 14px rgba(0,0,0,.8));
  transition: transform .15s;
}
.yt-facade:hover .yt-play-btn { transform: translate(-50%, -50%) scale(1.14); }
.yt-play-btn svg { width: 68px; height: 48px; display: block; }

/* ── Cookie notice ─────────────────────────────────────────────────────────── */
.cookie-bar {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 300px;
  background: #111;
  border: 1px solid #252525;
  border-radius: 14px;
  padding: 1.2rem 1.2rem 1rem;
  z-index: 9990;
  box-shadow: 0 12px 48px rgba(0,0,0,.75), 0 0 0 1px rgba(201,168,76,.06);
  transform: translateY(calc(100% + 2.5rem));
  transition: transform .45s cubic-bezier(0.34, 1.4, 0.64, 1);
}
.cookie-bar.visible { transform: translateY(0); }
.cookie-bar-icon { font-size: 1.4rem; display: block; margin-bottom: .55rem; line-height: 1; }
.cookie-bar-title {
  font-size: .72rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: .45rem;
}
.cookie-bar-text { font-size: .73rem; color: #666; margin: 0 0 1rem; line-height: 1.55; }
.cookie-bar-btn {
  display: block;
  width: 100%;
  background: var(--gold);
  color: #000;
  border: none;
  border-radius: 7px;
  padding: .55rem;
  font-size: .78rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s;
  letter-spacing: .03em;
}
.cookie-bar-btn:hover { background: var(--gold-lt); }
.cookie-bar-link {
  display: block;
  text-align: center;
  font-size: .7rem;
  color: #555;
  margin-bottom: .65rem;
  transition: color .2s;
}
.cookie-bar-link:hover { color: var(--gold); }
@media (max-width: 440px) {
  .cookie-bar { bottom: 0; right: 0; left: 0; width: 100%; border-radius: 14px 14px 0 0; }
}

/* ===== FOOTER LEGAL ===== */
.footer-legal { margin-top: 8px; }
.footer-legal a { color: #444; font-size: .75rem; letter-spacing: .05em; transition: color .2s; }
.footer-legal a:hover,
.footer-legal a.active { color: var(--gold); }

/* ===== STATIC PAGES (privacy, etc.) ===== */
body.page-static { min-height: 100vh; }
body.page-static #navbar { background: rgba(10,10,10,0.98); }

.static-page { padding-top: 100px; padding-bottom: 5rem; min-height: 70vh; }
.static-page .container { max-width: 800px; }

.static-page-title {
  font-family: var(--font-title);
  color: var(--gold);
  font-size: 2rem;
  letter-spacing: .04em;
  margin-bottom: 2.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(201,168,76,.2);
}
.static-page-title span { display: block; }

.static-page-body { color: var(--text-dim); line-height: 1.9; font-size: .95rem; }
.static-page-body h2 { color: var(--gold); font-family: var(--font-title); font-size: 1.15rem; margin: 2rem 0 .6rem; letter-spacing: .04em; }
.static-page-body h3 { color: #aaa; font-family: var(--font-title); font-size: .95rem; margin: 1.5rem 0 .5rem; }
.static-page-body p  { margin-bottom: 1rem; }
.static-page-body ul,
.static-page-body ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.static-page-body li { margin-bottom: .4rem; }
.static-page-body a  { color: var(--gold); }
.static-page-body a:hover { text-decoration: underline; }

.static-page-empty { color: var(--text-dim); font-style: italic; }
.static-page-updated { color: #555; font-size: .8rem; margin-top: 2.5rem; }
.static-page-updated span { display: inline; }

.static-page-back {
  display: inline-block;
  margin-top: 2.5rem;
  color: var(--gold);
  font-size: .9rem;
  letter-spacing: .04em;
  transition: opacity .2s;
}
.static-page-back:hover { opacity: .75; }
.static-page-back span  { display: inline; }

/* Language show/hide for static pages */
body.page-static [data-lang="ja"]                  { display: none; }
body.page-static.lang-ja [data-lang="en"]          { display: none; }
body.page-static.lang-ja [data-lang="ja"]          { display: revert; }
body.page-static.lang-ja .static-page-body div[data-lang="ja"] { display: block; }
body.page-static.lang-ja .static-page-body div[data-lang="en"] { display: none; }
