:root {
  --color-primary: #2ea3f2;
  --color-primary-dark: #1a8cd8;
  --color-text: #444;
  --color-text-light: #666;
  --color-bg: #fff;
  --color-footer: #222;
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max-width: 1080px;
  --header-height: 72px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text-light);
  background: var(--color-bg);
}

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

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

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  box-shadow: 0 1px 0 rgba(0,0,0,.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  gap: 1rem;
}

.logo-link {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: .75rem;
  flex-shrink: 0;
  text-decoration: none;
  color: var(--color-text);
  font-weight: 600;
}

.logo-link picture { display: contents; }

.logo-link img {
  width: 52px;
  height: 52px;
  max-width: none;
  object-fit: contain;
  flex-shrink: 0;
}

.logo-text {
  font-size: 1rem;
  line-height: 1.2;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: .4rem .6rem;
  cursor: pointer;
  font-size: .9rem;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  color: var(--color-text);
  font-weight: 500;
  text-decoration: none;
  padding: .25rem 0;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--color-primary);
}

/* Hero */
.hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background: #1a3a52 center/cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0,0,0,.45), rgba(0,0,0,.55));
}

.hero .container { position: relative; z-index: 1; padding: 4rem 1rem; }

.hero h1 {
  margin: 0 0 .5rem;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: #fff;
}

.hero .hero-headline {
  margin: 0 0 2rem;
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: #fff;
  text-shadow:
    0 2px 4px rgba(0, 0, 0, 0.45),
    0 6px 24px rgba(0, 0, 0, 0.3);
}

.hero-home {
  min-height: 420px;
}

.hero .tagline {
  font-size: 1.25rem;
  margin: 0 0 2rem;
  opacity: .95;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: .75rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background .2s, color .2s;
}

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

