/* The Hosting Helper: portfolio-review (custom page, Packet C3). Brand from thehostinghelper.com (brand.json):
   primary #f9503e, small brand-colored text #d14334 (4.6:1), white button labels at 24px+ (large text, 3.4:1),
   Anton headings + Inter body, as the client's site. Layout from Jam's wireframe. */
:root {
  --brand: #f9503e;
  --brand-dark: #c74032;
  --brand-text: #d14334;
  --on-brand: #ffffff;
  --ink: #111111;
  --head: #0a0a0a;
  --body: #2e3338;
  --muted: #5a6168;
  --line: #d9dde2;
  --surface: #f3f4f6;
  --topbar: #f7f7f7;
  --hero-end: #f1f4f8;
  --card: #ffffff;
  --error: #c0392b;
  --focus: rgba(249, 80, 62, 0.25);
  --display: 'Anton', Impact, 'Arial Narrow', sans-serif;
  --text: 'Inter', Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--text); font-size: 16px; line-height: 1.5; color: var(--body); background: var(--card); -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; color: var(--head); margin: 0; letter-spacing: 0.005em; }
p { margin: 0; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* top bar */
.topbar { background: var(--topbar); display: flex; justify-content: center; padding: 14px 20px; }
.topbar .logo { height: 44px; width: auto; }

/* hero */
.hero { background: linear-gradient(180deg, var(--card) 0%, var(--card) 45%, var(--hero-end) 100%); padding: 36px 0 56px; }
.hero-grid { display: grid; grid-template-columns: 1fr; grid-template-areas: "copy" "stat" "form"; gap: 24px; }
.hero-copy { grid-area: copy; }
.stat-card { grid-area: stat; }
.form-card { grid-area: form; }
.eyebrow { font-family: var(--display); color: var(--brand-text); text-transform: uppercase; font-size: 14px; letter-spacing: 0.03em; margin-bottom: 12px; }
h1 { font-size: 42px; line-height: 1.05; margin-bottom: 16px; }
.lead { font-size: 18px; line-height: 1.45; color: var(--body); max-width: 34em; }

.stat-card { background: var(--ink); color: #fff; border-radius: 14px; padding: 22px 24px; max-width: 520px; }
.stat-label { font-family: var(--display); text-transform: uppercase; font-size: 13px; letter-spacing: 0.08em; color: #d6d8db; margin-bottom: 10px; }
.stat-row { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 18px; }
.stat-num { display: flex; flex-direction: column; line-height: 1; }
.stat-num strong { font-family: var(--display); font-weight: 400; font-size: 56px; color: #fff; }
.stat-num-hi strong { color: var(--brand); }
.stat-num span { font-size: 13px; color: #d6d8db; margin-top: 6px; }
.stat-arrow { font-size: 40px; color: var(--brand); line-height: 1; margin-top: -14px; }
.stat-text { flex: 1 1 200px; font-weight: 600; font-size: 16px; line-height: 1.35; color: #fff; }

.form-card { background: var(--surface); border: 1px solid #eceef1; border-radius: 16px; padding: 26px 22px; }
.form-card h2 { font-size: 30px; line-height: 1.1; margin-bottom: 8px; }
.form-intro { font-size: 15px; color: var(--body); margin-bottom: 18px; }
label { display: block; font-weight: 600; font-size: 14px; color: var(--head); margin: 14px 0 6px; }
input, select { width: 100%; font: inherit; font-size: 16px; color: var(--head); background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 13px 14px; min-height: 50px; }
input::placeholder { color: #7d848b; }
select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--head) 50%), linear-gradient(135deg, var(--head) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
input:focus, select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--focus); }
input[aria-invalid="true"] { border-color: var(--error); }
.err { color: var(--error); font-size: 14px; margin-top: 6px; }
.form-err { margin-top: 12px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.consent { font-size: 12.5px; color: var(--muted); margin-top: 12px; line-height: 1.45; }

/* buttons: labels are 24px+ so white on the brand red counts as large text (3:1) */
.btn { display: block; width: 100%; margin-top: 22px; border: 0; border-radius: 8px; background: var(--brand); color: var(--on-brand); font-family: var(--display); font-size: 24px; line-height: 1.15; letter-spacing: 0.01em; padding: 16px 18px; text-align: center; text-decoration: none; cursor: pointer; transition: background .15s; }
.btn:hover { background: var(--brand-dark); }
.btn:focus-visible { outline: 3px solid var(--head); outline-offset: 3px; }
.btn[disabled] { opacity: .7; cursor: wait; }
.btn-big { display: inline-block; width: auto; font-size: 32px; padding: 22px 28px; margin: 0; }

/* value tiles */
.values { background: var(--surface); padding: 48px 0; }
.values-grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
.value h3 { font-size: 22px; line-height: 1.15; margin-bottom: 10px; }
.value p { color: var(--body); font-size: 16px; }

/* testimonials */
.proof { background: linear-gradient(180deg, var(--hero-end) 0%, var(--card) 140px); padding: 48px 0 64px; }
.section-title { font-size: 34px; line-height: 1.1; text-align: center; margin-bottom: 28px; }
.proof-grid { display: grid; grid-template-columns: 1fr; gap: 18px; max-width: 420px; margin: 0 auto; }
.quote-card { margin: 0; background: var(--surface); border-radius: 14px; padding: 24px 24px 28px; }
.quote-card .slot { width: 100%; height: auto; object-fit: cover; border-radius: 10px; background: #dfe3e8; }
.who { text-align: center; font-weight: 600; color: var(--head); margin: 16px 0 10px; }
blockquote { margin: 0; font-size: 16px; line-height: 1.5; color: var(--body); }
.cta-row { text-align: center; margin-top: 40px; }

/* slot placeholder: shown only until the client's upload arrives (never on an approved page) */
.slot-placeholder { display: flex; align-items: center; justify-content: center; text-align: center; padding: 16px; border: 2px dashed #9aa3ad; color: var(--muted); font-size: 14px; background: #eef0f3; }

/* footer */
.foot { border-top: 1px solid #eceef1; background: var(--topbar); text-align: center; padding: 22px 20px; font-size: 13px; color: var(--muted); }
.foot a { color: var(--muted); }
.foot span { margin: 0 8px; }

/* thanks page */
.thanks { padding: 40px 0 64px; background: linear-gradient(180deg, var(--card) 0%, var(--hero-end) 100%); }
.thanks h1 { text-align: center; margin-bottom: 12px; }
.thanks .lead { text-align: center; margin: 0 auto 26px; }
.video-box { position: relative; aspect-ratio: 16 / 9; max-width: 860px; margin: 0 auto; border-radius: 14px; overflow: hidden; background: var(--ink); }
.video-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.booking { max-width: 860px; margin: 40px auto 0; }
.booking h2 { font-size: 30px; text-align: center; margin-bottom: 16px; }
.booking iframe { width: 100%; min-height: 720px; border: 0; background: var(--card); border-radius: 12px; }
.booking .slot-placeholder { min-height: 260px; border-radius: 12px; }

@media (min-width: 760px) {
  h1 { font-size: 52px; }
  .values-grid { grid-template-columns: repeat(3, 1fr); gap: 36px; }
  .proof-grid { grid-template-columns: repeat(3, 1fr); max-width: none; }
  .section-title { font-size: 44px; }
}
@media (min-width: 980px) {
  .hero { padding: 40px 0 80px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) 500px; grid-template-areas: "copy form" "stat form"; grid-template-rows: auto 1fr; column-gap: 64px; row-gap: 28px; align-items: start; padding-left: 80px; }
  .hero-copy { padding-top: 28px; }
  h1 { font-size: 56px; }
  .form-card { padding: 30px 28px; }
  .values { padding: 64px 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
