/* =========================================================
   Inner pages: projects, services, industries.
   Loads after styles.css and reuses its tokens, nav, buttons, pricing box,
   FAQ and footer. No 3D scene here, just a CSS starfield, so these pages
   open instantly (good for visitors coming straight from Google).
   ========================================================= */
body.sub { background: var(--bg); }

.sub-bg {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(1100px 680px at 88% -12%, rgba(139, 108, 255, 0.2), transparent 62%),
    radial-gradient(900px 600px at -12% 38%, rgba(232, 192, 122, 0.09), transparent 60%),
    radial-gradient(900px 520px at 55% 112%, rgba(139, 108, 255, 0.13), transparent 62%);
}
.sub-bg::before, .sub-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 8% 12%, #fff, transparent), radial-gradient(1px 1px at 22% 68%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 37% 28%, #f6dfae, transparent), radial-gradient(1px 1px at 51% 82%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 64% 18%, #b9a8ff, transparent), radial-gradient(1px 1px at 76% 54%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 88% 34%, #fff, transparent), radial-gradient(1px 1px at 94% 88%, #f6dfae, transparent),
    radial-gradient(1px 1px at 14% 92%, #fff, transparent), radial-gradient(1px 1px at 46% 48%, #b9a8ff, transparent);
  opacity: 0.7;
}
.sub-bg::after { transform: translate(31%, 19%) scale(1.35); opacity: 0.35; }
.sub main, .sub .footer { position: relative; z-index: var(--z-content); }
.sub .nav { background: rgba(4, 5, 10, 0.62); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }

/* ---------- Page hero ---------- */
.page-hero { padding: clamp(128px, 17vw, 184px) 0 clamp(52px, 7vw, 88px); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 22px; color: var(--muted); }
.crumbs a { color: var(--muted); transition: color var(--t-fast); }
.crumbs a:hover { color: var(--gold); }
.crumbs span[aria-hidden] { opacity: 0.5; }
.page-hero h1 {
  font-family: var(--f-display); font-weight: 500; letter-spacing: -0.02em;
  font-size: clamp(44px, 7.4vw, 100px); line-height: 0.98;
  margin: 0 0 26px; max-width: 15ch; text-wrap: balance;
}
.page-hero h1 em { color: var(--gold); font-weight: 400; }
.lede { color: var(--muted); font-size: clamp(17px, 1.6vw, 20px); max-width: 640px; margin: 0 0 36px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.meta-line { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 30px 0 0; color: var(--muted); font-size: 14px; }
.meta-line span { display: inline-flex; align-items: center; gap: 8px; }
.meta-line span::before { content: ""; width: 7px; height: 7px; transform: rotate(45deg); background: var(--gold); }

/* ---------- Content blocks ---------- */
.block { padding: clamp(56px, 9vw, 108px) 0; border-top: 1px solid var(--line); }
.block h2 {
  font-family: var(--f-display); font-weight: 500; letter-spacing: -0.01em;
  font-size: clamp(34px, 4.6vw, 58px); line-height: 1.03; margin: 0 0 20px; max-width: 20ch; text-wrap: balance;
}
.block h2 em { color: var(--gold); font-weight: 400; }
.block .label { margin-bottom: 16px; }
.intro { color: var(--muted); max-width: 680px; margin: 0 0 40px; }
.prose { max-width: 700px; }
.prose p { color: var(--muted); margin: 0 0 18px; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--text); font-weight: 600; }
.split { display: grid; gap: 44px; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; } }

/* ---------- Feature cards ---------- */
.features { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .features--3 { grid-template-columns: repeat(3, 1fr); } }
.feature {
  padding: 30px 28px; border-radius: 20px;
  background: rgba(10, 12, 22, 0.72); border: 1px solid var(--line); backdrop-filter: blur(8px);
  transition: border-color var(--t-med);
}
.feature:hover { border-color: rgba(232, 192, 122, 0.35); }
.feature .mono { display: block; color: var(--gold); margin-bottom: 14px; }
.feature h3 { font-size: 19px; font-weight: 600; line-height: 1.3; margin: 0 0 8px; }
.feature p { color: var(--muted); font-size: 16px; margin: 0; }

