@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;1,400&family=Inter:wght@300;400&display=swap');

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: white;
  color: #111;
  font-size: 12px;
  letter-spacing: 0.03em;
  text-transform: lowercase;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 48px;
  border-bottom: 1px solid #e0e0e0;
  position: sticky;
  top: 0;
  background: white;
  z-index: 100;
}

.logo {
  font-family: 'Lora', serif;
  font-size: 22px;
  font-weight: 300;
  letter-spacing: 0.18em;
  font-variant: small-caps;
  text-transform: lowercase;
}

nav a {
  margin-left: 28px;
  text-decoration: none;
  color: #555;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 0.2s;
}

nav a:hover {
  color: #000;
}

.hero img {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  display: block;
  transition: opacity 0.6s ease;
}

.works-section {
  max-width: 1080px;
  margin: 72px auto;
  padding: 0 48px;
}

.serie {
  margin-bottom: 40px;
}

.serie-titulo {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: #111;
  margin: 0 0 28px;
  text-transform: lowercase;
}

.works {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
}

.work {
  display: block;
}

.work img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  background: #f5f5f5;
  display: block;
  transition: opacity 0.4s;
  cursor: pointer;
}

.work:hover img {
  opacity: 0.8;
}

.info {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: #888;
  margin-top: 14px;
  display: block;
  margin-bottom: 20px;
}

.bio.section {
  max-width: 1080px;
  margin: 96px auto;
  padding: 0 48px;
  border-top: 1px solid #e0e0e0;
  padding-top: 72px;
}

.bio-container {
  display: flex;
  gap: 72px;
  align-items: flex-start;
}

.bio-image img {
  width: 200px;
  height: auto;
  display: block;
}

.bio-text {
  flex: 1;
  max-width: 620px;
}

.bio-text p {
  font-size: 13px;
  line-height: 2;
  color: #333;
  margin: 0;
}

.exhibiciones.section {
  max-width: 1080px;
  margin: 80px auto;
  padding: 0 48px;
  border-top: 1px solid #e0e0e0;
  padding-top: 64px;
}

.exhibicion {
  display: flex;
  gap: 48px;
  align-items: baseline;
  margin-bottom: 16px;
}

.year {
  font-size: 11px;
  color: #999;
  letter-spacing: 0.06em;
  width: 48px;
  flex-shrink: 0;
}

.desc {
  font-size: 13px;
  color: #333;
}

.contact.section {
  max-width: 1080px;
  margin: 80px auto 120px;
  padding: 0 48px;
  border-top: 1px solid #e0e0e0;
  padding-top: 64px;
}

h2 {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.1em;
  margin-bottom: 36px;
  color: #111;
  text-transform: lowercase;
}

h3 {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: #999;
  margin: 40px 0 16px;
  text-transform: lowercase;
}

h3:first-of-type {
  margin-top: 0;
}

.btn {
  display: inline-block;
  margin: 0 12px 0 0;
  padding: 10px 22px;
  border: 1px solid #111;
  color: #111;
  text-decoration: none;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: transparent;
  transition: background 0.25s, color 0.25s;
}

.btn:hover {
  background: #111;
  color: #fff;
}

.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 999;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.overlay-info {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 14px;
  letter-spacing: 0.08em;
  color: #888;
  white-space: nowrap;
}

#cerrar {
  position: absolute;
  top: 28px;
  right: 48px;
  font-size: 24px;
  cursor: pointer;
  color: #111;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
}

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1s ease, transform 1s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */

@media (max-width: 900px) {
  .works {
    grid-template-columns: repeat(3, 1fr);
  }
  header {
    padding: 18px 24px;
  }
  .works-section {
    padding: 0 24px;
    margin: 48px auto;
  }
}

@media (max-width: 600px) {

  header {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 20px;
  }

  nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 0;
  }

  nav a {
    margin-left: 0;
    margin-right: 20px;
    font-size: 10px;
  }

  .hero img {
    height: 55vh;
  }

  .works-section {
    padding: 0 16px;
    margin: 36px auto;
  }

  .serie {
    margin-bottom: 28px;
  }

  .works {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .work img {
    height: 140px;
  }

  .bio.section {
    margin: 48px auto;
    padding: 0 16px;
    padding-top: 40px;
  }

  .bio-container {
    flex-direction: column;
    gap: 24px;
  }

  .bio-image img {
    width: 120px;
  }

  .bio-text p {
    font-size: 13px;
    line-height: 1.85;
  }

  .exhibiciones.section {
    padding: 0 16px;
    padding-top: 40px;
    margin: 48px auto;
  }

  .exhibicion {
    flex-direction: column;
    gap: 4px;
    margin-bottom: 20px;
  }

  .year {
    width: auto;
  }

  .contact.section {
    padding: 0 16px;
    padding-top: 40px;
    margin: 40px auto 80px;
  }

  .btn {
    display: block;
    text-align: center;
    margin: 0 0 10px 0;
    padding: 12px 20px;
  }

  #cerrar {
    top: 16px;
    right: 20px;
  }
}

.desc strong {
  font-weight: 500;
  color: #111;
  text-transform: none;
}

.desc em {
  font-style: italic;
  text-transform: none;
}

.desc, .desc strong, .desc em {
  text-transform: lowercase;
}

.desc strong {
  font-weight: 600;
  color: #111;
  text-transform: lowercase;
}

.desc strong {
  font-weight: 500;
  color: #111;
  text-transform: none;
}

.desc em {
  font-style: italic;
  text-transform: none;
}

.desc, .desc strong, .desc em {
  text-transform: lowercase;
}

.desc strong {
  font-weight: 600;
  color: #111;
  text-transform: lowercase;
}
