/* Willy Malpartida — País Para Todos | Loreto 2026 */
:root {
  --yellow: #ffce00;
  --yellow-deep: #e6b800;
  --yellow-soft: #ffe566;
  --black: #0a0a0a;
  --ink: #141414;
  --charcoal: #1c1c1c;
  --muted: #6b6b6b;
  --white: #ffffff;
  --cream: #fff8e0;
  --road: #222;
  --whatsapp: #25d366;
  --radius: 4px;
  --max: 1120px;
  --nav-h: 72px;
  --font-display: "Bebas Neue", Impact, sans-serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
  --font-script: "Caveat", cursive;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img,
video {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* —— NAV —— */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(10, 10, 10, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--yellow);
  transition: background 0.3s;
}

.nav {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  min-width: 0;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
}

.nav-brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 8px;
  flex-shrink: 0;
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  min-width: 0;
  overflow: hidden;
}

.nav-brand-text strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  color: var(--yellow);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-brand-text span {
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

.nav-links a {
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--yellow);
}

.nav-links a svg {
  flex-shrink: 0;
  opacity: 0.9;
}

.nav-home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.nav-home svg {
  display: block;
}

.nav-game {
  display: inline-flex !important;
  align-items: center;
  gap: 0.4rem;
  background: var(--yellow) !important;
  color: var(--black) !important;
  padding: 0.45rem 0.9rem !important;
  border-radius: 6px;
  font-weight: 800 !important;
  font-size: 0.85rem !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 2px solid var(--yellow);
  box-shadow: 0 0 0 0 rgba(255, 206, 0, 0.5);
  animation: gamePulse 2s ease-in-out infinite;
}

.nav-game:hover,
.nav-game.active {
  background: var(--yellow-soft) !important;
  color: var(--black) !important;
  filter: brightness(1.05);
}

.nav-game svg {
  opacity: 1 !important;
  color: var(--black);
}

.nav-game--mobile {
  display: none !important;
  margin: 0;
  flex-shrink: 0;
  padding: 0.4rem 0.65rem !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.02em;
  gap: 0.3rem;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.45rem;
  flex-shrink: 0;
}

@keyframes gamePulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 206, 0, 0.45);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(255, 206, 0, 0);
  }
}

.nav-mobile .nav-home {
  border-bottom: 1px solid rgba(255, 206, 0, 0.15);
  padding: 0.65rem 0;
  width: fit-content;
}

.nav-mobile .nav-game {
  width: fit-content;
  margin: 0.35rem 0 0.5rem;
  border-bottom: none !important;
  padding: 0.65rem 1.1rem !important;
}

.nav-cta {
  display: none;
  align-items: center;
  gap: 0.4rem;
  background: var(--whatsapp);
  color: var(--white) !important;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
}

.nav-cta:hover {
  filter: brightness(1.08);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--yellow);
  transition: 0.25s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 900px) {
  .nav {
    gap: 1rem;
  }

  .nav-brand {
    flex: 0 0 auto;
    overflow: visible;
    gap: 0.75rem;
  }

  .nav-brand img {
    width: 48px;
    height: 48px;
  }

  .nav-brand-text strong {
    font-size: 1.35rem;
  }

  .nav-brand-text span {
    font-size: 0.7rem;
    letter-spacing: 0.06em;
  }

  .nav-links {
    display: flex;
  }

  .nav-cta {
    display: inline-flex;
  }

  .nav-toggle {
    display: none;
  }

  .nav-game--mobile {
    display: none !important;
  }
}

@media (max-width: 899px) {
  .container.nav {
    width: min(100% - 1rem, var(--max));
  }

  .nav-brand-text span {
    display: none;
  }

  .nav-brand-text strong {
    font-size: 0.95rem;
    max-width: 42vw;
  }

  .nav-game--mobile {
    display: inline-flex !important;
  }
}

@media (max-width: 380px) {
  .nav-brand-text {
    display: none;
  }

  .nav-game--mobile {
    padding: 0.4rem 0.5rem !important;
  }

  .nav-game--mobile .nav-game-label {
    display: none;
  }
}

.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: var(--black);
  padding: 1.5rem;
  flex-direction: column;
  gap: 1rem;
  border-bottom: 2px solid var(--yellow);
  z-index: 99;
}

.nav-mobile.open {
  display: flex;
}

.nav-mobile a {
  color: var(--white);
  font-weight: 600;
  font-size: 1.1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 206, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.nav-mobile a svg {
  flex-shrink: 0;
  color: var(--yellow);
}

.nav-mobile a:last-child {
  border: none;
  background: var(--whatsapp);
  text-align: center;
  padding: 0.85rem;
  border-radius: 8px;
  margin-top: 0.5rem;
}

/* —— HERO —— */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--nav-h) + 2rem) 0 3.5rem;
  color: var(--white);
  overflow: hidden;
  background: var(--black);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transform: scale(1.05);
  animation: heroKen 18s ease-in-out infinite alternate;
}

