/* ══════════════════════════════════════════════
   OPEN MIND — style.css
   Palette: Navy #004BCA | Pink #E8175D | White #FFFFFF
   Fonts: Barlow Condensed (display) + DM Sans (body)
   ══════════════════════════════════════════════ */

/* ── CSS Variables ─────────────────────────────── */
:root {
  --navy:        #004BCA;
  --navy-dark:   #001A57;
  --navy-mid:    #003EB5;
  --pink:        #E8175D;
  --pink-hover:  #FF2E6C;
  --white:       #FFFFFF;
  --off-white:   #F6F7FB;
  --text-muted:  rgba(0,75,202,0.58);
  --radius-card: 1.5rem;
  --shadow-card: 0 4px 40px rgba(0,75,202,0.09);
  --shadow-hover: 0 20px 60px rgba(0,75,202,0.16);
  --transition:  all 0.35s cubic-bezier(.4,0,.2,1);
}

/* ── Reset & base ─────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--navy);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* Custom scrollbar */
::-webkit-scrollbar        { width: 5px; }
::-webkit-scrollbar-track  { background: var(--navy-dark); }
::-webkit-scrollbar-thumb  { background: var(--pink); border-radius: 10px; }

/* ── Typography helpers ────────────────────────── */
.font-display { font-family: 'Barlow Condensed', sans-serif; }
.label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--pink);
}

/* ── Skip link ─────────────────────────────────── */
.skip-link {
  position: absolute; top: -50px; left: 1rem;
  background: var(--pink); color: #fff;
  padding: .5rem 1rem; border-radius: 0 0 .5rem .5rem;
  font-size: .85rem; font-weight: 600;
  transition: top .3s; z-index: 9999;
}
.skip-link:focus { top: 0; }

/* ═══════════════════════════════════
   NAVBAR
═══════════════════════════════════ */
#navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 900;
  padding: 1.4rem 2rem;
  transition: var(--transition);
}
#navbar.scrolled {
  padding: .85rem 2rem;
  background: rgba(0,26,87,.96);
  backdrop-filter: blur(14px);
  box-shadow: 0 4px 30px rgba(0,0,0,.25);
}

.nav-logo img { height: 50px; width: auto; filter: brightness(1.1) contrast(1.05); }

/* Desktop nav links */
.nav-links { list-style: none; display: flex; align-items: center; gap: 2.2rem; }
.nav-links > li { position: relative; }
.nav-links > li > a {
  color: rgba(255,255,255,.82);
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: .03em;
  transition: color .25s;
  padding: .4rem 0;
  display: flex; align-items: center; gap: .25rem;
}
.nav-links > li > a:hover { color: #fff; }
.nav-links > li > a svg { transition: transform .3s; }
.nav-links > li:hover > a svg { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute; top: calc(100% + .75rem); left: 50%;
  transform: translateX(-50%) translateY(-8px) scale(.97);
  background: #fff;
  border-radius: 1rem;
  padding: .6rem 0;
  min-width: 230px;
  box-shadow: 0 20px 60px rgba(0,0,0,.15);
  opacity: 0; visibility: hidden;
  transition: opacity .28s, transform .28s, visibility .28s;
  transform-origin: top center;
  list-style: none;
}
.nav-links > li:hover .dropdown,
.nav-links > li:focus-within .dropdown {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0) scale(1);
}
.dropdown a {
  display: block;
  padding: .55rem 1.4rem;
  color: var(--navy);
  font-size: .875rem;
  font-weight: 500;
  transition: color .2s, padding-left .2s, background .2s;
}
.dropdown a:hover {
  color: var(--pink);
  padding-left: 1.8rem;
  background: rgba(232,23,93,.04);
}

/* Hamburger */
#menu-toggle {
  background: none; border: none; cursor: pointer;
  display: none; flex-direction: column; gap: 5px;
  padding: .4rem; z-index: 1001; position: relative;
}
.ham-line {
  width: 26px; height: 2px;
  background: #fff; border-radius: 4px;
  transition: var(--transition);
  display: block;
}
#menu-toggle.active .ham-line:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
#menu-toggle.active .ham-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
#menu-toggle.active .ham-line:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ═══════════════════════════════════
   MOBILE MENU
