/* ===== Custom Properties ===== */
:root {
  --color-primary: #1B2A4A;
  --color-primary-light: #2C3E6B;
  --color-gold: #C5963A;
  --color-gold-light: #D4AB5E;
  --color-gold-dark: #A67C2E;
  --color-bg: #FAFAF7;
  --color-bg-alt: #F0EDE6;
  --color-white: #FFFFFF;
  --color-text: #2D2D2D;
  --color-text-light: #666666;
  --color-text-muted: #999999;
  --color-border: #E8E4DC;

  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --header-height: 70px;
  --container-width: 1200px;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 20px rgba(27, 42, 74, 0.08);
  --shadow-lg: 0 8px 40px rgba(27, 42, 74, 0.12);
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== SVG Icons ===== */
.icon {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

.icon--logo {
  width: 22px;
  height: 26px;
  color: var(--color-gold);
}

.icon--hero-cross {
  width: 48px;
  height: 56px;
  color: var(--color-gold);
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.icon--footer-cross {
  width: 32px;
  height: 38px;
  color: var(--color-gold);
  flex-shrink: 0;
}

.icon--sm {
  width: 18px;
  height: 18px;
}

.icon--xs {
  width: 16px;
  height: 16px;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.header--scrolled {
  border-bottom-color: var(--color-border);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-primary);
  z-index: 1003;
}

.nav__list {
  display: flex;
  gap: 32px;
}

.nav__link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-light);
  transition: var(--transition);
  position: relative;
  padding: 4px 0;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-gold);
  transition: var(--transition);
}

.nav__link:hover,
.nav__link.active {
  color: var(--color-primary);
}

.nav__link:hover::after,
.nav__link.active::after {
  width: 100%;
}

/* Burger */
.header__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1003;
  padding: 4px;
}

.header__burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: var(--transition);
}

.header__burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.header__burger.active span:nth-child(2) {
  opacity: 0;
}

.header__burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(27, 42, 74, 0.4) 0%,
    rgba(27, 42, 74, 0.6) 50%,
    rgba(27, 42, 74, 0.8) 100%
  );
}

.hero__content {
  position: relative;
  text-align: center;
  color: var(--color-white);
  padding: 0 20px;
  animation: fadeInUp 1s ease 0.3s both;
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.hero__subtitle {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  font-weight: 300;
  opacity: 0.85;
  margin-bottom: 36px;
  letter-spacing: 0.05em;
}

.hero__btn {
  display: inline-block;
  padding: 14px 40px;
  border: 2px solid var(--color-gold);
  color: var(--color-white);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  border-radius: 50px;
  transition: var(--transition);
}

.hero__btn:hover {
  background: var(--color-gold);
  color: var(--color-white);
}

.hero__scroll-hint {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.hero__scroll-hint span {
  display: block;
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 12px;
  position: relative;
}

.hero__scroll-hint span::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 2px;
  animation: scrollDot 2s infinite;
}

/* ===== Sections ===== */
.section {
  padding: 100px 0;
}

.section__header {
  text-align: center;
  margin-bottom: 60px;
}

.section__label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 12px;
}

.section__title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.section__divider {
  width: 60px;
  height: 3px;
  background: var(--color-gold);
  margin: 0 auto;
  border-radius: 2px;
}

/* ===== About ===== */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: stretch;
}

.about__image-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about__image-wrap::after {
  content: '';
  position: absolute;
  top: 20px;
  left: 20px;
  right: -20px;
  bottom: -20px;
  border: 2px solid var(--color-gold);
  border-radius: var(--radius);
  z-index: -1;
}

.about__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__text p {
  margin-bottom: 18px;
  color: var(--color-text-light);
  font-size: 1rem;
  line-height: 1.8;
}

/* ===== Schedule ===== */
.schedule {
  background: var(--color-bg-alt);
}

.schedule__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.schedule__card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--color-border);
}

.schedule__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.schedule__card--accent {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: transparent;
}

.schedule__card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-border);
}

.schedule__card--accent .schedule__card-header {
  border-bottom-color: rgba(255, 255, 255, 0.15);
}

.schedule__card-icon {
  color: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.schedule__card-icon svg {
  width: 100%;
  height: 100%;
}

.schedule__card-header h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
}

.schedule__list li {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 10px 0;
}

.schedule__list li + li {
  border-top: 1px solid var(--color-border);
}

.schedule__card--accent .schedule__list li + li {
  border-top-color: rgba(255, 255, 255, 0.1);
}

