/* Базовые стили и сброс */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', sans-serif;
	height: 100%;
	min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Оболочка с фоном на весь экран */
.hero-wrapper {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    /* Фоновое изображение с затемнением */
    background: url('../images/girl.jpg') no-repeat center center;
    /*background: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.25)), 
                url('../images/girl.png') no-repeat center center;*/
    background-size: cover;
    background-attachment: fixed;
}

/* Шапка сайта */
.main-header {
    width: 100%;
    background: #00564A;
    z-index: 100;
}

/* Контейнер хедера выстраивает элементы в колонку по центру */
.header-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px; /* Зазор между логотипом сверху и меню снизу */
    height: 45px;
    justify-content: center;

}

/* Оболочка логотипа */
.logo-wrapper {
    background: url(../images/logofon.svg) no-repeat center center;
    height: 140px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    display: block;
    text-align: center;
    text-decoration: none;
    color: #ffffff;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.02);
}

.logo-img {
	width: 420px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.logo-title {
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 3px;
}

.logo-subtitle {
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 1.5px;
    color: #f1f1f1;
}

.logo-desc {
    font-size: 8.5px;
    font-weight: 400;
    letter-spacing: 1.2px;
    color: #cccccc;
    margin-top: 3px;
}

/* Главная навигация */
.main-nav {
    width: 100%;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 40px; /* Свободный отступ между пунктами десктопного меню */
    border-top: 2px solid #fff;
    border-bottom: 2px solid #fff;
}

.nav-link {
    text-decoration: none;
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1.5px;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s ease;
	text-transform: uppercase;
}

.nav-link:hover,
.nav-item.active .nav-link {
    color: #ffd700; /* Золотистый акцент */
}

/* Плавная линия подчеркивания меню 
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #ffd700;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-item.active .nav-link::after {
    width: 100%;
}
*/

/* Кнопка гамбургера (скрыта на десктопе) */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 110;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Контентная зона по центру */
.hero-content {
    /*
    flex-grow: 1;
    display: flex;
    align-items: center;
    padding-bottom: 60px;
    */
    position: fixed;
    bottom: 50px;
    width: 100%;
    text-align: center;
    background: rgba(255, 255, 255, 0.7);
}

.hero-title {
    font-size: 30px;
    padding: 5px 0;
    font-weight: 900;
    letter-spacing: 6px;
    color: #00564A;
}

.hero-title .hashtag {
    color: #ffd700;
}

    .donation-form {
      background: #ffffff;
      padding: 40px;
      max-width: 650px;
      width: 100%;
      box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    }

    .form-group {
      margin-bottom: 28px;
    }

    .form-label {
      font-size: 15px;
      font-weight: 700;
      color: #222;
      margin-bottom: 12px;
      display: block;
    }

    /* Радиокнопки как переключатели */
    .radio-group {
      display: flex;
      gap: 12px;
    }

    .radio-btn {
      flex: 1;
      position: relative;
    }

    .radio-btn input[type="radio"] {
      position: absolute;
      opacity: 0;
      cursor: pointer;
      height: 0;
      width: 0;
    }

    .radio-btn label {
      display: flex;
      justify-content: center;
      align-items: center;
      height: 48px;
      border: 1px solid #e0e0e0;
      background: #fff;
      font-size: 13px;
      font-weight: 600;
      letter-spacing: 0.5px;
      color: #757575;
      cursor: pointer;
      transition: all 0.2s ease;
      text-transform: uppercase;
    }

    .radio-btn input[type="radio"]:checked + label {
      border: 1.5px solid #222;
      color: #222;
    }

    /* Сеть сумм */
    .amount-grid {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 10px;
    }

    .custom-amount {
      position: relative;
      display: flex;
      align-items: center;
      border: 1px solid #e0e0e0;
      background: #fff;
      height: 48px;
      padding: 0 10px;
    }

    .custom-amount-title {
      position: absolute;
      top: 4px;
      left: 10px;
      font-size: 9px;
      color: #999;
    }

    .custom-amount input {
      width: 100%;
      border: none;
      outline: none;
      font-size: 14px;
      font-weight: 500;
      color: #222;
      padding-top: 10px;
      background: transparent;
    }

    .custom-amount .currency {
      font-size: 14px;
      color: #222;
      padding-top: 10px;
    }

    /* Оплата */
    .payment-method {
      display: inline-block;
      width: 100%;
    }

    .payment-card {
      border: 1.5px solid #222;
      padding: 8px 12px;
      display: flex;
      flex-direction: column;
      align-items: center;
      cursor: pointer;
      background: #fff;
    }

    .payment-card .logos {
      display: flex;
      align-items: center;
      gap: 8px;
      height: 24px;
      margin-bottom: 2px;
    }

    .payment-card .subtext {
      font-size: 11px;
      color: #666;
    }

    /* Двойной ввод */
    .input-row {
      display: flex;
      gap: 12px;
    }

    .text-input {
      flex: 1;
      height: 48px;
      border: 1px solid #e0e0e0;
      padding: 0 14px;
      font-size: 14px;
      outline: none;
      color: #222;
      transition: border-color 0.2s;
    }

    .text-input::placeholder {
      color: #aaa;
    }

    .text-input:focus {
      border-color: #999;
    }

    /* Чекбоксы */
    .checkbox-group {
      display: flex;
      flex-direction: column;
      gap: 10px;
      margin-bottom: 28px;
    }

    .checkbox-item {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      cursor: pointer;
    }

    .checkbox-item input[type="checkbox"] {
      border: 1px solid #ccc;
      border-radius: 0;
      cursor: pointer;
      margin-top: 1px;
      accent-color: #222;
    }

    .checkbox-item span {
      font-size: 13px;
      color: #333;
      line-height: 1.4;
    }

    .checkbox-item a {
      color: #333;
      text-decoration: underline;
    }

    /* Кнопка */
    .submit-btn {
      width: 100%;
      height: 50px;
      background: #cccccc;
      border: none;
      color: #ffffff;
      font-size: 13px;
      font-weight: 700;
      letter-spacing: 0.8px;
      text-transform: uppercase;
      cursor: pointer;
      transition: background-color 0.2s;
    }

    .submit-btn:hover {
      background: #b5b5b5;
    }

    /* Убираем стрелки в Chrome, Safari, Edge, Opera */
    .custom-amount input::-webkit-outer-spin-button,
    .custom-amount input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
    }

    /* Убираем стрелки в Firefox */
    .custom-amount input[type="number"] {
    -moz-appearance: textfield;
    }

    /* Адаптив под мобильные */
    @media (max-width: 580px) {
      .donation-form {
        padding: 20px;
      }
      .amount-grid {
        grid-template-columns: repeat(2, 1fr);
      }
      .input-row {
        flex-direction: column;
      }
      .payment-method {
        width: 100%;
      }
    }