═══════════════════════════════════ */
#mobile-menu {
  position: fixed; inset: 0;
  background: var(--navy-dark);
  z-index: 899;
  transform: translateX(100%);
  transition: transform .42s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column;
  padding: 7rem 2rem 3rem;
  overflow-y: auto;
}
#mobile-menu.open { transform: translateX(0); }
.mobile-nav-link {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.01em;
  padding: .5rem 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
  transition: color .2s;
}
.mobile-nav-link:hover { color: var(--pink); }

/* Mobile accordion (Chi Siamo sub-menu) */
.mobile-nav-group { border-bottom: 1px solid rgba(255,255,255,.07); }
.mobile-nav-toggle {
  width: 100%; background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2.4rem; font-weight: 800; color: #fff;
  letter-spacing: -.01em; padding: .5rem 0;
  text-align: left; transition: color .2s;
  border-bottom: none;
}
.mobile-nav-toggle:hover { color: var(--pink); }
.mobile-nav-toggle svg { transition: transform .3s; flex-shrink: 0; }
.mobile-nav-toggle[aria-expanded="true"] { color: var(--pink); }
.mobile-nav-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.mobile-nav-sub {
  list-style: none;
  max-height: 0; overflow: hidden;
  transition: max-height .35s cubic-bezier(.4,0,.2,1);
  padding-bottom: 0;
  pointer-events: none;
}
.mobile-nav-sub.open { max-height: 400px; padding-bottom: .75rem; pointer-events: auto; }
.mobile-nav-sub-link {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 1.1rem; font-weight: 500;
  color: rgba(255,255,255,.6);
  padding: .5rem 0 .5rem 1rem;
  border-left: 2px solid rgba(232,23,93,.35);
  margin-bottom: .2rem;
  transition: color .2s, border-color .2s;
}
.mobile-nav-sub-link:hover { color: #fff; border-color: var(--pink); }

/* ═══════════════════════════════════
   BUTTONS
═══════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: 'DM Sans', sans-serif;
  font-size: .85rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  border-radius: 50px; padding: .85rem 2.2rem;
  transition: var(--transition); cursor: pointer; border: none;
}
.btn-pink {
  background: var(--pink); color: #fff;
  box-shadow: 0 6px 24px rgba(232,23,93,.28);
}
.btn-pink:hover {
  background: var(--pink-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(232,23,93,.42);
}
.btn-outline-white {
  background: transparent; color: #fff;
  border: 2px solid rgba(255,255,255,.7);
}
.btn-outline-white:hover {
  background: #fff; color: var(--navy);
  transform: translateY(-2px);
}
.btn-outline-navy {
  background: transparent; color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-outline-navy:hover {
  background: var(--navy); color: #fff;
  transform: translateY(-2px);
}
.btn-white {
  background: #fff; color: var(--pink);
  box-shadow: 0 6px 24px rgba(0,0,0,.12);
}
.btn-white:hover {
  background: var(--navy); color: #fff;
  transform: translateY(-2px);
}

/* ═══════════════════════════════════
   HERO
═══════════════════════════════════ */
#hero {
  min-height: 100vh;
  background: var(--navy-dark);
  position: relative; overflow: hidden;
  display: flex; align-items: center;
}
.hero-bg-gradient {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 70% 45%, rgba(232,23,93,.14) 0%, transparent 70%),
    radial-gradient(ellipse 50% 70% at 10% 80%, rgba(0,62,181,.9) 0%, transparent 60%);
}
.hero-blob {
  position: absolute; border-radius: 50%;
  filter: blur(80px); pointer-events: none;
}
.hero-blob-1 {
  width: 500px; height: 500px;
  background: rgba(232,23,93,.12);
  top: -8%; right: 5%;
  animation: float 9s ease-in-out infinite;
}
.hero-blob-2 {
  width: 300px; height: 300px;
  background: rgba(0,62,181,.6);
  bottom: 5%; left: 2%;
  animation: float 7s ease-in-out infinite reverse;
}
/* Logo motif ring */
.hero-ring {
  position: absolute; right: -12%;
  top: 50%; transform: translateY(-50%);
  width: 660px; height: 660px;
  border: 90px solid rgba(232,23,93,.06);
  border-radius: 50%;
  pointer-events: none;
}
@keyframes float {
  0%,100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-22px) scale(1.04); }
}