.schedule__time {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-gold);
  min-width: 52px;
  font-family: var(--font-serif);
}

.schedule__service {
  font-size: 0.92rem;
  color: var(--color-text-light);
}

.schedule__card--accent .schedule__service {
  color: rgba(255, 255, 255, 0.8);
}

.schedule__note {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 28px 32px;
  border-left: 4px solid var(--color-gold);
  box-shadow: var(--shadow);
}

.schedule__note p {
  margin-bottom: 8px;
}

.schedule__note ul {
  margin-bottom: 12px;
  padding-left: 0;
}

.schedule__note li {
  padding: 4px 0;
  color: var(--color-text-light);
}

.schedule__note-hint {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  font-style: italic;
}

/* ===== Gallery ===== */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 12px;
}

.gallery__item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery__item:hover img {
  transform: scale(1.08);
}

.gallery__item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(27, 42, 74, 0.0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.gallery__item:hover .gallery__item-overlay {
  background: rgba(27, 42, 74, 0.4);
}

.gallery__item-overlay span {
  color: white;
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition);
  padding: 8px 20px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 50px;
}

.gallery__item:hover .gallery__item-overlay span {
  opacity: 1;
  transform: translateY(0);
}

.gallery__item--wide {
  grid-column: span 2;
}

.gallery__item--tall {
  grid-row: span 2;
}

/* ===== Lightbox ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox__content {
  max-width: 90vw;
  max-height: 85vh;
}

.lightbox__content img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.lightbox__close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: white;
  font-size: 2.5rem;
  cursor: pointer;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 10;
}

.lightbox__close:hover {
  color: var(--color-gold);
  transform: rotate(90deg);
}

.lightbox__prev,
.lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  font-size: 1.5rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__prev { left: 20px; }
.lightbox__next { right: 20px; }

.lightbox__prev:hover,
.lightbox__next:hover {
  background: var(--color-gold);
}

.lightbox__counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

/* ===== News ===== */
.news {
  background: var(--color-bg-alt);
}

.news__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.news__card {
  background: var(--color-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.news__card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.news__card-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.news__card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news__card:hover .news__card-image img {
  transform: scale(1.05);
}

.news__card-date {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: var(--color-gold);
  color: var(--color-white);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 50px;
}

.news__card-body {
  padding: 24px;
}

.news__card-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 10px;
  line-height: 1.4;
}

.news__card-text {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

/* ===== Contacts ===== */
.contacts__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  min-height: 450px;
}

.contacts__info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contacts__card {
  display: flex;
  gap: 16px;
  padding: 20px 24px;
  background: var(--color-white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.contacts__card:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-lg);
}

.contacts__card-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(197, 150, 58, 0.1);
  border-radius: 50%;
  color: var(--color-gold);
}

.contacts__card-icon svg {
  width: 22px;
  height: 22px;
}

.contacts__card h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.contacts__card p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

.contacts__yandex-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 50px;
  font-size: 0.92rem;
  font-weight: 500;
  transition: var(--transition);
  text-align: center;
  justify-content: center;
  margin-top: 4px;
}

.contacts__yandex-link:hover {
  background: var(--color-primary-light);
  transform: translateY(-2px);
}

.contacts__yandex-link svg {
  transition: transform 0.3s ease;
}

.contacts__yandex-link:hover svg {
  transform: translateX(4px);
}

.contacts__map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  min-height: 400px;
}

.contacts__map iframe {
  display: block;
}

/* ===== Donation ===== */
.donation {
  position: relative;
  padding: 100px 0;
  background: linear-gradient(135deg, #1B2A4A 0%, #243560 40%, #2C3E6B 70%, #1B2A4A 100%);
  color: var(--color-white);
  overflow: hidden;
}

.donation__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(197, 150, 58, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(197, 150, 58, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.donation__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: center;
}

.donation__icon {
  width: 56px;
  height: 56px;
  background: rgba(197, 150, 58, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--color-gold-light);
}

.donation__icon svg {
  width: 28px;
  height: 28px;
}

.donation__title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 600;
  margin-bottom: 16px;
  line-height: 1.3;
}

.donation__text {
  font-size: 1rem;
  line-height: 1.8;
  opacity: 0.8;
  margin-bottom: 32px;
  max-width: 560px;
}

.donation__details {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 28px 32px;
  backdrop-filter: blur(10px);
}

.donation__details h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-gold-light);
  margin-bottom: 20px;
}