/* ================= Адаптивный дизайн ================= */

@media (max-width: 991px) {
    .hero-title {
        font-size: 38px;
    }
    .nav-list {
        gap: 25px;
    }
}

@media (max-width: 768px) {
    /* Перестраиваем шапку для мобильных: логотип слева, бургер справа */
    .main-header {
        padding: 15px 0;
    }

    .header-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 0;
    }

    .logo-wrapper {
        width: 100%;
		position: absolute;
		top: 74px;
    }

    .logo-img {
        width: 70%;
    }

    .logo-title {
        font-size: 18px;
        letter-spacing: 2px;
    }

    .logo-subtitle {
        font-size: 12px;
        letter-spacing: 1px;
    }

    .logo-desc {
        font-size: 7.5px;
    }

    /* Активируем кнопку гамбургера */
    .menu-toggle {
        display: flex;
    }

    /* Мобильное выпадающее меню */
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        background-color: rgb(0 86 74);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        padding: 100px 40px;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 105;
        justify-content: flex-start;
    }

    .main-nav.open {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 20px;
        width: 100%;
		border: none;
    }

    .nav-link {
        font-size: 18px;
        display: inline-block;
    }

    /* Трансформация иконки бургера в крестик */
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .hero-title {
        font-size: 28px;
    }
}


