/* ============================================================
   grow-in 7 — per-trade landing pages (/pages/industries/*)
   Builds ON TOP of style.css (tokens + shared components:
   .nav .btn .eyebrow .section-title .line .reveal .folio
   .compare .faq .final .footer .promise .cursor .magnetic).
   This file adds only the bespoke trade-page sections.
   ============================================================ */

/* ---------- Hero ---------- */
.tp-hero {
  position: relative;
  padding: clamp(130px, 16vh, 200px) var(--pad-x) clamp(60px, 9vw, 120px);
  overflow: hidden;
}
/* soft brand wash behind the hero — pure CSS, no canvas needed */
.tp-hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60vw 60vw at 88% -10%, rgba(233, 75, 53, 0.10), transparent 60%),
    radial-gradient(46vw 46vw at -8% 108%, rgba(31, 77, 60, 0.10), transparent 60%);
}
.tp-hero__inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  max-width: 1280px; margin: 0 auto;
}
.tp-hero__eyebrow { display: flex; align-items: center; gap: 10px; }
.tp-hero__eyebrow .dot {
  width: 9px; height: 9px; border-radius: 999px; background: var(--primary);
  box-shadow: 0 0 0 0 rgba(196, 53, 31, 0.5);
  animation: tpPulse 2.4s ease-out infinite;
}
@keyframes tpPulse {
  0% { box-shadow: 0 0 0 0 rgba(196, 53, 31, 0.5); }
  70% { box-shadow: 0 0 0 12px rgba(196, 53, 31, 0); }
  100% { box-shadow: 0 0 0 0 rgba(196, 53, 31, 0); }
}
.tp-hero__title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(40px, 6.4vw, 92px);
  line-height: 0.98; letter-spacing: -0.03em;
  margin: 20px 0 0;
}
.tp-hero__title em { color: var(--primary); }
.tp-hero__dek {
  max-width: 520px;
  margin-top: clamp(20px, 2.6vw, 30px);
  font-size: clamp(16px, 1.5vw, 19px); color: var(--ink-soft);
}
.tp-hero__dek strong { color: var(--ink); font-weight: 800; }
.tp-hero__cta {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  margin-top: clamp(26px, 3.4vw, 40px);
}
.tp-hero__calllink {
  font-size: 15px; font-weight: 700; color: var(--ink-soft);
  border-bottom: 2px solid var(--line); padding-bottom: 3px;
  transition: color 0.25s, border-color 0.25s;
}
.tp-hero__calllink:hover { color: var(--primary); border-color: var(--primary); }
.tp-hero__trust {
  display: flex; gap: 12px 22px; flex-wrap: wrap;
  margin-top: clamp(24px, 3vw, 34px);
  font-size: 13.5px; font-weight: 600; color: var(--ink-mute);
}
.tp-hero__trust li { display: flex; align-items: center; gap: 7px; }
.tp-hero__trust svg { width: 15px; height: 15px; color: var(--forest); flex-shrink: 0; }

