/* ============================================================
   Helping Hands World Vision Ministries
   Palette drawn from the logo: teal ring, gold sunburst,
   red script lettering — warmed with light khaki.
   ============================================================ */

:root {
  --teal:        #2A7F86;
  --teal-deep:   #1C5B61;
  --teal-soft:   #E3F0F0;
  --gold:        #E5A93C;
  --gold-soft:   #FBEFD8;
  --red:         #C0453D;
  --khaki:       #E9E2CE;
  --khaki-light: #F5F1E6;
  --cream:       #FDFBF6;
  --ink:         #26383A;
  --ink-soft:    #5C6F70;
  --white:       #FFFFFF;

  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(28, 91, 97, 0.06);
  --shadow-md: 0 6px 24px rgba(28, 91, 97, 0.09);
  --shadow-lg: 0 14px 44px rgba(28, 91, 97, 0.13);

  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--khaki-light);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--teal-deep);
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.3rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1.1em; }

a { color: var(--teal); }

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

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.center { text-align: center; }

.lede {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 62ch;
}

.center .lede { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  cursor: pointer;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover { background: var(--teal-deep); box-shadow: var(--shadow-lg); }

.btn-gold {
  background: var(--gold);
  color: #4A3410;
  box-shadow: var(--shadow-md);
}

.btn-gold:hover { background: #D2971F; box-shadow: var(--shadow-lg); }

.btn-ghost {
  background: transparent;
  color: var(--teal-deep);
  border-color: var(--teal);
}

.btn-ghost:hover { background: var(--teal-soft); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.center .btn-row { justify-content: center; }

/* ---------- Header / nav ---------- */

.site-header {
  background: var(--cream);
  border-bottom: 1px solid rgba(28, 91, 97, 0.09);
  position: sticky;
  top: 0;
  z-index: 40;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 24px;
  max-width: var(--max);
  margin: 0 auto;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--teal-deep);
}

.brand img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
}

.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: 1.05rem;
}
.brand-sub {
  font-size: .74rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  transition: background .18s ease, color .18s ease;
}

.nav-links a:hover { background: var(--teal-soft); color: var(--teal-deep); }
.nav-links a.active { background: var(--teal-soft); color: var(--teal-deep); font-weight: 600; }

.nav-links a.nav-give {
  background: var(--gold);
  color: #4A3410;
  font-weight: 600;
}
.nav-links a.nav-give:hover { background: #D2971F; color: #4A3410; }

/* ---------- Hero ---------- */

.hero {
  background:
    radial-gradient(ellipse at 15% 0%, rgba(229, 169, 60, .16), transparent 55%),
    radial-gradient(ellipse at 85% 30%, rgba(42, 127, 134, .13), transparent 55%),
    var(--cream);
  padding: 72px 0 84px;
  border-bottom-left-radius: var(--radius-lg);
  border-bottom-right-radius: var(--radius-lg);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 54px;
  align-items: center;
}

.hero-logo {
  width: min(340px, 100%);
  margin: 0 auto;
  border-radius: 50%;
  box-shadow: var(--shadow-lg);
}

.eyebrow {
  display: inline-block;
  background: var(--teal-soft);
  color: var(--teal-deep);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
}

/* ---------- Sections ---------- */

section { padding: 68px 0; }

.section-head { margin-bottom: 42px; }

/* ---------- Cards ---------- */

.card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(28, 91, 97, .06);
  transition: transform .2s ease, box-shadow .2s ease;
}

.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.card h3 { margin-bottom: 6px; }

.card p:last-child { margin-bottom: 0; }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 24px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.pill {
  display: inline-block;
  background: var(--gold-soft);
  color: #7A5410;
  font-size: .82rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}

.pill-teal { background: var(--teal-soft); color: var(--teal-deep); }

/* ---------- Scripture band ---------- */