/* ================= Стили для внутренней страницы ================= */

/* Новая шапка с заданным фоном */
.inner-header {
    width: 100%;
    min-height: 125px;
    background: url(../images/shapka.png) no-repeat center center;
    background-size: 100%;
    display: flex;
    align-items: center;
    border-bottom: 3px solid #00564A;
}

.inner-header-container {
    display: flex;
    flex-direction: row;
    align-items: end;
    width: 100%;
    height: 125px;
    gap: 20px;
}

/* Стилизация области логотипа в шапке */
.inner-logo-area {
    display: flex;
    align-items: center;
    gap: 15px;
}

.inner-logo-area img {
    margin-bottom: 25px;
	width: 250px;
}

.logo-placeholder {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.2);
    border: 2px dashed #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 11px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    border-radius: 4px;
}

.inner-logo-text {
    display: flex;
    flex-direction: column;
    color: #ffffff;
    line-height: 1.2;
}

.inner-logo-title {
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 2px;
}

.inner-logo-subtitle {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #ffd700; /* Золотой акцент для выделения */
}

.inner-logo-desc {
    font-size: 9px;
    font-weight: 400;
    letter-spacing: 1px;
    color: #e0e0e0;
}

/* Специфичные настройки меню для шапки внутренней страницы */
.inner-header .main-nav {
    width: 100%;
    margin-left: 0;
}

.inner-header .nav-list {
    border: none; /* Убираем рамки десктопного меню, если на макете их нет */
    gap: 5px;
}

.inner-header .nav-link {
    font-size: 16px;
    padding: 10px 0;
    background: #00564A;
    border-radius: 10px 10px 0 0;
    display: block;
    width: 150px;
    text-align: center;
}

.inner-header .active .nav-link {
    color:#fff;
    background: #f90;
}

/* Контентная зона */
.inner-content {
    padding: 60px 0;
	flex: 1;
}

.content-grid {
    display: flex;
    gap: 50px;
    align-items: start;
}

.text-section {
	flex-basis: 65%;
}

/* Текстовая секция */
.text-section p {
    font-size: 16px;
    line-height: 1.4;
    margin-bottom: 10px;
    color: #333;
}

.text-section p:last-child {
    margin-bottom: 0;
}

.inner-content h1, .inner-content h2 {
	color: #222;
    margin-bottom: 20px;
}

.inner-content ul {
    padding-left: 24px;
    margin-bottom: 20px;
    color: #333;
}

.inner-content ul li {
	margin-bottom: 10px;
	line-height: 1.4;
}

/* Правая медиа-секция */
.media-section {
    display: flex;
    flex-direction: column;
    align-items: center;
	flex-basis: 35%;
	order: -1;
}

.document-block {
    width: 100%;
    text-align: center;
}

/* Плейсхолдер для изображений/свидетельств */
.image-placeholder {
    width: 100%;
    aspect-ratio: 1 / 1; /* Пропорции стандартного вертикального документа */
    margin-bottom: 15px;
}

.image-placeholder img {
    border: 8px solid #eee;
	border-radius: 10px;
}

.document-title {
    font-size: 16px;
    font-weight: 700;
    margin-top: 10px;
}

.footer {
    background: #00564A;
    padding: 30px 20px;
    text-align: center;
    color: #fff;
}


.otchet {
	list-style: url(../images/calend.png);
	margin-bottom: 15px;
}

.img-thumbnail {
	border: 5px solid #eee;
	margin: 13px;
	border-radius: 10px;
}

.contact-row {
	display: flex;
	justify-content: space-between;
	margin-bottom: 10px;
}

.contact-form input {
	padding: 10px;
	width: 230px;
	display: block;
	border-radius: 10px;
	border: 1px solid #ccc;
}

