/* ==========================================================================
   PORTAFOLIO DE RIOGER MARTÍNEZ NAVARRO — ARTISTA VISUAL
   Estilo editorial para galería de arte, minimalista, responsivo y accesible.
   ========================================================================== */

:root {
  --bg: #FAF9F5;
  --bg-surface: #F2EFE9;
  --bg-alt: #F6F3EE;
  --bg-card: #FFFFFF;
  --text-main: #171310;
  --text-muted: #5B534C;
  --text-subtle: #5C544D;
  --text-placeholder: #A89E94;
  --border: #EAE5DF;
  --border-subtle: #DED8D1;
  --accent: #7C3F5D;
  --accent-light: #C99BB2;
  --accent-hover: #9A4F74;
  --dark-bg: #171310;
  --dark-text: #F6F2EC;
  --dark-muted: #DCD4CB;
  --dark-border: #3A322C;
  
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --max-w: 1440px;
  --transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg);
  color: var(--text-main);
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ==========================================================================
   UTILIDADES & TIPOGRAFÍA
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: clamp(20px, 4.5vw, 64px);
  padding-right: clamp(20px, 4.5vw, 64px);
}

.section-padding {
  padding-top: clamp(56px, 7.5vw, 108px);
  padding-bottom: clamp(56px, 7.5vw, 108px);
}

.section-border {
  border-top: 1px solid var(--border);
}

.tag-label {
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 18px;
}

.section-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(30px, 4.5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

/* ==========================================================================
   HEADER & NAVEGACIÓN
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(250, 249, 245, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-badge {
  width: 38px;
  height: 38px;
  background-color: var(--text-main);
  color: var(--bg);
  display: grid;
  place-items: center;
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 500;
  border-radius: 2px;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.2vw, 32px);
}

.nav-link {
  font-size: 13.5px;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  font-weight: 400;
  position: relative;
  padding: 6px 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-main);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 1.5px;
  background-color: var(--accent);
  transition: width 0.25s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang-switch {
  display: flex;
  border: 1px solid var(--border-subtle);
  border-radius: 2px;
  padding: 2px;
  background: var(--bg-surface);
}

.lang-btn {
  font-size: 11.5px;
  letter-spacing: 0.1em;
  font-weight: 500;
  padding: 4px 9px;
  border-radius: 1px;
  color: var(--text-muted);
  transition: var(--transition);
}

.lang-btn.active {
  background: var(--accent);
  color: #ffffff;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  padding: 4px;
}

.mobile-toggle span {
  display: block;
  height: 1.5px;
  width: 100%;
  background-color: var(--text-main);
  transition: var(--transition);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
  padding-top: clamp(48px, 8vw, 110px);
  padding-bottom: clamp(32px, 5vw, 56px);
}

.hero-meta {
  font-size: 12.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(42px, 8.5vw, 112px);
  line-height: 0.94;
  letter-spacing: -0.025em;
  font-weight: 400;
  margin-bottom: clamp(32px, 5vw, 56px);
}

.hero-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(20px, 3vw, 40px);
  align-items: end;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

.hero-subtitle {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.35;
  color: var(--text-main);
}

.hero-summary {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 48ch;
}

.hero-contact {
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--text-muted);
}

.hero-contact a {
  display: inline-block;
  color: var(--text-main);
}

/* Cover Image */
.hero-cover {
  margin: clamp(32px, 5vw, 64px) auto clamp(48px, 7vw, 96px);
}

.hero-cover-frame {
  position: relative;
  width: 100%;
  height: clamp(320px, 58vh, 680px);
  background-color: var(--bg-surface);
  overflow: hidden;
  border-radius: 2px;
}

.hero-cover-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-cover-frame:hover img {
  transform: scale(1.015);
}

.cover-caption {
  margin-top: 14px;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--text-subtle);
}

/* ==========================================================================
   DECLARACIÓN DE ARTISTA (STATEMENT)
   ========================================================================== */

.statement-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(28px, 5vw, 80px);
}

.statement-quote {
  font-family: var(--font-serif);
  font-size: clamp(23px, 2.5vw, 34px);
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.statement-text {
  display: grid;
  gap: 18px;
}

.statement-text p {
  font-size: 15.5px;
  line-height: 1.78;
  color: var(--text-muted);
}

/* ==========================================================================
   OBRAS SELECCIONADAS (SECCIÓN I)
   ========================================================================== */

.section-header-flex {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: clamp(36px, 5vw, 68px);
}

.selected-work-item {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding-bottom: clamp(52px, 7vw, 96px);
}

.selected-work-item.reverse {
  direction: rtl;
}

.selected-work-item.reverse > * {
  direction: ltr;
}

.work-media-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  background-color: var(--bg-surface);
  overflow: hidden;
  border-radius: 2px;
  cursor: zoom-in;
}

.work-media-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.work-media-frame:hover img {
  transform: scale(1.03);
}

