@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700;900&display=swap');

html, body {
  margin: 0;
  padding: 0;
  width: 100vw;
  max-width: 100vw;
  overflow-x: hidden;
  box-sizing: border-box;
  padding-top: 76px;
  
}

body {
  font-family: 'Inter', Arial, sans-serif;
  background: #f7f8fa;
  color: #222;
  margin: 0;
  padding-top: 76px;
}


:root {
  --side-padding: clamp(10px, 5vw, 64px);
  --max-content-width: 1800px;
}

.main-shell {
  width: 100vw;
  min-height: 100vh;
}

.main-header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background: #fff;
  z-index: 1000;
  transition: top 0.3s;
  border-bottom: 1.5px solid #e2e2e2;
  box-shadow: 0 2px 8px rgba(30, 30, 20, 0.06);
}
.main-header.hide-header {
  top: -80px;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 48px;
  width: 100%;
  height: 84px;
  box-sizing: border-box;
}

.main-logo {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
}
.main-logo img {
  max-width: 100%;
  max-height: 60px;
  width: auto;
  height: auto;
  display: block;
}

/* Горизонтальное меню по умолчанию */
.main-nav {
  display: flex;
  gap: 36px;
  align-items: center;
  position: static;
  background: none;
  flex-direction: row;
  padding: 0;
  box-shadow: none;
  transform: none;
  transition: none;
  z-index: 1;
}

.main-nav a.active {
  color: #ff7847 ;
}

.main-nav a {
  color: #222;
  text-decoration: none;
  font-weight: 500;
  font-size: clamp(1rem, 1.1vw, 1.15rem);
  transition: color 0.2s;
}
.main-nav a:hover {
  color: #ff7847;
}
.main-btn {
  background: #ff7847;
  color: #fff;
  padding: clamp(7px, 1vw, 13px) clamp(12px, 2vw, 28px);
  border-radius: 8px;
  font-weight: 600;
  margin-left: clamp(8px, 1vw, 18px);
  transition: background 0.2s;
  font-size: clamp(1rem, 1.05vw, 1.13rem);
  border: none;
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1100;
}
.burger span {
  display: block;
  height: 4px;
  width: 100%;
  background: #222;
  border-radius: 2px;
  transition: 0.25s;
}

/* Адаптив — мобильное меню */
@media (max-width: 900px) {
  .header-container {
    padding: 0 16px;
    height: 64px;
  }
  .main-logo {
    width: 48px;
    height: 48px;
  }
  .main-logo img {
    max-height: 40px;
  }
  .main-nav {
    position: fixed;
    top: 0;          /* Меню от самого верха */
    left: 0;
    height: 100vh;
    width: 82vw;     /* ширина меню, например 82% экрана */
    max-width: 360px;
    background: #fff;
    flex-direction: column;
    gap: 0;
    padding: 16px 0;
    box-shadow: 0 4px 18px rgba(0,0,0,0.13);
    transform: translateX(-110%);  /* Сдвигаем ВЛЕВО полностью */
    transition: transform 0.25s;
    z-index: 1050;
    align-items: stretch;
  }
  .main-nav.open {
    transform: translateX(0%);
  }
  .main-nav a {
    padding: 18px 32px;
    font-size: 18px;
    border-bottom: 1px solid #ececec;
  }
  .main-nav .main-btn {
    margin: 8px 32px 0 32px;
    border-radius: 10px;
  }
  .burger {
    display: flex;
  }
  /* Чтобы основной контент не прокручивался, когда меню открыто */
  body.menu-open {
    overflow: hidden;
  }
}

/* Анимация бургер-меню в крестик */
.burger.open span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.burger.open span:nth-child(2) {
  opacity: 0;
}
.burger.open span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

.hero-section {
  margin-top: 0;
  padding: 0 var(--side-padding);
  max-width: var(--max-content-width);
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}


