/* ==========================================================================
   AiresShow — estilos
   ========================================================================== */

@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/poppins-400.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/poppins-500.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/poppins-600.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/poppins-700.woff2") format("woff2"); }

:root {
  --gris: #8a8a8a;
  --gris-claro: #d2d2d2;
  --negro: #000;
  --blanco: #fff;
  --rojo: #dd3333;
  --container: 1300px;
  --gutter: 70px;
  --header-h: 100px;
  --sticky-h: 65px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  line-height: 27px;
  font-weight: 400;
  color: var(--gris);
  background: var(--blanco);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .15s ease-out; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0; color: var(--negro); font-weight: 600; }
p { margin: 0; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ==========================================================================
   Header (escritorio)
   ========================================================================== */

.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 110;
  height: var(--header-h);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 70px 0 69px;
}

.logo { display: block; width: 211px; height: 27px; flex-shrink: 0; }
.logo img { width: 211px; height: 27px; }

.main-nav > ul { display: flex; height: 100%; }
.main-nav > ul > li { position: relative; }

.main-nav > ul > li > a {
  position: relative;
  display: flex;
  align-items: center;
  height: var(--header-h);
  padding: 0 15px;
  font-size: 16px;
  line-height: 20px;
  font-weight: 500;
  color: var(--blanco);
  cursor: pointer;
}

/* barra superior del ítem activo / hover */
.main-nav > ul > li > a::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 4px;
  background-color: transparent;
  transition: background-color .15s ease-out;
}
.main-nav > ul > li.is-active > a::before,
.main-nav > ul > li:hover > a::before { background-color: currentColor; }

/* Variante oscura (páginas de artistas y menú fijo) */
.site-header--dark .main-nav > ul > li > a,
.sticky-header .main-nav > ul > li > a { color: var(--negro); }

/* Submenú */
.main-nav .submenu {
  position: absolute;
  top: var(--header-h);
  left: -24px;
  min-width: 225px;
  padding: 10px 0;
  background: rgba(0, 0, 0, .9);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .15s ease-out, transform .15s ease-out, visibility .15s;
}
.main-nav li:hover > .submenu,
.main-nav li:focus-within > .submenu { opacity: 1; visibility: visible; transform: none; }

.main-nav .submenu a {
  display: block;
  margin: 0 35px;
  padding: 7px 4px;
  font-size: 14px;
  line-height: 17px;
  white-space: nowrap;
  color: var(--rojo);
  transition: color .15s ease-out, margin .15s ease-out;
}
.main-nav .submenu a:hover,
.main-nav .submenu a[aria-current="page"] { color: var(--blanco); }

/* ==========================================================================
   Header fijo (aparece al hacer scroll)
   ========================================================================== */

.sticky-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--sticky-h);
  background: var(--blanco);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .08);
  transform: translateY(-100%);
  transition: transform .3s;
}
.sticky-header.is-visible { transform: none; }
.sticky-header .header-inner { padding: 0 70px 0 71px; }
.sticky-header .main-nav > ul > li > a { height: var(--sticky-h); }
.sticky-header .main-nav .submenu { top: var(--sticky-h); }

/* ==========================================================================
   Header mobile
   ========================================================================== */

.mobile-header { display: none; }

.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 23px;
  height: var(--header-h);
  padding: 0;
  border: 0;
  background: none;
  color: var(--negro);
  cursor: pointer;
}
.menu-toggle svg { width: 13px; height: 13px; }

.mobile-nav {
  display: none;
  background: var(--blanco);
  padding: 0 45px 10px;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
  border-top: 1px solid #eaeaea;
}
.mobile-nav.is-open { display: block; }

.mobile-nav a,
.mobile-nav .submenu-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 9px 0;
  font: inherit;
  font-size: 13px;
  line-height: 17px;
  color: #8d8d8d;
  text-align: left;
  background: none;
  border: 0;
  border-bottom: 1px solid #eaeaea;
  cursor: pointer;
}
.mobile-nav a:hover,
.mobile-nav a[aria-current="page"],
.mobile-nav .submenu-toggle:hover { color: var(--negro); }

.mobile-nav .submenu-toggle svg { width: 10px; height: 10px; transition: transform .2s; }
.mobile-nav .submenu-toggle[aria-expanded="true"] svg { transform: rotate(90deg); }
.mobile-nav .submenu { display: none; padding-left: 15px; }
.mobile-nav .submenu.is-open { display: block; }

/* ==========================================================================
   Hero (home)
   ========================================================================== */