.scripture {
  background: var(--teal-deep);
  color: #EAF4F4;
  border-radius: var(--radius-lg);
  padding: 54px 40px;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.scripture p {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(1.15rem, 2.6vw, 1.6rem);
  line-height: 1.55;
  max-width: 44ch;
  margin: 0 auto 18px;
  color: #F3F9F8;
}

.scripture cite {
  display: block;
  font-style: normal;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .82rem;
  color: var(--gold);
}

/* ---------- Service time list ---------- */

.time-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px 30px;
  box-shadow: var(--shadow-sm);
  border-left: 5px solid var(--teal);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 18px;
}

.time-card.gold { border-left-color: var(--gold); }
.time-card.red  { border-left-color: var(--red); }

.time-card h3 { margin: 0; }

.time-when {
  font-weight: 600;
  color: var(--teal-deep);
  font-size: 1.05rem;
  white-space: nowrap;
}

.time-note {
  flex-basis: 100%;
  margin: 4px 0 0;
  color: var(--ink-soft);
  font-size: .97rem;
}

/* ---------- Dial-in box ---------- */

.dial {
  background: var(--gold-soft);
  border-radius: var(--radius-md);
  padding: 26px 30px;
  margin-top: 8px;
  border: 1px dashed rgba(197, 145, 40, .5);
}

.dial dl {
  margin: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 18px;
  align-items: baseline;
}

.dial dt {
  font-weight: 600;
  color: #7A5410;
  font-size: .85rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.dial dd {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

.dial dd a { color: var(--ink); text-decoration: none; }
.dial dd a:hover { text-decoration: underline; }

/* ---------- Contact ---------- */

.contact-band {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  box-shadow: var(--shadow-sm);
}

.contact-list { list-style: none; margin: 0; padding: 0; }

.contact-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.contact-list .ico {
  flex: 0 0 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--teal-soft);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
}

.contact-list a { color: var(--teal-deep); }

/* ---------- Form ---------- */

.form-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.field { margin-bottom: 18px; }

.field label {
  display: block;
  font-weight: 600;
  font-size: .92rem;
  margin-bottom: 7px;
  color: var(--teal-deep);
}

.field input,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid rgba(28, 91, 97, .18);
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 1rem;
  background: var(--khaki-light);
  color: var(--ink);
  transition: border-color .18s ease, background .18s ease;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--teal);
  background: var(--white);
}

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

/* ---------- Giving ---------- */

.give-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  box-shadow: var(--shadow-md);
  text-align: center;
  border-top: 6px solid var(--gold);
}

.give-steps {
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
}

.give-steps li {
  counter-increment: step;
  position: relative;
  padding-left: 52px;
  margin-bottom: 22px;
}

.give-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -2px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  font-weight: 600;
  display: grid;
  place-items: center;
}

.note {
  background: var(--teal-soft);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  font-size: .96rem;
  color: var(--teal-deep);
}

.note p:last-child { margin-bottom: 0; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--teal-deep);
  color: #C9DEDE;
  padding: 54px 0 28px;
  margin-top: 20px;
  border-top-left-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-lg);
}

.site-footer h4 {
  color: var(--white);
  font-size: 1rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.site-footer a { color: #C9DEDE; text-decoration: none; }
.site-footer a:hover { color: var(--gold); text-decoration: underline; }

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 34px;
  margin-bottom: 34px;
}

.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 9px; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .14);
  padding-top: 22px;
  font-size: .88rem;
  text-align: center;
  color: #9FBFBF;
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-grid .btn-row { justify-content: center; }
  .hero-logo { max-width: 260px; }
  .hero-copy { order: 2; }
  .hero-art  { order: 1; }
  .lede { margin-left: auto; margin-right: auto; }
}

@media (max-width: 700px) {
  body { font-size: 16px; }
  .nav { justify-content: center; }
  .nav-links { justify-content: center; gap: 4px; }
  .nav-links a { padding: 8px 13px; font-size: .95rem; }
  section { padding: 48px 0; }
  .hero { padding: 48px 0 58px; }
  .scripture, .contact-band, .give-card { padding: 34px 24px; }
  .time-card { padding: 22px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
  html { scroll-behavior: auto; }
  .btn:hover, .card:hover { transform: none; }
}
