/* =====================
   Переменные и база
===================== */
:root {
  --color-white: #ffffff;
  --color-blue: #6BC4FF;
  --color-orange: #FF6711;
  --color-dark: #1f2933;
  --color-gray: #f4f7fb;
  --color-muted: #5f6c7b;
}

input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  /* font-family: 'Nunito', sans-serif; */
  color: var(--color-dark);
  background-color: var(--color-white);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  display: block;
}

/* =====================
   Контейнер
===================== */
.container {
  max-width: 1660px;
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
}

/* =====================
   Header
===================== */
.header {
  background-color: var(--color-white);
  color: var(--color-dark);
  border-bottom: 1px solid #e5eaf0;
  position: relative;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
}

.logo {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 24px;
}

.nav-list a {
  color: var(--color-white);
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.2s ease;
}

.nav-list a:hover {
  opacity: 0.8;
}

.donate-btn {
  background-color: var(--color-orange);
  color: var(--color-white);
  text-decoration: none;
  padding: 10px 22px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.hero .donate-btn{
  font-size: 28px;
  padding: 15px 50px;
}

.donate-btn:hover {
  background-color: #ff7a33;
  transform: translateY(-1px);
}

/* =====================
   Main
===================== */
.main {
  flex: 1;
  background-color: var(--color-gray);
  /* padding: 60px 0; */
}

.placeholder {
  background-color: var(--color-white);
  border-radius: 16px;
  padding: 80px 30px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.placeholder h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 36px;
  margin-bottom: 16px;
}

.placeholder p {
  max-width: 600px;
  margin: 0 auto;
  color: var(--color-muted);
}

/* =====================
   Footer
===================== */
.footer {
  background-color: #c4e1ffcf;
  color: var(--color-dark);
  padding: 50px 0 24px;
}
.footer-policy{
  display: flex;
  justify-content: center;
  gap: 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 30px;
}

.footer-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
}
.newsletter-form input{
  height: 44px;
  border: 1px solid #e1d3d3;
  font-size: 16px;
  color: #5e5c5c;
  padding: 14px;
  border-radius: 12px;
}

.newsletter-form button{
  padding: 10px 20px;
  border-radius: 12px;
  border: none;
  background: #FF6711;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
}

.footer .social-links {
  display: flex;
  gap: 16px;
  margin-top: 10px;
}

.footer .social-links a {
  font-size: 28px;
  color: #555;
  transition: color 0.3s;
}

.footer .social-links a:hover {
  color: #fff;
}

.footer p,
.footer a {
  font-size: 14px;
  color: #475569;
  text-decoration: none;
  margin-bottom: 6px;
}

.footer a:hover {
  color: var(--color-white);
}

.footer .footer-policy a{
  text-decoration: underline;
}

.footer-nav .footer-menu {
  display: flex;
  gap: 40px; /* Расстояние между колонками */
}

.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-nav a {
  display: block;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 16px;
  font-size: 13px;
  text-align: center;
  color: #94a3b8;
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
}

/* Центрируем меню */
.nav-center {
  display: flex;
  justify-content: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 32px;
}

/* Цвет ссылок в белом хедере */
.nav-list a {
  color: var(--color-dark);
  font-weight: 500;
}

/* =====================
   Dropdown меню
===================== */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 120%;
  left: 0;
  background: var(--color-white);
  border-radius: 12px;
  padding: 12px 0;
  min-width: 180px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: 0.25s ease;
  z-index: 10;
}

.dropdown-menu li {
  list-style: none;
}

.dropdown-menu a {
  display: block;
  padding: 10px 18px;
  color: var(--color-dark);
  white-space: nowrap;
}

