:root {
  --navy: #061a33;
  --navy-2: #0b2b4e;
  --gold: #d7a63d;
  --gold-light: #f1cf78;
  --cream: #f7f2e8;
  --white: #ffffff;
  --ink: #102036;
  --shadow: 0 18px 50px rgba(5, 20, 40, 0.16);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "Montserrat", sans-serif;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  padding: 10px clamp(20px, 5vw, 72px);
  color: var(--white);
  background: rgba(6, 26, 51, 0.96);
  border-bottom: 1px solid rgba(215, 166, 61, 0.55);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: .02em;
}

.brand img {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: .92rem;
  font-weight: 600;
}

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

.nav-cta {
  padding: 10px 18px;
  border-radius: 999px;
  color: var(--navy) !important;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
}

.menu-toggle {
  display: none;
  border: 0;
  color: var(--white);
  background: transparent;
  font-size: 1.6rem;
}

.hero {
  position: relative;
  min-height: 720px;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 90px 20px;
  color: var(--white);
  background:
    radial-gradient(circle at 82% 22%, rgba(215, 166, 61, .25), transparent 28%),
    linear-gradient(125deg, rgba(5, 20, 40, .96), rgba(8, 41, 73, .87)),
    url("assets/walk-by-faith-logo.jpg") center/cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -160px -10%;
  height: 260px;
  background: var(--cream);
  border-radius: 50% 50% 0 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    115deg,
    transparent 0 18px,
    rgba(255,255,255,.018) 18px 19px
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(900px, 100%);
  text-align: center;
}

.logo-frame {
  width: 165px;
  height: 165px;
  margin: 0 auto 26px;
  padding: 6px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--gold-light), #8e6818);
  box-shadow: 0 0 0 8px rgba(255,255,255,.05), 0 20px 70px rgba(0,0,0,.36);
}

.logo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--gold-light);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.contact-copy h2,
.card-title h2 {
  font-family: "Cormorant Garamond", serif;
}

.hero h1 {
  margin: 0;
  font-size: clamp(3.1rem, 7vw, 6rem);
  line-height: .95;
  letter-spacing: -.025em;
}

.hero h1 span { color: var(--gold-light); }

.hero-copy {
  width: min(700px, 100%);
  margin: 28px auto 0;
  font-size: clamp(1rem, 2vw, 1.22rem);
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  min-width: 190px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0,0,0,.22);
}

.button-gold {
  color: var(--navy);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
}

.button-outline {
  border: 1px solid rgba(255,255,255,.75);
  color: var(--white);
  background: rgba(255,255,255,.06);
}