/* Customer questions ("What does it cost?") */
.asks { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 800px) { .asks { grid-template-columns: repeat(2, 1fr); } }
.ask { padding: 28px; border-radius: 20px; border: 1px solid var(--line); background: var(--surface); }
.ask q { display: block; font-family: var(--f-display); font-style: italic; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.1; color: var(--gold); margin: 0 0 12px; quotes: "\201C" "\201D"; }
.ask p { color: var(--muted); margin: 0; font-size: 16px; }

/* ---------- Numbered steps ---------- */
.steps-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.steps-list li { display: grid; grid-template-columns: 52px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.steps-list .mono { color: var(--gold); padding-top: 4px; }
.steps-list h3 { font-size: 19px; font-weight: 600; margin: 0 0 6px; }
.steps-list p { color: var(--muted); margin: 0; font-size: 16px; }

/* ---------- Screenshots ---------- */
.shots { display: grid; gap: 24px; align-items: end; }
@media (min-width: 900px) { .shots { grid-template-columns: 1fr 250px; gap: 32px; } }
.frame { position: relative; border-radius: 18px; overflow: hidden; border: 1px solid var(--line-strong); background: #0d0f18; box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5); }
.frame .mock__bar { position: relative; }
.frame .mock__live { right: 12px; }
.frame img { display: block; width: 100%; height: auto; }
.phone-frame { justify-self: center; width: min(250px, 66vw); padding: 10px; border-radius: 40px; background: #0b0b0e; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), inset 0 0 0 2px #2b2b33; }
.phone-frame img { display: block; width: 100%; height: auto; border-radius: 31px; }

/* ---------- Project / proof cards ---------- */
.cards { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } }
.pcard {
  display: flex; flex-direction: column; overflow: hidden; border-radius: 20px;
  border: 1px solid var(--line); background: rgba(10, 12, 22, 0.72);
  transition: border-color var(--t-med), transform var(--t-med) var(--ease-out);
}
.pcard:hover { border-color: rgba(232, 192, 122, 0.45); transform: translateY(-4px); }
.pcard img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top center; border-bottom: 1px solid var(--line); }
.pcard__body { display: flex; flex-direction: column; flex: 1; padding: 24px 24px 28px; }
.pcard .mono { display: block; color: var(--gold); font-size: 11px; margin-bottom: 10px; }
.pcard h3 { font-family: var(--f-display); font-weight: 500; font-size: 30px; line-height: 1.05; margin: 0 0 10px; }
.pcard p { color: var(--muted); font-size: 15px; margin: 0 0 18px; }
.pcard .more { margin-top: auto; color: var(--gold); font-weight: 600; font-size: 15px; }

.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 7px 14px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 13px; color: var(--muted); }

/* Next project link */
.next { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.next a { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--f-display); font-size: clamp(30px, 4vw, 52px); line-height: 1.05; transition: color var(--t-fast); }
.next a:hover { color: var(--gold); }

/* ---------- Call to action band ---------- */
.cta-band { padding: clamp(64px, 10vw, 120px) 0; border-top: 1px solid var(--line); text-align: center; }
.cta-band h2 { font-family: var(--f-display); font-weight: 500; font-size: clamp(38px, 5.4vw, 74px); line-height: 1; margin: 0 auto 18px; max-width: 18ch; text-wrap: balance; }
.cta-band h2 em { color: var(--gold); font-weight: 400; }
.cta-band p { color: var(--muted); margin: 0 auto 28px; max-width: 560px; }
.cta-band .phone { display: inline-block; font-family: var(--f-display); font-size: clamp(34px, 4.4vw, 52px); color: var(--gold); margin: 0 0 28px; font-variant-numeric: lining-nums; transition: color var(--t-fast); }
.cta-band .phone:hover { color: var(--gold-2); }
.cta-band .actions { justify-content: center; }
.sub .footer__big { font-size: clamp(56px, 12vw, 160px); }

/* Phones: readable labels inside cards and screenshot frames */
@media (max-width: 599px) {
  .pcard .mono { font-size: 12px; }
  .frame .mock__url { font-size: 12px; }
  .frame .mock__live { font-size: 12px; }
}