.dropdown-menu a:hover {
  background-color: var(--color-gray);
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.menu-item-has-children > a::after {
  content: "▾";
  font-size: 1em;
  margin-left: 6px;
  position: relative;
  top: 1px;
  opacity: 0.6;
}
/* =====================
   Контакты справа
===================== */
.header-contacts {
  display: flex;
  align-items: center;
  gap: 18px;
}

.contact-icon {
  color: #94a3b8; /* серый по умолчанию */
  display: flex;
  align-items: center;
  transition: color 0.25s ease, transform 0.2s ease;
}

.contact-icon svg {
  width: 24px;
  height: 24px;
}

.contact-icon:hover {
  color: var(--color-blue);
  transform: scale(1.15);
}

.contact-icon-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #e5eaf0; /* светлый серый фон */
  width: 40px; /* размер кружка */
  height: 40px;
  border-radius: 50%;
  transition: background-color 0.25s ease, transform 0.2s ease;
}

.contact-icon-circle svg {
  width: 20px;
  height: 20px;
  display: block;
}

.contact-icon-circle:hover {
  background-color: var(--color-blue);
  transform: scale(1.15);
}

.contact-icon-circle:hover svg {
  fill: white; /* иконка остается белой на hover */
}

/* ===== HERO ===== */

.hero {
  position: relative;
  min-height: 480px;
  background: linear-gradient(90deg, #67bcf2 0%, #85cafda3 55%, #85cafda3 100%);
  overflow: hidden;
  /* font-family: 'Nunito', sans-serif; */
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: url('../images/hero.png');
  mask-image: linear-gradient(
    to right,
    rgba(0,0,0,1) 60%,
    rgba(0,0,0,0)
  );
  background-repeat: no-repeat;
  background-size: contain;
  background-position: right;
}

.hero__container {
  position: relative;
  max-width: 1680px;
  margin: 0 auto;
  padding: 50px 40px;
}

.hero__content {
  max-width: 640px;
}

.hero__title {
  margin: 0 0 24px;
  line-height: 1;
}

.hero__title-main {
  font-size: 126px;
  font-weight: 800;
  color: #FFF55C;
  text-transform: uppercase;
}

.hero__title-sub {
  display: block;
  font-size: 100px;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 2px 6px rgba(0,0,0,.25);
}

.hero__text {
  font-size: 28px;
  line-height: 1.35;
  color: #ffffff;
  margin-bottom: 36px;
  text-shadow: 0 2px 6px rgba(0,0,0,.25);
}

.hero__btn {
  display: inline-block;
  padding: 18px 36px;
  background: var(--orange);
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  border-radius: 12px;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}

.hero__btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 12px 30px rgba(255,103,17,.4);
}
.children {
  padding: 40px 0;
  background: #f5faff;
}

/* Header */
.children__header {
  margin-bottom: 30px;
}

.children__title {
  font-size: 42px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1;
  display: flex;
  justify-content: space-between;
}

.children__title a{
  font-size: 24px;
  font-family: 'Montserrat', sans-serif;
  color: #6BC4FF;
  display: flex;
  align-items: center;
  text-decoration: unset;
}


.children__title a:hover{
  color:#FF6711;
}

.children__title a:hover svg path{
  stroke: #FF6711;
}

.children__title svg{
  width: 32px;
}
.children__subtitle {
  font-size: 20px;
  color: #475569;
}

/* Grid */
.children__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* Card */
.child-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  border: 2px solid #fff;
  font-family: 'Montserrat', sans-serif;
}

.child-card__image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.child-card .child-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.child-card .child-card__image img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.child-card.is-active .child-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.child-card .child-card__image {
  height: 40%;
  border-radius: 10px;
}

.child-card.is-active .child-card__image {
  height: 100%;
  border-radius: 10px;
}


.child-card__status {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #ff6711;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
}

/* Body */
.child-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding-top: 10px;
  padding-right: 20px;
  padding-bottom: 20px;
  padding-left: 20px;
  justify-content: space-between;
}

.child-card__body .preview-text{
  font-size: 16px;
  color: #111;
  line-height: 1.2;
  font-weight: 500;
}

.child-card.is-active .child-card__body .preview-text{
  display: -webkit-box;
  -webkit-line-clamp: 11;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.child-card .child-card__body .preview-text{
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.child-card.is-active .child-card__body { 
  padding:20px;
}
.child-card__name {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #0f172a;
  line-height: 1;
  display: flex;
  justify-content: space-between;
}

.child-card__diagnosis {
  font-size: 26px;
  color: #000;
  line-height: 1;
  font-weight: 700;
}

/* Progress */
.progress {
  background: #e2e8f0;
  border-radius: 999px;
  height: 10px;
  overflow: hidden;
  margin-bottom: 8px;
}

.progress__bar {
  height: 100%;
  background: linear-gradient(90deg, #ff9f1c, #ff6711);
  border-radius: inherit;
}

.progress__info {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #64748b;
  color: #000;
  font-weight: 500;
  margin-bottom: 20px;
}

/* Button */
.child-card__btn {
  margin-top: auto;
  display: block;
  text-align: center;
  padding: 14px 20px;
  background: #ff6711;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  border-radius: 12px;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}

.child-card:hover .child-card__btn{
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 103, 17, 0.35);
}

/* Interactive layout */
.children__grid--interactive {
  /* display: flex;*/
  grid-template-columns: repeat(2, 1fr); 
  gap: 24px;
}

/* базовое состояние */
.children__grid--interactive .child-card {
  flex: 1;
  transition:
    flex 0.5s ease,
    transform 0.4s ease,
    box-shadow 0.4s ease;
  cursor: pointer;
}

/* активная по умолчанию */
.children__grid--interactive .child-card.is-active {
  flex: 2;
  display: flex;
  flex-direction: row;
}

.children__grid--interactive .child-card.is-active .child-card__image {
  flex:1;
}

.children__grid--interactive .child-card.is-active .child-card__body {
  justify-content: space-between;
}

/* при наведении — активна та, на которую навели */
.children__grid--interactive .child-card:hover {
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15);
  border: 2px solid #ff6711;
}

.children__grid--interactive {
  align-items: stretch;
}

.child-card {
  height: 520px;
  opacity: 0.85;
}

.children__grid--interactive .child-card:hover {
  opacity: 1;
}

.children a{
  text-decoration: none;
}
.child-city{
  font-size: 14px;
  color: #a6a6a6fc;
}

.donation {
  padding: 40px 0;
  background: #f6f8fb;
}

.donation__container {
  display: flex;
  gap: 30px;
}

.donation__pay,
.donation__history {
  width: 50%;
}

.donation__pay{
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}
/* tabs */
.donation__tabs {
  display: flex;
}

.donation__tab {
  padding: 15px 20px;
  border: none;
  
  background: #6BC4FF;
  cursor: pointer;
  font-size: 24px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  color: #fff;
}

.pay-info{
  flex:2;
}
.donation-form {
  flex:3;
}

.donation__tabs .donation__tab {
  flex: 1;
}

.donation__tab.is-active {
  background: #fff;
  color: #111;
}

/* panels */
.donation__panel {
  display: none;  
}

.donation__panel h3{
  font-weight: 600;
}

.donation__panel.is-active {
  display: flex;
  gap: 20px;
  padding: 20px;
  font-family: 'Montserrat', sans-serif;
}

/* amounts */
.donation__amounts {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 14px;
  margin-bottom: 15px;
  margin-top: 10px;
}


.amount {
  padding: 10px;
  border-radius: 14px;
  border: 2px solid #6BC4FF;
  background: #fff;
  cursor: pointer;
  font-size: 16px;
  text-align: center;
  color: #5e5c5c;
}
.amount::placeholder {
  color: #5e5c5c; 
  opacity: 1;   
}
.donation__fields input{
  border: 2px solid #6BC4FF;
  font-size: 16px;
  color: #5e5c5c;
  padding: 14px;
  border-radius: 12px;
}

.amount.is-active {
  background: #FF6711;
  color: #fff;
  border-color: #FF6711;
}


/* fields */
.donation__fields {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}


/* checks */
.donation__checks {
  display: flex;
  gap: 24px;
  margin-bottom: 15px;
  font-size: 14px;
  justify-content: center;
}

.donation__submit {
  padding: 16px 40px;
  border-radius: 12px;
  border: none;
  background: #FF6711;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  width: 100%;
  font-family: 'Montserrat', sans-serif;
}

.donation__submit:hover {
  box-shadow: 0 10px 25px rgba(255, 103, 17, 0.35);
}

.payform-description {
  line-height: 1;
  font-size: 14px;
  text-align: center;
  padding: 10px;
}

.pay-info{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.pay-info p{
  text-align: center;
  font-weight: 600;
  line-height: 1.2;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-family: Arial, sans-serif;
  margin: 20px 0;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  font-size: 12px;
}

tr:nth-child(2n) {
  background-color: #f5f9ff;
}

tr:nth-child(2n+1) {
  background-color: #ffffff;
}

th, td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid #e0e0e0;
}

.payform-description a{
  color:#6BC4FF;
}

/* history */
.donation__history h3 {
  margin-bottom: 0px;
  font-size: 28px;
}

.donation__history {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.history {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  height: 90%;
}


.history-title {
  display: flex;
  justify-content: space-between;
}

.history-title a{
  font-size: 18px;
  font-family: 'Montserrat', sans-serif;
  color: #6BC4FF;
  display: flex;
  align-items: center;
  text-decoration: unset;
  font-weight: 500;
}

.history-title a:hover{
  color:#FF6711;
}

.history-title a:hover svg path{
  stroke: #FF6711;
}

.history-title svg{
  width: 24px;
}
.history li {
  background: #fff;
  border-radius: 16px;
  padding: 18px 22px;
  margin-bottom: 0px;
  display: grid;
  grid-template-columns: 1fr 2fr auto;
  gap: 10px;
  align-items: center;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.history__amount {
  font-weight: 800;
  font-size: 20px;
  color: #FF6711;
}

.history__time {
  color: #9aa4b2;
  font-size: 14px;
}

.checkbox {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

/* прячем настоящий checkbox */
.checkbox input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* кастомный квадрат */
.checkbox__custom {
  width: 18px;
  height: 18px;
  border: 2px solid #6BC4FF;
  border-radius: 4px;
  margin-right: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s;
}

/* галочка */
.checkbox__custom::after {
  content: '';
  width: 11px;
  height: 6px;
  border: 2px solid #fff;
  border-top: none;
  border-right: none;
  transform: rotate(-45deg);
  opacity: 0;
}

.pays-icon {
  display: flex;  
  justify-content: space-evenly;  
  flex-wrap: wrap; 
  gap: 8px; 
  margin-bottom: 20px; 
  margin-top: 10px;
}

.pays-icon img{
  height: 24px; 
  width: auto; 
}

/* checked */
.checkbox input:checked + .checkbox__custom {
  background: #FF6711;
  border-color: #FF6711;
}

.checkbox input:checked + .checkbox__custom::after {
  opacity: 1;
}

/* focus */
.checkbox input:focus + .checkbox__custom {
  box-shadow: 0 0 0 3px rgba(228, 153, 68, 0.3);
}
/* ===== ARTICLES ===== */

.articles {
    padding: 40px 0;
}

.articles__header {
    margin-bottom: 40px;
}

.articles__title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.articles__title h2 {
    font-size: 36px;
    font-weight: 700;
    margin: 0;
}

.articles__more {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6BC4FF;
    font-weight: 600;
    text-decoration: none;
}

.articles__more svg {
    width: 18px;
    height: 18px;
}

.articles__subtitle {
    margin-top: 10px;
    color: #777;
}

/* ===== GRID ===== */

.articles__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* ===== CARD ===== */

.article-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    color: #000;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    transition: transform 0.3s ease;
}

.article-card:hover {
    transform: translateY(-6px);
}

.article-card__image {
    height: 220px;
}

.article-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-card__body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.article-card__date {
    font-size: 14px;
    color: #999;
}

.article-card__title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
}

.article-card__preview {
    font-size: 15px;
    color: #555;
    line-height: 1.5;
}

.article-card__btn {
    position: relative;
    display: inline-block;
    font-weight: 600;
    color: #ff6711;
    width: 125px;
}

/* линия */
.article-card__btn::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background-color: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

/* hover по карточке */
.article-card:hover .article-card__btn::after {
    transform: scaleX(1);
}

/* ===== SLIDER ===== */

.articles__slider {
    display: none;
}
/* ===== PROGRAMS ===== */

.programs {
    padding: 40px 0;
}

.programs__header {
    margin-bottom: 40px;
}

.programs__title {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.programs__title h2 {
    font-size: 36px;
    font-weight: 700;
    margin: 0;
}

.programs__more {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #000;
    text-decoration: none;
}

.programs__more svg {
    width: 18px;
}

/* ===== GRID ===== */

.programs__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* ===== CARD ===== */

.program-card {
    background: #fff;
    border-radius: 24px;
    padding: 40px 30px;
    text-align: center;
    text-decoration: none;
    color: #000;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: transform 0.3s ease;
    border: 2px solid #fff;
}

.program-card:hover {
    transform: translateY(-8px);
    border: 2px solid #ff6711;
}

/* ICON */

.program-card__icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: rgba(255,103,17,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
}

.program-card__icon i {
    font-size: 40px;
    color: #ff6711;
}

/* TEXT */

.program-card__title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
}

.program-card__text {
    font-size: 15px;
    color: #555;
    line-height: 1.5;
}

/* BTN */

.program-card__btn {
    margin-top: auto;
    font-weight: 600;
    color: #ff6711;
    position: relative;
}


/* ===== SLIDER ===== */

.programs__slider {
    display: none;
}

.history .history__amount {
  font-size: 16px;
}

.history .history__amount {
  font-size: 16px;
}

.history .history__name{
  font-size: 14px;
}

.history .history__time{
  font-size: 12px;
}
/* =====================
   Анимация кнопки «Помочь»
===================== */
.header-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo img {
  height: 40px;
}

.donate-animate {
  position: relative;
  animation: pulse 2.2s infinite;
}

.burger {
  display: none;
  width: 32px;
  height: 24px;
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
}

.burger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--color-dark);
  border-radius: 2px;
  transition: 0.3s;
  background: var(--color-blue);
}

.burger span:nth-child(1) { top: 0; }
.burger span:nth-child(2) { top: 10px; }
.burger span:nth-child(3) { bottom: 0; }

.burger.is-active span:nth-child(1) {
  transform: rotate(45deg);
  top: 10px;
}

.burger.is-active span:nth-child(2) {
  opacity: 0;
}

.burger.is-active span:nth-child(3) {
  transform: rotate(-45deg);
  bottom: 10px;
}

/* =====================
   MOBILE MENU
===================== */
.mobile-nav {
  position: absolute;
  top: 100%;
  right: 0;
  width: 100%;
  background: #ffffff;
  box-shadow: 0 12px 32px rgba(0,0,0,.12);
  padding: 24px;
  display: none;
  z-index: 50;
}

.mobile-nav.is-open {
  display: block;
}

.mobile-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-menu a {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-dark);
  text-decoration: none;
}

/* submenu */
.mobile-menu .submenu {
  display: none;
  margin-top: 12px;
  padding-left: 16px;
}

.mobile-menu .menu-item-has-children.is-open .submenu {
  display: block;
  list-style: disclosure-closed;
}

.pay-info img {
  width: 180px;
}

.donation__bank {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.pay-qr-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}
.pay-qr-block img {
    width: 230px;
}


/* === NEWS SECTION === */
.news-section {
    padding: 40px 0;
}

.news-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
}

/* === GRID === */
.news-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

/* === CARD === */
.news-card {
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.07);
    transition: 0.3s;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-5px);
}

/* === IMAGE === */
.news-image {
    height: auto;
    overflow: hidden;
}

.news-image img {
    width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1/1;
}

/* === CONTENT === */
.news-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    height: 280px;
}

.news-date {
    font-size: 13px;
    color: #6BC4FF;
    margin-bottom: 6px;
}

.news-heading {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #2b2b2b;
    line-height: 1.4;
}

.news-content p{
    font-size: 14px;
    color: #555;
    margin-bottom: 15px;
    line-height: 1.5;
}

.news-link {
    margin-top: auto;
    color: #FF6711;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.news-link:hover {
    color: #e55600;
}

/* === RESPONSIVE === */
@media (max-width: 992px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-title {
        font-size: 22px;
    }
}


