/* BTS Content Coverage page. Copies the client's Canva page (decision #30).
   Sizes measured on Canva's 1440px-wide page; the phone layout follows Canva's phone page.
   Shared header, footer, fonts, colors and the video sound button: ../shared/site.css */

/* "Sample Works" heading: a small teal label between two thin lines, then the line in the serif font
   (option A, client's choice 2026-11-19; matches "SEE ME IN ACTION / Hosting Portfolio" on the Hosting page). */
.b-title { display: flex; align-items: center; justify-content: center; gap: 14px; color: var(--teal); font-size: 14px; line-height: 18px; font-weight: 700; letter-spacing: 0.22em; text-align: center; }
.b-title::before, .b-title::after { content: ''; width: 56px; height: 1.5px; background: currentColor; opacity: 0.6; }
.b-sub { margin-top: 8px; font-family: var(--serif); color: var(--deep); font-size: 28px; line-height: 34px; text-align: center; text-wrap: balance; }
.b-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 20px;
  border-radius: 6px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap;
}

/* ---------- 1. Top ---------- */
.b-hero { background: var(--blush); padding: 32px max(16px, calc((100% - 1124px) / 2)) 32px; }
.b-hero h1 { font-family: var(--serif); font-size: 34.7px; line-height: 38px; font-weight: 700; }
.b-hero__script { font-family: var(--script); font-size: 49.3px; line-height: 1; color: var(--teal); margin-top: -2px; }
.b-hero__lead { margin-top: 28px; font-size: 22.6px; line-height: 24px; }

