/* Academy ad landing pages (J&R, Dec 2026). Same type and colors as the new homepage:
   Barlow Condensed for headings, Poppins for everything else. */
:root {
  --blue: #3a8dde;
  --blue-deep: #2a73bd;
  --ink: #0d0e10;
  --text: #2a2e35;
  --muted: #646b76;
  --line: #e4e7ec;
  --paper: #f4f5f7;
  --radius: 4px;
  --head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Poppins", system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); color: var(--text); background: #fff; font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); text-transform: uppercase; margin: 0; line-height: 1; letter-spacing: -0.01em; color: var(--ink); }
.wrap { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; opacity: 0.5; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.section-head .eyebrow::after { content: ""; width: 34px; height: 1px; background: currentColor; opacity: 0.5; }
.section-head h2 { font-size: clamp(36px, 4.6vw, 54px); margin-top: 12px; }
.section-head p { color: var(--muted); margin: 16px auto 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--body); font-size: 14px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; padding: 15px 24px; border-radius: var(--radius); border: 1px solid var(--blue); background: var(--blue); color: #fff; cursor: pointer; transition: background .2s, border-color .2s, transform .2s; }
.btn:hover { background: var(--blue-deep); border-color: var(--blue-deep); transform: translateY(-1px); }
.btn.ghost { background: transparent; border-color: rgba(255,255,255,0.6); color: #fff; }
.btn.ghost:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn .s { display: none; }

/* Header: logo, phone, one button. No menu, so the page keeps its one job. */
.top { position: absolute; inset: 0 0 auto 0; z-index: 20; padding: 18px 0; }
.top .wrap { display: flex; align-items: center; gap: 20px; }
.top .logo img { width: 176px; height: auto; }
.top .phone { margin-left: auto; color: #fff; text-decoration: none; font-weight: 500; font-size: 15px; }
.top .phone span { color: rgba(255,255,255,0.7); font-weight: 400; margin-right: 6px; }
.top .btn { padding: 11px 18px; font-size: 13px; }

/* Hero: the ad's promise on the left, the form on the right (stacked on phones). */
.hero { position: relative; color: #fff; background: var(--ink); isolation: isolate; padding: 128px 0 72px; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--hero) center/cover no-repeat; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8,9,11,0.9) 0%, rgba(8,9,11,0.72) 50%, rgba(8,9,11,0.45) 100%); }
.hero .grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.hero .eyebrow { color: rgba(255,255,255,0.8); }
.hero h1 { color: #fff; font-size: clamp(46px, 6.2vw, 80px); margin: 14px 0 18px; }
.hero h1 .blue { color: var(--blue); }
.hero .lede { font-size: 18px; font-weight: 300; color: rgba(255,255,255,0.88); max-width: 560px; margin: 0 0 28px; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 30px 0 0; padding: 0; list-style: none; font-size: 14px; color: rgba(255,255,255,0.85); }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
.trust .stars { color: #f5b400; letter-spacing: 1px; }

/* Form card */
.form-card { background: #fff; color: var(--text); border-radius: 6px; padding: 30px 30px 26px; box-shadow: 0 24px 60px rgba(0,0,0,0.35); border-top: 4px solid var(--blue); scroll-margin-top: 20px; }
.form-card h2 { font-size: 34px; }
.form-card .sub { color: var(--muted); font-size: 14px; margin: 8px 0 18px; }
.form-card label { display: block; font-size: 13px; font-weight: 500; color: var(--ink); margin: 0 0 6px; }
.form-card .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-card .field { margin-bottom: 14px; }
.form-card input, .form-card textarea, .form-card select { width: 100%; font: inherit; font-size: 16px; color: var(--ink); padding: 12px 14px; border: 1px solid #cfd5dd; border-radius: var(--radius); background: #fff; }
.form-card textarea { min-height: 86px; resize: vertical; }
.form-card input:focus, .form-card textarea:focus { outline: 2px solid rgba(58,141,222,0.35); border-color: var(--blue); }
.form-card .btn { width: 100%; padding: 16px; font-size: 15px; }
.form-card .fine { font-size: 12px; color: var(--muted); margin: 12px 0 0; text-align: center; }
.form-card .fine a { color: var(--ink); font-weight: 600; text-decoration: none; }
.form-error { display: none; background: #fdecea; color: #8a1c13; font-size: 14px; padding: 10px 12px; border-radius: var(--radius); margin-bottom: 12px; }
.form-error.show { display: block; }
.preview-note { font-size: 12px; background: #fff7e0; color: #6b5200; padding: 8px 10px; border-radius: var(--radius); margin-bottom: 14px; }
.done { display: none; text-align: center; padding: 20px 4px; }
.done h2 { font-size: 34px; margin-bottom: 10px; }
.form-card.sent form { display: none; }
.form-card.sent .done { display: block; }

/* What we treat */
.treat { padding: 96px 0; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; background: #fff; transition: border-color .2s, transform .2s, box-shadow .2s; }
.card:hover { border-color: var(--blue); transform: translateY(-3px); box-shadow: 0 14px 34px rgba(13,14,16,0.07); }
.card .n { font-family: var(--head); font-weight: 700; font-size: 15px; color: var(--blue); letter-spacing: 0.08em; }
.card h3 { font-size: 26px; margin: 8px 0 10px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.treat .more { text-align: center; margin-top: 34px; color: var(--muted); }
.treat .more a { color: var(--ink); font-weight: 600; }

/* Why Academy: photo and points */
.why { background: var(--paper); padding: 96px 0; }
.why .grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.why .photo { border-radius: 6px; overflow: hidden; aspect-ratio: 4 / 5; }
.why .photo img { width: 100%; height: 100%; object-fit: cover; }
.why h2 { font-size: clamp(36px, 4.4vw, 52px); margin: 12px 0 18px; }
.points { list-style: none; margin: 0 0 28px; padding: 0; }
.points li { position: relative; padding: 14px 0 14px 34px; border-top: 1px solid var(--line); color: var(--muted); }
.points li:last-child { border-bottom: 1px solid var(--line); }
.points li b { display: block; color: var(--ink); font-weight: 600; }
.points li::before { content: ""; position: absolute; left: 0; top: 19px; width: 20px; height: 20px; border-radius: 50%; background: rgba(58,141,222,0.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%233a8dde' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat; }

/* Three steps */
.steps-sec { padding: 96px 0; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.step { padding: 34px 30px; border-right: 1px solid var(--line); }
.step:last-child { border-right: 0; }
.step .n { font-family: var(--head); font-size: 58px; font-weight: 700; color: var(--line); line-height: 1; }
.step h3 { font-size: 26px; margin: 8px 0 10px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

/* Reviews */
.reviews { background: var(--ink); color: #fff; padding: 96px 0; }
.reviews .section-head h2 { color: #fff; }
.reviews .eyebrow { color: rgba(255,255,255,0.7); }
.rating { display: flex; align-items: center; justify-content: center; gap: 14px; margin: -18px 0 40px; flex-wrap: wrap; }
.rating .score { font-family: var(--head); font-size: 50px; font-weight: 700; line-height: 1; }
.rating .stars { color: #f5b400; letter-spacing: 2px; font-size: 18px; }
.rating .src { font-size: 14px; color: rgba(255,255,255,0.7); }
.revs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.rev { background: #16181c; border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; }
.rev .stars { color: #f5b400; letter-spacing: 2px; margin-bottom: 10px; font-size: 14px; }
.rev p { margin: 0 0 16px; font-size: 15px; color: rgba(255,255,255,0.88); flex: 1; }
.rev .who { font-weight: 600; font-size: 14px; }
.rev .via { font-size: 12px; color: rgba(255,255,255,0.55); }

/* Locations and last call to action */
.visit { padding: 96px 0; }
.locs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 860px; margin: 0 auto; }
.loc { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.loc h3 { font-size: 26px; margin-bottom: 8px; }
.loc p { margin: 0 0 12px; color: var(--muted); }
.loc a { font-weight: 600; color: var(--blue); text-decoration: none; }
.final { position: relative; color: #fff; text-align: center; padding: 110px 0; isolation: isolate; }
.final::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8,9,11,0.78), rgba(8,9,11,0.86)), url(../img/cta-bg.jpg) center/cover; }
.final h2 { color: #fff; font-size: clamp(40px, 5.4vw, 66px); margin: 12px 0 16px; }
.final p { max-width: 600px; margin: 0 auto 28px; color: rgba(255,255,255,0.85); }
.final .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.final .eyebrow { color: rgba(255,255,255,0.75); }

footer { background: #08090b; color: rgba(255,255,255,0.6); font-size: 13px; padding: 26px 0; }
footer .wrap { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
footer a { text-decoration: none; color: rgba(255,255,255,0.8); }

/* Phones: sticky Call and Book bar, hidden while the form or hero buttons are on screen */
.mbar { display: none; }
@media (max-width: 980px) {
  .hero .grid, .why .grid { grid-template-columns: 1fr; gap: 34px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .revs { grid-template-columns: 1fr 1fr; }
  .why .photo { aspect-ratio: 16 / 10; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  .top { padding: 14px 0; }
  .top .logo img { width: 138px; }
  .top .phone span, .top .btn.book { display: none; }
  .top .phone { background: var(--blue); padding: 9px 14px; border-radius: 999px; font-size: 14px; }
  .hero { padding: 92px 0 36px; }
  .hero h1 { font-size: 44px; margin: 10px 0 12px; }
  .hero .lede { font-size: 16px; margin-bottom: 20px; }
  .hero .actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero .actions .btn { padding: 14px 10px; font-size: 13px; letter-spacing: 0.04em; }
  .trust { display: grid; grid-template-columns: auto auto; justify-content: start; gap: 6px 18px; margin-top: 18px; font-size: 12px; }
  .trust li { white-space: nowrap; }
  .btn .l { display: none; }
  .btn .s { display: inline; }
  .form-card { padding: 24px 20px 20px; }
  .form-card .row2 { grid-template-columns: 1fr; gap: 0; }
  .cards, .revs, .locs, .steps { grid-template-columns: 1fr; }
  .step { border-right: 0; border-bottom: 1px solid var(--line); }
  .step:last-child { border-bottom: 0; }
  .treat, .why, .steps-sec, .reviews, .visit { padding: 64px 0; }
  .final { padding: 80px 0 110px; }
  .mbar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: #fff; box-shadow: 0 -6px 20px rgba(0,0,0,0.12); transition: transform .25s; }
  .mbar.hide { transform: translateY(110%); }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 16px 8px; font-weight: 600; font-size: 15px; text-decoration: none; color: var(--ink); }
  .mbar a.book { background: var(--blue); color: #fff; }
  .mbar svg { width: 16px; height: 16px; }
}

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }
