/* Best Is Life -- shared stylesheet */

:root {
  --purple-deep: #4a2c5e;
  --purple: #6b3f8c;
  --purple-light: #9c6bb8;
  --lavender: #f3ecf7;
  --green-accent: #8fb339;
  --blue-accent: #393b91;
  --cream: #faf7fb;
  --text-dark: #2e2233;
  --text-muted: #6b5f72;
  --white: #ffffff;
  --pink-light: #f3c9dc;
  --radius: 10px;
  --shadow: 0 4px 20px rgba(74, 44, 94, 0.08);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.65;
}

h1, h2, h3, h4 {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-weight: 700;
  color: var(--purple-deep);
  line-height: 1.25;
  margin: 0 0 0.6em;
}

h1 { font-size: 2.6rem; }
h2 { font-size: 1.9rem; }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; }

a { color: var(--purple); text-decoration: none; }
a:hover { color: var(--purple-deep); }

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
header.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid #eee2f0;
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.97);
  z-index: 100;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--purple-deep);
}
.brand img { height: 44px; width: auto; }

nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
}
nav.main-nav a { color: var(--text-dark); }
nav.main-nav a.active { color: var(--purple); }
nav.main-nav a:hover { color: var(--blue-accent); }
nav.main-nav a.active:hover { color: var(--purple); }

.btn {
  display: inline-block;
  background: var(--purple);
  color: var(--white) !important;
  padding: 12px 26px;
  border-radius: 30px;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.btn:hover { background: var(--purple-deep); }
.btn-outline {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white) !important;
}
.btn-outline:hover { background: rgba(255,255,255,0.15); }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--purple-deep), var(--purple));
  color: var(--white);
  padding: 90px 24px;
  text-align: center;
}
.hero.hero-compact { padding: 50px 24px; }
.hero.hero-compact p:last-child { margin-bottom: 0; }
.hero h1, .hero p { color: var(--white); }
.hero .subtitle {
  color: var(--green-accent);
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 1rem;
  margin-bottom: 1em;
}
.hero-inner { max-width: 760px; margin: 0 auto; }

.hero-flex {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  max-width: 1240px;
  margin: 0 auto;
}
.hero-photo, .hero-badge { flex: none; width: 170px; height: auto; }
@media (max-width: 900px) {
  .hero-flex { flex-direction: column; }
  .hero-photo, .hero-badge { width: 140px; }
}


/* Sections */
section { padding: 70px 24px; }
section.alt { background: var(--lavender); }
.eyebrow {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue-accent);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 0.5em;
}

.grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
}
.grid > .card {
  flex: 0 0 calc((100% - 56px) / 3);
}
@media (max-width: 760px) {
  .grid > .card { flex: 0 0 100%; }
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  border: 1px solid #f0e7f4;
}

.grid-gradient .card {
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.grid-gradient .card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(74, 44, 94, 0.18);
}
.grid-gradient .card:nth-child(odd) {
  background: linear-gradient(135deg, #cbb3e0 0%, var(--lavender) 100%);
}
.grid-gradient .card:nth-child(even) {
  background: linear-gradient(135deg, var(--lavender) 0%, #cbb3e0 100%);
}

.badges {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 16px;
  justify-content: center;
  margin-top: 1.5em;
  margin-bottom: 0;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  padding: 0;
}
.badge {
  display: flex;
  align-items: center;
  background: var(--lavender);
  color: var(--blue-accent);
  border-radius: 24px;
  padding: 16px 26px;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  text-align: left;
}
.badge::before {
  content: '\2022';
  margin-right: 8px;
  color: var(--blue-accent);
  font-weight: bold;
}
.badge-centered {
  grid-column: 1 / -1;
  justify-self: center;
}
@media (max-width: 760px) {
  .badges { grid-template-columns: 1fr; max-width: 320px; }
  .badge-centered { justify-self: start; }
}

.steps { counter-reset: step; }
.step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 28px;
}
.step-num {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--purple);
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-weight: 700;
}

.quote-card {
  background: var(--white);
  border-left: 4px solid var(--green-accent);
  padding: 24px 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.quote-card cite {
  display: block;
  margin-top: 12px;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-style: normal;
  font-weight: 700;
  color: var(--purple);
}

.list-check { list-style: none; padding: 0; margin: 1em 0; }
.list-check li {
  padding-left: 28px;
  position: relative;
  margin-bottom: 10px;
}
.list-check li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green-accent);
  font-weight: bold;
}

