/* === СВО НСО — Лендинг === */

@import url('https://fonts.googleapis.com/css2?family=Russo+One&family=PT+Sans:wght@400;700&family=Comfortaa:wght@700&display=swap');

:root {
  --navy: #1E3A8A;
  --navy-deep: #0f1a3d;
  --blue-accent: #2a4494;
  --white: #ffffff;
  --text-dark: #333333;
  --text-muted: #555555;
  --cream: #f9f5eb;
  --gold: #c8a84e;
  --btn-blue: #1E3A8A;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'PT Sans', Arial, sans-serif;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 26, 61, 0.25) 0%,
    rgba(15, 26, 61, 0.15) 40%,
    rgba(15, 26, 61, 0.5) 75%,
    rgba(15, 26, 61, 0.85) 100%
  );
  z-index: 1;
}

.hero__logo-img {
  position: absolute;
  top: 2rem;
  right: 2.5rem;
  z-index: 2;
  /* width: clamp(120px, 18vw, 220px); */
  width: 25vw;
  height: auto;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
  animation: fadeSlideDown 1s ease-out 0.3s both;
}

.hero__slogan-wrap {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2.5rem 1.5rem 3.5rem;
}

.hero__slogan {
  display: inline-block;
  /* width: clamp(280px, 50vw, 600px); */
  max-width: 75%;
  height: auto;
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.5));
  animation: fadeSlideUp 1s ease-out 0.6s both;
}

.hero__scroll-hint {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  cursor: pointer;
  animation: bounce 2s infinite 2s;
}

.hero__scroll-hint svg {
  width: 52px;
  height: 52px;
  fill: none;
  stroke: rgba(255, 255, 255, 0.7);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.2s ease;
}

.hero__scroll-hint:hover svg {
  stroke: rgba(255, 255, 255, 1);
}

/* ============================================
   CONTENT BACKGROUND (clouds extending from hero)
   ============================================ */
.content-bg {
  position: relative;
  /* background:
    linear-gradient(180deg,
      #d4e4f7 0%,
      #e8dff0 15%,
      #f5efe0 30%,
      #ffffff 50%,
      #e8ecf2 70%,
      #f5efe0 85%,
      #e8dff0 100%
    ); */
  padding: 2rem 1rem 3rem;
  background: url(../assets/back.jpg);
  background-size: cover;
}

.content-bg__inner {
  max-width: 960px;
  margin: 0 auto;
}

/* ============================================
   PROGRAM SECTION
   ============================================ */
.program {
  margin-bottom: 1.5rem;
}

.program__card {
  background: var(--white);
  border-radius: 12px;
  padding: 2.5rem 3rem;
  text-align: left;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.program__title {
  font-family: 'Russo One', sans-serif;
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  color: var(--navy);
  letter-spacing: 0.06em;
  line-height: 1.4;
  margin-bottom: 1.5rem;
}

.program__text {
font-size: clamp(0.95rem, 2vw, 1.375rem);
  line-height: 1.375;
  color: var(--text-muted);
  margin-bottom: 2rem;
}
.mb-1{
  margin-bottom: .5rem!important;
}
.strong{
  font-weight: 600;
}
.program__cta {
  font-family: 'Russo One', sans-serif;
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: var(--navy);
  letter-spacing: 0.06em;
  line-height: 1.4;
}

/* ============================================
   DONATE SECTION — 3 columns
   ============================================ */
.donate {
  margin-bottom: 1.5rem;
}

.donate__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.2rem;
}

