/* ============================================
   PAYASö — Styles
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400&family=Inter:wght@300;400;500;600&display=swap');

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --black:    #080808;
  --dark:     #111111;
  --surface:  #181818;
  --border:   #2a2a2a;
  --gold:     #c9a84c;
  --gold-dim: #8a6e2f;
  --white:    #f0ece4;
  --muted:    #888880;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;
  --max-w: 1100px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--gold-dim); border-radius: 3px; }

/* ============================================
   NAV
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 3rem;
  background: linear-gradient(to bottom, rgba(8,8,8,0.97) 0%, rgba(8,8,8,0) 100%);
  transition: background var(--transition), padding var(--transition);
}

.nav.scrolled {
  background: rgba(8,8,8,0.97);
  padding: 0.9rem 3rem;
  border-bottom: 1px solid var(--border);
}

.nav__logo {
  display: flex;
  align-items: center;
}

.nav__logo img {
  height: 36px;
  width: auto;
  display: block;
}

.nav__links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav__links a {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color var(--transition);
  position: relative;
  padding-bottom: 3px;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav__links a:hover {
  color: var(--white);
}
.nav__links a:hover::after {
  width: 100%;
}

/* Hamburger (CSS only) */
.nav__toggle {
  display: none;
}
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav__hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  transition: all var(--transition);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 2rem 4rem;
  overflow: hidden;
  background: var(--black);
}

.hero__bg {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 12%;
  right: 12%;
  pointer-events: none;
  background: url('../img/fondo1.jpg') center center / cover no-repeat;
  opacity: 0.5;
  z-index: 0;
}

.hero__line {
  position: absolute;
  top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--gold-dim), transparent);
  opacity: 0.3;
}
.hero__line--left  { left: 12%; }
.hero__line--right { right: 12%; }

.hero > *:not(.hero__bg):not(.hero__line):not(.hero__scroll) {
  position: relative;
  z-index: 1;
}

.hero__scroll {
  z-index: 1;
}

.hero__eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--white);
  text-shadow: 0 1px 6px rgba(0,0,0,0.8);
  margin-bottom: 1.5rem;
  opacity: 0.85;
}

.hero__title {
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.hero__title img {
  width: auto;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  transform: scale(1.3);
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

.hero__tagline {
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--white);
  text-shadow: 0 1px 6px rgba(0,0,0,0.8);
  max-width: 580px;
  margin: 0 auto 3rem;
  font-style: italic;
}

.hero__ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid;
  transition: all var(--transition);
  cursor: pointer;
}

.btn--gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
}
.btn--gold:hover {
  background: transparent;
  color: var(--gold);
}

.btn--outline {
  background: transparent;
  border-color: rgba(240,236,228,0.25);
  color: var(--white);
}
.btn--outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.hero__socials {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

.hero__socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border: 1px solid var(--border);
  border-radius: 50%;
  transition: all var(--transition);
}

.hero__socials a:hover {
  border-color: var(--gold);
  background: rgba(201,168,76,0.1);
}

.hero__socials svg {
  width: 16px; height: 16px;
  fill: var(--muted);
  transition: fill var(--transition);
}
.hero__socials a:hover svg {
  fill: var(--gold);
}

.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-shadow: 0 1px 6px rgba(0,0,0,0.8);
}

.hero__scroll-line {
  width: 2px;
  height: 48px;
  background: linear-gradient(to bottom, var(--white), transparent);
  animation: scrollLine 1.6s ease-in-out infinite;
}

@keyframes scrollLine {
  0%, 100% { opacity: 0.4; transform: scaleY(0.8) translateY(0); }
  50%       { opacity: 1;   transform: scaleY(1) translateY(4px); }
}

/* ============================================
   SECTIONS COMMON
   ============================================ */
section {
  padding: 7rem 2rem;
}

.section__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.section__label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.section__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.section__logo {
  width: auto;
  max-width: 280px;
  height: auto;
  display: block;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

.section__divider {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 3rem;
}

/* ============================================
   BIO
   ============================================ */
.bio {
  background: var(--dark);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.bio__grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 4rem;
  align-items: center;
}

.bio__image-wrap {
  position: relative;
}

.bio__image-frame {
  position: relative;
  overflow: hidden;
  background: var(--surface);
}

.bio__image-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201,168,76,0.12) 0%, transparent 60%);
  z-index: 1;
}

.bio__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #1a1a1a 0%, #0f0f0f 100%);
}

.bio__placeholder svg {
  width: 80px; height: 80px;
  fill: var(--border);
}

.bio__image-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.bio__deco {
  position: absolute;
  top: -16px; right: -16px;
  width: 100%; height: 100%;
  border: 1px solid var(--gold-dim);
  opacity: 0.4;
  pointer-events: none;
}

.bio__text p {
  font-size: 1.05rem;
  color: rgba(240,236,228,0.75);
  margin-bottom: 1.25rem;
  line-height: 1.85;
}

.bio__text p strong {
  color: var(--white);
  font-weight: 500;
}

.bio__text p em {
  color: var(--gold);
  font-style: italic;
}

.bio__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2rem;
}

