/* Стили для страницы Волонтерство */

.volunteer-page {
  width: 100%;
  min-height: 100vh;
  /* clip, а не hidden — иначе появляется второй вертикальный скролл */
  overflow-x: hidden;
  overflow-x: clip;
  /* отступ под fixed header (как у .page в App.css) */
  padding-top: var(--header-offset);
}

/* Volunteer Hero Section */
.volunteer-hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: 32px;
}

.volunteer-hero-star {
  position: absolute;
  top: -80px;
  height: 799px;
  width: auto;
  pointer-events: none;
  z-index: 0;
}

.volunteer-hero-star--left {
  left: 0;
}

.volunteer-hero-star--right {
  right: 0;
  transform: scaleX(-1);
}

.volunteer-hero-star--left-mobile {
  display: none;
}

.volunteer-hero-star--right-mobile {
  display: none;
}

.volunteer-hero-container {
  position: relative;
  max-width: 1500px;
  padding: 0 clamp(24px, calc(100px - (1440px - 100vw) * 76px / 416px), 100px);
  margin: 0 auto;
  z-index: 1;
}

.volunteer-hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  margin-bottom: 160px;
}

.volunteer-hero-title {
  font-family: 'SF Pro', system-ui, -apple-system, sans-serif;
  font-weight: 510;
  font-style: normal;
  font-size: 32px;
  line-height: 100%;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: #2B2B2B;
  margin: 0;
}

.volunteer-hero-subtitle {
  font-family: 'SF Pro', system-ui, -apple-system, sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 64px;
  line-height: 100%;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: #108669;
  margin: 0;
  text-shadow: 0px 16px 25px #10866929;
}

.volunteer-hero-text {
  font-family: 'SF Pro', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: -0.01em;
  text-align: center;
  color: #2B2B2B;
  margin-top: 16px;
  margin-bottom: 0;
  max-width: 800px;
}

.volunteer-hero-button {
  gap: 10px;
  border-radius: 36px;
  padding: 16px 32px;
  background: #108669;
  border: none;
  cursor: pointer;
  font-family: 'SF Pro', system-ui, -apple-system, sans-serif;
  font-weight: 590;
  font-style: normal;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: -0.01em;
  color: #FFFFFF;
  margin-top: 32px;
  transition: opacity 0.3s ease;
}

.volunteer-hero-button:hover {
  opacity: 0.9;
}

.volunteer-hero-button:active {
  opacity: 0.8;
}

.volunteer-hero-image {
  width: 100%;
  height: auto;
  margin-top: 8px;
}

/* Mercy Section */
.mercy-section {
  position: relative;
  margin-bottom: 160px;
  overflow: visible;
}

.mercy-section-star {
  position: absolute;
  height: 799px;
  width: auto;
  pointer-events: none;
  z-index: 0;
}

.mercy-section-star--left {
  left: 0;
}

.mercy-section-star--right {
  right: 0;
  transform: scaleX(-1);
}

.mercy-container {
  position: relative;
  max-width: 1500px;
  padding-inline: clamp(24px, calc(100px - (1440px - 100vw) * 76px / 416px), 100px);
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
  overflow: visible;
  display: flex;
  flex-direction: column;
  gap: 35px;
  margin-bottom: 160px;
}

.mercy-title {
  font-family: 'SF Pro', system-ui, -apple-system, sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 56px;
  line-height: 100%;
  letter-spacing: -0.01em;
  color: #2B2B2B;
  margin: 0;
}

.mercy-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%;
}

.mercy-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  border-radius: 24px;
  padding: 24px;
  background: linear-gradient(180deg, #27CAA2 0%, #14785F 100%);
  box-shadow: 0px 5px 15px 0px #10866959;
  min-height: 100%;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}

.mercy-card-icon {
  width: 65px;
  height: 65px;
  object-fit: contain;
}

.mercy-card-title {
  font-family: 'SF Pro', system-ui, -apple-system, sans-serif;
  font-weight: 510;
  font-style: normal;
  font-size: 32px;
  line-height: 100%;
  letter-spacing: -0.01em;
  text-align: center;
  color: #FFFFFF;
  margin: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
  width: 100%;
}

.mercy-card-text {
  font-family: 'SF Pro', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: -0.01em;
  text-align: center;
  color: #FFFFFF;
  margin: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
  width: 100%;
}

