/* ============================================================
   PUZZLE PEACE ADHD COACHING — Main Stylesheet
   Dyslexia-friendly: Nunito font, cream background,
   generous spacing, left-aligned text, 65ch line length
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

/* --- Variables --- */
:root {
  --bg:         #fff7d0;
  --bg-alt:     #ede4b8;
  --teal:       #91c0bc;
  --teal-dark:  #6aa8a4;
  --sage:       #bbd1b0;
  --sage-dark:  #9dba91;
  --text:       #284859;
  --text-muted: #3d6275;
  --off-white:  #e8f3f2;
  --max-width:  960px;
  --radius:     14px;
  --section-pad: 5rem;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* Images carry width/height attributes so they reserve space before loading.
   Those attributes also set a presentational height, which would otherwise
   beat any aspect-ratio; height:auto lets the ratio win while keeping the
   attributes doing their job. */
img { max-width: 100%; height: auto; }

body {
  font-family: 'Nunito', 'Segoe UI', Arial, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  font-size: 1.125rem;    /* 18px */
  line-height: 1.85;
  letter-spacing: 0.025em;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  line-height: 1.25;
  margin-bottom: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.05rem; font-weight: 700; }

p {
  margin-bottom: 1.5rem;
  max-width: 65ch;   /* optimal reading line length */
}
p:last-child { margin-bottom: 0; }

a { color: var(--teal-dark); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--text); }

ul, ol { padding-left: 1.75rem; margin-bottom: 1.5rem; }
li { margin-bottom: 0.6rem; line-height: 1.85; }
strong { font-weight: 700; }

/* --- Layout --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}
section { padding: var(--section-pad) 0; }

/* --- HEADER / NAV --- */
header {
  background: var(--bg);
  border-bottom: 3px solid var(--teal);
  position: sticky;
  top: 0;
  z-index: 200;
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.75rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  min-width: 0;   /* let the wordmark wrap instead of pushing the menu button off-screen */
}

.logo-link img { height: 60px; width: auto; display: block; }

.logo-text {
  min-width: 0;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.25;
  display: block; /* always visible alongside logo */
}

nav { display: flex; align-items: center; }

.nav-links {
  list-style: none;
  display: flex;
  gap: 0.25rem;
  padding: 0;
  margin: 0;
}

.nav-links a {
  display: block;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  border-bottom: 3px solid transparent;
  transition: background 0.15s;
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(145, 192, 188, 0.2);
  border-bottom-color: var(--teal);
  color: var(--text);
}

/* Hamburger */
.menu-toggle {
  display: none;
  flex-shrink: 0;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 2px solid var(--text);
  border-radius: 8px;
  padding: 0.45rem 0.6rem;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: var(--text);
  border-radius: 2px;
}

/* --- HERO --- */
.hero-logo {
  display: block;
  margin: 0 auto 2.5rem;
  max-width: 240px;
  width: 55%;
  height: auto;
  filter: drop-shadow(0 4px 16px rgba(40, 72, 89, 0.18));
}

.hero {
  background: var(--teal);
  padding: 5.5rem 2rem;
  text-align: center;
}
.hero-brand {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text);
  opacity: 0.7;
  margin: 0 auto 1rem;
  max-width: 100%;
}
.hero h1 {
  color: var(--text);
  font-size: 2.9rem;
  max-width: 700px;
  margin: 0 auto 1.25rem;
}
.hero p {
  color: var(--text);
  font-size: 1.2rem;
  max-width: 580px;
  margin: 0 auto 2.25rem;
  opacity: 0.9;
}

/* --- BUTTONS --- */
.btn {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  font-family: 'Nunito', sans-serif;
  text-decoration: none;
  cursor: pointer;
  border: none;
  letter-spacing: 0.04em;
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(40, 72, 89, 0.25);
  text-decoration: none;
}
.btn-dark  { background: var(--text); color: var(--bg); }
.btn-dark:hover { color: var(--bg); }
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 2.5px solid var(--text);
}
.btn-outline:hover { background: rgba(40, 72, 89, 0.08); color: var(--text); }
.btn-teal  { background: var(--teal); color: var(--text); }
.btn-sage  { background: var(--sage); color: var(--text); }

.btn-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* --- PAGE HEADER (inner pages) --- */
.page-header {
  background: var(--sage);
  padding: 4rem 2rem;
  text-align: center;
}
.page-header h1 { color: var(--text); }
.page-header p {
  color: var(--text);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0.5rem auto 0;
  opacity: 0.85;
}

/* --- SECTION BACKGROUNDS --- */
.section-sage { background: var(--sage); }
.section-teal { background: var(--teal); }
.section-alt  { background: var(--bg-alt); }

/* --- SECTION TITLE --- */
.section-title {
  text-align: center;
  margin-bottom: 3rem;
}
.section-title .rule {
  display: block;
  width: 60px;
  height: 4px;
  background: var(--teal);
  margin: 0.75rem auto 0;
  border-radius: 3px;
}
.section-sage .section-title .rule,
.section-teal .section-title .rule { background: var(--text); }