.donation__details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 32px;
  margin-bottom: 16px;
}

.donation__detail {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.donation__detail-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.5;
}

.donation__detail-value {
  font-size: 0.92rem;
  font-weight: 500;
  opacity: 0.9;
}

.donation__purpose {
  font-size: 0.88rem;
  font-style: italic;
  opacity: 0.6;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.donation__qr {
  display: flex;
  justify-content: center;
}

.donation__qr-card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  max-width: 280px;
  width: 100%;
}

.donation__qr-img {
  width: 180px;
  height: 180px;
  margin: 0 auto 20px;
  border-radius: var(--radius-sm);
}

.donation__qr-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-primary);
  line-height: 1.4;
  margin-bottom: 14px;
}

.donation__qr-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--color-text-muted);
  font-size: 0.8rem;
}

.donation__qr-hint svg {
  color: var(--color-text-muted);
}

/* ===== Footer ===== */
.footer {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 50px 0 30px;
}

.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 24px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer__brand h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
}

.footer__brand p {
  font-size: 0.85rem;
  opacity: 0.6;
}

.footer__nav {
  display: flex;
  gap: 24px;
}

.footer__nav a {
  font-size: 0.88rem;
  opacity: 0.7;
  transition: var(--transition);
}

.footer__nav a:hover {
  opacity: 1;
  color: var(--color-gold);
}

.footer__bottom {
  text-align: center;
}

.footer__bottom p {
  font-size: 0.82rem;
  opacity: 0.5;
}

/* ===== Animations ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-8px);
  }
  60% {
    transform: translateX(-50%) translateY(-4px);
  }
}

@keyframes scrollDot {
  0% { opacity: 1; top: 8px; }
  100% { opacity: 0; top: 20px; }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */

@media (max-width: 1024px) {
  .about__grid {
    gap: 40px;
  }

  .schedule__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .gallery__grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 180px;
  }

  .news__grid {
    grid-template-columns: 1fr 1fr;
  }

  .contacts__grid {
    grid-template-columns: 1fr;
  }

  .contacts__map {
    min-height: 350px;
  }

  .donation__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .donation__qr {
    justify-content: center;
  }

  .donation__details-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 60px;
  }

  .section {
    padding: 70px 0;
  }

  .section__header {
    margin-bottom: 40px;
  }

  .header__burger {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    background-color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1002;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .nav.active {
    transform: translateX(0);
  }

  .nav__list {
    flex-direction: column;
    align-items: center;
    gap: 4px;
  }

  .nav__link {
    font-size: 1.25rem;
    font-family: var(--font-serif);
    font-weight: 500;
    padding: 14px 32px;
    display: block;
    color: var(--color-primary);
    border-radius: var(--radius-sm);
    transition: background 0.2s ease, color 0.2s ease;
  }

  .nav__link:hover,
  .nav__link.active {
    background: rgba(197, 150, 58, 0.1);
    color: var(--color-gold-dark);
  }

  .nav__link::after {
    display: none;
  }

  .about__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about__image-wrap::after {
    display: none;
  }

  .about__image {
    aspect-ratio: 16 / 10;
  }

  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 160px;
    gap: 8px;
  }

  .gallery__item--wide {
    grid-column: span 2;
  }

  .gallery__item--tall {
    grid-row: span 1;
  }

  .gallery__item-overlay span {
    display: none;
  }

  .news__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contacts__map {
    min-height: 300px;
  }

  .donation {
    padding: 70px 0;
  }

  .donation__grid {
    gap: 32px;
  }

  .donation__details {
    padding: 20px 24px;
  }

  .donation__qr-card {
    padding: 24px;
  }

  .donation__qr-img {
    width: 150px;
    height: 150px;
  }

  .footer__top {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .footer__brand {
    flex-direction: column;
    gap: 8px;
  }

  .footer__nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }

  .lightbox__prev,
  .lightbox__next {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .lightbox__prev { left: 10px; }
  .lightbox__next { right: 10px; }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero__title {
    font-size: 1.8rem;
  }

  .hero__btn {
    padding: 12px 32px;
    font-size: 0.88rem;
  }

  .icon--hero-cross {
    width: 36px;
    height: 42px;
  }

  .schedule__card {
    padding: 24px 20px;
  }

  .gallery__grid {
    grid-auto-rows: 130px;
  }

  .news__card-image {
    height: 160px;
  }

  .news__card-body {
    padding: 18px;
  }

  .donation__details-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

body.no-scroll {
  overflow: hidden;
}