.contact-message textarea {
	width: 100%;
    height: 150px;
    padding: 10px;
	border-radius: 10px;
	border: 1px solid #ccc;
}

.btn {
	display: block;
	padding: 10px;
	background: #f90;
	color: #fff;
	border: none;
	width: 300px;
	margin-top: 15px;
	transition: background 0.3s ease;
	font-size: 16px;
	border-radius: 10px;
	text-transform: uppercase;
}

.btn:hover {
	background: #f80;
}

.opl-row {
	display: flex;
	justify-content: space-between;
}

.opl-col {
	width: 33.33%;
	text-align: center;
	padding: 2%;
}

.opl-col img {
	width: 100%;
}

.opl-col h2 {
	color: #555;
	text-transform: uppercase;
	font-size: 20px;
	margin-top: 10px;
}

.opl-col a {
	text-decoration: none;
}

.opl-col a:hover {
	text-decoration: underline;
}

.inp {

}

.inp label {
	display: block;
}

.inp input {
	display: block;
	padding: 10px;
	width: 500px;
}

.o-fonde {
	margin-bottom: 20px;
}

.o-fonde a {
	padding-right: 10px;
}

.footer p {
	margin-bottom: 10px;
}

.footer a {
	color: #fff;
}

.agreement-group input {
	display: inline;
	width: auto;
}

.agreement-group {
	margin-top:10px;
}

.help-block {
	color: #f00;
	font-size: 14px;
}

.mob {
	background: #00564A;
    position: fixed;
    top: 0;
    width: 100%;
    padding: 15px 0;
	display: none;
	padding: 27px 20px;
}

/*-------------куки---------------*/

#cookie-consent{
    position:fixed;
    left:20px;
    right:20px;
    bottom:20px;
    max-width:900px;
    margin:auto;
    background:#252525;
    color:#fff;
    border-radius:10px;
    padding:20px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
    box-shadow:0 10px 30px rgba(0,0,0,.3);
    z-index:99999;
}

.cookie-text{
    line-height:1.5;
}

.cookie-text a{
    color:white;
}

#cookie-accept{
    background:#0b7cff;
    color:white;
    border:none;
    padding:12px 22px;
    border-radius:6px;
    cursor:pointer;
}

#cookie-accept:hover{
    opacity:.9;
}

ol {
	line-height: 2.5;
}


/* Адаптивность для внутренней страницы */
@media (max-width: 768px) {
	.mob {
		display:block;
		z-index: 110;
	}
	
	.inner-header .nav-link {
		text-align: left;
		font-size: 18px;
	}
	
	.content-grid {
        flex-direction: column;
        gap: 20px;
		margin-top: 15px;
    }
    
    .media-section {
        order: -1; /* Выносим изображение наверх перед текстом на планшетах/мобильных */
    }
    
    .inner-header .nav-list {
        gap: 20px;
    }
	
	.inner-header .active .nav-link {
		background: transparent;
	}
	
	.image-placeholder img {
		width: 100%;
	}
	
}

@media (max-width: 768px) {
    .inner-header {
    	background: transparent;
		border: none;
    }
	
	.opl-row {
		flex-direction: column;
	}
	
	.opl-col {
		width: 100%;
	}
	
	.text-input {
		padding: 15px 14px;
	}
	
	.contact-form input {
		width: 100%;
	}
	
	.checkbox-label input {
		width: auto;
	}
	
	.btn {
		width: 100%;
	}
	
	.form-group {
		margin-bottom: 20px;
	}
	
	.img-thumbnail {
		width: 90%;
	}
	
	.contact-row {
		flex-direction: column;
	}

    .inner-header-container {
    	display: block;
		padding: 0;
    }
	
	.inner-logo-area {
		display: block;
		margin-top: 100px;
	}

    /* Включение бургера на мобильных для внутренней шапки */
    .inner-header .menu-toggle {
        display: flex;
    }
	.footer {
		font-size: 12px;
	}
	ol {
		margin: 0 15px;
		line-height: 1;
	}
	ol li {
		margin-bottom: 15px;
	}
	
}