.mercy-description {
  font-family: 'SF Pro', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 32px;
  line-height: 100%;
  letter-spacing: -0.01em;
  color: #2B2B2B;
  margin: 0;
}

/* Help Container inside Mercy Section */
.help-container {
  --section-inline-padding: clamp(24px, calc(100px - (1440px - 100vw) * 76px / 416px), 100px);
  --section-edge-inset: calc(max(0px, (100vw - 1500px) / 2) + var(--section-inline-padding));
  position: relative;
  max-width: 1500px;
  margin-left: auto;
  margin-right: auto;
  padding-inline: var(--section-inline-padding);
  width: 100%;
  box-sizing: border-box;
  overflow-x: visible;
  overflow-y: visible;
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 0px;
  margin-bottom: 160px;
}

.help-lines {
  position: absolute;
  left: calc((100vw - 100%) / -2);
  width: 100vw;
  max-width: none;
  object-fit: cover;
  pointer-events: none;
  z-index: 0;
}

.help-lines--top {
  top: -80px;
}

.help-lines--bottom {
  top: calc(var(--events-lines-height, 60px) + clamp(1px, 3.8vw, 200px) - 80px);
}

.help-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;
}

.help-title {
  font-family: 'SF Pro', system-ui, -apple-system, sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 56px;
  line-height: 100%;
  letter-spacing: -0.01em;
  color: #2B2B2B;
  margin: 0;
}

.help-nav {
  display: flex;
  gap: 12px;
}

.help-nav-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  width: 66px;
  height: 66px;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.help-nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.help-nav-icon {
  width: 66px;
  height: 66px;
  object-fit: contain;
}

.help-nav-btn--next .help-nav-icon {
  transform: rotate(180deg);
}

.help-slider-wrapper {
  box-sizing: border-box;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: 0;
  padding-left: var(--section-edge-inset);
  padding-right: var(--section-edge-inset);
  padding-top: 24px;
  padding-bottom: 24px;
  margin-top: -24px;
  margin-bottom: -24px;
  position: relative;
  z-index: 1;
  min-width: 0;
  overflow-x: hidden;
  overflow-y: hidden;
}

.help-slider {
  display: flex;
  gap: 24px;
  position: relative;
  transition: transform 0.3s ease;
  width: fit-content;
}

.help-slider-nav.activity-slider-nav {
  display: none;
}

.help-card {
  flex: 0 0 476px;
  height: 550px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  border-radius: 24px;
  padding: 24px;
  background: #FFFFFF;
  box-shadow: 0px 0px 24px 1px #2F2F2F0A,
              0px 1px 1px -0.5px #2F2F2F0A,
              0px 3px 3px -1.5px #2F2F2F0A,
              0px 6px 6px -3px #2F2F2F0A,
              0px 12px 12px -6px #2F2F2F0A,
              0px 24px 24px -12px #2F2F2F0A,
              0px 0px 0px 1px #2F2F2F0A;
  box-sizing: border-box;
}

.help-card-icon {
  /* Фиксированный размер: загруженная в админке картинка любого размера
     не должна вытеснять текст карточки. */
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  object-fit: contain;
  align-self: center;
}

.help-card-title {
  font-family: 'SF Pro', system-ui, -apple-system, sans-serif;
  font-weight: 590;
  font-style: normal;
  font-size: 32px;
  line-height: 100%;
  letter-spacing: -0.01em;
  text-align: center;
  color: #108669;
  margin: 0;
}

.help-card-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  flex: 1;
  justify-content: flex-start;
}

.help-card-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.help-card-bullet {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #2B2B2B;
  flex-shrink: 0;
}

.help-card-text {
  font-family: 'SF Pro', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: -0.01em;
  color: #2B2B2B;
}

/* Registration Form Section */
.registration-section {
  max-width: 1500px;
  margin-top: 40px;
  margin-bottom: 160px;
  position: relative;
  padding-inline: clamp(24px, calc(100px - (1440px - 100vw) * 76px / 416px), 100px);
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  box-sizing: border-box;
}

.registration-title {
  font-family: 'SF Pro', system-ui, -apple-system, sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 56px;
  line-height: 100%;
  letter-spacing: -0.01em;
  color: #2B2B2B;
  margin: 0 0 40px 0;
}

