/* ============================================================
   Walk In Miracles — V1 Stylesheet (color refresh 2026-04-17)
   Brand colors, typography, nav, footer, shared components
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Inter:wght@300;400;500;600;700&display=swap');

/* --- CSS Variables --- */
:root {
  --purple:    #4B0082;
  --gold:      #0D9488;
  --lavender:  #F0FAFA;
  --warm-white:#FFFFFF;
  --charcoal:  #3D3D3D;
  --dark-gray: #555555;
  --white:     #FFFFFF;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', 'DM Sans', system-ui, sans-serif;

  --max-width: 1160px;
  --nav-height: 72px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--charcoal);
  background-color: var(--warm-white);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: inherit;
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 600; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }

p { margin-bottom: 1rem; color: var(--dark-gray); }
p:last-child { margin-bottom: 0; }

.scripture {
  font-family: var(--font-heading);
  font-style: italic;
  color: var(--gold);
  font-size: 0.95rem;
}

/* --- Layout Helpers --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section--lavender {
  background-color: var(--lavender);
}

.section--purple {
  background-color: var(--purple);
  color: var(--white);
}

.section--gold {
  background-color: var(--gold);
}

.text-center { text-align: center; }
.text-gold   { color: var(--gold); }
.text-purple { color: var(--purple); }
.text-white  { color: var(--white); }

/* --- Buttons --- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.1s ease;
  text-align: center;
  line-height: 1;
}

.btn:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

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

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

.btn--purple {
  background-color: var(--purple);
  color: var(--white);
  border-color: var(--purple);
}

.btn--outline-purple {
  background-color: transparent;
  color: var(--purple);
  border-color: var(--purple);
}

.btn--full {
  display: block;
  width: 100%;
  text-align: center;
}

/* --- Navigation --- */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--warm-white);
  border-bottom: 1px solid rgba(75,0,130,0.12);
  height: var(--nav-height);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.nav__wordmark {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--purple);
  white-space: nowrap;
}

.nav__wordmark:hover {
  opacity: 0.85;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav__links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--charcoal);
  transition: color 0.2s;
}

.nav__links a:hover {
  color: var(--purple);
}

.nav__cta {
  background-color: var(--gold);
  color: var(--white) !important;
  font-weight: 700 !important;
  padding: 10px 22px;
  border-radius: 4px;
  transition: opacity 0.2s !important;
}

.nav__cta:hover {
  opacity: 0.88;
  color: var(--white) !important;
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 20px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

.nav__hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--purple);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Mobile nav */
.nav__mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background-color: var(--warm-white);
  border-bottom: 2px solid var(--purple);
  padding: 20px 24px 28px;
  z-index: 999;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.nav__mobile.open {
  display: block;
}

.nav__mobile a {
  display: block;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--charcoal);
  padding: 12px 0;
  border-bottom: 1px solid rgba(75,0,130,0.08);
}

.nav__mobile a:hover {
  color: var(--purple);
}

.nav__mobile .btn--gold {
  margin-top: 16px;
  display: block;
  text-align: center;
  width: 100%;
}

/* --- Hero Sections --- */
.hero {
  background-color: var(--purple);
  color: var(--white);
  padding: 100px 0 80px;
  text-align: center;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero__sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.88);
  max-width: 640px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero__ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero__scripture {
  font-family: var(--font-heading);
  font-style: italic;
  color: var(--gold);
  font-size: 0.9rem;
  margin-top: 8px;
}

/* --- Cards --- */
.card-grid {
  display: grid;
  gap: 28px;
}

.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white);
  border-radius: 8px;
  padding: 36px 28px;
  box-shadow: 0 2px 12px rgba(75,0,130,0.08);
  border-top: 3px solid var(--gold);
}

.card h3 {
  color: var(--purple);
  margin-bottom: 12px;
}

.card p {
  font-size: 0.95rem;
}

.card__link {
  display: inline-block;
  margin-top: 16px;
  color: var(--gold);
  font-weight: 600;
  font-size: 0.95rem;
  transition: opacity 0.2s;
}

.card__link:hover {
  opacity: 0.75;
}

/* Pain point cards */
.pain-card {
  background: var(--white);
  border-radius: 8px;
  padding: 28px 24px;
  box-shadow: 0 2px 12px rgba(75,0,130,0.08);
  border-left: 4px solid var(--purple);
  font-size: 0.98rem;
  color: var(--dark-gray);
  line-height: 1.6;
}

/* Offer / pricing cards */
.offer-card {
  background: var(--white);
  border-radius: 8px;
  padding: 36px 28px;
  box-shadow: 0 2px 16px rgba(75,0,130,0.1);
  border: 1px solid rgba(75,0,130,0.1);
  display: flex;
  flex-direction: column;
}

.offer-card__label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.offer-card h3 {
  color: var(--purple);
  margin-bottom: 6px;
}

.offer-card__price {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--purple);
  margin-bottom: 12px;
}

.offer-card p {
  font-size: 0.93rem;
  flex: 1;
}

.offer-card .btn {
  margin-top: 20px;
  align-self: flex-start;
}

/* --- Numbered Steps / Journey --- */
.steps {
  display: flex;
  gap: 0;
  align-items: flex-start;
  counter-reset: steps;
}