.bio__tag {
  padding: 0.35rem 0.9rem;
  border: 1px solid var(--border);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  border-radius: 2px;
}

/* ============================================
   DISCOGRAPHY
   ============================================ */
.discography {
  background: var(--black);
}

.disco__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.album {
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition);
}

.album:hover {
  border-color: var(--gold-dim);
  transform: translateY(-4px);
}

.album__cover {
  width: 100%;
  aspect-ratio: 1;
  background: var(--dark);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.album__cover-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, #1c1c1c, #0a0a0a);
}

.album__cover-placeholder .cover-title {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
  color: var(--gold);
  letter-spacing: 0.05em;
}

.album__cover-placeholder .cover-year {
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.2em;
}

.album__cover-placeholder svg {
  width: 36px; height: 36px;
  fill: var(--border);
  opacity: 0.5;
}

.album__cover img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.5rem;
}

.album__info {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
}

.album__year {
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}

.album__title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.album__desc {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
  flex: 1;
}

.album__tracks {
  list-style: none;
  margin-bottom: 1.5rem;
}

.album__tracks li {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.3rem 0;
  border-bottom: 1px solid rgba(42,42,42,0.6);
  font-size: 0.8rem;
  color: rgba(240,236,228,0.6);
}

.album__tracks li:last-child {
  border-bottom: none;
}

.album__tracks .track-num {
  font-size: 0.65rem;
  color: var(--gold-dim);
  min-width: 1.2rem;
  text-align: right;
}

.album__tracks .track-bonus {
  font-size: 0.65rem;
  color: var(--gold-dim);
  margin-left: auto;
  font-style: italic;
}

.album__links {
  display: flex;
  gap: 0.6rem;
  flex-direction: row;
  align-items: center;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  margin-top: auto;
}

.album__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  border-radius: 50%;
  transition: all var(--transition);
  flex-shrink: 0;
}

.album__link:hover {
  border-color: var(--gold);
  background: rgba(201,168,76,0.08);
}

.album__link svg {
  width: 14px;
  height: 14px;
  fill: var(--muted);
  transition: fill var(--transition);
}

.album__link:hover svg {
  fill: var(--gold);
}

/* ============================================
   VIDEOS
   ============================================ */
.videos {
  background: var(--dark);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.videos__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.video-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color var(--transition);
}

.video-card:hover {
  border-color: var(--gold-dim);
}

.video-card__thumb {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #1a1a1a, #0a0a0a);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.video-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-card__thumb--yt {
  background: #0f0f0f;
}

.video-card__yt-logo {
  position: absolute;
  width: 72px;
  height: 72px;
  fill: #ff0000;
  opacity: 0.85;
  transition: opacity var(--transition), transform var(--transition);
}

.video-card:hover .video-card__yt-logo {
  opacity: 1;
  transform: scale(1.08);
}

.video-card__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.4);
  transition: background var(--transition);
}

.video-card:hover .video-card__play {
  background: rgba(0,0,0,0.2);
}

.video-card__play-icon {
  width: 52px; height: 52px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition), background var(--transition);
}

.video-card:hover .video-card__play-icon {
  transform: scale(1.1);
}

.video-card__play-icon svg {
  width: 20px; height: 20px;
  fill: var(--black);
  margin-left: 3px;
}

.video-card__info {
  padding: 1rem 1.25rem;
}

.video-card__title {
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.video-card__sub {
  font-size: 0.75rem;
  color: var(--muted);
}

.videos__cta {
  text-align: center;
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
  background: var(--black);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 5rem;
  align-items: start;
}

.contact__info-list {
  list-style: none;
  margin-bottom: 3rem;
}

.contact__info-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}

