:root {
  --navy: #0b2f57;
  --navy-deep: #072340;
  --navy-soft: #123f72;
  --gold: #f1d230;
  --gold-soft: #ffe869;
  --text: #102235;
  --muted: #607286;
  --white: #ffffff;
  --surface: #f5f7fb;
  --line: rgba(11, 47, 87, 0.12);
  --shadow: 0 18px 48px rgba(6, 22, 41, 0.16);
  --radius: 24px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(7, 35, 64, 0.84) 0%, rgba(7, 35, 64, 0.64) 100%);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.header-inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}
.brand img {
  width: 250px;
  height: auto;
}
.main-nav {
  margin-left: auto;
  display: flex;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  color: rgba(255,255,255,0.9);
  font-size: 0.94rem;
  font-weight: 600;
}
.main-nav a:hover,
.main-nav a:focus-visible { color: var(--gold); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: .01em;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn:hover,
.btn:focus-visible { transform: translateY(-1px); }
.btn-primary {
  color: var(--navy-deep);
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  box-shadow: 0 12px 26px rgba(241,210,48,.28);
}
.btn-secondary {
  color: var(--white);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.24);
}
.btn-secondary-dark {
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
}
.btn-block { width: 100%; }
.desktop-cta { white-space: nowrap; }
.menu-toggle,
.mobile-menu { display: none; }

.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(135deg, #082744 0%, #0d3863 52%, #0b2f57 100%);
}
.hero-pattern {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 8% 20%, rgba(255,255,255,0.18) 0 2px, transparent 3px),
    radial-gradient(circle at 20% 72%, rgba(241,210,48,0.75) 0 2px, transparent 3px),
    radial-gradient(circle at 70% 18%, rgba(255,255,255,0.14) 0 2px, transparent 3px),
    radial-gradient(circle at 84% 62%, rgba(241,210,48,0.75) 0 2px, transparent 3px),
    radial-gradient(circle at 92% 30%, rgba(255,255,255,0.14) 0 3px, transparent 4px),
    radial-gradient(circle at 12% 88%, rgba(255,255,255,0.12) 0 2px, transparent 3px);
  opacity: .85;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  filter: blur(40px);
  opacity: .14;
}
.hero::before {
  top: -120px;
  left: -120px;
  background: var(--gold);
}
.hero::after {
  right: -120px;
  bottom: -120px;
  background: #2d6bb1;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  gap: 56px;
  align-items: center;
  padding: 86px 0 74px;
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 18px;
  margin: 0 0 18px;
  border-radius: 999px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.16);
  color: var(--white);
  font-weight: 700;
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: .86rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 800;
}
.hero h1,
.section h2 {
  margin: 0;
  letter-spacing: -.045em;
  line-height: .95;
}
.hero h1 {
  font-size: clamp(3.2rem, 7vw, 6.4rem);
}
.hero h1 .highlight { color: var(--gold); }
.hero-text {
  max-width: 680px;
  margin: 28px 0 0;
  color: rgba(255,255,255,0.92);
  font-size: 1.14rem;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.hero-points {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  max-width: 760px;
}
.hero-points li {
  position: relative;
  padding-left: 28px;
  color: rgba(255,255,255,0.92);
  font-size: 1.02rem;
}
.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(241,210,48,.18);
}
.hero-visual {
  display: flex;
  justify-content: center;
}
.hero-frame {
  position: relative;
  width: min(100%, 520px);
  padding: 18px;
  border-radius: 34px;
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: var(--shadow);
}
.hero-cover {
  width: 100%;
  border-radius: 28px;
  box-shadow: 0 24px 50px rgba(4, 18, 36, 0.34);
}
.hero-caption {
  position: absolute;
  left: 34px;
  bottom: 28px;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(11,47,87,.94);
  color: var(--white);
  font-weight: 700;
}

