/* ============================================
   Ascending Community House — playful stylesheet
   ============================================ */

:root {
  --navy: #16345c;
  --navy-deep: #0e2440;
  --teal: #2ba9a0;
  --green: #8bc540;
  --sun: #ffc93c;
  --coral: #ff7a59;
  --cream: #fff9ef;
  --paper: #ffffff;
  --ink: #1d2b3a;
  --ink-soft: #4b5b6b;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow: 0 14px 30px rgba(22, 52, 92, 0.12);
  --shadow-sm: 0 6px 16px rgba(22, 52, 92, 0.1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Nunito", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: "Baloo 2", "Nunito", sans-serif;
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); }
h3 { font-size: 1.35rem; }

p { margin: 0 0 1em; color: var(--ink-soft); }

a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 14px 28px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  text-decoration: none !important;
}
.btn:hover { transform: translateY(-3px) scale(1.02); }

.btn-primary {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 10px 22px rgba(255, 122, 89, 0.4);
}
.btn-secondary {
  background: var(--paper);
  color: var(--navy);
  box-shadow: var(--shadow-sm);
  border: 2px solid var(--navy);
}
.btn-light {
  background: var(--sun);
  color: var(--navy-deep);
  box-shadow: 0 10px 22px rgba(255, 201, 60, 0.45);
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 249, 239, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 3px solid var(--navy);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1120px;
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Baloo 2", sans-serif;
  font-weight: 800;
  color: var(--navy);
  font-size: 1.15rem;
}
.brand img { height: 48px; width: auto; border-radius: 10px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  display: inline-block;
  color: var(--navy);
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}
.nav-links a:hover { background: var(--navy); color: #fff; }
.nav-links a.active { background: var(--teal); color: #fff; }
.nav-cta {
  background: var(--coral) !important;
  color: #fff !important;
}
.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--navy);
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 1.3rem;
  cursor: pointer;
  color: var(--navy);
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--paper);
    border-bottom: 3px solid var(--navy);
    padding: 10px 20px 20px;
    gap: 4px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { text-align: center; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 70px 0 110px;
  background: linear-gradient(180deg, #eaf6f2 0%, var(--cream) 100%);
  overflow: hidden;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-block;
  background: var(--sun);
  color: var(--navy-deep);
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.9rem;
  margin-bottom: 16px;
  transform: rotate(-2deg);
}
.hero p.lead { font-size: 1.15rem; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 24px; }
.hero-art {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero-art .blob {
  position: absolute;
  inset: 0;
  background: var(--teal);
  border-radius: 62% 38% 55% 45% / 45% 55% 45% 55%;
  opacity: 0.18;
  transform: scale(1.15);
}
.hero-art img {
  position: relative;
  width: 78%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  background: #fff;
  padding: 22px;
}

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-art { margin-top: 20px; }
}

/* decorative wave divider */
.wave {
  display: block;
  width: 100%;
  height: auto;
  margin-top: -6px;
}

/* ---------- Sections ---------- */
section { padding: 72px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section-head .tag {
  display: inline-block;
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  color: var(--teal);
  background: rgba(43, 169, 160, 0.12);
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.bg-navy { background: var(--navy); color: #fff; }
.bg-navy h2, .bg-navy h3 { color: #fff; }
.bg-navy p { color: #cfe1ee; }
.bg-teal-soft { background: #eaf6f2; }
.bg-cream { background: var(--cream); }

/* ---------- Cards grid ---------- */
.grid {
  display: grid;
  gap: 26px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.card {
  background: var(--paper);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  border: 3px solid transparent;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-6px); border-color: var(--sun); }
.card .icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 16px;
  background: var(--teal);
  color: #fff;
}
.card:nth-child(4n+2) .icon { background: var(--coral); }
.card:nth-child(4n+3) .icon { background: var(--sun); color: var(--navy-deep); }
.card:nth-child(4n+4) .icon { background: var(--green); }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--coral);
  border-radius: var(--radius-lg);
  padding: 50px 40px;
  text-align: center;
  color: #fff;
  box-shadow: var(--shadow);
}
.cta-banner h2 { color: #fff; }
.cta-banner p { color: #ffe6df; }

/* ---------- Social strip ---------- */
.social-strip {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
}
.social-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 800;
  font-family: "Baloo 2", sans-serif;
  color: var(--navy);
  box-shadow: var(--shadow-sm);
  border: 2px solid transparent;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.social-pill:hover { border-color: var(--navy); transform: translateY(-3px); text-decoration: none; }
.social-pill .dot {
  width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1rem;
}
.social-pill.fb .dot { background: #1877f2; font-family: Georgia, "Times New Roman", serif; font-weight: 700; }

/* ---------- FAQ accordion ---------- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  border: 2px solid transparent;
}
.faq-item.open { border-color: var(--sun); }
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 20px 24px;
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-q .plus {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  transition: transform 0.2s ease;
}
.faq-item.open .faq-q .plus { transform: rotate(45deg); background: var(--coral); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease, padding 0.28s ease;
  padding: 0 24px;
}
.faq-item.open .faq-a { padding: 0 24px 22px; }
.faq-a p { margin: 0; }

/* ---------- Timeline / story ---------- */
.story-block {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 46px;
  align-items: center;
}
.story-block img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  background: #fff;
  padding: 18px;
}
@media (max-width: 860px) {
  .story-block { grid-template-columns: 1fr; }
}

/* ---------- Founder logo panel ---------- */
.founder-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 34px 28px;
  text-align: center;
}
.founder-logo {
  width: 130px;
  margin: 0 auto;
  display: block;
}

.badge-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.badge {
  background: #eaf6f2;
  color: var(--teal);
  font-weight: 800;
  font-family: "Baloo 2", sans-serif;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.9rem;
}

/* ---------- Values ---------- */
.values-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  text-align: center;
}
.values-grid .value {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 28px 18px;
  box-shadow: var(--shadow-sm);
}
.values-grid .emoji { font-size: 2.2rem; margin-bottom: 10px; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow);
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.field input, .field textarea, .field select {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 2px solid #dbe6ea;
  font-family: inherit;
  font-size: 1rem;
  background: var(--cream);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--teal);
}
.info-list { list-style: none; margin: 0; padding: 0; }
.info-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px dashed #d7e2e7;
}
.info-list li:last-child { border-bottom: none; }
.info-list .ico {
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--teal); color: #fff;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.note-box {
  background: var(--sun);
  color: var(--navy-deep);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: #cfe1ee;
  padding: 56px 0 26px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer-brand img { height: 40px; border-radius: 8px; }
.footer-brand span { font-family: "Baloo 2", sans-serif; font-weight: 800; color: #fff; font-size: 1.1rem; }
.site-footer h4 { color: #fff; font-family: "Baloo 2", sans-serif; font-size: 1rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #cfe1ee; }
.site-footer a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.14);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.88rem;
  color: #9fb6c8;
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-size: 1.05rem;
}
.footer-social a:hover { background: var(--teal); text-decoration: none; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: 56px 0 40px;
  text-align: center;
  background: linear-gradient(180deg, #eaf6f2 0%, var(--cream) 100%);
}
.page-hero .hero-eyebrow { transform: rotate(-1deg); }
.page-hero p.lead { max-width: 620px; margin: 0 auto; }

/* misc */
.center { text-align: center; }
.mt-lg { margin-top: 48px; }
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; } }
