@font-face {
  font-family: "Bebas Neue";
  src: url("fonts/BebasNeue-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Outfit";
  src: url("fonts/Outfit.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0c0a09;
  --ink: #120f0d;
  --rock: #5e5854;
  --gold: #dea117;
  --gold-2: #e9aa12;
  --amber: #fe9102;
  --white: #f3f1ed;
  --muted: #c8c4bc;
  --line: rgba(222, 161, 23, 0.4);
  --font-display: "Bebas Neue", Impact, "Arial Narrow", sans-serif;
  --font-body: "Outfit", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--white);
  background: var(--bg);
  min-height: 100vh;
  line-height: 1.45;
  font-weight: 400;
}

body.sin-scroll {
  overflow: hidden;
}

.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-color: var(--bg);
}

.bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("img/fondo-mobile.webp");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  opacity: 0.32;
}

.bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(12, 10, 9, 0.42);
}

@media (min-width: 700px) {
  .bg::before {
    background-image: url("img/fondo.webp");
    background-position: center top;
    background-size: 100% auto;
  }
}

.page {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 42rem;
  margin: 0 auto;
  padding: 1.6rem 1.1rem 3.25rem;
}

.hero {
  text-align: center;
  margin-bottom: 1.35rem;
}

.logo {
  display: block;
  width: min(70vw, 15.75rem);
  height: auto;
  margin: 0 auto 0.6rem;
}

.handle {
  font-family: var(--font-display);
  font-size: 1.9rem;
  letter-spacing: 0.08em;
  line-height: 1;
}

.handle a {
  color: var(--white);
  text-decoration: none;
}

.handle a:hover,
.handle a:focus-visible {
  color: var(--gold);
}

.tagline {
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0.4rem 0 1.15rem;
}

.socials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.78rem 0.7rem;
  border: 1px solid var(--gold);
  background: rgba(12, 10, 9, 0.78);
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.btn svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: currentColor;
  flex: 0 0 auto;
}

.btn:hover,
.btn:focus-visible {
  background: var(--gold);
  color: var(--ink);
}

.banner {
  margin: 0;
  border: none;
  line-height: 0;
  background: #000;
}

.banner img {
  display: block;
  width: 100%;
  height: auto;
}

.page-public {
  padding: 0 0 3.25rem;
}

.page-public .hero {
  margin: 0 0 1.15rem;
  text-align: center;
}

.page-public .banner {
  margin: 0 0 1rem;
  border: none;
}

.page-public .socials,
.page-public .seccion,
.page-public .cta,
.page-public .pie {
  margin-left: 1.1rem;
  margin-right: 1.1rem;
}

.page-public .seccion {
  margin-bottom: 0.65rem;
}

.page-public .cta {
  margin-top: 1.6rem;
  margin-bottom: 2.2rem;
}

.seccion-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--gold);
  background: rgba(12, 10, 9, 0.88);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.seccion-btn:hover,
.seccion-btn:focus-visible {
  color: var(--gold);
}

.seccion-chevron {
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.25s ease;
  flex: 0 0 auto;
}

.seccion-btn[aria-expanded="true"] .seccion-chevron {
  transform: rotate(225deg);
}

.seccion-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.28s ease;
}

.seccion-panel-inner {
  overflow: hidden;
}

.seccion.is-open .seccion-panel {
  grid-template-rows: 1fr;
}

.seccion.is-open .seccion-panel-inner {
  padding-top: 0.7rem;
}

.seccion h2 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 11vw, 3.5rem);
  color: var(--gold);
  letter-spacing: 0.07em;
  line-height: 0.9;
  text-align: center;
  font-weight: 400;
}

.seccion h2::after {
  content: "";
  display: block;
  width: 2.75rem;
  height: 2px;
  background: var(--gold);
  margin: 0.5rem auto 0;
}

.seccion-desc {
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0.45rem 0 1.05rem;
}

.galeria,
.motions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}

.item {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: #141110;
  cursor: pointer;
}

.item img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  vertical-align: middle;
}

.galeria-logos .slot,
.galeria-flyers .slot,
.motions .slot {
  aspect-ratio: 4 / 5;
}

.slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.7rem 0.55rem;
  text-align: center;
  border: 1px dashed rgba(222, 161, 23, 0.75);
  border-radius: 0.9rem;
  background: rgba(18, 15, 13, 0.72);
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.03em;
  line-height: 1.35;
}

