/* Bourday Blog Studio — inner page layouts (services, pricing, about, contact, legal) */

/* ---- Shared page top ------------------------------------------------- */
.bb-page-hero { position: relative; overflow: hidden; padding: 92px 0 72px; text-align: center; }
.bb-page-hero::before {
  content: '';
  position: absolute;
  top: -220px; left: 50%;
  width: 1000px; height: 700px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(91, 81, 202, .12), transparent 70%);
  pointer-events: none;
}
.bb-page-hero > .bb-shell { position: relative; z-index: 1; }
.bb-page-hero .bb-eyebrow { justify-content: center; }
.bb-page-hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); max-width: 18ch; margin-inline: auto; }
.bb-page-hero > .bb-shell > p { max-width: 62ch; margin: 0 auto; font-size: 1.08rem; }
.bb-page-hero .bb-actions { justify-content: center; margin-top: 32px; }

/* Breadcrumb pill above the title */
.bb-trail {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 26px;
  padding: 8px 18px;
  border-radius: var(--bb-r-pill);
  border: 1px solid var(--bb-line);
  background: var(--bb-white);
  box-shadow: var(--bb-shadow-sm);
  font-size: .84rem;
  font-weight: 500;
  color: var(--bb-ink);
}
.bb-trail a { color: var(--bb-muted); }
.bb-trail a:hover { color: var(--bb-ink); }
.bb-trail span { color: var(--bb-line); }

.bb-page-hero-left { text-align: left; }
.bb-page-hero-left .bb-eyebrow { justify-content: flex-start; }
.bb-page-hero-left h1 { margin-inline: 0; }
.bb-page-hero-left .bb-actions { justify-content: flex-start; }

/* ---- About ----------------------------------------------------------- */
.bb-about-hero-grid { display: grid; grid-template-columns: 1.25fr .85fr; gap: 56px; align-items: center; text-align: left; }
.bb-about-hero-grid .bb-eyebrow { justify-content: flex-start; }
.bb-about-hero-grid h1 { margin-inline: 0; max-width: 16ch; }
.bb-about-hero-grid p { max-width: 52ch; }
.bb-about-hero-grid .bb-actions { justify-content: flex-start; }

.bb-owner-card { padding: 34px 32px; text-align: left; }
.bb-owner-avatar {
  width: 60px; height: 60px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--bb-violet);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.bb-owner-card strong { display: block; font-size: 1.15rem; color: var(--bb-ink); }
.bb-owner-role { display: block; font-size: .88rem; color: var(--bb-muted); margin-bottom: 18px; }
.bb-owner-card p { font-size: .94rem; margin: 0; }

.bb-about-story { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.bb-about-story .bb-card { padding: 38px 36px; }
.bb-about-story h2 { font-size: 1.6rem; margin-bottom: 14px; }
.bb-about-story p { font-size: .97rem; }
.bb-about-steps { list-style: none; margin: 0; padding: 0; counter-reset: bb-step; }
.bb-about-steps li {
  position: relative;
  padding: 16px 0 16px 46px;
  border-bottom: 1px solid var(--bb-line-soft);
  counter-increment: bb-step;
}
.bb-about-steps li:last-child { border-bottom: 0; padding-bottom: 0; }
.bb-about-steps li::before {
  content: counter(bb-step, decimal-leading-zero);
  position: absolute; left: 0; top: 18px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--bb-violet);
}
.bb-about-steps strong { display: block; font-size: 1rem; margin-bottom: 3px; }
.bb-about-steps span { font-size: .92rem; color: var(--bb-body); line-height: 1.5; }

.bb-business-band { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
.bb-business-band h2 { max-width: 16ch; }
.bb-business-band > div > p { max-width: 50ch; margin-bottom: 0; }

/* Shared registered-business card (about + contact) */
.bb-business-card { padding: 34px 32px; }
.bb-side-label {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--bb-muted);
  margin-bottom: 18px;
}
.bb-business-card strong { display: block; font-size: 1.12rem; color: var(--bb-ink); margin-bottom: 4px; }
.bb-business-card .bb-business-owner { display: block; font-size: .9rem; color: var(--bb-muted); margin-bottom: 18px; }
.bb-business-card p { font-size: .93rem; line-height: 1.65; margin-bottom: 14px; }
.bb-business-card p:last-child { margin-bottom: 0; }
.bb-business-card a { color: var(--bb-violet); font-weight: 500; }
.bb-business-card a:hover { text-decoration: underline; }

/* ---- Contact --------------------------------------------------------- */
.bb-contact-hero-grid { display: grid; grid-template-columns: 1.4fr .9fr; gap: 48px; align-items: center; text-align: left; }
.bb-contact-hero-grid .bb-eyebrow { justify-content: flex-start; }
.bb-contact-hero-grid h1 { margin-inline: 0; }
.bb-contact-hero-grid > div > p { max-width: 52ch; }
.bb-contact-promise { padding: 30px 32px; }
.bb-contact-promise strong { display: block; font-size: 1.1rem; color: var(--bb-ink); margin-bottom: 6px; }
.bb-contact-promise p { font-size: .93rem; margin: 0; }
.bb-contact-promise a { color: var(--bb-violet); font-weight: 600; }