/* --- CARDS --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 1.75rem;
}
.card {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 2rem;
  border: 2px solid var(--sage);
}
.card-icon { font-size: 2.2rem; margin-bottom: 0.75rem; display: block; }
.card h3 { color: var(--teal-dark); margin-bottom: 0.75rem; }
.card p { margin-bottom: 0; max-width: 100%; }

/* --- TWO COLUMN --- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.photo-placeholder {
  width: 100%;
  aspect-ratio: 3 / 4;
  background: var(--sage);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0.65;
  border: 2px dashed var(--sage-dark);
  text-align: center;
  padding: 1rem;
}

/* --- STEPS (How it works) --- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  counter-reset: step;
}
.step {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 2rem;
  border: 2px solid var(--sage);
  position: relative;
  padding-top: 3.5rem;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -1rem;
  left: 1.5rem;
  width: 2rem;
  height: 2rem;
  background: var(--teal-dark);
  color: var(--bg);
  font-weight: 800;
  font-size: 1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step h3 { margin-bottom: 0.5rem; font-size: 1.1rem; }
.step p { margin-bottom: 0; max-width: 100%; font-size: 0.95rem; }

/* --- SERVICE BLOCKS --- */
.service-block {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 2.25rem 2.5rem;
  margin-bottom: 1.75rem;
  border-left: 5px solid var(--teal);
}
.service-block:last-child { margin-bottom: 0; }
.service-block h3 { color: var(--teal-dark); margin-bottom: 0.75rem; }
.service-block p, .service-block ul { max-width: 100%; }

/* --- PRICING GRID --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

/* --- PRICING BOX --- */
.pricing-box {
  background: var(--teal);
  border-radius: var(--radius);
  padding: 3rem 2rem;
  text-align: center;
  margin: 2rem 0;
}
.pricing-box .price {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
  margin: 0.5rem 0;
}
.pricing-box .price-label { font-size: 1rem; color: var(--text); opacity: 0.8; }
.pricing-box p { max-width: 100%; color: var(--text); margin-top: 0.75rem; opacity: 0.9; }
.pricing-box .btn { margin-top: 1.5rem; }

/* --- FAQ --- */
.faq-item {
  border-bottom: 2px solid var(--sage);
  padding: 1.5rem 0;
}
.faq-item:last-child { border-bottom: none; }
.faq-item h3 { font-size: 1.1rem; margin-bottom: 0.5rem; color: var(--teal-dark); }
.faq-item p { margin-bottom: 0; max-width: 100%; }

/* --- CTA BOX --- */
.cta-box {
  background: var(--teal);
  border-radius: var(--radius);
  padding: 4rem 2rem;
  text-align: center;
}
.cta-box h2 { color: var(--text); margin-bottom: 1rem; }
.cta-box p { color: var(--text); max-width: 520px; margin: 0 auto 2rem; opacity: 0.9; }

/* --- CONTACT --- */
.contact-method {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 2.5rem;
  border: 2px solid var(--sage);
  margin-bottom: 2rem;
}
.contact-method h3 { color: var(--teal-dark); margin-bottom: 0.5rem; }
.email-link {
  font-size: 1rem;
  font-weight: 700;
  display: inline-block;
  margin: 0.5rem 0 1rem;
  overflow-wrap: break-word;
  word-break: break-all;
}
.gdpr-box {
  background: var(--bg-alt);
  border-left: 5px solid var(--sage-dark);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.5rem 1.75rem;
  margin-top: 1.75rem;
}
.gdpr-box h4 { color: var(--text); margin-bottom: 0.5rem; }
.gdpr-box p {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 100%;
  margin-bottom: 0.4rem;
}

/* --- PRIVACY POLICY --- */
.policy-section {
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 2px solid var(--sage);
}
.policy-section:first-child { border-top: none; margin-top: 0; padding-top: 0; }
.policy-section h2 { font-size: 1.4rem; color: var(--teal-dark); }
.policy-section p,
.policy-section ul { max-width: 100%; }

/* --- FOOTER --- */
footer {
  background: var(--text);
  color: var(--bg);
  padding: 3.5rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 247, 208, 0.15);
}
.footer-brand-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--bg);
  display: block;
  margin-bottom: 0.75rem;
  text-decoration: none;
}
.footer-col p {
  color: var(--bg);
  opacity: 0.72;
  font-size: 0.9rem;
  max-width: 100%;
  margin-bottom: 0.5rem;
}
.footer-col h4 {
  color: var(--teal);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col a {
  color: var(--bg);
  text-decoration: none;
  opacity: 0.72;
  font-size: 0.9rem;
  transition: opacity 0.15s;
}
.footer-col a:hover { opacity: 1; text-decoration: underline; }

.reg-item { margin-bottom: 0.85rem; }
.reg-label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--bg);
  opacity: 0.5;
  margin-bottom: 0.1rem;
}
.reg-value {
  font-size: 0.9rem;
  color: var(--bg);
  font-weight: 600;
  opacity: 0.85;
}