/* ---------- Hero phone mockup — a Google "near me" result, honest UI ---------- */
.serp {
  position: relative;
  justify-self: center;
  width: min(330px, 80vw);
  aspect-ratio: 9 / 18.5;
  background: #0e0e0e;
  border-radius: 42px;
  padding: 12px;
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.06) inset,
    0 50px 110px rgba(26, 26, 26, 0.34);
  will-change: transform;
}
.serp__screen {
  position: relative;
  height: 100%;
  background: var(--bg);
  border-radius: 32px;
  overflow: hidden;
  display: flex; flex-direction: column;
}
.serp__notch {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 96px; height: 22px; background: #0e0e0e; border-radius: 999px; z-index: 3;
}
.serp__bar {
  display: flex; align-items: center; gap: 9px;
  margin: 40px 14px 10px;
  padding: 11px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px; font-weight: 600; color: var(--ink-soft);
  box-shadow: 0 6px 18px rgba(26, 26, 26, 0.06);
}
.serp__bar svg { width: 15px; height: 15px; color: var(--ink-mute); flex-shrink: 0; }
.serp__results { padding: 4px 14px 14px; display: grid; gap: 9px; }
.serp__tag {
  font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--ink-mute); padding: 2px 2px 0;
}
.serp__card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 13px 14px;
}
.serp__card--win {
  border-color: rgba(31, 77, 60, 0.35);
  box-shadow: 0 14px 34px rgba(31, 77, 60, 0.16);
  position: relative;
}
.serp__rank {
  position: absolute; top: -9px; left: 12px;
  font-size: 9.5px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase;
  color: #fff; background: var(--forest);
  padding: 3px 9px; border-radius: 999px;
}
.serp__name { font-family: var(--font-display); font-weight: 800; font-size: 16px; letter-spacing: -0.01em; }
.serp__card--dim .serp__name { font-size: 14px; color: var(--ink-mute); font-weight: 700; }
.serp__rating { display: flex; align-items: center; gap: 6px; margin-top: 3px; font-size: 11.5px; color: var(--ink-mute); }
.serp__stars { color: #E8A33D; letter-spacing: 1px; }
.serp__badges { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 9px; }
.serp__badge {
  font-size: 10px; font-weight: 700;
  padding: 4px 9px; border-radius: 999px;
  background: var(--bg-alt); color: var(--ink-soft);
  display: inline-flex; align-items: center; gap: 4px;
}
.serp__badge--gas { background: rgba(31, 77, 60, 0.1); color: var(--forest); }
.serp__call {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 11px;
  background: var(--forest); color: #fff;
  font-family: var(--font-display); font-weight: 800; font-size: 14px;
  padding: 11px; border-radius: 12px;
}
.serp__call svg { width: 16px; height: 16px; }
.serp__dim { opacity: 0.5; }
/* floating chips around the phone */
.serp__float {
  position: absolute; z-index: 4;
  background: var(--ink); color: var(--bg);
  border-radius: 14px; padding: 11px 15px;
  font-size: 12.5px; font-weight: 700;
  box-shadow: 0 22px 50px rgba(26, 26, 26, 0.32);
  display: flex; align-items: center; gap: 9px;
  white-space: nowrap;
  will-change: transform;
}
.serp__float em { display: block; font-weight: 600; font-size: 11px; color: rgba(247, 243, 235, 0.6); font-style: normal; }
.serp__float .tick {
  width: 22px; height: 22px; border-radius: 999px; background: var(--primary-vivid);
  display: grid; place-items: center; color: #fff; font-size: 12px; flex-shrink: 0;
}
.serp__float .ico {
  width: 24px; height: 24px; border-radius: 999px;
  display: grid; place-items: center; flex-shrink: 0;
}
.serp__float .ico svg { width: 14px; height: 14px; }

/* positions — surround the phone, edges clear of the screen content */
.serp__float--booked { right: -18px; bottom: 78px; }
.serp__float--rank   { left: -162px; top: 150px; }
.serp__float--rating { right: -88px; top: 300px; }
/* on tighter desktop widths the side chips would crowd the hero copy —
   keep just the bottom "booked" chip, which sits within the phone's footprint */
@media (max-width: 1120px) {
  .serp__float--rank, .serp__float--rating { display: none; }
}

/* the two info chips are light cards (the booked chip stays dark) */
.serp__float--rank,
.serp__float--rating {
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: 0 18px 42px rgba(26, 26, 26, 0.16);
}
.serp__float--rank em,
.serp__float--rating em { color: var(--ink-mute); }
.serp__float--rank .ico { background: rgba(31, 77, 60, 0.12); color: var(--forest); }
.serp__float--rating .ico { background: rgba(232, 163, 61, 0.18); color: #C9852B; }

@media (max-width: 920px) {
  .tp-hero__inner { grid-template-columns: 1fr; }
  .serp { display: none; } /* keep mobile fast + focused on copy + CTA */
}

/* ---------- Answer-first callout (AI-Overview trades) ---------- */
.answer {
  padding: 0 var(--pad-x);
  margin-top: clamp(-30px, -2vw, -10px);
  margin-bottom: clamp(40px, 6vw, 72px); /* clear the marquee below */
}
.answer__inner {
  max-width: 880px; margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius);
  padding: clamp(22px, 3vw, 36px) clamp(24px, 3.4vw, 44px);
  box-shadow: 0 24px 60px rgba(26, 26, 26, 0.07);
}
.answer__label {
  font-size: 12px; font-weight: 800; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--primary); margin-bottom: 10px;
}
.answer__text {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(17px, 2vw, 24px); line-height: 1.4; letter-spacing: -0.01em;
}
.answer__text strong { color: var(--primary); font-weight: 800; }

