/* Страница «Добровольцам» */

.vol-hero {
  padding: var(--space-12) 0 var(--space-16);
  background:
    radial-gradient(circle at 90% 10%, rgba(46, 141, 228, 0.16), transparent 40%),
    linear-gradient(180deg, #eaf1f8 0%, var(--color-bg) 100%);
}

.vol-hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--space-10);
  align-items: center;
}

.vol-hero__eyebrow {
  display: inline-flex;
  margin: 0 0 var(--space-3);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  background: rgba(15, 76, 129, 0.08);
  color: var(--color-primary);
  font-size: var(--fs-caption);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.vol-hero__title {
  margin: 0 0 var(--space-4);
  color: var(--color-primary);
  font-size: var(--fs-display);
  line-height: var(--lh-tight);
}

.vol-hero__subtitle {
  margin: 0 0 var(--space-3);
  font-size: var(--fs-body-lg);
  font-weight: var(--fw-semibold);
  color: var(--color-text);
}

.vol-hero__desc {
  margin: 0 0 var(--space-6);
  color: var(--color-text-muted);
  line-height: var(--lh-relaxed);
}

.vol-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

/* Блок «Что получает доброволец» */
.vol-benefits {
  --vol-accent: #0f4c81;
  --vol-benefits-bg: var(--color-bg);
  --vol-benefits-card: var(--color-surface);
  --vol-benefits-line: var(--color-border);
  padding: var(--space-16) 0;
  background: var(--vol-benefits-bg);
  color: var(--color-text);
}

.vol-benefits__eyebrow {
  margin: 0 0 var(--space-3);
  color: var(--color-secondary);
  font-size: var(--fs-caption);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.vol-benefits__title {
  margin: 0 0 var(--space-10);
  color: var(--color-primary);
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.vol-benefits__title span {
  color: var(--color-secondary);
}

.vol-benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--vol-benefits-line);
  border-left: 1px solid var(--vol-benefits-line);
  background: var(--vol-benefits-card);
  box-shadow: var(--shadow-xs);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.vol-benefits__card {
  padding: var(--space-8) var(--space-6);
  background: var(--vol-benefits-card);
  border-right: 1px solid var(--vol-benefits-line);
  border-bottom: 1px solid var(--vol-benefits-line);
  min-height: 100%;
}

.vol-benefits__num {
  margin-bottom: var(--space-4);
  color: var(--vol-accent);
  font-size: 1.5rem;
  font-weight: var(--fw-bold);
  letter-spacing: 0.04em;
}

.vol-benefits__card-title {
  margin: 0 0 var(--space-3);
  color: var(--color-primary);
  font-size: 1rem;
  font-weight: var(--fw-bold);
  line-height: var(--lh-snug);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.vol-benefits__card-text {
  margin: 0;
  color: var(--color-text-muted);
  font-size: var(--fs-small);
  line-height: var(--lh-relaxed);
}

.vol-benefits__value {
  margin-top: var(--space-4);
  color: var(--color-secondary);
  font-size: clamp(1.5rem, 2.4vw, 1.875rem);
  font-weight: var(--fw-bold);
  line-height: 1.2;
}

.vol-benefits__empty {
  grid-column: 1 / -1;
  padding: var(--space-6);
  color: var(--color-text-muted);
}

@media (max-width: 991.98px) {
  .vol-benefits__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .vol-benefits {
    padding: var(--space-12) 0;
  }

  .vol-benefits__grid {
    grid-template-columns: 1fr;
  }

  .vol-benefits__card {
    padding: var(--space-6);
  }
}

.vol-hero-swiper,
.vol-gallery-main {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #dbe5ef;
}

.vol-hero-swiper {
  aspect-ratio: 4 / 3;
}

.vol-hero-swiper img,
.vol-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vol-hero-swiper .swiper-slide,
.vol-gallery-main .swiper-slide {
  height: auto;
}

.vol-hero-placeholder {
  height: 100%;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  color: var(--color-primary);
  background: linear-gradient(135deg, #0f4c81, #1f6fb2);
  color: #fff;
}

.vol-hero-placeholder i {
  font-size: 3rem;
}

.vol-hero-swiper .swiper-button-prev,
.vol-hero-swiper .swiper-button-next,
.vol-gallery-main .swiper-button-prev,
.vol-gallery-main .swiper-button-next {
  color: #fff;
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(15, 76, 129, 0.55);
  border-radius: var(--radius-full);
}

.vol-hero-swiper .swiper-button-prev::after,
.vol-hero-swiper .swiper-button-next::after,
.vol-gallery-main .swiper-button-prev::after,
.vol-gallery-main .swiper-button-next::after {
  font-size: 0.9rem;
  font-weight: 700;
}

.vol-hero-swiper .swiper-pagination-bullet-active {
  background: var(--color-accent);
}

.vol-benefit-card,
.vol-train-card,
.vol-contact-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-xs);
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.vol-benefit-card:hover,
.vol-train-card:hover,
.vol-contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.vol-benefit-card__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--space-4);
}

.vol-benefit-card i,
.vol-train-card i,
.vol-contact-card i {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border-radius: var(--radius-md);
  background: rgba(46, 141, 228, 0.12);
  color: var(--color-secondary);
  font-size: 1.35rem;
}

.vol-benefit-card__value {
  font-size: 1.25rem;
  font-weight: var(--fw-bold);
  color: var(--color-primary);
}

.vol-benefit-card p,
.vol-train-card p {
  margin: 0;
  color: var(--color-text-muted);
}

.vol-train-card i {
  margin-bottom: var(--space-4);
}

.vol-gallery-main {
  aspect-ratio: 16 / 9;
}

.vol-gallery-main__link {
  display: block;
  height: 100%;
  cursor: zoom-in;
}

.vol-gallery-thumbs .swiper-slide {
  opacity: 0.55;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
}

.vol-gallery-thumbs .swiper-slide-thumb-active {
  opacity: 1;
  border-color: var(--color-accent);
}

.vol-gallery-thumbs img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.vol-contacts-layout {
  display: grid;
  grid-template-columns: 1.5fr 0.9fr;
  gap: var(--space-8);
  align-items: start;
}

.vol-contact-card {
  display: flex;
  gap: var(--space-4);
}

.vol-contact-card__phone {
  margin: var(--space-2) 0;
  font-size: var(--fs-body-lg);
  font-weight: var(--fw-semibold);
  color: var(--color-primary);
}

.vol-social-panel {
  padding: var(--space-6);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}

.vol-social-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-5);
}