.hero-content { position: relative; z-index: 10; }
.hero-headline {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  line-height: .93;
  font-size: clamp(3.8rem, 9vw, 8rem);
  color: #fff;
  letter-spacing: -.02em;
}
.hero-headline .accent { color: var(--pink); }
.hero-desc { color: rgba(255,255,255,.68); max-width: 520px; font-size: 1.1rem; line-height: 1.75; }

/* Scroll indicator */
.scroll-cue {
  position: absolute; bottom: 2.5rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .4rem;
  color: rgba(255,255,255,.35);
  font-size: .72rem; letter-spacing: .18em; text-transform: uppercase;
  animation: bounce-cue 2.2s ease-in-out infinite;
}
@keyframes bounce-cue {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(-8px); }
}

/* ═══════════════════════════════════
   MARQUEE STRIP
═══════════════════════════════════ */
.marquee-strip { overflow: hidden; background: var(--pink); padding: 1rem 0; }
.marquee-track {
  display: inline-flex; white-space: nowrap;
  animation: marquee 22s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-item {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.05rem; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  color: #fff; padding: 0 2.5rem;
}
.marquee-dot { color: rgba(255,255,255,.35); }
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ═══════════════════════════════════
   SECTIONS — shared
═══════════════════════════════════ */
.section { padding: 7rem 1.5rem; }
.section-sm { padding: 5rem 1.5rem; }
.container { max-width: 1200px; margin: 0 auto; }
.container-narrow { max-width: 860px; margin: 0 auto; }
.bg-off-white { background: var(--off-white); }
.bg-navy { background: var(--navy); }
.bg-navy-dark { background: var(--navy-dark); }
.bg-pink { background: var(--pink); }

.section-header { text-align: center; margin-bottom: 4rem; }
.section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  line-height: 1.08;
  color: var(--navy);
}
.section-title .accent { color: var(--pink); }
.section-title-light { color: #fff; }

/* ═══════════════════════════════════
   CHI SIAMO SECTION
═══════════════════════════════════ */
.img-placeholder {
  background: linear-gradient(135deg, var(--navy-mid) 0%, var(--navy) 100%);
  border-radius: var(--radius-card);
  display: flex; align-items: center; justify-content: center;
  min-height: 380px; position: relative;
  overflow: hidden;
}
.img-placeholder-label {
  color: rgba(255,255,255,.25);
  font-size: .85rem; text-align: center;
}
.img-placeholder img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.accent-box {
  position: absolute; bottom: -1.5rem; right: -1.5rem;
  width: 140px; height: 140px;
  background: var(--pink); border-radius: 1.2rem;
  display: flex; align-items: center; justify-content: center;
}
.accent-box-inner { text-align: center; color: #fff; }
.accent-box-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2.4rem; font-weight: 900; line-height: 1;
}
.accent-box-label { font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .85; }

/* ═══════════════════════════════════
   STATS
═══════════════════════════════════ */
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
.stat-item { text-align: center; }
.stat-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 900;
  color: var(--pink);
  line-height: 1;
}
.stat-label {
  font-size: .78rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--text-muted); margin-top: .4rem;
}

/* ═══════════════════════════════════
   BENEFIT CARDS
═══════════════════════════════════ */
.cards-grid { display: grid; gap: 1.75rem; }
.card-tilt {
  background: #fff;
  border-radius: var(--radius-card);
  padding: 2.4rem;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(0,75,202,.06);
  transition: box-shadow .35s, transform .35s;
  position: relative; overflow: hidden;
  transform-style: preserve-3d;
}
.card-tilt::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: var(--pink);
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s ease;
}
.card-tilt:hover { box-shadow: var(--shadow-hover); }
.card-tilt:hover::before { transform: scaleX(1); }

.card-icon {
  width: 56px; height: 56px;
  background: rgba(232,23,93,.08);
  border-radius: .9rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.4rem;
}
.card-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.5rem; font-weight: 800;
  color: var(--navy); margin-bottom: .75rem;
}
.card-text { color: var(--text-muted); line-height: 1.72; font-size: .95rem; }

/* ═══════════════════════════════════
   OBIETTIVO (dark quote)
═══════════════════════════════════ */
.big-quote {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1.9rem, 3.8vw, 3.2rem);
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
}
.big-quote .accent { color: var(--pink); }
.quote-bar {
  width: 60px; height: 4px;
  background: var(--pink); border-radius: 2px;
  margin: 2rem auto;
}