.work-info-num {
  font-family: var(--font-serif);
  font-size: 14px;
  color: var(--accent);
  margin-bottom: 12px;
  font-weight: 500;
}

.work-info-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(24px, 2.7vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

.work-info-sub {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 17px;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.work-info-medium {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-subtle);
  margin-bottom: 18px;
}

.work-info-desc {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 52ch;
}

/* ==========================================================================
   PORTAFOLIO (GRID DE OBRAS)
   ========================================================================== */

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: clamp(12px, 1.5vw, 22px);
}

.portfolio-card {
  position: relative;
  aspect-ratio: 1/1;
  background-color: var(--bg-surface);
  overflow: hidden;
  border-radius: 2px;
  cursor: zoom-in;
  border: none;
  padding: 0;
  display: block;
  width: 100%;
}

.portfolio-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.portfolio-card:hover img {
  transform: scale(1.05);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(23, 19, 16, 0.75) 0%, transparent 60%);
  opacity: 0;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  transition: opacity 0.3s ease;
}

.portfolio-card:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-badge {
  color: #ffffff;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
}

/* ==========================================================================
   BIOGRAFÍA & EDUCACIÓN
   ========================================================================== */

.bio-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: clamp(28px, 5vw, 76px);
  align-items: start;
}

.bio-portrait-sticky {
  position: sticky;
  top: 96px;
}

.bio-portrait-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  background-color: var(--bg-surface);
  overflow: hidden;
  border-radius: 2px;
}

.bio-portrait-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bio-intro-quote {
  font-family: var(--font-serif);
  font-size: clamp(19px, 2vw, 25px);
  line-height: 1.5;
  color: var(--text-main);
  margin-bottom: 20px;
}

.bio-content p {
  font-size: 15.5px;
  line-height: 1.78;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.bio-education-block {
  margin-top: 48px;
  border-top: 1px solid var(--border);
  padding-top: 28px;
}

.edu-list {
  display: grid;
  gap: 18px;
}

.edu-item h3 {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 4px;
}

.edu-item p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ==========================================================================
   EXPOSICIONES & PROYECTOS
   ========================================================================== */

.exhibitions-list {
  display: grid;
}

.exhibition-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(16px, 3vw, 40px);
  padding: 26px 0;
  border-top: 1px solid var(--border);
  align-items: start;
}

.exhibition-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(18px, 1.8vw, 23px);
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.exhibition-venue {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--accent);
  letter-spacing: 0.02em;
  font-weight: 500;
}

.exhibition-context {
  font-size: 14.5px;
  line-height: 1.72;
  color: var(--text-muted);
}

/* ==========================================================================
   ARTE DIGITAL & WEB3 (SECCIÓN OSCURA)
   ========================================================================== */

.digital-section {
  background-color: var(--dark-bg);
  color: var(--dark-text);
}

.digital-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: clamp(28px, 5vw, 76px);
  align-items: start;
}

.digital-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.02;
  color: #ffffff;
  margin-bottom: 22px;
}

.digital-desc {
  font-size: 15.5px;
  line-height: 1.78;
  color: var(--dark-muted);
  margin-bottom: 20px;
}

.amparuche-subtitle {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(17px, 2vw, 21px);
  color: var(--accent-light);
  margin-bottom: 18px;
  line-height: 1.4;
}

.amparuche-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
  margin: 28px 0;
}

.amparuche-stat-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 16px;
  border-radius: 4px;
}

.amparuche-stat-num {
  font-family: var(--font-serif);
  font-size: 20px;
  color: #ffffff;
  font-weight: 500;
  margin-bottom: 2px;
}

.amparuche-stat-lbl {
  font-size: 11.5px;
  color: var(--dark-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.digital-actions-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 24px;
}

.digital-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: #171310;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 12px 22px;
  border-radius: 2px;
  transition: var(--transition);
}

.digital-btn-primary:hover {
  background: var(--accent-light);
  color: #171310;
  transform: translateY(-2px);
}

.digital-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--dark-muted);
  border: 1px solid var(--dark-border);
  font-size: 12px;
  letter-spacing: 0.08em;
  padding: 11px 18px;
  border-radius: 2px;
  transition: var(--transition);
}

.digital-btn-secondary:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
}

/* Amparuche Gallery Grid */
.amparuche-gallery-container {
  margin-top: clamp(40px, 5.5vw, 68px);
  border-top: 1px solid var(--dark-border);
  padding-top: clamp(36px, 4.5vw, 56px);
}

.amparuche-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: clamp(14px, 1.8vw, 22px);
  margin-top: 24px;
}

