:root {
  --color-blue: #12355b;
  --color-turquoise: #26a7c8;
  --color-pink: #e72f7b;
  --color-gold: #f2b705;
  --color-white: #ffffff;
  --color-light: #f7fbfd;
  --color-text: #1f2933;
  --color-muted: #5f6b7a;
  --color-border: #dbe7ee;
  --gradient-brand: linear-gradient(135deg, var(--color-blue), var(--color-turquoise));
  --gradient-warm: linear-gradient(135deg, var(--color-gold), #ffd45a);
  --shadow-soft: 0 16px 40px rgba(18, 53, 91, 0.13);
  --radius: 8px;
  --max-width: 1180px;
  --header-height: 86px;
  --font-main: Helvetica, Montserrat, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-text);
  background: linear-gradient(180deg, #ffffff 0%, #f8fcfe 100%);
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button,
input,
textarea {
  font: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--color-blue);
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  max-width: 900px;
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.6rem);
}

h3 {
  font-size: 1.25rem;
}

.container {
  width: min(100% - 32px, var(--max-width));
  margin: 0 auto;
}

.narrow {
  max-width: 820px;
}

.skip-link {
  position: absolute;
  top: -48px;
  left: 16px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--color-white);
  background: var(--color-blue);
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 3px solid rgba(38, 167, 200, 0.18);
  backdrop-filter: blur(12px);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  gap: 26px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand-logo {
  width: 150px;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  margin-left: auto;
}

.main-nav a {
  padding: 10px 12px;
  color: var(--color-text);
  font-weight: 700;
  border-radius: var(--radius);
}

.main-nav a:hover,
.main-nav a:focus,
.main-nav .is-active {
  color: var(--color-blue);
  background: linear-gradient(135deg, rgba(242, 183, 5, 0.24), rgba(38, 167, 200, 0.14));
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  cursor: pointer;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--gradient-brand);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 20px;
  color: var(--color-blue);
  font-weight: 800;
  line-height: 1.1;
  border: 2px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover,
.btn:focus {
  transform: translateY(-1px);
}

.btn-primary,
.btn-donate {
  background: var(--gradient-warm);
  color: var(--color-blue);
  box-shadow: 0 12px 24px rgba(242, 183, 5, 0.28);
}

.btn-secondary,
.btn-light {
  color: var(--color-white);
  border-color: var(--color-white);
  background: rgba(255, 255, 255, 0.12);
}

.btn-outline {
  color: var(--color-blue);
  border-color: rgba(38, 167, 200, 0.35);
  background: var(--color-white);
}

.btn-outline:hover,
.btn-outline:focus {
  border-color: var(--color-turquoise);
  box-shadow: 0 10px 22px rgba(38, 167, 200, 0.16);
}

.header-donate {
  flex: 0 0 auto;
}

.section {
  padding: 78px 0;
}

.section-muted {
  background:
    radial-gradient(circle at top left, rgba(38, 167, 200, 0.12), transparent 34%),
    radial-gradient(circle at bottom right, rgba(242, 183, 5, 0.12), transparent 30%),
    var(--color-light);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

.eyebrow {
  margin-bottom: 10px;
  color: var(--color-turquoise);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lead {
  color: var(--color-blue);
  font-size: 1.35rem;
  font-weight: 700;
}

.hero-slider {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  overflow: hidden;
  background: var(--gradient-brand);
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  min-height: calc(100vh - var(--header-height));
  padding: 96px 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 600ms ease, visibility 600ms ease;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(18, 53, 91, 0.92), rgba(38, 167, 200, 0.54), rgba(231, 47, 123, 0.18));
}

.hero-slide.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
}

.hero-content {
  position: relative;
  z-index: 1;
  color: var(--color-white);
}

.hero-content h1,
.hero-content h2,
.hero-content .eyebrow {
  color: var(--color-white);
}

.hero-content p {
  max-width: 680px;
  font-size: 1.2rem;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.slider-control {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 46px;
  height: 46px;
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  cursor: pointer;
  transform: translateY(-50%);
}

.slider-prev {
  left: 20px;
}

.slider-next {
  right: 20px;
}

.slider-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  z-index: 2;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}

.slider-dots button {
  width: 12px;
  height: 12px;
  padding: 0;
  background: rgba(255, 255, 255, 0.55);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.slider-dots button.is-active {
  background: var(--color-pink);
}

.cards-grid {
  display: grid;
  gap: 24px;
}

.three-columns,
.four-columns,
.five-columns {
  grid-template-columns: 1fr;
}

.card {
  overflow: hidden;
  background: var(--color-white);
  border: 1px solid rgba(38, 167, 200, 0.16);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.card:hover {
  border-color: rgba(38, 167, 200, 0.32);
}

.feature-card,
.value-card {
  padding: 28px;
}

.card-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  color: var(--color-blue);
  background: linear-gradient(135deg, rgba(242, 183, 5, 0.28), rgba(38, 167, 200, 0.2));
  border-radius: 50%;
  font-size: 1.7rem;
  font-weight: 800;
}

.action-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card-body {
  padding: 24px;
}

.text-link {
  color: var(--color-blue);
  font-weight: 800;
  border-bottom: 2px solid var(--color-pink);
}

.split-layout {
  display: grid;
  gap: 32px;
  align-items: center;
}

.stat-card {
  padding: 34px;
  color: var(--color-white);
  background: var(--gradient-brand);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.stat-card strong {
  display: block;
  color: var(--color-gold);
  font-size: clamp(3rem, 8vw, 5.4rem);
  line-height: 1;
}

.stat-card span {
  font-size: 1.25rem;
  font-weight: 800;
}

.info-card {
  padding: 30px;
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-blue), var(--color-turquoise) 68%, var(--color-pink));
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.info-card h2 {
  color: var(--color-white);
}

.distribution-list {
  display: grid;
  gap: 18px;
}

.distribution-card {
  display: grid;
  gap: 18px;
  padding: 18px;
}

.distribution-date {
  display: grid;
  place-items: center;
  align-content: center;
  min-height: 140px;
  color: var(--color-blue);
  background: linear-gradient(135deg, rgba(242, 183, 5, 0.24), rgba(38, 167, 200, 0.18));
  border-radius: var(--radius);
  text-align: center;
}

.distribution-date strong {
  color: var(--color-blue);
  font-size: 3rem;
  line-height: 1;
}

.distribution-date span {
  font-weight: 800;
  text-transform: uppercase;
}

.distribution-content {
  align-self: center;
}

.rounded-image {
  width: 100%;
  min-height: 300px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.donate-band,
.cta-panel {
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-blue), var(--color-turquoise));
}

