/* VegasBusinessAI subpages (2026-10 redesign). Loads after home.css; scoped to body.sub. */

/* Hero: full-bleed Las Vegas photo, copy on the dark left side */
.shero { position: relative; overflow: hidden; background: #000; color: var(--dark-ink); }
.shero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.shero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.8) 40%, rgba(0,0,0,0.3) 66%, rgba(0,0,0,0) 86%), linear-gradient(0deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 30%); }
.shero__inner { position: relative; z-index: 1; max-width: 1024px; margin: 0 auto; min-height: clamp(560px, 74vh, 760px); padding: 28px 22px 64px; display: flex; flex-direction: column; justify-content: flex-end; }
.shero__copy { max-width: 680px; }
.crumbs { position: absolute; top: 24px; left: 22px; display: flex; gap: 8px; font-size: 12px; color: var(--dark-ink-2); }
.sub .crumbs a { color: var(--dark-ink-2); text-decoration: none; }
.sub .crumbs a:hover { color: #fff; }
.shero__eyebrow { margin: 0 0 10px; font-size: clamp(17px, 1.8vw, 21px); font-weight: 600; color: #ff6b74; }
.shero h1 { margin: 0; font-size: clamp(38px, 5vw, 60px); font-weight: 600; line-height: 1.06; letter-spacing: -0.035em; text-wrap: balance; }
.shero__sub { margin: 18px 0 0; font-size: clamp(19px, 2vw, 24px); line-height: 1.32; color: #d2d2d7; text-wrap: pretty; }
.shero .btns { margin-top: 28px; justify-content: flex-start; }
.shero__note { margin: 14px 0 0; font-size: 13px; color: var(--dark-ink-2); }
@media (max-width: 734px) {
  .shero::after { background: linear-gradient(0deg, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.78) 55%, rgba(0,0,0,0.35) 100%); }
  .shero__img { object-position: 78% 50%; }
  .shero__inner { min-height: 620px; padding-bottom: 48px; }
}

/* Section rhythm */
.sec { max-width: 980px; margin: 0 auto; padding: clamp(72px, 9vw, 112px) 22px 0; }
.sec__h2 { margin: 0 0 40px; text-align: center; font-size: clamp(32px, 4.2vw, 48px); font-weight: 600; line-height: 1.08; letter-spacing: -0.035em; text-wrap: balance; }
.sub .how { padding: 0; }

/* Stat + phone tiles */
.duo { padding: clamp(72px, 9vw, 112px) 12px 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.duo--one { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 833px) { .duo { grid-template-columns: minmax(0, 1fr); } }
.stat { padding-bottom: clamp(52px, 6vw, 72px); justify-content: center; }
.stat__value { margin: 0; font-size: clamp(76px, 10vw, 128px); font-weight: 600; line-height: 1; letter-spacing: -0.05em; color: var(--ink); }
.stat__label { margin: 14px auto 0; max-width: 420px; font-size: clamp(19px, 2vw, 24px); line-height: 1.3; }
.stat__src { margin: 14px 0 0; font-size: 13px; color: var(--ink-2); }
.sub .stat__src a { text-decoration: none; }

/* Stats grid (missed-call statistics page) */
.stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.stats li { background: var(--tile); padding: 36px 28px; display: flex; flex-direction: column; gap: 8px; }
.stats strong { font-size: clamp(44px, 5vw, 64px); font-weight: 600; line-height: 1; letter-spacing: -0.04em; }
.stats span { font-size: 17px; line-height: 1.4; }
.stats small { margin-top: auto; padding-top: 10px; font-size: 13px; color: var(--ink-2); }
.sub .stats small a { text-decoration: none; }
.stats__note { margin: 20px 0 0; font-size: 13px; color: var(--ink-2); text-align: center; }
@media (max-width: 734px) { .stats { grid-template-columns: minmax(0, 1fr); } }

/* Work grid (web design page) */
.work { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; }
.work li:first-child { grid-column: 1 / -1; }
.work a { display: block; text-decoration: none; color: var(--ink); }
.work img { display: block; width: 100%; height: auto; aspect-ratio: 1400 / 648; object-fit: cover; border-radius: 12px; box-shadow: 0 2px 6px rgba(0,0,0,0.06), 0 22px 50px rgba(0,0,0,0.12); }
.work__name { display: block; margin-top: 14px; font-size: 19px; font-weight: 600; letter-spacing: -0.02em; }
.work__kind { display: block; margin-top: 2px; font-size: 15px; color: var(--ink-2); }
@media (max-width: 734px) { .work { grid-template-columns: minmax(0, 1fr); } }

/* FAQ */
.faq { max-width: 760px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 64px; padding: 16px 0; font-size: clamp(17px, 1.7vw, 20px); font-weight: 600; letter-spacing: -0.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: 0 0 auto; width: 12px; height: 12px; margin-right: 4px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: rotate(45deg) translateY(-4px); transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.faq details p { margin: 0 0 22px; max-width: 680px; font-size: 17px; line-height: 1.55; color: var(--ink-3); }

/* Lead: copy + form */
.lead { margin: clamp(72px, 9vw, 112px) 12px 0; background: var(--tile); padding: clamp(56px, 7vw, 88px) 22px; }
.lead__inner { max-width: 980px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 48px; align-items: start; }
@media (max-width: 833px) { .lead__inner { grid-template-columns: minmax(0, 1fr); gap: 32px; } }
.lead h2 { margin: 0; font-size: clamp(34px, 4.4vw, 52px); font-weight: 600; line-height: 1.07; letter-spacing: -0.035em; text-wrap: balance; }
.lead__copy > p { margin: 14px 0 0; font-size: clamp(18px, 1.9vw, 21px); line-height: 1.35; }
.lead .btns { margin-top: 24px; justify-content: flex-start; }
.rating { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 16px; font-size: 15px; color: var(--ink-2) !important; text-decoration: none; }
.rating .stars { margin: 0; }
.lead__form, .lead__success { background: #fff; border-radius: 18px; padding: 28px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 1px 2px rgba(0,0,0,0.04); }
.lead__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 480px) { .lead__row { grid-template-columns: minmax(0, 1fr); } }
.lead label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 500; color: var(--ink-3); }
.lead input, .lead textarea { width: 100%; min-height: 44px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); font: 400 17px/1.35 var(--font); }
.lead textarea { resize: vertical; }
.lead input:focus, .lead textarea:focus { outline: 2px solid #0071e3; outline-offset: 0; border-color: transparent; }
.lead button { justify-content: center; border: 0; cursor: pointer; font-family: var(--font); }
.lead__fine { margin: 0; font-size: 12px; line-height: 1.45; color: var(--ink-2); }
.lead__success h3 { margin: 0; font-size: 24px; font-weight: 600; letter-spacing: -0.02em; }
.lead__success p { margin: 0; font-size: 17px; line-height: 1.45; }

/* Related pages */
.more ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 833px) { .more ul { grid-template-columns: minmax(0, 1fr); } }
.more a { height: 100%; display: flex; flex-direction: column; gap: 6px; padding: 28px; background: var(--tile); color: var(--ink) !important; text-decoration: none; }
.more a:hover .more__go { text-decoration: underline; }
.more__name { font-size: 21px; font-weight: 600; letter-spacing: -0.02em; }
.more__line { font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.more__go { margin-top: auto; padding-top: 8px; font-size: 15px; color: var(--red-text); }
.sub .gfoot { margin-top: clamp(72px, 9vw, 112px); }

/* Homepage service lineup */
.lineup { max-width: 1024px; }
.lineup ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 24px; }
.lineup li { border-top: 1px solid var(--line); }
.lineup li a { display: flex; flex-direction: column; gap: 2px; min-height: 44px; padding: 16px 0 18px; color: var(--ink) !important; text-decoration: none; }
.lineup li a:hover span { color: var(--red-text); }
.lineup span { font-size: 17px; font-weight: 600; letter-spacing: -0.015em; }
.lineup small { font-size: 14px; line-height: 1.4; color: var(--ink-2); }
.lineup__ind { margin: 28px 0 0; text-align: center; font-size: 17px; color: var(--ink-2); }
@media (max-width: 833px) { .lineup ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Phone call bar injected by /track.js on phones */
.lp-callbar { display: none; }
@media (max-width: 734px) {
  .lp-callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(255,255,255,0.9); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-top: 1px solid rgba(0,0,0,0.08); }
  .lp-callbar a { display: flex; align-items: center; justify-content: center; min-height: 44px; border-radius: 999px; font: 500 15px/1 var(--font); text-decoration: none; }
  .lp-callbar-call { border: 1px solid var(--ink); color: var(--ink) !important; }
  .lp-callbar-form { background: var(--red); color: #fff !important; }
  .home .gfoot { padding-bottom: 72px; }
}

/* Calculator (missed-call statistics page) */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
@media (max-width: 734px) { .calc { grid-template-columns: minmax(0, 1fr); } }
.calc__inputs { background: var(--tile); padding: 32px 28px; display: flex; flex-direction: column; gap: 20px; }
.calc label { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: 15px; font-weight: 500; }
.calc input[type="number"] { width: 100%; min-height: 44px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; font: 400 17px var(--font); }
.calc input[type="range"] { width: 100%; min-height: 32px; accent-color: var(--red); }
.calc output { font-variant-numeric: tabular-nums; color: var(--ink-2); }
.calc__result { background: #000; color: var(--dark-ink); padding: 32px 28px; display: flex; flex-direction: column; justify-content: center; }
.calc__label { margin: 0; font-size: 17px; color: var(--dark-ink-2); }
.calc__value { margin: 6px 0 0; font-size: clamp(52px, 7vw, 80px); font-weight: 600; letter-spacing: -0.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.calc__detail { margin: 12px 0 0; font-size: 17px; font-variant-numeric: tabular-nums; }
.calc__fine { margin: 18px 0 0; font-size: 12px; line-height: 1.5; color: var(--dark-ink-2); }
.lead__form[hidden], .lead__success[hidden] { display: none; }
.tile__more { margin: 12px 0 0; font-size: 17px; }
.tile__more a { text-decoration: none; }
.home .faq, .home .lineup { padding-bottom: clamp(72px, 9vw, 112px); }
.sub .faq { padding-bottom: 0; }
.lineup__ind a { text-decoration: none; }

/* Hero video (poster image underneath; motion off when the visitor asks for less) */
.shero__vid { z-index: 0; }
@media (prefers-reduced-motion: reduce) { .shero__vid { display: none; } }
/* Feature tile */
.feature { padding-bottom: 0; }
.feature h2 { max-width: 760px; }
.feature .tile__sub { max-width: 620px; }
/* Slow drift on still heroes so every page has motion */
.shero__still { transform-origin: 70% 50%; animation: vbai-drift 26s ease-in-out infinite alternate; will-change: transform; }
@keyframes vbai-drift { from { transform: scale(1) translate3d(0, 0, 0); } to { transform: scale(1.08) translate3d(-1.5%, -1%, 0); } }
@media (prefers-reduced-motion: reduce) { .shero__still { animation: none; } }
.shero--video::after { background: linear-gradient(90deg, rgba(0,0,0,0.94) 0%, rgba(0,0,0,0.86) 42%, rgba(0,0,0,0.5) 64%, rgba(0,0,0,0.16) 100%), linear-gradient(0deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 30%); }
@media (max-width: 734px) { .shero--video::after { background: linear-gradient(0deg, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.8) 55%, rgba(0,0,0,0.45) 100%); } }

/* "Apps, too." block on the web design page (shared .app__ styles live in home.css) */
.app__head { display: flex; align-items: center; justify-content: center; gap: 18px; text-align: left; }
.app .app__icon { flex: none; width: 84px; height: 84px; margin: 0; border-radius: 19px; }
.app__name { margin: 0; font-size: 24px; font-weight: 600; letter-spacing: -0.025em; }
.app__kind { margin: 2px 0 0; font-size: 15px; color: var(--ink-2); }
.app__text { margin: 22px auto 0; max-width: 560px; text-align: center; font-size: 19px; line-height: 1.4; color: var(--ink-3); }
.app__cta { margin: 22px 0 0; text-align: center; }
.app .app__shots { margin-top: 40px; }
.app .app__shots li { width: clamp(140px, 15vw, 168px); }
@media (max-width: 734px) { .app .app__shots { margin-inline: -22px; padding-inline: 22px; width: calc(100% + 44px); scroll-padding-inline: 22px; } }