.btn-primary:hover {
  background: var(--color-primary-dark);
  color: #fff;
  text-decoration: none;
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

.btn-outline:hover {
  background: #fff;
  color: var(--color-text);
  text-decoration: none;
}

/* Sections */
.section { padding: 4rem 0; }

.section-alt { background: #f7f9fb; }

.section h2 {
  color: var(--color-text);
  font-size: 1.75rem;
  margin: 0 0 1rem;
  text-align: center;
}

.section-intro {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 2.5rem;
}

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

.card {
  background: #fff;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}

.card-dark {
  background: #2c3e50;
  color: #e8e8e8;
}

.card-dark h2 { color: #fff; }

.card-dark a { color: #7ec8ff; }

.split {
  display: grid;
  gap: 2rem;
  align-items: center;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .split { grid-template-columns: 2fr 1fr; }
}

.split img,
.split-media img { border-radius: 8px; width: 100%; }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  font-weight: 500;
  color: var(--color-text);
}

.contact-form input,
.contact-form textarea {
  padding: .65rem .75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font: inherit;
}

.form-note,
.newsletter-intro {
  font-size: .875rem;
  opacity: .85;
  margin-top: 1rem;
}

.newsletter-intro code {
  font-size: .8em;
}

/* Newsletter */
.newsletter {
  background: linear-gradient(135deg, #2c3e50, #1a5276);
  color: #fff;
  text-align: center;
  padding: 4rem 1rem;
}

.newsletter h2 { color: #fff; margin-bottom: 1.5rem; }

.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: center;
  max-width: 28rem;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1 1 140px;
  padding: .75rem 1rem;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
}

.newsletter-form .btn { cursor: pointer; border: none; }

.newsletter .newsletter-form-status {
  display: block;
  width: min(100%, 32rem);
  margin: 1.75rem auto 0;
  padding: 1.35rem 1.75rem;
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.65;
  border-radius: 8px;
}

.newsletter .newsletter-form-status.success {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.newsletter .newsletter-form-status.error {
  background: rgba(198, 40, 40, 0.3);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.newsletter-note {
  margin-top: 1rem;
  font-size: .875rem;
  opacity: .85;
}

/* Page header */
.page-hero {
  background: var(--color-footer);
  color: #fff;
  padding: 3rem 1rem;
  text-align: center;
}

.page-hero h1 { margin: 0; color: #fff; font-size: 2rem; }

.content-block {
  padding: 3rem 0;
  max-width: 42rem;
  margin: 0 auto;
}

.content-block h2 { color: var(--color-text); }

/* About Us page */
.about-page .hero .tagline {
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.9;
}

.about-intro {
  padding: 2.5rem 0 2rem;
  background: linear-gradient(180deg, #fff 0%, #f7f9fb 100%);
}

.about-cards {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  max-width: 56rem;
  margin: 0 auto;
}

.about-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.75rem 2rem 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(46, 163, 242, 0.1);
}

.about-card h2 {
  text-align: left;
  font-size: 1.35rem;
  margin: 0 0 0.85rem;
  padding-bottom: 0.65rem;
  border-bottom: 3px solid var(--color-primary);
  display: inline-block;
}

.about-card p {
  margin: 0;
  color: var(--color-text);
  line-height: 1.75;
}

.about-beliefs {
  padding: 3rem 0 3.5rem;
}

.about-beliefs .content-block {
  padding: 0;
}

.section-title {
  text-align: center;
  font-size: 1.85rem;
  margin: 0 0 0.5rem;
  color: var(--color-text);
}

.section-title::after {
  content: "";
  display: block;
  width: 3rem;
  height: 3px;
  background: var(--color-primary);
  margin: 0.75rem auto 1.75rem;
  border-radius: 2px;
}

.beliefs-block { max-width: 48rem; }

.beliefs-intro {
  margin-bottom: 1.5rem;
  text-align: center;
  max-width: 40rem;
  margin-inline: auto;
  font-size: 1.05rem;
  color: var(--color-text);
  line-height: 1.75;
}

.beliefs-list {
  margin: 0;
  padding-left: 0;
  list-style: none;
  counter-reset: beliefs;
}

.beliefs-list > li {
  counter-increment: beliefs;
  position: relative;
  margin-bottom: 0.75rem;
  padding: 1rem 1.25rem 1rem 3rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.05);
  border-left: 3px solid var(--color-primary);
  color: var(--color-text);
  line-height: 1.7;
}

.beliefs-list > li::before {
  content: counter(beliefs, upper-alpha) ".";
  position: absolute;
  left: 1rem;
  top: 1rem;
  font-weight: 700;
  color: var(--color-primary);
}

.beliefs-scripture {
  margin: 0.85rem 0 0;
  padding: 1rem 1.25rem;
  border-left: 3px solid rgba(46, 163, 242, 0.35);
  background: #f7f9fb;
  border-radius: 0 6px 6px 0;
  font-style: italic;
  color: var(--color-text);
}

.about-minister {
  padding: 3rem 0 2.5rem;
}

.about-minister-block {
  max-width: 42rem;
  padding: 0;
}

.about-minister-role {
  text-align: center;
  margin: -0.5rem auto 1.75rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: 0.02em;
}

.about-minister-bio p {
  margin: 0 0 1.25rem;
  color: var(--color-text);
  line-height: 1.8;
}

.about-minister-bio p:last-child {
  margin-bottom: 0;
}

.about-speaking {
  padding: 3rem 0 4rem;
}

.speaking-block {
  max-width: 36rem;
  padding: 0;
}

.speaking-intro {
  text-align: center;
  margin: 0 auto 2rem;
  max-width: 32rem;
  color: var(--color-text);
  line-height: 1.75;
}

.speaking-form {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(46, 163, 242, 0.1);
}

.speaking-form .form-group {
  border: none;
  margin: 0 0 1.5rem;
  padding: 0;
}

.speaking-form .form-group legend {
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.75rem;
  padding: 0;
}

.speaking-form .form-row {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 600px) {
  .speaking-form .form-row {
    grid-template-columns: 1fr;
  }
}

.speaking-block .form-note {
  text-align: center;
  margin-top: 1.25rem;
}

.form-status {
  margin: 0;
  padding: 0.85rem 1rem;
  border-radius: 6px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.form-status.success {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #c8e6c9;
}

.form-status.error {
  background: #ffebee;
  color: #c62828;
  border: 1px solid #ffcdd2;
}

/* Contact Us page */
.contact-page .hero .tagline {
  font-size: 1.15rem;
  max-width: 32rem;
  margin-inline: auto;
  opacity: 0.95;
}

.contact-message-section {
  padding: 2.5rem 0 3rem;
  background: linear-gradient(180deg, #fff 0%, #f7f9fb 100%);
}

.contact-panel {
  max-width: 36rem;
  margin: 0 auto;
  background: #fff;
  border-radius: 12px;
  padding: 2rem 2rem 1.75rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
  border: 1px solid rgba(46, 163, 242, 0.1);
}

.contact-intro {
  text-align: center;
  margin: 0 auto 1.75rem;
  max-width: 30rem;
  color: var(--color-text);
  line-height: 1.75;
}

.contact-panel-form {
  gap: 1.1rem;
}

.contact-panel .form-note {
  text-align: center;
  margin: 1.25rem 0 0;
}

.contact-newsletter {
  padding: 3.5rem 1rem;
}

/* Footer */
.site-footer {
  background: var(--color-footer);
  color: #ccc;
  text-align: center;
  padding: 2rem 1rem;
  font-size: .9rem;
}

.site-footer a { color: var(--color-primary); }

@media (max-width: 768px) {
  .nav-toggle { display: block; }

  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid #eee;
    padding: 1rem;
  }

  .site-nav.is-open { display: block; }

  .site-nav ul { flex-direction: column; }
}
