/* B2B landing pages (Avis designs, 2026-10-09): /facilities/, /ncaa-program/, /junior-amateur/.
   Loaded only on those pages, after site.css. Scoped under body.b2b. */
.b2b { --b2b-navy: var(--navy); --b2b-band: var(--navy-mid); --b2b-green: var(--green-mid); --b2b-green-dk: var(--green); --b2b-ink: var(--ink); --b2b-muted: var(--muted); --b2b-tint: var(--paper); }

/* Header: standard site.css .site-header, no page overrides. */
/* Hero */
.b2b-hero { position: relative; isolation: isolate; color: #fff; background: var(--b2b-navy); overflow: hidden; }
.b2b-hero-bg { position: absolute; inset: 0; z-index: -1; }
.b2b-hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center bottom; display: block; }
.b2b-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); align-items: center; gap: 32px; padding: 56px 0 36px; min-height: 420px; }
.b2b-hero-copy { max-width: 560px; }
.b2b-kicker { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin: 0 0 14px; color: #fff; }
.b2b-hero h1 { color: #fff; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 16px; }
.b2b-hero-sub { color: rgba(255,255,255,0.88); font-size: 17px; line-height: 1.5; margin: 0; }
.b2b-hero-art { justify-self: end; align-self: end; }
.b2b-hero-art img { width: 100%; max-width: 560px; height: auto; display: block; }

/* Navy band under hero */
.b2b-band { background: var(--b2b-band); color: #fff; }
.b2b-band .wrap { display: flex; align-items: center; justify-content: center; gap: 56px; flex-wrap: wrap; padding: 22px 0; }
.b2b-stat { display: flex; align-items: center; gap: 10px; margin: 0; }
.b2b-stat b { font-size: 30px; font-weight: 600; letter-spacing: -0.01em; }
.b2b-stat span { font-size: 10.5px; line-height: 1.25; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.75); }

/* Generic */
.b2b .section-alt { background: var(--b2b-tint); }
.b2b-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.b2b-split img { width: 100%; height: auto; display: block; }
.b2b-rule { border: 0; border-top: 1px solid var(--line); margin: 0; }
.b2b .why-list li { font-weight: 600; color: var(--b2b-ink); }

/* Facilities: offer cards */
.b2b-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.b2b-card { display: block; background: #fff; border-radius: 22px; box-shadow: 0 10px 30px rgba(3,0,89,0.12); padding: 28px 28px 30px; color: var(--b2b-muted); text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
.b2b-card:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(3,0,89,0.16); color: var(--b2b-muted); }
.b2b-card-shot { background: #f0f0f0; border-radius: 10px; overflow: hidden; margin-bottom: 22px; }
.b2b-card-shot img { width: 100%; height: auto; display: block; }
.b2b-card h2 { margin: 0 0 12px; line-height: 0; }
.b2b-card h2 img { height: 48px; width: auto; }
.b2b-card p { margin: 0; font-size: 15px; line-height: 1.5; }
.b2b-trusted { text-align: center; color: var(--muted); font-size: 14px; line-height: 1.7; margin: 28px auto 0; max-width: 980px; }
.b2b-trusted p { margin: 0 0 6px; }

/* Facilities: event book + HoLo */
.b2b-sub-h { font-size: 19px; margin: 6px 0 8px; color: var(--b2b-ink); }

/* NCAA */
.b2b-band-ncaa .wrap { justify-content: space-between; gap: 24px; }
.b2b-band-ncaa .b2b-choice b { display: block; font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase; }
.b2b-band-ncaa .b2b-choice > span { font-size: 14px; color: rgba(255,255,255,0.8); }
.b2b-band-ncaa .b2b-band-cta { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.b2b-band-ncaa .b2b-band-cta a.b2b-call { color: #fff; font-weight: 600; font-size: 15px; }
.b2b-pkgs { display: grid; gap: 32px; max-width: 900px; margin: 0 auto; }
.b2b-pkg { background: #fff; border-radius: 22px; box-shadow: 0 10px 30px rgba(3,0,89,0.14); overflow: hidden; }
.b2b-pkg-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: var(--b2b-tint); padding: 18px 28px; }
.b2b-pkg-head h2 { margin: 0; line-height: 0; }
.b2b-pkg-head h2 img { height: 38px; width: auto; }
.b2b-price { background: var(--b2b-green); color: #fff; font-weight: 700; font-size: 15px; padding: 6px 14px; border-radius: 8px; }
.b2b-pkg-body { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 32px; align-items: center; padding: 20px 28px 0; }
.b2b-pkg-body img { width: 100%; height: auto; display: block; align-self: end; }
.b2b-pkg-body h3 { color: var(--b2b-green); font-size: 17px; margin: 0 0 12px; }
.b2b-pkg-body ul { margin: 0 0 24px; padding-left: 18px; color: var(--b2b-ink); font-size: 15px; line-height: 1.7; }
.b2b-pkg-body ul.b2b-cols { columns: 2; column-gap: 28px; }
.b2b-contact { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; max-width: 900px; margin: 48px auto 0; }
.b2b-contact .kicker { margin: 0 0 4px; }
.b2b-contact-role { font-size: 19px; font-weight: 700; color: var(--b2b-ink); margin: 0; }
.b2b-pills { display: flex; gap: 12px; flex-wrap: wrap; }
.b2b-pill { display: inline-block; background: var(--b2b-band); color: #fff !important; font-size: 18px; font-weight: 500; padding: 12px 22px; border-radius: 12px; box-shadow: 0 0 0 2px rgba(255,255,255,0.15) inset; }
.b2b-pill:hover { background: var(--b2b-navy); }

/* Junior */
.b2b-assoc { margin-top: 22px; font-size: 13.5px; line-height: 1.6; color: rgba(255,255,255,0.9); }
.b2b-assoc p { margin: 0; }
.b2b-books { max-width: 760px; margin: 0 auto; }
.b2b-books img { width: 100%; height: auto; display: block; }

@media (max-width: 900px) {
  .b2b-hero-grid { grid-template-columns: 1fr; padding-top: 104px; min-height: 0; gap: 20px; }
  .b2b-hero-art { justify-self: center; }
  .b2b-split { grid-template-columns: 1fr; gap: 28px; }
  .b2b-pkg-body { grid-template-columns: 1fr; }
  .b2b-pkg-body img { max-width: 300px; margin: 0 auto; }
}
@media (max-width: 720px) {
  .b2b-cards { grid-template-columns: 1fr; }
  .b2b-band .wrap { gap: 18px 28px; }
  .b2b-stat b { font-size: 24px; }
  .b2b-band-ncaa .wrap { flex-direction: column; align-items: flex-start; }
  .b2b-pkg-body ul.b2b-cols { columns: 1; }
  .b2b-pill { font-size: 16px; padding: 10px 16px; }
}
@media (prefers-reduced-motion: reduce) { .b2b-card { transition: none; } }

/* NCAA hero: players sit on the right of the photo */
.b2b-hero-ncaa .b2b-hero-bg img { object-position: 70% center; }
.b2b-hero-ncaa .b2b-hero-grid { min-height: 440px; grid-template-columns: minmax(0, 1fr); }
@media (max-width: 900px) {
  .b2b-hero-ncaa .b2b-hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,31,58,0.55) 0%, rgba(11,31,58,0.85) 100%); }
  .b2b-hero-ncaa .b2b-hero-grid { min-height: 360px; }
}

/* ---- Fixes from preview review (2026-10-09 8:25 AM) ---- */

/* 1) Footer: site.css sets .footer-grid columns after its own media queries, so the 4 columns never stack.
   Scoped to these 3 pages only (body.b2b). */
.b2b, .b2b main { overflow-x: clip; }
.b2b .footer-grid > * { min-width: 0; }
@media (max-width: 980px) {
  .b2b .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .b2b .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .b2b .footer-findus, .b2b .footer-map-embed { width: 100%; }
  .b2b .footer-bottom { flex-direction: column; align-items: flex-start; }
  .b2b .footer-google { max-width: 100%; }
}

/* 2) Pricing table: fade + hint on small screens so the scroll is obvious. Data unchanged. */
.b2b .ws-scroll-hint { display: none; margin: 0; padding: 8px 14px 0; font-size: 12.5px; font-weight: 600; color: var(--b2b-green); text-align: right; }
.b2b .ws-scroll-wrap { position: relative; }
@media (max-width: 820px) {
  .b2b .ws-scroll-hint { display: block; }
  .b2b .ws-scroll-wrap::after {
    content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 44px; pointer-events: none;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.95) 100%);
    transition: opacity .2s ease;
  }
  .b2b .ws-scroll-wrap.at-end::after { opacity: 0; }
}

/* 3) Facilities form: block labels so "(optional)" doesn't push inputs down; inline logo checkbox; centered card. */
.b2b .form > label:not(.check-one),
.b2b .form .form-row > label { display: block; }
.b2b .form > label:not(.check-one) > input,
.b2b .form > label:not(.check-one) > select,
.b2b .form > label:not(.check-one) > textarea,
.b2b .form .form-row > label > input,
.b2b .form .form-row > label > select { margin-top: 6px; }
.b2b .form .form-row { align-items: start; }
.b2b .form label.check-one { display: flex; align-items: center; gap: 10px; justify-content: flex-start; font-size: 15px; }
.b2b .form label.check-one input[type="checkbox"] { margin: 0; }
.b2b .request-wrap { max-width: 900px; margin-left: auto; margin-right: auto; }

/* 4) NCAA radios: site.css gives every .contact-form input width:100%; keep radios at their own size. */
.b2b .form input[type="radio"] { width: auto; flex: 0 0 auto; display: inline-block; margin: 4px 0 0; padding: 0; accent-color: var(--b2b-green); }
.b2b .form .check-group label { justify-content: flex-start; }

/* Temporary junior hero photo (pending designer): same card treatment as site product shots. */
.b2b-hero-photo img { width: 100%; max-width: 420px; height: auto; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.35); display: block; margin-left: auto; }

/* NCAA hero CTAs sit in the hero copy (same .cta-row pattern as facilities). */
.b2b-hero .cta-row { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 22px; }
.b2b-hero .cta-row a.b2b-call { color: #fff; font-weight: 600; font-size: 15px; }
/* NCAA mobile: stack the coach/player photo above the copy instead of hiding it under the overlay. */
@media (max-width: 900px) {
  .b2b-hero-ncaa .b2b-hero-bg { position: relative; inset: auto; z-index: 0; height: 240px; }
  .b2b-hero-ncaa .b2b-hero-bg::after { background: linear-gradient(180deg, rgba(11,31,58,0) 55%, var(--b2b-navy) 100%); }
  .b2b-hero-ncaa .b2b-hero-bg img { object-position: 78% 30%; }
  .b2b-hero-ncaa .b2b-hero-grid { min-height: 0; padding-top: 20px; }
}
/* Contact card: no photo, so the card stands on its own (no blank gap). */
.b2b-contact { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 22px 26px; }
.b2b-contact-name { font-size: 22px; font-weight: 700; color: var(--b2b-ink); margin: 0 0 2px; }