.donate__col {
  background: var(--white);
  border-radius: 12px;
  padding: 1.5rem 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.donate__col-header {
  font-family: 'Russo One', sans-serif;
  font-size: clamp(0.7rem, 1.5vw, 0.85rem);
  color: var(--navy);
  text-align: center;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.donate__checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  font-size: 0.65rem;
  color: var(--text-muted);
  line-height: 1.3;
  margin-bottom: 0.5rem;
  cursor: pointer;
  text-align: left;
  width: 100%;
}

.donate__checkbox input[type="checkbox"] {
  accent-color: var(--navy);
  width: 14px;
  height: 14px;
  min-width: 14px;
  margin-top: 1px;
  cursor: pointer;
}

.donate__checkbox a {
  color: var(--navy);
  text-decoration: underline;
}

.donate__checkbox a:hover {
  color: var(--gold);
}

.donate__btn {
  display: block;
  width: 100%;
  padding: 0.7rem 1rem;
  margin-top: auto;
  font-family: 'PT Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-align: center;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  background: var(--btn-blue);
  color: var(--white);
  box-shadow: 0 2px 6px rgba(30, 58, 138, 0.3);
}

.donate__btn:hover:not(:disabled) {
  background: #163070;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.4);
}

.donate__btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.donate__btn--outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
  box-shadow: none;
}

.donate__btn--outline:hover:not(:disabled) {
  background: var(--navy);
  color: var(--white);
}

.donate__btn--outline.disabled-link {
  opacity: 0.45;
  pointer-events: none;
}

/* QR code */
.donate__qr-wrap {
  width: 100%;
  aspect-ratio: 1;
  max-width: 200px;
  /* border: 2px solid var(--navy); */
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  /* margin-top: 0.5rem; */
}

.donate__qr-img {
  /* width: 88%;
  height: 88%; */
  object-fit: contain;
}

/* ============================================
   REPORT SECTION
   ============================================ */
.report {
  text-align: center;
  padding: 0.5rem 0 0;
}

.report__btn {
  display: inline-block;
  background: var(--cream);
  color: var(--text-dark);
  font-family: 'Russo One', sans-serif;
  font-size: clamp(0.75rem, 1.5vw, 0.9rem);
  letter-spacing: 0.06em;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: all 0.25s ease;
}

.report__btn:hover {
  background: #f0e9d6;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

/* ============================================
   MODAL (Report)
   ============================================ */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.modal.open {
  display: block;
}

.modal__close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 10000;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: #1E3A8A;
  color: #ffffff;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  transition: background 0.2s ease, transform 0.2s ease;
}

.modal__close:hover {
  background: #163070;
  transform: scale(1.1);
}

.modal__iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ============================================
   PAYMENT MODAL
   ============================================ */
.pay-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.pay-modal.open {
  display: block;
}

.pay-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(3px);
}

.pay-modal__dialog {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  width: 90%;
  max-width: 380px;
  text-align: center;
}

.pay-modal__close {
  position: absolute;
  top: 0.7rem;
  right: 0.8rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
}

.pay-modal__close:hover {
  color: var(--navy);
}

.pay-modal__title {
  font-family: 'Russo One', sans-serif;
  font-size: clamp(0.85rem, 2vw, 1rem);
  color: var(--navy);
  margin-bottom: 1.2rem;
  letter-spacing: 0.04em;
}

.pay-modal__presets {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin-bottom: 1.2rem;
}

.pay-modal__preset {
  padding: 0.5rem 0.3rem;
  border: 2px solid #d0d7e2;
  border-radius: 8px;
  background: #fff;
  font-family: 'PT Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  transition: all 0.15s;
}

.pay-modal__preset:hover,
.pay-modal__preset.active {
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
}

.pay-modal__field {
  margin-bottom: 1.2rem;
}

.pay-modal__field label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.pay-modal__input-wrap {
  position: relative;
}

.pay-modal__input-wrap input {
  width: 100%;
  padding: 0.6rem 2.5rem 0.6rem 0.8rem;
  border: 2px solid #d0d7e2;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  font-family: 'PT Sans', sans-serif;
  color: var(--navy);
  text-align: center;
  -moz-appearance: textfield;
}

.pay-modal__input-wrap input::-webkit-outer-spin-button,
.pay-modal__input-wrap input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.pay-modal__input-wrap input:focus {
  outline: none;
  border-color: var(--navy);
}

.pay-modal__currency {
  position: absolute;
  right: 0.8rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-muted);
}

.pay-modal__email {
  width: 100%;
  padding: 0.55rem 0.8rem;
  border: 2px solid #d0d7e2;
  border-radius: 8px;
  font-size: 0.9rem;
  font-family: 'PT Sans', sans-serif;
  color: var(--navy);
}

.pay-modal__email:focus {
  outline: none;
  border-color: var(--navy);
}

.pay-modal__btn {
  width: 100%;
  padding: 0.7rem;
  background: var(--navy);
  color: #fff;
  font-family: 'Russo One', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.pay-modal__btn:hover:not(:disabled) {
  opacity: 0.85;
}

.pay-modal__btn:disabled {
  background: #a0aec0;
  cursor: not-allowed;
}

.pay-modal__error {
  color: #dc2626;
  font-size: 0.8rem;
  margin-top: 0.5rem;
  min-height: 1.2em;
}

@media (max-width: 400px) {
  .pay-modal__presets {
    grid-template-columns: repeat(2, 1fr);
  }
  .pay-modal__dialog {
    padding: 1.5rem 1rem;
  }
}
/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--white);
  border-top: 1px solid #d9d0c0;
  padding: 2rem 1.5rem 1.5rem;
  text-align: center;
}

.footer__support-text {
  font-family: 'PT Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 0.04em;
  line-height: 1.6;
  margin-bottom: 1.2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.footer__logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-bottom: 1.2rem;
}

.footer__logo {
  height: 60px;
  width: auto;
  opacity: 0.85;
}

.footer__org {
  font-size: 0.68rem;
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 550px;
  margin: 0 auto 1.2rem;
  letter-spacing: 0.02em;
}

.footer__phone {
  display: inline-block;
  font-family: 'PT Sans', sans-serif;
  font-size: 0.78rem;
  color: var(--text-dark);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.3s ease;
}
.partner_link{
    display: inline-block;
  font-family: 'PT Sans', sans-serif;
  font-size: 0.78rem;
  color: var(--text-dark);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.3s ease;
}
.partner_link:hover {
  color: var(--navy);
}
.footer__phone:hover {
  color: var(--navy);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeSlideDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-8px);
  }
  60% {
    transform: translateX(-50%) translateY(-4px);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .hero {
    min-height: 90vh;
  }

  .hero__logo-img {
    top: 1.2rem;
    right: 1.2rem;
    width: clamp(100px, 20vw, 160px);
  }

  .hero__slogan-wrap {
    padding: 2rem 1rem 2.5rem;
  }

  .donate__grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .program__card {
    padding: 2rem 1.5rem;
  }

  .content-bg {
    padding: 1.5rem 0.8rem 2rem;
  }
}

@media (max-width: 480px) {
  .program__title{text-align: center;}
  .hero__logo-img {
top: 1rem;
    right: 0;
    width: 250px;
    margin: auto;
    left: 0;
  }

  .donate__col {
    padding: 1.2rem 1rem;
  }

  .donate__qr-wrap {
    max-width: 180px;
  }

  .footer__logos {
    gap: 1rem;
  }

  .footer__logo {
    height: 45px;
  }
}

/* ============================================
   COOKIE CONSENT BAR
   ============================================ */
.cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9998;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  padding: 0.9rem 2rem;
  font-size: 0.82rem;
  line-height: 1.5;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.15);
  animation: cookieSlideUp 0.4s ease-out;
}

.cookie-bar.hidden {
  display: none;
}

.cookie-bar__text {
  margin: 0;
  max-width: 600px;
}

.cookie-bar__btn {
  flex-shrink: 0;
  background: var(--gold);
  color: var(--navy);
  border: none;
  border-radius: 6px;
  padding: 0.5rem 1.4rem;
  font-family: 'Russo One', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: opacity 0.2s;
  white-space: nowrap;
}

.cookie-bar__btn:hover {
  opacity: 0.85;
}

@keyframes cookieSlideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

@media (max-width: 600px) {
  .cookie-bar {
    flex-direction: column;
    gap: 0.7rem;
    padding: 1rem 1.2rem;
    text-align: center;
  }

  .cookie-bar__text {
    max-width: 100%;
    font-size: 0.78rem;
  }
}