.intro {
  position: relative;
  z-index: 3;
  width: min(980px, calc(100% - 40px));
  margin: -65px auto 0;
  padding: 58px clamp(24px, 5vw, 68px);
  text-align: center;
  background: var(--white);
  border-top: 5px solid var(--gold);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.section-heading span {
  color: var(--gold);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.section-heading h2,
.contact-copy h2 {
  margin: 8px 0 10px;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1;
  color: var(--navy);
}

.intro p {
  margin: 0 auto;
  max-width: 760px;
  font-size: 1.07rem;
}

.split-section {
  width: min(1180px, calc(100% - 40px));
  margin: 70px auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.info-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(215,166,61,.55);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.card-title {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 22px 28px;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  border-bottom: 3px solid var(--gold);
}

.card-title h2 {
  margin: 0;
  font-size: 2rem;
  color: var(--gold-light);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  color: var(--navy);
  background: var(--gold-light);
  border-radius: 50%;
}

.feature-list {
  margin: 0;
  padding: 20px 28px 28px;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding: 14px 8px 14px 34px;
  border-bottom: 1px dotted rgba(16, 32, 54, .25);
}

.feature-list li:last-child { border-bottom: 0; }

.feature-list li::before {
  content: "✦";
  position: absolute;
  left: 4px;
  top: 13px;
  color: var(--gold);
  font-size: 1.1rem;
}

.purpose-band {
  padding: 50px 20px;
  text-align: center;
  color: var(--white);
  background:
    linear-gradient(rgba(6,26,51,.93), rgba(6,26,51,.93)),
    url("assets/walk-by-faith-logo.jpg") center/cover;
  border-top: 3px solid var(--gold);
  border-bottom: 3px solid var(--gold);
}

.purpose-band p { margin: 0; }

.purpose-band .script {
  color: var(--gold-light);
  font-family: "Great Vibes", cursive;
  font-size: clamp(3rem, 7vw, 5.7rem);
  line-height: 1;
}

.purpose-band p:last-child {
  margin-top: 8px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.contact-section {
  width: min(1180px, calc(100% - 40px));
  margin: 78px auto;
  text-align: center;
}

.contact-copy p {
  max-width: 720px;
  margin: 0 auto 34px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.contact-card {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 24px;
  background: var(--white);
  border: 1px solid rgba(215,166,61,.55);
  border-radius: 18px;
  box-shadow: var(--shadow);
  transition: transform .2s ease;
}

.contact-card:hover { transform: translateY(-4px); }

.contact-card span {
  color: var(--gold);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.contact-card strong {
  overflow-wrap: anywhere;
  color: var(--navy);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.2rem, 2vw, 1.65rem);
}

footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 24px;
  color: rgba(255,255,255,.82);
  background: var(--navy);
  border-top: 1px solid var(--gold);
  font-size: .85rem;
}

footer img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--gold);
}

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

  .nav-links {
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 16px 24px 24px;
    background: var(--navy);
    border-bottom: 1px solid var(--gold);
  }

  .nav-links.open { display: flex; }

  .nav-links a {
    width: 100%;
    padding: 13px 0;
    text-align: center;
  }

  .nav-cta { margin-top: 8px; }

  .split-section,
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .brand span { display: none; }
  .hero { min-height: 660px; padding-top: 70px; }
  .logo-frame { width: 135px; height: 135px; }
  .intro { margin-top: -40px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .button { width: min(100%, 320px); }
  footer { flex-direction: column; text-align: center; }
}


/* Keeps the email and website address on one line. */
.contact-value {
  display: block;
}

.contact-email,
.contact-website {
  white-space: nowrap;
  font-size: clamp(.88rem, 1.45vw, 1.35rem);
}

@media (max-width: 420px) {
  .contact-email,
  .contact-website {
    font-size: .82rem;
    letter-spacing: -.02em;
  }

  .contact-card {
    padding-left: 14px;
    padding-right: 14px;
  }
}


/* Center the email and website values cleanly inside each contact card. */
.contact-card {
  text-align: center;
  align-items: center;
}

.contact-card strong,
.contact-value,
.contact-email,
.contact-website {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}


/* Final email-card alignment fix */
.contact-grid {
  grid-template-columns: 0.9fr 1.35fr 0.9fr;
}

.contact-card {
  min-width: 0;
  width: 100%;
  text-align: center;
  align-items: center;
  overflow: hidden;
}

.contact-email {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 6px;
  text-align: center;
  white-space: nowrap;
  font-size: clamp(0.72rem, 1.15vw, 1.08rem);
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.contact-website {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
  white-space: nowrap;
  font-size: clamp(0.82rem, 1.2vw, 1.12rem);
}

@media (max-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-email,
  .contact-website {
    font-size: clamp(0.82rem, 3.6vw, 1.15rem);
  }
}


/* Precise centering for the Email Us card */
.email-card {
  display: grid !important;
  place-items: center !important;
  padding: 24px 16px !important;
  text-align: center !important;
}

.email-card-inner {
  width: 100%;
  max-width: 100%;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 8px;
  text-align: center;
}

.email-card-inner span,
.email-card-inner .contact-email {
  width: 100%;
  margin: 0;
  text-align: center !important;
}

.email-card-inner .contact-email {
  display: block;
  padding: 0;
  transform: none;
  white-space: nowrap;
  font-size: clamp(0.68rem, 1.05vw, 1rem);
  letter-spacing: -0.035em;
  line-height: 1.2;
}

@media (max-width: 860px) {
  .email-card-inner .contact-email {
    font-size: clamp(0.82rem, 3.4vw, 1.12rem);
  }
}


/* Keep EMAIL US and the email address together in one centered wrapper */
.email-card {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}

.email-card-inner {
  display: inline-flex !important;
  width: auto !important;
  max-width: 100% !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  margin: 0 auto !important;
  text-align: center !important;
}

.email-card-inner span,
.email-card-inner .contact-email {
  display: block !important;
  width: auto !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  text-align: center !important;
}

.email-card-inner .contact-email {
  white-space: nowrap !important;
  font-size: clamp(0.68rem, 1.02vw, 0.98rem) !important;
  letter-spacing: -0.035em !important;
}