@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 103, 17, 0.6);
    transform: scale(1);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(255, 103, 17, 0);
    transform: scale(1.05);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 103, 17, 0);
    transform: scale(1);
  }
}


@media (max-width: 1660px) {
  .children__title {
    font-size: 38px;
  }
  .children__title a {
    font-size: 20px;
  }
  .children__title svg {
    width: 28px;
  }
  
}

@media (max-width: 1440px) {
  .children__title {
    font-size: 34px;
  }
  .children__title a {
    font-size: 18px;
  }
  .children__title svg {
    width: 24px;
  }
  .children__subtitle {
    font-size: 18px;
  }
  .child-card__name {
    font-size: 14px;
  }
}

@media (max-width: 1380px) {
  .child-card__name {
    flex-direction: column;
  }
}
/* ===== ADAPTIVE ===== */
/* ===== RESPONSIVE ===== */

@media (max-width: 933px) {
    .newsletter-form form{
      flex-direction: column
    }
    .pay-info.hide-pc img{
      width: 100%;
    }
    .donation__bank {
      grid-template-columns: 1fr;
    }
    .container {
      padding: 0 10px;
    }
    .header-contacts{
      display: none;
    }
    .programs__grid {
        display: none;
    }

    .programs__slider {
        display: block;
    }

    .articles__grid {
        display: none;
    }

    .articles__slider {
        display: block;
    }
    .donation__container {
        flex-direction: column;
    }

    .donation__pay,
    .donation__history {
        width: 100%;
    }
    .children__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .children__grid--interactive {
        flex-direction: column;
    }

    .children__grid--interactive .child-card,
    .children__grid--interactive .child-card.is-active,
    .children__grid--interactive .child-card:hover {
        flex: none;
        transform: none;
    }
     .hero {
        min-height: 480px;
    }

    .hero__text { font-size: 22px; }
    .donate-btn {
      padding: 5px 10px;
    }
    .logo img {
      height: 30px;
    }
    .header-inner {
      min-height: 60px;
    }
    .hero__bg{
      background: url('../images/hero-m.png');
      background-size: cover;
      background-position: top;
    }
     .hero {
        background: linear-gradient(180deg, #c1e7ff 0%, #52b0f7 100%);
    }

    .hero__bg {
        position: static;
        height: 540px;
        mask-image: none;
    }

    .hero__container {
        padding-top: 0px;
        padding-right: 20px;
        padding-bottom: 60px;
        padding-left: 20px;
        position: absolute;
        top: 100px;
        width: 100%;
    }

    .hero__content {
        max-width: 100%;
        text-align: center;
    }
    .children__grid--interactive .child-card.is-active {
      flex-direction: column;
    }

    .children__grid--interactive .child-card.is-active .preview-text{
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
    .child-card.is-active .child-card__image img {
      width: 100%;
      height: auto;
      object-fit: contain;
    }
    .child-card.is-active .child-card__body {
      padding-top: 10px;
      padding-right: 20px;
      padding-bottom: 20px;
      padding-left: 20px;
    }
    .children__grid--interactive .child-card.is-active .child-card__image{
      flex: unset;
      height: 50%;
    }
    .children__grid--interactive .child-card .child-card__image{
      height: 50%;
    }
    .child-card {
      height: 600px;
    }
    .donation__tab {
      font-size: 18px;
    }
    .donation__panel.is-active {
      flex-direction: column;
    }
    .nav-center {
      display: none;
    }

    .burger {
      display: block;
    }

    .header-contacts {
      display: none;
    }
    .header-inner{
      display: flex;
      justify-content: space-between;
    }
    .child-card {
      opacity: 1;
    }
}

@media (max-width: 768px) {
    .hero__bg {
        height: 440px;
    }

    .programs__title h2 {
        font-size: 28px;
    }
      .articles__title h2 {
        font-size: 28px;
    }
    .children,.donation,.articles {
        padding: 40px 0;
        padding-bottom: 0px;
    }
    .children__title {
        font-size: 30px;
        flex-direction: column;
        margin-bottom: 15px;
    }

    .children__subtitle {
        font-size: 16px;
        display: none;
    }
    .children__title a {
      font-size: 20px;
    }
    .children__grid {
        grid-template-columns: 1fr;
    }

   
    .nav-list {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .placeholder {
        padding: 60px 20px;
    }

    .placeholder h1 {
        font-size: 28px;
    }
    .hero__title-main { font-size: 102px; }
    .hero__title-sub { font-size: 78px; }
    .hero__text {
        font-size: 18px;
        text-shadow: none;
    }
    .article-card__title {
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
    .program-card__title {
      height: 60px;
    }
    .program-card:hover, .article-card:hover{
       transform: unset;
    }
    .program-card, .article-card{
      box-shadow: 0 0px 5px rgba(0,0,0,0.06);
    }
    .footer .social-links a {
      font-size: 38px;
    }
    .footer-policy{
      flex-direction: column;
      gap: 0;
      margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
  .hero__title-main { font-size: 82px; }
  .hero__title-sub { font-size: 62px; }
  .hero__text {
        font-size: 18px;
        text-shadow: none;
        margin-bottom: 36px;
  }
  .hero .donate-btn {
    font-size: 24px;
    padding: 15px 40px;
  }
  .children__title {
        font-size: 30px;
  }
  .children__title a {
      font-size: 18px;
  }
  .history-title {
    flex-direction: column;
    margin-bottom: 15px;
  }
  .donation__history h3 {
    line-height: 1;
  }
  .history {
    grid-template-columns: repeat(1, 1fr);
    gap: 8px;
  }
  .hero__container {
        padding-top: 0px;
        padding-right: 20px;
        padding-bottom: 60px;
        padding-left: 20px;
        position: absolute;
        top: 150px;
        width: 100%;
    }

}


@media (max-width: 475px) {
  .hero__bg {
      height: 340px;
  }
  .hero__title-main { font-size: 64px; }
  .hero__title-sub { font-size: 48px; }
  .hero__text {
        font-size: 18px;
        text-shadow: none;
        margin-bottom: 25px;
  }
  .children__title {
        font-size: 22px;
  }
  .children__title a {
      font-size: 16px;
  }
  .child-card__diagnosis {
   font-size: 24px;
  }
  .pays-icon img {
    height: 20px;
  }
  .amount {
    font-size: 14px;
  }
  .donation__fields input {
    font-size: 14px;
    padding: 10px;
  }
}

@media (max-width: 375px) {
  .hero__bg {
      height: 240px;
  }
  .hero__title-main { font-size: 52px; }
  .hero__title-sub { font-size: 48px; }
  .hero__text {
        font-size: 16px;
        text-shadow: none;
  }
  .hero .donate-btn {
    font-size: 20px;
    padding: 15px 30px;
  }
  .children__title {
       font-size: 18px;
  }
  .children__grid--interactive .child-card.is-active .child-card__image{
    flex: unset;
    height: 45%;
  }
  .children__grid--interactive .child-card .child-card__image{
    height: 45%;
  }
  .child-card__name {
    font-size: 14px;
  }
  .child-card__diagnosis {
     font-size: 20px;
  }
  .pays-icon img {
    height: 18px;
  }
  .header-left {
    gap: 10px;
  }
}

/* helpers */
.pb-40{
  padding-bottom: 40px;
}