@keyframes heroKen {
  from {
    transform: scale(1.05) translate(0, 0);
  }
  to {
    transform: scale(1.12) translate(-2%, -1%);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0.55) 0%, rgba(10, 10, 10, 0.25) 35%, rgba(10, 10, 10, 0.92) 100%),
    linear-gradient(90deg, rgba(10, 10, 10, 0.75) 0%, transparent 55%);
  z-index: 1;
}

.hero-stripes {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.12;
  background: repeating-linear-gradient(
    -35deg,
    transparent,
    transparent 18px,
    var(--yellow) 18px,
    var(--yellow) 20px
  );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.hero-party {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
  animation: fadeUp 0.8s ease both;
}

.hero-party img {
  width: 40px;
  height: 40px;
  border-radius: 6px;
}

.hero-party span {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--yellow);
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 12vw, 7.5rem);
  line-height: 0.9;
  letter-spacing: 0.02em;
  color: var(--white);
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
  animation: fadeUp 0.8s 0.1s ease both;
}

.hero-brand em {
  display: block;
  font-style: normal;
  color: var(--yellow);
}

.hero-role {
  margin-top: 0.75rem;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  animation: fadeUp 0.8s 0.2s ease both;
}

.hero-role .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  background: var(--yellow);
  color: var(--black);
  font-family: var(--font-display);
  font-size: 1.4rem;
  border-radius: 4px;
  margin-right: 0.4rem;
  vertical-align: middle;
}

.hero-slogan {
  margin-top: 1.25rem;
  font-family: var(--font-script);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--yellow);
  line-height: 1.2;
  animation: fadeUp 0.8s 0.3s ease both;
}

.hero-lead {
  margin-top: 0.75rem;
  max-width: 34rem;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  animation: fadeUp 0.8s 0.35s ease both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
  animation: fadeUp 0.8s 0.45s ease both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.5rem;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 0.2s, background 0.2s, color 0.2s, border-color 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--yellow);
  color: var(--black);
}

.btn-primary:hover {
  background: var(--yellow-soft);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-ghost:hover {
  border-color: var(--yellow);
  color: var(--yellow);
}

.btn-dark {
  background: var(--black);
  color: var(--yellow);
}

.btn-dark:hover {
  background: var(--charcoal);
}

.btn-wa {
  background: var(--whatsapp);
  color: var(--white);
}

/* —— SECTIONS —— */
.section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.section-head {
  margin-bottom: clamp(2rem, 5vw, 3rem);
  max-width: 40rem;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--yellow-deep);
  margin-bottom: 0.6rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--black);
}

.section-title span {
  color: var(--yellow-deep);
  -webkit-text-stroke: 1px var(--black);
}

.section-lead {
  margin-top: 1rem;
  font-size: 1.05rem;
  color: var(--muted);
}

.section--dark {
  background: var(--black);
  color: var(--white);
}

.section--dark .section-title {
  color: var(--white);
}

.section--dark .section-label {
  color: var(--yellow);
}

.section--dark .section-lead {
  color: rgba(255, 255, 255, 0.7);
}

.section--yellow {
  background: var(--yellow);
  color: var(--black);
}

.section--yellow .section-label {
  color: var(--black);
  opacity: 0.7;
}

.section--cream {
  background:
    linear-gradient(135deg, #fffdf5 0%, #fff3c4 50%, #ffe566 100%);
  position: relative;
}

.section--cream::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.07;
  background: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 40px,
    var(--black) 40px,
    var(--black) 41px
  );
  pointer-events: none;
}

/* —— INTEGRIDAD —— */
.integridad-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 800px) {
  .integridad-grid {
    grid-template-columns: 1fr 1.05fr;
    gap: 3.5rem;
  }
}

.integridad-photo {
  position: relative;
}

.integridad-photo img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border: 4px solid var(--yellow);
  box-shadow: 12px 12px 0 var(--black);
}

.integridad-badge {
  position: absolute;
  bottom: -1rem;
  left: 1rem;
  right: 1rem;
  background: var(--black);
  color: var(--yellow);
  padding: 1rem 1.25rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  text-align: center;
}