.hero-img-wrap {
  position: relative;
  width: 100%;
  height: min(100vh, 820px);
  min-height: 340px;
  border-radius: 24px;
  overflow: hidden;
  background: #d8d8d8;
  display: flex;
  align-items: flex-end;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  left: 0; top: 0; right: 0; bottom: 0;
  z-index: 1;
}


.hero-gradient {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 45%;
  z-index: 2;
  background: linear-gradient(to top,rgba(20,22,25,0.48) 89%,rgba(20,22,25,0.04) 100%);
  pointer-events: none;
}

.hero-title {
  position: absolute;
  left: clamp(16px, 7vw, 90px);
  bottom: clamp(8px, 5vw, 60px);
  font-family: 'Inter', Arial, sans-serif;
  font-weight: 900;
  font-size: clamp(3rem, 11vw, 12.5rem);
  color: #ff7847;
  line-height: 0.95;
  letter-spacing: 2px;
  z-index: 3;
  text-shadow: 0 6px 14px rgba(0,0,0,0.22);
  margin: 0;
  white-space: nowrap;
  user-select: none;
}

.hero-subtitle {
  position: absolute;
  right: clamp(16px, 7vw, 90px);
  bottom: clamp(34px, 9vw, 86px);
  max-width: clamp(200px, 30vw, 600px);
  font-family: 'Inter', Arial, sans-serif;
  font-weight: 500;
  font-size: clamp(1.15rem, 2vw, 1.6rem);
  color: #fff;
  text-shadow: 0 4px 18px rgba(0,0,0,0.25);
  z-index: 3;
  text-align: right;
  margin: 0;
}



.mission-section {
  width: 100%;
  margin: clamp(54px, 10vw, 110px) 0 clamp(44px, 7vw, 80px) 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  background: transparent;
}

.mission-inner {
  width: 100%;
  max-width: 880px;
  padding: 0 clamp(10px, 3vw, 36px);
  display: flex;
  flex-direction: column;
}

.mission-label {
  font-size: 1rem;
  font-weight: 700;
  color: #666;
  margin-bottom: 12px;
  margin-left: 6px;
    display: flex;
  flex-direction: column;
   align-items: center;
   opacity: 0.8;
}

.mission-flex {
  display: flex;
  flex-direction: column;
   align-items: center;
}