/* ---------- Comparison table (pricing) ---------- */
.compare-wrap { border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: rgba(10, 12, 22, 0.72); }
.compare { width: 100%; border-collapse: collapse; font-size: 16px; }
.compare th, .compare td { padding: 18px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare thead th { font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.compare thead th:nth-child(2) { color: var(--gold); }
.compare tbody th { font-weight: 600; color: var(--text); width: 22%; }
.compare td { color: var(--muted); }
.compare td:nth-of-type(1) { color: var(--text); background: rgba(232, 192, 122, 0.06); font-weight: 600; }
/* Phones: each row becomes a small card so nothing scrolls sideways */
@media (max-width: 759px) {
  .compare thead { display: none; }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: 100%; }
  .compare tr { padding: 18px 20px; border-bottom: 1px solid var(--line); }
  .compare tbody tr:last-child { border-bottom: 0; }
  .compare th, .compare td { padding: 0; border: 0; }
  .compare tbody th { width: auto; font-size: 17px; margin-bottom: 10px; }
  .compare td { display: grid; grid-template-columns: 9.5em 1fr; gap: 12px; padding: 7px 0; background: none !important; }
  .compare td::before { content: attr(data-label); font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 400; padding-top: 2px; }
  .compare td:nth-of-type(1)::before { color: var(--gold); }
}

/* ---------- Privacy, Terms and SMS pages ---------- */
.legal { max-width: 760px; }
.legal h2 { font-size: clamp(26px, 3vw, 36px); max-width: none; margin: 44px 0 12px; }
.legal h2:first-child { margin-top: 0; }
.legal ul { margin: 0 0 18px; padding-left: 20px; color: var(--muted); }
.legal li { margin: 0 0 8px; }
.legal li::marker { color: var(--gold); }
.legal a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.legal a:hover { color: var(--gold-2); }
.legal .signup-box { margin: 0 0 8px; padding: 26px 28px; border-radius: 20px; border: 1px solid rgba(232, 192, 122, 0.45); background: linear-gradient(160deg, rgba(232, 192, 122, 0.1), rgba(10, 12, 22, 0.72)); }
.legal .signup-box__lead { margin: 0 0 10px; color: var(--gold); font-family: var(--f-display); font-size: clamp(26px, 3vw, 34px); line-height: 1.15; }
.legal .signup-box ul { margin: 0; }
.legal .signup-box li:last-child { margin-bottom: 0; }

/* City pages: the "Also serving nearby" line under the industry chips. */
.chips + .intro { margin-top: 32px; }
/* Areas page: town names in the cards are links. */
.feature h3 a { color: var(--gold); }
.feature h3 a::after { content: " \2192"; }
.feature h3 a:hover { color: var(--gold-2); }

/* ---------- /start: where the Meta ads land (one goal: a booked call) ---------- */
.nav--start { justify-content: space-between; }
.nav .nav__cta--start { display: inline-flex; }
.start-tour__inner, .start-book__inner { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (min-width: 900px) {
  .start-tour__inner { grid-template-columns: 1.1fr 0.9fr; }
  .start-book__inner { grid-template-columns: 0.9fr 1.1fr; align-items: start; }
}
.start-tour__phone {
  justify-self: center; width: min(320px, 78vw); aspect-ratio: 9 / 16; padding: 12px; border-radius: 44px;
  background: #15141c; border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 120px rgba(139, 108, 255, 0.18);
}
.start-tour__phone video { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 34px; background: #000; }
.ssites { display: grid; gap: 18px; }
@media (min-width: 760px) { .ssites { grid-template-columns: repeat(3, 1fr); } }
.ssite {
  display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: center; padding: 16px; border-radius: 20px;
  background: var(--surface); border: 1px solid var(--line); transition: border-color var(--t-fast), transform var(--t-fast);
}
.ssite:hover { border-color: rgba(232, 192, 122, 0.5); transform: translateY(-2px); }
.ssite__phone { display: block; border-radius: 14px; overflow: hidden; border: 1px solid var(--line-strong); aspect-ratio: 9 / 17; }
.ssite__phone img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.ssite__body { display: grid; gap: 6px; }
.ssite__body .mono { color: var(--muted); font-size: 12px; }
.ssite__body strong { font-family: var(--f-display); font-weight: 500; font-size: 26px; line-height: 1.1; }
.ssite__go { display: inline-flex; align-items: center; gap: 6px; color: var(--gold); font-size: 14px; font-weight: 600; }
.ssite__go svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2; }
.start-book__text { color: var(--muted); }
.start-book__text a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.footer--start { padding: 40px 0 48px; border-top: 1px solid var(--line); }
.footer--start .footer__where a { color: var(--gold); }
