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

:root {
  --blue:       #1565C0;
  --blue-deep:  #0D47A1;
  --blue-mid:   #1976D2;
  --blue-light: #42A5F5;
  --blue-pale:  #E3F2FD;
  --accent:     #1E88E5;
  --white:      #ffffff;
  --off-white:  #F5F9FF;
  --text:       #1a2744;
  --text-muted: #5a6a8a;
  --divider:    rgba(21,101,192,0.2);
  --gold:       #1565C0;
  --gold-light: #42A5F5;
  --gold-pale:  #E3F2FD;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Vazirmatn', 'BNazanin', Tahoma, sans-serif;
  background: var(--white);
  color: var(--text);
  direction: rtl;
  text-align: right;
  line-height: 1.8;
}

/* ── NAVBAR ── */
nav {
  position: fixed; top: 0; right: 0; left: 0; z-index: 1000;
  background: rgba(13,71,161,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(66,165,245,0.3);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%;
  height: 70px;
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo .emblem {
  width: 44px; height: 44px;
  border: 2px solid var(--blue-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; background: rgba(255,255,255,0.08);
}
.nav-logo-text { color: var(--white); font-size: 14px; font-weight: 700; line-height: 1.4; }
.nav-logo-text span { color: rgba(255,255,255,0.6); display: block; font-size: 11px; font-weight: 400; }
nav ul { list-style: none; display: flex; gap: 24px; }
nav ul li a {
  color: rgba(255,255,255,0.8); text-decoration: none;
  font-size: 13px; font-weight: 500; transition: color 0.2s;
}
nav ul li a:hover { color: var(--blue-light); }
.nav-cta {
  background: var(--white) !important; color: var(--blue-deep) !important;
  padding: 8px 20px; border-radius: 4px; font-weight: 700 !important;
}
.nav-cta:hover { background: var(--blue-pale) !important; }

/* ── HERO ── */
#hero {
  min-height: 100vh;
  background: linear-gradient(150deg, var(--blue-deep) 0%, var(--blue-mid) 55%, #1565C0 100%);
  display: flex; align-items: center;
  position: relative; overflow: hidden; padding-top: 70px;
}
.hero-pattern {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 15% 85%, rgba(255,255,255,0.06) 0%, transparent 50%),
    radial-gradient(circle at 85% 15%, rgba(255,255,255,0.04) 0%, transparent 50%);
}
.hero-lines { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-lines::before {
  content: ''; position: absolute; top: 10%; right: -5%;
  width: 550px; height: 550px;
  border: 1px solid rgba(255,255,255,0.08); border-radius: 50%;
}
.hero-lines::after {
  content: ''; position: absolute; top: 22%; right: 8%;
  width: 370px; height: 370px;
  border: 1px solid rgba(255,255,255,0.05); border-radius: 50%;
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto; padding: 0 5%;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.9);
  padding: 7px 18px; border-radius: 50px;
  font-size: 13px; margin-bottom: 24px;
}
.hero-badge::before { content: '✦'; font-size: 9px; color: var(--blue-light); }
.hero-title {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 800; color: var(--white); line-height: 1.5; margin-bottom: 18px;
}
.hero-title .accent { color: #90CAF9; }
.hero-slogan {
  background: rgba(255,255,255,0.1);
  border-right: 3px solid var(--blue-light);
  padding: 12px 18px; border-radius: 0 6px 6px 0;
  color: rgba(255,255,255,0.9); font-size: 15px;
  font-style: italic; margin-bottom: 28px; line-height: 1.8;
}
.hero-subtitle { font-size: 15px; color: rgba(255,255,255,0.7); margin-bottom: 36px; line-height: 2; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary {
  background: var(--white); color: var(--blue-deep);
  padding: 13px 30px; border-radius: 4px; font-size: 15px; font-weight: 700;
  text-decoration: none; border: none; cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  font-family: 'Vazirmatn', 'BNazanin', Tahoma, sans-serif;
}
.btn-primary:hover { background: var(--blue-pale); transform: translateY(-1px); }
.btn-outline {
  background: transparent; color: var(--white);
  padding: 13px 30px; border-radius: 4px; font-size: 15px; font-weight: 600;
  text-decoration: none; border: 1px solid rgba(255,255,255,0.4);
  transition: border-color 0.2s, color 0.2s;
  font-family: 'Vazirmatn', 'BNazanin', Tahoma, sans-serif;
}
.btn-outline:hover { border-color: var(--blue-light); color: var(--blue-light); }

.hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.stat-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px; padding: 22px; text-align: center;
  backdrop-filter: blur(4px); transition: border-color 0.2s;
}
.stat-card:hover { border-color: rgba(255,255,255,0.35); }
.stat-card .num { font-size: 2.2rem; font-weight: 800; color: #90CAF9; display: block; line-height: 1; margin-bottom: 6px; }
.stat-card .label { font-size: 12px; color: rgba(255,255,255,0.7); }

/* ── SECTION BASE ── */
section { padding: 90px 5%; }
.container { max-width: 1200px; margin: 0 auto; }
.section-eyebrow {
  display: flex; align-items: center; gap: 12px;
  color: var(--blue); font-size: 12px; font-weight: 700;
  letter-spacing: 0.06em; margin-bottom: 14px; text-transform: uppercase;
}
.section-eyebrow::after { content: ''; flex: 1; max-width: 50px; height: 1px; background: var(--blue); opacity: 0.4; }
.section-title { font-size: clamp(1.5rem, 2.8vw, 2.2rem); font-weight: 800; color: var(--blue-deep); margin-bottom: 14px; line-height: 1.4; }
.section-lead { font-size: 15px; color: var(--text-muted); max-width: 620px; line-height: 2; }
.blue-divider { width: 55px; height: 3px; background: linear-gradient(90deg, var(--blue), var(--blue-light)); border-radius: 2px; margin: 18px 0 38px; }

/* ── ABOUT ── */
#about { background: var(--off-white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; }
.about-img-placeholder {
  width: 100%; aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue-mid) 100%);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  overflow: hidden; position: relative;
}
.about-img-placeholder img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.about-badge-overlay {
  position: absolute; bottom: -18px; left: -18px;
  background: var(--blue-deep); color: white;
  padding: 16px 22px; border-radius: 8px;
  font-weight: 700; font-size: 12px; line-height: 1.6;
  box-shadow: 0 8px 30px rgba(13,71,161,0.3);
}
.about-badge-overlay strong { display: block; font-size: 26px; color: #90CAF9; }

.history-text { font-size: 14px; color: var(--text-muted); line-height: 2.1; margin-bottom: 22px; }
.values-list { display: flex; flex-direction: column; gap: 14px; margin-top: 24px; }
.value-item { display: flex; align-items: flex-start; gap: 14px; }
.value-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: var(--blue-pale); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; margin-top: 2px;
}
.value-item h4 { font-size: 14px; font-weight: 700; color: var(--blue-deep); margin-bottom: 3px; }
.value-item p { font-size: 13px; color: var(--text-muted); line-height: 1.7; }

/* ISO badge */
.iso-badge {
  margin-top: 28px;
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--blue-deep); color: white;
  padding: 12px 20px; border-radius: 8px; font-size: 13px;
}
.iso-badge strong { color: #90CAF9; font-size: 15px; }

/* ── MANAGEMENT ── */
#management { background: var(--white); }
.management-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 46px; }
.mgmt-card {
  border: 1px solid #dce8f7; border-radius: 10px; padding: 26px 22px;
  text-align: center; transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
  position: relative; overflow: hidden;
}
.mgmt-card::before {
  content: ''; position: absolute; top: 0; right: 0; left: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--blue-light));
}
.mgmt-card:hover { box-shadow: 0 8px 28px rgba(21,101,192,0.12); transform: translateY(-3px); border-color: var(--blue-light); }
.mgmt-avatar {
  width: 56px; height: 56px; background: var(--blue-pale);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin: 0 auto 14px;
}
.mgmt-card h3 { font-size: 14px; font-weight: 700; color: var(--blue-deep); margin-bottom: 6px; line-height: 1.5; }
.mgmt-card p { font-size: 12px; color: var(--text-muted); }