.hero {
  position: relative;
  height: 100vh;
  min-height: 500px;
  overflow: hidden;
  background: #d8d7d8;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url("../img/hero-chiquitin.jpg") center center / cover no-repeat;
  transform-origin: center center;
  animation: panzoom 13s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes panzoom {
  from { transform: scale(1); }
  to   { transform: scale(1.1); }
}

/* Pantallas verticales (celular / tablet parada): mostrar el collage completo
   en lugar de recortarlo a pantalla completa. 3/2 = proporción de la imagen. */
@media (max-aspect-ratio: 1/1) {
  .hero { height: auto; min-height: 0; aspect-ratio: 3 / 2; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg { animation: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   Sobre nosotros
   ========================================================================== */

.about {
  background: var(--negro);
  padding: 144px 0 128px; /* 112 + 32 de espacio superior */
}

.about-title {
  margin: 0 0 32px;
  font-size: 38px;
  line-height: 27px;
  font-weight: 600;
  color: var(--blanco);
  text-align: center;
}

.about-cols {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 30px;
}

.about-col h2 {
  font-size: 40px;
  line-height: 46px;
  font-weight: 600;
}

.separator {
  display: block;
  width: 22px;
  border-bottom: 4px solid currentColor;
  margin: 27px 0 10px;
}

.about-col p { font-size: 15px; line-height: 27px; color: var(--gris); }

.c-management { color: #e023d3; }
.c-distribucion { color: #8b31d6; }
.c-equipo { color: #e8e535; }

/* ==========================================================================
   Galería
   ========================================================================== */

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.gallery a {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease-out;
}
.gallery a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background-color .3s ease-out;
}
.gallery a:hover::after { background: rgba(0, 0, 0, .3); }
.gallery a:hover img { transform: scale(1.04); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, .9);
  padding: 40px;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; width: auto; height: auto; }
.lightbox button {
  position: absolute;
  border: 0;
  background: none;
  color: var(--blanco);
  cursor: pointer;
  padding: 10px;
  opacity: .8;
}
.lightbox button:hover { opacity: 1; }
.lightbox button svg { width: 28px; height: 28px; display: block; }
.lightbox-close { top: 15px; right: 15px; }
.lightbox-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 10px; top: 50%; transform: translateY(-50%); }

/* ==========================================================================
   Página de artista
   ========================================================================== */

.artist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--blanco);
}

.artist-photo img { width: 100%; height: auto; }

.artist-info { padding: 17.5% 14% 0 calc(10% + 14px); }

.artist-tags {
  margin: 0 0 5px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  color: var(--gris);
}

.artist-info h1 {
  font-size: 40px;
  line-height: 46px;
  font-weight: 600;
  color: var(--negro);
}

.artist-info .separator {
  width: 22px;
  border-bottom: 3px solid var(--negro);
  margin: 28px 0;
}

.artist-info p { margin: 0 0 25px; }

.artist-info h2 {
  margin: 57px 0 11px;
  font-size: 30px;
  line-height: 34px;
  font-weight: 600;
}

.social-icons { display: flex; align-items: center; flex-wrap: wrap; gap: 0 15px; }
.social-icons a { display: inline-flex; color: var(--gris); transition: color .15s ease-out; }
.social-icons a:hover { color: var(--negro); }
.social-icons svg { width: 20px; height: 20px; fill: currentColor; }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  position: relative;
  z-index: 100;
  background: var(--negro);
  color: var(--gris);
  text-align: center;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 30px;
  padding: 132px 0 122px;
}

.footer-brand {
  display: block;
  margin: 0 0 15px;
  font-size: 38px;
  line-height: 46px;
  font-weight: 700;
  color: var(--blanco);
}

.footer-address { margin: 0 0 10px; color: var(--gris-claro); }

.footer-phone {
  margin: 0 0 18px;
  font-size: 30px;
  line-height: 30px;
  color: var(--blanco);
}
.footer-phone a:hover { color: var(--gris-claro); }

.footer-mail { margin: 0 0 18px; }
.footer-mail a { color: var(--gris-claro); }
.footer-mail a:hover { color: var(--blanco); }

.footer-social { display: flex; justify-content: center; gap: 20px; }
.footer-social a { display: inline-flex; color: var(--gris); }
.footer-social a:hover { color: var(--blanco); }
.footer-social svg { width: 23px; height: 23px; fill: currentColor; }

.footer-menu { padding-top: 6px; }
.footer-menu li { padding-bottom: 12px; }
.footer-menu li li:last-child { padding-bottom: 0; }
.footer-menu li ul { padding-top: 0; }
.footer-menu .footer-menu-label,
.footer-menu a { color: var(--gris-claro); }
.footer-menu a:hover { color: var(--blanco); }

/* ==========================================================================
   Volver arriba
   ========================================================================== */

.back-to-top {
  position: fixed;
  right: 19px;
  bottom: 35px;
  z-index: 10000;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #3b3b3b;
  border-radius: 50%;
  color: #3b3b3b;
  background: transparent;
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s cubic-bezier(.23, 1, .32, 1), background-color .15s ease-out, color .15s ease-out, visibility .4s;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: #3b3b3b; color: var(--blanco); }
.back-to-top svg { width: 12px; height: 12px; fill: currentColor; margin-top: -2px; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1440px) {
  .artist-info { padding: 17.5% 14% 0 calc(10% + 14px); }
}

@media (min-width: 1441px) {
  .artist-info { padding: 29.5% 20% 0 calc(12% + 14px); }
}

@media (max-width: 1280px) {
  .artist-info { padding: 13% 13% 0 calc(9% + 14px); }
}

@media (max-width: 1024px) {
  :root { --gutter: 45px; }

  .site-header,
  .sticky-header { display: none; }

  .mobile-header {
    display: block;
    position: sticky;
    top: 0;
    z-index: 110;
    background: var(--blanco);
    transition: transform .3s;
  }
  .mobile-header.is-hidden { transform: translateY(-100%); }

  .mobile-header-inner {
    position: relative;
    height: var(--header-h);
    padding: 0 45px;
    display: flex;
    align-items: center;
  }
  .mobile-header .logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }

  .about-cols { grid-template-columns: 1fr; row-gap: 40px; }

  .gallery { grid-template-columns: repeat(2, 1fr); }

  .artist { grid-template-columns: 1fr; }
  .artist-info { padding: 10% 13% 10.2% 8%; }

  .footer-cols { grid-template-columns: 1fr; row-gap: 30px; }
  .footer-cols > :empty { display: none; }
}

@media (max-width: 768px) {
  .about-title { font-size: 19px; line-height: 27px; }
  .about-col h2,
  .artist-info h1 { font-size: 34px; line-height: 34px; }
}

@media (max-width: 600px) {
  .gallery { grid-template-columns: 1fr; }
  .artist-info { padding: 20% 12% 20% 10%; }
  .lightbox { padding: 50px 10px; }
}