.step {
  flex: 1;
  text-align: center;
  padding: 0 16px;
  position: relative;
}

.step::after {
  content: '';
  position: absolute;
  top: 24px;
  right: -1px;
  width: 2px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}

.step:last-child::after { display: none; }

.step__num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--purple);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.step h4 {
  color: var(--purple);
  margin-bottom: 4px;
  font-size: 0.98rem;
}

.step__price {
  font-weight: 700;
  color: var(--gold);
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.step p {
  font-size: 0.88rem;
  color: var(--dark-gray);
}

/* --- Section Headings --- */
.section-heading {
  text-align: center;
  margin-bottom: 52px;
}

.section-heading h2 {
  color: var(--purple);
  margin-bottom: 12px;
}

.section-heading p {
  max-width: 580px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.section--purple .section-heading h2 {
  color: var(--white);
}

/* --- Gold Banner CTA --- */
.banner-cta {
  background-color: var(--gold);
  padding: 60px 0;
  text-align: center;
}

.banner-cta h2 {
  color: var(--white);
  margin-bottom: 12px;
}

.banner-cta p {
  color: var(--white);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto 28px;
}

/* --- Check List --- */
.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.check-list li {
  padding: 10px 0 10px 32px;
  position: relative;
  font-size: 0.97rem;
  color: var(--dark-gray);
  border-bottom: 1px solid rgba(75,0,130,0.07);
}

.check-list li:last-child { border-bottom: none; }

.check-list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
  font-size: 1rem;
}

/* --- Pricing Table --- */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
}

.pricing-table th {
  background-color: var(--purple);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 14px 20px;
  text-align: left;
}

.pricing-table td {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(75,0,130,0.1);
  font-size: 0.97rem;
  color: var(--charcoal);
}

.pricing-table tr:last-child td { border-bottom: none; }

.pricing-table tr:nth-child(even) td {
  background-color: var(--lavender);
}

.pricing-table .price-cell {
  font-weight: 700;
  color: var(--purple);
}

/* --- Bundle Cards --- */
.bundle-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 16px;
}

.bundle-card {
  background: var(--purple);
  color: var(--white);
  border-radius: 8px;
  padding: 32px 28px;
  text-align: center;
}

.bundle-card h3 { color: var(--white); margin-bottom: 6px; }

.bundle-card__price {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
  margin: 8px 0 4px;
}

.bundle-card__savings {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
}

/* --- Contact / Form --- */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid rgba(75,0,130,0.25);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.97rem;
  color: var(--charcoal);
  background-color: var(--white);
  transition: border-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234B0082' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(75,0,130,0.1);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-note {
  font-size: 0.82rem;
  color: var(--dark-gray);
  opacity: 0.75;
  text-align: center;
  margin-top: 12px;
  line-height: 1.5;
}

/* Booking placeholder */
.booking-placeholder {
  background-color: var(--lavender);
  border: 2px dashed rgba(75,0,130,0.25);
  border-radius: 8px;
  padding: 60px 24px;
  text-align: center;
  color: var(--dark-gray);
  font-size: 0.95rem;
}

.booking-placeholder p { color: var(--dark-gray); }

/* --- Two-column layout --- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

/* --- Footer --- */
.footer {
  background-color: var(--purple);
  color: var(--white);
  padding: 60px 0 32px;
}

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

.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.footer__wordmark {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
  margin-bottom: 8px;
}

.footer__email {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
}

.footer__email a {
  color: var(--gold);
  transition: opacity 0.2s;
}

.footer__email a:hover { opacity: 0.75; }

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  align-items: center;
}

.footer__nav a {
  color: rgba(255,255,255,0.75);
  font-size: 0.88rem;
  transition: color 0.2s;
}

.footer__nav a:hover { color: var(--white); }

.footer__scripture {
  text-align: center;
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,0.15);
  border-bottom: 1px solid rgba(255,255,255,0.15);
  margin-bottom: 24px;
  font-family: var(--font-heading);
  font-style: italic;
  color: var(--gold);
  font-size: 0.92rem;
  line-height: 1.6;
}

.footer__copy {
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}

/* --- Divider --- */
.divider {
  border: none;
  border-top: 1px solid rgba(75,0,130,0.12);
  margin: 0;
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }

  .card-grid--3 { grid-template-columns: 1fr; }
  .card-grid--2 { grid-template-columns: 1fr; }

  .steps {
    flex-direction: column;
    gap: 24px;
  }

  .step::after { display: none; }
  .step { text-align: left; display: flex; gap: 16px; align-items: flex-start; }
  .step__num { flex-shrink: 0; margin: 0; }
  .step__content { flex: 1; }

  .two-col { grid-template-columns: 1fr; gap: 40px; }

  .bundle-grid { grid-template-columns: 1fr; }

  .footer__top { flex-direction: column; gap: 28px; }
  .footer__nav { gap: 10px 20px; }
}

@media (max-width: 600px) {
  .section { padding: 56px 0; }
  .hero { padding: 72px 0 56px; }
  .hero__ctas { flex-direction: column; align-items: center; }
  .hero__ctas .btn { width: 100%; max-width: 340px; }
  .section-heading { margin-bottom: 36px; }
  .offer-card .btn { align-self: stretch; text-align: center; }
}
