/* =========================================================
   Everett's Websites — shared stylesheet
   Vanilla CSS, no framework. Fonts: Poppins (headings), Inter (body).
   ========================================================= */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
input, textarea { font: inherit; }

/* ---------- Design tokens ---------- */
:root {
  --navy: #1c2a3a;
  --navy-dark: #131d28;
  --gold: #9a7b4f;
  --gold-dark: #7f6440;
  --white: #ffffff;
  --grey: #f5f7fa;
  --text: #1c2a3a;
  --text-soft: #4a5568;
  --border: #e2e6ec;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 4px 20px rgba(28, 42, 58, 0.08);
  --shadow-lg: 0 14px 40px rgba(28, 42, 58, 0.14);

  --font-heading: 'Poppins', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;

  --container: 1200px;
  --header-h: 84px;
}

/* ---------- Base ---------- */
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--navy);
  line-height: 1.2;
  font-weight: 600;
}

h1 { font-size: clamp(2.1rem, 1.4rem + 3vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.35rem); }
h3 { font-size: clamp(1.15rem, 1rem + 0.6vw, 1.4rem); }

p { color: var(--text-soft); }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

section[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

.section { padding-block: clamp(3.5rem, 3rem + 3vw, 6rem); }
.section-white { background: var(--white); }
.section-grey { background: var(--grey); }
.section-navy { background: var(--navy); color: var(--white); }

.section-intro { max-width: 720px; margin: 0 auto 3rem; text-align: center; }
.section-intro.align-left { margin-inline: 0; text-align: left; }
.section-intro p { margin-top: 0.9rem; font-size: 1.05rem; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.75rem;
}

.gold-rule {
  width: 60px;
  height: 4px;
  border-radius: 2px;
  background: var(--gold);
  margin: 0.9rem auto 0;
}
.section-intro.align-left .gold-rule { margin-inline: 0; }
.footer-tagline .gold-rule { margin: 0.6rem 0 0; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -60px;
  background: var(--navy);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  z-index: 2000;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-dark); }

.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: var(--gold-dark); }

.btn-outline-navy { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }

.btn-outline-white { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline-white:hover { background: var(--white); color: var(--navy); }

.btn-lg { padding: 1rem 2.2rem; font-size: 1.05rem; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(6px);
  border-bottom: 1px solid var(--border);
}

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

.logo-link { display: inline-flex; align-items: center; }
.logo-img { height: 60px; width: auto; display: block; }

.nav-toggle { display: none; }

.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  border-radius: 2px;
  background: var(--navy);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-links a {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.98rem;
  color: var(--navy);
  padding-block: 0.35rem;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  border-color: var(--gold);
  color: var(--gold-dark);
}

.nav-cta { flex-shrink: 0; }

@media (max-width: 899px) {
  .hamburger { display: flex; }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 1.75rem;
    padding: 2rem 1.5rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    width: 100%;
  }
  .nav-links a { font-size: 1.15rem; }

  .nav-toggle:checked ~ .site-nav { transform: translateX(0); }

  .nav-toggle:checked ~ .hamburger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle:checked ~ .hamburger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .hamburger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

@media (min-width: 900px) {
  .hamburger { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, var(--grey) 0%, var(--white) 100%);
  padding-block: clamp(3rem, 2.5rem + 3vw, 5.5rem);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; }
}
.hero-content .eyebrow { }
.hero h1 { margin-top: 0.5rem; }
.hero-sub {
  font-size: 1.15rem;
  max-width: 55ch;
  margin-top: 1.25rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}
.hero-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* ---------- Cards / Grids ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.75rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--grey);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-dark);
}
.card-icon svg { width: 26px; height: 26px; }

.card h3 { margin-top: 0.2rem; }
.card p { flex-grow: 1; }
.card-link {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--gold-dark);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.card-link:hover { text-decoration: underline; }

/* ---------- Why it works ---------- */
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 900px) {
  .why-grid { grid-template-columns: repeat(3, 1fr); }
}
.why-item { text-align: left; }
.why-item .step-number {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

/* ---------- Pricing ---------- */
.pricing-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  max-width: 900px;
  margin: 0 auto;
}
.price-card {
  flex: 1 1 320px;
  max-width: 380px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow);
  text-align: center;
}
.price-card--accent {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
.price-card--accent .price-note,
.price-card--accent .price-features li { color: rgba(255,255,255,0.82); }
.price-card--accent .eyebrow { color: var(--gold); }

.price-plus {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  flex: 0 0 auto;
}

.price-amount {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 700;
  color: inherit;
  margin: 0.25rem 0 0.1rem;
}
.price-card:not(.price-card--accent) .price-amount { color: var(--navy); }
.price-amount span { font-size: 1.05rem; font-weight: 500; }

.price-note { font-size: 0.9rem; margin-bottom: 1.25rem; }

.price-features { text-align: left; display: flex; flex-direction: column; gap: 0.6rem; }
.price-features li { position: relative; padding-left: 1.5rem; font-size: 0.97rem; }
.price-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.pricing-cta { text-align: center; margin-top: 2.5rem; }
.pricing-note { margin-top: 1rem; font-size: 0.92rem; }

/* ---------- Trust strip ---------- */
.trust-strip {
  background: var(--grey);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding-block: 2.25rem;
  text-align: center;
}
.trust-strip p {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--navy);
  font-weight: 500;
  max-width: 760px;
  margin: 0 auto;
}

