/* Hosting 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 */

:root { --rose: #F2EAE7; --rose-line: #D7C5BE; --brown: #8A605D; }

/* Buttons: Canva's are 27–29px tall; these are bigger, like the other pages (client's request, 2026-11-18). */
.h-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 22px;
  border-radius: 999px; background: var(--deep); color: var(--blush); font-size: 16.2px; font-weight: 700; text-decoration: none; white-space: nowrap;
}
.h-btn:hover { background: var(--teal); }

/* Section headings ("SEE ME IN ACTION" / "Hosting Portfolio") */
.h-label { color: var(--deep); font-size: 22.6px; line-height: 27px; font-weight: 700; }
.h-heading h2 { font-family: var(--serif); font-size: 34.7px; line-height: 1.2; font-weight: 400; margin-top: 4px; }
.h-heading p:not(.h-label) { font-size: 22.6px; line-height: 24px; }

/* ---------- 1. Top: title, photo collage, followers' discount ---------- */
.h-hero { background: var(--blush); display: flex; align-items: flex-start; gap: 24px; padding: 26px max(16px, calc((100% - 1150px) / 2)) 37px; }
.h-hero__text { flex: 1 1 auto; padding-top: 11px; }
.h-hero h1 { font-family: var(--serif); font-size: 34.7px; line-height: 37px; font-weight: 700; }
.h-hero__text p { margin-top: 20px; font-size: 22.6px; line-height: 24px; }
.h-collage { flex: none; display: grid; grid-template-columns: repeat(2, 192px); gap: 12px; }
.h-collage img { width: 192px; height: 192px; object-fit: cover; border-radius: 20px; }
.h-promo { flex: none; width: 218px; min-height: 393px; padding: 16px 12px 22px; background: #fff; border-radius: 16px; text-align: center; font-size: 17.2px; line-height: 21px; display: flex; flex-direction: column; align-items: center; }
.h-promo img { width: 24px; height: 22px; margin-bottom: 14px; }
.h-promo__brand { font-family: var(--serif); font-size: 14.7px; font-weight: 700; }
.h-promo__off { margin: 8px 0 4px; color: var(--teal); font-size: 30.6px; line-height: 36px; font-weight: 700; }
.h-promo__how { margin: 18px 0; }
.h-promo .h-btn { margin-top: auto; font-size: 17.2px; font-weight: 400; }

/* ---------- 2. Portfolio: two videos ---------- */
.h-portfolio { display: flex; gap: 40px; max-width: 1104px; margin: 0 auto; padding: 34px 16px 0; }
.h-portfolio .h-heading { flex: 1 1 auto; }
.h-videos { flex: none; display: flex; gap: 15px; padding-top: 13px; }
.h-video { width: 288px; margin: 0; }
.h-video__frame { position: relative; height: 172px; overflow: hidden; border-radius: 3px; background: #000; }
.h-video video { display: block; width: 100%; height: 100%; object-fit: cover; }
.h-video figcaption { margin-top: 12px; font-size: 22.6px; line-height: 24px; }
.h-video figcaption b { display: block; }

/* ---------- 3. Packages ---------- */
.h-packages { max-width: 1104px; margin: 0 auto; padding: 44px 16px 0; }
.h-package-row { position: relative; display: flex; align-items: flex-start; gap: 27px; margin: 22px 0 0 114px; }
.h-package { width: 355px; padding: 18px 16px 12px; background: var(--blush); border: 1px solid var(--rose-line); border-radius: 36px; text-align: center; font-size: 16.2px; line-height: 18px; }
.h-package h3 { font-size: 21.9px; line-height: 26px; font-weight: 700; margin: 8px 0 12px; }
.h-package__price { margin: 10px 0 6px; font-size: 33.3px; line-height: 40px; font-weight: 700; }
.h-package__less b { color: var(--deep); }
.h-package .h-btn { min-width: 178px; margin-top: 12px; }
.h-free { position: relative; width: 155px; margin: 86px 0 0 22px; padding: 14px 8px 16px; background: var(--rose); border-radius: 16px; text-align: center; font-size: 14.4px; line-height: 16px; }
.h-free__arrow { position: absolute; left: -88px; top: -86px; width: 68px; height: 119px; transform: rotate(-60deg); }
.h-free__add { color: var(--brown); font-size: 15.6px; line-height: 16px; font-weight: 700; }
.h-free__free { margin: 10px 0 12px; color: var(--deep); font-size: 18.7px; line-height: 22px; font-weight: 700; }
.h-free__terms { margin-top: 14px; font-size: 10.3px; font-style: italic; }

/* ---------- 4. What's included + important policies ---------- */
.h-details { display: flex; gap: 56px; max-width: 1242px; margin: 0 auto; padding: 86px 16px 39px; }
.h-included { flex: none; width: 697px; padding: 26px 44px 48px; background: var(--blush); border-radius: 16px; }
.h-included h2, .h-policies h2 { font-family: var(--serif); color: var(--deep); font-size: 26.7px; line-height: 30px; font-weight: 700; }
.h-included table { width: 100%; margin-top: 6px; border-collapse: collapse; font-size: 13.7px; line-height: 19px; }
.h-included th, .h-included td { border: 2px solid #000; }
.h-included thead th { width: 96px; height: 68px; font-size: 15.1px; line-height: 21px; text-align: center; }
.h-included tbody th { padding: 10px 10px 12px; text-align: left; font-weight: 400; }
.h-included tbody th b { display: block; }
.h-included tbody td { text-align: center; }
.h-yes, .h-no { display: inline-block; width: 29px; height: 27px; overflow: hidden; text-indent: 100px; white-space: nowrap; }
.h-yes { background: url("img/check.svg") center / contain no-repeat; }
.h-policies { flex: 1 1 auto; max-width: 480px; padding-top: 28px; }
.h-policy { display: flex; gap: 17px; margin-top: 22px; font-size: 17.4px; line-height: 18px; }
.h-policy img { flex: none; width: 46px; height: 42px; object-fit: contain; }
.h-policy h3 { font-size: 22.7px; line-height: 26px; font-weight: 700; }
.h-policy p { margin-top: 4px; }
.h-policy ul { margin: 2px 0 0; padding-left: 29px; }

/* ---------- 5. Call to action and closing note ---------- */
.h-cta { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding: 20px max(16px, calc((100% - 1224px) / 2)) 20px; background: var(--deep); color: var(--blush); }
.h-cta h2 { font-family: var(--serif); font-size: 28.3px; line-height: 34px; font-weight: 700; }
.h-cta p { font-size: 23.7px; line-height: 26px; margin-top: 8px; }
.h-cta__action { flex: none; width: 300px; }
.h-cta__action p { margin-top: 8px; font-size: 14.7px; line-height: 18px; font-weight: 700; }
.h-btn--light { border-radius: 6px; background: #fff; color: var(--deep); font-size: 19.1px; }
.h-btn--light:hover { background: var(--blush); }
.h-closing { padding: 24px 16px 18px; background: var(--rose); text-align: center; font-size: 15.3px; line-height: 17px; }
.h-btn--home { min-width: 200px; min-height: 44px; margin-top: 14px; border-radius: 12px; background: var(--teal); color: #fff; font-size: 15.3px; }
.h-btn--home:hover { background: var(--deep); }

/* ---------- Tablets: stack the wide rows ---------- */
@media (max-width: 1199px) {
  .h-hero { flex-wrap: wrap; justify-content: center; }
  .h-hero__text { flex-basis: 100%; }
  .h-portfolio, .h-details { flex-direction: column; }
  .h-package-row { flex-wrap: wrap; margin-left: 0; }
  .h-included { width: auto; }
}
/* Below ~980px the 3 package boxes no longer fit on one row: centre them, and put the free
   content-creator box under them without its arrow, as on phones (alignment audit, 2026-11-19). */
@media (max-width: 979px) {
  .h-package-row { justify-content: center; gap: 14px; } /* 14px lets both price boxes fit side by side at 768px */
  .h-free { margin: 0; }
  .h-free__arrow { display: none; }
}

/* ---------- Phones (Canva's phone page) ---------- */
@media (max-width: 767px) {
  .h-btn { min-height: 38px; font-size: 14px; padding: 0 16px; }
  .h-label { font-size: 17px; line-height: 20px; }
  .h-heading h2 { font-size: 27px; }
  .h-heading p:not(.h-label) { font-size: 16.5px; line-height: 19px; }
  .h-hero { padding: 26px 15px 24px; gap: 8px; }
  .h-hero__text { padding: 0 0 12px; text-align: center; }
  .h-hero h1 { font-size: 27px; line-height: 29px; }
  .h-hero__text p { margin-top: 12px; font-size: 16.5px; line-height: 19px; }
  .h-hero br { display: none; }
  .h-collage { flex: 1 1 0; grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .h-collage img { width: 100%; height: auto; aspect-ratio: 1; border-radius: 14px; }
  .h-promo { width: 116px; min-height: 0; padding: 10px 6px 12px; font-size: 9.6px; line-height: 11.5px; }
  .h-promo img { width: 14px; height: 13px; margin-bottom: 6px; }
  .h-promo__brand { font-size: 8.8px; }
  .h-promo__off { margin: 4px 0 2px; font-size: 16.5px; line-height: 20px; }
  .h-promo__how { margin: 10px 0; }
  .h-promo br { display: none; }
  .h-promo .h-btn { min-height: 30px; padding: 0 10px; font-size: 10px; }
  .h-portfolio { gap: 16px; padding-top: 28px; }
  .h-videos { flex-direction: column; align-items: center; gap: 22px; }
  .h-video { width: min(228px, 100%); }
  .h-video__frame { height: 136px; }
  .h-video figcaption { font-size: 17px; line-height: 19px; }
  .h-packages { padding-top: 36px; }
  .h-package-row { justify-content: center; gap: 14px; margin-top: 16px; }
  .h-package { width: 100%; max-width: 282px; padding: 14px 12px 12px; border-radius: 26px; font-size: 12.5px; line-height: 14px; }
  .h-package h3 { font-size: 16.5px; margin: 4px 0 8px; }
  .h-package__price { margin: 6px 0 4px; font-size: 25px; line-height: 30px; }
  .h-package .h-btn { min-width: 150px; }
  .h-free { width: 150px; margin: 0; font-size: 11px; line-height: 13px; }
  .h-free__arrow { display: none; }
  .h-details { gap: 28px; padding: 40px 15px 28px; }
  .h-included { padding: 18px 14px 24px; border-radius: 14px; }
  .h-included h2, .h-policies h2 { font-size: 21px; line-height: 25px; }
  .h-included table { font-size: 10.5px; line-height: 13px; }
  .h-included thead th { width: 50px; height: 48px; font-size: 9.5px; line-height: 12px; }
  .h-included tbody th { padding: 7px 6px 8px; }
  .h-yes, .h-no { width: 18px; height: 17px; }
  .h-policies { padding-top: 0; }
  .h-policy { gap: 12px; margin-top: 16px; font-size: 13.5px; line-height: 15px; }
  .h-policy img { width: 32px; height: 30px; }
  .h-policy h3 { font-size: 17px; line-height: 20px; }
  .h-policy br { display: none; }
  .h-policy ul { padding-left: 20px; }
  .h-cta { flex-direction: column; align-items: flex-start; gap: 16px; padding: 18px 15px 20px; }
  .h-cta h2 { font-size: 22px; line-height: 26px; }
  .h-cta p { font-size: 16.5px; line-height: 19px; }
  .h-cta br { display: none; }
  .h-cta__action { width: auto; }
  .h-btn--light { font-size: 15px; }
}