.pillars {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.pillar {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.pillar-icon {
  width: 44px;
  height: 44px;
  background: var(--yellow);
  color: var(--black);
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 1.1rem;
  border-radius: 50%;
  flex-shrink: 0;
}

.pillar h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: 0.03em;
  margin-bottom: 0.25rem;
}

.pillar p {
  font-size: 0.95rem;
  color: var(--muted);
}

/* —— VIDEO —— */
.video-reel {
  display: flex;
  justify-content: center;
}

.video-wrap {
  position: relative;
  width: min(100%, 380px);
  border: 4px solid var(--yellow);
  background: var(--black);
  overflow: hidden;
  box-shadow: 16px 16px 0 rgba(255, 206, 0, 0.35);
}

.video-wrap video {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: contain;
  background: #000;
  display: block;
}

/* —— VISIÓN —— */
.vision-banner {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  line-height: 1.05;
  letter-spacing: 0.02em;
  max-width: 50rem;
}

.vision-banner em {
  font-style: normal;
  background: var(--black);
  color: var(--yellow);
  padding: 0 0.25em;
}

.principios {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 2rem;
}

.principio {
  background: var(--black);
  color: var(--yellow);
  padding: 0.55rem 1rem;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* —— PLAN / EJES —— */
.ejes {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .ejes {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 980px) {
  .ejes {
    grid-template-columns: repeat(3, 1fr);
  }
}

.eje {
  background: var(--white);
  border: 2px solid var(--black);
  padding: 1.35rem 1.25rem;
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
  cursor: default;
}

.eje:hover {
  transform: translateY(-4px);
  box-shadow: 6px 6px 0 var(--black);
  background: var(--yellow);
}

.eje-num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--black);
  line-height: 1;
  margin-bottom: 0.4rem;
  opacity: 0.35;
}

.eje:hover .eje-num {
  opacity: 1;
}

.eje h3 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: 0.03em;
  margin-bottom: 0.5rem;
  line-height: 1;
}

.eje ul {
  display: grid;
  gap: 0.35rem;
}

.eje li {
  font-size: 0.88rem;
  padding-left: 1rem;
  position: relative;
  color: var(--ink);
}

.eje li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--black);
  font-weight: 900;
}

.plan-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
}

/* —— CAPIBARA —— */
.capibara-layout {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 860px) {
  .capibara-layout {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.capibara-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 0.75rem;
}

.capibara-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 3px solid var(--yellow);
}

.capibara-gallery img:first-child {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 10;
  min-height: 0;
  object-position: center;
}

.capibara-gallery img:nth-child(2),
.capibara-gallery img:nth-child(3) {
  aspect-ratio: 3 / 4;
}

.capibara-copy .tagline {
  font-family: var(--font-script);
  font-size: 1.8rem;
  color: var(--yellow);
  margin: 1rem 0;
}

.capibara-copy p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1rem;
}

.capibara-facts {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.capibara-facts li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-weight: 600;
}

.capibara-facts li::before {
  content: "★";
  color: var(--yellow);
  flex-shrink: 0;
}

/* —— GALERÍA —— */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (min-width: 700px) {
  .gallery {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
  }

  .gallery a:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
  }

  .gallery a:nth-child(4) {
    grid-column: span 2;
  }
}

.gallery a {
  display: block;
  overflow: hidden;
  border: 3px solid var(--black);
  height: 100%;
  min-height: 160px;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery a:hover img {
  transform: scale(1.06);
}

/* —— WHATSAPP CTA —— */
.wa-block {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 800px) {
  .wa-block {
    grid-template-columns: 1fr 1fr;
  }
}

.wa-block img {
  width: 100%;
  border: 4px solid var(--black);
  box-shadow: 10px 10px 0 var(--black);
}

.wa-block h2 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 0.95;
  margin-bottom: 1rem;
}

.wa-block p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

/* —— FOOTER —— */
.site-footer {
  background: var(--black);
  color: var(--white);
  padding: 3rem 0 2rem;
  border-top: 4px solid var(--yellow);
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 700px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.footer-brand {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.footer-brand img {
  width: 64px;
  height: 64px;
  border-radius: 8px;
}

.footer-brand strong {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--yellow);
  letter-spacing: 0.03em;
  display: block;
}

.footer-brand p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 0.35rem;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.06em;
  color: var(--yellow);
  margin-bottom: 0.85rem;
}

.footer-col a {
  display: block;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.92rem;
  margin-bottom: 0.45rem;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--yellow);
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 206, 0, 0.2);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a {
  color: var(--yellow);
  font-weight: 700;
  transition: color 0.2s;
}

.footer-bottom a:hover {
  color: var(--white);
}

/* —— FLOATING WA —— */
.float-wa {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 90;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: white;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s;
  animation: pulseWa 2.5s ease infinite;
}

.float-wa:hover {
  transform: scale(1.08);
}

.float-wa svg {
  width: 30px;
  height: 30px;
}

@keyframes pulseWa {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(37, 211, 102, 0);
  }
}

/* —— REVEAL —— */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* Lightbox simple */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.92);
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-height: 90vh;
  max-width: 95vw;
  object-fit: contain;
  border: 3px solid var(--yellow);
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: none;
  border: none;
  color: var(--yellow);
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
}