/* ---------- Closing CTA ---------- */
.cta-band {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding-block: clamp(3rem, 2.5rem + 2vw, 4.5rem);
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,0.82); max-width: 60ch; margin: 1rem auto 2rem; }

/* ---------- Values / list pages (About) ---------- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.value-card {
  background: var(--white);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 1.5rem 1.6rem;
}
.value-card h3 { margin-bottom: 0.5rem; }

.about-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 860px) {
  .about-hero { grid-template-columns: 0.8fr 1.2fr; }
}
.about-hero img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }

.faith-block {
  max-width: 760px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 1.4rem + 1.5vw, 2.75rem);
  box-shadow: var(--shadow);
  border-top: 4px solid var(--gold);
}
.faith-block p + p { margin-top: 1.1rem; }

/* ---------- Services page ---------- */
.service-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
  padding-block: clamp(2.5rem, 2rem + 2vw, 4rem);
}
@media (min-width: 860px) {
  .service-block { grid-template-columns: 90px 1fr; }
}
.service-block + .service-block { border-top: 1px solid var(--border); }
.service-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-icon svg { width: 32px; height: 32px; }
.service-body ul.checklist { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.55rem; }
.service-body ul.checklist li { position: relative; padding-left: 1.6rem; }
.service-body ul.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold-dark);
  font-weight: 700;
}
.note-box {
  margin-top: 1.25rem;
  background: var(--grey);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  font-size: 0.95rem;
}
.note-box strong { color: var(--navy); }

.ownership-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 1.4rem + 1.5vw, 2.5rem);
  box-shadow: var(--shadow);
}

/* ---------- FAQ (details/summary) ---------- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.3rem 1.25rem;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 0;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--gold-dark);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding-bottom: 1.1rem; margin: 0; }

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 1fr 1.2fr; }
}
.contact-info-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 2rem;
}
.contact-info-list { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 1.5rem; }
.contact-info-item { display: flex; gap: 0.9rem; align-items: flex-start; }
.contact-info-item .icon {
  width: 42px; height: 42px; border-radius: var(--radius-sm);
  background: var(--grey); color: var(--gold-dark);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-info-item .icon svg { width: 22px; height: 22px; }
.contact-info-item a, .contact-info-item span { font-weight: 600; color: var(--navy); }

.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: clamp(1.75rem, 1.4rem + 1.5vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.form-row { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 620px) {
  .form-row.two-col { grid-template-columns: 1fr 1fr; }
}
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
}
.field input, .field textarea {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  background: var(--grey);
  color: var(--text);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.field input:focus, .field textarea:focus {
  border-color: var(--gold);
  background: var(--white);
  outline: none;
}
.field textarea { resize: vertical; min-height: 130px; }

.onboarding-note {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--grey);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  font-size: 0.95rem;
  margin-top: 1.5rem;
}
.onboarding-note .badge {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--white);
  background: var(--gold);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
  padding-block: clamp(3rem, 2.5rem + 2vw, 4rem) 2rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
@media (min-width: 780px) {
  .footer-top { grid-template-columns: 1.3fr 1fr 1fr; }
}
.footer-logo { height: 52px; width: auto; margin-bottom: 1.1rem; }
.footer-nap { color: rgba(255, 255, 255, 0.85); font-size: 0.98rem; }
.footer-nap a { color: var(--white); font-weight: 600; }
.footer-nap a:hover { color: var(--gold); }

.footer-heading {
  font-family: var(--font-heading);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.footer-nav ul { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-nav a { color: rgba(255, 255, 255, 0.8); }
.footer-nav a:hover { color: var(--gold); }

.footer-tagline p { color: rgba(255, 255, 255, 0.85); font-family: var(--font-heading); font-weight: 500; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1.75rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ---------- Misc utility ---------- */
.text-center { text-align: center; }
.mt-lg { margin-top: 2.5rem; }
