/* =============================================
   CLUB SANVI — identidad visual propia
   Azul naval + Rojo intenso + Blanco
============================================= */

:root {
  --cs-blue:       #083656;
  --cs-blue-dark:  #061e34;
  --cs-red:        #c41230;
  --cs-white:      #ffffff;
  --cs-light:      #f4f7fa;
  --cs-muted:      rgba(255,255,255,0.65);
  --cs-shadow:     0 20px 50px rgba(6, 21, 34, 0.18);
}

.club-sanvi-main {
  background: var(--cs-light);
  color: var(--cs-blue);
  overflow-x: hidden;
}

/* =============================================
   HERO — foto full-bleed, contenido en base
============================================= */

.club-hero {
  position: relative;
  min-height: 100vh;
  margin-top: 47px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  color: var(--cs-white);
}

.club-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.club-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

.club-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 60% 50% at 90% 80%, rgba(196, 18, 48, 0.18) 0%, transparent 65%),
    linear-gradient(
      180deg,
      rgba(6, 21, 34, 0.10) 0%,
      rgba(6, 21, 34, 0.38) 38%,
      rgba(6, 21, 34, 0.88) 78%,
      rgba(6, 21, 34, 0.97) 100%
    );
}

.club-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 60px 80px;
}

.club-title-row {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.club-logo {
  width: 110px;
  height: auto;
  flex-shrink: 0;
}

.club-tag {
  display: inline-block;
  margin: 16px 0;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(196, 18, 48, 0.22);
  border: 1px solid rgba(196, 18, 48, 0.45);
  color: #ffb3be;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 1.5px;
}

.club-hero-desc {
  max-width: 580px;
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  line-height: 1.7;
  color: rgba(255,255,255,0.82);
  margin-bottom: 28px;
}

.club-btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  background: var(--cs-red);
  color: var(--cs-white);
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  box-shadow: 0 10px 30px rgba(196, 18, 48, 0.40);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.club-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(196, 18, 48, 0.55);
}

.club-hero-redbar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 38%;
  height: 5px;
  background: var(--cs-red);
  z-index: 3;
}

/* =============================================
   STATS — marcador tipo scoreboard
============================================= */

.club-stats-wrap {
  background: var(--cs-blue-dark);
  border-top: 4px solid var(--cs-red);
  position: relative;
  overflow: hidden;
}

.club-stats-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 26px 26px;
  pointer-events: none;
}

.club-stats-wrap::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--cs-red) 0%, var(--cs-blue) 100%);
}

.club-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  position: relative;
  z-index: 1;
}

.club-stats > div {
  padding: 52px 40px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.07);
}

.club-stats > div:last-child {
  border-right: none;
}

.club-stats strong {
  display: block;
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  font-weight: 900;
  color: var(--cs-white);
  line-height: 1;
  margin-bottom: 10px;
  font-family: Arial, Helvetica, sans-serif;
  text-shadow: none;
}

.club-stats span {
  color: var(--cs-muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  display: block;
}

/* =============================================
   ABOUT — split foto izquierda | texto derecha
============================================= */

.club-about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 540px;
  background: var(--cs-blue-dark);
}

.club-about-photo {
  overflow: hidden;
}

.club-about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  will-change: transform;
  transition: transform 0.6s ease;
}

.club-about:hover .club-about-photo img {
  transform: scale(1.03);
}

.club-about-text {
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 4px solid var(--cs-red);
}

.club-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--cs-red);
  font-weight: 800;
  font-size: 0.66rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.club-kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--cs-red);
  flex-shrink: 0;
}

.club-about h2 {
  font-family: Arial, sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800;
  color: var(--cs-white);
  line-height: 1.15;
  margin-bottom: 22px;
}

.club-about-text p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.68);
  margin-bottom: 14px;
  max-width: 500px;
}

/* =============================================
   ACTIVIDADES — tarjetas foto-dominantes
============================================= */

.club-activities {
  padding-top: 90px;
  background: var(--cs-white);
  overflow: hidden;
  position: relative;
}

.club-activities-inner {
  max-width: none;
  margin: 0;
  position: relative;
  z-index: 1;
}

.club-section-head {
  max-width: 1200px;
  margin: 0 auto 60px;
  padding: 0 5%;
  text-align: center;
}

