:root {
  --navy: #14304d;
  --accent: #2f7dd1;
  --text: #2b333d;
  --text-light: #667485;
  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --border: #e2e7ee;
  --radius: 8px;
}

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

body {
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}

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

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

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: 1080px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
}

.logo-mark {
  height: 46px;
  width: auto;
  filter: drop-shadow(0 2px 3px rgba(20, 48, 77, 0.35));
}

.logo .dot {
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  padding: 8px 14px;
  font-weight: 500;
  color: var(--text-light);
  border-radius: 6px;
}

.nav-links a:hover {
  color: var(--navy);
}

.nav-links a.active {
  color: var(--accent);
  font-weight: 600;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--navy);
  display: block;
}

/* Hero */
.hero {
  background: var(--bg-soft);
  padding: 64px 0;
  border-bottom: 1px solid var(--border);
}

.hero .container {
  max-width: 680px;
}

.hero h1 {
  font-size: 2.1rem;
  line-height: 1.3;
  color: var(--navy);
  margin-bottom: 14px;
}

.hero p {
  color: var(--text-light);
  font-size: 1.05rem;
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 11px 22px;
  border-radius: 6px;
  font-weight: 600;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: #276bb5;
}

.btn-outline {
  border-color: var(--border);
  color: var(--navy);
  background: #fff;
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Sections */
section {
  padding: 56px 0;
}

.section-head {
  max-width: 620px;
  margin: 0 auto 36px;
}

.section-head h2 {
  font-size: 1.6rem;
  color: var(--navy);
  margin-bottom: 8px;
}

.section-head p {
  color: var(--text-light);
}

.section-soft {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* Downloads */
.download-page {
  min-height: 70vh;
  padding: 64px 0;
  background: var(--bg-soft);
}

.download-content {
  max-width: 760px;
}

.download-content h1 {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 2.2rem;
}

.download-intro {
  margin-bottom: 32px;
  color: var(--text-light);
}

.download-card {
  margin-bottom: 20px;
}

.download-card p {
  margin: 10px 0 18px;
  color: var(--text-light);
}

.download-card .btn {
  margin-top: 4px;
}

.download-note {
  font-size: 0.92rem;
}

/* Fundraiser ordering */
.fundraiser-page {
  min-height: 70vh;
  padding: 40px 24px;
  background: #eef5f1;
  color: #16392e;
}

.fundraiser-main {
  max-width: 520px;
  margin: 0 auto;
  padding: 28px;
  background: #fff;
  border-radius: 20px;
}

.fundraiser-main h1 {
  margin-bottom: 8px;
  color: #16392e;
}

.fundraiser-main label {
  display: block;
  margin-top: 18px;
}

.fundraiser-main input,
.fundraiser-main select,
.fundraiser-main textarea,
.fundraiser-main button {
  box-sizing: border-box;
  width: 100%;
  margin-top: 6px;
  padding: 13px;
  border: 1px solid #c4d6cc;
  border-radius: 9px;
  font: inherit;
}

.fundraiser-main button {
  background: #147951;
  color: #fff;
  cursor: pointer;
}

.fundraiser-main button:disabled {
  opacity: 0.5;
}

.fundraiser-main #message {
  padding: 12px 0;
  white-space: pre-wrap;
}

.fundraiser-main .small {
  color: #536e62;
  font-size: 14px;
}

/* Simple grid */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  display: block;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  overflow: hidden;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

a.card:hover {
  box-shadow: 0 6px 16px rgba(20, 48, 77, 0.1);
  transform: translateY(-2px);
}

.card-thumb {
  display: block;
  width: calc(100% + 48px);
  max-width: calc(100% + 48px);
  margin: -24px -24px 16px -24px;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

.card h3 {
  color: var(--navy);
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.card p {
  color: var(--text-light);
  font-size: 0.94rem;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 12px;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.88rem;
}

.card:hover .read-more {
  text-decoration: underline;
}

.resource-tag {
  display: inline-block;
  background: var(--bg-soft);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.tag-teal {
  background: rgba(14, 148, 136, 0.12);
  color: #0e9488;
}

.tag-purple {
  background: rgba(124, 92, 219, 0.12);
  color: #7c5cdb;
}

.tag-amber {
  background: rgba(224, 123, 31, 0.14);
  color: #c2650f;
}

.tag-rose {
  background: rgba(192, 55, 74, 0.12);
  color: #c0374a;
}

/* Article body */
.article-body {
  max-width: 720px;
  margin: 0 auto;
}

.article-banner {
  display: block;
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-bottom: 28px;
}

.article-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-light);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.article-back:hover {
  color: var(--accent);
}

.article-body h2 {
  color: var(--navy);
  font-size: 1.25rem;
  margin: 34px 0 12px;
}

.article-body h2:first-of-type {
  margin-top: 0;
}

.article-body p {
  color: var(--text);
  margin-bottom: 16px;
}

.article-body ul,
.article-body ol {
  color: var(--text);
  margin: 0 0 16px 22px;
}

.article-body li {
  margin-bottom: 8px;
}

.article-cta {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  margin-top: 40px;
}

.article-cta h3 {
  color: var(--navy);
  margin-bottom: 8px;
}

.article-cta p {
  color: var(--text-light);
  margin-bottom: 18px;
}

.newsletter-box {
  background: #fff;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  margin-top: 20px;
}

.newsletter-box h3 {
  color: var(--navy);
  margin-bottom: 8px;
}

.newsletter-box p {
  color: var(--text-light);
  font-size: 0.92rem;
  max-width: 440px;
  margin: 0 auto 18px;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  max-width: 420px;
  margin: 0 auto;
}

.newsletter-form input[type="email"] {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
}

.newsletter-form input[type="email"]:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.newsletter-form .submit-btn {
  flex-shrink: 0;
}

/* About */
.about-list {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.about-list li {
  color: var(--text-light);
  padding-left: 20px;
  position: relative;
}

.about-list li::before {
  content: "—";
  color: var(--accent);
  position: absolute;
  left: 0;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
}

.contact-info {
  display: grid;
  gap: 20px;
  align-content: start;
}

.contact-info h3 {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--navy);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.contact-icon {
  color: var(--accent);
  flex-shrink: 0;
}

.contact-info p,
.contact-info a {
  color: var(--text-light);
}

.form-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

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

.field label {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--navy);
}

.field input,
.field select,
.field textarea {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
  background: #fff;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.field textarea {
  resize: vertical;
  min-height: 100px;
}

.submit-btn {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
}

.submit-btn:hover {
  background: #276bb5;
}

.form-note {
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--text-light);
}

.alert {
  padding: 14px 18px;
  border-radius: 6px;
  font-size: 0.92rem;
  margin-bottom: 24px;
}

.alert-success {
  background: #eaf6ec;
  color: #1e7a34;
  border: 1px solid #cdead1;
}

.alert-error {
  background: #fbeaea;
  color: #b3261e;
  border: 1px solid #f2cfcf;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  margin-top: 20px;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-row p {
  color: var(--text-light);
  font-size: 0.85rem;
}

.footer-links {
  display: flex;
  gap: 18px;
  list-style: none;
}

.footer-links a {
  color: var(--text-light);
  font-size: 0.85rem;
}

.footer-links a:hover {
  color: var(--accent);
}

/* Nav phone link */
.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Floating quick-contact buttons */
.fab-group {
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 100;
}

.fab {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 4px 14px rgba(20, 48, 77, 0.28);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(20, 48, 77, 0.35);
}

.fab-whatsapp {
  background: #25d366;
}

.fab-call {
  background: var(--navy);
}

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 158px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(20, 48, 77, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s, border-color 0.15s ease, color 0.15s ease;
  z-index: 100;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Steps ("How it works") */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 20px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.step h3 {
  color: var(--navy);
  font-size: 1rem;
  margin-bottom: 6px;
}

.step p {
  color: var(--text-light);
  font-size: 0.92rem;
}

/* FAQ */
.faq {
  display: grid;
  gap: 12px;
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 4px 20px;
}

.faq-item summary {
  cursor: pointer;
  padding: 16px 0;
  font-weight: 600;
  color: var(--navy);
  list-style: none;
  position: relative;
  padding-right: 28px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 14px;
  color: var(--accent);
  font-size: 1.3rem;
  font-weight: 400;
}

.faq-item[open] summary::after {
  content: "\2212";
}

.faq-item p {
  color: var(--text-light);
  font-size: 0.94rem;
  padding-bottom: 18px;
}

/* Responsive */
@media (max-width: 820px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    display: none;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-toggle {
    display: flex;
  }
  .nav {
    position: relative;
  }
  .hero h1 {
    font-size: 1.7rem;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .newsletter-form {
    flex-direction: column;
  }
  .footer-row {
    flex-direction: column;
    text-align: center;
  }
  .site-footer {
    padding-bottom: 150px;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .fab-group {
    right: 16px;
    bottom: 16px;
  }
  .fab {
    width: 48px;
    height: 48px;
  }
  .back-to-top {
    right: 16px;
    bottom: 140px;
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 820px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}