.credential-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin-top: 1.5em;
}
.credential-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow);
  border: 1px solid #f0e7f4;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.credential-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(74, 44, 94, 0.14);
}
.credential-card-wide {
  grid-column: 1 / -1;
  max-width: 500px;
  margin: 0 auto;
}
.credential-check {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--lavender);
  color: var(--green-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}
@media (max-width: 760px) {
  .credential-card-wide { max-width: none; margin: 0; }
}

form.contact-form {
  display: grid;
  gap: 16px;
  max-width: 560px;
}
form.contact-form label {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 6px;
}
form.contact-form input,
form.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddc9e5;
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
}
form.contact-form textarea { min-height: 120px; resize: vertical; }

.heading-accent {
  color: var(--blue-accent);
  font-size: 1.9rem;
}

.contact-map {
  width: 100%;
  height: 220px;
  border: 0;
  border-radius: var(--radius);
  margin: 1em 0;
  box-shadow: var(--shadow);
  display: block;
}

.mailing-list-form {
  max-width: none;
  gap: 12px;
}

.cta-band {
  background: var(--purple-deep);
  color: var(--white);
  text-align: center;
  padding: 70px 24px;
}
.cta-band h2, .cta-band p { color: var(--white); }

footer.site-footer {
  background: var(--lavender);
  color: var(--purple-deep);
  padding: 50px 24px 0;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.9rem;
}
footer.site-footer .container {
  display: grid;
  grid-template-columns: 1.1fr 0.95fr 0.95fr;
  gap: 64px;
}
footer.site-footer h4 { color: var(--blue-accent); }
footer.site-footer a { color: var(--purple-deep); }
footer.site-footer a:hover { color: var(--purple); }
@media (max-width: 760px) {
  footer.site-footer .container { gap: 30px; }
}
.footer-bottom {
  margin-top: 30px;
  padding: 20px 24px;
  background: var(--purple-deep);
  font-size: 0.8rem;
  color: var(--pink-light);
}
.footer-bottom .container {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-certs { height: 42px; width: auto; flex: none; }
@media (max-width: 760px) {
  .footer-bottom .container { justify-content: center; text-align: center; }
}

.img-cover {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.img-portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.photo-lower {
  display: flex;
  flex-direction: column;
}
.photo-lower .img-portrait {
  margin-top: 30px;
  height: auto;
  min-height: 0;
  flex: 1 1 0;
}

.photo-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.photo-column .img-portrait {
  height: auto;
  min-height: 0;
  flex: none;
  object-fit: contain;
  max-width: 340px;
}

.justified-text {
  text-align: justify;
  text-align-last: left;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.two-col.two-col-stretch { align-items: stretch; }
.two-col.two-col-top { align-items: flex-start; }
@media (max-width: 760px) {
  .two-col { grid-template-columns: 1fr; }
  h1 { font-size: 2rem; }
  footer.site-footer .container { grid-template-columns: 1fr; }
}

.float-badge {
  float: right;
  width: 190px;
  height: auto;
  margin: 4px 0 20px 28px;
}
.clear-float { clear: both; }
.list-check.list-check-flush { margin: 0; }
@media (max-width: 760px) {
  .float-badge { float: none; display: block; margin: 0 auto 20px; }
}

.badge-pair {
  display: flex;
  gap: 24px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.badge-seal {
  width: 180px;
  height: auto;
}

.img-natural {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: var(--shadow);
  display: block;
}

.section-banner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.calendar-frame {
  width: 100%;
  height: 600px;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: block;
}

.calendar-note {
  background: var(--lavender);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 18px;
}

/* Contact form success/error banners */
.form-banner {
  padding: 14px 20px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  font-weight: 600;
  font-size: 0.95rem;
}
.form-banner-success {
  background: #e7f3df;
  color: #3c6b1f;
  border: 1px solid #c8e3b0;
}
.form-banner-error {
  background: #fbe4e4;
  color: #8a2a2a;
  border: 1px solid #f0b8b8;
}

/* Honeypot field -- hidden from real visitors, left for bots to fill in */
.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Mobile hamburger navigation */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--purple-deep);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 760px) {
  header.site-header > .btn { display: none; }
  .nav-toggle { display: flex; }

  nav.main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow);
    border-top: 1px solid #eee2f0;
  }
  nav.main-nav.open { display: block; }
  nav.main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 8px 24px 18px;
  }
  nav.main-nav ul li {
    border-bottom: 1px solid #f0e7f4;
  }
  nav.main-nav ul li:last-child { border-bottom: none; }
  nav.main-nav ul li a {
    display: block;
    padding: 14px 0;
  }
}