.mission-title {
  font-family: 'Inter', Arial, sans-serif;
font-size: clamp(1.5rem, 2.8vw, 2.8rem);
  font-weight: 900;
  color: #1a3c43;
  margin: 0 0 28px 0;
  line-height: 1.12;
  letter-spacing: -1.2px;
   text-align: center;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.mission-highlight {
  color: #ff7847;
}

.mission-actions {
  display: flex;
  gap: 16px;
  margin-top: 18px;
}

.mission-btn {
  padding: 12px 30px;
  background: #193c43;
  color: #fff;
  border-radius: 28px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.13rem;
  box-shadow: 0 2px 8px 0 rgba(30,40,40,0.05);
  transition: background 0.2s, color 0.2s;
  border: none;
}

.mission-btn.light {
  background: #fff;
  color: #193c43;
  border: 2px solid #193c43;
}

.mission-btn:hover {
  background: #ff7847;
  color: #fff;
  border-color: #ff7847;
}

/* Адаптив — для мобильных просто уменьши padding и размер */
@media (max-width: 650px) {
  .mission-section {
    margin: 24px 0 18px 0;
    padding: 0;
    background: rgba(164, 201, 226, 0.22); /* мягкая голубая прозрачность */
    border-radius: 16px;
  }
  .mission-inner {
    max-width: 99vw;
    padding: 20px 6px 26px 6px;
  }
  .mission-label {
    font-size: 13px;
    margin-bottom: 9px;
    margin-left: 0;
    opacity: 0.72;
  }
  .mission-title {
    font-size: 1.25rem;
    line-height: 1.17;
    margin-bottom: 14px;
    letter-spacing: -0.5px;
    color: #1a3c43;
  }
  .mission-highlight {
    font-size: 1.08rem;
    color: #ff7847cc;
    margin-top: 10px;
    display: block;
  }
  .mission-actions {
    flex-direction: column;
    gap: 9px;
    margin-top: 12px;
    width: 100%;
    align-items: center;
  }
.mission-btn {
  width: 96%;
  max-width: 320px;
  font-size: 1.08rem;
  padding: 12px 0;
  border-radius: 18px;
  margin: 0 auto;
  box-shadow: 0 2px 12px rgba(40,70,80,0.08);
  background: #193c43;
  color: #fff;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  border: none;
  box-sizing: border-box;
  display: block;
  transition: background 0.2s, color 0.2s, border 0.2s;
}
.mission-btn.light {
  background: #fff;
  color: #193c43;
  border: 2px solid #193c43;
  /* для красивой обводки */
}

.mission-btn:hover {
  background: #ff7847;
  color: #fff;
  border-color: #ff7847;
}
}





/*==============.camp-program-section==*/

.program-section {
  background: linear-gradient(218deg, #ffdfe01a 48%, #efd9e399);
  padding: 62px 0 40px 0;
  margin: 36px auto 0 auto;
  border-radius: 36px;
  box-shadow:
    0 6px 32px rgba(80,60,30,0.11),
    0 0 80px 32px #efd9e355;
  max-width: 1800px; /* сделали шире */
  width: 96vw;
  position: relative;
}
.section-title {
  font-family: 'Rubik Mono One', 'Arial Black', Arial, sans-serif;
  font-size: 2.6rem;
  color: #0b5d57;
  text-align: center;
  margin-bottom: 36px;
  letter-spacing: 0.5px;
}
.program-cards {
   grid-template-columns: repeat(6, 1fr);
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  justify-content: center;
  margin-bottom: 32px;
}

.program-card {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(60,50,30,0.07);
  overflow: hidden;
  max-width: 330px;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  transition: transform 0.13s;
  border: 2px solid transparent;
  position: relative;
}
.program-card:hover {
  transform: translateY(-7px) scale(1.025);
  border-color: #dac1a7;
}
.card-top {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.card-top img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.icon-bubble {
  position: absolute;
  left: 18px;
  bottom: 18px;
  background: #fff;
  border-radius: 100%;
  box-shadow: 0 4px 12px rgba(60,50,30,0.11);
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.icon-bubble img {
  width: 32px;
  height: 32px;
}
.card-bottom {
  padding: 26px 24px 22px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.card-bottom h3 {
  font-family: 'Rubik', 'Arial', sans-serif;
  font-size: 1.22rem;
  font-weight: 800;
  color: #45311a;
  margin: 0 0 8px 0;
}
.card-bottom p {
  font-size: 1.01rem;
  color: #755e46;
  margin: 0;
}
.encounter-section {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 80px 24px;
  text-align: center;

  -webkit-mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
}

.section-label {
  font-size: 24px;
  color: #0b5d57;
  margin-bottom: 16px;
  font-weight: 700;
}

.encounter-title {
  font-size: 44px;
  font-weight: 900;
  color: #103e43;
  margin-bottom: 32px;
}

.highlight-orange {
  color: #ff7847;
}

.encounter-subblock {
  max-width: 1800px;
  margin: 0 auto 48px;
}

.encounter-intro {
  font-size: 22px;
  line-height: 1.5;
  color: #113b41;
  margin-bottom: 20px;
}

.encounter-points {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 20px;
  text-align: left;
  align-items: center;
}

.point {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-size: 22px;
  color: #0b5d57;
  max-width: 640px;
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
  transform: translateY(10px);
}

.point:nth-child(1) { animation-delay: 0.2s; }
.point:nth-child(2) { animation-delay: 0.4s; }
.point:nth-child(3) { animation-delay: 0.6s; }

.point-number {
  background-color: #ff7847;
  color: white;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  text-align: center;
  line-height: 32px;
  font-weight: bold;
  flex-shrink: 0;
  font-size: 18px;
}

.point p {
  margin: 0;
  font-weight: 600;
  white-space: nowrap;
}

@media (max-width: 650px) {
  .point p, .nowrap {
    white-space: normal !important;
  }
}


@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cta-button {
  background: #193C43;
  color: #ffffff;
  font-weight: bold;
  padding: 14px 32px;
  border: none;
  border-radius: 24px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 40px;
}

.cta-button:hover {
  opacity: 0.9;
  transform: scale(1.04);
}

.encounter-subblock strong {
  color: #0b5d57;
}


.more-info-button-container {
  text-align: center;
  margin: 20px 0;
}

.more-info-button {
  display: inline-block;
  background-color: #193c43; /* можешь изменить на нужный цвет */
  color: white;
  padding: 10px 24px;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.more-info-button:hover {
  background-color: #1f776e; /* цвет при наведении */
}


.cta-block {
  margin-top: 42px;
  display: flex;
  justify-content: center;
}
.cta-content {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 4px 18px rgba(120,90,55,0.13);
  padding: 36px 44px 30px 44px;
  text-align: center;
  max-width: 500px;
}
.cta-content h2 {
  font-size: 1.7rem;
  margin-bottom: 8px;
  color: #45311a;
}
.cta-content p {
  color: #755e46;
  margin-bottom: 18px;
  font-size: 1.1rem;
}


.carousel-track.dragging { cursor: grabbing; user-select: none; }
.carousel-track { cursor: grab; }

.swiper-slide {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  display: flex;
}

.program-card {
  min-width: 0;
  max-width: 340px;
  width: 100%;
  box-sizing: border-box;
}

.carousel-wrapper {
  width: 100%;
  max-width: 100%;    
  margin: 0 auto 32px auto;
  overflow-x: auto;
  overflow-y: hidden;
  position: relative;
  -webkit-overflow-scrolling: touch; /* для плавного свайпа на iOS */
}

.carousel-wrapper::-webkit-scrollbar {
  display: none;
}
.carousel-wrapper {
  scrollbar-width: none; /* Firefox */
}

.carousel-track {
  display: flex;
  transition: transform 0.1s cubic-bezier(.55,0,.1,1);
  will-change: transform;
}
.program-card {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(60,50,30,0.07);
  overflow: hidden;
  min-width: 340px;
  max-width: 340px;
  margin: 0 16px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  transition: transform 0.13s;
  border: 2px solid transparent;
  position: relative;
}
@media (max-width: 1100px) {
  .carousel-wrapper { max-width: 100vw; }
  .program-card { min-width: 260px; max-width: 260px; }
  .card-top { height: 170px; }
}
@media (max-width: 900px) {
  .swiper-slide {
    width: 92vw !important;
    min-width: 0 !important;
    display: flex;
    justify-content: center;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
  }
  .program-card {
    width: 100%;
    max-width: 96vw;
    min-width: 0;
    margin: 0;
  }
  .card-top { height: 38vw; min-height: 120px; }
}


@media (max-width: 600px) {
  .program-card .card-top {
    height: 48vw;
    min-height: 120px;  
    max-height: 180px;
  }
.program-card .card-top img {
    object-fit: cover;
    object-position: center center; /* по центру по умолчанию */
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 10px;
    display: block;
  }

    .program-card .card-top img[src*="theme-400"] {
    object-position: center 20%;
    /* подбери процент для лучшего результата, например, 40% или 50% */
  }

    .program-card .card-top img[src*="mentoring-400"] {
    object-position: center 18%;
  }


  .program-card .icon-bubble {
    bottom: 10px;
    left: 10px;
    width: 44px;
    height: 44px;
  }
  .program-card .icon-bubble img {
    width: 24px;
    height: 24px;
  }
  .program-card {
    min-width: 94vw;
    max-width: 94vw;
    margin: 0 3vw;
    border-radius: 12px;
  }
  .program-card .card-bottom {
    padding: 12px 10px 12px 10px;
  }
}

/* impact-section */ 

.impact-section {
  padding: 80px 24px;
  max-width: 1280px;
  margin: 0 auto;
}

.impact-header {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 60px;
}

.impact-title {
  flex: 1 1 40%;
  min-width: 280px;
}

.impact-title h2 {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.4;
  color: #103e43;
}

.impact-text {
  flex: 1 1 55%;
  min-width: 280px;
  font-size: 18px;
  line-height: 1.7;
  color: #1a4348;
  font-weight: bold;
}
.impact-text p {
  margin-bottom: 16px;
}

.impact-text strong {
  color: #ff7847;
}


/*stats-section*/

/* Общая обёртка */
.stats-section {
  padding: 60px 24px;
  max-width: 1240px;
  margin: 0 auto;
}

/* Уникальная сетка по областям */
.styled-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 280px);
  grid-template-areas:
    "large img1 kids"
    "large staff img2";
  gap: 24px;
}

/* Расположение */
.area-large { grid-area: large; }
.area-img1  { grid-area: img1; }
.area-kids  { grid-area: kids; }
.area-staff { grid-area: staff; }
.area-img2  { grid-area: img2; }

.area-img1 img {
  object-position: center 20%;
}

/* Оформление карточек */
.stats-card {
  border-radius: 16px;
  padding: 24px;
  color: #103e43;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: white;
  transition: transform 0.3s ease;
}

.stats-card:hover {
  transform: translateY(-4px);
}

.stats-card h4 {
  font-size: 21px;
  font-weight: 700;
  color: #103e43;
  margin-bottom: 16px;
}
.stats-card h2 {
  font-size: 66px; /* увеличили размер */
  font-weight: 900!important;
  color: #103e43;
  margin: 0 0 16px 0;
  line-height: 1.1;
}

.stats-card p {
  font-size: 14px;
  color: #4d4d4d;
  line-height: 1.5;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding-top: 12px;
  margin-top: auto;
}

.photo-card {
  padding: 0;
  overflow: hidden;
}

.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

/* Градиенты */
.gradient-purple {
  background: linear-gradient(135deg, #e8ddf5, #d9cbed);
}

.gradient-blue {
  background: linear-gradient(135deg, #c7e7f8, #b0d5ec);
}

.gradient-orange {
  background: linear-gradient(135deg, #ffd6aa, #ffc28a);
}

/* Адаптив */
@media (max-width: 900px) {
  .styled-grid {
    display: flex;
    flex-direction: column;
  }

  .stats-card,
  .photo-card {
    height: auto;
  }
}


.influence-section {
 background: #D5C3DB;
background: linear-gradient(125deg, rgba(213, 195, 219, 1) 0%, rgba(175, 181, 213, 1) 98%);
  padding: 80px 0;
  overflow: hidden;
  position: relative;

  mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
}


/*scrolling-banner-wrapper*/

.scrolling-banner-wrapper {
  padding: 30px 0;
  overflow: hidden;
}

.scrolling-banner {
  display: flex;
  flex-wrap: nowrap;
  position: relative;
  white-space: nowrap;
}

.scrolling-track, .scrolling-track.clone {
  display: flex;
  white-space: nowrap;
  will-change: transform;
}

.scrolling-track span {
  font-size: 60px;
  font-weight: 700;
  color: #f97352;
  margin-right: 60px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.scrolling-track img {
  height: 32px;
  width: 32px;
  object-fit: contain;
}

/* footer */

.site-footer {
  background: linear-gradient(to top, #d2c8e1, #aab7e8);
  color: #0f2232;
  font-family: 'Inter', sans-serif;
  padding: 60px 24px 20px;
 -webkit-mask-image: linear-gradient(to bottom, transparent, black 6%, black 95%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent, black 6%, black 95%, transparent 100%);
}

/* --- Призыв к пожертвованию --- */

.donation-title {
  font-size: 44px;
  line-height: 1.2;
  font-weight: 900;
  color: #103e43;
  margin-bottom: 20px;
  letter-spacing: -1px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}


.donation-callout {
  text-align: center;
  background: linear-gradient(0deg, rgba(255, 167, 135, 0.21) 0%, rgba(255, 255, 255, 0.25) 100%);
  border-radius: 16px;
  padding: 48px 24px;
  width: 94%;                  /* блок занимает 90% ширины страницы */
  max-width: none;         /* убираем ограничение в 860px */
  margin: 0 auto 60px;     
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 18%, black 100%);
  mask-image: linear-gradient(to bottom, transparent, black 18%, black 100%);
}

.donation-text {
  font-size: 24px;
  line-height: 1.4;
  font-weight: 500;      /* Можно 400 или 500 — визуально легче */
  color: #103e43;
  margin-bottom: 24px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.donation-callout h2 {
  max-width: 100%;
  width: 100%;
  display: block;
}

.donation-button {
  background-color: #ff7847;
  color: white;
  padding: 12px 28px;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 9999px;
  text-decoration: none;
  display: inline-block;
  transition: background 0.3s ease;
}

.donation-button:hover {
  background-color: #e45f2f;
}
/* --- Основной футер --- */
.footer-container {
  display: flex;
  flex-wrap: wrap;
  width: 94%;
  margin: 0 auto 40px;
  gap: 40px;
  align-items: flex-start;
}

.footer-brand,
.footer-links,
.footer-subscribe {
  flex: auto;  /* Растягиваются пропорционально содержимому! */
  min-width: 180px; /* Для адаптива */
}



/* Крупный заголовок "КОВЧЕГ" */
.brand-title {
  font-size: 200px;
  font-weight: 900;
  text-transform: uppercase;
  color: #ff7847;
  margin: 0 0 8px 0;
  letter-spacing: 0;
  line-height: 1;
  font-family: 'Inter', sans-serif;
}

.brand-subtitle {
  font-size: 19px;
}

.footer-subscribe {
  flex: 1 1 260px;    /* Оставшееся место */
  min-width: 220px;
  margin-left: 40px;
}

.footer-links h4 {
  font-size: 16px;
  margin-bottom: 12px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #333;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}



.footer-subscribe h4 {
  font-size: 16px;
  margin-bottom: 12px;
}

.footer-subscribe input[type="email"] {
  padding: 10px;
  width: 100%;
  max-width: 240px;
  border: none;
  border-radius: 4px;
}

.footer-subscribe button {
  padding: 10px 16px;
  background-color: #ff7847;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.footer-subscribe button:hover {
  background-color: #e36235;
}

.privacy-text {
  font-size: 12px;
  color: #666;
}

.footer-bottom {
  text-align: center;
  font-size: 14px;
  color: #444;
  border-top: 1px solid rgba(0,0,0,0.1);
  padding-top: 20px;
}

/* Адаптивность — на мобильном убираем margin */
@media (max-width: 900px) {
  .footer-links,
  .footer-subscribe {
    margin-left: 0;
    flex-basis: 100%;
    max-width: 100%;
  }
  .footer-container {
    flex-direction: column;
    gap: 20px;
  }
  .brand-title {
    font-size: 56px;
    text-align: center;
  }
}





/* MOBILE */ 
/* --- МОБИЛЬНАЯ АДАПТАЦИЯ --- */

@media (max-width: 650px) {

  /* Hero */
  .hero-section {
    padding: 0 2vw;
  }
  .hero-img-wrap {
    min-height: 210px;
    border-radius: 12px;
  }
  .hero-title {
    left: 50%;
    transform: translateX(-50%);
    right: auto;
    bottom: 100px;   /* <-- СДЕЛАЛ ВЫШЕ! Можно 70px, 90px или сколько нравится */
    text-align: center;
    white-space: normal;
    width: 90vw;
    max-width: 98vw;
    font-size: 5.5rem;
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: 2px;
    word-break: break-word;
    color: #ff7847;
    text-shadow: 0 2px 12px rgba(0,0,0,0.20);
    z-index: 3;
    padding: 0;
  }
  .hero-subtitle {
    font-size: 0.93rem;
    max-width: 95vw;
    right: 12px;
    left: 12px;
    margin-left: auto;
    margin-right: auto;
    bottom: 10vw;
    font-weight: 400;
    color: #fff;
    line-height: 1.25;
    text-shadow: 0 2px 8px rgba(0,0,0,0.22);
    z-index: 3;
    text-align: center;
  }

  /* Программа */

@media (max-width: 600px) {
  .card-top {
    height: 48vw;
    min-height: 120px;
    max-height: 180px;
  }
  .card-top img {
    object-fit: contain;
    background: #fff;
  }
  .icon-bubble {
    bottom: 10px;
    left: 10px;
    width: 44px;
    height: 44px;
  }
  .icon-bubble img {
    width: 24px;
    height: 24px;
  }
  .program-card {
    min-width: 94vw;
    max-width: 94vw;
    margin: 0 3vw;
    border-radius: 12px;
  }
  .card-bottom {
    padding: 12px 10px 12px 10px;
  }
}

  
  .program-section {
    padding: 36px 0 24px 0;
    border-radius: 14px;
    margin: 16px 0 0 0;
  }
  .section-title {
    font-size: 1.15rem;
    margin-bottom: 18px;
  }
  .card-bottom {
    padding: 15px 14px 14px 14px;
  }
  .program-card {
    min-width: 96vw;
    max-width: 96vw;
    margin: 0 2vw;
  }
  /* Встреча с Богом */
  .encounter-section {
    width: 96vw;
    margin: 0 auto 20px auto;
    padding: 20px 6px;
    border-radius: 16px;
    max-width: 100vw;
    box-sizing: border-box;
  }
  .section-label,
  .encounter-title {
    font-size: 1.18rem;
    margin-bottom: 16px;
    text-align: center;
  }
  .encounter-intro, .point {
    font-size: 1.01rem;
    max-width: 98vw;
    line-height: 1.5;
  }
  .point-number {
    width: 26px; 
    height: 26px; 
    font-size: 15px; 
    line-height: 26px;
  }
  /* Impact */
   .impact-section {
    width: 96vw;
    max-width: 100vw;
    margin: 0 auto 24px auto;
    padding: 22px 7px;
    border-radius: 16px;
    background: inherit; /* если нужен полупрозрачный фон — задай тут */
    color: #1d2632;
    box-sizing: border-box;
  }
  .impact-title h2 {
    font-size: 1.23rem;
    margin-bottom: 14px;
    text-align: center;
    font-weight: 700;
  }
  .impact-text {
    font-size: 1.07rem;
    font-weight: 500;
    line-height: 1.55;
  }
  .stats-section {
    padding: 18px 2vw;
  }
  .stats-grid {
    display: flex;
    flex-direction: column;
    gap: 16px; /* расстояние между карточками */
  }
  .stats-card {
    width: 100%;
    min-width: 0;
    max-width: 100vw;
    border-radius: 16px;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 22px 14px 18px 14px;
    font-size: 1.06rem;
  }
  .stats-card h4 {
    font-size: 1rem;
    margin-bottom: 8px;
  }
  .stats-card h2 {
    font-size: 2rem;
    margin-bottom: 10px;
  }
  .stats-card p {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 0;
  }
  /* Если есть фото-карточки */
  .photo-card img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    object-fit: cover;
    margin: 0;
  }
  /* Footer */
   .site-footer {
    padding: 32px 0 10px 0;
    width: 100vw;
    margin-top: 64px; 
    border-radius: 0;
    box-sizing: border-box;
    background: linear-gradient(to top, #d2e8e1, #b0d7eb 87%);
  }

  .footer-container {
    width: 94vw;
    max-width: 450px;
    margin: 0 auto 20px auto;
    padding: 0;
    gap: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .brand-title {
    font-size: 28px;
    text-align: center;
    margin-bottom: 2px;
    font-weight: 700;
    letter-spacing: 1.2px;
  }

  .brand-subtitle {
    font-size: 13px;
    text-align: center;
    margin-bottom: 8px;
    opacity: 0.9;
  }

  .donation-callout {
    width: 100%;
    padding: 18px 7px 18px 7px;
    border-radius: 15px;
    margin-bottom: 18px;
    text-align: center;
    background: #fff7;
    box-sizing: border-box;
  }

  .donation-title {
    font-size: 1.12rem;
    margin-bottom: 8px;
    font-weight: 600;
  }

  .donation-text {
    font-size: 0.98rem;
    margin-bottom: 12px;
    line-height: 1.45;
  }

  .donation-button {
    width: 98%;
    font-size: 1.07rem;
    padding: 12px 0;
    border-radius: 10px;
    margin: 0 auto;
    display: block;
    background: #ff8253;
    color: #fff;
    border: none;
    font-weight: 700;
  }

  .footer-links,
  .footer-subscribe {
    width: 100%;
    text-align: center;
  }

  .footer-links h4,
  .footer-subscribe h4 {
    font-size: 14px;
    margin-top: 12px;
    margin-bottom: 5px;
    font-weight: 600;
  }

  .footer-links ul {
    padding: 0;
    margin: 0 0 10px 0;
    list-style: none;
  }

  .footer-links li {
    margin-bottom: 6px;
    font-size: 15px;
  }

  .footer-subscribe {
    margin-top: 10px;
  }

  .footer-subscribe input[type="email"] {
    font-size: 14px;
    width: 100%;
    max-width: 100%;
    margin-bottom: 9px;
    border-radius: 8px;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid #e0e0e0;
    box-sizing: border-box;
  }

  .footer-subscribe button {
    font-size: 1rem;
    width: 100%;
    padding: 10px 0;
    border-radius: 8px;
    background: #ff8253;
    color: #fff;
    border: none;
    font-weight: 700;
    display: block;
    margin: 0 auto 6px auto;
  }

  .privacy-text {
    font-size: 10px;
    margin-top: 8px;
    text-align: center;
    opacity: 0.72;
    line-height: 1.4;
  }
}


.site-footer {
  position: relative; /* чтобы absolute-элементы привязывались к футеру */
}

.footer-media-logo {
  position: absolute;
  right: 20px;
  bottom: 80px; /* было 20px, подняли выше */
}

.footer-media-logo img {
  width: 200px;
  height: auto;
  opacity: 0.85;
  transition: opacity 0.3s ease;
}

.footer-media-logo img:hover {
  opacity: 1;
}

@media (max-width: 768px) {
  .footer-media-logo {
    display: none;
  }
}


/* Подписка на новости */
.footer-subscribe #zcampaignOptinForm{
  display:flex; gap:8px; flex-wrap:wrap; align-items:center;
}
.footer-subscribe #zcWebOptin{
  padding:12px 16px; border:none; border-radius:10px; cursor:pointer;
}





/* Подписка в футере */
.footer-subscribe .subscribe-form{
  display:flex;
  align-items:center;         /* ровняем по центру по вертикали */
  gap:12px;
  flex-wrap:wrap;             /* чтобы на узких экранах переносилось */
  margin:0;
}

.footer-subscribe input[type="email"]{
  height:44px;
  padding:0 16px;
  border:1px solid #E5E7EB;
  border-radius:10px;
  outline:none;
  box-sizing:border-box;
  font:inherit;
}

.footer-subscribe button{
  height:44px;
  padding:0 18px;
  border:0;
  border-radius:10px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  line-height:1;              /* чтобы не “выпирал” текст */
  font-weight:600;
  cursor:pointer;
  background:#FF7A4E;         /* твой оранжевый */
  color:#fff;
}

/* Мобилки: в колонку и на всю ширину */
@media (max-width: 560px){
  .footer-subscribe .subscribe-form{
    flex-direction:column;
    align-items:stretch;
  }
  .footer-subscribe input[type="email"],
  .footer-subscribe button{
    width:100%;
  }
}