.club-section-head p {
  color: var(--cs-red);
  font-weight: 900;
  font-size: 0.66rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.club-section-head h2 {
  font-family: Arial, sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--cs-blue);
}

/* ---- Filas full-width ---- */
.ca-row {
  display: flex;
  min-height: 520px;
  width: 100%;
}

.ca-row:nth-child(even) {
  flex-direction: row-reverse;
}

.ca-photo {
  flex: 0 0 58%;
  overflow: hidden;
  position: relative;
}

.ca-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  will-change: transform;
  transition: transform 0.65s ease;
}

.ca-row:hover .ca-photo img {
  transform: scale(1.04);
}

.ca-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 72px;
  background: var(--cs-blue-dark);
  color: var(--cs-white);
  position: relative;
}

.ca-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--cs-red);
}

.ca-row:nth-child(even) .ca-content::before {
  left: auto;
  right: 0;
}

.ca-content .club-kicker {
  margin-bottom: 18px;
  font-family: "Apricot", 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  letter-spacing: 3px;
}

.ca-content .club-kicker::before {
  background: rgba(255, 255, 255, 0.35);
}

.ca-content h3 {
  font-family: Arial, sans-serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 800;
  color: var(--cs-white);
  margin-bottom: 18px;
  line-height: 1.1;
}

.ca-content p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.95rem;
  line-height: 1.75;
  max-width: 400px;
}

/* =============================================
   ÍCONOS DE SECCIÓN (patrón .dli de English)
============================================= */

.ca-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 0;
}

.ca-feature + .ca-feature {
  margin-top: 14px;
}

.ca-feature p {
  flex: 1;
  margin: 0;
  max-width: none;
}

.club-about-text .ca-feature {
  max-width: 500px;
}

.cs-dli {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--cs-red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 3px;
}

.cs-dli img {
  width: 16px;
  height: 16px;
  display: block;
  filter: brightness(0) invert(1);
}

/* =============================================
   SUB-NAVBAR CLUB SANVI
============================================= */

.club-subnav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 98;
  background: var(--cs-blue-dark);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 3px 18px rgba(6, 21, 34, 0.40);
}

.club-subnav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  position: relative;
}

.club-subnav-list {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
}

.club-subnav-btn {
  display: inline-block;
  padding: 7px 16px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--cs-white);
  background: var(--cs-red);
  border-radius: 4px;
  white-space: nowrap;
  transition: background 0.22s ease, opacity 0.22s ease;
  flex-shrink: 0;
}

.club-subnav-btn:hover {
  opacity: 0.85;
}

.club-subnav-link {
  display: block;
  padding: 14px 24px;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.52);
  text-decoration: none;
  border-bottom: 3px solid transparent;
  transition: color 0.22s ease, border-color 0.22s ease;
}

.club-subnav-link:hover,
.club-subnav-link.active {
  color: var(--cs-white);
  border-bottom-color: var(--cs-red);
}

.club-subnav-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  position: absolute;
  right: 40px;
  top: 0;
  bottom: 0;
}

.club-subnav-brand {
  display: none;
}

.club-hamburger {
  display: none;
}

/* =============================================
   GALERÍA — masonry con filtros
============================================= */

.club-gallery-section {
  background: var(--cs-blue-dark);
  padding: 100px 5% 100px;
  position: relative;
  overflow: hidden;
  border-top: 4px solid var(--cs-red);
}

.club-gallery-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 70% 40% at 50% 0%, rgba(196, 18, 48, 0.08) 0%, transparent 60%),
    radial-gradient(circle, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 100% 100%, 24px 24px;
  pointer-events: none;
}

/* Intro */
.cg-intro {
  max-width: 640px;
  margin: 0 auto 52px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.cg-intro .club-kicker {
  justify-content: center;
}

.cg-intro h2 {
  font-family: Arial, sans-serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  color: var(--cs-white);
  margin-bottom: 14px;
}

.cg-intro p {
  color: rgba(255,255,255,0.62);
  font-size: 0.96rem;
  line-height: 1.75;
}

/* Pills de filtro */
.cg-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

.cg-filter {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.58);
  padding: 9px 22px;
  border-radius: 999px;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.22s ease, border-color 0.22s ease,
              background 0.22s ease, box-shadow 0.22s ease;
}