.footer-bottom {
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.82rem;
  color: var(--bg);
  opacity: 0.5;
}
.footer-bottom a { color: var(--bg); opacity: 0.7; }
.footer-bottom a:hover { opacity: 1; }

/* --- NAV CTA BUTTON --- */
.nav-links .nav-cta {
  background: var(--text);
  color: var(--bg) !important;
  border-radius: 50px;
  padding: 0.45rem 1.1rem !important;
  border-bottom: none !important;
  margin-left: 0.5rem;
  transition: background 0.15s;
}
.nav-links .nav-cta:hover {
  background: var(--teal-dark);
  color: var(--bg) !important;
  border-bottom: none !important;
}

/* --- TESTIMONIALS --- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}
blockquote.testimonial {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 2.25rem 2rem 1.75rem;
  border: 2px solid var(--sage);
  position: relative;
}
blockquote.testimonial::before {
  content: '\201C';
  font-size: 4.5rem;
  line-height: 1;
  color: var(--teal);
  position: absolute;
  top: 0.25rem;
  left: 1.25rem;
  font-family: Georgia, serif;
  pointer-events: none;
}
blockquote.testimonial p {
  padding-top: 1.75rem;
  max-width: 100%;
  font-style: italic;
  margin-bottom: 1.25rem;
  line-height: 1.75;
}
blockquote.testimonial footer {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--teal-dark);
  font-style: normal;
}

/* --- WHAT COACHING IS NOT --- */
.not-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 1rem;
}
.not-col h3 {
  margin-bottom: 1.25rem;
  font-size: 1.1rem;
}
.not-col ul {
  list-style: none;
  padding: 0;
}
.not-col ul li {
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(40, 72, 89, 0.12);
  line-height: 1.6;
}
.not-col ul li:last-child { border-bottom: none; }
.not-col.is-col li::before   { content: '✓  '; color: var(--teal-dark); font-weight: 800; }
.not-col.not-col-x li::before { content: '✕  '; color: var(--text); opacity: 0.45; font-weight: 800; }

/* --- BENEFIT SECTION --- */
.benefit-content {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}
.benefit-intro {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
  max-width: 100%;
}
.benefit-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  text-align: left;
}
.benefit-list li {
  padding: 0.85rem 0;
  border-bottom: 2px solid rgba(40, 72, 89, 0.15);
  font-size: 1.05rem;
  margin-bottom: 0;
  line-height: 1.6;
}
.benefit-list li:last-child {
  border-bottom: none;
}
.benefit-closing {
  font-style: italic;
  opacity: 0.85;
  margin-bottom: 2rem;
  max-width: 100%;
}

/* --- SESSION WALKTHROUGH --- */
.session-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  counter-reset: session-step;
}
.session-step {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 1.25rem 1.1rem 1.25rem;
  border: 2px solid var(--sage);
  position: relative;
  padding-top: 3rem;
}
.session-step::before {
  counter-increment: session-step;
  content: counter(session-step);
  position: absolute;
  top: -1rem;
  left: 1.25rem;
  width: 2rem;
  height: 2rem;
  background: var(--teal-dark);
  color: var(--bg);
  font-weight: 800;
  font-size: 1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.session-step h3 { font-size: 1rem; margin-bottom: 0.4rem; }
.session-step .duration {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--teal-dark);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
  display: block;
}
.session-step p { font-size: 0.93rem; max-width: 100%; margin-bottom: 0; }

/* --- CALENDLY EMBED --- */
.calendly-container {
  background: var(--off-white);
  border-radius: var(--radius);
  border: 2px solid var(--sage);
  overflow: hidden;
  min-height: 660px;
}
.calendly-placeholder {
  padding: 3rem 2rem;
  text-align: center;
}
.calendly-placeholder p { max-width: 100%; }

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  :root { --section-pad: 3.5rem; }

  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.6rem; }
  .hero h1 { font-size: 2rem; }

  .menu-toggle { display: flex; }

  /* The mark-only logo is wider than it is tall, so trim its height here to
     keep the header footprint the same as the old square logo. */
  .logo-link img { height: 46px; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 3px solid var(--teal);
    flex-direction: column;
    padding: 1rem 2rem 1.5rem;
    gap: 0;
    box-shadow: 0 4px 16px rgba(40, 72, 89, 0.12);
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 0.7rem 0.5rem;
    border-bottom: 1px solid rgba(145, 192, 188, 0.35);
    border-radius: 0;
  }
  .nav-links a:last-child { border-bottom: none; }

  nav { position: relative; }
  header { position: relative; }

  .two-col { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .card-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .btn-group { flex-direction: column; align-items: center; }
  .not-grid { grid-template-columns: 1fr; gap: 0; }
  .session-steps { grid-template-columns: repeat(2, 1fr); }
  .session-steps .session-step:last-child:nth-child(odd) { grid-column: 1 / -1; max-width: 50%; margin: 0 auto; width: 100%; }
}
