/* Booking system: the three R's pricing boxes, the inline CTA link, and
   the modal that hosts the Google Appointment Schedule embed. */

/* ============ Pricing CTA link (above the three boxes) ============ */
.pricing-cta-row {
  max-width: 1180px;
  margin: 50px auto 22px;
  padding: 0 24px;
  text-align: center;
}
.pricing-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--c-problem-1);
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 2px solid currentColor;
  transition: color .15s ease, transform .15s ease;
}
.pricing-cta-link:hover {
  color: var(--c-problem-2);
  transform: translateY(-1px);
}

/* ============ Three-R's pricing section ============ */
.pricing-section {
  max-width: 1180px;
  margin: 0 auto 60px;
  padding: 0 24px;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 880px) {
  .pricing-grid { grid-template-columns: 1fr; gap: 22px; }
}

.pricing-card {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-left-width: 4px;
  border-bottom-width: 4px;
  padding: 28px 26px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  box-shadow: -8px 8px 0 0 var(--ink);
  transition: transform 140ms ease, box-shadow 140ms ease;
}
.pricing-card:hover {
  transform: translate(-2px, 2px);
  box-shadow: -4px 4px 0 0 var(--ink);
}

.pricing-title {
  font-family: 'Fraunces', serif;
  font-weight: 800;
  font-size: 1.65rem;
  letter-spacing: -.02em;
  line-height: 1.05;
  margin: 0;
  color: var(--ink);
}
.pricing-tagline {
  margin: -4px 0 0;
}
.pricing-tagline em {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--c-problem-1);
  line-height: 1.35;
}
.pricing-body {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
  margin: 0;
}
.pricing-body strong { font-weight: 700; color: var(--c-problem-1); }
.pricing-body em {
  font-style: italic;
  font-family: 'Fraunces', serif;
  color: var(--c-problem-1);
  font-weight: 500;
}

.pricing-extra {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-soft);
  padding: 12px 14px;
  background: rgba(62, 138, 108, .08);
  border-left: 3px solid var(--c-solution-1);
  margin: 4px 0 0;
}
.pricing-extra strong { color: var(--ink); font-weight: 700; }

.pricing-cta {
  margin-top: auto;
  padding-top: 6px;
}
.pricing-cta a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--paper);
  background: var(--c-problem-1);
  padding: 10px 16px;
  text-decoration: none;
  transition: filter 120ms ease, transform 120ms ease;
}
.pricing-cta a:hover {
  filter: brightness(.92);
  transform: translateY(-1px);
}
.pricing-card--recovery   .pricing-cta a { background: var(--c-solution-1); }
.pricing-card--resilience .pricing-cta a { background: var(--c-strategy-1); }

/* ============ /book standalone page ============ */
.page-book .book-intro {
  position: relative;
  width: 50%;
  max-width: 580px;
  margin: 0 0 30px;
  padding: 8px 0 8px 20px;
  border-left: 3px solid var(--c-problem-1);
  font-family: var(--font-sans);
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--ink-soft);
}
.page-book .book-intro::before {
  content: "Hi.";
  display: block;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--c-problem-1);
  letter-spacing: -.01em;
  margin-bottom: 6px;
}
.page-book .book-intro strong { color: var(--ink); font-weight: 600; }
.page-book .book-intro em {
  font-family: 'Fraunces', serif;
  font-style: italic;
  color: var(--c-problem-1);
  font-weight: 500;
}
@media (max-width: 720px) {
  .page-book .book-intro { width: auto; max-width: none; }
}

.page-book .page-hero h1,
.page-book .page-hero .tagline {
  max-width: none;
}
.page-book .page-hero h1 { white-space: nowrap; }
@media (max-width: 720px) {
  .page-book .page-hero h1 { white-space: normal; }
}

.book-frame-section {
  padding: 32px 0 16px;
}
.book-frame {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 14px 32px -22px rgba(26,28,36,.4);
}
.book-frame iframe {
  width: 100%;
  height: 720px;
  border: 0;
  display: block;
  background: #fff;
}
.book-fallback-note {
  text-align: center;
  margin: 18px 0 0;
  font-size: .9rem;
  color: var(--ink-soft);
}
.book-fallback-note a { color: var(--c-problem-1); font-weight: 500; }

.book-reminder {
  padding: 48px 0 16px;
}
.book-reminder-heading {
  font-family: 'Fraunces', serif;
  font-weight: 800;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  letter-spacing: -.01em;
  margin: 0 0 22px;
  color: var(--ink);
}
.book-reminder-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 880px) {
  .book-reminder-grid { grid-template-columns: 1fr; gap: 18px; }
}
.book-reminder-card {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-left-width: 4px;
  border-bottom-width: 4px;
  padding: 22px 22px 20px;
  box-shadow: -6px 6px 0 0 var(--ink);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.book-reminder-card h3 {
  font-family: 'Fraunces', serif;
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -.01em;
  margin: 0;
  color: var(--ink);
}
.book-reminder-card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink);
}
.book-reminder-card p em {
  font-family: 'Fraunces', serif;
  font-style: italic;
  color: var(--c-problem-1);
  font-weight: 500;
}
.book-reminder-card--recovery   p em { color: var(--c-solution-1); }
.book-reminder-card--resilience p em { color: var(--c-strategy-1); }

.book-reminder-link {
  margin: 28px 0 0;
  text-align: right;
}
.book-reminder-link a {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1rem;
  color: var(--c-problem-1);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}
.book-reminder-link a:hover { color: var(--c-problem-2); }

/* On mobile the Google scheduling UI stacks vertically (date picker +
   time slots below + multi-step form) which is taller than the viewport.
   Give the iframe enough height that the entire flow fits without nested
   scroll - the user scrolls the page instead. */
@media (max-width: 640px) {
  .book-frame { border-radius: 0; border-left: 0; border-right: 0; }
  .book-frame iframe { height: 1500px; }
}
@media (max-width: 380px) {
  .book-frame iframe { height: 1700px; }
}