/* ---------- Hero screen: gallery variant (carpenter) ---------- */
.serp__gallery { padding: 8px 14px 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.serp__tile {
  aspect-ratio: 4 / 3; border-radius: 12px;
  display: flex; align-items: flex-end;
  padding: 9px; color: #fff;
  font-size: 11px; font-weight: 700;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}
.serp__tile--a { background: linear-gradient(135deg, #b08456, #7c5a36); }
.serp__tile--b { background: linear-gradient(135deg, #9a7b4f, #5e4628); }
.serp__tile--c { background: linear-gradient(135deg, #c2a06e, #8a6b3e); }
.serp__tile--d { background: linear-gradient(135deg, #7d6240, #4f3c22); }

/* ---------- "What you get" feature grid ---------- */
.getpack { padding: clamp(80px, 11vw, 170px) var(--pad-x); }
.getpack__head { max-width: 720px; margin: 0 auto clamp(40px, 6vw, 72px); text-align: center; }
.getpack__head .section-title { margin-bottom: 16px; }
.getpack__lede { font-size: clamp(16px, 1.6vw, 19px); color: var(--ink-soft); }
.getpack__grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 2vw, 24px);
  max-width: 1080px; margin: 0 auto;
}
.feat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(26px, 3vw, 40px);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}
@media (hover: hover) {
  .feat:hover { transform: translateY(-6px); box-shadow: 0 30px 70px rgba(26, 26, 26, 0.1); }
}
.feat__ico {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center;
  background: rgba(196, 53, 31, 0.08); color: var(--primary);
  margin-bottom: 20px;
}
.feat__ico svg { width: 26px; height: 26px; }
.feat h3 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(20px, 2.2vw, 27px); letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.feat p { color: var(--ink-soft); font-size: clamp(14.5px, 1.4vw, 16.5px); }
.feat p em { color: var(--ink); font-style: normal; font-weight: 700; }
@media (max-width: 720px) { .getpack__grid { grid-template-columns: 1fr; } }

/* price line under the grid */
.getpack__price {
  max-width: 1080px; margin: clamp(28px, 4vw, 44px) auto 0;
  text-align: center;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(18px, 2.4vw, 28px); letter-spacing: -0.01em;
}
.getpack__price em { color: var(--primary); font-style: normal; }

/* ---------- "Why this trade" prose (anti-doorway) ---------- */
.why { padding: clamp(80px, 11vw, 170px) var(--pad-x); background: var(--bg-alt); }
.why__inner { max-width: 760px; margin: 0 auto; }
.why__body p {
  font-size: clamp(16px, 1.7vw, 20px); color: var(--ink-soft);
  margin-bottom: 1.1em;
}
.why__body p:last-child { margin-bottom: 0; }
.why__body strong { color: var(--ink); }
.why__body em {
  font-style: normal; color: var(--primary); font-weight: 700;
  background-image: linear-gradient(transparent 78%, rgba(196, 53, 31, 0.22) 78%);
}

/* ---------- Risk-reversal band ---------- */
.risk {
  padding: clamp(80px, 11vw, 160px) var(--pad-x);
  text-align: center;
}
.risk__title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(34px, 6vw, 76px); line-height: 0.98; letter-spacing: -0.03em;
  max-width: 900px; margin: 0 auto clamp(28px, 4vw, 44px);
}
.risk__title em { color: var(--primary); }
.risk__row {
  display: flex; justify-content: center; gap: 14px; flex-wrap: wrap;
  margin-bottom: clamp(34px, 5vw, 52px);
}
.risk__pill {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 999px; padding: 12px 22px;
  font-weight: 700; font-size: 15px;
}
.risk__pill svg { width: 17px; height: 17px; color: var(--forest); }