@media (min-width: 900px) {
  .amparuche-gallery-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.amparuche-card {
  position: relative;
  aspect-ratio: 1/1;
  background-color: #1f1a16;
  overflow: hidden;
  border-radius: 4px;
  cursor: zoom-in;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0;
  display: block;
  width: 100%;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.amparuche-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: var(--accent-light);
  box-shadow: 0 16px 36px rgba(124, 63, 93, 0.35);
}

.amparuche-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.amparuche-card:hover img {
  transform: scale(1.08);
}

.amparuche-overlay {
  background: linear-gradient(to top, rgba(15, 12, 10, 0.88) 0%, transparent 65%);
}

.amparuche-badge {
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  display: block;
}

.amparuche-card-sub {
  color: var(--accent-light);
  font-size: 11px;
  margin-top: 2px;
  line-height: 1.3;
  opacity: 0.92;
}

.disciplines-block {
  display: grid;
  gap: 28px;
}

.discipline-group h3 {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 20px;
  color: #ffffff;
  margin-bottom: 14px;
}

.badges-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-badge {
  font-size: 13px;
  line-height: 1.5;
  color: var(--dark-muted);
  border: 1px solid var(--dark-border);
  padding: 7px 13px;
  border-radius: 2px;
}

/* ==========================================================================
   TATUAJE ARTÍSTICO & EXPERIENCIA
   ========================================================================== */

.tattoo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: clamp(28px, 5vw, 76px);
  align-items: start;
}

.tattoo-desc {
  font-size: 15.5px;
  line-height: 1.78;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.press-list {
  display: grid;
  gap: 16px;
}

.press-item {
  border-top: 1px solid var(--border);
  padding-top: 14px;
}

.press-outlet {
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 3px;
}

.press-note {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-muted);
}

.experience-list {
  display: grid;
}

.experience-item {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: baseline;
  border-top: 1px solid var(--border);
  padding: 16px 0;
}

.experience-role {
  font-size: 15.5px;
  font-weight: 500;
  margin-bottom: 2px;
}

.experience-place {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-muted);
}

.experience-years {
  font-size: 13px;
  color: var(--text-subtle);
  white-space: nowrap;
}

/* Tattoo Gallery Grid */
.tattoo-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: clamp(16px, 2vw, 28px);
  width: 100%;
}

.tattoo-card {
  position: relative;
  aspect-ratio: 4/5;
  background-color: var(--bg-surface);
  overflow: hidden;
  border-radius: 4px;
  cursor: zoom-in;
  border: 1px solid var(--border);
  padding: 0;
  display: block;
  width: 100%;
  max-width: 100%;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

.tattoo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(23, 19, 16, 0.12);
}

.tattoo-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.tattoo-card:hover img {
  transform: scale(1.06);
}

/* ==========================================================================
   FOOTER / CONTACTO
   ========================================================================== */

.site-footer {
  background-color: var(--bg-alt);
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.footer-contact-links {
  display: grid;
  gap: 12px;
  align-content: start;
}

.footer-email {
  font-family: var(--font-serif);
  font-size: clamp(19px, 2.2vw, 28px);
  color: var(--text-main);
}

.footer-phone {
  font-size: 16px;
  color: var(--text-muted);
}

.footer-social-links {
  display: grid;
  gap: 12px;
  align-content: start;
}

.social-line-link {
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-main);
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 8px;
  font-weight: 500;
}

.social-line-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.footer-bottom {
  margin-top: clamp(40px, 6vw, 72px);
  border-top: 1px solid var(--border);
  padding-top: 24px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--text-subtle);
}

/* ==========================================================================
   LIGHTBOX MODAL
   ========================================================================== */

.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(15, 12, 10, 0.96);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 56px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  position: relative;
  max-width: 92vw;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 2px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
  transition: transform 0.25s ease;
}

.lightbox-caption {
  color: var(--dark-text);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 16px;
  text-align: center;
}

.lightbox-close-btn {
  position: absolute;
  top: 24px;
  right: 28px;
  color: #ffffff;
  font-size: 26px;
  line-height: 1;
  padding: 8px;
  z-index: 1010;
  transition: var(--transition);
}

.lightbox-close-btn:hover {
  color: var(--accent-light);
  transform: scale(1.1);
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #ffffff;
  font-size: 38px;
  padding: 16px;
  z-index: 1010;
  transition: var(--transition);
}

.lightbox-nav-btn:hover {
  color: var(--accent-light);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-prev-btn {
  left: 16px;
}

.lightbox-next-btn {
  right: 16px;
}

/* ==========================================================================
   RESPONSIVO / MÓVIL
   ========================================================================== */

@media (max-width: 900px) {
  .nav-menu {
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px clamp(20px, 5vw, 40px);
    gap: 16px;
    transform: translateY(-120%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 12px 32px rgba(0,0,0,0.06);
  }

  .nav-menu.open {
    transform: translateY(0);
  }

  .nav-link {
    font-size: 16px;
    width: 100%;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
  }

  .mobile-toggle {
    display: flex;
  }

  .mobile-toggle.open span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
  }

  .mobile-toggle.open span:nth-child(2) {
    opacity: 0;
  }

  .mobile-toggle.open span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
  }

  .bio-portrait-sticky {
    position: static;
  }
}