.section { padding: 92px 0; }
.section-light { background: var(--white); }
.section-dark {
  color: var(--white);
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
}
.section h2 {
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.03;
}
.section p { margin: 0; }
.section-intro {
  display: grid;
  gap: 14px;
  margin-bottom: 40px;
}
.section-lead {
  max-width: 860px;
  color: rgba(255,255,255,0.84);
}
.split-section,
.calculator-grid,
.brochure-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: 34px;
  align-items: start;
}
.section-copy {
  display: grid;
  gap: 16px;
}
.info-card,
.calculator-card,
.brochure-note {
  padding: 28px;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.info-card h3,
.site-footer h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
}
.info-card p { margin-bottom: 10px; }
.info-card .btn { margin-top: 8px; }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.impact-card {
  padding: 28px;
  border-radius: 28px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
}
.card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}
.card-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(241,210,48,.16);
  color: var(--gold);
  font-weight: 800;
}
.amount {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--navy-deep);
  font-weight: 800;
}
.impact-card h3 {
  margin: 0 0 12px;
  font-size: 1.45rem;
  line-height: 1.15;
}
.impact-card p {
  color: rgba(255,255,255,0.84);
}

.preset-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}
.preset {
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
  font-weight: 700;
}
.preset.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
.calculator-card label {
  display: block;
  margin-bottom: 12px;
  font-weight: 700;
}
.input-wrap {
  position: relative;
}
.input-wrap input {
  width: 100%;
  min-height: 62px;
  padding: 0 64px 0 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
}
.input-wrap span {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 700;
  color: var(--muted);
}
.calculator-results {
  display: grid;
  gap: 14px;
  margin: 22px 0 24px;
}
.calculator-results div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.calculator-results div:last-child { border-bottom: 0; padding-bottom: 0; }
.calculator-results span { color: var(--muted); }
.calculator-results strong { font-size: 1.18rem; }
.real-cost strong { color: var(--navy); }
.form-note {
  margin-top: 14px;
  font-size: .92rem;
  color: var(--muted);
}

.brochure-section {
  background: linear-gradient(180deg, #f7f9fc 0%, #eef3f9 100%);
}
.brochure-tag {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(11,47,87,.08);
  color: var(--navy);
  font-size: .84rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 12px;
}

.donation-section {
  background: var(--white);
}
.donation-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  padding: 34px 38px;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: var(--white);
  box-shadow: var(--shadow);
}
.donation-box p { color: rgba(255,255,255,0.84); }

.site-footer {
  padding: 42px 0 46px;
  color: rgba(255,255,255,0.86);
  background: var(--navy-deep);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.1fr;
  gap: 26px;
}
.footer-logo {
  width: 250px;
  margin-bottom: 12px;
}
.footer-title {
  color: var(--white);
  font-weight: 600;
}
.site-footer h3 {
  color: var(--white);
}
.site-footer p {
  margin: 0 0 6px;
}
.site-footer a:hover,
.site-footer a:focus-visible { color: var(--gold); }

@media (max-width: 1180px) {
  .brand img,
  .footer-logo { width: 220px; }
  .main-nav { gap: 18px; }
}

@media (max-width: 1080px) {
  .main-nav,
  .desktop-cta { display: none; }
  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 14px;
    background: rgba(255,255,255,0.08);
    color: var(--white);
    cursor: pointer;
    font-size: 1.3rem;
  }
  .mobile-menu {
    display: none;
    padding: 0 20px 20px;
    flex-direction: column;
    gap: 12px;
    background: rgba(7,35,64,.96);
  }
  .mobile-menu.open { display: flex; }
  .mobile-menu a { color: var(--white); font-weight: 600; }

  .hero-grid,
  .split-section,
  .calculator-grid,
  .brochure-box,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-grid { gap: 34px; }
  .donation-box {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .container { width: min(var(--container), calc(100% - 28px)); }
  .header-inner { min-height: 76px; }
  .brand img,
  .footer-logo { width: 180px; }
  .section { padding: 72px 0; }
  .hero-grid { padding: 68px 0 64px; }
  .hero-text { font-size: 1rem; }
  .cards-grid { grid-template-columns: 1fr; }
  .impact-card,
  .info-card,
  .calculator-card,
  .brochure-note,
  .donation-box,
  .hero-frame { padding: 24px; }
  .card-topline,
  .calculator-results div {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-actions,
  .preset-buttons { gap: 10px; }
  .btn { width: 100%; }
  .hero-points li { font-size: .96rem; }
  .hero-caption {
    position: static;
    margin-top: 16px;
  }
}