/* ═══════════════════════════════════
   FEATURE LIST (programma)
═══════════════════════════════════ */
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 1rem; margin: 1.8rem 0 2.5rem; }
.feature-list li { display: flex; align-items: flex-start; gap: .85rem; color: var(--text-muted); font-size: .96rem; line-height: 1.6; }
.feature-check {
  width: 22px; height: 22px; flex-shrink: 0;
  background: rgba(232,23,93,.1); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; margin-top: .12rem;
}

/* Image mosaic */
.img-mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.img-mosaic .img-placeholder { min-height: 180px; }
.img-mosaic .img-placeholder:nth-child(2) { margin-top: 2rem; }
.img-mosaic .img-placeholder:nth-child(4) { margin-top: 2rem; }

/* ═══════════════════════════════════
   CTA DONATE SECTION
═══════════════════════════════════ */
.donate-ring-1, .donate-ring-2 {
  position: absolute; border-radius: 50%;
  border: 50px solid rgba(255,255,255,.07);
  pointer-events: none;
}
.donate-ring-1 { width: 420px; height: 420px; top: -30%; right: -8%; }
.donate-ring-2 { width: 260px; height: 260px; bottom: -25%; left: -5%; }

/* ═══════════════════════════════════
   NEWSLETTER
═══════════════════════════════════ */
.newsletter-form { display: flex; gap: .75rem; max-width: 440px; margin: 0 auto; }
.newsletter-input {
  flex: 1; padding: .85rem 1.4rem;
  border-radius: 50px;
  border: 2px solid rgba(0,75,202,.12);
  background: #fff; font-family: 'DM Sans', sans-serif;
  font-size: .9rem; color: var(--navy);
  transition: border-color .25s; outline: none;
}
.newsletter-input:focus { border-color: var(--pink); }
.newsletter-input::placeholder { color: rgba(0,75,202,.35); }

/* ═══════════════════════════════════
   FOOTER
═══════════════════════════════════ */
footer {
  background: var(--navy-dark);
  padding: 5rem 1.5rem 2.5rem;
}
.footer-grid { display: grid; gap: 3rem; }
.footer-logo { height: 36px; width: auto; opacity: .85; margin-bottom: 1.5rem; }
.footer-address { color: rgba(255,255,255,.38); font-size: .82rem; line-height: 1.85; }
.footer-col-title {
  color: #fff; font-size: .78rem; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: .7rem; }
.footer-links a { color: rgba(255,255,255,.42); font-size: .875rem; transition: color .22s; }
.footer-links a:hover { color: #fff; }
.footer-links .cta-link { color: var(--pink) !important; font-weight: 700; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 3rem; padding-top: 2rem;
  display: flex; flex-wrap: wrap; gap: 1rem;
  justify-content: space-between; align-items: center;
}
.footer-copy { color: rgba(255,255,255,.25); font-size: .78rem; }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { color: rgba(255,255,255,.25); font-size: .78rem; transition: color .2s; }
.footer-legal a:hover { color: rgba(255,255,255,.6); }

/* Social icons */
.socials { display: flex; gap: .75rem; margin-top: 1.5rem; }
.social-btn {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.18);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.45); transition: var(--transition);
}
.social-btn:hover { border-color: var(--pink); color: var(--pink); background: rgba(232,23,93,.08); }

/* ═══════════════════════════════════
   RESPONSIVE
═══════════════════════════════════ */
@media (min-width: 640px) {
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}

