/* Book Online page. Shared nav, buttons and footer live in site.css. */

.book-page {
  padding: calc(var(--nav-h) + 64px) 32px 100px;
}

.book-shell {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}

.book-info {
  position: sticky;
  top: calc(var(--nav-h) + 32px);
}

.book-info h1 {
  font-size: clamp(2.4rem, 4.6vw, 4rem);
  margin-bottom: 28px;
}

.book-switch {
  display: inline-flex;
  padding: 6px;
  gap: 6px;
  background: var(--white);
  border: 1px solid rgba(28, 53, 83, 0.12);
  border-radius: 999px;
  margin-bottom: 28px;
}

.book-switch a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-family: var(--display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.book-switch a span {
  font-weight: 900;
  color: var(--red);
}

.book-switch a:hover {
  background: rgba(28, 53, 83, 0.06);
}

.book-switch a[aria-current="page"] {
  background: var(--navy);
  color: var(--white);
}

.book-switch a[aria-current="page"] span {
  color: #F08A8A;
}

.book-lead {
  font-size: 1.12rem;
  line-height: 1.7;
  color: var(--gray-500);
  margin-bottom: 22px;
}

.book-points {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-bottom: 30px;
}

.book-points li {
  position: relative;
  padding-left: 32px;
  font-size: 1.02rem;
  color: var(--gray-800);
}

.book-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--red-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239B2C2C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.book-points strong {
  color: var(--navy);
}

.book-alt {
  padding-top: 22px;
  border-top: 1px solid rgba(28, 53, 83, 0.12);
  color: var(--gray-500);
}

.book-alt a {
  color: var(--navy);
  font-weight: 700;
  white-space: nowrap;
}

.book-form {
  min-height: 320px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(28, 53, 83, 0.06);
  padding: 16px;
  position: relative;
}

.book-privacy {
  margin: 14px 10px 4px;
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--gray-500);
  text-align: center;
}

.book-privacy a {
  color: var(--navy);
  font-weight: 600;
}

.book-form .jobber-inline-work-request {
  max-width: none;
}

.book-form iframe.jobber-work-request {
  max-width: none;
}

@media (max-width: 960px) {
  .book-page {
    padding: calc(var(--nav-h) + 40px) 18px 72px;
  }

  .book-shell {
    grid-template-columns: 1fr;
  }

  .book-info {
    position: static;
  }

  .book-form {
    padding: 6px;
  }
}

@media (max-width: 420px) {
  .book-switch {
    display: flex;
  }

  .book-switch a {
    flex: 1;
    justify-content: center;
    padding: 12px 10px;
  }
}

@media (max-width: 560px) {
  .book-info h1 {
    font-size: 2rem;
    margin-bottom: 20px;
  }

  .book-switch {
    margin-bottom: 20px;
  }

  .book-lead {
    font-size: 1rem;
    margin-bottom: 16px;
  }

  .book-points li {
    font-size: 0.95rem;
  }
}