.slot strong {
  display: block;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  font-weight: 400;
}

.motions {
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

.motions .slot {
  min-height: 18.5rem;
  aspect-ratio: auto;
}

.motion-embed {
  overflow: hidden;
  background: rgba(12, 10, 9, 0.4);
}

.motion-embed .instagram-media,
.motion-embed iframe {
  max-width: 100% !important;
  min-width: 0 !important;
  width: 100% !important;
  margin: 0 auto !important;
}

.cta {
  text-align: center;
  margin: 2.1rem 0 2.2rem;
}

.cta-kicker {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 7vw, 2.15rem);
  letter-spacing: 0.05em;
  line-height: 1;
  margin-bottom: 0.95rem;
}

.btn-cta {
  width: 100%;
  padding: 0.95rem 1rem;
  background: var(--gold);
  color: var(--ink);
  border: 1px solid var(--gold);
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  position: relative;
  overflow: hidden;
}

.page-public .seccion-btn::after,
.page-public .btn-cta::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 45%;
  height: 100%;
  background: linear-gradient(
    115deg,
    transparent 0%,
    rgba(255, 255, 255, 0) 35%,
    rgba(255, 255, 255, 0.22) 50%,
    rgba(255, 255, 255, 0) 65%,
    transparent 100%
  );
  transform: translateX(-180%) skewX(-18deg);
  animation: luz-barrido 5.8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes luz-barrido {
  0%, 62% { transform: translateX(-180%) skewX(-18deg); }
  82%, 100% { transform: translateX(280%) skewX(-18deg); }
}

.btn-cta:hover,
.btn-cta:focus-visible {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--ink);
}

.cta-ig {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  width: auto;
  height: auto;
  margin: 1rem auto 0;
  color: var(--gold);
  text-decoration: none;
}

.cta-ig svg {
  width: 2.15rem;
  height: 2.15rem;
  fill: currentColor;
  display: block;
  animation: ig-rebote 2.2s ease-in-out infinite;
  transform-origin: center bottom;
}

.cta-ig-text {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--gold);
}

.cta-ig:hover,
.cta-ig:focus-visible {
  color: var(--gold-2);
}

.cta-ig:hover .cta-ig-text,
.cta-ig:focus-visible .cta-ig-text {
  color: var(--gold-2);
}

@keyframes ig-rebote {
  0%, 100% { transform: translateY(0); }
  40% { transform: translateY(-0.28rem); }
  58% { transform: translateY(-0.08rem); }
}

@media (prefers-reduced-motion: reduce) {
  .page-public .seccion-btn::after,
  .page-public .btn-cta::after,
  .cta-ig svg {
    animation: none;
  }
}

.pie {
  text-align: center;
  color: var(--rock);
  font-size: 0.8rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
}

.pie p + p {
  margin-top: 0.25rem;
}

.pie a {
  color: var(--white);
  text-decoration: none;
}

.pie a:hover,
.pie a:focus-visible {
  color: var(--gold);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 3.2rem 1.1rem 1.4rem;
  background: rgba(8, 6, 5, 0.94);
  cursor: pointer;
}

.lightbox[hidden] {
  display: none !important;
}

.lightbox img {
  max-width: min(96vw, 56rem);
  max-height: 82vh;
  object-fit: contain;
  border: 1px solid var(--line);
  cursor: default;
}

.lightbox-cap {
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

.lightbox-cerrar {
  position: absolute;
  top: 0.7rem;
  right: 0.8rem;
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--gold);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-cerrar:hover,
.lightbox-cerrar:focus-visible {
  background: var(--gold);
  color: var(--ink);
}

@media (min-width: 640px) {
  .page {
    padding: 2.1rem 1.25rem 3.6rem;
  }

  .page-public {
    padding: 0 0 3.6rem;
  }

  .page-public .socials,
  .page-public .seccion,
  .page-public .cta,
  .page-public .pie {
    margin-left: 1.25rem;
    margin-right: 1.25rem;
  }

  .galeria,
  .motions {
    gap: 0.75rem;
  }

  .slot {
    font-size: 0.72rem;
  }
}

@media (min-width: 900px) {
  .page {
    max-width: 44rem;
  }
}