.cg-filter:hover {
  color: var(--cs-white);
  border-color: rgba(255,255,255,0.42);
}

.cg-filter.active {
  background: var(--cs-red);
  border-color: var(--cs-red);
  color: var(--cs-white);
  box-shadow: 0 6px 24px rgba(196, 18, 48, 0.42);
}

/* Grid uniforme */
.cg-masonry {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  position: relative;
  z-index: 1;
  transition: opacity 0.28s ease;
}

.cg-masonry.cg-fading {
  opacity: 0;
}

/* Ítem de galería */
.cg-item {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
  cursor: zoom-in;
  background: var(--cs-blue);
  contain: layout style;
}

.cg-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  will-change: transform;
  transition: transform 0.55s ease;
}

.cg-item:hover img {
  transform: scale(1.03);
}

/* Overlay oscuro con badge */
.cg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(6, 21, 34, 0.88) 0%,
    rgba(6, 21, 34, 0.28) 36%,
    transparent 62%
  );
  opacity: 0;
  transition: opacity 0.28s ease;
  display: flex;
  align-items: flex-end;
  padding: 14px;
}

.cg-item:hover .cg-overlay {
  opacity: 1;
}

.cg-badge {
  display: inline-block;
  background: var(--cs-red);
  color: var(--cs-white);
  font-size: 0.60rem;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 13px;
  border-radius: 999px;
}

/* Lightbox navegación */
.lightbox-arr {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.22);
  color: #ffffff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.8rem;
  line-height: 1;
  z-index: 10;
  transition: background 0.2s ease;
}

.lightbox-arr:hover {
  background: rgba(255,255,255,0.22);
}

.lightbox-prev { left: 28px; }
.lightbox-next { right: 28px; }

/* =============================================
   CTA — fondo ROJO (diferenciador)
============================================= */

.club-cta {
  padding: 110px 24px;
  text-align: center;
  background: var(--cs-red);
  color: var(--cs-white);
  position: relative;
  overflow: hidden;
  border-top: 4px solid rgba(255,255,255,0.25);
}

.club-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 80% 60% at 50% 110%, rgba(6, 21, 34, 0.35) 0%, transparent 70%),
    radial-gradient(circle, rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 100% 100%, 28px 28px;
  pointer-events: none;
}

.club-cta::after {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  pointer-events: none;
}

.club-cta h2 {
  font-family: Arial, sans-serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 800;
  color: var(--cs-white);
  position: relative;
  z-index: 1;
}

.club-cta p {
  max-width: 620px;
  margin: 18px auto 0;
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.85);
  position: relative;
  z-index: 1;
}

.club-cta .club-btn {
  background: var(--cs-white);
  color: var(--cs-red);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.20);
  margin-top: 36px;
  position: relative;
  z-index: 1;
}

.club-cta .club-btn:hover {
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.30);
}

.club-cta-tagline {
  margin-top: 40px !important;
  font-family: Arial, sans-serif;
  font-style: italic;
  font-size: clamp(1.15rem, 2vw, 1.65rem) !important;
  color: rgba(255,255,255,0.60) !important;
  letter-spacing: 0.01em;
  position: relative;
  z-index: 1;
}

/* =============================================
   RESPONSIVE
============================================= */

@media (max-width: 1100px) {
  .club-hero-content {
    padding: 50px 40px 70px;
  }

  .club-about-text {
    padding: 60px 44px;
  }
}