.registration-form {
  border-radius: 32px;
  padding: 32px;
  gap: 64px;
  background: linear-gradient(180deg, #27CAA2 0%, #14785F 100%);
  box-shadow: 0px 6px 12px 0px #10866929;
  display: flex;
}

.registration-steps {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.registration-step {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.registration-step-text {
  font-family: 'SF Pro', system-ui, -apple-system, sans-serif;
  font-weight: 510;
  font-style: normal;
  font-size: 24px;
  line-height: 100%;
  letter-spacing: -0.01em;
  color: #FFFFFF;
  margin: 0;
}

.registration-step-text strong {
  font-weight: 590;
}

.registration-form-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 35px;
}

.volunteer-registration-inputs {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.volunteer-registration-field {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.volunteer-registration-input {
  border-radius: 16px;
  gap: 10px;
  padding: 32px 24px;
  background: #FAFAFA;
  border: 1px solid #EEEEEE;
  font-family: 'SF Pro', system-ui, -apple-system, sans-serif;
  font-weight: 510;
  font-style: normal;
  font-size: 24px;
  line-height: 100%;
  letter-spacing: -0.01em;
  color: #BABABA;
  outline: none;
}

.volunteer-registration-input::placeholder {
  color: #BABABA;
}

.volunteer-registration-input:not(:placeholder-shown) {
  color: #2B2B2B;
}

.volunteer-registration-input--error {
  border-color: #ffb4b4;
  background: #fff8f8;
}

.volunteer-registration-error {
  margin: 8px 0 0 0;
  padding: 0;
  font-family: 'SF Pro', system-ui, -apple-system, sans-serif;
  font-weight: 510;
  font-size: 14px;
  line-height: 130%;
  color: #ffe4e4;
}

.volunteer-registration-error--agreement {
  margin-top: 4px;
}

.volunteer-registration-agreement {
  display: flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.volunteer-registration-agreement-checkbox {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  padding: 6px;
  border: 1px solid #FFFFFF;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.volunteer-registration-agreement--active .volunteer-registration-agreement-checkbox {
  background: #FFFFFF;
}

.volunteer-registration-agreement-text {
  font-family: 'SF Pro', system-ui, -apple-system, sans-serif;
  font-weight: 510;
  font-style: normal;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: -0.01em;
  color: #FFFFFF;
}

.volunteer-registration-agreement-link {
  text-decoration: underline;
  text-decoration-color: #FFFFFF;
}

.volunteer-registration-submit {
  border-radius: 36px;
  gap: 10px;
  padding: 16px 32px;
  background: #FFFFFF;
  border: none;
  cursor: pointer;
  font-family: 'SF Pro', system-ui, -apple-system, sans-serif;
  font-weight: 590;
  font-style: normal;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: -0.01em;
  color: #108669;
  width: 100%;
}

/* Volunteers Testimonials Section */
.testimonials-section {
  margin-bottom: 160px;
}

.testimonials-container {
  --section-inline-padding: clamp(24px, calc(100px - (1440px - 100vw) * 76px / 416px), 100px);
  --section-edge-inset: calc(max(0px, (100vw - 1500px) / 2) + var(--section-inline-padding));
  position: relative;
  max-width: 1500px;
  margin-left: auto;
  margin-right: auto;
  padding-inline: var(--section-inline-padding);
  width: 100%;
  box-sizing: border-box;
  overflow-x: visible;
  overflow-y: visible;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.testimonials-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.testimonials-title {
  font-family: 'SF Pro', system-ui, -apple-system, sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 56px;
  line-height: 100%;
  letter-spacing: -0.01em;
  color: #2B2B2B;
  margin: 0;
}

.testimonials-nav {
  display: flex;
  gap: 12px;
}

.testimonials-nav-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  width: 66px;
  height: 66px;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.testimonials-nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.testimonials-nav-icon {
  width: 66px;
  height: 66px;
  object-fit: contain;
}

.testimonials-nav-btn--next .testimonials-nav-icon {
  transform: rotate(180deg);
}

.testimonials-slider-wrapper {
  box-sizing: border-box;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: 0;
  padding-left: var(--section-edge-inset);
  padding-right: var(--section-edge-inset);
  padding-top: 24px;
  padding-bottom: 24px;
  margin-top: -24px;
  margin-bottom: -24px;
  min-width: 0;
  overflow-x: hidden;
  overflow-y: hidden;
}

.testimonials-slider {
  display: flex;
  gap: 24px;
  position: relative;
  transition: transform 0.3s ease;
  width: fit-content;
}

.testimonials-slider-nav.activity-slider-nav {
  display: none;
}

.testimonial-card {
  flex: 0 0 477px;
  width: 477px;
  height: 323px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  border-radius: 24px;
  padding: 24px;
  background: #FFFFFF;
  border: 1px solid #EAEAEA;
  box-shadow: 0px 0px 24px 1px #2F2F2F0A,
              0px 1px 1px -0.5px #2F2F2F0A,
              0px 3px 3px -1.5px #2F2F2F0A,
              0px 6px 6px -3px #2F2F2F0A,
              0px 12px 12px -6px #2F2F2F0A,
              0px 24px 24px -12px #2F2F2F0A,
              0px 0px 0px 1px #2F2F2F0A;
  box-sizing: border-box;
}

a.testimonial-card {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

a.testimonial-card:focus-visible {
  outline: 2px solid #108669;
  outline-offset: 2px;
}

.testimonial-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial-image {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 50%;
  flex-shrink: 0;
}

.testimonial-name {
  font-family: 'SF Pro', system-ui, -apple-system, sans-serif;
  font-weight: 510;
  font-style: normal;
  font-size: 32px;
  line-height: 100%;
  letter-spacing: -0.01em;
  color: #2B2B2B;
  margin: 0;
}

.testimonial-text {
  font-family: 'SF Pro', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: -0.01em;
  color: #2B2B2B;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.testimonial-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.testimonial-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.testimonial-position {
  font-family: 'SF Pro', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: -0.01em;
  color: #2B2B2B;
}

.testimonial-separator {
  font-family: 'SF Pro', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: -0.01em;
  color: #2B2B2B;
}

.testimonial-experience {
  font-family: 'SF Pro', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: -0.01em;
  color: #2B2B2B;
}

.testimonial-arrow {
  width: 15.5px;
  height: 7.5px;
  object-fit: contain;
  flex-shrink: 0;
  transform: rotate(-90deg);
}

/* Photo Gallery Section */
.photo-gallery-section {
  max-width: 1500px;
  margin-left: auto;
  margin-right: auto;
  padding-inline: clamp(24px, calc(100px - (1440px - 100vw) * 76px / 416px), 100px);
  margin-bottom: 160px;
  scroll-margin-top: var(--header-offset);
}

.photo-gallery-title {
  font-family: 'SF Pro', system-ui, -apple-system, sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 56px;
  line-height: 100%;
  letter-spacing: -0.01em;
  color: #2B2B2B;
  margin: 0 0 40px 0;
}

.photo-gallery-container {
  border-radius: 32px;
  padding: 32px;
  gap: 40px;
  background: linear-gradient(180deg, #27CAA2 0%, #14785F 100%);
  box-shadow: 0px 6px 12px 0px #10866929;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.photo-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  width: 100%;
}

.photo-gallery-item {
  width: 100%;
  aspect-ratio: 335.5 / 334;
  border-radius: 24px;
  background: #FFFFFF;
  box-shadow: 0px 6px 25px 0px #1C1C1C1F;
}

.photo-gallery-more-wrapper {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

.photo-gallery-more-btn {
  font-family: 'SF Pro', system-ui, -apple-system, sans-serif;
  font-weight: 510;
  font-style: normal;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: -0.01em;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  position: relative;
  padding-bottom: 4px;
}

.photo-gallery-more-btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: #FFFFFF;
}

.photo-gallery-more-text {
  color: #FFFFFF;
}

.photo-gallery-more-arrow {
  width: 15.5px;
  height: 7.5px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.photo-gallery-more-arrow--up {
  transform: rotate(180deg);
}

/* Final Registration Form Section */
.final-registration-section {
  max-width: 1500px;
  margin-top: 40px;
  margin-bottom: 160px;
  position: relative;
  padding-inline: clamp(24px, calc(100px - (1440px - 100vw) * 76px / 416px), 100px);
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  box-sizing: border-box;
  overflow: visible;
}

.final-registration-lines {
  position: absolute;
  left: calc((100vw - 100%) / -2);
  width: 100vw;
  max-width: none;
  object-fit: cover;
  pointer-events: none;
  z-index: 0;
}

.final-registration-lines--top {
  top: -80px;
}

.final-registration-lines--bottom {
  top: calc(var(--events-lines-height, 60px) + clamp(1px, 3.8vw, 200px) - 80px);
}

.final-registration-title {
  font-family: 'SF Pro', system-ui, -apple-system, sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 56px;
  line-height: 100%;
  letter-spacing: -0.01em;
  color: #2B2B2B;
  margin: 0 0 40px 0;
  position: relative;
  z-index: 1;
}

.final-registration-form {
  border-radius: 32px;
  padding: 32px;
  gap: 64px;
  background: linear-gradient(180deg, #27CAA2 0%, #14785F 100%);
  box-shadow: 0px 6px 12px 0px #10866929;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.final-registration-form-content {
  display: flex;
  flex-direction: column;
  gap: 35px;
  width: 100%;
}

/* FAQ Section */
.faq-section {
  max-width: 1500px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 160px;
  padding-inline: clamp(24px, calc(100px - (1440px - 100vw) * 76px / 416px), 100px);
}

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.faq-title {
  font-family: 'SF Pro', sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 56px;
  line-height: 100%;
  letter-spacing: -0.01em;
  color: #2B2B2B;
  margin: 0;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 16px;
  border-bottom-width: 2px;
  padding: 8px;
  background: #FFFFFF;
  box-shadow: 0px 0px 24px 1px #2F2F2F0A,
              0px 1px 1px -0.5px #2F2F2F0A,
              0px 3px 3px -1.5px #2F2F2F0A,
              0px 6px 6px -3px #2F2F2F0A,
              0px 12px 12px -6px #2F2F2F0A,
              0px 24px 24px -12px #2F2F2F0A,
              0px 0px 0px 1px #2F2F2F0A;
  cursor: pointer;
  transition: all 0.3s ease;
  overflow: hidden;
}

.faq-item--open {
  border: 1px solid #108669;
  box-shadow: 0px 5px 15px 0px #10866959,
              0px 0px 24px 1px #2F2F2F0A,
              0px 1px 1px -0.5px #2F2F2F0A,
              0px 3px 3px -1.5px #2F2F2F0A,
              0px 6px 6px -3px #2F2F2F0A,
              0px 12px 12px -6px #2F2F2F0A,
              0px 24px 24px -12px #2F2F2F0A;
}

.faq-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-item-question {
  font-family: 'SF Pro', sans-serif;
  font-weight: 510;
  font-style: normal;
  font-size: 24px;
  line-height: 100%;
  letter-spacing: -0.01em;
  color: #2B2B2B;
  margin-inline: 16px;
  margin-top: 20px;
  margin-bottom: 20px;
  flex: 1;
}

.faq-item-arrow {
  width: 15.5px;
  height: 7.5px;
  object-fit: contain;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  margin-right: 16px;
}

.faq-item-arrow--rotated {
  transform: rotate(180deg);
}

.faq-item-answer-wrapper {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item-answer-wrapper--open {
  max-height: 1000px;
}

.faq-item-answer {
  margin-top: 8px;
  gap: 10px;
  border-radius: 16px;
  padding: 24px 16px;
  background: #EFEFEF;
}

.faq-item-answer-text {
  font-family: 'SF Pro', sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 20px;
  line-height: 110%;
  letter-spacing: -0.01em;
  color: #2B2B2B;
  margin: 0;
}

@media (max-width: 1023px) {
  .mercy-cards {
    grid-template-columns: 1fr;
  }

  /* шаги сверху, форма снизу — порядок как в разметке */
  .registration-form {
    flex-direction: column;
  }

  .photo-gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .volunteer-hero-star--left-desktop {
    display: none;
  }

  .volunteer-hero-star--left-mobile {
    display: block;
  }

  .volunteer-hero-star--right-desktop {
    display: none;
  }

  .volunteer-hero-star--right-mobile {
    display: block;
  }

  .volunteer-hero-title {
    font-size: 16px !important;
  }

  .volunteer-hero-subtitle {
    font-size: 32px !important;
  }

  .volunteer-hero-text {
    font-size: 14px !important;
    margin-top: 0 !important;
  }

  .volunteer-hero-button {
    font-size: 16px !important;
    margin-top: 16px !important;
  }

  .mercy-section {
    margin-bottom: 65px !important;
  }

  .mercy-title {
    font-size: 28px !important;
  }

  .mercy-cards {
    gap: 16px !important;
  }

  .mercy-card {
    gap: 14px !important;
  }

  .mercy-card-title {
    font-size: 20px !important;
  }

  .mercy-card-text {
    font-size: 14px !important;
  }

  .mercy-description {
    font-size: 16px !important;
  }

  .mercy-container {
    gap: 24px !important;
  }

  .mercy-section-star,
  .help-lines,
  .final-registration-lines {
    display: none !important;
  }

  .help-nav {
    display: none !important;
  }

  .help-slider-nav.activity-slider-nav {
    display: flex !important;
    position: static !important;
    left: auto !important;
    bottom: auto !important;
    transform: none !important;
    margin-top: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    justify-content: center !important;
    width: fit-content !important;
  }

  .help-title {
    font-size: 28px !important;
  }

  .help-card-icon {
    width: 64px !important;
    height: 64px !important;
    object-fit: contain !important;
  }

  .help-card-title {
    font-size: 20px !important;
  }

  .help-card-text {
    font-size: 14px !important;
  }

  .help-card {
    flex: 0 0 280px !important;
    width: 280px !important;
    min-width: 280px !important;
    max-width: 280px !important;
    height: 350px !important;
    min-height: 350px !important;
    gap: 20px !important;
    overflow-y: auto !important;
    box-sizing: border-box !important;
  }

  .help-card-list {
    gap: 8px !important;
  }

  .help-slider {
    gap: 16px !important;
  }

  .registration-title {
    font-size: 28px !important;
    margin-bottom: 24px !important;
  }

  .registration-form {
    padding: 24px !important;
    gap: 24px !important;
  }

  .registration-steps {
    gap: 10px !important;
  }

  .registration-step-text {
    font-size: 14px !important;
  }

  .registration-form-right {
    gap: 24px !important;
  }

  .volunteer-registration-inputs {
    gap: 8px !important;
  }

  .volunteer-registration-input,
  .registration-section .phone-field-national {
    font-size: 14px !important;
    padding: 25px 12px !important;
  }

  .registration-section .phone-field-dial {
    font-size: 14px !important;
  }

  .registration-section .phone-field-country-btn {
    padding: 0 12px !important;
  }

  .volunteer-registration-agreement {
    align-items: flex-start !important;
  }

  .volunteer-registration-agreement-checkbox {
    width: 20px !important;
    height: 20px !important;
    padding: 4px !important;
  }

  .volunteer-registration-agreement-text {
    font-size: 14px !important;
    text-align: left !important;
  }

  .volunteer-registration-submit {
    font-size: 16px !important;
  }

  .testimonials-nav {
    display: none !important;
  }

  .testimonials-slider-nav.activity-slider-nav {
    display: flex !important;
    position: static !important;
    left: auto !important;
    bottom: auto !important;
    transform: none !important;
    margin-top: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    justify-content: center !important;
    width: fit-content !important;
  }

  .testimonials-title {
    font-size: 28px !important;
  }

  .testimonials-container {
    gap: 24px !important;
    padding-inline: 20px;
  }

  .testimonial-image {
    width: 32px !important;
    height: 32px !important;
  }

  .testimonial-name {
    font-size: 20px !important;
  }

  .testimonial-card-header {
    gap: 8px !important;
  }

  .testimonial-card {
    flex: 0 0 330px !important;
    width: 330px !important;
    min-width: 330px !important;
    max-width: 330px !important;
    height: 212px !important;
    min-height: 212px !important;
    max-height: 212px !important;
    padding: 24px !important;
    gap: 12px !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  .testimonial-text {
    flex: 1 !important;
    min-height: 0 !important;
    font-size: 16px !important;
    line-height: 1.35 !important;
    display: block !important;
    -webkit-line-clamp: unset !important;
    line-clamp: unset !important;
    -webkit-box-orient: unset !important;
    overflow: hidden !important;
    text-overflow: clip !important;
    -webkit-mask-image: linear-gradient(
      to bottom,
      #fff 0%,
      #fff calc(100% - 44px),
      rgba(255, 255, 255, 0) 100%
    ) !important;
    mask-image: linear-gradient(
      to bottom,
      #fff 0%,
      #fff calc(100% - 44px),
      rgba(255, 255, 255, 0) 100%
    ) !important;
  }

  .testimonial-info,
  .testimonial-position,
  .testimonial-separator,
  .testimonial-experience {
    font-size: 14px !important;
  }

  .photo-gallery-title {
    font-size: 28px !important;
    margin-bottom: 24px !important;
  }

  .photo-gallery-container {
    padding: 24px !important;
    gap: 24px !important;
  }

  .testimonials-slider {
    gap: 16px !important;
  }

  .photo-gallery-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }

  .final-registration-title {
    font-size: 28px !important;
    margin-bottom: 24px !important;
  }

  .final-registration-form {
    padding: 24px !important;
  }

  .final-registration-form-content {
    gap: 24px !important;
  }

  .volunteer-hero-container,
  .mercy-container,
  .help-container,
  .registration-section,
  .testimonials-slider-wrapper,
  .photo-gallery-section,
  .final-registration-section,
  .faq-section {
    padding-inline: 20px !important;
  }

  .volunteer-hero-content {
    margin-bottom: 65px !important;
  }

  .mercy-container {
    margin-bottom: 65px !important;
  }

  .help-container {
    gap: 24px !important;
    margin-bottom: 65px !important;
  }

  .registration-section {
    margin-bottom: 65px !important;
  }

  .testimonials-section {
    margin-bottom: 65px !important;
  }

  .photo-gallery-section {
    margin-bottom: 65px !important;
  }

  .final-registration-section {
    margin-bottom: 65px !important;
  }

  .faq-section {
    margin-bottom: 65px !important;
  }
}

@media (max-width: 500px) {
  .photo-gallery-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 370px) {
  .testimonial-card {
    flex: 0 0 280px !important;
    width: 280px !important;
    min-width: 280px !important;
    max-width: 280px !important;
  }
}


/* Поля формы обёрнуты в <form>, а отступы между ними (gap) заданы
   родителю. Без display:contents форма становится единственным
   дочерним блоком, и поле телефона вплотную прилипает к согласию. */
.registration-form-right-inner,
.final-registration-form-inner {
  display: contents;
}


/* ======================================================================
   «Милость через действие»: слайдер со стрелками — как у блока
   «Чем вы можете помочь?». Карточки одного размера, лишние листаются,
   полосы прокрутки нет. На планшете и телефоне — столбик, как раньше.
   ====================================================================== */
.mercy-container {
  --section-inline-padding: clamp(24px, calc(100px - (1440px - 100vw) * 76px / 416px), 100px);
  --section-edge-inset: calc(max(0px, (100vw - 1500px) / 2) + var(--section-inline-padding));
}

.mercy-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  z-index: 1;
}

.mercy-nav {
  flex-shrink: 0;
}

.mercy-slider-wrapper {
  box-sizing: border-box;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: 0;
  padding-left: var(--section-edge-inset);
  padding-right: var(--section-edge-inset);
  padding-top: 24px;
  padding-bottom: 24px;
  margin-top: -24px;
  margin-bottom: -24px;
  position: relative;
  z-index: 1;
  min-width: 0;
  overflow: hidden;
}

.mercy-cards {
  display: flex;
  gap: 24px;
  width: fit-content;
  transition: transform 0.3s ease;
}

.mercy-cards .mercy-card {
  flex: 0 0 calc((100vw - 2 * var(--section-edge-inset) - 48px) / 3);
  max-width: none;
}

.mercy-slider-nav.activity-slider-nav {
  display: none;
}

@media (max-width: 1023px) {
  .mercy-slider-wrapper {
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0;
    overflow: visible;
  }

  .mercy-cards {
    display: flex;
    flex-direction: column;
    width: 100%;
    transform: none !important;
  }

  .mercy-cards .mercy-card {
    flex: 0 0 auto;
  }

  .mercy-nav {
    display: none !important;
  }
}