.donate-band h2,
.cta-panel h2 {
  color: var(--color-white);
}

.donate-band-inner,
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.donate-band p {
  max-width: 680px;
  margin-bottom: 0;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-white);
}

.faq-question {
  width: 100%;
  padding: 18px 22px;
  color: var(--color-blue);
  background: var(--color-white);
  border: 0;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.faq-question::after {
  content: "+";
  float: right;
}

.faq-question[aria-expanded="true"]::after {
  content: "−";
}

.faq-answer {
  display: none;
  padding: 0 22px 20px;
  color: var(--color-muted);
}

.faq-item.is-open .faq-answer {
  display: block;
}

.page-hero {
  padding: 92px 0;
  color: var(--color-white);
  background: linear-gradient(135deg, rgba(18, 53, 91, 0.96), rgba(38, 167, 200, 0.76), rgba(231, 47, 123, 0.32)), url("../img/page-hero.jpg") center/cover;
}

.page-hero h1,
.page-hero .eyebrow {
  color: var(--color-white);
}

.page-hero p {
  max-width: 760px;
  font-size: 1.2rem;
}

.action-list {
  display: grid;
  gap: 28px;
}

.action-detail {
  display: grid;
  gap: 24px;
  padding: 18px;
}

.action-detail img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: var(--radius);
}

.action-detail div {
  padding: 10px;
}

.form-layout {
  display: grid;
  gap: 32px;
  align-items: start;
}

.form-card,
.contact-card {
  padding: 28px;
}

.form-grid {
  display: grid;
  gap: 18px;
}

.form-field {
  display: grid;
  gap: 7px;
}

.form-field label {
  color: var(--color-blue);
  font-weight: 800;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--color-text);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.form-field input:focus,
.form-field textarea:focus {
  outline: 3px solid rgba(38, 167, 200, 0.28);
  border-color: var(--color-turquoise);
}

.form-note {
  min-height: 24px;
  margin: 16px 0 0;
  color: var(--color-blue);
  font-weight: 700;
}

.contact-list {
  display: grid;
  gap: 12px;
}

.contact-list a {
  color: var(--color-turquoise);
  font-weight: 800;
}

.article-content h2 {
  margin-top: 34px;
}

.site-footer {
  padding: 54px 0 24px;
  color: rgba(255, 255, 255, 0.86);
  background:
    radial-gradient(circle at top left, rgba(38, 167, 200, 0.26), transparent 34%),
    radial-gradient(circle at bottom right, rgba(231, 47, 123, 0.18), transparent 30%),
    #0d2845;
}

.site-footer h2 {
  color: var(--color-white);
  font-size: 1.05rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.9);
}

.site-footer a:hover,
.site-footer a:focus {
  color: var(--color-gold);
  text-decoration: underline;
  text-decoration-color: var(--color-pink);
  text-underline-offset: 4px;
}

.footer-grid {
  display: grid;
  gap: 28px;
}

.footer-grid ul {
  display: grid;
  gap: 8px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-bottom p {
  margin-bottom: 0;
}

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  width: 44px;
  height: 44px;
  color: var(--color-blue);
  background: var(--gradient-warm);
  border: 0;
  border-radius: 50%;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

@media (min-width: 768px) {
  .three-columns {
    grid-template-columns: repeat(3, 1fr);
  }

  .four-columns {
    grid-template-columns: repeat(2, 1fr);
  }

  .five-columns {
    grid-template-columns: repeat(2, 1fr);
  }

  .split-layout,
  .form-layout {
    grid-template-columns: 1fr 1fr;
  }

  .form-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-field.full {
    grid-column: 1 / -1;
  }

  .action-detail {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
  }

  .distribution-card {
    grid-template-columns: 150px 1fr;
    align-items: center;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .four-columns {
    grid-template-columns: repeat(4, 1fr);
  }

  .five-columns {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (max-width: 980px) {
  .header-inner {
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 12px 0;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .main-nav {
    order: 4;
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    margin-left: 0;
    padding: 12px 0;
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 12px 14px;
  }

  .header-donate {
    margin-left: auto;
  }
}

@media (max-width: 767px) {
  :root {
    --header-height: 74px;
  }

  .brand-logo {
    width: 118px;
  }

  .header-donate {
    padding-inline: 14px;
  }

  .section {
    padding: 56px 0;
  }

  .hero-slide {
    padding: 72px 0 92px;
  }

  .slider-control {
    top: auto;
    bottom: 76px;
    transform: none;
  }

  .slider-prev {
    left: 16px;
  }

  .slider-next {
    right: 16px;
  }

  .donate-band-inner,
  .cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .page-hero {
    padding: 70px 0;
  }
}