@media (max-width: 900px) {
  .club-hero {
    min-height: 90vh;
    margin-top: 47px;
  }

  .club-subnav {
    top: 0;
  }

  .club-hero-content {
    padding: 40px 28px 60px;
  }

  .club-hero-redbar {
    width: 60%;
  }

  .club-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .club-stats > div {
    padding: 36px 20px;
  }

  .club-about {
    grid-template-columns: 1fr;
  }

  .club-about-photo {
    height: 340px;
  }

  .club-about-text {
    padding: 52px 28px;
    border-left: none;
    border-top: 4px solid var(--cs-red);
  }

  .ca-row {
    min-height: 420px;
  }

  .ca-content {
    padding: 48px 44px;
  }

  .cg-masonry {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .club-hero {
    margin-top: 43px;
  }

  .club-subnav {
    top: 0;
  }

  .club-subnav-inner {
    flex-direction: column;
    padding: 0;
    gap: 0;
    align-items: stretch;
    justify-content: flex-start;
    overflow: visible;
  }

  .club-subnav-bar {
    position: static;
    right: auto;
    top: auto;
    bottom: auto;
    justify-content: space-between;
    padding: 0 16px;
    height: 43px;
    flex-shrink: 0;
    gap: 8px;
  }

  .club-subnav-brand {
    display: block;
    flex: 1;
    color: rgba(255, 255, 255, 0.90);
    font-size: 0.70rem;
    font-weight: 900;
    letter-spacing: 2.5px;
    text-transform: uppercase;
  }

  .club-hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    margin-right: -8px;
  }

  .club-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--cs-white);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .club-hamburger[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .club-hamburger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }

  .club-hamburger[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .club-subnav-list {
    max-height: 0;
    overflow: hidden;
    flex-direction: column;
    align-items: stretch;
    transition: max-height 0.3s ease;
  }

  .club-subnav-inner.open .club-subnav-list {
    max-height: 300px;
  }

  .club-subnav-link {
    padding: 13px 20px;
    font-size: 0.68rem;
    letter-spacing: 1.5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    white-space: normal;
  }

  .club-subnav-link:hover,
  .club-subnav-link.active {
    border-bottom-color: rgba(255, 255, 255, 0.07);
    background: rgba(255, 255, 255, 0.07);
  }

  .club-subnav-btn {
    display: none;
    margin: 10px 16px 14px;
    text-align: center;
  }

  .club-subnav-inner.open .club-subnav-btn {
    display: block;
  }

  .club-hero-content {
    text-align: center;
    align-items: center;
    display: flex;
    flex-direction: column;
    padding: 36px 20px 56px;
  }

  .club-title-row {
    justify-content: center;
  }

  .club-logo {
    width: 80px;
  }

  .club-tag {
    align-self: center;
  }

  .club-hero-desc {
    text-align: center;
    max-width: 100%;
  }

  .club-hero-redbar {
    width: 100%;
  }

  .club-stats {
    grid-template-columns: 1fr;
  }

  .club-stats > div {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    padding: 32px 24px;
  }

  .club-stats > div:last-child {
    border-bottom: none;
  }

  .ca-row {
    flex-direction: column;
    min-height: auto;
  }

  .ca-row:nth-child(even) {
    flex-direction: column;
  }

  .ca-photo {
    flex: none;
    height: 300px;
  }

  .ca-content {
    padding: 36px 24px;
  }

  .ca-content::before,
  .ca-row:nth-child(even) .ca-content::before {
    width: 100%;
    height: 4px;
    top: 0;
    left: 0;
    right: auto;
  }

  .club-activities {
    padding-top: 65px;
  }

  .club-gallery-section {
    padding: 65px 18px 80px;
  }

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

  .cg-filter {
    padding: 8px 16px;
    font-size: 0.62rem;
  }

  .club-cta {
    padding: 80px 18px;
  }
}

@media (max-width: 480px) {
  .club-hero {
    margin-top: 43px;
    min-height: 75vh;
  }

  .club-subnav {
    top: 0;
  }

  .club-hero-content {
    padding: 28px 16px 44px;
  }

  .club-logo {
    width: 64px;
  }

  .club-about-photo {
    height: 240px;
  }

  .ca-photo {
    height: 260px;
  }

  .ca-content {
    padding: 32px 20px;
  }

  .cg-masonry {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }

  .cg-filter {
    padding: 7px 12px;
    font-size: 0.62rem;
    letter-spacing: 1px;
  }

  .club-cta {
    padding: 60px 16px;
  }

  .club-gallery-section {
    padding: 52px 14px 64px;
  }
}

@media (max-width: 360px) {
  .cg-masonry {
    grid-template-columns: 1fr;
  }

  .ca-content {
    padding: 28px 16px;
  }
}

/* =============================================
   REVEAL ANIMATION
============================================= */

.club-reveal {
  opacity: 0;
  transform: translateY(32px);
  will-change: transform, opacity;
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.club-reveal--scale {
  transform: scale(0.91) translateY(20px);
}

.club-reveal.active {
  opacity: 1;
  transform: none;
}

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

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.93);
  align-items: center;
  justify-content: center;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 24px;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 44px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.lightbox-close:hover {
  opacity: 1;
}