.bb-contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 36px; align-items: start; }
.bb-contact-form-wrap { padding: 44px 42px; }
.bb-contact-form-wrap .bb-section-head { margin-bottom: 32px; max-width: 100%; }
.bb-contact-form-wrap .bb-section-head h2 { font-size: 1.7rem; }
.bb-contact-form-wrap .bb-section-head p { font-size: .97rem; }
.bb-contact-side { display: grid; gap: 20px; }
.bb-contact-steps { padding: 34px 32px; }
.bb-contact-steps ol { list-style: none; margin: 0; padding: 0; counter-reset: bb-cstep; }
.bb-contact-steps li { position: relative; padding: 12px 0 12px 44px; counter-increment: bb-cstep; }
.bb-contact-steps li::before {
  content: counter(bb-cstep, decimal-leading-zero);
  position: absolute; left: 0; top: 14px;
  font-size: .78rem;
  font-weight: 700;
  color: var(--bb-violet);
}
.bb-contact-steps strong { display: block; font-size: .98rem; }
.bb-contact-steps span { font-size: .9rem; color: var(--bb-body); line-height: 1.5; }

/* Contact Form 7 */
.bb-contact-form-wrap form label {
  display: block;
  font-size: .86rem;
  font-weight: 700;
  color: var(--bb-ink);
  letter-spacing: -0.005em;
  margin-bottom: 18px;
}
.bb-contact-form-wrap input[type="text"],
.bb-contact-form-wrap input[type="email"],
.bb-contact-form-wrap input[type="url"],
.bb-contact-form-wrap input[type="tel"],
.bb-contact-form-wrap select,
.bb-contact-form-wrap textarea {
  width: 100%;
  margin-top: 8px;
  padding: 13px 16px;
  font: inherit;
  font-size: .95rem;
  font-weight: 400;
  color: var(--bb-ink);
  background: var(--bb-paper);
  border: 1px solid var(--bb-line);
  border-radius: var(--bb-r-sm);
  transition: border-color .2s var(--bb-ease), box-shadow .2s var(--bb-ease), background .2s var(--bb-ease);
}
.bb-contact-form-wrap ::placeholder { color: var(--bb-muted); opacity: 1; }
.bb-contact-form-wrap textarea { min-height: 150px; resize: vertical; }
.bb-contact-form-wrap input:focus,
.bb-contact-form-wrap select:focus,
.bb-contact-form-wrap textarea:focus {
  outline: none;
  background: var(--bb-white);
  border-color: var(--bb-violet);
  box-shadow: 0 0 0 3px rgba(91, 81, 202, .16);
}
.bb-contact-form-wrap input[type="submit"] {
  width: auto;
  margin-top: 10px;
  padding: 15px 32px;
  font-family: var(--bb-font);
  font-size: .97rem;
  font-weight: 600;
  color: #fff;
  background: var(--bb-violet);
  border: 0;
  border-radius: var(--bb-r-pill);
  cursor: pointer;
  transition: background .2s var(--bb-ease), transform .25s var(--bb-ease), box-shadow .25s var(--bb-ease);
}
.bb-contact-form-wrap input[type="submit"]:hover { background: var(--bb-violet-deep); transform: translateY(-2px); box-shadow: var(--bb-shadow-md); }
.bb-contact-form-wrap .wpcf7-spinner { margin-left: 12px; }
.bb-contact-form-wrap .wpcf7-not-valid-tip { color: #C0392B; font-size: .82rem; font-weight: 500; margin-top: 6px; }
.bb-contact-form-wrap .wpcf7-response-output {
  margin: 20px 0 0 !important;
  padding: 14px 18px !important;
  border: 1px solid var(--bb-line) !important;
  border-radius: var(--bb-r-sm);
  font-size: .92rem;
  color: var(--bb-ink);
  background: var(--bb-paper);
}

/* ---- Legal / prose --------------------------------------------------- */
.bb-prose { max-width: 760px; margin-inline: auto; }
.bb-prose h2 { font-size: 1.4rem; margin: 40px 0 14px; }
.bb-prose h2:first-child { margin-top: 0; }
.bb-prose h3 { font-size: 1.1rem; margin: 28px 0 10px; }
.bb-prose p { margin-bottom: 18px; }
.bb-prose a { color: var(--bb-violet); font-weight: 500; }
.bb-prose a:hover { text-decoration: underline; }
.bb-prose ul, .bb-prose ol { margin: 0 0 20px; padding-left: 22px; }
.bb-prose li { margin-bottom: 9px; line-height: 1.6; }
.bb-prose strong { color: var(--bb-ink); }

/* ---- 404 ------------------------------------------------------------- */
/* Outranks the generic .bb-page-hero .bb-shell p sizing */
.bb-page-hero .bb-shell p.bb-404-code {
  font-size: clamp(4.5rem, 14vw, 9rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--bb-ink);
  max-width: none;
  margin: 0 0 8px;
}
.bb-404-code .bb-em { font-size: .95em; }

@media (max-width: 1000px) {
  .bb-about-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .bb-contact-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .bb-contact-grid { grid-template-columns: 1fr; }
  .bb-business-band { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 900px) {
  .bb-about-story { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .bb-page-hero { padding: 64px 0 52px; }
  .bb-contact-form-wrap { padding: 32px 24px; }
  .bb-about-story .bb-card,
  .bb-business-card,
  .bb-owner-card,
  .bb-contact-steps,
  .bb-contact-promise { padding: 28px 24px; }
}
