/* =========================
   Base reset and typography
   ========================= */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Inter', sans-serif;
  background-color: #f9f9fb;
  color: #222;
  line-height: 1.65;
  padding: 1rem;
}

/* =========================
   Header
   ========================= */
header {
  background: linear-gradient(to right, #2c3e50, #2980b9);
  color: #fff;
  padding: 2rem 1rem;
  text-align: center;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

header h1 { font-size: 2.5rem; font-weight: 600; }
header p  { font-size: 1.2rem; opacity: 0.9; margin-top: 0.3rem; }

/* =========================
   Navigation
   ========================= */
/* Desktop/tablet: keep your original inline nav with literal "|" separators */
nav {
  margin-top: 1rem;
  font-size: 1rem;
  text-align: center;            /* centers inline links + the "|" text nodes */
}

nav a {
  color: #e0f7fa;
  text-decoration: none;
  margin: 0 0.5rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

nav a:hover { color: #ffffff; text-decoration: underline; }

/* Keyboard focus (accessibility) */
a:focus-visible,
button:focus-visible,
.btn:focus-visible {
  outline: 3px solid #ffbf47;
  outline-offset: 2px;
}

/* =========================
   Main layout & sections
   ========================= */
main.content-wrapper {
  max-width: 800px;
  margin: 3rem auto;
  padding: 0 1rem;
}

section {
  background: #fff;
  padding: 2rem;
  margin-bottom: 2.5rem;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Headings */
h2, h3 { color: #2c3e50; margin-bottom: 1rem; font-weight: 600; }

/* Paragraphs & lists */
p { margin-bottom: 1rem; }
ul, ol { padding-left: 1.5rem; margin-top: 1rem; }
li { margin-bottom: 0.5rem; }

/* =========================
   Blockquotes (Testimonials)
   ========================= */
blockquote {
  background-color: #f0f8ff;
  border-left: 4px solid #2980b9;
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  font-style: italic;
  border-radius: 8px;
}

.attribution {
  display: block;
  margin-top: 0.5rem;
  font-style: normal;
  font-weight: 500;
  text-align: right;
  color: #2c3e50;
}

/* =========================
   Buttons (native and links)
   ========================= */
button {
  background-color: #2980b9;
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
button:hover { background-color: #2471a3; transform: translateY(-2px); }

.btn {
  display: inline-block;
  background-color: #2980b9;
  color: #fff;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.btn:hover { background-color: #2471a3; transform: translateY(-2px); }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .btn, button, nav a { transition: none; }
  .btn:hover, button:hover { transform: none; }
}

/* =========================
   Utilities
   ========================= */
.centered { text-align: center; }

/* For hidden headings (SEO + a11y) */
.visually-hidden {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* =========================
   Blog video wrapper
   ========================= */
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  margin-top: 1.5rem;
}
.video-wrapper iframe {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%; border: none;
}

/* =========================
   Calendly embed
   ========================= */
.calendly-inline-widget {
  border: none;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  margin-top: 1.5rem;
}

/* =========================
   Intro with photo
   ========================= */
.intro-section.with-photo {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
}

.intro-photo { flex: 0 0 auto; }
.intro-photo img {
  max-width: 200px; width: 100%; height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.intro-text { flex: 1; min-width: 250px; }

/* =========================
   Responsive
   ========================= */
@media (max-width: 700px) {
  .intro-section.with-photo {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .intro-text { text-align: left; }
  .intro-photo { margin-bottom: 1rem; }
}

@media (max-width: 768px) {
  header h1 { font-size: 2rem; }

  /* MOBILE NAV:
     - switch nav to a wrapping row
     - hide the literal "|" separators in your HTML
     - (optional) add neat dot separators via ::before
  */
  nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .35rem .6rem;
    font-size: 0;                  /* hides raw " | " text nodes on small screens */
  }
  nav a {
    font-size: 1rem;               /* restore font size for links */
    padding: 0 .25rem;
  }
  /* Optional: dot separators on mobile */
  nav a + a::before {
    content: "•";
    margin-right: .5rem;
    opacity: 0.85;
    font-size: 1rem;
  }

  button, .btn { width: 100%; }
  section { padding: 1.25rem; }
}