@media (min-width: 1024px) {
  .cards-grid { grid-template-columns: repeat(3, 1fr); }
  .stat-grid { grid-template-columns: repeat(4, 1fr); }
  .nav-links { display: flex !important; }
  #menu-toggle { display: none !important; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

@media (max-width: 1023px) {
  .nav-links { display: none !important; }
  #menu-toggle { display: flex !important; }
}

@media (max-width: 767px) {
  .section { padding: 5rem 1.25rem; }
  .newsletter-form { flex-direction: column; }
  .newsletter-input { border-radius: 1rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-headline { font-size: clamp(2.6rem, 11vw, 4rem); line-height: 1.05; }
  #navbar .btn-pink { padding: .7rem 1.3rem; font-size: .78rem; white-space: nowrap; }
  .hero-content { margin-top: 50px; }
  .scroll-cue { left: auto; right: 1.5rem; transform: none; animation: bounce-cue-mobile 2.2s ease-in-out infinite; }
}

@keyframes bounce-cue-mobile {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

/* ═══════════════════════════════════
   GALLERY PAGE
═══════════════════════════════════ */
.gallery-hero {
  background: var(--navy-dark);
  padding: 10rem 1.5rem 6rem;
  position: relative; overflow: hidden;
}
.gallery-hero-ring {
  position: absolute; right: -10%; top: 50%;
  transform: translateY(-50%);
  width: 500px; height: 500px;
  border: 70px solid rgba(232,23,93,.06); border-radius: 50%;
  pointer-events: none;
}
.gallery-hero-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 900; color: #fff; line-height: .95;
}

.breadcrumb { display: flex; gap: .5rem; align-items: center; margin-bottom: 1.5rem; }
.breadcrumb a { color: rgba(255,255,255,.4); font-size: .82rem; transition: color .2s; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { color: rgba(255,255,255,.2); font-size: .82rem; }
.breadcrumb .current { color: var(--pink); font-size: .82rem; }

.gallery-masonry {
  columns: 2; column-gap: 1rem;
}
@media (min-width: 768px)  { .gallery-masonry { columns: 3; column-gap: 1.25rem; } }
@media (min-width: 1024px) { .gallery-masonry { columns: 4; column-gap: 1.5rem; } }

.gallery-item {
  display: block; width: 100%;
  background: none; border: none; padding: 0; cursor: pointer;
  position: relative; overflow: hidden;
  border-radius: var(--radius-card);
  margin-bottom: 1rem;
  break-inside: avoid;
}
.gallery-item img {
  width: 100%; height: auto; display: block;
  border-radius: var(--radius-card);
  transition: transform .45s cubic-bezier(.4,0,.2,1), filter .45s;
  filter: brightness(1);
}
.gallery-item:hover img,
.gallery-item:focus img {
  transform: scale(1.04);
  filter: brightness(.82);
}
.gallery-item:focus { outline: 3px solid var(--pink); outline-offset: 3px; }

.gallery-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-card);
  background: rgba(0,75,202,.35);
  opacity: 0;
  transition: opacity .35s;
}
.gallery-item:hover .gallery-overlay,
.gallery-item:focus .gallery-overlay { opacity: 1; }

/* ═══════════════════════════════════
   LIGHTBOX
═══════════════════════════════════ */
.lightbox {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(10,12,26,.94);
  backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity .35s, visibility .35s;
}
.lightbox.open { opacity: 1; visibility: visible; }

.lightbox-figure {
  max-width: min(90vw, 1100px);
  max-height: 90vh;
  display: flex; flex-direction: column; align-items: center;
  margin: 0;
}
.lightbox-figure img {
  max-width: 100%; max-height: 80vh;
  border-radius: 1rem;
  object-fit: contain;
  box-shadow: 0 40px 100px rgba(0,0,0,.5);
  display: block;
}
.lightbox-caption {
  color: rgba(255,255,255,.55);
  font-size: .85rem; margin-top: 1rem;
  letter-spacing: .04em; text-align: center;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: fixed;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  color: #fff; cursor: pointer;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  transition: background .25s, border-color .25s;
  z-index: 2001;
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--pink);
  border-color: var(--pink);
}
.lightbox-close { top: 1.5rem; right: 1.5rem; }
.lightbox-prev  { left: 1.5rem;  top: 50%; transform: translateY(-50%); }
.lightbox-next  { right: 1.5rem; top: 50%; transform: translateY(-50%); }

@media (max-width: 640px) {
  .lightbox-prev { left: .75rem; }
  .lightbox-next { right: .75rem; }
}

/* ── Utility ───────────────────────────────────── */
.text-center { text-align: center; }
.mt-2 { margin-top: .5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-3 { gap: .75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.relative { position: relative; }
.overflow-hidden { overflow: hidden; }
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 2rem; }
.grid-2-lg { display: grid; gap: 4rem; }
@media(min-width:1024px){ .grid-2-lg { grid-template-columns: 1fr 1fr; } }