/* ---------- 2. Sample works: six videos in phone frames (drawn like Canva's), staggered ---------- */
.b-samples { padding: 22px 16px 0; }
.b-phones { display: flex; justify-content: center; align-items: flex-start; gap: 50px; margin-top: 44px; }
.b-phone { width: 132px; margin: 0; text-align: center; }
.b-phone--low { margin-top: 37px; }
.b-phone--mid { margin-top: 10px; }
.b-phone__screen { position: relative; height: 257px; border: 4px solid #111; border-radius: 16px; overflow: hidden; background: #111; }
.b-phone__screen::before { content: ''; position: absolute; z-index: 1; left: 50%; top: 6px; width: 34px; height: 5px; margin-left: -17px; border-radius: 3px; background: #111; }
.b-phone__screen video { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
.b-phone .video-sound { right: 6px; bottom: 6px; min-height: 28px; padding: 0 9px; font-size: 11px; }
.b-phone .video-pause { left: 8px; top: 8px; bottom: auto; transform: scale(0.875); transform-origin: left top; } /* 28px, top corner: the phone frame is too narrow for both buttons at the bottom */
.b-phone figcaption { margin: 8px -48px 0; font-family: var(--script); font-weight: 600; font-size: 20px; line-height: 1.1; color: var(--deep); white-space: nowrap; }

/* ---------- 3. Packages: Canva's six package pictures ---------- */
.b-packages { padding: 46px 16px 0; text-align: center; }
.b-banner { max-width: 1261px; margin: 0 auto; background: var(--deep); color: #fff; font-size: 20px; line-height: 37px; font-weight: 700; }
.b-packages__sub { margin-top: 4px; font-size: 18.6px; line-height: 22px; }
.b-package-grid { display: grid; grid-template-columns: repeat(3, 266px); justify-content: center; gap: 16px 19px; margin-top: 30px; }
.b-package-grid img { width: 266px; height: auto; }
.b-package--popular { position: relative; }
.b-badge { position: absolute; top: 6px; right: 4px; width: 112px !important; transform: rotate(18deg); }
/* Each picture opens full size (package-viewer.js; client feedback 2026-11-19: too small to read on phones) */
.b-package-link { display: block; cursor: zoom-in; }
.b-package-link:focus-visible { outline: 3px solid var(--deep); outline-offset: 3px; }
.b-packages__hint { display: none; }
.b-viewer { width: 100%; max-width: 560px; height: 100%; max-height: 100vh; max-height: 100dvh; margin: auto; padding: 12px 12px 16px; border: 0; background: transparent; color: #fff; }
.b-viewer::backdrop { background: #141414; } /* solid, so the page behind doesn't show through */
.b-viewer[open] { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; }
.b-viewer__img { width: auto; max-width: 100%; height: auto; max-height: calc(100vh - 140px); max-height: calc(100dvh - 140px); border-radius: 6px; }
.b-viewer__close, .b-viewer__prev, .b-viewer__next { min-height: 44px; padding: 0 18px; border-radius: 12px; font: 700 15px/1 var(--sans); cursor: pointer; }
.b-viewer__close { align-self: flex-end; border: 1.5px solid #fff; background: transparent; color: #fff; }
.b-viewer__prev, .b-viewer__next { border: 0; background: var(--teal); color: #fff; }
.b-viewer__prev:hover, .b-viewer__next:hover { background: var(--deep); }
.b-viewer button:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.b-viewer__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; max-width: 450px; }
.b-viewer__count { font-size: 14px; }

/* ---------- 4. Add-ons and important policies (blush cards) ---------- */
.b-details { display: flex; justify-content: center; align-items: stretch; gap: 24px; max-width: 1160px; margin: 0 auto; padding: 63px 16px 23px; }
.b-card { padding: 26px 16px 34px; background: var(--blush); border-radius: 36px; }
.b-card h2 { font-size: 21px; line-height: 25px; font-weight: 700; }
.b-card > p { font-size: 14.8px; line-height: 17px; }
.b-addons { flex: none; width: 358px; padding-left: 16px; }
.b-addons h2, .b-addons > p { padding-left: 7px; }
.b-addons h2 { font-size: 19.8px; }
.b-addons > p { font-size: 14px; }
.b-addons ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 9px; }
.b-addons li { display: flex; align-items: center; gap: 16px; min-height: 55px; padding: 6px 12px 6px 14px; background: #fff; border-radius: 12px; font-size: 16.4px; line-height: 18px; }
.b-addons li img { flex: none; width: 38px; height: 38px; object-fit: contain; }
.b-addons li b { display: block; letter-spacing: 0.02em; }
.b-policies { flex: 1 1 auto; max-width: 745px; padding-left: 35px; padding-right: 22px; }
.b-policy-row { display: flex; gap: 32px; margin-top: 22px; }
.b-policy { display: flex; gap: 8px; flex: 1 1 0; font-size: 14.8px; line-height: 15.5px; }
.b-policy img { flex: none; width: 42px; height: 38px; object-fit: contain; }
.b-policy h3 { font-size: 16.2px; line-height: 19px; font-weight: 700; }
.b-policy ul, .b-reminders ul { margin: 8px 0 0; padding-left: 26px; }
.b-reminders { display: flex; gap: 22px; margin-top: 28px; font-size: 14.8px; line-height: 15.5px; }
.b-reminders h3 { flex: none; width: 104px; font-size: 16.2px; line-height: 17px; font-weight: 700; }
.b-reminders ul { margin: 0; padding-left: 18px; }

/* ---------- 5. Call to action ---------- */
.b-cta { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding: 22px max(16px, calc((100% - 1222px) / 2)); background: var(--deep); color: var(--blush); }
.b-cta h2 { font-family: var(--serif); font-size: 27.3px; line-height: 33px; font-weight: 700; }
.b-cta > div > p { margin-top: 8px; font-size: 22.9px; line-height: 26px; }
.b-cta__action { flex: none; text-align: center; }
.b-cta__action p { margin-top: 8px; font-size: 18.3px; line-height: 21px; }
.b-btn--light { background: #fff; color: var(--deep); font-size: 19.4px; }
.b-btn--light:hover { background: var(--blush); }

/* ---------- 6. Reviews and "Back to Home" ---------- */
.b-reviews { padding: 22px 16px 30px; text-align: center; }
.b-reviews h2 { font-family: var(--serif); font-size: 21.9px; line-height: 26px; font-weight: 400; }
.b-review-row { display: flex; justify-content: center; gap: 17px; margin-top: 16px; }
.b-review { width: 268px; min-height: 158px; margin: 0; padding: 12px 12px 16px 11px; background: var(--blush); border-radius: 14px; text-align: left; }
.b-review figcaption { display: flex; align-items: center; gap: 22px; font-size: 16.7px; line-height: 18px; }
.b-review figcaption img { flex: none; width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.b-review figcaption b { display: block; }
.b-review blockquote { margin: 24px 0 0 6px; font-size: 16.6px; line-height: 17px; }
.b-review__center { text-align: center; }
.b-review__small { font-size: 14px !important; line-height: 15px !important; }
.b-emoji { display: inline-block; width: 19px; height: 19px; vertical-align: -3px; margin-left: 1px; }
.b-btn--home { min-width: 200px; min-height: 44px; margin-top: 30px; border-radius: 12px; background: var(--teal); color: #fff; font-size: 15.3px; text-decoration: none; }
.b-btn--home:hover { background: var(--deep); }

/* ---------- Tablets ---------- */
@media (max-width: 1199px) {
  /* room for the captions, which are wider than the phones; at most 3 across, so tablets get 2 even rows of 3 (iPad feedback, 2026-11-20) */
  .b-phones { flex-wrap: wrap; gap: 24px 56px; padding: 0 48px; max-width: 620px; margin-inline: auto; }
  .b-package-grid { grid-template-columns: repeat(3, minmax(0, 266px)); }
  .b-package-grid img { width: 100%; }
  .b-details { flex-direction: column; align-items: center; }
  .b-addons, .b-policies { width: 100%; max-width: 745px; }
  .b-review-row { flex-wrap: wrap; }
}

/* Computers and tablets: Important Policies in white boxes like the Add-ons, more space between lines,
   reminders in 2 columns (client picked option B, 2026-11-19: Canva's version looked cluttered). Phones keep their own layout below. */
@media (min-width: 768px) {
  .b-card > p { line-height: 1.4; }
  .b-policy-row { gap: 14px; margin-top: 26px; }
  .b-policy, .b-reminders { padding: 18px 20px; background: #fff; border-radius: 16px; line-height: 1.35; }
  .b-policy { gap: 12px; }
  .b-policy h3, .b-reminders h3 { margin-bottom: 4px; letter-spacing: 0.02em; }
  .b-policy p { margin-bottom: 2px; }
  .b-policy li + li, .b-reminders li + li { margin-top: 5px; }
  .b-reminders { display: block; margin-top: 14px; }
  .b-reminders h3 { width: auto; margin-bottom: 8px; }
  .b-reminders ul { columns: 2; column-gap: 40px; padding-left: 20px; }
  .b-reminders li { break-inside: avoid; }
}

/* ---------- Phones (Canva's phone page) ---------- */
@media (max-width: 767px) {
  .b-title { gap: 10px; font-size: 12.5px; }
  .b-title::before, .b-title::after { width: 32px; }
  .b-sub { font-size: 19px; line-height: 25px; }
  .b-hero { padding: 30px 18px 26px; }
  .b-hero h1 { font-size: 27px; line-height: 30px; }
  .b-hero__script { font-size: 33px; }
  .b-hero__lead { margin-top: 18px; font-size: 16px; line-height: 18px; }
  .b-hero br { display: none; }
  .b-phones { display: grid; grid-template-columns: repeat(2, 111px); justify-content: center; gap: 14px 30px; margin-top: 22px; }
  .b-phone { width: 111px; }
  .b-phone--low { margin-top: 30px; }
  .b-phone--mid { margin-top: 0; }
  .b-phone__screen { height: 205px; border-width: 3px; border-radius: 13px; }
  .b-phone figcaption { margin: 6px -30px 0; font-size: 14px; }
  .b-packages { padding-top: 34px; }
  .b-banner { margin: 0 -16px; font-size: 17px; line-height: 32px; }
  .b-packages__sub { font-size: 14.5px; }
  .b-package-grid { grid-template-columns: repeat(3, 1fr); gap: 10px 8px; margin-top: 16px; }
  .b-package-grid img { width: 100%; }
  .b-badge { width: 44% !important; top: 3px; right: 2px; }
  .b-packages__hint { display: block; margin-top: 6px; font-size: 13.5px; color: var(--deep); }
  .b-details { padding: 32px 15px 18px; gap: 16px; }
  .b-card { padding: 18px 12px 22px; border-radius: 26px; }
  .b-addons li { min-height: 46px; gap: 12px; font-size: 13px; line-height: 15px; }
  .b-addons li img { width: 30px; height: 30px; }
  .b-policies { padding-left: 12px; padding-right: 12px; }
  .b-policy-row { flex-direction: column; gap: 14px; margin-top: 14px; }
  .b-policy, .b-reminders { font-size: 12.5px; line-height: 14px; }
  .b-policy img { width: 32px; height: 30px; }
  .b-policy h3, .b-reminders h3 { font-size: 13.5px; }
  /* "OTHER REMINDERS:" on one line, lined up with the headings above (their 32px icon + 8px gap) — client feedback 2026-11-19 */
  .b-reminders { flex-direction: column; gap: 6px; margin-top: 18px; padding-left: 40px; }
  .b-reminders h3 { width: auto; }
  .b-reminders ul { padding-left: 26px; }
  .b-cta { flex-direction: column; align-items: flex-start; gap: 14px; padding: 18px 15px 20px; }
  .b-cta h2 { font-size: 22px; line-height: 26px; }
  .b-cta > div > p { font-size: 16.5px; line-height: 19px; }
  .b-cta__action { align-self: center; }
  .b-btn--light { font-size: 15px; }
  .b-cta__action p { font-size: 14px; }
  .b-reviews h2 { font-size: 19px; }
  .b-review { width: 100%; max-width: 300px; min-height: 0; }
}