/* ── SERVICES ── */
#services { background: var(--off-white); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 46px; }
.service-card {
  background: var(--white); border: 1px solid #dce8f7; border-radius: 10px;
  padding: 28px 24px; transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; right: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--blue-light));
  transform: scaleX(0); transform-origin: right; transition: transform 0.3s;
}
.service-card:hover { border-color: var(--blue-light); box-shadow: 0 8px 28px rgba(21,101,192,0.1); transform: translateY(-3px); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon { font-size: 34px; margin-bottom: 14px; display: block; }
.service-card h3 { font-size: 15px; font-weight: 700; color: var(--blue-deep); margin-bottom: 8px; }
.service-card p { font-size: 13px; color: var(--text-muted); line-height: 1.8; }
.service-detail { font-size: 12px; color: var(--blue); font-weight: 600; margin-top: 10px; }

/* ── GALLERY ── */
#gallery { background: var(--blue-deep); }
#gallery .section-eyebrow { color: #90CAF9; }
#gallery .section-eyebrow::after { background: #90CAF9; }
#gallery .section-title { color: var(--white); }
#gallery .section-lead { color: rgba(255,255,255,0.6); }
#gallery .blue-divider { background: linear-gradient(90deg, #90CAF9, var(--blue-light)); }
.gallery-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px; gap: 12px; margin-top: 46px;
}
.gallery-item {
  background: rgba(255,255,255,0.06); border-radius: 8px; overflow: hidden;
  cursor: pointer; position: relative;
  border: 1px solid rgba(255,255,255,0.1); transition: transform 0.2s, border-color 0.2s;
}
.gallery-item:hover { transform: scale(1.02); border-color: rgba(144,202,249,0.5); }
.gallery-item.wide { grid-column: span 2; }
.gallery-item.tall { grid-row: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.gallery-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.2); font-size: 12px; gap: 8px; padding: 10px; text-align: center;
}
.gallery-placeholder span { font-size: 26px; }
.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13,71,161,0.85) 0%, transparent 55%);
  opacity: 0; transition: opacity 0.2s;
  display: flex; align-items: flex-end; padding: 14px;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span { color: #90CAF9; font-size: 12px; font-weight: 600; }
.gallery-tabs { display: flex; gap: 10px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }
.gallery-tab {
  background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.65);
  border: 1px solid rgba(255,255,255,0.15); border-radius: 20px;
  padding: 7px 20px; font-size: 13px; font-family: inherit;
  cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.gallery-tab:hover { background: rgba(144,202,249,0.15); color: #90CAF9; border-color: rgba(144,202,249,0.4); }
.gallery-tab.active { background: rgba(144,202,249,0.2); color: #90CAF9; border-color: #90CAF9; font-weight: 600; }
.gallery-cta { text-align: center; margin-top: 32px; }

/* ── DONATE ── */
#donate { background: var(--off-white); }
.donate-ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 46px; }
.donate-card {
  background: var(--white); border-radius: 10px; padding: 32px 24px;
  text-align: center; border: 1px solid #dce8f7;
  transition: box-shadow 0.2s, transform 0.2s;
}
.donate-card:hover { box-shadow: 0 10px 36px rgba(21,101,192,0.1); transform: translateY(-3px); }
.donate-icon { font-size: 42px; margin-bottom: 16px; display: block; }
.donate-card h3 { font-size: 17px; font-weight: 700; color: var(--blue-deep); margin-bottom: 10px; }
.donate-card p { font-size: 13px; color: var(--text-muted); line-height: 1.8; margin-bottom: 22px; }

/* Participation ways list */
.participate-list { margin-top: 46px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.participate-item {
  background: var(--white); border: 1px solid #dce8f7; border-radius: 8px;
  padding: 16px 18px; display: flex; align-items: center; gap: 12px;
  font-size: 14px; color: var(--text);
}
.participate-item::before { content: '✦'; color: var(--blue); font-size: 11px; flex-shrink: 0; }

/* Bank accounts */
.accounts-section {
  margin-top: 40px;
  background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue-mid) 100%);
  border-radius: 12px; padding: 36px 40px;
}
.accounts-section h3 { color: var(--white); font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.accounts-section p { color: rgba(255,255,255,0.6); font-size: 14px; margin-bottom: 28px; }
.accounts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.account-card {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px; padding: 18px;
}
.account-card h4 { color: #90CAF9; font-size: 13px; font-weight: 700; margin-bottom: 10px; }
.account-card .card-num {
  font-family: monospace; font-size: 13px; color: var(--white);
  background: rgba(0,0,0,0.2); padding: 7px 10px; border-radius: 4px;
  word-break: break-all; line-height: 1.6;
}
.sheba-row {
  margin-top: 16px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(144,202,249,0.3);
  border-radius: 8px; padding: 16px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.sheba-row span { color: rgba(255,255,255,0.6); font-size: 13px; }
.sheba-row .sheba-num { font-family: monospace; color: #90CAF9; font-size: 14px; font-weight: 700; }

/* ── VOLUNTEER ── */
#volunteer { background: var(--white); }
.volunteer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; margin-top: 46px; }
.volunteer-text p { font-size: 14px; color: var(--text-muted); line-height: 2; margin-bottom: 18px; }
.volunteer-perks { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.perk { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text); }
.perk::before { content: '✦'; color: var(--blue); font-size: 11px; flex-shrink: 0; }
.volunteer-form-card { background: var(--off-white); border: 1px solid #dce8f7; border-radius: 10px; padding: 32px 28px; }
.volunteer-form-card h3 { font-size: 17px; font-weight: 700; color: var(--blue-deep); margin-bottom: 22px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 12px; font-weight: 700; color: var(--blue-deep); margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 10px 13px; border: 1px solid #c5d8f0; border-radius: 5px;
  font-family: 'Vazirmatn', 'BNazanin', Tahoma, sans-serif;
  font-size: 14px; color: var(--text); background: var(--white);
  direction: rtl; transition: border-color 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--blue); }
.form-group textarea { resize: vertical; min-height: 85px; }
.form-submit { width: 100%; padding: 13px; font-size: 15px; margin-top: 4px; background: var(--blue-deep); color: white; border: none; border-radius: 4px; cursor: pointer; font-family: 'Vazirmatn', Tahoma, sans-serif; font-weight: 700; transition: background 0.2s; }
.form-submit:hover { background: var(--blue); }

/* ── TESTIMONIALS ── */
#testimonials { background: var(--blue-deep); }
#testimonials .section-eyebrow { color: #90CAF9; }
#testimonials .section-eyebrow::after { background: #90CAF9; }
#testimonials .section-title { color: var(--white); }
#testimonials .section-lead { color: rgba(255,255,255,0.6); }
#testimonials .blue-divider { background: linear-gradient(90deg, #90CAF9, var(--blue-light)); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 46px; }
.testimonial-card {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px; padding: 28px 24px; transition: border-color 0.2s;
}
.testimonial-card:hover { border-color: rgba(144,202,249,0.4); }
.quote-mark { font-size: 48px; color: #90CAF9; opacity: 0.3; line-height: 1; margin-bottom: 10px; font-family: serif; }
.testimonial-card p { font-size: 13px; color: rgba(255,255,255,0.75); line-height: 1.9; margin-bottom: 20px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 16px; }
.author-avatar {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700; color: white; flex-shrink: 0;
}
.author-name { font-size: 13px; font-weight: 700; color: #90CAF9; }
.author-role { font-size: 11px; color: rgba(255,255,255,0.4); margin-top: 2px; }

/* ── GOALS ── */
#goals { background: var(--off-white); }
.goals-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 46px; }
.goals-col h3 { font-size: 17px; font-weight: 700; color: var(--blue-deep); margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid var(--blue-pale); }
.goal-item { display: flex; gap: 14px; margin-bottom: 18px; align-items: flex-start; }
.goal-num {
  width: 30px; height: 30px; flex-shrink: 0;
  background: var(--blue-deep); color: white;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; margin-top: 2px;
}
.goal-item p { font-size: 14px; color: var(--text-muted); line-height: 1.8; }

/* ── CONTACT ── */
#contact { background: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-top: 46px; align-items: start; }
.contact-info h3 { font-size: 18px; font-weight: 700; color: var(--blue-deep); margin-bottom: 22px; }
.contact-items { display: flex; flex-direction: column; gap: 18px; }
.contact-item { display: flex; align-items: flex-start; gap: 14px; }
.contact-item-icon {
  width: 42px; height: 42px; flex-shrink: 0;
  background: var(--blue-deep); border-radius: 8px;
  display: flex; align-items: center; justify-content: center; font-size: 17px;
}
.contact-item h4 { font-size: 12px; color: var(--blue); font-weight: 700; margin-bottom: 4px; }
.contact-item p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }
.contact-form-card { background: var(--off-white); border: 1px solid #dce8f7; border-radius: 10px; padding: 32px 28px; }
.contact-form-card h3 { font-size: 17px; font-weight: 700; color: var(--blue-deep); margin-bottom: 22px; }

/* ── FOOTER ── */
footer { background: var(--blue-deep); border-top: 1px solid rgba(255,255,255,0.1); padding: 50px 5% 28px; }
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-desc { color: rgba(255,255,255,0.5); font-size: 13px; line-height: 1.9; margin-top: 14px; }
.footer-col h4 { color: #90CAF9; font-size: 13px; font-weight: 700; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { color: rgba(255,255,255,0.5); text-decoration: none; font-size: 13px; transition: color 0.2s; }
.footer-col ul li a:hover { color: #90CAF9; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 24px; font-size: 12px; color: rgba(255,255,255,0.3); flex-wrap: wrap; gap: 10px;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .volunteer-grid, .contact-grid, .goals-grid { grid-template-columns: 1fr; }
  .services-grid, .donate-ways, .testimonials-grid, .management-grid { grid-template-columns: 1fr 1fr; }
  .accounts-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  nav ul { display: none; }
  .participate-list { grid-template-columns: 1fr; }
}
@media (max-width: 500px) {
  .services-grid, .donate-ways, .testimonials-grid, .management-grid, .accounts-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item.wide { grid-column: span 2; }
  .footer-top { grid-template-columns: 1fr; }
}

.fade-in { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ── LIGHTBOX ── */
.lightbox {
  display: none;
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(5, 20, 55, 0.97);
  flex-direction: column; align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }

.lightbox-header {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px; flex-shrink: 0;
}
.lightbox-title { color: #90CAF9; font-size: 15px; font-weight: 700; }
.lightbox-close {
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  color: white; font-size: 18px; width: 40px; height: 40px;
  border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.lightbox-close:hover { background: rgba(255,255,255,0.22); }

.lightbox-stage {
  flex: 1; width: 100%; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden; padding: 0 70px;
  min-height: 0;
}
.lightbox-slide {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
}
.lightbox-slide img {
  max-width: 100%; max-height: 100%;
  object-fit: contain; border-radius: 6px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.lightbox-slide-placeholder {
  width: min(80vw, 560px); height: 320px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 16px; color: rgba(255,255,255,0.35);
}
.lightbox-slide-placeholder .lb-emoji { font-size: 80px; }
.lightbox-slide-placeholder .lb-label { font-size: 15px; }

.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18);
  color: white; font-size: 30px; width: 50px; height: 50px;
  border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background 0.2s; z-index: 1;
}
.lightbox-nav:hover { background: rgba(255,255,255,0.2); }
.lightbox-prev { right: 14px; }
.lightbox-next { left: 14px; }
.lightbox-nav:disabled { opacity: 0.2; cursor: default; }

.lightbox-footer {
  flex-shrink: 0; padding: 14px 24px 20px;
  display: flex; flex-direction: column; align-items: center; gap: 12px; width: 100%;
}
.lightbox-caption { color: rgba(255,255,255,0.75); font-size: 13px; text-align: center; }
.lightbox-counter { color: rgba(255,255,255,0.3); font-size: 12px; }

.lightbox-dots {
  display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: center;
}
.lightbox-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.2); border: none; cursor: pointer; padding: 0;
  transition: background 0.2s, transform 0.2s;
}
.lightbox-dot.active { background: #90CAF9; transform: scale(1.3); }