.contact__info-icon {
  width: 40px; height: 40px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact__info-icon svg {
  width: 16px; height: 16px;
  fill: var(--gold);
}

.contact__info-label {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.2rem;
}

.contact__info-value {
  font-size: 0.92rem;
  color: var(--white);
}

.contact__info-value a:hover {
  color: var(--gold);
}

.contact__info-sub {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.15rem;
}

/* Social grid */
.contact__social-title {
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.social-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.social-card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.9rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.social-card:hover {
  border-color: var(--gold-dim);
  background: rgba(201,168,76,0.05);
}

.social-card svg {
  width: 18px; height: 18px;
  fill: var(--muted);
  flex-shrink: 0;
  transition: fill var(--transition);
}

.social-card:hover svg {
  fill: var(--gold);
}

.social-card__name {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.social-card__handle {
  font-size: 0.7rem;
  color: var(--muted);
}

/* Contact right side */
.contact__message {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 2.5rem;
}

.contact__message-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.contact__message-text {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 2rem;
}

.contact__email-big {
  display: block;
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 500;
  color: var(--gold);
  border-bottom: 1px solid var(--gold-dim);
  padding-bottom: 0.5rem;
  margin-bottom: 2rem;
  word-break: break-all;
  transition: color var(--transition);
}

.contact__email-big:hover {
  color: var(--white);
}

.contact__booking {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.contact__booking-title {
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}

.contact__booking-person {
  margin-bottom: 1rem;
}

.contact__booking-name {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--white);
}

.contact__booking-role {
  font-size: 0.75rem;
  color: var(--gold);
  margin-bottom: 0.2rem;
  font-style: italic;
}

.contact__booking-detail {
  font-size: 0.78rem;
  color: var(--muted);
}

.contact__booking-detail a:hover {
  color: var(--gold);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--dark);
  border-top: 1px solid var(--border);
  padding: 3rem 2rem;
}

.footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer__logo img {
  height: 28px;
  width: auto;
  display: block;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

.footer__logo {
  letter-spacing: 0.1em;
  color: var(--gold);
}

.footer__copy {
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
}

.footer__links {
  display: flex;
  gap: 1.25rem;
  list-style: none;
}

.footer__links a {
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.1em;
  transition: color var(--transition);
}

.footer__links a:hover {
  color: var(--gold);
}

/* ============================================
   RESPONSIVE — TABLET (max 900px)
   ============================================ */
@media (max-width: 900px) {
  /* Nav */
  .nav {
    padding: 1.1rem 1.5rem;
  }
  .nav.scrolled {
    padding: 0.8rem 1.5rem;
  }
  .nav__links {
    position: fixed;
    top: 0; right: 0;
    width: 260px;
    height: 100vh;
    background: var(--dark);
    border-left: 1px solid var(--border);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    transform: translateX(100%);
    transition: transform var(--transition);
  }
  .nav__toggle:checked ~ .nav__links {
    transform: translateX(0);
  }
  .nav__hamburger {
    display: flex;
    z-index: 200;
    position: relative;
  }
  .nav__toggle:checked ~ .nav__hamburger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav__toggle:checked ~ .nav__hamburger span:nth-child(2) {
    opacity: 0;
  }
  .nav__toggle:checked ~ .nav__hamburger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* Bio */
  .bio__grid,
  .contact__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .bio__image-wrap {
    max-width: 420px;
    margin: 0 auto;
  }

  /* Discography */
  .disco__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Videos */
  .videos__grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ============================================
   RESPONSIVE — MÓVIL (max 600px)
   ============================================ */
@media (max-width: 600px) {
  /* Sections */
  section {
    padding: 4rem 1.25rem;
  }

  /* Hero */
  .hero {
    padding: 7rem 1.25rem 4rem;
  }
  .hero__line {
    display: none;
  }
  .hero__bg {
    left: 0;
    right: 0;
  }
  .hero__eyebrow {
    font-size: 0.7rem;
    letter-spacing: 0.25em;
  }
  .hero__title img {
    max-width: 85vw;
  }
  .hero__tagline {
    font-size: 0.9rem;
    padding: 0 0.5rem;
  }
  .hero__ctas {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }
  .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  /* Bio */
  .bio__image-wrap {
    max-width: 100%;
  }
  .bio__deco {
    display: none;
  }
  .bio__text p {
    font-size: 0.95rem;
  }

  /* Discography */
  .disco__grid {
    grid-template-columns: 1fr;
  }
  .album__title {
    font-size: 1.2rem;
  }
  .album__tracks li {
    font-size: 0.78rem;
  }

  /* Videos */
  .videos__grid {
    grid-template-columns: 1fr;
  }

  /* Contact */
  .contact__message {
    padding: 1.75rem 1.25rem;
  }
  .social-grid {
    grid-template-columns: 1fr 1fr;
  }
  .contact__email-big {
    font-size: 1rem;
  }

  /* Footer */
  .footer__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
  }
  .footer__links {
    justify-content: center;
  }
}

/* ============================================
   Fotos Preview (index.html)
   ============================================ */
.fotos-preview {
  display: flex;
  justify-content: center;
}

.fotos-preview__img {
  max-width: 720px;
  width: 100%;
}

.fotos-preview__frame {
  position: relative;
}

.fotos-preview__frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(8,8,8,0.45);
  pointer-events: none;
}

.fotos-preview__btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  white-space: nowrap;
  font-size: 1rem;
  padding: 0.9rem 2.5rem;
}

/* ============================================
   Fotos Gallery Page (fotos.html)
   ============================================ */
.gallery {
  padding: 7rem 0 5rem;
  min-height: 100vh;
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}

.gallery__item {
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  transition: border-color var(--transition), transform var(--transition);
}

.gallery__item:hover {
  border-color: var(--gold);
  transform: scale(1.02);
}

.gallery__item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  transition: opacity var(--transition);
}

.gallery__item:hover img {
  opacity: 0.85;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(8,8,8,0.95);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.lightbox.is-open {
  display: flex;
}

.lightbox__img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border: 1px solid var(--border);
}

.lightbox__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: 1px solid var(--border);
  color: var(--white);
  width: 44px;
  height: 44px;
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--transition), color var(--transition);
}

.lightbox__close:hover {
  border-color: var(--gold);
  color: var(--gold);
}

@media (max-width: 700px) {
  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery__item img {
    height: 180px;
  }
}

@media (max-width: 420px) {
  .gallery__grid {
    grid-template-columns: 1fr;
  }
}