.vol-social-btn {
  width: 3.25rem;
  height: 3.25rem;
  display: grid;
  place-items: center;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  color: #fff;
  font-size: 1.25rem;
  transition: transform var(--duration) var(--ease), background var(--duration) var(--ease);
}

.vol-social-btn:hover {
  background: var(--color-accent);
  color: #fff;
  transform: scale(1.08);
}

.vol-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-4);
}

.vol-timeline__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-5);
  align-items: start;
  padding: var(--space-5);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
}

.vol-timeline__num {
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  color: #fff;
  font-weight: var(--fw-bold);
}

.vol-timeline__body p {
  margin: var(--space-2) 0 0;
  color: var(--color-text-muted);
}

.vol-telegram-banner,
.vol-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  flex-wrap: wrap;
  padding: var(--space-10);
  border-radius: var(--radius-xl);
  color: #fff;
  background:
    radial-gradient(circle at top right, rgba(46, 141, 228, 0.35), transparent 40%),
    linear-gradient(135deg, #0f4c81, #1f6fb2 55%, #0b3a63);
  box-shadow: var(--shadow-md);
}

.vol-telegram-banner p,
.vol-cta .lead {
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  max-width: 40rem;
}

.vol-cta {
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.vol-cta .h1 {
  color: #fff;
  margin-bottom: var(--space-3);
}

.vol-cta .btn-outline {
  --btn-color: #fff;
  --btn-border: rgba(255, 255, 255, 0.7);
  --btn-hover-bg: #fff;
  --btn-hover-color: var(--color-primary);
  --btn-hover-border: #fff;
}

/* Reveal never hides content (progressive enhancement only) */
.vol-reveal,
.vol-reveal:not(.is-visible) {
  opacity: 1 !important;
  transform: none !important;
}

@media (max-width: 991.98px) {
  .vol-hero__grid,
  .vol-contacts-layout {
    grid-template-columns: 1fr;
  }

  .vol-hero__slider {
    order: -1;
  }
}

@media (max-width: 575.98px) {
  .vol-hero {
    padding-top: var(--space-8);
  }

  .vol-telegram-banner,
  .vol-cta {
    padding: var(--space-6);
  }

  .vol-gallery-main {
    aspect-ratio: 4 / 3;
  }
}
